]> sourceware.org Git - glibc.git/blame - ChangeLog
string: Cosmetic cleanup of string functions
[glibc.git] / ChangeLog
CommitLineData
8667f90e
WN
12014-04-07 Will Newton <will.newton@linaro.org>
2
3 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4 and contents. [!_LIBC] Remove #ifndef and contents.
5 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6 * string/memccpy.c (__memccpy): Use ANSI prototype.
7 * string/memfrob.c (memfrob): Likewise.
8 * string/strcoll.c (STRCOLL): Likewise.
9 * string/strlen.c (strlen): Likewise.
10 * string/strtok.c (STRTOK): Likewise.
11 * string/strcat.c: Remove unused #include of memcopy.h.
12 (strcat): Use ANSI prototype.
13 * string/strchr.c: Remove unused #include of memcopy.h.
14 (strchr): Use ANSI prototype.
15 * string/strcmp.c: Remove unused #include of memcopy.h.
16 (strcmp): Use ANSI prototype.
17 * string/strcpy.c: Remove unused #include of memcopy.h.
18 (strcpy): Use ANSI prototype.
19
7ffa9423
AZ
202014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21
22 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23 * config.make.in (config-extra-cppflags): Set it from
24 libc_extra_cppflags.
25 * configure.ac (libc_extra_cflags): Make it accumulate over
26 configure fragments.
27 (libc_extra_cppflags): New flag.
28 * configure. Regenerate.
29 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
31 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33
8bd70862
AZ
342014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 [BZ #16815]
37 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38 result for FE_DOWNWARD rounding mode.
39 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40 Likewise.
41 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42
d42f3448
CM
432014-04-04 Chris Metcalf <cmetcalf@tilera.com>
44
45 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46 in function argument name.
47
1c21d115
DS
482014-04-03 David Svoboda <svoboda@cert.org>
49
50 [BZ #5666]
51 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
52 explicitly.
53
fcccd512
RM
542014-04-03 Roland McGrath <roland@hack.frob.com>
55
56 * elf/dl-unmap-segments.h: New file.
57 * sysdeps/generic/ldsodefs.h
58 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
59 * elf/dl-close.c: Include <dl-unmap-segments.h>.
60 * elf/dl-fptr.c: Likewise.
61 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
62 * sysdeps/aarch64/tlsdesc.c: Likewise.
63 * sysdeps/arm/tlsdesc.c: Likewise.
64 * sysdeps/i386/tlsdesc.c: Likewise.
65 * sysdeps/tile/dl-runtime.c: Likewise.
66 * sysdeps/x86_64/tlsdesc.c: Likewise.
67 * elf/dl-load.h: New file.
68 * elf/dl-load.c: Include it.
69 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
70 Macros moved to dl-load.h.
71 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
72 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
73 Use _dl_unmap_segments in place of __munmap.
74 Break out segment-mapping loop into ...
75 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
76
f6488e2b
WN
772014-04-03 Will Newton <will.newton@linaro.org>
78
79 * elf/dl-lookup.c (do_lookup_x): Remove comment
80 referring to nested function and move variable
81 declarations down to before first use.
82
6f05bafe
JM
832014-04-02 Joseph Myers <joseph@codesourcery.com>
84
a84e78c8
JM
85 [BZ #16799]
86 [BZ #16800]
87 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
88 with 0 numerator.
89 * math/s_catanf.c (__catanf): Likewise.
90 * math/s_catanh.c (__catanh): Likewise.
91 * math/s_catanhf.c (__catanhf): Likewise.
92 * math/s_catanhl.c (__catanhl): Likewise.
93 * math/s_catanl.c (__catanl): Likewise.
94 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
95 by positive zero when computing -Inf result.
96 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
97 (catanh_test): Likewise.
98 * sysdeps/i386/fpu/libm-test-ulps: Update.
99 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
100
6f05bafe
JM
101 [BZ #16789]
102 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
103 instead of using underflowing value in computing result.
104 * math/s_clog10.c (__clog10): Likewise.
105 * math/s_clog10f.c (__clog10f): Likewise.
106 * math/s_clog10l.c (__clog10l): Likewise.
107 * math/s_clogf.c (__clogf): Likewise.
108 * math/s_clogl.c (__clogl): Likewise.
109 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
110 (clog10_test): Likewise.
111 * sysdeps/i386/fpu/libm-test-ulps: Update.
112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
113
b0abbc21
AM
1142014-04-02 Alan Modra <amodra@gmail.com>
115
116 [BZ #16739]
117 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
118 output when value is near a power of two. Use int64_t for lx and
119 remove casts. Use decimal rather than hex exponent constants.
120 Don't use long double multiplication when double will suffice.
121 * math/libm-test.inc (nextafter_test_data): Add tests.
122 * NEWS: Add 16739 and 16786 to bug list.
123
af6b1797
AM
1242014-04-02 Alan Modra <amodra@gmail.com>
125
126 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
127
483818d7
AM
1282014-04-02 Alan Modra <amodra@gmail.com>
129
130 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
131
f6c55796
WN
1322014-04-01 Will Newton <will.newton@linaro.org>
133
134 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
135 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
136
13f7fe35
FW
1372014-04-01 Florian Weimer <fweimer@redhat.com>
138
139 [BZ #13347]
140 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
141 * nptl/tst-setuid2.c: New file.
142 * nptl/Makefile (xtests): Add tst-setuid2.
143
c859b32e
AM
1442014-04-01 Alan Modra <amodra@gmail.com>
145
146 [BZ #16786]
147 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
148
54fa2475
JM
1492014-03-31 Joseph Myers <joseph@codesourcery.com>
150
8795b4a4
JM
151 [BZ #6803]
152 [BZ #6804]
153 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
154 set errno as appropriate.
155 * math/w_scalbf.c (__scalbf): Likewise.
156 * math/w_scalbl.c (__scalbl): Likewise.
157 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
158 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
159 * math/libm-test.inc (scalb_test_data): Add errno expectations.
160 Add more NaN tests.
161
54fa2475
JM
162 [BZ #16349]
163 * math/w_atan2.c: Include <errno.h>.
164 (__atan2): Set errno for result underflowing to zero.
165 * math/w_atan2f.c: Include <errno.h>.
166 (__atan2f): Set errno for result underflowing to zero.
167 * math/w_atan2l.c: Include <errno.h>.
168 (__atan2l): Set errno for result underflowing to zero.
169 * math/auto-libm-test-in: Don't allow missing errno for some atan2
170 tests.
171 * math/auto-libm-test-out: Regenerated.
172
757d9dd5
AZ
1732014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
174
175 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
176 Encode instruction correctly in little endian.
177 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
178 Likewise.
179 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
180 Likewise.
181 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
182 Likewise.
183 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
184 Likewise.
185
d7a68734
JM
1862014-03-31 Joseph Myers <joseph@codesourcery.com>
187
47c5adeb
JM
188 [BZ #9894]
189 * sysdeps/unix/sysv/linux/kernel-features.h
190 [__sparc__ && !__arch64__ && !__sparc_v9__]
191 (__ASSUME_SET_ROBUST_LIST): Do not define.
192 [__sparc__ && !__arch64__ && !__sparc_v9__]
193 (__ASSUME_FUTEX_LOCK_PI): Likewise.
194 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
195 Likewise.
196 * sysdeps/unix/sysv/linux/arm/kernel-features.h
197 (__ASSUME_FUTEX_LOCK_PI): Undefine.
198 (__ASSUME_REQUEUE_PI): Likewise.
199 (__ASSUME_SET_ROBUST_LIST): Likewise.
200 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
201 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
202 Undefine.
203 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
204 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
205 Likewise.
206 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
207 Likewise.
208 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
209 Likewise.
210 * sysdeps/unix/sysv/linux/mips/kernel-features.h
211 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
212 Undefine.
213 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
214 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
215 Likewise.
216
d7a68734
JM
217 [BZ #16648]
218 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
219 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
220 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
221
c760f5c2
WN
2222014-03-31 Will Newton <will.newton@linaro.org>
223
224 * benchtests/Makefile (bench): Add ffs and ffsll to list
225 of tests.
226 * benchtests/ffs-inputs: New file.
227 * benchtests/ffsll-inputs: Likewise.
228
ea6029b1
JM
2292014-03-29 Joseph Myers <joseph@codesourcery.com>
230
231 [BZ #16770]
232 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
233 too large before casting to int.
234 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
235 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
236 * math/libm-test.inc (scalb_test_data): Add more tests.
237
cf806aff
SP
2382014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
239
56737508
SP
240 * benchtests/Makefile (DETAILED_OPT): New make option.
241 (bench-func): Run benchmark program with -d if DETAILED_OPT is
242 set.
243 * benchtests/bench-skeleton.c: Include stdbool.h.
244 (main): Store and print timings per input.
245 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
246 member to each argument value.
247 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
248 (_print_arg_data): Initialize per-input timing to 0.
249
cb5e4aad
SP
250 * benchtests/Makefile (timing-type): New binary.
251 (bench-clean): Also remove bench-timing-type.
252 (bench): New target for timing-type.
253 (bench-func): Print output in JSON format.
254 * benchtests/bench-skeleton.c (main): Print output in JSON
255 format.
256 * benchtests/bench-timing-type.c: New file.
257 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
258 (TIMING_PRINT_STATS): Remove.
259 * benchtests/scripts/bench.py (_print_arg_data): Store variant
260 name separately.
261
cf806aff
SP
262 * benchtests/bench-modf.c: Remove.
263 * benchtests/modf-inputs: New inputs file.
264
289e0779
JM
2652014-03-28 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #16362]
268 * math/s_clog10.c (M_PI_LOG10E): New macro.
269 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
270 imaginary parts are 0.
271 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
272 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
273 imaginary parts are 0.
274 * math/s_clog10l.c (M_PI_LOG10El): New macro.
275 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
276 imaginary parts are 0.
277 * math/libm-test.inc (clog10_test_data): Update expected results
278 for when real and imaginary parts are 0.
279
277ae3f1
PP
2802014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
281
282 * elf/dl-load.c: Finish conversion of __builtin_expect into
283 __glibc_{un}likely.
284
03a7091f
JM
2852014-03-27 Joseph Myers <joseph@codesourcery.com>
286
287 [BZ #16348]
288 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
289 1+x for argument with exponent below -67.
290 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
291 Likewise.
292 * math/auto-libm-test-in: Add more tests of exp.
293 * math/auto-libm-test-out: Regenerated.
294
ea7d8b95
SP
2952014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
296
dd3022d7
SP
297 [BZ #16759]
298 * inet/getnetgrent_r.c (get_nonempty_val): New function.
299 (nscd_getnetgrent): Use it.
300
ea7d8b95
SP
301 [BZ #16760]
302 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
303 of stpcpy.
304
df5b85da
AK
3052014-03-27 Andi Kleen <ak@linux.intel.com>
306
307 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
308 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
309 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
310 Remove out of line section. Use cfi intrinsics.
311 (LLL_STUB_UNWIND_INFO*): Remove.
312 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
313 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
314 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
315 Remove out of line section. Use cfi intrinsics.
316 (LLL_STUB_UNWIND_INFO*): Remove.
317
fbd6b5a4
SP
3182014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
319
320 [BZ #16758]
321 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
322 blank values.
323
1b26b855
PP
3242014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
325
326 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
327
9be36fb8
JM
3282014-03-26 Joseph Myers <joseph@codesourcery.com>
329
330 [BZ #16198]
331 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
332 fnstenv.
333 * math/test-fenv-preserve.c: New file.
334 * math/Makefile (tests): Add test-fenv-preserve.
335
60a2f3c1
WN
3362014-03-26 Will Newton <will.newton@linaro.org>
337
338 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
339
a5e5f1e2
RM
3402014-03-25 Roland McGrath <roland@hack.frob.com>
341
342 * scripts/versionlist.awk: Partition the version sets and emit all
343 GLIBC_* (sorted) before all others (sorted).
344
00f4012a
JM
3452014-03-25 Joseph Myers <joseph@codesourcery.com>
346
347 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
348 GLIBC_2.2.5 version.
349
7bc5a741
AZ
3502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
352 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
353 calls.
354
7578473b
AZ
3552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
356
357 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
358 previous change.
359
f3f1dab3
AZ
3602014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361
362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
363
6da36183
AS
3642014-03-25 Andreas Schwab <schwab@suse.de>
365
366 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
367 label to be used after in6ailist is initialized.
368
f3f1dab3 3692014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 370
7578473b 371 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
372 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
373
046651c1
JM
3742014-03-25 Joseph Myers <joseph@codesourcery.com>
375
376 [BZ #16357]
377 [BZ #16599]
378 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
379 min_plus_half.
380 (fp_formats): Update initializers.
381 (init_fp_formats): Initialize new field.
382 (output_for_one_input_case): Allow underflow for results up to
383 min_plus_half.
384 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
385 * math/auto-libm-test-in: Don't mark some underflows from asin and
386 atanh as spurious.
387 * math/auto-libm-test-out: Regenerated.
388 * sysdeps/i386/fpu/libm-test-ulps: Update.
389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
390
003e49ed
AS
3912014-03-25 Andreas Schwab <schwab@suse.de>
392
393 * libio/Makefile (tst-ftell-partial-wide-ENV)
394 (tst-ftell-active-handler-ENV): Define.
395
de031874
SL
3962014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
397
398 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
399
55a81e3b
PP
4002014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
401
402 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
403
f3426898
JM
4042014-03-24 Joseph Myers <joseph@codesourcery.com>
405
406 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
407 * sysdeps/x86_64/fpu/multiarch/e_exp.c
408 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
409
a42faf59
PP
4102014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
411
412 [BZ #16634]
a42faf59 413 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
414 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
415 (open_path): Change from boolean 'secure' to complete flag 'mode'
416 (_dl_map_object): Adjust.
a42faf59
PP
417 * elf/Makefile (tests): Add tst-dlopen-aout.
418 * elf/tst-dlopen-aout.c: New test.
419
50936127
SL
4202014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
421
422 [BZ #16714]
423 * sysdeps/unix/sysv/linux/s390/bits/stat.h
424 (struct stat): Rename member pad0 to __glibc_reserved0.
425
26011b5c
SL
4262014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
427
428 [BZ #16712]
429 * sysdeps/s390/s390-32/bits/wordsize.h
430 (__WORDSIZE32_SIZE_ULONG): New define.
431 * sysdeps/s390/s390-64/bits/wordsize.h
432 (__WORDSIZE32_SIZE_ULONG): Likewise.
433 * sysdeps/generic/stdint.h (SIZE_MAX):
434 Define as UL if __WORDSIZE32_SIZE_ULONG.
435
a2d86bf1
SL
4362014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
437
438 [BZ #16713]
439 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
440 (__glibc_reserved0): New variable.
441 (sa_flags): Change type to int.
442
78b6eebc
SL
4432014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
444
445 * posix/Makefile (before-compile): Use += before-compile instead
446 of a :=.
447
f1399b5a
SL
4482014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
449
450 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
451 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
452
a071766e
AS
4532014-03-20 Andreas Schwab <schwab@suse.de>
454
455 [BZ #16743]
456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
457 non-matching result from nscd.
458
27c673b8
SP
4592014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
460
461 * scripts/bench.py: Moved to ...
462 * benchtests/scripts/bench.py: ... here.
463 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
464
44152e4b
AS
4652014-03-24 Andreas Schwab <schwab@suse.de>
466
467 [BZ #16002]
468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
469 alloca_account and account alloca use for struct in6ailist.
470
b376a11a
JM
4712014-03-24 Joseph Myers <joseph@codesourcery.com>
472
473 [BZ #16284]
474 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
475 rounding mode to recompute results that overflow to infinity or
476 underflow to zero.
477 * math/auto-libm-test-in: Don't mark tests as expected to fail for
478 bug 16284.
479 * math/auto-libm-test-out: Regenerated.
480 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
481 (ccosh_test): Likewise.
482 (csin_test_data): Use plus_oflow.
483 (csin_test): Use ALL_RM_TEST.
484 (csinh_test_data): Use plus_oflow.
485 (csinh_test): Use ALL_RM_TEST.
486 * sysdeps/i386/fpu/libm-test-ulps: Update.
487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
488
f7be7376
JM
4892014-03-21 Joseph Myers <joseph@codesourcery.com>
490
1ca2d03e
JM
491 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
492 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
493 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
494
f7be7376
JM
495 [BZ #16731]
496 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
497 when x - 1 is zero.
498 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
499 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
500 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
501 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
502 argument is 1.
503 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
504 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
505 zero.
506 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
507 * sysdeps/i386/fpu/libm-test-ulps: Update.
508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
509
fdf4534d
SP
5102014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
511
df26ea53
SP
512 * scripts/bench.pl: Remove file.
513 * scripts/bench.py: New benchmark script.
514 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
515 * benchtests/README: Mention python dependency.
516 * scripts/pylintrc: New file.
517 * scripts/pylint: New file.
518
fdf4534d
SP
519 * bits/mathdef.h: Use #ifdef instead of #if.
520 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
521 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
522 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
523 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
524 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
525 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
526
6f23d093
AZ
5272014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
528 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
529
530 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
532 and strpbrk-ppc64 objects.
533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
534 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
535 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
536 multiarch strpbrk for POWER7.
537 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
538 multiarch strpbrk for PPC64.
539 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
540 ifunc selector.
541 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
542 strpbrk for POWER7.
543
8c92dfff
JM
5442014-03-20 Joseph Myers <joseph@codesourcery.com>
545
546 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
547 (atan_test): Likewise.
548 (atanh_test_data): Use NO_TEST_INLINE for two tests.
549 (atanh_test): Use ALL_RM_TEST.
550 (atan2_test_data): Likewise.
551 (cabs_test): Likewise.
552 (cacosh_test): Likewise.
553 (carg_test): Likewise.
554 (casin_test): Likewise.
555 (casinh_test): Likewise.
556 (cbrt_test): Likewise.
557 (csqrt_test): Likewise.
558 (erf_test): Likewise.
559 (erfc_test): Likewise.
560 (pow10_test): Likewise.
561 (exp2_test): Likewise.
562 (hypot_test): Likewise.
563 (j0_test): Likewise.
564 (j1_test): Likewise.
565 (lgamma_test): Likewise.
566 (gamma_test): Likewise.
567 (sincos_test): Likewise.
568 (tanh_test): Likewise.
569 (y0_test): Likewise.
570 (y1_test): Likewise.
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
573
6eaf95cb
AZ
5742014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
575
a387428c
SP
576 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
578 and strcspn-ppc64 objects.
579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
580 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
581 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
582 multiarch strcspn for POWER7.
583 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
584 multiarch strcspn for PPC64.
585 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
586 ifunc selector.
587 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
588 strcspn for POWER7.
589
ae3a5dff
JM
5902014-03-20 Joseph Myers <joseph@codesourcery.com>
591
592 * math/gen-libm-test.pl (generate_testfile): Expect only function
593 name as argument to AUTO_TESTS_* and pass results for all rounding
594 modes to parse_args.
595 (parse_auto_input): Separate inputs of automatic tests from
596 outputs before storing in %auto_tests.
597 * math/libm-test.inc (acos_test_data): Update call to
598 AUTO_TESTS_f_f.
599 (acos_test): Use ALL_RM_TEST.
600 (acos_tonearest_test_data): Remove.
601 (acos_test_tonearest): Likewise.
602 (acos_towardzero_test_data): Likewise.
603 (acos_test_towardzero): Likewise.
604 (acos_downward_test_data): Likewise.
605 (acos_test_downward): Likewise.
606 (acos_upward_test_data): Likewise.
607 (acos_test_upward): Likewise.
608 (acosh_test_data): Update call to AUTO_TESTS_f_f.
609 (asin_test_data): Likewise.
610 (asin_test): Use ALL_RM_TEST.
611 (asin_tonearest_test_data): Remove.
612 (asin_test_tonearest): Likewise.
613 (asin_towardzero_test_data): Likewise.
614 (asin_test_towardzero): Likewise.
615 (asin_downward_test_data): Likewise.
616 (asin_test_downward): Likewise.
617 (asin_upward_test_data): Likewise.
618 (asin_test_upward): Likewise.
619 (asinh_test_data): Update call to AUTO_TESTS_f_f.
620 (atan_test_data): Likewise.
621 (atanh_test_data): Likewise.
622 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
623 (cabs_test_data): Update call to AUTO_TESTS_c_f.
624 (carg_test_data): Likewise.
625 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
626 (ccos_test_data): Update call to AUTO_TESTS_c_c.
627 (ccosh_test_data): Likewise.
628 (cexp_test_data): Likewise.
629 (clog_test_data): Likewise.
630 (clog10_test_data): Likewise.
631 (cos_test_data): Update call to AUTO_TESTS_f_f.
632 (cos_test): Use ALL_RM_TEST.
633 (cos_tonearest_test_data): Remove.
634 (cos_test_tonearest): Likewise.
635 (cos_towardzero_test_data): Likewise.
636 (cos_test_towardzero): Likewise.
637 (cos_downward_test_data): Likewise.
638 (cos_test_downward): Likewise.
639 (cos_upward_test_data): Likewise.
640 (cos_test_upward): Likewise.
641 (cosh_test_data): Update call to AUTO_TESTS_f_f.
642 (cosh_test): Use ALL_RM_TEST.
643 (cosh_tonearest_test_data): Remove.
644 (cosh_test_tonearest): Likewise.
645 (cosh_towardzero_test_data): Likewise.
646 (cosh_test_towardzero): Likewise.
647 (cosh_downward_test_data): Likewise.
648 (cosh_test_downward): Likewise.
649 (cosh_upward_test_data): Likewise.
650 (cosh_test_upward): Likewise.
651 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
652 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
653 (ctan_test_data): Likewise.
654 (ctan_test): Use ALL_RM_TEST.
655 (ctan_tonearest_test_data): Remove.
656 (ctan_test_tonearest): Likewise.
657 (ctan_towardzero_test_data): Likewise.
658 (ctan_test_towardzero): Likewise.
659 (ctan_downward_test_data): Likewise.
660 (ctan_test_downward): Likewise.
661 (ctan_upward_test_data): Likewise.
662 (ctan_test_upward): Likewise.
663 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
664 (ctanh_test): Use ALL_RM_TEST.
665 (ctanh_tonearest_test_data): Remove.
666 (ctanh_test_tonearest): Likewise.
667 (ctanh_towardzero_test_data): Likewise.
668 (ctanh_test_towardzero): Likewise.
669 (ctanh_downward_test_data): Likewise.
670 (ctanh_test_downward): Likewise.
671 (ctanh_upward_test_data): Likewise.
672 (ctanh_test_upward): Likewise.
673 (erf_test_data): Update call to AUTO_TESTS_f_f.
674 (erfc_test_data): Likewise.
675 (exp_test_data): Likewise.
676 (exp_test): Use ALL_RM_TEST.
677 (exp_tonearest_test_data): Remove.
678 (exp_test_tonearest): Likewise.
679 (exp_towardzero_test_data): Likewise.
680 (exp_test_towardzero): Likewise.
681 (exp_downward_test_data): Likewise.
682 (exp_test_downward): Likewise.
683 (exp_upward_test_data): Likewise.
684 (exp_test_upward): Likewise.
685 (exp10_test_data): Update call to AUTO_TESTS_f_f.
686 (exp10_test): Use ALL_RM_TEST.
687 (exp10_tonearest_test_data): Remove.
688 (exp10_test_tonearest): Likewise.
689 (exp10_towardzero_test_data): Likewise.
690 (exp10_test_towardzero): Likewise.
691 (exp10_downward_test_data): Likewise.
692 (exp10_test_downward): Likewise.
693 (exp10_upward_test_data): Likewise.
694 (exp10_test_upward): Likewise.
695 (exp2_test_data): Update call to AUTO_TESTS_f_f.
696 (expm1_test_data): Likewise.
697 (expm1_test): Use ALL_RM_TEST.
698 (expm1_tonearest_test_data): Remove.
699 (expm1_test_tonearest): Likewise.
700 (expm1_towardzero_test_data): Likewise.
701 (expm1_test_towardzero): Likewise.
702 (expm1_downward_test_data): Likewise.
703 (expm1_test_downward): Likewise.
704 (expm1_upward_test_data): Likewise.
705 (expm1_test_upward): Likewise.
706 (fma_test_data): Update call to AUTO_TESTS_fff_f.
707 (fma_test): Use ALL_RM_TEST.
708 (fma_towardzero_test_data): Remove.
709 (fma_test_towardzero): Likewise.
710 (fma_downward_test_data): Likewise.
711 (fma_test_downward): Likewise.
712 (fma_upward_test_data): Likewise.
713 (fma_test_upward): Likewise.
714 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
715 (j0_test_data): Update call to AUTO_TESTS_f_f.
716 (j1_test_data): Likewise.
717 (jn_test_data): Update call to AUTO_TESTS_if_f.
718 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
719 (log_test_data): Update call to AUTO_TESTS_f_f.
720 (log10_test_data): Likewise.
721 (log1p_test_data): Likewise.
722 (log2_test_data): Likewise.
723 (pow_test_data): Update call to AUTO_TESTS_ff_f.
724 (pow_tonearest_test_data): Likewise.
725 (sin_test_data): Update call to AUTO_TESTS_f_f.
726 (sin_test): Use ALL_RM_TEST.
727 (sin_tonearest_test_data): Remove.
728 (sin_test_tonearest): Likewise.
729 (sin_towardzero_test_data): Likewise.
730 (sin_test_towardzero): Likewise.
731 (sin_downward_test_data): Likewise.
732 (sin_test_downward): Likewise.
733 (sin_upward_test_data): Likewise.
734 (sin_test_upward): Likewise.
735 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
736 (sinh_test_data): Update call to AUTO_TESTS_f_f.
737 (sinh_test): Use ALL_RM_TEST.
738 (sinh_tonearest_test_data): Remove.
739 (sinh_test_tonearest): Likewise.
740 (sinh_towardzero_test_data): Likewise.
741 (sinh_test_towardzero): Likewise.
742 (sinh_downward_test_data): Likewise.
743 (sinh_test_downward): Likewise.
744 (sinh_upward_test_data): Likewise.
745 (sinh_test_upward): Likewise.
746 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
747 (sqrt_test): Use ALL_RM_TEST.
748 (sqrt_tonearest_test_data): Remove.
749 (sqrt_test_tonearest): Likewise.
750 (sqrt_towardzero_test_data): Likewise.
751 (sqrt_test_towardzero): Likewise.
752 (sqrt_downward_test_data): Likewise.
753 (sqrt_test_downward): Likewise.
754 (sqrt_upward_test_data): Likewise.
755 (sqrt_test_upward): Likewise.
756 (tan_test_data): Update call to AUTO_TESTS_f_f.
757 (tan_test): Use ALL_RM_TEST.
758 (tan_tonearest_test_data): Remove.
759 (tan_test_tonearest): Likewise.
760 (tan_towardzero_test_data): Likewise.
761 (tan_test_towardzero): Likewise.
762 (tan_downward_test_data): Likewise.
763 (tan_test_downward): Likewise.
764 (tan_upward_test_data): Likewise.
765 (tan_test_upward): Likewise.
766 (tanh_test_data): Update call to AUTO_TESTS_f_f.
767 (tgamma_test_data): Likewise.
768 (y0_test_data): Likewise.
769 (y1_test_data): Likewise.
770 (yn_test_data): Update call to AUTO_TESTS_if_f.
771 (main): Do not call removed functions.
772
d71aeee8
JM
7732014-03-19 Joseph Myers <joseph@codesourcery.com>
774
775 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
776 (ldexp_test_data): Remove.
777 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
778 scalbn_test_data.
779 (scalb_test): Use ALL_RM_TEST.
780
baaf1ded
AS
7812014-03-19 Andreas Schwab <schwab@suse.de>
782
783 * nscd/nscd.service: Also invalidate netgroup cache on reload.
784
b1115e91
JM
7852014-03-19 Joseph Myers <joseph@codesourcery.com>
786
787 [BZ #16649]
788 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
789 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
790 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
791 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
792 (__ASSUME_PREADV): Undefine.
793 (__ASSUME_PWRITEV): Likewise.
794
0283ecca
RM
7952014-03-18 Roland McGrath <roland@hack.frob.com>
796
7d375303
RM
797 * bits/mman-linux.h: Add comment about non-Linux use.
798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
799 bits/mman-linux.h resting place.
800
0283ecca
RM
801 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
802 * bits/mman-linux.h: ... here.
803
aebe1003
AZ
8042014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
805
806 * conform/conformtest.pl: Add standard definition when calling C
807 preprocessor on data files.
808 (checknamespace): Remove unused variable.
809
b29b6bb8
JM
8102014-03-18 Joseph Myers <joseph@codesourcery.com>
811
812 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
813 minus_oflow, plus_uflow and minus_uflow in expected results.
814 * math/libm-test.inc (scalbn_test_data): Add more tests of
815 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
816 minus_uflow.
817 (scalbn_test): Use ALL_RM_TEST.
818 (scalbln_test_data): Add more tests of negative arguments. Use
819 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
820 (scalbln_test): Use ALL_RM_TEST.
821
c8f8fa15
RM
8222014-03-18 Roland McGrath <roland@hack.frob.com>
823
824 * scripts/abilist.awk: Ignore symbols marked with .hidden.
825
fede7a5f
WN
8262014-03-18 Will Newton <will.newton@linaro.org>
827
828 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
829 inaccurate comment.
830
80cf0a58
JM
8312014-03-18 Joseph Myers <joseph@codesourcery.com>
832
833 * Makerules [!subdir] (check-abi): Exit with error status if a
834 test failed.
835
b3620862
JM
8362014-03-17 Joseph Myers <joseph@codesourcery.com>
837
838 * math/libm-test.inc (nearbyint_test_data): Include all tests used
839 for rint. Include results for all rounding modes.
840 (nearbyint_test): Use ALL_RM_TEST.
841 (rint_test_data): Include all tests used for nearbyint.
842
788bba36
WN
8432014-03-17 Will Newton <will.newton@linaro.org>
844
04ec140a
WN
845 * nptl/sysdeps/pthread/pthread.h: Revert previous
846 change.
847
7579d8d5
WN
848 * sysdeps/generic/ldsodefs.h: Revert previous
849 change.
850
c15cf13a
WN
851 * libio/genops.c: Revert previous change.
852 * libio/libioP.h: Likewise.
853 * stdio-common/vfprintf.c: Likewise.
854
d0ac1324
WN
855 * sysdeps/generic/math_private.h: Revert previous
856 change.
857
9290130a
WN
858 * sysdeps/generic/math_private.h: Check whether
859 HAVE_RM_CTX is defined with #ifdef rather
860 than #if.
861
afb466fc
WN
862 * argp/argp-fmtstream.h: Check whether
863 __STRICT_ANSI__ is defined with #ifdef rather
864 than #if.
865 * argp/argp.h: Likewise.
866
f7efd7c3
WN
867 * libio/genops.c: Check whether
868 _IO_JUMPS_OFFSET is defined with #ifdef rather
869 than #if.
870 * libio/libioP.h: Likewise.
871 * stdio-common/vfprintf.c: Likewise.
872
53f1bed3
WN
873 * sysdeps/generic/ldsodefs.h: Check whether
874 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
875 than #if.
876
788bba36
WN
877 * nptl/sysdeps/pthread/pthread.h: Check
878 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
879 its value.
880
fcd89ebe
SP
8812014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
882
ae42bbc5
SP
883 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
884 setting O_APPEND.
885 * libio/tst-ftell-active-handler.c (do_append_test): Add a
886 test case.
887
ea33158c
SP
888 [BZ #16680]
889 * libio/fileops.c (_IO_file_open): Seek to end of file but
890 don't cache the offset.
891 (get_file_offset): Remove function.
892 (do_ftell): Use cached offset when available.
893 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
894 don't cache the offset.
895 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
896 case.
897 (do_one_test): Call it.
898 (do_ftell_test): Fix up expected old offset for a+ mode.
899 * libio/wfileops.c (do_ftell_wide): Used cached offset when
900 available.
901
b1dbb426
SP
902 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
903 up test status with function return status.
904 (do_write_test): Likewise.
905 (do_append_test): Likewise.
906
fcd89ebe
SP
907 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
908 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
909 Remove.
910
9962a2d3
JM
9112014-03-17 Joseph Myers <joseph@codesourcery.com>
912
913 * math/gen-libm-test.pl (parse_args): Handle results specified for
914 each rounding mode separately.
915 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
916 tests and results from lrint_tonearest_test_data,
917 lrint_towardzero_test_data, lrint_downward_test_data and
918 lrint_upward_test_data.
919 (lrint_test): Use ALL_RM_TEST.
920 (lrint_tonearest_test_data): Remove.
921 (lrint_test_tonearest): Likewise.
922 (lrint_towardzero_test_data): Likewise.
923 (lrint_test_towardzero): Likewise.
924 (lrint_downward_test_data): Likewise.
925 (lrint_test_downward): Likewise.
926 (lrint_upward_test_data): Likewise.
927 (lrint_test_upward): Likewise.
928 (llrint_test_data): Merge in per-rounding-mode tests and results
929 from llrint_tonearest_test_data, llrint_towardzero_test_data,
930 llrint_downward_test_data and llrint_upward_test_data.
931 (llrint_test): Use ALL_RM_TEST.
932 (llrint_tonearest_test_data): Remove.
933 (llrint_test_tonearest): Likewise.
934 (llrint_towardzero_test_data): Likewise.
935 (llrint_test_towardzero): Likewise.
936 (llrint_downward_test_data): Likewise.
937 (llrint_test_downward): Likewise.
938 (llrint_upward_test_data): Likewise.
939 (llrint_test_upward): Likewise.
940 (rint_test_data): Merge in per-rounding-mode tests and results
941 from rint_tonearest_test_data, rint_towardzero_test_data,
942 rint_downward_test_data and rint_upward_test_data. Add
943 per-rounding-mode results for tests not in those arrays.
944 (rint_test): Use ALL_RM_TEST.
945 (rint_tonearest_test_data): Remove.
946 (rint_test_tonearest): Likewise.
947 (rint_towardzero_test_data): Likewise.
948 (rint_test_towardzero): Likewise.
949 (rint_downward_test_data): Likewise.
950 (rint_test_downward): Likewise.
951 (rint_upward_test_data): Likewise.
952 (rint_test_upward): Likewise.
953 (main): Don't call removed functions.
954
5006148e
RM
9552014-03-14 Roland McGrath <roland@hack.frob.com>
956
957 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
958 "Compiled on ..." crapola. It is anti-useful.
959
d6fe5e58
JM
9602014-03-14 Joseph Myers <joseph@codesourcery.com>
961
962 * scripts/evaluate-test.sh: Handle fourth argument to determine
963 whether test run should stop on failure.
964 * Makeconfig (stop-on-test-failure): New variable.
965 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
966 $(stop-on-test-failure).
967 * Makefile (tests): Give a summary of results from testing and
968 exit with failure status if they include an ERROR or FAIL.
969 (xtests): Likewise.
970 * manual/install.texi (Configuring and compiling): Mention
971 stop-on-test-failure=y.
972 * INSTALL: Regenerated.
973
498a2233
RM
9742014-03-14 Roland McGrath <roland@hack.frob.com>
975
22dbc19d
RM
976 * scripts/versionlist.awk: New file.
977 * Makerules [$(build-shared) = yes]
978 (postclean-generated): Add Versions.def, not Versions.def.v and
979 Versions.def.v.i.
980 ($(common-objpfx)Versions.def.v.i): Target removed.
981 ($(common-objpfx)Versions.def): New target.
982 ($(common-objpfx)Versions.all): Depend on that rather that
983 $(common-objpfx)Versions.def.v.
984 * Versions.def: File removed.
985
498a2233
RM
986 * Makeconfig (+gccwarn): Add -Wundef.
987 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
988 a dl-sysdep.h breaking its contract.
989 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
990 * include/stackinfo.h: New file.
991 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
992 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
993 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
994 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
995 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
996 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
997 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
998 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
999 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1000 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1001 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1002 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1003 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1004 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1005 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1006
c7de5025
AZ
10072014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1008
1009 [BZ #16707]
1010 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1011 implementation.
1012 * math/libm-test.inc (round_test_data): Add more tests.
1013
98fb27a3
AZ
10142014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015
1016 [BZ #16706]
1017 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1018 implementation.
1019 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1020
374f7f61
AZ
10212014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1022
1023 [BZ #16701]
1024 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1025 implementation.
1026 * math/libm-test.inc (ceil_test_data): Add more tests.
1027
4655c291
AZ
10282014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029
1030 * math/libm-test.inc (trunc_test_data): Add more tests related to
1031 BZ#16414.
1032
d7329d4b
RM
10332014-03-14 Roland McGrath <roland@hack.frob.com>
1034
1035 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1036 with #if rather than #ifdef.
1037 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1038
aa4de9ce
L
10392014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1040
1041 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1042 first. Disable AVX-512 GCC support if assembler doesn't support
1043 it.
1044 * sysdeps/x86_64/configure: Regenerated.
1045
2e03fae7
CD
10462014-03-13 Carlos O'Donell <carlos@redhat.com>
1047
1048 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1049 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1050 (__old_pthread_attr_setstack): Likewise.
1051 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1052 [!_STACK_GROWS_DOWN]: Likewise.
1053
43ca83ec
MF
10542014-03-13 Mike Frysinger <vapier@gentoo.org>
1055
1056 * config.make.in (have-bash2): Delete.
1057 * configure.ac (libc_cv_have_bash2): Delete.
1058 * configure: Regenerate.
1059 * elf/Makefile (common-ldd-rewrite): Rename to ...
1060 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1061 (sh-ldd-rewrite): Delete.
1062 (bash-ldd-rewrite): Delete.
1063 (have-bash2): Delete checks.
1064 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1065
c66e48b4
MF
10662014-03-13 Mike Frysinger <vapier@gentoo.org>
1067
1068 * config.make.in (have-ksh): Delete.
1069 (KSH): Delete.
1070 * configure.ac (libc_cv_have_ksh): Delete.
1071 * configure: Regenerate.
1072
b93834ef
MF
10732014-03-13 Mike Frysinger <vapier@gentoo.org>
1074
1075 * elf/Makefile: Delete $(have-ksh) check.
1076 ($(objpfx)sotruss): Change KSH to BASH.
1077 * elf/sotruss.ksh: Rename to ...
1078 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1079 function style to match POSIX. Drop ksh vim mode setting.
1080
f3a4632a
MF
10812014-03-13 Mike Frysinger <vapier@gentoo.org>
1082
1083 * manual/time.texi (Specifying the Time Zone with TZ): Change
1084 Tuesday to Thursday.
1085
5896c8bd
MF
10862014-03-13 Mike Frysinger <vapier@gentoo.org>
1087
1088 * debug/tst-longjmp_chk2.c: Update header comment.
1089 (stackoverflow_handler): Add comment. Call assert on pass value.
1090
2d63a517
IZ
10912014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1092
1093 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1094 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1095 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1096 (La_x86_64_vector): Add zmm.
1097 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1098 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1099 ($(objpfx)tst-audit10): New target.
1100 ($(objpfx)tst-audit10.out): Likewise.
1101 (tst-audit10-ENV): New.
1102 (AVX512-CFLAGS): Likewise.
1103 (CFLAGS-tst-audit10.c): Likewise.
1104 (CFLAGS-tst-auditmod10a.c): Likewise.
1105 (CFLAGS-tst-auditmod10b.c): Likewise.
1106 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1107 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1108 * sysdeps/x86_64/configure: Regenerated.
1109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1110 AVX-512 zmm register support.
1111 (_dl_x86_64_save_sse): Likewise.
1112 (_dl_x86_64_restore_sse): Likewise.
1113 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1114 size vector registers.
1115 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1116 (ZMM_SIZE): Likewise.
1117 * sysdeps/x86_64/tst-audit10.c: New file.
1118 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1119 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1120
44c4e5d5
RM
11212014-03-13 Roland McGrath <roland@hack.frob.com>
1122
1123 * configure.ac (HAVE_EHDR_START): New check.
1124 * configure: Regenerated.
1125 * config.h.in (HAVE_EHDR_START): New #undef.
1126 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1127 assuming the lowest-addressed segment maps the start of the file.
1128
acd6e389
JM
11292014-03-13 Joseph Myers <joseph@codesourcery.com>
1130
1131 * INSTALL: Regenerated.
1132
6f918f36
WN
11332014-03-13 Will Newton <will.newton@linaro.org>
1134
1135 * manual/setjmp.texi (System V contexts): Improve
1136 clarity and grammar of documentation.
1137
798212a0
PP
11382014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1139
1140 [BZ #16381]
798212a0 1141 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1142 (tests-pie): Add tst-pie2.
798212a0
PP
1143 * elf/tst-pie2.c: New file.
1144 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1145 for ET_EXEC.
1146 * elf/rtld.c (map_doit): Load executable as lt_executable.
1147 (dl_main): Likewise.
1148
abe6d90c
JM
11492014-03-12 Joseph Myers <joseph@codesourcery.com>
1150
1151 [BZ #16642]
1152 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1153 (__ASSUME_PSELECT): Undefine.
1154
dd3946c6
AZ
11552014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1156
1157 [BZ #16689]
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1159 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1160 static build.
1161 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1162 selector for static builds.
1163
c44496df
SP
11642014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1165
1166 [BZ #16695]
1167 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1168 key in the buffer.
1169
27c7220a
AZ
11702014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1171
1172 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1173 selector for static builds.
1174
600fa361
JM
11752014-03-11 Joseph Myers <joseph@codesourcery.com>
1176
76c96cf7
JM
1177 * sysdeps/mips/math_private.h [__mips_hard_float]
1178 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1179 libc_feresetround_mips_ctx.
1180 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1181 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1182 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1183
600fa361
JM
1184 [BZ #16677]
1185 * math/s_nextafter.c (__nextafter): Do not return value from
1186 overflowing computation.
1187 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1188 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1190 Likewise.
1191 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1192 Likewise.
1193 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1194 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1195
d7706c32
RM
11962014-03-11 Roland McGrath <roland@hack.frob.com>
1197
1198 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1199 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1200 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1201 the new mov targetting sp.
1202
4facea47
AZ
12032014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1204
1205 [BZ #16683]
1206 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1207 Define it for static builds as well.
1208 (NO_BZERO_IMPL): Likewise.
1209
e65caf1f
VR
12102014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1211
1212 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1213 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1214 multiarch strspn for PPC64.
1215 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1216 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1218 (__libc_ifunc_impl_list): Likewise.
1219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1220 multiarch optimizations
1221 * string/strspn.c (strspn): Using macro to redefine symbol name.
1222
ba9cc071
AZ
12232014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1224 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1225
1226 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1227 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1228 multiarch strncat for PPC64.
1229 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1230 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1232 (__libc_ifunc_impl_list): Likewise.
1233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1234 multiarch optimizations
1235
8b4ff974
SP
12362014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1237
1238 [BZ #16639]
1239 * nscd/nscd.service: Make service type forking.
1240
54b46a4b
AZ
12412014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1242
1243 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1244 sign in non default rounding modes.
1245 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1246
e9996ef7
JM
12472014-03-08 Joseph Myers <joseph@codesourcery.com>
1248
1249 * math/libm-test.inc (ALL_RM_TEST): New macro.
1250 (ceil_test): Use ALL_RM_TEST.
1251 (cimag_test): Likewise.
1252 (conj_test): Likewise.
1253 (copysign_test): Likewise.
1254 (cproj_test): Likewise.
1255 (creal_test): Likewise.
1256 (fabs_test): Likewise.
1257 (floor_test): Likewise.
1258 (fmax_test): Likewise.
1259 (fmin_test): Likewise.
1260 (fmod_test): Likewise.
1261 (fpclassify_test): Likewise.
1262 (frexp_test): Likewise.
1263 (ilogb_test): Likewise.
1264 (isfinite_test): Likewise.
1265 (finite_test): Likewise.
1266 (isgreater_test): Likewise.
1267 (isgreaterequal_test): Likewise.
1268 (isinf_test): Likewise.
1269 (isless_test): Likewise.
1270 (islessequal_test): Likewise.
1271 (islessgreater_test): Likewise.
1272 (isnan_test): Likewise.
1273 (isnormal_test): Likewise.
1274 (issignaling_test): Likewise.
1275 (isunordered_test): Likewise.
1276 (logb_test): Likewise.
1277 (logb_downward_test_data): Remove.
1278 (logb_test_downward): Likewise.
1279 (lround_test): Use ALL_RM_TEST.
1280 (llround_test): Likewise.
1281 (modf_test): Likewise.
1282 (nexttoward_test): Likewise.
1283 (remainder_test): Likewise.
1284 (drem_test): Likewise.
1285 (remainder_tonearest_test_data): Likewise.
1286 (remainder_test_tonearest): Likewise.
1287 (drem_test_tonearest): Likewise.
1288 (remainder_towardzero_test_data): Likewise.
1289 (remainder_test_towardzero): Likewise.
1290 (drem_test_towardzero): Likewise.
1291 (remainder_downward_test_data): Likewise.
1292 (remainder_test_downward): Likewise.
1293 (drem_test_downward): Likewise.
1294 (remainder_upward_test_data): Likewise.
1295 (remainder_test_upward): Likewise.
1296 (drem_test_upward): Likewise.
1297 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1298 (round_test): Use ALL_RM_TEST.
1299 (signbit_test): Likewise.
1300 (trunc_test): Likewise.
1301 (significand_test): Likewise.
1302 (main): Don't call removed functions.
1303
bc61d27c
JM
13042014-03-07 Joseph Myers <joseph@codesourcery.com>
1305
5c780849
JM
1306 [BZ #16674]
1307 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1308 || __USE_XOPEN2K8].
1309 (ILL_ILLOPN): Likewise.
1310 (ILL_ILLADR): Likewise.
1311 (ILL_ILLTRP): Likewise.
1312 (ILL_PRVOPC): Likewise.
1313 (ILL_PRVREG): Likewise.
1314 (ILL_COPROC): Likewise.
1315 (ILL_BADSTK): Likewise.
1316 (FPE_INTDIV): Likewise.
1317 (FPE_INTOVF): Likewise.
1318 (FPE_FLTDIV): Likewise.
1319 (FPE_FLTOVF): Likewise.
1320 (FPE_FLTUND): Likewise.
1321 (FPE_FLTRES): Likewise.
1322 (FPE_FLTINV): Likewise.
1323 (FPE_FLTSUB): Likewise.
1324 (SEGV_MAPERR): Likewise.
1325 (SEGV_ACCERR): Likewise.
1326 (BUS_ADRALN): Likewise.
1327 (BUS_ADRERR): Likewise.
1328 (BUS_OBJERR): Likewise.
1329 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1330 (TRAP_TRACE): Likewise.
1331 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1332 __USE_XOPEN2K8].
1333 (CLD_KILLED): Likewise.
1334 (CLD_DUMPED): Likewise.
1335 (CLD_TRAPPED): Likewise.
1336 (CLD_STOPPED): Likewise.
1337 (CLD_CONTINUED): Likewise.
1338 (POLL_IN): Likewise.
1339 (POLL_OUT): Likewise.
1340 (POLL_MSG): Likewise.
1341 (POLL_ERR): Likewise.
1342 (POLL_PRI): Likewise.
1343 (POLL_HUP): Likewise.
1344 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1345 Likewise.
1346 (ILL_ILLOPN): Likewise.
1347 (ILL_ILLADR): Likewise.
1348 (ILL_ILLTRP): Likewise.
1349 (ILL_PRVOPC): Likewise.
1350 (ILL_PRVREG): Likewise.
1351 (ILL_COPROC): Likewise.
1352 (ILL_BADSTK): Likewise.
1353 (FPE_INTDIV): Likewise.
1354 (FPE_INTOVF): Likewise.
1355 (FPE_FLTDIV): Likewise.
1356 (FPE_FLTOVF): Likewise.
1357 (FPE_FLTUND): Likewise.
1358 (FPE_FLTRES): Likewise.
1359 (FPE_FLTINV): Likewise.
1360 (FPE_FLTSUB): Likewise.
1361 (SEGV_MAPERR): Likewise.
1362 (SEGV_ACCERR): Likewise.
1363 (BUS_ADRALN): Likewise.
1364 (BUS_ADRERR): Likewise.
1365 (BUS_OBJERR): Likewise.
1366 (BUS_MCEERR_AR): Likewise.
1367 (BUS_MCEERR_AO): Likewise.
1368 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1369 (TRAP_TRACE): Likewise.
1370 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1371 __USE_XOPEN2K8].
1372 (CLD_KILLED): Likewise.
1373 (CLD_DUMPED): Likewise.
1374 (CLD_TRAPPED): Likewise.
1375 (CLD_STOPPED): Likewise.
1376 (CLD_CONTINUED): Likewise.
1377 (POLL_IN): Likewise.
1378 (POLL_OUT): Likewise.
1379 (POLL_MSG): Likewise.
1380 (POLL_ERR): Likewise.
1381 (POLL_PRI): Likewise.
1382 (POLL_HUP): Likewise.
1383 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1384 (ILL_ILLOPN): Likewise.
1385 (ILL_ILLADR): Likewise.
1386 (ILL_ILLTRP): Likewise.
1387 (ILL_PRVOPC): Likewise.
1388 (ILL_PRVREG): Likewise.
1389 (ILL_COPROC): Likewise.
1390 (ILL_BADSTK): Likewise.
1391 (FPE_INTDIV): Likewise.
1392 (FPE_INTOVF): Likewise.
1393 (FPE_FLTDIV): Likewise.
1394 (FPE_FLTOVF): Likewise.
1395 (FPE_FLTUND): Likewise.
1396 (FPE_FLTRES): Likewise.
1397 (FPE_FLTINV): Likewise.
1398 (FPE_FLTSUB): Likewise.
1399 (SEGV_MAPERR): Likewise.
1400 (SEGV_ACCERR): Likewise.
1401 (BUS_ADRALN): Likewise.
1402 (BUS_ADRERR): Likewise.
1403 (BUS_OBJERR): Likewise.
1404 (BUS_MCEERR_AR): Likewise.
1405 (BUS_MCEERR_AO): Likewise.
1406 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1407 (TRAP_TRACE): Likewise.
1408 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1409 __USE_XOPEN2K8].
1410 (CLD_KILLED): Likewise.
1411 (CLD_DUMPED): Likewise.
1412 (CLD_TRAPPED): Likewise.
1413 (CLD_STOPPED): Likewise.
1414 (CLD_CONTINUED): Likewise.
1415 (POLL_IN): Likewise.
1416 (POLL_OUT): Likewise.
1417 (POLL_MSG): Likewise.
1418 (POLL_ERR): Likewise.
1419 (POLL_PRI): Likewise.
1420 (POLL_HUP): Likewise.
1421 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1422 Likewise.
1423 (ILL_ILLOPN): Likewise.
1424 (ILL_ILLADR): Likewise.
1425 (ILL_ILLTRP): Likewise.
1426 (ILL_PRVOPC): Likewise.
1427 (ILL_PRVREG): Likewise.
1428 (ILL_COPROC): Likewise.
1429 (ILL_BADSTK): Likewise.
1430 (ILL_BADIADDR): Likewise.
1431 (ILL_BREAK): Likewise.
1432 (FPE_INTDIV): Likewise.
1433 (FPE_INTOVF): Likewise.
1434 (FPE_FLTDIV): Likewise.
1435 (FPE_FLTOVF): Likewise.
1436 (FPE_FLTUND): Likewise.
1437 (FPE_FLTRES): Likewise.
1438 (FPE_FLTINV): Likewise.
1439 (FPE_FLTSUB): Likewise.
1440 (FPE_DECOVF): Likewise.
1441 (FPE_DECDIV): Likewise.
1442 (FPE_DECERR): Likewise.
1443 (FPE_INVASC): Likewise.
1444 (FPE_INVDEC): Likewise.
1445 (SEGV_MAPERR): Likewise.
1446 (SEGV_ACCERR): Likewise.
1447 (SEGV_PSTKOVF): Likewise.
1448 (BUS_ADRALN): Likewise.
1449 (BUS_ADRERR): Likewise.
1450 (BUS_OBJERR): Likewise.
1451 (BUS_MCEERR_AR): Likewise.
1452 (BUS_MCEERR_AO): Likewise.
1453 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1454 (TRAP_TRACE): Likewise.
1455 (TRAP_BRANCH): Likewise.
1456 (TRAP_HWBKPT): Likewise.
1457 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1458 __USE_XOPEN2K8].
1459 (CLD_KILLED): Likewise.
1460 (CLD_DUMPED): Likewise.
1461 (CLD_TRAPPED): Likewise.
1462 (CLD_STOPPED): Likewise.
1463 (CLD_CONTINUED): Likewise.
1464 (POLL_IN): Likewise.
1465 (POLL_OUT): Likewise.
1466 (POLL_MSG): Likewise.
1467 (POLL_ERR): Likewise.
1468 (POLL_PRI): Likewise.
1469 (POLL_HUP): Likewise.
1470 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1471 (ILL_ILLOPN): Likewise.
1472 (ILL_ILLADR): Likewise.
1473 (ILL_ILLTRP): Likewise.
1474 (ILL_PRVOPC): Likewise.
1475 (ILL_PRVREG): Likewise.
1476 (ILL_COPROC): Likewise.
1477 (ILL_BADSTK): Likewise.
1478 (FPE_INTDIV): Likewise.
1479 (FPE_INTOVF): Likewise.
1480 (FPE_FLTDIV): Likewise.
1481 (FPE_FLTOVF): Likewise.
1482 (FPE_FLTUND): Likewise.
1483 (FPE_FLTRES): Likewise.
1484 (FPE_FLTINV): Likewise.
1485 (FPE_FLTSUB): Likewise.
1486 (SEGV_MAPERR): Likewise.
1487 (SEGV_ACCERR): Likewise.
1488 (BUS_ADRALN): Likewise.
1489 (BUS_ADRERR): Likewise.
1490 (BUS_OBJERR): Likewise.
1491 (BUS_MCEERR_AR): Likewise.
1492 (BUS_MCEERR_AO): Likewise.
1493 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1494 (TRAP_TRACE): Likewise.
1495 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1496 __USE_XOPEN2K8].
1497 (CLD_KILLED): Likewise.
1498 (CLD_DUMPED): Likewise.
1499 (CLD_TRAPPED): Likewise.
1500 (CLD_STOPPED): Likewise.
1501 (CLD_CONTINUED): Likewise.
1502 (POLL_IN): Likewise.
1503 (POLL_OUT): Likewise.
1504 (POLL_MSG): Likewise.
1505 (POLL_ERR): Likewise.
1506 (POLL_PRI): Likewise.
1507 (POLL_HUP): Likewise.
1508 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1509 (ILL_ILLOPN): Likewise.
1510 (ILL_ILLADR): Likewise.
1511 (ILL_ILLTRP): Likewise.
1512 (ILL_PRVOPC): Likewise.
1513 (ILL_PRVREG): Likewise.
1514 (ILL_COPROC): Likewise.
1515 (ILL_BADSTK): Likewise.
1516 (FPE_INTDIV): Likewise.
1517 (FPE_INTOVF): Likewise.
1518 (FPE_FLTDIV): Likewise.
1519 (FPE_FLTOVF): Likewise.
1520 (FPE_FLTUND): Likewise.
1521 (FPE_FLTRES): Likewise.
1522 (FPE_FLTINV): Likewise.
1523 (FPE_FLTSUB): Likewise.
1524 (SEGV_MAPERR): Likewise.
1525 (SEGV_ACCERR): Likewise.
1526 (BUS_ADRALN): Likewise.
1527 (BUS_ADRERR): Likewise.
1528 (BUS_OBJERR): Likewise.
1529 (BUS_MCEERR_AR): Likewise.
1530 (BUS_MCEERR_AO): Likewise.
1531 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1532 (TRAP_TRACE): Likewise.
1533 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1534 __USE_XOPEN2K8].
1535 (CLD_KILLED): Likewise.
1536 (CLD_DUMPED): Likewise.
1537 (CLD_TRAPPED): Likewise.
1538 (CLD_STOPPED): Likewise.
1539 (CLD_CONTINUED): Likewise.
1540 (POLL_IN): Likewise.
1541 (POLL_OUT): Likewise.
1542 (POLL_MSG): Likewise.
1543 (POLL_ERR): Likewise.
1544 (POLL_PRI): Likewise.
1545 (POLL_HUP): Likewise.
1546 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1547 (ILL_ILLOPN): Likewise.
1548 (ILL_ILLADR): Likewise.
1549 (ILL_ILLTRP): Likewise.
1550 (ILL_PRVOPC): Likewise.
1551 (ILL_PRVREG): Likewise.
1552 (ILL_COPROC): Likewise.
1553 (ILL_BADSTK): Likewise.
1554 (FPE_INTDIV): Likewise.
1555 (FPE_INTOVF): Likewise.
1556 (FPE_FLTDIV): Likewise.
1557 (FPE_FLTOVF): Likewise.
1558 (FPE_FLTUND): Likewise.
1559 (FPE_FLTRES): Likewise.
1560 (FPE_FLTINV): Likewise.
1561 (FPE_FLTSUB): Likewise.
1562 (SEGV_MAPERR): Likewise.
1563 (SEGV_ACCERR): Likewise.
1564 (BUS_ADRALN): Likewise.
1565 (BUS_ADRERR): Likewise.
1566 (BUS_OBJERR): Likewise.
1567 (BUS_MCEERR_AR): Likewise.
1568 (BUS_MCEERR_AO): Likewise.
1569 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1570 (TRAP_TRACE): Likewise.
1571 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1572 __USE_XOPEN2K8].
1573 (CLD_KILLED): Likewise.
1574 (CLD_DUMPED): Likewise.
1575 (CLD_TRAPPED): Likewise.
1576 (CLD_STOPPED): Likewise.
1577 (CLD_CONTINUED): Likewise.
1578 (POLL_IN): Likewise.
1579 (POLL_OUT): Likewise.
1580 (POLL_MSG): Likewise.
1581 (POLL_ERR): Likewise.
1582 (POLL_PRI): Likewise.
1583 (POLL_HUP): Likewise.
1584 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1585 (ILL_ILLOPN): Likewise.
1586 (ILL_ILLADR): Likewise.
1587 (ILL_ILLTRP): Likewise.
1588 (ILL_PRVOPC): Likewise.
1589 (ILL_PRVREG): Likewise.
1590 (ILL_COPROC): Likewise.
1591 (ILL_BADSTK): Likewise.
1592 (ILL_DBLFLT): Likewise.
1593 (ILL_HARDWALL): Likewise.
1594 (FPE_INTDIV): Likewise.
1595 (FPE_INTOVF): Likewise.
1596 (FPE_FLTDIV): Likewise.
1597 (FPE_FLTOVF): Likewise.
1598 (FPE_FLTUND): Likewise.
1599 (FPE_FLTRES): Likewise.
1600 (FPE_FLTINV): Likewise.
1601 (FPE_FLTSUB): Likewise.
1602 (SEGV_MAPERR): Likewise.
1603 (SEGV_ACCERR): Likewise.
1604 (BUS_ADRALN): Likewise.
1605 (BUS_ADRERR): Likewise.
1606 (BUS_OBJERR): Likewise.
1607 (BUS_MCEERR_AR): Likewise.
1608 (BUS_MCEERR_AO): Likewise.
1609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1610 (TRAP_TRACE): Likewise.
1611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1612 __USE_XOPEN2K8].
1613 (CLD_KILLED): Likewise.
1614 (CLD_DUMPED): Likewise.
1615 (CLD_TRAPPED): Likewise.
1616 (CLD_STOPPED): Likewise.
1617 (CLD_CONTINUED): Likewise.
1618 (POLL_IN): Likewise.
1619 (POLL_OUT): Likewise.
1620 (POLL_MSG): Likewise.
1621 (POLL_ERR): Likewise.
1622 (POLL_PRI): Likewise.
1623 (POLL_HUP): Likewise.
1624 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1625 (ILL_ILLOPN): Likewise.
1626 (ILL_ILLADR): Likewise.
1627 (ILL_ILLTRP): Likewise.
1628 (ILL_PRVOPC): Likewise.
1629 (ILL_PRVREG): Likewise.
1630 (ILL_COPROC): Likewise.
1631 (ILL_BADSTK): Likewise.
1632 (FPE_INTDIV): Likewise.
1633 (FPE_INTOVF): Likewise.
1634 (FPE_FLTDIV): Likewise.
1635 (FPE_FLTOVF): Likewise.
1636 (FPE_FLTUND): Likewise.
1637 (FPE_FLTRES): Likewise.
1638 (FPE_FLTINV): Likewise.
1639 (FPE_FLTSUB): Likewise.
1640 (SEGV_MAPERR): Likewise.
1641 (SEGV_ACCERR): Likewise.
1642 (BUS_ADRALN): Likewise.
1643 (BUS_ADRERR): Likewise.
1644 (BUS_OBJERR): Likewise.
1645 (BUS_MCEERR_AR): Likewise.
1646 (BUS_MCEERR_AO): Likewise.
1647 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1648 (TRAP_TRACE): Likewise.
1649 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1650 __USE_XOPEN2K8].
1651 (CLD_KILLED): Likewise.
1652 (CLD_DUMPED): Likewise.
1653 (CLD_TRAPPED): Likewise.
1654 (CLD_STOPPED): Likewise.
1655 (CLD_CONTINUED): Likewise.
1656 (POLL_IN): Likewise.
1657 (POLL_OUT): Likewise.
1658 (POLL_MSG): Likewise.
1659 (POLL_ERR): Likewise.
1660 (POLL_PRI): Likewise.
1661 (POLL_HUP): Likewise.
1662 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1663 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1664
bc61d27c
JM
1665 [BZ #16670]
1666 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1667 before #include of <time.h>.
1668 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1669 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1670 (test-xfail-UNIX98/sched.h/conform): Likewise.
1671
302949e2
MS
16722014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1673
1674 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1675 error absence of trapping exception support.
1676 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1677
a00f522a
JM
16782014-03-07 Joseph Myers <joseph@codesourcery.com>
1679
6f99f280
JM
1680 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1681 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1682 * timezone/Makefile (testdata): Move definition above include of
1683 Rules.
1684 (test-zones): New variable.
1685 (tests-special): Add zone files.
1686 (build-testdata): Use $(evaluate-test).
1687
0b20a9e8
JM
1688 * elf/Makefile (tests-special): Rename tests to end with .out.
1689 ($(objpfx)noload-mem): Likewise.
1690 ($(objpfx)tst-leaks1-mem): Likewise.
1691 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1692 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1693 $(objpfx)test-iconvconfig.out.
1694 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1695 set -e inside subshell and redirect output to file.
1696 * iconvdata/Makefile (generated): Rename tests to end with .out.
1697 Correct type.
1698 (tests-special): Rename tests to end with .out.
1699 ($(objpfx)mtrace-tst-loading): Likewise.
1700 * intl/Makefile (generated): Likewise.
1701 (tests-special): Likewise.
1702 ($(objpfx)mtrace-tst-gettext): Likewise.
1703 * misc/Makefile (generated): Likewise.
1704 (tests-special): Likewise.
1705 ($(objpfx)tst-error1-mem): Likewise.
1706 * nptl/Makefile (tests-special): Likewise.
1707 ($(objpfx)tst-stack3-mem): Likewise.
1708 (generated): Likewise.
1709 * posix/Makefile (generated): Likewise.
1710 (tests-special): Likewise.
1711 (xtests-special): Likewise.
1712 ($(objpfx)tst-fnmatch-mem): Likewise.
1713 ($(objpfx)bug-regex2-mem): Likewise.
1714 ($(objpfx)bug-regex14-mem): Likewise.
1715 ($(objpfx)bug-regex21-mem): Likewise.
1716 ($(objpfx)bug-regex31-mem): Likewise.
1717 ($(objpfx)tst-vfork3-mem): Likewise.
1718 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1719 ($(objpfx)tst-pcre-mem): Likewise.
1720 ($(objpfx)tst-boost-mem): Likewise.
1721 ($(objpfx)bug-ga2-mem): Likewise.
1722 ($(objpfx)bug-glob2-mem): Likewise.
1723 * resolv/Makefile (generate): Likewise.
1724 (tests-special): Likewise.
1725 (xtests-special): Likewise.
1726 (generated): Likewise.
1727 ($(objpfx)mtrace-tst-leaks): Likewise.
1728 ($(objpfx)mtrace-tst-leaks2): Likewise.
1729
265d52ab
JM
1730 * scripts/merge-test-results.sh: New file.
1731 * Makefile (tests-special-notdir): New variable.
1732 (tests): Run merge-test-results.sh.
1733 (xtests): Likewise.
1734 * Rules (tests-special-notdir): New variable.
1735 (xtests-special-notdir): Likewise.
1736 (tests): Run merge-test-results.sh
1737 (xtests): Likewise.
1738
54ee292d
JM
1739 * Makeconfig (test-xfail-name): New variable.
1740 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1741 compute variable name for expected failures.
1742 * conform/Makefile (conformtest-headers-data): New variable.
1743 (conformtest-standards): Likewise.
1744 (conformtest-headers-ISO): Likewise.
1745 (conformtest-headers-ISO99): Likewise.
1746 (conformtest-headers-ISO11): Likewise.
1747 (conformtest-headers-POSIX): Likewise.
1748 (conformtest-headers-XPG3): Likewise.
1749 (conformtest-headers-XPG4): Likewise.
1750 (conformtest-headers-UNIX98): Likewise.
1751 (conformtest-headers-XOPEN2K): Likewise.
1752 (conformtest-headers-POSIX2008): Likewise.
1753 (conformtest-headers-XOPEN2K8): Likewise.
1754 (conformtest-header-list-base): Likewise.
1755 (conformtest-header-list-tests): Likewise.
1756 (conformtest-header-base): Likewise.
1757 (conformtest-header-tests): Likewise.
1758 (tests-special): Add $(conformtest-header-list-tests). If
1759 [$(fast-check) && !$(cross-compiling)], add
1760 $(conformtest-header-tests) instead of
1761 $(objpfx)run-conformtest.out.
1762 (generated): Add $(conformtest-header-list-base). If
1763 [$(fast-check) && !$(cross-compiling)], add
1764 $(conformtest-header-base). Remove previous setting.
1765 ($(conformtest-header-list-tests)): New target.
1766 (test-xfail-run-conformtest): Remove variable.
1767 ($(objpfx)run-conformtest.out): Remove target.
1768 (test-xfail-ISO11/complex.h/conform): New variable.
1769 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1770 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1771 (test-xfail-XPG3/varargs.h/conform): Likewise.
1772 (test-xfail-XPG4/varargs.h/conform): Likewise.
1773 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1774 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1775 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1776 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1777 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1778 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1779 (test-xfail-XPG3/ftw.h/conform): Likewise.
1780 (test-xfail-XPG3/grp.h/conform): Likewise.
1781 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1782 (test-xfail-XPG3/limits.h/conform): Likewise.
1783 (test-xfail-XPG3/pwd.h/conform): Likewise.
1784 (test-xfail-XPG3/search.h/conform): Likewise.
1785 (test-xfail-XPG3/signal.h/conform): Likewise.
1786 (test-xfail-XPG3/stdio.h/conform): Likewise.
1787 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1788 (test-xfail-XPG3/string.h/conform): Likewise.
1789 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1790 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1791 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1792 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1793 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1794 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1795 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1796 (test-xfail-XPG3/termios.h/conform): Likewise.
1797 (test-xfail-XPG3/time.h/conform): Likewise.
1798 (test-xfail-XPG3/unistd.h/conform): Likewise.
1799 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1800 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1801 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1802 (test-xfail-XPG4/netdb.h/conform): Likewise.
1803 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1804 (test-xfail-XPG4/signal.h/conform): Likewise.
1805 (test-xfail-XPG4/stdio.h/conform): Likewise.
1806 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1807 (test-xfail-XPG4/stropts.h/conform): Likewise.
1808 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1809 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1810 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1811 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1812 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1813 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1814 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1815 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1816 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1817 (test-xfail-XPG4/termios.h/conform): Likewise.
1818 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1819 (test-xfail-XPG4/unistd.h/conform): Likewise.
1820 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1821 (test-xfail-POSIX/sched.h/conform): Likewise.
1822 (test-xfail-POSIX/signal.h/conform): Likewise.
1823 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1824 (test-xfail-POSIX/tar.h/conform): Likewise.
1825 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1826 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1827 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1828 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1829 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1830 (test-xfail-UNIX98/sched.h/conform): Likewise.
1831 (test-xfail-UNIX98/signal.h/conform): Likewise.
1832 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1833 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1834 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1835 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1836 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1837 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1838 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1839 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1840 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1841 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1842 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1843 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1844 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1845 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1846 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1847 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1848 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1849 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1850 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1851 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1852 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1853 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1854 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1855 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1856 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1857 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1858 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1859 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1860 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1861 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1862 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1863 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1864 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1865 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1866 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1867 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1868 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1869 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1870 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1871 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1872 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1873 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1874 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1875 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1876 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1877 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1878 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1879 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1880 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1881 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1882 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1883 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1884 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1885 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1886 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1887 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1888 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1889 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1890 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1891 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1892 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1893 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1894 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1895 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1896 (conformtest-cc-flags): Likewise.
1897 ($(conformtest-header-tests): New target.
1898 * conform/check-header-lists.sh: New file.
1899 * conform/run-conformtest.sh: Remove.
1900
a00f522a
JM
1901 * conform/conformtest.pl: Allow ' and \ in values given for
1902 constants.
1903 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1904 inclusion.
1905 [POSIX] (sys/types.h): Likewise.
1906 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1907 inclusion.
1908 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1909 inclusion.
1910 * conform/data/signal.h-data (SIGIO): Remove expectation.
1911 [XPG3] (SIGBUS): Do not expect.
1912 [POSIX || XPG3] (SIGPOLL): Likewise.
1913 [POSIX || XPG3] (SIGPROF): Likewise.
1914 [POSIX || XPG3] (SIGSYS): Likewise.
1915 [XPG3] (SIGTRAP): Likewise.
1916 [POSIX || XPG3] (SIGURG): Likewise.
1917 [POSIX || XPG3] (SIGVTALRM): Likewise.
1918 [POSIX || XPG3] (SIGXCPU): Likewise.
1919 [POSIX || XPG3] (SIGXFSZ): Likewise.
1920 [POSIX] (SA_SIGINFO): Expect.
1921 [XPG3] (siginfo_t): Do not expect type or contents.
1922 [POSIX] (si_pid): Do not expect element.
1923 [POSIX] (si_uid): Likewise.
1924 [POSIX] (si_addr): Likewise.
1925 [POSIX] (si_status): Likewise.
1926 [POSIX] (si_band): Likewise.
1927 [XPG4] (si_value): Likewise.
1928 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1929 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1930 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1931 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1932 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1933 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1934 [POSIX || XPG3] (ILL_COPROC): Likewise.
1935 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1936 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1937 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1938 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1939 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1940 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1941 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1942 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1943 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1944 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1945 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1946 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1947 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1948 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1949 [POSIX || XPG3] (CLD_EXITED): Likewise.
1950 [POSIX || XPG3] (CLD_KILLED): Likewise.
1951 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1952 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1953 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1954 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1955 [POSIX || XPG3] (POLL_IN): Likewise.
1956 [POSIX || XPG3] (POLL_OUT): Likewise.
1957 [POSIX || XPG3] (POLL_MSG): Likewise.
1958 [POSIX || XPG3] (POLL_ERR): Likewise.
1959 [POSIX || XPG3] (POLL_PRI): Likewise.
1960 [POSIX || XPG3] (POLL_HUP): Likewise.
1961 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1962 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1963 (SIG*): Do not allow.
1964 [XPG3] (si_*): Likewise.
1965 [XPG3] (SI_*): Likewise.
1966 [XPG3 || XPG4] (sigev_*): Likewise.
1967 [XPG3 || XPG4] (SIGEV_*): Likewise.
1968 [XPG3 || XPG4] (sival_*): Likewise.
1969 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1970 [POSIX || XPG3] (BUS_*): Likewise.
1971 [POSIX || XPG3] (CLD_*): Likewise.
1972 [POSIX || XPG3] (FPE_*): Likewise.
1973 [POSIX || XPG3] (ILL_*): Likewise.
1974 [POSIX || XPG3] (POLL_*): Likewise.
1975 [POSIX || XPG3] (SEGV_*): Likewise.
1976 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1977 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1978 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1979 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1980 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1981 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1982 Specify type and value.
1983 (TVERSLEN): Likewise.
1984 (REGTYPE): Likewise.
1985 (AREGTYPE): Likewise.
1986 (LNKTYPE): Likewise.
1987 (SYMTYPE): Likewise.
1988 (CHRTYPE): Likewise.
1989 (BLKTYPE): Likewise.
1990 (DIRTYPE): Likewise.
1991 (FIFOTYPE): Likewise.
1992 (CONTTYPE): Likewise.
1993 (TSUID): Likewise.
1994 (TSGID): Likewise.
1995 (TSVTX): Likewise.
1996 (TUREAD): Likewise.
1997 (TUWRITE): Likewise.
1998 (TUEXEC): Likewise.
1999 (TGREAD): Likewise.
2000 (TGWRITE): Likewise.
2001 (TGEXEC): Likewise.
2002 (TOREAD): Likewise.
2003 (TOWRITE): Likewise.
2004 (TOEXEC): Likewise.
2005 [POSIX] (TSVTX): Expect constant.
2006
aa97dee1
JM
20072014-03-06 Joseph Myers <joseph@codesourcery.com>
2008
f214606a
JM
2009 * Makefile (tests): Change dependencies to ....
2010 (tests-special): ... additions to this variable.
2011 (tests): Depend on $(tests-special).
2012 * Makerules (check-abi-list): New variable.
2013 (check-abi): Depend on $(check-abi-list).
2014 [$(subdir) = elf] (tests-special): Add
2015 $(objpfx)check-abi-libc.out.
2016 [$(build-shared) = yes && subdir] (tests-special): Add
2017 $(check-abi-list).
2018 [$(build-shared) = yes && subdir] (tests): Do not depend on
2019 check-abi.
2020 * Rules (tests): Depend on $(tests-special).
2021 (xtests): Depend on $(xtests-special).
2022 * catgets/Makefile (tests): Change dependencies to ....
2023 (tests-special): ... additions to this variable.
2024 * conform/Makefile (tests): Change dependencies to ....
2025 (tests-special): ... additions to this variable.
2026 * elf/Makefile (tests): Change dependencies to ....
2027 (tests-special): ... additions to this variable.
2028 * grp/Makefile (tests): Change dependencies to ....
2029 (tests-special): ... additions to this variable.
2030 * iconv/Makefile (xtests): Change dependencies to ....
2031 (xtests-special): ... additions to this variable.
2032 * iconvdata/Makefile (tests): Change dependencies to ....
2033 (tests-special): ... additions to this variable.
2034 * intl/Makefile (tests): Change dependencies to ....
2035 (tests-special): ... additions to this variable. Also add
2036 $(objpfx)tst-gettext.out.
2037 * io/Makefile (tests): Change dependencies to ....
2038 (tests-special): ... additions to this variable.
2039 * libio/Makefile (tests): Change dependencies to ....
2040 (tests-special): ... additions to this variable.
2041 * malloc/Makefile (tests): Change dependencies to ....
2042 (tests-special): ... additions to this variable.
2043 * misc/Makefile (tests): Change dependencies to ....
2044 (tests-special): ... additions to this variable.
2045 * nptl/Makefile (tests): Change dependencies to ....
2046 (tests-special): ... additions to this variable.
2047 * nptl_db/Makefile (tests): Change dependencies to ....
2048 (tests-special): ... additions to this variable.
2049 * posix/Makefile (tests): Change dependencies to ....
2050 (tests-special): ... additions to this variable.
2051 (xtests): Change dependencies to ....
2052 (xtests-special): ... additions to this variable.
2053 * resolv/Makefile (tests): Change dependencies to ....
2054 (tests-special): ... additions to this variable.
2055 (xtests): Change dependencies to ....
2056 (xtests-special): ... additions to this variable.
2057 * stdio-common/Makefile (tests): Change dependencies to ....
2058 (tests-special): ... additions to this variable.
2059 (do-tst-unbputc): Remove target.
2060 (do-tst-printf): Likewise.
2061 * stdlib/Makefile (tests): Change dependencies to ....
2062 (tests-special): ... additions to this variable.
2063 * string/Makefile (tests): Change dependencies to ....
2064 (tests-special): ... additions to this variable.
2065 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2066 (tests-special): ... additions to this variable.
2067
81700b53
JM
2068 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2069 whole file.
2070 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2071 whole file.
2072 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2073 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2074
2ea18461
JM
2075 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2076 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2077 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2078 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2079 * conform/data/libgen.h-data [XPG3]: Likewise.
2080 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2081 * conform/data/ndbm.h-data [XPG3]: Likewise.
2082 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2083 * conform/data/netdb.h-data [XPG3]: Likewise.
2084 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2085 * conform/data/poll.h-data [XPG3]: Likewise.
2086 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2087 * conform/data/strings.h-data [XPG3]: Likewise.
2088 * conform/data/stropts.h-data [XPG3]: Likewise.
2089 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2090 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2091 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2092 Likewise.
2093 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2094 * conform/data/sys/time.h-data [XPG3]: Likewise.
2095 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2096 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2097 * conform/data/sys/un.h-data [XPG3]: Likewise.
2098 * conform/data/syslog.h-data [XPG3]: Likewise.
2099 * conform/data/ucontext.h-data [XPG3]: Likewise.
2100 * conform/data/utmpx.h-data [XPG3]: Likewise.
2101 * conform/data/varargs.h-data [UNIX98]: Enable file.
2102
355bc986
JM
2103 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2104
215db402
JM
2105 * math/libm-test.inc (struct test_f_f_data): Move expected results
2106 into structure for each rounding mode.
2107 (struct test_ff_f_data): Likewise.
2108 (struct test_ff_f_data_nexttoward): Likewise.
2109 (struct test_fi_f_data): Likewise.
2110 (struct test_fl_f_data): Likewise.
2111 (struct test_if_f_data): Likewise.
2112 (struct test_fff_f_data): Likewise.
2113 (struct test_c_f_data): Likewise.
2114 (struct test_f_f1_data): Likewise.
2115 (struct test_fF_f1_data): Likewise.
2116 (struct test_ffI_f1_data): Likewise.
2117 (struct test_c_c_data): Likewise.
2118 (struct test_cc_c_data): Likewise.
2119 (struct test_f_i_data): Likewise.
2120 (struct test_ff_i_data): Likewise.
2121 (struct test_f_l_data): Likewise.
2122 (struct test_f_L_data): Likewise.
2123 (struct test_fFF_11_data): Likewise.
2124 (RM_): New macro.
2125 (RM_FE_DOWNWARD): Likewise.
2126 (RM_FE_TONEAREST): Likewise.
2127 (RM_FE_TOWARDZERO): Likewise.
2128 (RM_FE_UPWARD): Likewise.
2129 (RUN_TEST_LOOP_f_f): Update references to expected results.
2130 (RUN_TEST_LOOP_2_f): Likewise.
2131 (RUN_TEST_LOOP_fff_f): Likewise.
2132 (RUN_TEST_LOOP_c_f): Likewise.
2133 (RUN_TEST_LOOP_f_f1): Likewise.
2134 (RUN_TEST_LOOP_fF_f1): Likewise.
2135 (RUN_TEST_LOOP_fI_f1): Likewise.
2136 (RUN_TEST_LOOP_ffI_f1): Likewise.
2137 (RUN_TEST_LOOP_c_c): Likewise.
2138 (RUN_TEST_LOOP_cc_c): Likewise.
2139 (RUN_TEST_LOOP_f_i): Likewise.
2140 (RUN_TEST_LOOP_f_i_tg): Likewise.
2141 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2142 (RUN_TEST_LOOP_f_b): Likewise.
2143 (RUN_TEST_LOOP_f_b_tg): Likewise.
2144 (RUN_TEST_LOOP_f_l): Likewise.
2145 (RUN_TEST_LOOP_f_L): Likewise.
2146 (RUN_TEST_LOOP_fFF_11): Likewise.
2147 * math/gen-libm-test.pl (parse_args): Output four copies of
2148 expected results for each test.
2149
67737b8f
JM
2150 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2151 (__ASSUME_UTIMES): Remove.
2152 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2153 (__ASSUME_UTIMES): Likewise.
2154
aa97dee1
JM
2155 * math/gen-auto-libm-tests.c: Update comment on output format.
2156 (output_for_one_input_case): Generate before-rounding and
2157 after-rounding information as conditions on output flags not
2158 floating-point format.
2159 * math/auto-libm-test-out: Regenerated.
2160 * math/gen-libm-test.pl (cond_value): New function.
2161 (or_cond_value): Use cond_value.
2162 (generate_testfile): Handle conditional exceptions.
2163
e6b6a857
JM
21642014-03-05 Joseph Myers <joseph@codesourcery.com>
2165
2f0a0f44
JM
2166 * math/libm-test.inc (max_valid_error): New variable.
2167 (init_max_error): Take new argument specifying whether function
2168 results are exactly determined. Set max_valid_error and bound
2169 other variables for errors based on this argument.
2170 (set_max_error): Do not record results above max_valid_error.
2171 (check_float_internal): Only accept errors of up to 0.5ulps if
2172 also at most max_valid_error.
2173 (START): Take new argument EXACT and pass it to init_max_error.
2174 (acos_test): Update call to START.
2175 (acos_test_tonearest): Likewise.
2176 (acos_test_towardzero): Likewise.
2177 (acos_test_downward): Likewise.
2178 (acos_test_upward): Likewise.
2179 (acosh_test): Likewise.
2180 (asin_test): Likewise.
2181 (asin_test_tonearest): Likewise.
2182 (asin_test_towardzero): Likewise.
2183 (asin_test_downward): Likewise.
2184 (asin_test_upward): Likewise.
2185 (asinh_test): Likewise.
2186 (atan_test): Likewise.
2187 (atanh_test): Likewise.
2188 (atan2_test): Likewise.
2189 (cabs_test): Likewise.
2190 (cacos_test): Likewise.
2191 (cacosh_test): Likewise.
2192 (carg_test): Likewise.
2193 (casin_test): Likewise.
2194 (casinh_test): Likewise.
2195 (catan_test): Likewise.
2196 (catanh_test): Likewise.
2197 (cbrt_test): Likewise.
2198 (ccos_test): Likewise.
2199 (ccosh_test): Likewise.
2200 (ceil_test): Likewise.
2201 (cexp_test): Likewise.
2202 (cimag_test): Likewise.
2203 (clog_test): Likewise.
2204 (clog10_test): Likewise.
2205 (conj_test): Likewise.
2206 (copysign_test): Likewise.
2207 (cos_test): Likewise.
2208 (cos_test_tonearest): Likewise.
2209 (cos_test_towardzero): Likewise.
2210 (cos_test_downward): Likewise.
2211 (cos_test_upward): Likewise.
2212 (cosh_test): Likewise.
2213 (cosh_test_tonearest): Likewise.
2214 (cosh_test_towardzero): Likewise.
2215 (cosh_test_downward): Likewise.
2216 (cosh_test_upward): Likewise.
2217 (cpow_test): Likewise.
2218 (cproj_test): Likewise.
2219 (creal_test): Likewise.
2220 (csin_test): Likewise.
2221 (csinh_test): Likewise.
2222 (csqrt_test): Likewise.
2223 (ctan_test): Likewise.
2224 (ctan_test_tonearest): Likewise.
2225 (ctan_test_towardzero): Likewise.
2226 (ctan_test_downward): Likewise.
2227 (ctan_test_upward): Likewise.
2228 (ctanh_test): Likewise.
2229 (ctanh_test_tonearest): Likewise.
2230 (ctanh_test_towardzero): Likewise.
2231 (ctanh_test_downward): Likewise.
2232 (ctanh_test_upward): Likewise.
2233 (erf_test): Likewise.
2234 (erfc_test): Likewise.
2235 (exp_test): Likewise.
2236 (exp_test_tonearest): Likewise.
2237 (exp_test_towardzero): Likewise.
2238 (exp_test_downward): Likewise.
2239 (exp_test_upward): Likewise.
2240 (exp10_test): Likewise.
2241 (exp10_test_tonearest): Likewise.
2242 (exp10_test_towardzero): Likewise.
2243 (exp10_test_downward): Likewise.
2244 (exp10_test_upward): Likewise.
2245 (pow10_test): Likewise.
2246 (exp2_test): Likewise.
2247 (expm1_test): Likewise.
2248 (expm1_test_tonearest): Likewise.
2249 (expm1_test_towardzero): Likewise.
2250 (expm1_test_downward): Likewise.
2251 (expm1_test_upward): Likewise.
2252 (fabs_test): Likewise.
2253 (fdim_test): Likewise.
2254 (floor_test): Likewise.
2255 (fma_test): Likewise.
2256 (fma_test_towardzero): Likewise.
2257 (fma_test_downward): Likewise.
2258 (fma_test_upward): Likewise.
2259 (fmax_test): Likewise.
2260 (fmin_test): Likewise.
2261 (fmod_test): Likewise.
2262 (fpclassify_test): Likewise.
2263 (frexp_test): Likewise.
2264 (hypot_test): Likewise.
2265 (ilogb_test): Likewise.
2266 (isfinite_test): Likewise.
2267 (finite_test): Likewise.
2268 (isgreater_test): Likewise.
2269 (isgreaterequal_test): Likewise.
2270 (isinf_test): Likewise.
2271 (isless_test): Likewise.
2272 (islessequal_test): Likewise.
2273 (islessgreater_test): Likewise.
2274 (isnan_test): Likewise.
2275 (isnormal_test): Likewise.
2276 (issignaling_test): Likewise.
2277 (isunordered_test): Likewise.
2278 (j0_test): Likewise.
2279 (j1_test): Likewise.
2280 (jn_test): Likewise.
2281 (ldexp_test): Likewise.
2282 (lgamma_test): Likewise.
2283 (gamma_test): Likewise.
2284 (lrint_test): Likewise.
2285 (lrint_test_tonearest): Likewise.
2286 (lrint_test_towardzero): Likewise.
2287 (lrint_test_downward): Likewise.
2288 (lrint_test_upward): Likewise.
2289 (llrint_test): Likewise.
2290 (llrint_test_tonearest): Likewise.
2291 (llrint_test_towardzero): Likewise.
2292 (llrint_test_downward): Likewise.
2293 (llrint_test_upward): Likewise.
2294 (log_test): Likewise.
2295 (log10_test): Likewise.
2296 (log1p_test): Likewise.
2297 (log2_test): Likewise.
2298 (logb_test): Likewise.
2299 (logb_test_downward): Likewise.
2300 (lround_test): Likewise.
2301 (llround_test): Likewise.
2302 (modf_test): Likewise.
2303 (nearbyint_test): Likewise.
2304 (nextafter_test): Likewise.
2305 (nexttoward_test): Likewise.
2306 (pow_test): Likewise.
2307 (pow_test_tonearest): Likewise.
2308 (pow_test_towardzero): Likewise.
2309 (pow_test_downward): Likewise.
2310 (pow_test_upward): Likewise.
2311 (remainder_test): Likewise.
2312 (drem_test): Likewise.
2313 (remainder_test_tonearest): Likewise.
2314 (drem_test_tonearest): Likewise.
2315 (remainder_test_towardzero): Likewise.
2316 (drem_test_towardzero): Likewise.
2317 (remainder_test_downward): Likewise.
2318 (drem_test_downward): Likewise.
2319 (remainder_test_upward): Likewise.
2320 (drem_test_upward): Likewise.
2321 (remquo_test): Likewise.
2322 (rint_test): Likewise.
2323 (rint_test_tonearest): Likewise.
2324 (rint_test_towardzero): Likewise.
2325 (rint_test_downward): Likewise.
2326 (rint_test_upward): Likewise.
2327 (round_test): Likewise.
2328 (scalb_test): Likewise.
2329 (scalbn_test): Likewise.
2330 (scalbln_test): Likewise.
2331 (signbit_test): Likewise.
2332 (sin_test): Likewise.
2333 (sin_test_tonearest): Likewise.
2334 (sin_test_towardzero): Likewise.
2335 (sin_test_downward): Likewise.
2336 (sin_test_upward): Likewise.
2337 (sincos_test): Likewise.
2338 (sinh_test): Likewise.
2339 (sinh_test_tonearest): Likewise.
2340 (sinh_test_towardzero): Likewise.
2341 (sinh_test_downward): Likewise.
2342 (sinh_test_upward): Likewise.
2343 (sqrt_test): Likewise.
2344 (sqrt_test_tonearest): Likewise.
2345 (sqrt_test_towardzero): Likewise.
2346 (sqrt_test_downward): Likewise.
2347 (sqrt_test_upward): Likewise.
2348 (tan_test): Likewise.
2349 (tan_test_tonearest): Likewise.
2350 (tan_test_towardzero): Likewise.
2351 (tan_test_downward): Likewise.
2352 (tan_test_upward): Likewise.
2353 (tanh_test): Likewise.
2354 (tgamma_test): Likewise.
2355 (trunc_test): Likewise.
2356 (y0_test): Likewise.
2357 (y1_test): Likewise.
2358 (yn_test): Likewise.
2359 (significand_test): Likewise.
2360
e6b6a857
JM
2361 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2362 individual tests in comment.
2363 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2364 (prev_max_error): New variable.
2365 (prev_real_max_error): Likewise.
2366 (prev_imag_max_error): Likewise.
2367 (compare_ulp_data): Don't refer to test names in comment.
2368 (find_test_ulps): Remove function.
2369 (find_function_ulps): Likewise.
2370 (find_complex_function_ulps): Likewise.
2371 (init_max_error): Take function name as argument. Look up ulps
2372 for that function.
2373 (print_ulps): Remove function.
2374 (print_max_error): Use prev_max_error instead of calling
2375 find_function_ulps.
2376 (print_complex_max_error): Use prev_real_max_error and
2377 prev_imag_max_error instead of calling find_complex_function_ulps.
2378 (check_float_internal): Take max_ulp parameter instead of calling
2379 find_test_ulps. Don't call print_ulps.
2380 (check_float): Update call to check_float_internal.
2381 (check_complex): Update calls to check_float_internal.
2382 (START): Pass argument to init_max_error.
2383 * math/gen-libm-test.pl (%results): Don't include "kind"
2384 information.
2385 (parse_ulps): Don't handle ulps of individual tests.
2386 (print_ulps_file): Likewise.
2387 (output_ulps): Likewise.
2388 * math/README.libm-test: Update.
2389 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2390 individual tests.
2391 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2392 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2393 * sysdeps/arm/libm-test-ulps: Likewise.
2394 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2395 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2396 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2397 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2398 * sysdeps/microblaze/libm-test-ulps: Likewise.
2399 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2400 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2401 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2402 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2403 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2404 * sysdeps/sh/libm-test-ulps: Likewise.
2405 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2406 * sysdeps/tile/libm-test-ulps: Likewise.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2408
45adef3c
JM
24092014-03-04 Joseph Myers <joseph@codesourcery.com>
2410
2411 * math/libm-test.inc (print_complex_max_error): Check separately
2412 whether real and imaginary errors are within allowed range and
2413 pass 0 to print_complex_function_ulps instead of value within
2414 allowed range.
2415
000232b9
SP
24162014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2417
d4b17258
SP
2418 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2419 formatting.
2420 (get_handles_fopen): Likewise.
2421 (do_write_test): Likewise.
2422
091eff71
SP
2423 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2424
fa3cd248
SP
2425 * libio/fileops.c (do_ftell): Use cached offset when
2426 available.
2427 * libio/iofwide.c (do_ftell_wide): Likewise.
2428 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2429 _IO_file_attach.
2430 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2431
000232b9
SP
2432 [BZ #16532]
2433 * libio/libioP.h (get_file_offset): New function.
2434 * libio/fileops.c (get_file_offset): Likewise.
2435 (do_ftell): Likewise.
2436 (_IO_new_file_seekoff): Split out ftell logic.
2437 * libio/wfileops.c (do_ftell_wide): Likewise.
2438 (_IO_wfile_seekoff): Split out ftell logic.
2439 * libio/tst-ftell-active-handler.c: New test case.
2440 * libio/Makefile (tests): Add it.
2441
116f4d1a
RM
24422014-03-03 Roland McGrath <roland@hack.frob.com>
2443
2444 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2445 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2446
532a6035
SP
24472014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2448
2449 [BZ #16639]
2450 * nscd/connections.c (nscd_init): Call do_exit.
2451 (start_threads): Call do_exit and notify_parent.
2452 (begin_drop_privileges): Call do_exit.
2453 (finish_drop_privileges): Likewise.
2454 * nscd/selinux.c (preserve_capabilities): Likewise.
2455 (install_real_capabilities): Likewise.
2456 (nscd_selinux_enabled): Likewise.
2457 (avc_create_thread): Likewise.
2458 (avc_alloc_lock): Likewise.
2459 (nscd_avc_init): Likewise.
2460 * nscd/nscd.c (parent_fd): New static variable.
2461 (main): Create a pipe between parent and child processes.
2462 Skip closing parent_fd.
2463 (monitor_child): New function.
2464 (do_exit): Likewise.
2465 (notify_parent): Likewise.
2466 * nscd/nscd.h (notify_parent): Likewise.
2467 (do_exit): Likewise.
2468
d6285c9f
CD
24692014-03-03 Carlos O'Donell <carlos@redhat.com>
2470
2471 * malloc/malloc.c (__libc_calloc): Revert last change.
2472
2b85d2a0
AZ
24732014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2474
2475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2476
c7debbdf
RS
24772014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2478
2479 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2481 implementation.
2482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2483 (__libc_ifunc_impl_list): Likewise.
2484 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2485 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2486 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2487 * string/strrchr.c: Define STRRCHR.
2488
235eed86
OB
24892014-02-28 Ondřej Bílka <neleai@seznam.cz>
2490
2491 * benchtest/bench-strtok.c (simple_strtok): Delete.
2492 (strtok_string): Use as benchmark.
2493 * string/strtok (STRTOK): New macro.
2494
8e25d1e7
CD
24952014-02-28 Carlos O'Donell <carlos@redhat.com>
2496
ef563f92
CD
2497 * manual/threads.texi: Add header and standard comments to all
2498 functions.
2499
8e25d1e7
CD
2500 * elf/dl-lookup.c (check_match): New function.
2501 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2502 (do_lookup_x): Remove nested function check_match. Use non-nested
2503 function check_match.
2504
ff71cc37
RM
25052014-02-28 Roland McGrath <roland@hack.frob.com>
2506
f08e9a26
RM
2507 * csu/Makefile (generated, before-compile): Use += rather than =.
2508 * catgets/Makefile (generated, generated-dirs): Likewise.
2509 * debug/Makefile (generated): Likewise.
2510 * dlfcn/Makefile (generated): Likewise.
2511 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2512 * iconvdata/Makefile (before-compile, generated): Likewise.
2513 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2514 * libio/Makefile (generated): Likewise.
2515 * malloc/Makefile (generated): Likewise.
2516 * manual/Makefile (generated, generated-dirs): Likewise.
2517 * misc/Makefile (generated): Likewise.
2518 * posix/Makefile (generated): Likewise.
2519 * resolv/Makefile (generated): Likewise.
2520 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2521 * timezone/Makefile (generated, generated-dirs): Likewise.
2522
ff71cc37
RM
2523 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2524
fe13a20c
AZ
25252014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2526
2527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2528 implementation.
2529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2530 POWER8 llround ifunc implementation.
2531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2532 POWER8 implementation.
2533 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2534 POWER8 llround implementation.
2535
1ad8950a
AZ
25362014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2537
2538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2539 implementation.
2540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2541 POWER8 llrint ifunc implementation.
2542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2543 POWER8 implementation.
2544 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2545 POWER8 llrint implementation.
2546
cac626d6
AZ
25472014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2548
2549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2550 implementation.
2551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2552 POWER8 finite ifunc implementation.
2553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2554 POWER8 implementation.
2555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2556 Likewise.
2557 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2558 POWER8 finite implementation.
2559 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2560
4393fc11
AZ
25612014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562
2563 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2564 implementation.
2565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2566 POWER8 isinf ifunc implementation.
2567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2568 POWER8 implementation.
2569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2570 Likewise.
2571 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2572 POWER8 isinf implementation.
2573 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2574
487972ae
AZ
25752014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2576
2577 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2578 Add hwcap2 initialization.
2579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2580 implementation.
2581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2582 POWER8 isnan ifunc implementation.
2583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2584 POWER8 implementation.
2585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2586 Likewise.
2587 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2588 POWER8 isnan implementation.
2589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2590
7d92b787
JY
25912014-02-27 Joey Ye <joey.ye@arm.com>
2592
2593 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2594 (_FP_NANFRAC_Q): Set to zero.
2595
1cadc858
SP
25962014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2597
2598 [BZ #16623]
2599 * math/auto-libm-test-in: New test inputs.
2600 * math/auto-libm-test-out: Regenerate.
2601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2602 and DA.
2603 (__cos): Likewise.
2604 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2605
f8c17e79
JM
26062014-02-27 Joseph Myers <joseph@codesourcery.com>
2607
2608 * scripts/evaluate-test.sh: Take new argument indicating whether
2609 failure is expected.
2610 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2611 indicating whether failure is expected.
2612 * conform/Makefile (test-xfail-run-conformtest): New variable.
2613 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2614 level.
2615 * posix/Makefile (test-xfail-annexc): New variable.
2616 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2617
a5f891ac
JM
26182014-02-26 Joseph Myers <joseph@codesourcery.com>
2619
2620 * argp/Makefile: Include Makeconfig immediately after defining
2621 subdir.
2622 * assert/Makefile: Likewise.
2623 * benchtests/Makefile: Likewise.
2624 * catgets/Makefile: Likewise.
2625 * conform/Makefile: Likewise.
2626 * crypt/Makefile: Likewise.
2627 * csu/Makefile: Likewise.
2628 (all): Remove target.
2629 * ctype/Makefile: Include Makeconfig immediately after defining
2630 subdir.
2631 * debug/Makefile: Likewise.
2632 * dirent/Makefile: Likewise.
2633 * dlfcn/Makefile: Likewise.
2634 * gmon/Makefile: Likewise.
2635 * gnulib/Makefile: Likewise.
2636 * grp/Makefile: Likewise.
2637 * gshadow/Makefile: Likewise.
2638 * hesiod/Makefile: Likewise.
2639 * hurd/Makefile: Likewise.
2640 (all): Remove target.
2641 * iconvdata/Makefile: Include Makeconfig immediately after
2642 defining subdir.
2643 * inet/Makefile: Likewise.
2644 * intl/Makefile: Likewise.
2645 * io/Makefile: Likewise.
2646 * libio/Makefile: Likewise.
2647 (all): Remove target.
2648 * locale/Makefile: Include Makeconfig immediately after defining
2649 subdir.
2650 * login/Makefile: Likewise.
2651 * mach/Makefile: Likewise.
2652 (all): Remove target.
2653 * malloc/Makefile: Include Makeconfig immediately after defining
2654 subdir.
2655 (all): Remove target.
2656 * manual/Makefile: Include Makeconfig immediately after defining
2657 subdir.
2658 * math/Makefile: Likewise.
2659 * misc/Makefile: Likewise.
2660 * nis/Makefile: Likewise.
2661 * nss/Makefile: Likewise.
2662 * po/Makefile: Likewise.
2663 (all): Remove target.
2664 * posix/Makefile: Include Makeconfig immediately after defining
2665 subdir.
2666 * pwd/Makefile: Likewise.
2667 * resolv/Makefile: Likewise.
2668 * resource/Makefile: Likewise.
2669 * rt/Makefile: Likewise.
2670 * setjmp/Makefile: Likewise.
2671 * shadow/Makefile: Likewise.
2672 * signal/Makefile: Likewise.
2673 * socket/Makefile: Likewise.
2674 * soft-fp/Makefile: Likewise.
2675 * stdio-common/Makefile: Likewise.
2676 * stdlib/Makefile: Likewise.
2677 * streams/Makefile: Likewise.
2678 * string/Makefile: Likewise.
2679 * sunrpc/Makefile: Likewise.
2680 (all): Remove target.
2681 * sysvipc/Makefile: Include Makeconfig immediately after defining
2682 subdir.
2683 * termios/Makefile: Likewise.
2684 * time/Makefile: Likewise.
2685 * timezone/Makefile: Likewise.
2686 (all): Remove target.
2687 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2688 subdir.
2689 * wctype/Makefile: Likewise.
2690
5b456e9d
SE
26912014-02-26 Steve Ellcey <sellcey@mips.com>
2692
2693 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2694 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2695 (libc_feholdexcept_setround_mips): Ditto.
2696 (libc_feholdsetround): New.
2697 (libc_feholdsetroundf): New.
2698 (libc_feholdsetroundl): New.
2699 (libc_feupdateenv_test_mips): New.
2700 (libc_feupdateenv_test): New.
2701 (libc_feupdateenv_testf): New.
2702 (libc_feupdateenv_testl): New.
2703 (libc_feresetround): New.
2704 (libc_feresetroundf): New.
2705 (libc_feresetroundl): New.
2706 (libc_fetestexcept_mips): New.
2707 (libc_fetestexcept): New.
2708 (libc_fetestexceptf): New.
2709 (libc_fetestexceptl): New.
2710 (HAVE_RM_CTX): New.
2711 (libc_feholdexcept_setround_mips_ctx): New.
2712 (libc_feholdexcept_setround_ctx): New.
2713 (libc_feholdexcept_setroundf_ctx): New.
2714 (libc_feholdexcept_setroundl_ctx): New.
2715 (libc_fesetenv_mips_ctx): New.
2716 (libc_fesetenv_ctx): New.
2717 (libc_fesetenv_ctxf): New.
2718 (libc_fesetenv_ctxl): New.
2719 (libc_feupdateenv_mips_ctx): New.
2720 (libc_feupdateenv_ctx): New.
2721 (libc_feupdateenvf_ctx): New.
2722 (libc_feupdateenvl_ctx): New.
2723 (libc_feholdsetround_mips_ctx): New.
2724 (libc_feholdsetround_ctx): New.
2725 (libc_feholdsetroundf_ctx): New.
2726 (libc_feholdsetroundl_ctx): New.
2727 (libc_feresetround_mips_ctx): New.
2728 (libc_feresetround_ctx): New.
2729 (libc_feresetroundf_ctx): New.
2730 (libc_feresetroundl_ctx): New.
2731
085d0e35
CD
27322014-02-26 Carlos O'Donell <carlos@redhat.com>
2733
f067bf1f
CD
2734 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2735
085d0e35
CD
2736 * manual/ipc.texi: New file.
2737 * manual/Makefile (chapters): Add ipc.
2738 * manual/job.texi: Add "Inter-Process Communication" to next.
2739 * manual/process.texi: Add "Inter-Process Communication" to prev.
2740
86e58c08
AZ
27412014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2742
2743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2744
4248f0da
OB
27452014-02-26 Ondřej Bílka <neleai@seznam.cz>
2746
2747 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2748
cf822e3c
OB
2749 * manual/arith.texi: Fix spaces after sentences.
2750 * manual/charset.texi: Likewise.
2751 * manual/errno.texi: Likewise.
2752 * manual/install.texi: Likewise.
2753 * manual/llio.texi: Likewise.
2754 * manual/locale.texi: Likewise.
2755 * manual/maint.texi: Likewise.
2756 * manual/math.texi: Likewise.
2757 * manual/memory.texi: Likewise.
2758 * manual/message.texi: Likewise.
2759 * manual/probes.texi: Likewise.
2760 * manual/resource.texi: Likewise.
2761 * manual/signal.texi: Likewise.
2762 * manual/socket.texi: Likewise.
2763 * manual/stdio.texi: Likewise.
2764 * manual/string.texi: Likewise.
2765 * manual/time.texi: Likewise.
2766 * manual/users.texi: Likewise.
2767
ade40b10
CD
27682014-02-25 Carlos O'Donell <carlos@redhat.com>
2769
2770 [BZ #16632]
2771 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2772 _DEFAULT_SOURCE is defined.
2773
d0503676
CD
27742014-02-25 Ulrich Drepper <drepper@gmail.com>
2775 Carlos O'Donell <carlos@redhat.com>
2776
2777 [BZ #16613]
2778 * elf/dl-tls.c (_dl_count_modids): New function.
2779 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2780 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2781 audit library and increment generation counter.
2782 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2783 * elf/tst-audit9.c: New file.
2784 * elf/tst-auditmod9a.c: New file.
2785 * elf/tst-auditmod9b.c: New file.
2786 * elf/Makefile: Add rules to build and run tst-audit9.
2787
4cbf380c
FW
27882014-02-25 Florian Weimer <fweimer@redhat.com>
2789
2790 [BZ #15347]
2791 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2792
80a56cc3
WN
27932014-02-25 Will Newton <will.newton@linaro.org>
2794
2795 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2796 (__longjmp): Restore sp and lr before restoring callee
2797 saved registers. Add longjmp and longjmp_target
2798 SystemTap probe point.
2799 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2800 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2801 Define to zero to match jmpbuf layout.
2802 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2803 (__sigsetjmp): Save sp and lr before saving callee
2804 saved registers. Add setjmp SystemTap probe point.
2805
3ea0f74e
SL
28062014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2807
2808 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2809
b04acb26
AS
28102014-02-24 Andreas Schwab <schwab@suse.de>
2811
2812 [BZ #15804]
2813 * elf/pldd.c (wait_for_ptrace_stop): New function.
2814 (main): Call it after attaching.
2815
098ad55c
RM
28162014-02-22 Roland McGrath <roland@hack.frob.com>
2817
d4ec6ae1
RM
2818 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2819 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2820 Versions files is now verboten.
2821 * hurd/Versions (libc: GLIBC_2.0):
2822 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2823 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2824 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2825 * mach/Versions: Likewise.
2826
098ad55c
RM
2827 * csu/Versions: Remove unused %include.
2828 * resolv/Versions: Likewise.
2829
acd7f096
JM
28302014-02-21 Joseph Myers <joseph@codesourcery.com>
2831
f0881698
JM
2832 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2833 ($(objpfx)check-local-headers.out): Likewise.
2834 ($(objpfx)begin-end-check.out): Likewise.
2835 * Makerules (check-abi-%.out): Likewise.
2836 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2837 ($(objpfx)test2.cat): Likewise.
2838 ($(objpfx)de/libc.cat): Likewise.
2839 ($(objpfx)test-gencat.out): Likewise.
2840 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2841 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2842 ($(objpfx)noload-mem): Likewise.
2843 ($(objpfx)tst-pathopt.out): Likewise.
2844 ($(objpfx)tst-rtld-load-self.out): Likewise.
2845 ($(objpfx)tst-array1-cmp.out): Likewise.
2846 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2847 ($(objpfx)tst-array2-cmp.out): Likewise.
2848 ($(objpfx)tst-array3-cmp.out): Likewise.
2849 ($(objpfx)tst-array4-cmp.out): Likewise.
2850 ($(objpfx)tst-array5-cmp.out): Likewise.
2851 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2852 ($(objpfx)check-textrel.out): Likewise.
2853 ($(objpfx)check-execstack.out): Likewise.
2854 ($(objpfx)check-localplt.out): Likewise.
2855 ($(objpfx)order2-cmp.out): Likewise.
2856 ($(objpfx)tst-leaks1-mem): Likewise.
2857 ($(objpfx)tst-leaks1-static-mem): Likewise.
2858 ($(objpfx)tst-initorder-cmp.out): Likewise.
2859 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2860 ($(objpfx)tst-unused-dep.out): Likewise.
2861 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2862 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2863 * iconv/Makefile (test-iconvconfig): Likewise.
2864 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2865 ($(objpfx)iconv-test.out): Likewise.
2866 ($(objpfx)tst-tables.out): Likewise.
2867 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2868 ($(objpfx)tst-gettext.out): Likewise.
2869 ($(objpfx)tst-translit.out): Likewise.
2870 ($(objpfx)tst-gettext2.out): Likewise.
2871 ($(objpfx)tst-gettext4.out): Likewise.
2872 ($(objpfx)tst-gettext6.out): Likewise.
2873 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2874 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2875 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2876 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2877 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2878 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2879 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2880 ($(objpfx)wordexp-tst.out): Likewise.
2881 ($(objpfx)annexc.out): Likewise.
2882 ($(objpfx)tst-fnmatch-mem): Likewise.
2883 ($(objpfx)bug-regex2-mem): Likewise.
2884 ($(objpfx)bug-regex14-mem): Likewise.
2885 ($(objpfx)bug-regex21-mem): Likewise.
2886 ($(objpfx)bug-regex31-mem): Likewise.
2887 ($(objpfx)tst-vfork3-mem): Likewise.
2888 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2889 ($(objpfx)tst-pcre-mem): Likewise.
2890 ($(objpfx)tst-boost-mem): Likewise.
2891 ($(objpfx)tst-getconf.out): Likewise.
2892 ($(objpfx)bug-ga2-mem): Likewise.
2893 ($(objpfx)bug-glob2-mem): Likewise.
2894 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2895 ($(objpfx)mtrace-tst-leaks2): Likewise.
2896 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2897 ($(objpfx)tst-printf.out): Likewise.
2898 ($(objpfx)tst-setvbuf1.out): Likewise.
2899 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2900 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2901 ($(objpfx)tst-fmtmsg.out): Likewise.
2902 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2903 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2904
acd7f096
JM
2905 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2906 * bits/sigaction.h [__USE_MISC]: Likewise.
2907 * bits/waitstatus.h: Update #endif comments.
2908 * ctype/ctype.h: Likewise.
2909 * dirent/dirent.h: Likewise.
2910 [__USE_MISC]: Remove redundant conditionals.
2911 * grp/grp.h: Update #endif comments.
2912 [__USE_GNU]: Remove redundant conditionals.
2913 [__USE_MISC]: Likewise.
2914 * inet/netinet/in.h [__USE_GNU]: Likewise.
2915 * io/sys/stat.h [__USE_MISC]: Likewise.
2916 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2917 * libio/bits/stdio.h: Update #endif comments.
2918 [__USE_MISC]: Remove redundant conditionals.
2919 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2920 * libio/stdio.h: Update #endif comments.
2921 [__USE_MISC]: Remove redundant conditionals.
2922 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2923 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2924 * math/math.h: Update #else and #endif comments.
2925 [__USE_MISC]: Remove redundant conditionals.
2926 * misc/sys/uio.h: Update #endif comments.
2927 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2928 * posix/glob.h [__USE_MISC]: Likewise.
2929 * posix/sys/types.h: Update #endif comments.
2930 [__USE_MISC]: Remove redundant conditionals.
2931 * posix/sys/wait.h: Update #endif comments.
2932 [__USE_MISC]: Remove redundant conditionals.
2933 * posix/unistd.h: Update #endif comments.
2934 [__USE_MISC]: Remove redundant conditionals.
2935 * pwd/pwd.h [__USE_GNU]: Likewise.
2936 [__USE_MISC]: Likewise.
2937 * resolv/netdb.h [__USE_GNU]: Likewise.
2938 * signal/signal.h: Update #endif comments.
2939 [__USE_MISC]: Remove redundant conditionals.
2940 * stdlib/stdlib.h: Update #else and #endif comments.
2941 [__USE_MISC]: Remove redundant conditionals.
2942 [__USE_GNU]: Likewise.
2943 * string/bits/string2.h [__USE_MISC]: Likewise.
2944 * string/string.h: Update #endif comments.
2945 [__USE_MISC]: Remove redundant conditionals.
2946 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2947 Likewise.
2948 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2949 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2950 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2951 Likewise.
2952 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2953 Likewise.
2954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2955 comments.
2956 [__USE_MISC]: Remove redundant conditionals.
2957 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2958 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2959 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2960 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2961 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2962 Likewise.
2963 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2964 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2965 Likewise.
2966 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2968 Likewise.
2969 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2970 Likewise.
2971 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2972 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2973 Likewise.
2974 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2975 Likewise.
2976 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2977 * sysdeps/x86/bits/string.h: Update #endif comments.
2978 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2979 conditionals.
2980 * time/sys/time.h: Update #endif comments.
2981 * time/time.h: Likewise.
2982 [__USE_MISC]: Remove redundant conditionals.
2983
a5d82e4e
YG
29842014-02-21 Yury Gribov <y.gribov@samsung.com>
2985
2986 [BZ #16600]
2987 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2988
9a80491d
AS
29892014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2990
2991 * Versions.def (librt): Add GLIBC_2.17.
2992
105fa381
AC
29932014-02-21 Adam Conrad <adconrad@0c3.net>
2994
2995 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2996 synonym for _SYS_AUXV_H to allow direct inclusion.
2997 * sysdeps/sparc/bits/hwcap.h: Likewise.
2998 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2999 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3000 * sysdeps/sparc/sysdep.h: Likewise.
3001
b8cd1c4e
SP
30022014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3003
3004 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3005
bd939d23
RS
30062014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3007
3008 * benchtests/bench-strrchr.c: Print length instead of position.
3009
5d7b57ca
JM
30102014-02-20 Joseph Myers <joseph@codesourcery.com>
3011
bc688c10
JM
3012 [BZ #16611]
3013 * sysdeps/unix/sysv/linux/kernel-features.h
3014 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3015 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3016 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3017 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3018 Likewise.
3019 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3020 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3021 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3022 (__ASSUME_SENDMMSG): Define instead of using previous
3023 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3024 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3025 (__ASSUME_SENDMMSG_SYSCALL): Define.
3026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3027 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3028 Likewise.
3029 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3030 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3031 Likewise.
3032 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3033 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3034 Likewise.
3035 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3036 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3037 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3038 [__ASSUME_SENDMMSG]: Change conditionals to
3039 [__ASSUME_SENDMMSG_SOCKETCALL].
3040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3041 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3042 Define.
3043 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3044 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3045 Likewise.
3046 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3047 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3048 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3049 [!__ASSUME_SENDMMSG]: Change conditional to
3050 [!__ASSUME_SENDMMSG_SOCKETCALL].
3051 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3052 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3053 Define.
3054
0e31b18c
JM
3055 [BZ #16610]
3056 * sysdeps/unix/sysv/linux/kernel-features.h
3057 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3058 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3059 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3060 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3061 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3062 [__i386__ || __sparc__]
3063 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3064 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3065 (__ASSUME_RECVMMSG): Define instead of using previous
3066 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3067 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3068 (__ASSUME_RECVMMSG_SYSCALL): Define.
3069 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3070 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3071 Likewise.
3072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3073 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3074 Likewise.
3075 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3076 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3077 Likewise.
3078 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3079 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3080 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3081 [__ASSUME_RECVMMSG]: Change condition to
3082 [__ASSUME_RECVMMSG_SOCKETCALL].
3083 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3084 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3085 Define.
3086 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3087 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3088 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3089 Likewise.
3090 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3091 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3092 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3093 [!__ASSUME_RECVMMSG]: Change condition to
3094 [!__ASSUME_RECVMMSG_SOCKETCALL].
3095 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3096 (__ASSUME_RECVMMSG_SYSCALL): Define.
3097
dd481ccf
JM
3098 [BZ #16609]
3099 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3100 __powerpc__ || __s390__ || __sh__ || __sparc__]
3101 (__ASSUME_SOCKETCALL): Define.
3102 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3103 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3104 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3105 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3106 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3107 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3108 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3109 (__ASSUME_ACCEPT4): Define instead of using previous
3110 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3111 __powerpc__ || __sparc__ || __s390__)] condition.
3112 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3113 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3114 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3115 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3116 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3117 [!__ASSUME_ACCEPT4]: Change condition to
3118 [!__ASSUME_ACCEPT4_SOCKETCALL].
3119 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3120 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3121 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3122 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3123 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3124 __ASSUME_ACCEPT4_SYSCALL.
3125 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3126 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3127 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3128 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3129 __ASSUME_ACCEPT4_SYSCALL.
3130 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3131 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3132 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3133 [__ASSUME_ACCEPT4]: Change condition to
3134 [__ASSUME_ACCEPT4_SOCKETCALL].
3135 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3136 (__ASSUME_SOCKETCALL): Define.
3137 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3139 (__ASSUME_SOCKETCALL): Define.
3140 (__ASSUME_ACCEPT4): Remove.
3141 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3142 Define.
3143 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3144 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3145 Likewise.
3146 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3147 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3148
5d7b57ca
JM
3149 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3150 macro.
3151 (HWCAP_ARM_LPAE): Likewise.
3152 (HWCAP_ARM_EVTSTRM): Likewise.
3153 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3154 Add vpfd32, lpae and evtstrm.
3155 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3156 Increase to 22.
3157
63689d61
JM
31582014-02-19 Joseph Myers <joseph@codesourcery.com>
3159
3160 * math/auto-libm-test-in: Add tests of clog10.
3161 * math/auto-libm-test-out: Regenerated.
3162 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3163 * sysdeps/i386/fpu/libm-test-ulps: Update.
3164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3165
ab09bf61
AS
31662014-02-18 Andreas Schwab <schwab@suse.de>
3167
3168 [BZ #16574]
3169 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3170 Store non-zero if the second buffer was newly allocated.
3171 (send_dg): Likewise.
3172 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3173 to send_vc and send_dg.
3174 (res_nsend): Pass NULL for ansp2_malloced.
3175 * resolv/res_query.c (__libc_res_nquery): Add parameter
3176 answerp2_malloced and pass it down to __libc_res_nsend.
3177 (res_nquery): Pass additional NULL to __libc_res_nquery.
3178 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3179 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3180 second answer buffer if answerp2_malloced was set.
3181 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3182 (__libc_res_nquerydomain): Add parameter
3183 answerp2_malloced and pass it down to __libc_res_nquery.
3184 (res_nquerydomain): Pass additional NULL to
3185 __libc_res_nquerydomain.
3186 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3187 additional NULL to __libc_res_nsend and __libc_res_nquery.
3188 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3189 additional NULL to __libc_res_nsearch.
3190 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3191 parameter of __libc_res_nsearch to check for separately allocated
3192 second buffer.
3193 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3194 __libc_res_nquery.
3195 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3196 additional NULL to __libc_res_nquery.
3197 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3198 __libc_res_nsearch.
3199 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3200 * include/resolv.h: Update prototypes of __libc_res_nquery,
3201 __libc_res_nsearch, __libc_res_nsend.
3202
a4fb7861
JM
32032014-02-18 Joseph Myers <joseph@codesourcery.com>
3204
c6af2d89
JM
3205 * math/auto-libm-test-in: Add tests of fma.
3206 * math/auto-libm-test-out: Regenerated.
3207 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3208 (fma_towardzero_test_data): Likewise.
3209 (fma_downward_test_data): Likewise.
3210 (fma_upward_test_data): Likewise.
3211 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3212 mpc_mode.
3213 (rounding_modes): Add values for new field.
3214 (func_calc_method): Add value mpfr_fff_f.
3215 (func_calc_desc): Add mpfr_fff_f union field.
3216 (test_function): Add field exact_args.
3217 (FUNC): Add macro argument EXACT_ARGS.
3218 (FUNC_mpfr_f_f): Update call to FUNC.
3219 (FUNC_mpfr_f_f): Likewise.
3220 (FUNC_mpfr_ff_f): Likewise.
3221 (FUNC_mpfr_if_f): Likewise.
3222 (FUNC_mpc_c_f): Likewise.
3223 (FUNC_mpc_c_c): Likewise.
3224 (test_functions): Add fma. Update calls to FUNC.
3225 (handle_input_arg): Add argument exact_args.
3226 (add_test): Update call to handle_input_arg.
3227 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3228 (output_for_one_input_case): Update call to calc_generic_results.
3229 Recalculate exact zero results in each rounding mode.
3230
a4fb7861
JM
3231 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3232 non-negative before setting low bit.
3233 * math/auto-libm-test-in: Mark one asin test possibly having
3234 spurious underflow.
3235 * math/auto-libm-test-out: Regenerated.
3236 * sysdeps/i386/fpu/libm-test-ulps: Update.
3237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3238
ef114eaf
DH
32392014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3240
2b7f4f2c
SP
3241 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3242 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3243 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3244 * README: Add missing listing for microblaze*-*-linux-gnu.
3245
c70a4b1d
MF
32462014-02-16 Mike Frysinger <vapier@gentoo.org>
3247
3248 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3249 * sysdeps/unix/sysv/linux/ia64: Move directory from
3250 ports/sysdeps/unix/sysv/linux/ia64.
3251 * README: Update listing for ia64-*-linux-gnu.
3252
591aeaf7
TD
32532014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3254 Joseph Myers <joseph@codesourcery.com>
3255
3256 * Makeconfig (test-name): New variable.
3257 (evaluate-test): Likewise.
3258 * Makerules (do-test-clean): Remove .test-result files.
3259 (common-mostlyclean): Likewise.
3260 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3261 * scripts/evaluate-test.sh: New file.
3262
6e89caf1
JM
32632014-02-14 Joseph Myers <joseph@codesourcery.com>
3264
7f98f180
JM
3265 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3266 separate $(objpfx)tst-fopenloc-cmp.out and
3267 $(objpfx)tst-fopenloc-mem.out targets.
3268 (tests): Update dependencies.
3269 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3270 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3271 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3272 (tst-rxspencer-no-utf8-ARGS): New variable.
3273 (tst-rxspencer-no-utf8-ENV): Likewise.
3274 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3275 instead of $(objpfx)tst-rxspencer-mem.
3276 ($(objpfx)tst-rxspencer-mem): Change target to
3277 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3278 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3279 * posix/tst-rxspencer-no-utf8.c: New file.
3280
6e89caf1
JM
3281 * elf/Makefile ($(objpfx)order.out): Remove rule.
3282 [$(run-built-tests) = yes] (tests): Depend on
3283 $(objpfx)order-cmp.out.
3284 ($(objpfx)order-cmp.out): New rule.
3285 [$(run-built-tests) = yes] (tests): Depend on
3286 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3287 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3288 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3289 $(objpfx)tst-array5-static-cmp.out.
3290 ($(objpfx)tst-array1.out): Remove rule.
3291 ($(objpfx)tst-array1-cmp.out): New rule.
3292 ($(objpfx)tst-array1-static.out): Remove rule.
3293 ($(objpfx)tst-array1-static-cmp.out): New rule.
3294 ($(objpfx)tst-array2.out): Remove rule.
3295 ($(objpfx)tst-array2-cmp.out): New rule.
3296 ($(objpfx)tst-array3.out): Remove rule.
3297 ($(objpfx)tst-array3-cmp.out): New rule.
3298 ($(objpfx)tst-array4.out): Remove rule.
3299 ($(objpfx)tst-array4-cmp.out): New rule.
3300 ($(objpfx)tst-array5.out): Remove rule.
3301 ($(objpfx)tst-array5-cmp.out): New rule.
3302 ($(objpfx)tst-array5-static.out): Remove rule.
3303 ($(objpfx)tst-array5-static-cmp.out): New rule.
3304 [$(run-built-tests) = yes] (tests): Depend on
3305 $(objpfx)order2-cmp.out.
3306 ($(objpfx)order2.out): Remove rule.
3307 ($(objpfx)order2-cmp.out): New rule.
3308 ($(objpfx)tst-initorder.out): Remove rule.
3309 [$(run-built-tests) = yes] (tests): Depend on
3310 $(objpfx)tst-initorder-cmp.out.
3311 ($(objpfx)tst-initorder-cmp.out): New rule.
3312 ($(objpfx)tst-initorder2.out): Remove rule.
3313 [$(run-built-tests) = yes] (tests): Depend on
3314 $(objpfx)tst-initorder2-cmp.out.
3315 ($(objpfx)tst-initorder2-cmp.out): New rule.
3316 [$(run-built-tests) = yes] (tests): Depend on
3317 $(objpfx)tst-unused-dep-cmp.out.
3318 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3319 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3320 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3321 on $(objpfx)tst-setvbuf1-cmp.out.
3322 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3323 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3324 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3325 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3326 ($(objpfx)tst-svc.out): Remove rule.
3327 ($(objpfx)tst-svc-cmp.out): New rule.
3328
ed9a38e2
JM
33292014-02-13 Joseph Myers <joseph@codesourcery.com>
3330
3331 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3332 * ctype/ctype.h [__USE_MISC]: Likewise.
3333 * dirent/dirent.h [__USE_MISC]: Likewise.
3334 * grp/grp.h [__USE_MISC]: Likewise.
3335 * io/fcntl.h [__USE_MISC]: Likewise.
3336 * io/sys/stat.h [__USE_MISC]: Likewise.
3337 * libio/stdio.h [__USE_MISC]: Likewise.
3338 * posix/unistd.h [__USE_MISC]: Likewise.
3339 * pwd/pwd.h [__USE_MISC]: Likewise.
3340 * stdlib.h [__USE_MISC]: Likewise.
3341 * string/bits/string2.h [__USE_MISC]: Likewise.
3342 * string/string.h [__USE_MISC]: Likewise.
3343 * time/time.h [__USE_MISC]: Likewise.
3344
d6680619
AS
33452014-02-13 Andreas Schwab <schwab@suse.de>
3346
3347 [BZ #16574]
3348 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3349 second answer buffer if it was separately allocated.
3350
ace614b8
JM
33512014-02-12 Joseph Myers <joseph@codesourcery.com>
3352
743151ae
JM
3353 * sysdeps/mips/math-tests.h: Include <features.h>.
3354 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3355 (ROUNDING_TESTS_long_double): Do not define.
3356 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3357 (EXCEPTION_TESTS_long_double): Likewise.
3358 * sysdeps/mips/mips64/libm-test-ulps: Update.
3359
498afc54
JM
3360 * include/features.h (__USE_BSD): Remove macro definitions.
3361 (__USE_SVID): Likewise.
3362 (_BSD_SOURCE): Likewise.
3363 (_SVID_SOURCE): Likewise.
3364 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3365 from definition of _DEFAULT_SOURCE.
3366 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3367 [_DEFAULT_SOURCE].
3368 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3369 * bits/mman.h [__USE_BSD]: Likewise.
3370 * bits/termios.h [__USE_BSD]: Likewise.
3371 * bits/waitstatus.h [__USE_BSD]: Likewise.
3372 * ctype/ctype.h [__USE_SVID]: Likewise.
3373 * dirent/dirent.h [__USE_BSD]: Likewise.
3374 * grp/grp.h [__USE_SVID]: Likewise.
3375 [__USE_BSD]: Likewise.
3376 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3377 * io/fcntl.h [__USE_BSD]: Likewise.
3378 * io/ftw.h [__USE_BSD]: Likewise.
3379 * io/sys/stat.h [__USE_BSD]: Likewise.
3380 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3381 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3382 * libio/stdio.h [__USE_SVID]: Likewise.
3383 [__USE_BSD]: Likewise.
3384 * math/math.h [__USE_SVID]: Likewise.
3385 [__USE_BSD]: Likewise.
3386 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3387 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3388 * misc/search.h [__USE_SVID]: Likewise.
3389 * misc/sys/mman.h [__USE_BSD]: Likewise.
3390 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3391 * misc/sys/uio.h [__USE_BSD]: Likewise.
3392 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3393 * posix/glob.h [__USE_BSD]: Likewise.
3394 * posix/regex.h [__USE_BSD]: Likewise.
3395 * posix/sys/types.h [__USE_BSD]: Likewise.
3396 [__USE_SVID]: Likewise.
3397 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3398 * posix/sys/wait.h [__USE_BSD]: Likewise.
3399 [__USE_SVID]: Likewise.
3400 * posix/unistd.h [__USE_BSD]: Likewise.
3401 [__USE_SVID]: Likewise.
3402 * pwd/pwd.h [__USE_SVID]: Likewise.
3403 * resolv/netdb.h [__USE_BSD]: Likewise.
3404 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3405 * signal/signal.h [__USE_BSD]: Likewise.
3406 [__USE_SVID]: Likewise.
3407 * socket/sys/socket.h [__USE_BSD]: Likewise.
3408 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3409 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3410 [__USE_SVID]: Likewise.
3411 * string/bits/string2.h [__USE_BSD]: Likewise.
3412 [__USE_SVID]: Likewise.
3413 * string/bits/string3.h [__USE_BSD]: Likewise.
3414 * string/endian.h [__USE_BSD]: Likewise.
3415 * string/string.h [__USE_SVID]: Likewise.
3416 [__USE_BSD]: Likewise.
3417 * string/strings.h [__USE_BSD]: Likewise.
3418 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3419 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3420 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3421 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3422 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3423 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3424 Likewise.
3425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3426 Likewise.
3427 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3428 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3429 Likewise.
3430 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3431 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3432 Likewise.
3433 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3434 Likewise.
3435 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3436 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3437 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3438 Likewise.
3439 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3440 Likewise.
3441 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3442 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3443 * termios/termios.h [__USE_BSD]: Likewise.
3444 * time/sys/time.h [__USE_BSD]: Likewise.
3445 * time/time.h [__USE_BSD]: Likewise.
3446 [__USE_SVID]: Likewise.
3447
dd7b064c
JM
3448 * Makefile (subdir_targets): Remove subdir_lint.out.
3449
a2c4c199
JM
3450 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3451 (do-tst-printf): Likewise.
3452 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3453 $(objpfx)tst-printf.out.
3454
8756f740
JM
3455 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3456
1b6dd3f1
JM
3457 * Makerules (check-abi-%): Change target to
3458 $(objpfx)check-abi-%.out.
3459 (check-abi target): Update dependencies.
3460 (check-abi-pattern variable): Redirect output of diff to $@.
3461 (check-abi variable): Likewise.
3462 * elf/Makefile (check-abi): Update dependencies.
3463
ace614b8
JM
3464 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3465 unused.
3466 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3467 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3468 subnormal range.
3469 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3470 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3471 value has largest subnormal exponent.
3472 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3473 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3474 * sysdeps/aarch64/soft-fp/sfp-machine.h
3475 (_FP_TININESS_AFTER_ROUNDING): New macro.
3476 * sysdeps/alpha/soft-fp/sfp-machine.h
3477 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3478 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3479 Likewise.
3480 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3481 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3482 * sysdeps/mips/soft-fp/sfp-machine.h
3483 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3484 * sysdeps/powerpc/soft-fp/sfp-machine.h
3485 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3486 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3487 Likewise.
3488 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3489 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3490 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3491 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3492 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3493 Likewise.
3494
fbfdf9cb
DAS
34952014-02-12 Dylan Alex Simon <dylan@dylex.net>
3496
3497 [BZ #16545]
3498 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3499 model 1.
3500
68b7efaa
RH
35012014-02-12 Richard Henderson <rth@redhat.com>
3502
c70a4b1d 3503 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3504 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3505 * sysdeps/unix/sysv/linux/alpha: Move directory from
3506 ports/sysdeps/unix/sysv/linux/alpha.
3507 * README: Update listing for alpha-*-linux-gnu.
3508
cb4a2928
JM
35092014-02-11 Joseph Myers <joseph@codesourcery.com>
3510
c941736c
JM
3511 * include/features.h: Update comment documenting feature test
3512 macros.
3513 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3514 _DEFAULT_SOURCE.
3515 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3516 (_SVID_SOURCE): Likewise.
3517 (_DEFAULT_SOURCE): Update description of default features.
3518 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3519 with _GNU_SOURCE.
3520 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3521 (S_ISVTX): Likewise.
3522 * manual/math.texi (Mathematical Constants): Likewise.
3523 * manual/signal.texi (Interrupted Primitives): Likewise.
3524 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3525 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3526 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3527 Don't refer to _SVID_SOURCE in warning text.
3528
e8d8d7ec
JM
3529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3530
cb4a2928
JM
3531 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3532 already defined.
3533 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3534 * sysdeps/mips/dl-lookup.c: Remove.
3535 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3536
7e6424e3
AK
35372014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3538
3539 [BZ #16447]
3540 * math/auto-libm-test-in: Add testcase for expl.
3541 * math/auto-libm-test-out: Regenerate.
3542 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3543 calculation of unsafe.
3544 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3545
75eff3fe
MS
35462014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3547
3548 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3549 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3550 ports/sysdeps/unix/sysv/linux/aarch64.
3551 * README: Update listing for aarch64*-*-linux-gnu.
3552
d35f1e80
WN
35532014-02-11 Will Newton <will.newton@linaro.org>
3554
3555 * manual/probes.texi (Mathematical Function Probes): Use
3556 "triggered" instead of "hit".
3557
7b3436d4
WN
35582014-02-11 Will Newton <will.newton@linaro.org>
3559
3560 * manual/probes.texi (Internal Probes): Add documentation
3561 of setjmp, longjmp and longjmp_target probes.
3562
b4f12ca3
WN
35632014-02-11 Will Newton <will.newton@linaro.org>
3564
3565 * include/stap-probe.h: Add comment about probe argument
3566 format.
3567
c13a72b7
WN
35682014-02-11 Will Newton <will.newton@linaro.org>
3569
3570 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3571 definition. (tr_where, tr_freehook, tr_mallochook,
3572 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3573
195b8165
DM
35742014-02-11 David S. Miller <davem@davemloft.net>
3575
3576 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3577 processing int_tests.
3578
2ad7600b
JM
35792014-02-10 Joseph Myers <joseph@codesourcery.com>
3580
3581 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3582 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3583 * sysdeps/unix/sysv/linux/mips: Move directory from
3584 ports/sysdeps/unix/sysv/linux/mips.
3585 * README: Update listing for mips-*-linux-gnu and
3586 mips64-*-linux-gnu.
3587
73588a72
AS
35882014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3589
3590 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3591 * sysdeps/unix/sysv/linux/m68k: Move directory from
3592 ports/sysdeps/unix/sysv/linux/m68k.
3593 * README: Update listing for m68k-*-linux-gnu.
3594
4372980f
CM
35952014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3596
3597 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3598 * sysdeps/unix/sysv/linux/generic: Move directory from
3599 ports/sysdeps/unix/sysv/linux/generic.
3600 * sysdeps/unix/sysv/linux/tile: Move directory from
3601 ports/sysdeps/unix/sysv/linux/tile.
3602 * README: Update listing for tile*-*-linux-gnu.
3603
a1ffb40e
OB
36042014-02-10 Ondřej Bílka <neleai@seznam.cz>
3605
3606 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3607 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3608 * catgets/open_catalog.c (__open_catalog): Likewise.
3609 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3610 * debug/confstr_chk.c: Likewise.
3611 * debug/fread_chk.c (__fread_chk): Likewise.
3612 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3613 * debug/getgroups_chk.c: Likewise.
3614 * debug/mbsnrtowcs_chk.c: Likewise.
3615 * debug/mbsrtowcs_chk.c: Likewise.
3616 * debug/mbstowcs_chk.c: Likewise.
3617 * debug/memcpy_chk.c: Likewise.
3618 * debug/memmove_chk.c: Likewise.
3619 * debug/mempcpy_chk.c: Likewise.
3620 * debug/memset_chk.c: Likewise.
3621 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3622 * debug/strcat_chk.c (__strcat_chk): Likewise.
3623 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3624 * debug/strncat_chk.c (__strncat_chk): Likewise.
3625 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3626 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3627 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3628 * debug/wcpncpy_chk.c: Likewise.
3629 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3630 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3631 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3632 * debug/wcsncpy_chk.c: Likewise.
3633 * debug/wcsnrtombs_chk.c: Likewise.
3634 * debug/wcsrtombs_chk.c: Likewise.
3635 * debug/wcstombs_chk.c: Likewise.
3636 * debug/wmemcpy_chk.c: Likewise.
3637 * debug/wmemmove_chk.c: Likewise.
3638 * debug/wmempcpy_chk.c: Likewise.
3639 * debug/wmemset_chk.c: Likewise.
3640 * dirent/scandirat.c (SCANDIRAT): Likewise.
3641 * dlfcn/dladdr1.c (dladdr1): Likewise.
3642 * dlfcn/dladdr.c (dladdr): Likewise.
3643 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3644 * dlfcn/dlerror.c (__dlerror): Likewise.
3645 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3646 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3647 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3648 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3649 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3650 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3651 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3652 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3653 Likewise.
3654 * elf/dl-conflict.c: Likewise.
3655 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3656 * elf/dl-dst.h: Likewise.
3657 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3658 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3659 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3660 * elf/dl-init.c (call_init, _dl_init): Likewise.
3661 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3662 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3663 _dl_map_object_from_fd, open_verify, open_path,
3664 _dl_map_object): Likewise.
3665 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3666 Likewise.
3667 * elf/dl-minimal.c (__libc_memalign): Likewise.
3668 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3669 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3670 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3671 * elf/dl-sym.c (do_sym): Likewise.
3672 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3673 _dl_tls_get_addr_soft): Likewise.
3674 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3675 * elf/dl-writev.h (_dl_writev): Likewise.
3676 * elf/ldconfig.c (search_dir): Likewise.
3677 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3678 dl_main): Likewise.
3679 * elf/setup-vdso.h (setup_vdso): Likewise.
3680 * grp/compat-initgroups.c (compat_call): Likewise.
3681 * grp/fgetgrent.c (fgetgrent): Likewise.
3682 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3683 * grp/putgrent.c (putgrent): Likewise.
3684 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3685 Likewise.
3686 * hurd/hurdinit.c: Likewise.
3687 * iconvdata/8bit-gap.c (struct): Likewise.
3688 * iconvdata/ansi_x3.110.c : Likewise.
3689 * iconvdata/big5.c : Likewise.
3690 * iconvdata/big5hkscs.c : Likewise.
3691 * iconvdata/cp1255.c: Likewise.
3692 * iconvdata/cp1258.c : Likewise.
3693 * iconvdata/cp932.c : Likewise.
3694 * iconvdata/euc-cn.c: Likewise.
3695 * iconvdata/euc-jisx0213.c : Likewise.
3696 * iconvdata/euc-jp.c: Likewise.
3697 * iconvdata/euc-jp-ms.c : Likewise.
3698 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3699 * iconvdata/gb18030.c : Likewise.
3700 * iconvdata/gbbig5.c (const): Likewise.
3701 * iconvdata/gbgbk.c: Likewise.
3702 * iconvdata/gbk.c : Likewise.
3703 * iconvdata/ibm1364.c : Likewise.
3704 * iconvdata/ibm930.c : Likewise.
3705 * iconvdata/ibm932.c: Likewise.
3706 * iconvdata/ibm933.c : Likewise.
3707 * iconvdata/ibm935.c : Likewise.
3708 * iconvdata/ibm937.c : Likewise.
3709 * iconvdata/ibm939.c : Likewise.
3710 * iconvdata/ibm943.c: Likewise.
3711 * iconvdata/iso_11548-1.c: Likewise.
3712 * iconvdata/iso-2022-cn.c : Likewise.
3713 * iconvdata/iso-2022-cn-ext.c : Likewise.
3714 * iconvdata/iso-2022-jp-3.c: Likewise.
3715 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3716 * iconvdata/iso-2022-kr.c : Likewise.
3717 * iconvdata/iso646.c (gconv_end): Likewise.
3718 * iconvdata/iso_6937-2.c : Likewise.
3719 * iconvdata/iso_6937.c : Likewise.
3720 * iconvdata/iso8859-1.c: Likewise.
3721 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3722 * iconvdata/shift_jisx0213.c : Likewise.
3723 * iconvdata/sjis.c : Likewise.
3724 * iconvdata/t.61.c : Likewise.
3725 * iconvdata/tcvn5712-1.c : Likewise.
3726 * iconvdata/tscii.c: Likewise.
3727 * iconvdata/uhc.c : Likewise.
3728 * iconvdata/unicode.c (gconv_end): Likewise.
3729 * iconvdata/utf-16.c (gconv_end): Likewise.
3730 * iconvdata/utf-32.c (gconv_end): Likewise.
3731 * iconvdata/utf-7.c (base64): Likewise.
3732 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3733 * iconv/gconv_close.c (__gconv_close): Likewise.
3734 * iconv/gconv_open.c (__gconv_open): Likewise.
3735 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3736 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3737 internal_ucs4le_loop_single, ucs4le_internal_loop,
3738 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3739 * iconv/iconv.c (iconv): Likewise.
3740 * iconv/iconv_close.c: Likewise.
3741 * iconv/loop.c (SINGLE): Likewise.
3742 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3743 * include/atomic.h: Likewise.
3744 * inet/inet6_option.c (option_alloc): Likewise.
3745 * intl/bindtextdom.c (set_binding_values): Likewise.
3746 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3747 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3748 * intl/localealias.c (read_alias_file): Likewise.
3749 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3750 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3751 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3752 * libio/fmemopen.c (fmemopen): Likewise.
3753 * libio/iofgets.c (_IO_fgets): Likewise.
3754 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3755 * libio/iofgetws.c (fgetws): Likewise.
3756 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3757 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3758 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3759 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3760 * locale/findlocale.c (_nl_find_locale): Likewise.
3761 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3762 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3763 Likewise.
3764 * locale/setlocale.c (setlocale): Likewise.
3765 * login/programs/pt_chown.c (main): Likewise.
3766 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3767 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3768 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3769 mmap, mmap64, mremap, munmap): Likewise.
3770 * math/e_exp2l.c: Likewise.
3771 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3772 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3773 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3774 * math/s_catan.c (__catan): Likewise.
3775 * math/s_catanf.c (__catanf): Likewise.
3776 * math/s_catanh.c (__catanh): Likewise.
3777 * math/s_catanhf.c (__catanhf): Likewise.
3778 * math/s_catanhl.c (__catanhl): Likewise.
3779 * math/s_catanl.c (__catanl): Likewise.
3780 * math/s_ccosh.c (__ccosh): Likewise.
3781 * math/s_ccoshf.c (__ccoshf): Likewise.
3782 * math/s_ccoshl.c (__ccoshl): Likewise.
3783 * math/s_cexp.c (__cexp): Likewise.
3784 * math/s_cexpf.c (__cexpf): Likewise.
3785 * math/s_cexpl.c (__cexpl): Likewise.
3786 * math/s_clog10.c (__clog10): Likewise.
3787 * math/s_clog10f.c (__clog10f): Likewise.
3788 * math/s_clog10l.c (__clog10l): Likewise.
3789 * math/s_clog.c (__clog): Likewise.
3790 * math/s_clogf.c (__clogf): Likewise.
3791 * math/s_clogl.c (__clogl): Likewise.
3792 * math/s_csin.c (__csin): Likewise.
3793 * math/s_csinf.c (__csinf): Likewise.
3794 * math/s_csinh.c (__csinh): Likewise.
3795 * math/s_csinhf.c (__csinhf): Likewise.
3796 * math/s_csinhl.c (__csinhl): Likewise.
3797 * math/s_csinl.c (__csinl): Likewise.
3798 * math/s_csqrt.c (__csqrt): Likewise.
3799 * math/s_csqrtf.c (__csqrtf): Likewise.
3800 * math/s_csqrtl.c (__csqrtl): Likewise.
3801 * math/s_ctan.c (__ctan): Likewise.
3802 * math/s_ctanf.c (__ctanf): Likewise.
3803 * math/s_ctanh.c (__ctanh): Likewise.
3804 * math/s_ctanhf.c (__ctanhf): Likewise.
3805 * math/s_ctanhl.c (__ctanhl): Likewise.
3806 * math/s_ctanl.c (__ctanl): Likewise.
3807 * math/w_pow.c: Likewise.
3808 * math/w_powf.c: Likewise.
3809 * math/w_powl.c: Likewise.
3810 * math/w_scalb.c (sysv_scalb): Likewise.
3811 * math/w_scalbf.c (sysv_scalbf): Likewise.
3812 * math/w_scalbl.c (sysv_scalbl): Likewise.
3813 * misc/error.c (error_tail): Likewise.
3814 * misc/pselect.c (__pselect): Likewise.
3815 * nis/nis_callback.c (__nis_create_callback): Likewise.
3816 * nis/nis_call.c (__nisfind_server): Likewise.
3817 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3818 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3819 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3820 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3821 * nis/nis_lookup.c (nis_lookup): Likewise.
3822 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3823 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3824 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3825 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3826 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3827 internal_getgrgid_r): Likewise.
3828 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3829 Likewise.
3830 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3831 internal_getpwuid_r): Likewise.
3832 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3833 internal_getspnam_r): Likewise.
3834 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3835 _nss_nis_getaliasbyname_r): Likewise.
3836 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3837 _nss_nis_getntohost_r): Likewise.
3838 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3839 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3840 Likewise.
3841 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3842 internal_nis_gethostent_r, internal_gethostbyname2_r,
3843 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3844 _nss_nis_gethostbyname4_r): Likewise.
3845 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3846 initgroups_netid): Likewise.
3847 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3848 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3849 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3850 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3851 _nss_nis_getprotobynumber_r): Likewise.
3852 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3853 _nss_nis_getsecretkey): Likewise.
3854 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3855 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3856 Likewise.
3857 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3858 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3859 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3860 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3861 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3862 _nss_nis_getspnam_r): Likewise.
3863 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3864 Likewise.
3865 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3866 _nss_nisplus_getntohost_r): Likewise.
3867 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3868 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3869 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3870 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3871 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3872 Likewise.
3873 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3874 _nss_nisplus_getnetbyaddr_r): Likewise.
3875 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3876 _nss_nisplus_getprotobynumber_r): Likewise.
3877 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3878 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3879 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3880 Likewise.
3881 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3882 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3883 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3884 _nss_nisplus_getspnam_r): Likewise.
3885 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3886 * nscd/aicache.c (addhstaiX): Likewise.
3887 * nscd/cache.c (cache_search, prune_cache): Likewise.
3888 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3889 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3890 * nscd/grpcache.c (addgrbyX): Likewise.
3891 * nscd/hstcache.c (addhstbyX): Likewise.
3892 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3893 * nscd/mem.c (gc, mempool_alloc): Likewise.
3894 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3895 Likewise.
3896 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3897 Likewise.
3898 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3899 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3900 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3901 Likewise.
3902 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3903 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3904 * nscd/nscd_helper.c (__readvall, open_socket,
3905 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3906 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3907 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3908 * nscd/pwdcache.c (addpwbyX): Likewise.
3909 * nscd/selinux.c (preserve_capabilities): Likewise.
3910 * nscd/servicescache.c (addservbyX): Likewise.
3911 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3912 * posix/fnmatch.c (fnmatch): Likewise.
3913 * posix/getopt.c (_getopt_internal_r): Likewise.
3914 * posix/glob.c (glob, glob_in_dir): Likewise.
3915 * posix/wordexp.c (exec_comm_child): Likewise.
3916 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3917 gaih_getanswer_slice): Likewise.
3918 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3919 * resolv/res_init.c: Likewise.
3920 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3921 * resolv/res_query.c (__libc_res_nquery): Likewise.
3922 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3923 Likewise.
3924 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3925 * stdio-common/perror.c (perror): Likewise.
3926 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3927 * stdio-common/tmpnam.c (tmpnam): Likewise.
3928 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3929 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3930 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3931 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3932 * stdlib/putenv.c (putenv): Likewise.
3933 * stdlib/setenv.c (__add_to_environ): Likewise.
3934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3935 * stdlib/strtol_l.c (INTERNAL): Likewise.
3936 * string/memmem.c (memmem): Likewise.
3937 * string/strerror.c (strerror): Likewise.
3938 * string/strnlen.c (__strnlen): Likewise.
3939 * string/test-memmem.c (simple_memmem): Likewise.
3940 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3941 * sunrpc/pm_getport.c (__get_socket): Likewise.
3942 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3943 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3944 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3945 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3946 Likewise.
3947 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3949 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3950 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3951 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3952 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3953 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3954 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3955 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3956 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3957 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3958 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3960 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3961 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3962 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3963 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3964 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3965 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3966 Likewise.
3967 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3968 Likewise.
3969 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3970 Likewise.
3971 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3972 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3974 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3975 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3976 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3977 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3978 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3979 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3985 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3986 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3987 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3988 Likewise.
3989 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3990 Likewise.
3991 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3992 Likewise.
3993 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3995 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3996 Likewise.
3997 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3998 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3999 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4000 * sysdeps/posix/sleep.c: Likewise.
4001 * sysdeps/posix/tempname.c: Likewise.
4002 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4003 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4004 Likewise.
4005 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4006 elf_machine_rela): Likewise.
4007 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4009 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4010 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4011 Likewise.
4012 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4013 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4014 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4015 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4016 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4017 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4018 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4019 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4020 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4021 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4023 elf_machine_lazy_rel): Likewise.
4024 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4026 elf_machine_lazy_rel): Likewise.
4027 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4028 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4029 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4030 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4031 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4032 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4033 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4035 Likewise.
4036 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4037 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4038 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4039 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4040 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4041 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4042 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4043 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4044 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4045 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4046 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4047 Likewise.
4048 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4049 (__posix_fallocate64_l64): Likewise.
4050 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4051 (posix_fallocate): Likewise.
4052 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4053 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4054 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4055 getifaddrs_internal): Likewise.
4056 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4057 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4058 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4059 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4060 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4061 (__posix_fallocate64_l64): Likewise.
4062 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4063 Likewise.
4064 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4065 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4066 Likewise.
4067 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4068 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4069 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4071 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4072 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4073 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4074 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4075 Likewise.
4076 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4077 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4078 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4079 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4080 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4081 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4082 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4083 Likewise.
4084 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4085 (posix_fallocate): Likewise.
4086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4087 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4088 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4089 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4090 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4091 Likewise.
4092 * time/asctime.c (asctime_internal): Likewise.
4093 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4094 * time/tzset.c (__tzset_parse_tz): Likewise.
4095 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4096 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4097 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4098 * wcsmbs/wcsmbsload.h: Likewise.
4099
f3d338c9
OB
41002014-02-10 Ondřej Bílka <neleai@seznam.cz>
4101
4102 [BZ #15894]
4103 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4104
bdfe308a
OB
41052014-02-10 Ondřej Bílka <neleai@seznam.cz>
4106
4107 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4108 arena_get2): Remove THREAD_STATS conditionals.
4109 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4110 __malloc_stats, int): Likewise.
4111
d674667c
MF
41122014-02-08 Mike Frysinger <vapier@gentoo.org>
4113
4114 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4115 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4116
6349768c
MF
41172014-02-08 Mike Frysinger <vapier@gentoo.org>
4118
4119 * manual/setjmp.texi: Fix typos/grammar errors.
4120
0b7c7473
MF
41212014-02-08 Mike Frysinger <vapier@gentoo.org>
4122
4123 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4124 Only return early when n is <= 0. Delete unused return statement.
4125
ac8cc9e3
MF
41262014-02-08 Mike Frysinger <vapier@gentoo.org>
4127
4128 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4129 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4130 * debug/tst-longjmp_chk3.c: New file.
4131
c5bb8e23
MF
41322014-02-08 Mike Frysinger <vapier@gentoo.org>
4133
4134 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4135 (test_main): Replace code with set_fortify_handler call.
4136 * debug/test-strcpy_chk.c: Likewise.
4137 * debug/tst-chk1.c: Likewise.
4138 * debug/tst-longjmp_chk.c: Likewise.
4139 * test-skeleton.c: Include fcntl.h & paths.h
4140 (set_fortify_handler): Define.
4141
10444e42
MF
41422014-02-08 Mike Frysinger <vapier@gentoo.org>
4143
4144 * debug/tst-longjmp_chk.c: Add header comment and include
4145 ../test-skeleton.c.
4146 (do_test): Mark static.
4147 (TEST_FUNCTION): Define.
4148
1e805e8d
MF
41492014-02-08 Mike Frysinger <vapier@gentoo.org>
4150
4151 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4152 (IP_PMTUDISC_INTERFACE): Likewise.
4153 (IP_MULTICAST_IF): Likewise.
4154 (IP_MULTICAST_TTL): Likewise.
4155 (IP_MULTICAST_LOOP): Likewise.
4156 (IP_ADD_MEMBERSHIP): Likewise.
4157 (IP_DROP_MEMBERSHIP): Likewise.
4158 (IP_UNBLOCK_SOURCE): Likewise.
4159 (IP_BLOCK_SOURCE): Likewise.
4160 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4161 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4162 (IP_MSFILTER): Likewise.
4163 (MCAST_JOIN_GROUP): Likewise.
4164 (MCAST_BLOCK_SOURCE): Likewise.
4165 (MCAST_UNBLOCK_SOURCE): Likewise.
4166 (MCAST_LEAVE_GROUP): Likewise.
4167 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4168 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4169 (MCAST_MSFILTER): Likewise.
4170 (IP_MULTICAST_ALL): Likewise.
4171 (IP_UNICAST_IF): Likewise.
4172
73f79bb7
MF
41732014-02-08 Mike Frysinger <vapier@gentoo.org>
4174
4175 * timezone/Makefile: Delete $(have-ksh) check.
4176 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4177 * timezone/tzselect.ksh: Add +x mode bits.
4178
8da79b60
MF
41792014-02-08 Mike Frysinger <vapier@gentoo.org>
4180
4181 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4182 (ANON_INODE_FS_MAGIC): Likewise.
4183 (BDEVFS_MAGIC): Likewise.
4184 (BINFMTFS_MAGIC): Likewise.
4185 (BTRFS_TEST_MAGIC): Likewise.
4186 (CRAMFS_MAGIC_WEND): Likewise.
4187 (DEBUGFS_MAGIC): Likewise.
4188 (ECRYPTFS_SUPER_MAGIC): Likewise.
4189 (EXT3_SUPER_MAGIC): Likewise.
4190 (EXT4_SUPER_MAGIC): Likewise.
4191 (FUTEXFS_SUPER_MAGIC): Likewise.
4192 (HOSTFS_SUPER_MAGIC): Likewise.
4193 (HUGETLBFS_MAGIC): Likewise.
4194 (MINIX3_SUPER_MAGIC): Likewise.
4195 (MTD_INODE_FS_MAGIC): Likewise.
4196 (NILFS_SUPER_MAGIC): Likewise.
4197 (OPENPROM_SUPER_MAGIC): Likewise.
4198 (PIPEFS_MAGIC): Likewise.
4199 (PSTOREFS_MAGIC): Likewise.
4200 (QNX6_SUPER_MAGIC): Likewise.
4201 (RAMFS_MAGIC): Likewise.
4202 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4203 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4204 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4205 (SECURITYFS_MAGIC): Likewise.
4206 (SELINUX_MAGIC): Likewise.
4207 (SMACK_MAGIC): Likewise.
4208 (SOCKFS_MAGIC): Likewise.
4209 (SQUASHFS_MAGIC): Likewise.
4210 (STACK_END_MAGIC): Likewise.
4211 (TMPFS_MAGIC): Likewise.
4212 (USBDEVICE_SUPER_MAGIC): Likewise.
4213 (V9FS_MAGIC): Likewise.
4214 (XENFS_SUPER_MAGIC): Likewise.
4215 (CRAMFS_MAGIC): Fix typo in comment.
4216 (EXT2_SUPER_MAGIC): Update comment.
4217 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4218
464263cc
JM
42192014-02-08 Joseph Myers <joseph@codesourcery.com>
4220
c6bfe5c4
JM
4221 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4222 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4223 * sysdeps/unix/sysv/linux/arm: Move directory from
4224 ports/sysdeps/unix/sysv/linux/arm.
4225 * README: Update listing for arm-*-linux-gnueabi.
4226
464263cc
JM
4227 * README: Remove mention of am33.
4228
32749f6c
RM
42292014-02-07 Roland McGrath <roland@hack.frob.com>
4230
4231 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4232 than the comma operator, to avoid "rhs of comma has no effect"
4233 compiler warnings.
4234 (__sigfillset, __sigandset, __sigorset): Likewise.
4235 * include/signal.h (__sigemptyset): Likewise.
4236 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4237
d5b396c1
AM
42382014-02-07 Allan McRae <allan@archlinux.org>
4239
4240 * version.h (RELEASE): Set to "development".
4241 (VERSION): Set to "2.19.90"
4242 * NEWS: Add 2.20 section.
4243
3bfff2ed
CD
42442014-02-06 Carlos O'Donell <carlos@redhat.com>
4245
4246 [BZ #16529]
4247 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4248
ee7cc385
SP
42492014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4250
4251 * manual/contrib.texi: Update entry for Carlos O'Donell,
4252 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4253
f877c4f2
CD
42542014-02-05 Carlos O'Donell <carlos@rehdat.com>
4255
27e839f6
CD
4256 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4257
f877c4f2
CD
4258 * sysdeps/unix/sysv/linux/kernel-features.h
4259 [__LINUX_KERNEL_VERSION >= 0x020621]
4260 (__ASSUME_PROC_PID_TASK_COMM): Define.
4261
68159946
SP
42622014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4263
ba17cdbd
SP
4264 [BZ #16398]
4265 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4266 conversion when destination buffer does not have enough space.
4267 * libio/tst-ftell-partial-wide.c: New test case.
4268 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4269
68159946
SP
4270 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4271 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4272 Leonard and Allan McRae.
4273
2b528732
DM
42742014-02-04 David S. Miller <davem@davemloft.net>
4275
4276 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4277 32-bit.
4278
0ff82463
AZ
42792014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4280
c01603f7
AZ
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4282 file
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4284 New file
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4286 file.
4287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4288 file.
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4290 New file.
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4292 file.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4294 file.
4295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4296 New file.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4298 New file.
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4300 New file.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4302 New file.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4304 New file.
4305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4306 New file.
4307
43082014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4309
0ff82463
AZ
4310 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4311 * shlib-versions: Likewise.
4312
1695c773
AZ
43132014-02-04 Roland McGrath <roland@hack.frob.com>
4314 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4315
4316 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4317 (abilist-pattern): New variable, set to %-le.abilist.
4318
4319 * Makerules (abilist-pattern): New variable.
4320 (vpath): Use $(abilist-pattern) in place of %.abilist.
4321 (check-abi-% pattern rule): Likewise.
4322 (check-abi, update-abi): Likewise.
4323
6c0ce4b4
EW
43242014-02-04 Eric Wong <normalperson@yhbt.net>
4325
4326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4327
dc98b8f5
EW
43282014-02-04 Eric Wong <normalperson@yhbt.net>
4329
4330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4331
481e3524
CD
43322014-02-03 Carlos O'Donell <carlos@redhat.com>
4333
4334 * manual/startup.texi: Add next, previous, and top entries for
4335 the `Program Arguments' and `Environment Variables' nodes.
4336
375592d3
AO
43372014-02-03 Alexandre Oliva <aoliva@redhat.com>
4338
4339 * manual/macros.texi: Add comments before MTASC-safety macros.
4340
f54838ba
AO
4341 * manual/users.texi: Document MTASC-safety properties.
4342
909e12ad
AO
4343 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4344 pthread_getspecific, pthread_setspecific): Format with
4345 @deftypefun, and add @safety note.
4346 * manual/signal.texi: Move comments that analyze the above
4347 functions to their home place.
4348
fd3daba4
AM
43492014-02-03 Allan McRae <allan@archlinux.org>
4350
4351 * po/sl.po: Update Slovenian translation from translation project.
4352
597636d7
AO
43532014-02-02 Alexandre Oliva <aoliva@redhat.com>
4354
4355 * manual/time.texi (timegm): Add missing blank after @c.
4356 Reported by Joseph Myers <joseph@codesourcery.com>.
4357
ee196e3c
AO
43582014-02-01 Alexandre Oliva <aoliva@redhat.com>
4359
4360 * manual/check-safety.sh: New.
4361 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4362
f8d529d5
AO
4363 * manual/terminal.texi: Document MTASC-safety properties.
4364
de55fdf4
AO
4365 * manual/filesys.texi: Document MTASC-safety properties.
4366
c3299c08
AO
4367 * manual/errno.texi: Document MTASC-safety properties.
4368
06e90b14
AO
4369 * manual/intro.texi: Document safety identifiers and
4370 conditionals.
4371
1acd4371
AO
4372 * manual/string.texi (wcstok): Fix prototype.
4373 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4374
23e5b8cb
AO
4375 * manual/time.texi: Document MTASC-safety properties.
4376
11087373
AO
4377 * manual/string.texi: Document MTASC-safety properties.
4378
5da2c93d
AO
4379 * manual/threads.texi: Document MTASC-safety properties.
4380
171e9210
AO
4381 * manual/stdio.texi: Document MTASC-safety properties.
4382
d9e02532
AO
4383 * manual/syslog.texi: Document MTASC-safety properties.
4384
6af8bab7
AO
4385 * manual/sysinfo.texi: Document MTASC-safety properties.
4386
663b02d7
AO
4387 * manual/startup.texi: Document MTASC-safety properties.
4388
973f180b
AO
4389 * manual/socket.texi: Document MTASC-safety properties.
4390
8f3c25c8
AO
4391 * manual/signal.texi: Document MTASC-safety properties.
4392
542210fb
AO
43932014-01-31 Alexandre Oliva <aoliva@redhat.com>
4394
4395 * manual/setjmp.texi: Document MTASC-safety properties.
4396
433c45a2
AO
4397 * manual/search.texi: Document MTASC-safety properties.
4398
c8ce789c
AO
4399 * manual/resource.texi: Document MTASC-safety properties.
4400
19f5d29c
AO
4401 * manual/process.texi: Document MTASC-safety properties.
4402
e2dfb7f4
AO
4403 * manual/platform.texi: Document MTASC-safety properties.
4404
8c1413f5
AO
4405 * manual/pipe.texi: Document MTASC-safety properties.
4406
03483ada
AO
4407 * manual/pattern.texi: Document MTASC-safety properties.
4408
29e7e2df
AO
4409 * manual/message.texi: Document MTASC-safety properties.
4410
9f529d7c
AO
4411 [BZ #12751]
4412 * manual/memory.texi: Document MTASC-safety properties.
4413
27aaa791
AO
4414 * manual/math.texi: Document MTASC-safety properties.
4415
f2d58726
AO
4416 * manual/locale.texi: Document MTASC-safety properties.
4417
2cc3615c
AO
4418 * manual/llio.texi: Document MTASC-safety properties.
4419
d9f0ec97
AO
4420 * manual/libdl.texi: New.
4421
e7c4409a
AO
4422 * manual/lang.texi: Document MTASC-safety properties.
4423
27bdc63c
AO
4424 * manual/job.texi: Document MTASC-safety properties.
4425
a7b90ea9
AO
4426 * manual/getopt.texi: Document MTASC-safety properties.
4427
c49130e3
AO
4428 * manual/ctype.texi: Document MTASC-safety properties.
4429
0d23a5c1
MR
44302014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4431
4432 [BZ #16046]
4433 * csu/libc-tls.c (static_map): Remove variable.
4434 (__libc_setup_tls): Use main executable's link map for TLS data.
4435 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4436 casing for LM_ID_BASE and GL(dl_nns).
4437 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4438 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4439 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4440 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4441 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4442 member.
4443 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4444 l_phnum members.
4445
0037bb60
AO
44462014-01-30 Alexandre Oliva <aoliva@redhat.com>
4447
4448 * manual/debug.texi: Document MTASC-safety properties.
4449
409e00bd
L
44502014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4451
4452 [BZ #16510]
4453 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4454 of __x86_64__ when disabling x87 inline functions.
4455
86e60666
AO
44562014-01-29 Alexandre Oliva <aoliva@redhat.com>
4457
4458 * manual/charset.texi: Document MTASC-safety properties.
4459
76167637
AO
4460 * manual/crypt.texi: Document MTASC-safety properties.
4461
e567f2a0
AO
4462 * manual/conf.texi: Document MTASC-safety properties.
4463
b719dafd
AO
4464 * manual/arith.texi: Document MTASC-safety properties.
4465
4a16c662
AO
4466 * manual/argp.texi: Document MTASC-safety properties.
4467
0a57b83e
AO
4468 * manual/macros.texi: Introduce macros to document multi
4469 thread, asynchronous signal and asynchronous cancellation
4470 safety properties.
4471 * manual/intro.texi: Introduce the properties themselves.
4472
feab2397
KK
44732014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4474
4475 * sysdeps/sh/sh4/Makefile: New file.
4476
1c0d11bc
AS
44772014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4478
4479 * math/gen-libm-test.pl ($srcdir): New variable.
4480 ($auto_input): Use it.
4481
af37a8a3
SP
44822014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4483
d7b00f98
SP
4484 [BZ #16506]
4485 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4486 access beyond array bounds when parsing netgroups file.
4487
af37a8a3
SP
4488 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4489 the old buffer before realloc.
4490
0c00f062
AM
44912014-01-27 Allan McRae <allan@archlinux.org>
4492
4493 * po/fr.po: Update French translation from translation project.
4494
7d69a1b0
KK
44952014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4496
4497 * sysdeps/sh/libm-test-ulps: Regenerate.
4498
6e697ff7
DM
44992014-01-24 David S. Miller <davem@davemloft.net>
4500
4501 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4502
9cadb35c
KK
45032014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4504
4505 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4506 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4507
5d41dadf
SP
45082013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4509
4510 [BZ #16474]
4511 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4512 string pointers after reallocation.
4513
0bad441c
KK
45142014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4515
4516 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4517 __SH4A__ instead of __SH_FPU_ANY__.
4518
7007c661
KK
45192014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4520
4521 * sysdeps/sh/fpu_control.h: New file.
4522 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4523 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4524 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4525 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4526 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4527 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4528 * sysdeps/sh/sys/ucontext.h: Remove.
4529 * sysdeps/sh/sys: Remove directory.
4530
0f0c35e4
AK
45312014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4532
4533 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4534 s390/sys/ucontext.h.
4535 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4536 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4537
4959e284
L
45382014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4539
4540 [BZ #15605]
4541 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4542
d98720e0
AZ
45432014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4544
4545 [BZ#16431]
4546 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4547 Adjust the vDSO correctly for internal calls.
4548 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4549
91cbd0bc
AM
45502014-01-20 Allan McRae <allan@archlinux.org>
4551
4552 * po/ca.po: Update Catalan translation from translation project.
4553
7a02cfad
MF
45542014-01-16 Mike Frysinger <vapier@gentoo.org>
4555
4556 * sysdeps/s390/sotruss-lib.c: New file.
4557
736c304a
AZ
45582014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4559
4560 [BZ#16430]
6e077ee5 4561 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4562 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4563 local calls issues by not having a PLT stub required for IFUNC calls.
4564 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4565
94d0cea0
JM
45662014-01-16 Joseph Myers <joseph@codesourcery.com>
4567
4568 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4569 * math/test-fpucw-static.c: Likewise.
4570
980cb518
SP
45712013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4572
4573 [BZ #16453]
4574 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4575
2393fc01
AZ
45762014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4577
4578 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4579 implementation for powerpc.
4580
d359bcc2
OB
45812014-01-15 Ondřej Bílka <neleai@seznam.cz>
4582
4583 [BZ #14782]
4584 * sysdeps/posix/system.c (__libc_system): Do not enable
4585 asynchronous cancellation.
4586
7beb48cb
AK
45872014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4588
4589 [BZ #16427]
4590 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4591 handling only for numbers special also in the IEEE case.
4592
c20d5bf5
AK
45932014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4594
4595 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4596
e83bd4ee
AM
45972014-01-11 Allan McRae <allan@archlinux.org>
4598
76d0ea69
AM
4599 * po/bg.po: Update Bulgarian translation from translation project.
4600
e83bd4ee
AM
4601 * po/de.po: Update German translation from translation project.
4602
bc2ba20a
RM
46032014-01-10 Roland McGrath <roland@hack.frob.com>
4604
4605 * sysdeps/generic/gcc-compat.h: New file.
4606
649ecea2
SP
46072014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4608
4609 * benchtests/asin-inputs: Correct slow inputs.
4610 * benchtests/acos-inputs: Likewise.
4611
1b19c006
AM
46122014-01-10 Allan McRae <allan@archlinux.org>
4613
a46dab08
AM
4614 * po:sv.po: Update Swedish translation from translation project.
4615
421df74a
AM
4616 * po/vi.po: Update Vietnamese translation from translation project.
4617
d61c51a7
AM
4618 * po/eo.po: Update Esperanto translation from translation project.
4619
0339a319
AM
4620 * po/cs.po: Update Czech translation from translation project.
4621
94ad3e99
AM
4622 * po/nl.po: Update Dutch translation from translation project.
4623
e349ca71
AM
4624 * po/pl.po: Update Polish translation from translation project.
4625
ddf930c1
AM
4626 * po/ru.po: Update Russian translation from translation project.
4627
1b19c006
AM
4628 * po/uk.po: Update Ukrainian translation from translation project.
4629
9f236c49
BM
46302014-01-08 Brooks Moses <bmoses@google.com>
4631
4632 * elf/dl-load.c: Fix comment typo.
4633
cd6701cf
CD
46342014-01-08 Carlos O'Donell <carlos@redhat.com>
4635
4636 * po/header.pot: Rename to...
4637 * po/pot.header: ... this.
4638 * po/Makefile: Use pot.header.
4639
66671c84
YK
46402014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4641 Maxim Kuvyrkov <maxim@kugelworks.com>
4642
4643 [BZ #16394]
cd6701cf
CD
4644 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4645 SRC and DEST against LEN.
66671c84 4646
38f34581
AZ
46472014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4648
4649 [BZ #16414]
4650 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4651 implementation.
4652 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4653
46542014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4655
4656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4657
4c327f2a
JM
46582014-01-08 Joseph Myers <joseph@codesourcery.com>
4659
4660 [BZ #16408]
4661 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4662 for large positive arguments.
4663
b821f414
JM
46642014-01-07 Joseph Myers <joseph@codesourcery.com>
4665
1f0f2067
JM
4666 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4667
a5a326f6
JM
4668 * math/auto-libm-test-in: Mark various tests with
4669 xfail-rounding:ldbl-128ibm.
4670 * math/auto-libm-test-out: Regenerated.
4671
b821f414
JM
4672 [BZ #16407]
4673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4674 Increase overflow threshold.
4675
94c8a4bc
OB
46762014-01-07 Ondřej Bílka <neleai@seznam.cz>
4677
4678 [BZ #14286]
4679 * stdio-common/vfprintf.c: Check for integer overflow.
4680
87ded0c3
AK
46812014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4682
4683 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4684 the first argument and return value of __tls_get_addr_internal.
4685
c5eebdd0
AK
46862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4687
4688 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4689 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4690
05d138ef
AK
46912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4692
4693 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4694 * sysdeps/s390/rtld-global-offsets.sym: New file.
4695 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4696 GLIBC_2.19 symbol.
4697 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4698 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4699 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4700 ... this.
4701 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4702 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4703 ... this.
4704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4705 Regenerate.
4706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4707 Regenerate.
4708 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4709 halfs of GPRs for high_gprs contexts.
4710 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4711 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4712 field.
4713 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4714 uc_flags field.
4715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4716 64 bit versions:
4717 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4718 for high GPRs (uc_high_gprs) and for future extensions
4719 (__reserved).
4720 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4721 for future extensions (__reserved).
4722 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4723 64 bit versions:
4724 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4725 SC_HIGHGPRS offset definition.
4726 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4727 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4728
93a45ff1
AK
47292014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4730
4731 * Versions.def: Add GLIBC_2.19 for libpthread.
4732 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4733 siglongjmp for libpthread with GLIBC_2.19 symver.
4734 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4735 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4736 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4737 * sysdeps/s390/__longjmp.c: New file.
4738 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4739 * sysdeps/s390/longjmp.c: New file.
4740 * sysdeps/s390/setjmp.S: New file.
4741 * sysdeps/s390/sigjmp.S: New file.
4742 * sysdeps/s390/v1-longjmp.c: New file.
4743 * sysdeps/s390/v1-setjmp.h: New file.
4744 * sysdeps/s390/v1-sigjmp.c: New file.
4745 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4746 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4747 GLIBC_2.19 version.
4748 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4749 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4750 versioned symbols for ____longjmp_chk.
4751 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4752 Likewise.
4753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4754 Regenerate.
4755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4756 Regenerate.
4757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4758 Regenerate.
4759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4760 Regenerate.
4761 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4762 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4763 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4764 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4765 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4766 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4767 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4768 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4769 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4770 * sysdeps/s390/rtld-__longjmp.c: New file.
4771 * sysdeps/s390/rtld-setjmp.S: New file.
4772
eb3fc44b
JM
47732014-01-06 Joseph Myers <joseph@codesourcery.com>
4774
4775 [BZ #16400]
4776 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4777 Return -__logl (x) for small positive arguments without evaluating
4778 a polynomial.
4779
9341dde4
MF
47802014-01-06 Mike Frysinger <vapier@gentoo.org>
4781
4782 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4783 Rename to ...
4784 (__ptrace_peeksiginfo_args): ... this.
4785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4788
4cff0293
AM
47892014-01-06 Allan McRae <allan@archlinux.org>
4790
4791 * inet/netinet/in.h: Fix typo in comment.
4792
75595dcf
AJ
47932014-01-05 Andreas Jaeger <aj@suse.de>
4794
4795 * sysdeps/i386/fpu/libm-test-ulps: Update.
4796
79c1e109
AM
47972014-01-05 Allan McRae <allan@archlinux.org>
4798
dd804818
AM
4799 * po/libc.pot: Regenerated.
4800
79c1e109
AM
4801 * malloc/memusagestat.c: Fix gettext call formatting.
4802
0c813d1f
SK
48032014-01-04 Sami Kerola <kerolasa@iki.fi>
4804
4805 * nscd/nscd.c: Improve usage() output.
4806
20f4a8d9
MF
48072014-01-04 Mike Frysinger <vapier@gentoo.org>
4808
4809 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4810 * sysdeps/unix/sysv/linux/configure: Regenerated.
4811 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4812 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4813
22562bb2
JM
48142014-01-03 Joseph Myers <joseph@codesourcery.com>
4815
4816 [BZ #16390]
4817 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4818 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4819
d7ad2d9b
AZ
48202014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4821
4822 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4823 extra tokens at end of #undef directive.
4824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4825 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4826 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4827
7dd009d8
JM
48282014-01-03 Joseph Myers <joseph@codesourcery.com>
4829
24db925a
JM
4830 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4831
7dd009d8
JM
4832 * math/auto-libm-test-in: Mark various tests with
4833 xfail-rounding:ldbl-128ibm.
4834 * math/auto-libm-test-out: Regenerated.
4835
396e3ecf
JM
48362014-01-02 Joseph Myers <joseph@codesourcery.com>
4837
819e5d50
JM
4838 [BZ #16386]
4839 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4840 numbers with subnormal high part when calculating exponent.
4841
90b6a1e5
JM
4842 [BZ #16385]
4843 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4844 fabs.
4845
396e3ecf
JM
4846 [BZ #16384]
4847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4848 M_LN2l.
4849 (__ieee754_acoshl): Use __log1pl not __log1p.
4850
6c8dbf00
OB
48512013-01-02 Ondřej Bílka <neleai@seznam.cz>
4852
4853 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4854 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4855 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4856 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4857 Convert to GNU style.
4858 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4859 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4860 memalign_check, __malloc_set_state): Likewise.
4861 * malloc/mallocbug.c (main): Likewise.
4862 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4863 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4864 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4865 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4866 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4867 * malloc/malloc.h: Likewise.
4868 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4869 memalignhook, reallochook, mabort): Likewise.
4870 * malloc/mcheck.h: Likewise.
4871 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4872 mmap64, mremap, munmap, dest): Likewise.
4873 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4874 * malloc/morecore.c (__default_morecore): Likewise.
4875 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4876 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4877 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4878 print_and_abort): Likewise.
4879 * malloc/obstack.h: Likewise.
4880 * malloc/set-freeres.c (__libc_freeres): Likewise.
4881 * malloc/tst-mallocstate.c (main): Likewise.
4882 * malloc/tst-mtrace.c (main): Likewise.
4883 * malloc/tst-realloc.c (do_test): Likewise.
4884
d4124212
SP
48852013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4886
9a3c6a6f
SP
4887 [BZ #16366]
4888 * nscd/netgroupcache.c (do_notfound): New function.
4889 (addgetnetgrentX): Use it.
4890
d4124212
SP
4891 [BZ # 16365]
4892 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4893 NSS_STATUS_NOTFOUND.
4894
97b9a009
JM
48952014-01-01 Joseph Myers <joseph@codesourcery.com>
4896
4897 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4899
d4697bc9
AM
49002014-01-01 Allan McRae <allan@archlinux.org>
4901
ddb3687f
AM
4902 * scripts/update-copyrights: Update configure input file suffix.
4903
88726d48
AM
4904 * NEWS: Update copyright year.
4905 * catgets/gencat.c: Likewise.
4906 * csu/version.c: Likewise.
4907 * debug/catchsegv.sh: Likewise.
4908 * debug/pcprofiledump.c: Likewise.
4909 * debug/xtrace.sh: Likewise.
4910 * elf/ldconfig.c: Likewise.
4911 * elf/ldd.bash.in: Likewise.
4912 * elf/pldd.c: Likewise.
4913 * elf/sotruss.ksh: Likewise.
4914 * elf/sprof.c: Likewise.
4915 * iconv/iconv_prog.c: Likewise.
4916 * iconv/iconvconfig.c: Likewise.
4917 * locale/programs/locale.c: Likewise.
4918 * locale/programs/localedef.c: Likewise.
4919 * login/programs/pt_chown.c: Likewise.
4920 * malloc/memusage.sh: Likewise.
4921 * malloc/memusagestat.c: Likewise.
4922 * malloc/mtrace.pl: Likewise.
4923 * manual/libc.texinfo: Likewise.
4924 * nscd/nscd.c: Likewise.
4925 * nss/getent.c: Likewise.
4926 * nss/makedb.c: Likewise.
4927 * posix/getconf.c: Likewise.
4928 * scripts/test-installation.pl: Likewise.
4929
d4697bc9
AM
4930 * All files with FSF copyright notices: Update copyright dates
4931 using scripts/update-copyrights.
4932 * intl/plural.c: Regenerated.
4933 * locale/programs/charmap-kw.h: Likewise.
4934 * locale/programs/locfile-kw.h: Likewise.
4935
c8590f9d
MF
49362013-12-31 Mike Frysinger <vapier@gentoo.org>
4937
4938 * sysdeps/unix/sysv/linux/configure: Regenerated.
4939 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4940 the linux/fanotify.h header.
4941 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4942 HAVE_LINUX_FANOTIFY_H is defined.
4943
b19221b9
SP
49442013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4945
dd1d85e5
SP
4946 * benchtests/cos-inputs: New inputs.
4947 * benchtests/sin-inputs: Likewise.
4948
1acbb90f
SP
4949 * benchtests/atan-inputs: New inputs. Fix name of multiple
4950 precision fallback inputs.
4951
4c012ed3
SP
4952 * benchtests/atanh-inputs: New inputs.
4953 * benchtests/tanh-inputs: Likewise.
4954
eff98324
SP
4955 * benchtests/acosh-inputs: New inputs.
4956 * benchtests/asinh-inputs: Likewise.
4957
ce641152
SP
4958 * benchtests/cosh-inputs: New inputs.
4959 * benchtests/sinh-inputs: Likewise.
4960
b19221b9
SP
4961 * benchtests/acos-inputs: Add more inputs.
4962 * benchtests/asin-inputs: Likewise.
4963
030a4976 49642013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4965
030a4976 4966 [BZ #16375]
9dcc8f11
VS
4967 * manual/arith.texi: Fix spelling.
4968 * manual/charset.texi: Likewise.
4969 * manual/errno.texi: Likewise.
4970 * manual/filesys.texi: Likewise.
4971 * manual/lang.texi: Likewise.
4972 * manual/llio.texi: Likewise.
4973 * manual/locale.texi: Likewise.
4974 * manual/message.texi: Likewise.
4975 * manual/resource.texi: Likewise.
4976 * manual/search.texi: Likewise.
4977 * manual/setjmp.texi: Likewise.
4978 * manual/stdio.texi: Likewise.
4979 * manual/string.texi: Likewise.
4980 * manual/sysinfo.texi: Likewise.
4981 * manual/time.texi: Likewise.
4982
11520a57
CD
49832013-12-27 Carlos O'Donell <carlos@redhat.com>
4984
4985 * po/sl.po: New file.
4986
471103ae
MF
49872013-12-27 Mike Frysinger <vapier@gentoo.org>
4988
4989 * .gitignore: Add core/.gdbinit/.gdb_history.
4990
6c9642ed
AM
49912013-12-27 Allan McRae <allan@archlinux.org>
4992
4993 [BZ #16369]
4994 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4995 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4996
3f637079
BM
49972013-12-24 Brooks Moses <bmoses@google.com>
4998
4999 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5000 all compilers that claim C++98 compliance, not just GCC.
5001 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5002 Likewise.
5003
abc26e99
MK
50042013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5005
5006 * NEWS: Restore accidentally deleted bug-fix entries.
5007
362b47fe
MK
50082013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5009 Ondřej Bílka <neleai@seznam.cz>
5010
5011 [BZ #15073]
5012 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5013 have_lock.
362b47fe 5014
b9bcbbcb
OB
50152013-12-23 Ondřej Bílka <neleai@seznam.cz>
5016
5017 [BZ #12986]
5018 * manual/stdio.texi (String Input Conversions): Clarify that character
5019 classes are not supported.
5020
fb55fcd2
AZ
50212013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5022
5023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5024
ef7344f0
JM
50252013-12-22 Joseph Myers <joseph@codesourcery.com>
5026
4f40e4b3
JM
5027 [BZ #16337]
5028 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5029 Calculate results for small negative arguments directly rather
5030 than using reflection formula with special underflow handling.
5031
ef7344f0
JM
5032 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5033 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5034 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5035 (fchflags): Likewise.
5036 (revoke): Likewise.
5037 (setlogin): Likewise.
5038 (sigaltstack): Likewise.
5039 (wait4): Likewise.
5040 (sigblock): Remove.
5041 (sigsetmask): Likewise.
5042 (wait3): Likewise.
5043 (waitpid): Likewise.
5044 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5045 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5046 file.
5047 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5048 * sysdeps/unix/bsd/Makefile: ... here.
5049 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5050 * sysdeps/unix/bsd/Versions: ... here.
5051 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5052 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5053 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5054 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5055 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5056 * sysdeps/unix/bsd/sigblock.c: ... here.
5057 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5058 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5059 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5060 * sysdeps/unix/bsd/sigvec.c: ... here.
5061 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5062 * sysdeps/unix/bsd/tcdrain.c: ... here.
5063 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5064 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5065 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5066 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5067 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5068 * sysdeps/unix/bsd/wait.c: ... here.
5069 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5070 * sysdeps/unix/bsd/wait3.c: ... here.
5071 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5072 * sysdeps/unix/bsd/waitpid.c: ... here.
5073
5b0626b9
JM
50742013-12-21 Joseph Myers <joseph@codesourcery.com>
5075
5076 [BZ #16356]
5077 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5078 round-to-nearest for [!USE_AS_EXPM1L].
5079 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5080 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5081 more tests of exp and exp10. Expect some exp10 tests to miss
5082 exceptions or fail in directed rounding modes.
5083 * math/auto-libm-test-out: Regenerated.
5084 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5085 (exp10_test_tonearest): New function.
5086 (exp10_towardzero_test_data): New array.
5087 (exp10_test_towardzero): New function.
5088 (exp10_downward_test_data): New array.
5089 (exp10_test_downward): New function.
5090 (exp10_upward_test_data): New array.
5091 (exp10_test_upward): New function.
5092 (main): Call the new functions.
5093 * sysdeps/i386/fpu/libm-test-ulps: Update.
5094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5095
7fda5682
JM
50962013-12-20 Joseph Myers <joseph@codesourcery.com>
5097
31e3a405
JM
5098 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5099 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5100 * math/auto-libm-test-out: Regenerated.
5101 * math/libm-test.inc (acosh_test_data): Add more tests.
5102 (atanh_test_data): Likewise.
5103 (ceil_test_data): Likewise.
5104 (copysign_test_data): Likewise.
5105 * sysdeps/i386/fpu/libm-test-ulps: Update.
5106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5107
85bff96a
JM
5108 * timezone/checktab.awk: Update from tzcode 2013i.
5109 * timezone/private.h: Likewise.
5110 * timezone/scheck.c: Likewise.
5111 * timezone/tzfile.h: Likewise.
5112 * timezone/tzselect.ksh: Likewise.
5113 * timezone/zdump.c: Likewise.
5114 * timezone/zic.c: Likewise.
5115
b7867a3b
JM
5116 * math/auto-libm-test-in: Add tests of cpow.
5117 * math/auto-libm-test-out: Regenerated.
5118 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5119 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5120 mpc_cc_c.
5121 (func_calc_desc): Add mpc_cc_c union field.
5122 (test_functions): Add cpow.
5123 (special_fill_2pi): New function.
5124 (special_real_inputs): Add 2pi.
5125 (calc_generic_results): Handle mpc_cc_c.
5126 * sysdeps/i386/fpu/libm-test-ulps: Update.
5127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5128
7fda5682
JM
5129 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5130 csqrt, ctan and ctanh.
5131 * math/auto-libm-test-out: Regenerated.
5132 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5133 (TEST_COND_x86): Likewise.
5134 (ccos_test_data): Use AUTO_TESTS_c_c.
5135 (ccosh_test_data): Likewise.
5136 (cexp_test_data): Likewise.
5137 (clog_test_data): Likewise.
5138 (csqrt_test_data): Likewise.
5139 (ctan_test_data): Likewise.
5140 (ctan_tonearest_test_data): Likewise.
5141 (ctan_towardzero_test_data): Likewise.
5142 (ctan_downward_test_data): Likewise.
5143 (ctan_upward_test_data): Likewise.
5144 (ctanh_test_data): Likewise.
5145 (ctanh_tonearest_test_data): Likewise.
5146 (ctanh_towardzero_test_data): Likewise.
5147 (ctanh_downward_test_data): Likewise.
5148 (ctanh_upward_test_data): Likewise.
5149 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5150 mpc_c_c.
5151 (func_calc_desc): Add mpc_c_c union field.
5152 (FUNC_mpc_c_c): New macro.
5153 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5154 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5155 ctanh.
5156 (special_fill_min_subnorm_p120): New function.
5157 (special_real_inputs): Add min_subnorm_p120.
5158 (calc_generic_results): Handle mpc_c_c.
5159 * sysdeps/i386/fpu/libm-test-ulps: Update.
5160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5161
5ff8d60e
SP
51622013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5163
392dd2de
SP
5164 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5165 do_sin_slow): New functions.
5166 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5167 cslow2, csloww1, csloww2): Use the new functions.
5168
84ba214c
SP
5169 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5170 Use M to change sign of result instead of X. Assume X is
5171 positive.
5172 (csloww1): Likewise.
5173 (__sin): Adjust.
5174 (__cos): Adjust.
5175
975195e4
SP
5176 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5177 arguments A and DA.
5178 (__sin): Adjust.
5179 (__cos): Likewise.
5180
5ff8d60e
SP
5181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5182 (__cos): Likewise.
5183 (sloww1): Don't adjust sign of DX.
5184 (csloww1): Likewise.
5185 (sloww2): Use X directly and don't adjust sign of DX.
5186 (csloww2): Likewise.
5187
eb983568
JM
51882013-12-19 Joseph Myers <joseph@codesourcery.com>
5189
64a17f1a
JM
5190 * math/auto-libm-test-in: Add tests of cabs and carg.
5191 * math/auto-libm-test-out: Regenerated.
5192 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5193 (carg_test_data): Likewise.
5194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5195 mpc_c_f.
5196 (func_calc_desc): Add mpc_c_f union field.
5197 (test_functions): Add cabs and carg.
5198 (calc_generic_results): Handle mpc_c_f.
5199
eb983568
JM
5200 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5201 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5202 as a macro and a compat symbol.
5203 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5204 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5205 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5206 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5207 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5208 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5209 not use .hidden.
5210 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5211 Likewise.
5212 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5213 Likewise.
5214 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5215 Likewise.
5216 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5217 Likewise.
5218 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5219 Likewise.
5220 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5221 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5222 from GLIBC_2.3.2.
5223
6eeb678a
AZ
52242013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225
5226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5227
6f6fc482
JM
52282013-12-19 Joseph Myers <joseph@codesourcery.com>
5229
21fea2e2
JM
5230 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5231 trailing whitespace removed.
5232 * scripts/config.guess: Update to version 2013-11-29.
5233 * scripts/config.sub: Update to version 2013-10-01.
5234
6f6fc482
JM
5235 * math/auto-libm-test-in: Add tests of sincos.
5236 * math/auto-libm-test-out: Regenerated.
5237 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5238 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5239 mpfr_f_11.
5240 (func_calc_desc): Add mpfr_f_11 union field.
5241 (test_functions): Add sincos.
5242 (calc_generic_results): Handle mpfr_f_11.
5243 * sysdeps/i386/fpu/libm-test-ulps: Update.
5244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5245
83f5c32d
AS
52462013-12-19 Andreas Schwab <schwab@suse.de>
5247
5248 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5249 CALL_MCOUNT.
5250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5251 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5252 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5253
c688b419
JM
52542013-12-19 Joseph Myers <joseph@codesourcery.com>
5255
335ee092
JM
5256 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5257 * sysdeps/i386/fpu/libm-test-ulps: Update.
5258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5259
f88acd39
JM
5260 [BZ #16293]
5261 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5262 round-to-nearest mode when using frndint.
5263 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5264 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5265 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5266 Likewise.
5267 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5268 sinh test to fail.
5269 * math/auto-libm-test-out: Regenerated.
5270 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5271 (TEST_COND_x86): Likewise.
5272 (expm1_tonearest_test_data): New array.
5273 (expm1_test_tonearest): New function.
5274 (expm1_towardzero_test_data): New array.
5275 (expm1_test_towardzero): New function.
5276 (expm1_downward_test_data): New array.
5277 (expm1_test_downward): New function.
5278 (expm1_upward_test_data): New array.
5279 (expm1_test_upward): New function.
5280 (main): Run the new test functions.
5281 * sysdeps/i386/fpu/libm-test-ulps: Update.
5282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5283
c688b419
JM
5284 * include/features.h: Update comment documenting feature test
5285 macros. Mention _DEFAULT_SOURCE in comment.
5286 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5287 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5288 _BSD_SOURCE and _SVID_SOURCE.
5289 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5290 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5291 !_SVID_SOURCE]: Likewise.
5292 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5293 (__USE_POSIX_IMPLICITLY): Define.
5294 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5295 (_POSIX_SOURCE): Undefine and redefine.
5296 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5297 (_POSIX_C_SOURCE): Likewise.
5298 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5299 (Feature Test Macros): Update documentation of default features.
5300
9f6e964c
RS
53012013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5302
5303 * benchtests/Makefile: Add bench-strtok.
5304 * benchtests/bench-strtok.c: New file: strtok benchtest.
5305
ee0a148a
AM
53062013-12-19 Allan McRae <allan@archlinux.org>
5307
5308 * manual/install.texi: Suppress menu for plain text output.
5309 * INSTALL: Regenerated.
5310
b9ab448f
BM
53112013-12-18 Brooks Moses <bmoses@google.com>
5312
5313 [BZ #15846]
5314 * misc/getauxval.c: Include errno.h.
5315 (__getauxval): Set errno to ENOENT if the requested type is not
5316 found.
5317 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5318 don't declare with __attribute_const__.
5319 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5320 * manual/startup.texi: Document that getauxval sets errno.
5321
23776487
JM
53222013-12-18 Joseph Myers <joseph@codesourcery.com>
5323
f889953b
JM
5324 * math/auto-libm-test-in: Add tests of jn and yn.
5325 * math/auto-libm-test-out: Regenerated.
5326 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5327 (yn_test_data): Likewise.
5328 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5329 mpfr_if_f.
5330 (func_calc_desc): Add mpfr_if_f union field.
5331 (FUNC_mpfr_if_f): New macro.
5332 (test_functions): Add jn and yn.
5333 (calc_generic_results): Assert type of second input for
5334 mpfr_ff_f. Handle mpfr_if_f.
5335 (output_for_one_input_case): Disable all checking for arguments
5336 fitting floating-point types in case of an integer argument.
5337 * sysdeps/i386/fpu/libm-test-ulps: Update.
5338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5339
23776487
JM
5340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5341 Don't expect fegetround reference in libm.so.
5342
cb756c6d
MS
53432013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5344
5345 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5346 $(config-cflags-nofma).
5347
2dec468f
JM
53482013-12-18 Joseph Myers <joseph@codesourcery.com>
5349
5953eb3a
JM
5350 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5351 * math/auto-libm-test-out: Regenerated.
5352
2dec468f
JM
5353 [BZ #16338]
5354 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5355 to determine exponent and adjust argument to have exponent of -1.
5356 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5357 log2.
5358 * math/auto-libm-test-out: Regenerated.
5359 * sysdeps/i386/fpu/libm-test-ulps: Update.
5360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5361
4d84e6ad
OB
53622013-12-18 Ondřej Bílka <neleai@seznam.cz>
5363
5364 * manual/probes.texi: Remove cases when per-thread arenas are
5365 disabled.
5366
1818483b
AS
53672013-12-18 Andreas Schwab <schwab@suse.de>
5368
5369 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5370 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5371 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5372 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5373 * sysdeps/i386/i686/multiarch/Makefile: Update.
5374 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5375
25de95bf
JM
53762013-12-17 Joseph Myers <joseph@codesourcery.com>
5377
5378 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5379 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5380
674762d9
PE
53812013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5382
ed27ed83 5383 [BZ #15968]
0748546f
PE
5384 Support TZ transition times < 00:00:00.
5385 This is needed for version-3 tz-format files; it supports time
5386 stamps past 2037 for America/Godthab (the only entry in the tz
5387 database for which this change is relevant).
5388 * manual/time.texi (TZ Variable): Document transition times
5389 from -167:59:59 through -00:00:01.
5390 * time/tzset.c (tz_rule): Time of day is now signed.
5391 (__tzset_parse_tz): Parse negative time of day.
5392
4480e934
PE
5393 Document TZ transition times >= 25:00:00.
5394 * manual/time.texi (TZ Variable): Document transition times from
5395 25:00:00 through 167:59:59. These are already supported, and this
5396 support will help with version-3 tz-format files.
5397
69947401
PE
5398 * manual/time.texi (TZ Variable): Modernize North America example
5399 to reflect current (i.e., 2007-and-later) daylight saving rules.
5400
674762d9
PE
5401 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5402
7011c262
JM
54032013-12-17 Joseph Myers <joseph@codesourcery.com>
5404
2fc6557e
JM
5405 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5406 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5409 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5410 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5411 * sysdeps/unix/bsd/clock.c: Likewise.
5412 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5413 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5414 * sysdeps/unix/bsd/init-posix.c: Likewise.
5415 * sysdeps/unix/bsd/poll.c: Likewise.
5416 * sysdeps/unix/bsd/ptsname.c: Likewise.
5417 * sysdeps/unix/bsd/seekdir.c: Likewise.
5418 * sysdeps/unix/bsd/setegid.c: Likewise.
5419 * sysdeps/unix/bsd/seteuid.c: Likewise.
5420 * sysdeps/unix/bsd/setgid.c: Likewise.
5421 * sysdeps/unix/bsd/setrgid.c: Likewise.
5422 * sysdeps/unix/bsd/setruid.c: Likewise.
5423 * sysdeps/unix/bsd/setsid.c: Likewise.
5424 * sysdeps/unix/bsd/setuid.c: Likewise.
5425 * sysdeps/unix/bsd/sigaction.c: Likewise.
5426 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5427 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5428 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5429 * sysdeps/unix/bsd/telldir.c: Likewise.
5430 * sysdeps/unix/bsd/times.c: Likewise.
5431 * sysdeps/unix/bsd/usleep.c: Likewise.
5432
029c7b25
JM
5433 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5434 ($(objpfx)libbsd-compat.a): Remove rule.
5435
7011c262
JM
5436 * include/features.h (__FAVOR_BSD): Do not define.
5437 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5438 features conflicting with POSIX.
5439 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5440 (_BSD_SOURCE): Remove description of not being a subset of other
5441 feature test macros.
5442 * manual/job.texi (getpgrp): Do not document BSD version.
5443 (getpgid): Do not document by reference to BSD getpgrp.
5444 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5445 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5446 * signal/signal.h [__FAVOR_BSD]: Likewise.
5447 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5448 instead of making contents conditional on [__FAVOR_BSD].
5449 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5450
affb6f78
AZ
54512013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5452
5453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5454
c88769dd
JM
54552013-12-17 Joseph Myers <joseph@codesourcery.com>
5456
6432a540
JM
5457 [BZ #16314]
5458 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5459 values below 2**-450, not 2**-500.
5460 * math/auto-libm-test-in: Don't allow spurious underflow from
5461 hypot.
5462 * math/auto-libm-test-out: Regenerated.
5463
c88769dd
JM
5464 [BZ #16316]
5465 [BZ #16330]
5466 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5467 values of ha and hb and sort them after adjusting subnormal
5468 arguments.
5469 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5470 Likewise.
5471 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5472 values of ea and eb and sort them after adjusting subnormal
5473 arguments.
5474 * math/auto-libm-test-in: Do not expect some hypot tests of
5475 subnormals to fail. Add more hypot tests.
5476 * math/auto-libm-test-out: Regenerated.
5477
29618f6b
KK
54782013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5479
5480 [BZ #13304]
5481 * sysdeps/sh/s_fma.c: New file.
5482 * sysdeps/sh/s_fmaf.c: New file.
5483 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5484 version.
5485 * sysdeps/sh/Implies: Add sh/soft-fp.
5486
eacfdfbf
RM
54872013-12-16 Roland McGrath <roland@hack.frob.com>
5488
5489 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5490 level of indirection to members `objname', `errstring', `malloced'.
5491 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5492 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5493 it as the __longjmp argument (just pass 1 instead).
5494 (_dl_catch_error): Initialize C with argument pointers and address of
5495 volatile local ERRCODE rather than copying values out of C at return.
5496
ff362e5b
JM
54972013-12-16 Joseph Myers <joseph@codesourcery.com>
5498
5499 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5500 * math/auto-libm-test-out: Regenerated.
5501 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5502 (hypot_test_data): Likewise.
5503 (pow_test_data): Likewise.
5504 (pow_tonearest_test_data): Likewise.
5505 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5506 mpfr_ff_f.
5507 (func_calc_desc): Add mpfr_ff_f union field.
5508 (FUNC_mpfr_ff_f): New macro.
5509 (test_functions): Add atan2, hypot and pow.
5510 (special_fill_min): New function.
5511 (special_fill_minus_min): Likewise.
5512 (special_fill_min_subnorm): Likewise.
5513 (special_fill_minus_min_subnorm): Likewise.
5514 (special_real_inputs): Add min, -min, min_subnorm and
5515 -min_subnorm.
5516 (calc_generic_results): Handle mpfr_ff_f.
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5519
5764c27f
WN
55202013-12-16 Will Newton <will.newton@linaro.org>
5521
5522 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5523 (Aligned Memory Blocks): Add documentation for aligned_alloc
5524 and suggest it as an alternative to posix_memalign.
5525 (Hooks for Malloc): Document __memalign_hook is also called
5526 for aligned_alloc. (Summary of Malloc): Add summary for
5527 aligned alloc. Document __memalign_hook is also called
5528 for aligned_alloc.
5529
0a096e44
WN
55302013-12-16 Will Newton <will.newton@linaro.org>
5531
5532 * manual/memory.texi (Malloc Examples): Clarify default
5533 alignment documentation. Suggest posix_memalign rather
5534 than memalign or valloc.
5535 (Aligned Memory Blocks): Remove suggestion to use memalign
5536 or valloc. Remove obsolete comment about BSD.
5537 Document memalign errno values and mark the function obsolete.
5538 Document posix_memalign returned error codes. Mark valloc
5539 as obsolete. (Hooks for Malloc): __memalign_hook is also
5540 called for posix_memalign and valloc.
5541 (Summary of Malloc): Add posix_memalign to function summary.
5542 __memalign_hook is also called for posix_memalign and valloc.
5543
8d561986
SP
55442013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5545
5546 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5547 TAYLOR_SIN.
5548 (__sin): Adjust.
5549 (__cos): Likewise.
5550 (sloww): Use mynumber union. Expand ternary operator into
5551 if-else statements.
5552 (cslow): use mynumber union.
5553
73616a74
AM
55542013-12-16 Allan McRae <allan@archlinux.org>
5555
9e8ac24b
AM
5556 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5557 * configure: Regenerated.
5558
6f8e37eb
AM
5559 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5560
8894bad3
AM
5561 [BZ #14120]
5562 * configure.ac: Added --enable-maintainer-mode. Check for
5563 autoconf when enabled.
5564 * configure: Regenerated.
5565
73616a74
AM
5566 * nscd/nscd.service: New file.
5567 * nscd/nscd.tmpfiles: New file.
5568
584b18eb
OB
55692013-12-14 Ondřej Bílka <neleai@seznam.cz>
5570
5571 [BZ #12100]
5572 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5573 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5574 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5575 (strstr): Add __strstr_sse2_unaligned ifunc.
5576 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5577 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5578 (strcasestr): Remove __strcasestr_sse42 ifunc.
5579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5582
8a5c7897
KK
55832013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5584
5585 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5586 * sysdeps/sh/bits/fenv.h: ... here.
5587 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5588
fd712ef3
AZ
55892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5590
5591 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5592
42fcb46c
AZ
55932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5594
5595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5596 hypotf multiarch implementations.
5597 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5600 multiarch hypot for PPC64.
5601 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5602 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5603 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5604 multiarch hypotf for PPC64.
5605
83efded4
AZ
56062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5607
5608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5609 modff multiarch implementations.
5610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5613 multiarch modf for PPC64.
5614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5617 multiarch modff for PPC64.
5618
43e246d2
AZ
56192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5620
5621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5622 and logl multiarch implementations.
5623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5626 multiarch logb for PPC64.
5627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5630 multiarch logb for PPC64.
5631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5634 multiarch logb for PPC64.
5635
8fdad123
AZ
56362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5637
5638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5639 isinff multiarch implementation.
5640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5641 file.
5642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5644 multiarch isinf for PPC64.
5645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5646 file.
5647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5648 multiarch isinff for PPC64.
5649
1481d706
AZ
56502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5651
5652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5653 finitef multiarch implementation.
5654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5655 file.
5656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5658 multiarch finite for PPC64.
5659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5660 file.
5661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5662 multiarch finitef for PPC64.
5663
5ccd5fc8
AZ
56642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5665
5666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5667 lrint multiarch implementation.
5668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5669 file.
5670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5672 multiarch llrint for PPC64.
5673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5674 multiarch lrint for PPC64.
5675
2568f3fa
AZ
56762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677
5678 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5679 copysignf multiarch implementation.
5680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5681 file.
5682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5683 file.
5684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5685 multiarch copysign for PPC64.
5686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5687 multiarch copysignf for PPC64.
5688
1cb341fd
AZ
56892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5690
5691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5692 multiarch implementation.
5693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5694 file.
5695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5696 file.
5697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5698 file.
5699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5700 file.
5701 multiarch llround for PPC64.
5702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5703 multiarch trunc for PPC64.
5704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5705 multiarch truncf for PPC64.
5706
59a3e194
AZ
57072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708
5709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5710 multiarch implementation.
5711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5712 file.
5713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5714 file.
5715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5716 file.
5717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5718 file.
5719 multiarch llround for PPC64.
5720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5721 multiarch round for PPC64.
5722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5723 multiarch roundf for PPC64.
5724
357fd3b4
AZ
57252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5726
5727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5728 multiarch implementation.
5729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5730 file.
5731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5732 file.
5733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5734 file.
5735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5736 file.
5737 multiarch llround for PPC64.
5738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5739 multiarch floor for PPC64.
5740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5741 multiarch floorf for PPC64.
5742
96770f12
AZ
57432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744
5745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5746 multiarch implementation.
5747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5748 file.
5749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5750 file.
5751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5752 file.
5753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5754 file.
5755 multiarch llround for PPC64.
5756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5757 multiarch ceil for PPC64.
5758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5759 multiarch ceilf for PPC64.
5760
c3627f6e
AZ
57612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5762
5763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5764 multiarch implementation.
5765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5766 file.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5768 file.
5769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5770 file.
5771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5772 multiarch llround for PPC64.
5773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5774 multiarch lround for PPC64.
5775
b2284ad7
AZ
57762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777
5778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5779 multiarch implementation.
5780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5783 file.
5784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5787 multiarch isnan for PPC64.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5789 multiarch isnanf for PPC64.
5790
69bbc63d
AZ
57912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5792
5793 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5794 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5795 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5796 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5797 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5799
c24517c9
AZ
58002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801
5802 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5803 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5804 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5805 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5806
a52374e8
AZ
58072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808
5809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5810 multiarch implementations.
5811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5812 (__libc_ifunc_impl_list): Likewise.
5813 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5814 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5815 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5816 multiarch stpcpy for PPC64.
5817
7f5ec113
AZ
58182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819
5820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5821 multiarch implementations.
5822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5823 (__libc_ifunc_impl_list): Likewise.
5824 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5825 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5826 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5827 multiarch strcpy for PPC64.
5828
e28bcd42
AZ
58292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830
5831 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5832 redefine function name.
5833 (_wordcopy_fwd_dest_aligned): Likewise.
5834 (_wordcopy_bwd_aligned): Likewise.
5835 (_wordcopy_bwd_dest_aligned): Likewise.
5836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5837 multiarch implementations.
5838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5839 (__libc_ifunc_impl_list): Likewise.
5840 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5841 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5842 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5843 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5844 multiarch wcscpy for PPC64.
5845
92cacfce
AZ
58462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5847
5848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5849 multiarch implementations.
5850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5851 (__libc_ifunc_impl_list): Likewise.
5852 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5853 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5854 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5855 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5856 multiarch wcscpy for PPC64.
5857
7b714620
AZ
58582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5859
5860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5861 multiarch implementations.
5862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5863 (__libc_ifunc_impl_list): Likewise.
5864 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5865 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5866 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5867 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5868 multiarch wcsrchr for PPC64.
5869
16fd2ae3
AZ
58702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5871
5872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5873 multiarch implementations.
5874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5875 (__libc_ifunc_impl_list): Likewise.
5876 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5877 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5878 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5879 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5880 multiarch wcschr for PPC64.
5881
9ee2969b
AZ
58822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5883
5884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5885 multiarch implementations.
5886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5887 (__libc_ifunc_impl_list): Likewise.
5888 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5889 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5890 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5891 multiarch strchrnul for PPC64.
5892
372dc060
AZ
58932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894
5895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5896 implementations.
5897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5898 (__libc_ifunc_impl_list): Likewise.
5899 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5900 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5901 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5902 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5903 strchr for PPC64.
5904
24c2c3b9
AZ
59052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5908 implementations.
5909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5910 (__libc_ifunc_impl_list): Likewise.
5911 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5912 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5913 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5914 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5915 strncmp for PPC64.
5916
1c92d9a0
AZ
59172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918
5919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5920 multiarch implementations.
5921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5922 (__libc_ifunc_impl_list): Likewise.
5923 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5924 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5925 strncasecmp for PPC64.
5926 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5927 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5928 multiarch strncasecmp_l for PPC64.
5929
17de3ee3
AZ
59302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5931
5932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5933 multiarch implementations.
5934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5935 (__libc_ifunc_impl_list): Likewise.
5936 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5937 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5938 multiarch strcasecmp for PPC64.
5939 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5940 file.
5941 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5942 multiarch strcasecmp_l for PPC64.
5943
62982bf9
AZ
59442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5945
5946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5947 implementations.
5948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5949 (__libc_ifunc_impl_list): Likewise.
5950 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5951 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5952 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5953 strnlen for PPC64.
5954
a65f4904
AZ
59552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5956
5957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5958 implementations.
5959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5960 (__libc_ifunc_impl_list): Likewise.
5961 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5962 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5963 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5964 strlen for PPC64.
5965
1fd005ad
AZ
59662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967
5968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5969 implementations.
5970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5971 (__libc_ifunc_impl_list): Likewise.
5972 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5973 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5974 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5975 rawmemrchr for PPC64.
5976
cd05ba91
AZ
59772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5978
5979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5980 implementation.
5981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5982 (__libc_ifunc_impl_list): Likewise.
5983 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5984 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5985 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5986 memrchr for PPC64.
5987
870f8676
AZ
59882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5989
5990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5991 implementation.
5992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5993 (__libc_ifunc_impl_list): Likewise.
5994 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5995 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5996 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5997 memchr for PPC64.
5998
f00be62b
AZ
59992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6000
6001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6002 implementation.
6003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6004 (__libc_ifunc_impl_list): Likewise.
6005 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6006 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6007 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6008 mempcpy for PPC64.
6009
8a29a3d0
AZ
60102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011
6012 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6013 avoid cretion of __bzero symbol.
6014 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6015 Likewise.
6016 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6017 Likewise.
6018 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6019 Likewise.
6020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6021 multiarch implementations.
6022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6023 (__libc_ifunc_impl_list): Likewise.
6024 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6025 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6026 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6027 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6028 bzero for PPC32.
6029 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6030 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6031 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6032 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6033 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6034 memset for PPC64.
6035 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6036
07253fcf
AZ
60372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6038
6039 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6041 implementations.
6042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6043 (__libc_ifunc_impl_list): Likewise.
6044 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6045 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6046 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6047 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6048 memcmp for PPC64.
6049
b5beafbc
AZ
60502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051
6052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6053 multiarch for POWER/PPC64.
6054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6055 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6056 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6057 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6060 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6061 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6062 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6063 memcpy for PPC64.
6064
5e6a4d4b
AZ
60652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6068 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6069 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6070 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6071 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6072 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6073 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6074 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6075 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6076 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6077 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6078 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6079 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6080 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6081 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6089
ddfab6dc
KK
60902013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6091
6092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6093
19b5525e
SP
60942013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6095
6096 * benchtests/Makefile (bench): Add exp2 and log2.
6097 (LDLIBS-bench-exp2): Add -lm.
6098 (LDLIBS-bench-log2): Likewise.
6099 * benchtests/exp2-inputs: New inputs file.
6100 * benchtests/log2-inputs: New inputs file.
6101 * benchtests/log-inputs: Add new inputs.
6102 * benchtests/tan-inputs: Likewise.
6103
196f7f5d
SP
61042013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6105
7a74607f
SP
6106 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6107 definition...
6108 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6109 csloww1, csloww2): ... from here.
6110
196f7f5d
SP
6111 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6112 instead of structures.
6113 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6114 (POLYNOMIAL): Likewise.
6115 (TAYLOR_SLOW): Likewise.
6116 (__sin): Likewise.
6117 (__cos): Likewise.
6118 (slow1): Likewise.
6119 (slow2): Likewise.
6120 (sloww): Likewise.
6121 (sloww1); Likewise.
6122 (sloww2): Likewise.
6123 (bsloww1): Likewise.
6124 (bsloww2): Likewise.
6125 (cslow2): Likewise.
6126 (csloww): Likewise.
6127 (csloww1): Likewise.
6128 (csloww2): Likewise.
6129
0dfa665c
OB
61302013-12-10 Ondřej Bílka <neleai@seznam.cz>
6131
6132 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6133 (__malloc_assert, __libc_realloc, __libc_calloc,
6134 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6135 memcpy and memset.
6136 * malloc/hooks.c (realloc_check): Likewise.
6137
5782a80f
OB
61382013-12-10 Ondřej Bílka <neleai@seznam.cz>
6139
6140 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6141 * malloc/arena.c: Remove PER_THREAD conditional.
6142 [!PER_THREAD]: Remove code.
6143 (ptmalloc_unlock_all2): Likewise.
6144 (ptmalloc_init): Likewise.
6145 (_int_new_arena): Likewise.
6146 (arena_get2): Likewise.
6147 * malloc/hooks.c (__malloc_get_state): Likewise.
6148 (__malloc_set_state): Likewise.
6149 * malloc/malloc.c: Likewise.
6150 (struct malloc_state): Likewise.
6151 (struct malloc_par): Likewise.
6152 (__libc_realloc): Likewise.
6153 (__libc_mallopt): Likewise.
6154
aeb95445
AZ
61552013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6156
6157 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6158
e8349efd
OB
61592013-12-09 Ondřej Bílka <neleai@seznam.cz>
6160
6161 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6162 macro to a function. Check for zero perturb_byte.
6163 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6164
f3eeb3fc
OB
61652013-12-09 Ondřej Bílka <neleai@seznam.cz>
6166
6167 * malloc/malloc.c: (force_reg): Remove.
6168 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6169 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6170 force_reg by atomic_forced_read.
6171 * malloc/arena.c (ptmalloc_init): Likewise.
6172 * malloc/hooks.c (top_check): Likewise.
6173
be2f9009
AZ
61742013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175
6176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6177
e7b914bd
MT
61782013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6179
6180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6181
9f0be4f8
JM
61822013-12-08 Joseph Myers <joseph@codesourcery.com>
6183
6184 * math/auto-libm-test-in: Add tests of lgamma.
6185 * math/auto-libm-test-out: Regenerated.
6186 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6187 (M_LOG_2_SQRT_PIl): Likewise.
6188 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6189 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6190 mpfr_f_f1.
6191 (func_calc_desc): Add mpfr_f_f1 union field.
6192 (ARGS1): New macro.
6193 (ARGS2): Likewise.
6194 (ARGS3): Likewise.
6195 (ARGS4): Likewise.
6196 (RET1): Likewise.
6197 (RET2): Likewise.
6198 (CALC): Likewise.
6199 (FUNC): Likewise.
6200 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6201 (test_functions): Add lgamma.
6202 (calc_generic_results): Handle mpfr_f_f1.
6203 * sysdeps/i386/fpu/libm-test-ulps: Update.
6204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6205
24eeafdb
AZ
62062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6207
6208 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6209 __mpn_add_n for PowerPC64/POWER7.
6210 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6211 __mpn_sub_n for PowerPC64/POWER7.
6212
4a2c0fd4
AZ
62132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214
6215 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6216 __mpn_addmul_1 for PowerPC64.
6217 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6218 __mpn_submul_1 for PowerPC64.
6219 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6220 for PowerPC64.
6221 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6222 for PowerPC64.
6223
4b5b548c
FS
62242013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6225
6226 [BZ #15089]
6227 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6228
0a3ac0aa
AZ
62292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6230
6231 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6232
ccdc8438
AZ
62332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6234
6235 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6236 add multiarch folders.
6237 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6238 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6239 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6240 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6241 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6242 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6243 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6244 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6245 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6246 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6247 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6254
2e973d99
AZ
62552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6256
6257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6258 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6260 New file.
6261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6262 New file.
6263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6264 multiarch __ieee754_hypot for PowerPC32.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6266 New file.
6267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6268 New file.
6269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6270 multiarch __ieee754_hypotf for PowerPC32.
6271
2d9470b2
AZ
62722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6273
6274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6275 long_double_symbol only if __logbl is defined.
6276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6277 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6279 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6281 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6282 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6283 path for implementation.
6284 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6287 logb, and logbl multiarch implementations for PowerPC32.
6288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6289 file.
6290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6291 file.
6292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6293 multiarch logb for PowerPC32.
6294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6295 file.
6296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6297 file.
6298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6299 multiarch logbf for PowerPC32.
6300 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6302 file.
6303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6304 multiarch logbl implementation for PowerPC32.
6305
5212ffce
AZ
63062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6307
6308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6309 and modff multiarch implementations.
6310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6311 New file.
6312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6313 New file.
6314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6315 multiarch modf for PowerPC32.
6316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6317 New file.
6318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6319 New file.
6320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6321 multiarch modff for PowerPC32.
6322
79dccf31
AZ
63232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6324
6325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6326 and lrintf multiarch implementations.
6327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6328 New file.
6329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6330 New file.
6331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6332 multiarch lrint for PowerPC32.
6333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6334 file: multiarch lrintf for PowerPC32.
6335
deb66480
AZ
63362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6337
6338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6339 and lroundf multiarch implementations.
6340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6341 New file.
6342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6343 New file.
6344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6345 New file.
6346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6347 multiarch lround for PowerPC32.
6348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6349 file: multiarch lroundf for PowerPC32.
6350
264b036b
AZ
63512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6352
6353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6354 copysign and copysignf multiarch implementations.
6355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6356 New file.
6357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6358 New file.
6359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6360 file: multiarch copysign for PowerPC32.
6361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6362 file: multiarch copysignf for PowerPC32.
6363
d47db6c9
AZ
63642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6365
6366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6367 and truncf multiarch implementations.
6368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6369 New file.
6370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6371 file.
6372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6373 multiarch trunc for PowerPC32.
6374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6375 New file.
6376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6377 New file.
6378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6379 multiarch truncf for PowerPC32.
6380
ddb60b5a
AZ
63812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6382
6383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6384 and roundf multiarch implementations.
6385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6386 New file.
6387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6388 file.
6389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6390 multiarch round for PowerPC32.
6391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6392 New file.
6393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6394 New file.
6395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6396 multiarch roundf for PowerPC32.
6397
bedcf49b
AZ
63982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6399
6400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6401 and floorf multiarch implementations.
6402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6403 New file.
6404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6405 file.
6406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6407 multiarch floor for PowerPC32.
6408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6409 New file.
6410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6411 New file.
6412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6413 multiarch floorf for PowerPC32.
6414
35ae5b40
AZ
64152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6416
6417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6418 and ceilf multiarch implementations.
6419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6420 New file.
6421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6422 file.
6423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6424 multiarch ceil for PowerPC32.
6425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6426 New file.
6427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6428 file.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6430 multiarch ceilf for PowerPC32.
6431
ae1a4cd9
AZ
64322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6433
6434 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6435 is defined.
6436 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6437 FINITEF is defined.
6438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6439 and finitef multiarch implementations.
6440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6441 New file.
6442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6443 file.
6444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6445 multiarch finite for PowerPC32.
6446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6447 New file.
6448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6449 file: multiarch finitef for PowerPC32.
6450
64fffd65
AZ
64512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6452
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6454 and isinff multiarch implementations.
6455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6456 file.
6457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6458 file.
6459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6460 multiarch isinf for PowerPC32.
6461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6462 New file.
6463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6464 multiarch isinff for PowerPC32.
6465
8e4e7ba2
AZ
64662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467
6468 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6469 alias when __isnan is defined.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6471 and isnanf multiarch implementations.
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6473 file.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6475 file.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6477 file.
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6479 file.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6481 multiarch isnan for PowerPC32.
6482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6483 New file.
6484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6485 New file.
6486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6487 multiarch isnanf for PowerPC32.
6488
ddba588e
AZ
64892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6490
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6492 and sqrtf multiarch implementations.
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6494 file.
6495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6496 file.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6498 multiarch sqrt for PowerPC32.
6499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6500 file.
6501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6502 file.
6503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6504 multiarch sqrtf for PowerPC32.
6505
0f96a2f0
AZ
65062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507
6508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6509 and llroundf multiarch implementations.
6510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6511 New file.
6512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6513 New file.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6515 New file.
6516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6517 file: multiarch llround for PowerPC32.
6518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6519 file: multiarch llroundf for PowerPC32.
6520
c9b5d79e
AZ
65212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6522
6523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6524 multiarch PowerPC32 fpu implementations.
6525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6526 New file.
6527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6528 New file.
6529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6530 multiarch llrint for PowerPC32.
6531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6532 New file.
6533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6534 New file.
6535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6536 file.
6537
9cbb3aab
AZ
65382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6539
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6541
ea5a72f8
AZ
65422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6543
6544 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6545 file.
6546 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6547 file.
6548 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6549 file.
6550 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6551 multiarch wordcopy for PPC32.
6552 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6553 wordcopy objects.
6554 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6555 (__libc_ifunc_impl_list): Likewise.
6556 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6557 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6558 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6559 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6560 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6561 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6562
93be09e7
AZ
65632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6564
6565 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6566 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6567 file.
6568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6569 file.
6570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6571 file.
6572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6573 multiarch wcscpy for PPC32.
6574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6575 multiarch objects.
6576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6577 (__libc_ifunc_impl_list): Likewise.
6578 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6579 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6580 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6581 sysdeps/powerpc/power6/wcscpy.c.
6582
bb04e529
AZ
65832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6584
6585 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6586 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6587 file.
6588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6589 file.
6590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6591 file.
6592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6593 multiarch wcsrchr for PPC32.
6594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6595 multiarch objects.
6596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6597 (__libc_ifunc_impl_list): Likewise.
6598 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6599 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6600 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6601 sysdeps/powerpc/power6/wcsrchr.c.
6602
05b5cd1c
AZ
66032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604
6605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6606 file.
6607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6608 file.
6609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6611 multiarch wcschr for PPc32.
6612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6613 multiarch objects.
6614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6615 (__libc_ifunc_impl_list): Likewise.
6616 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6617 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6618 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6619 sysdeps/powerpc/power6/wcschr.c.
6620
ba964147
AZ
66212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6622
6623 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6624 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6625 file.
6626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6627 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6628 file: multiarch strchr for PPC32.
6629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6630 multiarch objects.
6631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6632 (__libc_ifunc_impl_list): Likewise.
6633
31c81aaa
AZ
66342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6635
6636 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6637 name.
6638 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6639 file.
6640 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6641 file.
6642 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6643 multiarch strchrnul for PPC32.
6644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6645 multiarch objects.
6646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6647 (__libc_ifunc_impl_list): Likewise.
6648
0d0607d9
AZ
66492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6650
6651 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6652 file.
6653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6654 multiarch strncasecmp for PPC32.
6655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6656 file.
6657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6658 multiarch strncasecmp_l for PPC32.
6659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6660 strncasecmp multiarch objects.
6661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6662 (__libc_ifunc_impl_list): Likewise.
6663
4dfd5c86
AZ
66642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6665
6666 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6667 file.
6668 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6669 multiarch strncasecmp for PPC32.
6670 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6671 New file.
6672 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6673 multiarch strcasecmp_l for PPC32.
6674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6675 multiarch objects.
6676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6677 (__libc_ifunc_impl_list): Likewise.
6678
a19e01a3
AZ
66792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6680
6681 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6682 file.
6683 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6684 file.
6685 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6686 multiarch strncmp for PPC32.
6687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6688 multiarch objects.
6689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6690 (__libc_ifunc_impl_list): Likewise.
6691
ae9cf7a2
AZ
66922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6693
6694 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6695 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6696 file.
6697 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6698 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6699 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6700 multiarch objects.
6701 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6702 (__libc_ifunc_impl_list): Likewise.
6703
3148bb7d
AZ
67042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6705
6706 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6707 file.
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6709 file.
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6712 multiarch objects.
6713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6714 (__libc_ifunc_impl_list): Likewise.
6715
7af8b946
AZ
67162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6717
6718 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6719 file.
6720 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6721 file.
6722 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6723 multiarch rawmemchr for PPC32.
6724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6725 multiarch objects.
6726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6727 (__libc_ifunc_impl_list): Likewise.
6728
03a6aa6a
AZ
67292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6730
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6732 file.
6733 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6734 file.
6735 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6736 file: memrchr multiarch for PPC32.
6737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6738 multiarch objects.
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6740 (__libc_ifunc_impl_list): Likewise.
6741
1c62e6d9
AZ
67422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6743
6744 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6746 file.
6747 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6748 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6749 multiarch memchr for PPC32.
6750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6751 multiarch objects.
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6753 (__libc_ifunc_impl_list): Likewise.
6754
87da8bdb
AZ
67552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6756
6757 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6758 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6759 file.
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6761 file.
6762 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6763 file: multiarch mempcpy for PPC32.
6764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6765 multiarch objects.
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6767 (__libc_ifunc_impl_list): Likewise.
6768
20ed4714
AZ
67692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770
6771 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6773 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6775 multiarch bzero for PPC32.
6776 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6777 file.
6778 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6779 file.
6780 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6781 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6782 file: multiarch memset for PPC32.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6785 memset multiarch objects.
6786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6787 (__libc_ifunc_impl_list): Likewise.
6788
ab3e3a46
AZ
67892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6790
6791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6792 file.
6793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6794 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6795 memcmp for PPC32.
6796 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6798 multiarch objects.
6799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6800 (__libc_ifunc_impl_list): Likewise.
6801
930de6f0
AZ
68022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6803
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6807 file.
6808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6809 file.
6810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6811 file.
6812 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6813 multiarch memcpy for PPC32.
6814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6815 multiarch objects.
6816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6817 (__libc_ifunc_impl_list): Likewise.
6818
4c628e00
AZ
68192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6820
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6822 support multiarch for POWER/PPC32.
6823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6824 Likewise.
6825 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6827 Implies file to make multiarch folder appers before the fpu and
6828 default folder for power4 configuration.
6829
f4479220
SP
68302013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6831
6832 * scripts/bench.pl: Append volatile keyword to type.
6833
8517800f
KK
68342013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6835
6836 * sysdeps/sh/sotruss-lib.c: New file.
6837 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6838
180138f1
AZ
68392013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6840
6841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6842
bbf37bdc
JM
68432013-12-05 Joseph Myers <joseph@codesourcery.com>
6844
e47cc4e0
JM
6845 [BZ #6810]
6846 * math/w_tgamma.c: Include <errno.h>.
6847 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6848 * math/w_tgammaf.c: Include <errno.h>.
6849 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6850 * math/w_tgammal.c: Include <errno.h>.
6851 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6852 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6853 underflow. Add more tgamma tests.
6854 * math/auto-libm-test-out: Regenerated.
6855 * sysdeps/i386/fpu/libm-test-ulps: Update.
6856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6857
bbf37bdc
JM
6858 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6859 sin, sinh, tan, tanh, tgamma, y0 and y1.
6860 * math/auto-libm-test-out: Regenerated.
6861 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6862 (TEST_COND_x86): Likewise.
6863 (M_E2l): Remove macro.
6864 (M_E3l): Likewise.
6865 (M_2_SQRT_PIl): Likewise.
6866 (M_SQRT_PIl): Likewise.
6867 (M_1_DIV_El): Likewise.
6868 (log_test_data): Use AUTO_TESTS_f_f.
6869 (log10_test_data): Likewise.
6870 (log1p_test_data): Likewise.
6871 (log2_test_data): Likewise.
6872 (sin_test_data): Likewise.
6873 (sin_tonearest_test_data): Likewise.
6874 (sin_towardzero_test_data): Likewise.
6875 (sin_downward_test_data): Likewise.
6876 (sin_upward_test_data): Likewise.
6877 (sinh_test_data): Likewise.
6878 (sinh_tonearest_test_data): Likewise.
6879 (sinh_towardzero_test_data): Likewise.
6880 (sinh_downward_test_data): Likewise.
6881 (sinh_upward_test_data): Likewise.
6882 (tan_test_data): Likewise.
6883 (tan_tonearest_test_data): Likewise.
6884 (tan_towardzero_test_data): Likewise.
6885 (tan_downward_test_data): Likewise.
6886 (tan_upward_test_data): Likewise.
6887 (tanh_test_data): Likewise.
6888 (tgamma_test_data): Likewise.
6889 (y0_test_data): Likewise.
6890 (y1_test_data): Likewise.
6891 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6892 (special_real_inputs): Add pi/4.
6893 * sysdeps/i386/fpu/libm-test-ulps: Update.
6894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6895
eb5ad6b9
AZ
68962013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6897
6898 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6899 "longjmp_target" static probes.
6900 (__longjmp): Rename to __longjmp_symbol.
6901 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6902 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6903 on which longjmp to generate.
6904 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6905 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6906 probe.
6907 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6908 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6909 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6910 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6911 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6912 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6914 __longjmp_symbol based on which __longjmp to generate.
6915 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6916 probe.
6917 (setjmp): Rename to setjmp_symbol.
6918 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6919 (_setjmp): Rename to _setjmp_symbol.
6920 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6921 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6922 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6923 which setjmp to generate.
6924 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6925 "longjmp_target" static probes.
6926
d136c6dc
SP
69272013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6928
9298ecba
SP
6929 * benchtests/README: Add note about output arguments.
6930 * benchtests/bench-sincos.c: Remove file.
6931 * benchtests/sincos-inputs: New file.
6932 * scripts/bench.pl: Identify output arguments and define
6933 static variables for them.
6934
232983e9
SP
6935 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6936
d136c6dc
SP
6937 [BZ #15941]
6938 * Makefile (INSTALL): Add install-plain.texi as the primary
6939 dependency.
6940 * manual/install-plain.texi: New file.
6941 * manual/install.texi: Include node directive only for
6942 non-plaintext output.
6943
699ff837
JM
69442013-12-04 Joseph Myers <joseph@codesourcery.com>
6945
ab07cea8
JM
6946 * stdlib/longlong.h: Update from GCC.
6947
699ff837
JM
6948 [BZ #6807]
6949 [BZ #15901]
6950 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6951 * math/w_j0f.c (y0f): Likewise.
6952 * math/w_j0l.c (__y0l): Likewise.
6953 * math/w_j1.c (y1): Likewise.
6954 * math/w_j1f.c (y1f): Likewise.
6955 * math/w_j1l.c (__y1l): Likewise
6956 * math/w_jn.c (yn): Likewise.
6957 * math/w_jnf.c (ynf): Likewise.
6958 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6959 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6960 value for Bessel function domain errors outside _SVID_ mode.
6961 Adjust sign of return value for yn (negative integer, 0).
6962 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6963 by zero in return for negative x and set sign appropriately for
6964 negative n.
6965 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6966 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6967 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6968 expectations in error cases.
6969 (y1_test_data): Likewise.
6970 (yn_test_data): Likewise.
6971 * sysdeps/i386/fpu/libm-test-ulps: Update.
6972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6973
5b118558
UW
69742013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6975
6976 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6977 "64" to "64-v1". Add "64-v2".
6978 (abi-64-options): Rename to ...
6979 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6980 (abi-64-condition): Rename to ...
6981 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6982 (abi-64-ld-soname): Rename to ...
6983 (abi-64-v1-ld-soname): ... this.
6984 (abi-64-v2-options): Define.
6985 (abi-64-v2-condition): Likewise.
6986 (abi-64-v2-ld-soname): Likewise.
6987 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6988 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6992
61cd8fe4
UW
69932013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6994 Alan Modra <amodra@gmail.com>
6995
6996 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6997 New versions for use with the ELFv2 ABI.
6998 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6999 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7000 declaration.
7001 (struct La_ppc64v2_retval): Likewise.
7002 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7003 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7004 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7005 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7006 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7007 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7008 Do not save or restore CR.
7009 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7010 (_dl_profile_resolve): Do no save or restore CR. Support extended
7011 return values for ELFv2 ABI. Fix location of FPR return registers.
7012 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7013 updated values for _CALL_ELF == 2.
7014 (La_regs, La_retval, int_retval): Likewise.
7015
8b8a692c
UW
70162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7017
7018 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7019 (FRAME_MIN_SIZE_PARM): Likewise.
7020 (FRAME_BACKCHAIN): Likewise.
7021 (FRAME_CR_SAVE): Likewise.
7022 (FRAME_LR_SAVE): Likewise.
7023 (FRAME_TOC_SAVE): Likewise.
7024 (FRAME_PARM_SAVE): Likewise.
7025 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7026 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7027 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7028 (call_mcount_parm_offset): New macro.
7029 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7030 (PROF): Use symbolic stack frame offsets.
7031 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7032 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7033 Redefine in terms of FRAME_MIN_SIZE.
7034 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7035 (_dl_profile_resolve): Likewise. Update comment.
7036 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7037 symbols stack frame offsets.
7038 (__sigsetjmp): Likewise.
7039 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7040 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7041 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7042 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7043
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7045 (FRAME_BACKCHAIN): Remove.
7046 (FRAME_CR_SAVE): Likewise.
7047 (FRAME_LR_SAVE): Likewise.
7048 (FRAME_COMPILER_DW): Likewise.
7049 (FRAME_LINKER_DW): Likewise.
7050 (FRAME_TOC_SAVE): Likewise.
7051 (FRAME_PARM_SAVE): Likewise.
7052 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7053 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7054 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7056 (CHECK_SP): Use symbolic stack frame offsets.
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7058 zone" instead of caller's parameter save area for temp storage.
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7060 Likewise. Also, use symbolic stack frame offsets.
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7062 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7063 our own stack frame instead of the caller's.
7064 (__socket): Use symbolic stack frame offsets.
7065
122b66de
UW
70662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7067 Alan Modra <amodra@gmail.com>
7068
7069 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7070 Define.
7071 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7072 PPC64_LOCAL_ENTRY_OFFSET): Define.
7073 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7074 New function.
7075 (elf_machine_fixup_plt): Call it.
7076 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7077 reloc arguments.
7078 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7079 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7080 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7081 r2 before calling target.
7082
696caf1d
UW
70832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7084 Alan Modra <amodra@gmail.com>
7085
7086 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7087 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7088 versions of macros to support ELFv2 ABI.
7089 (LOCALENTRY): New macro.
7090 (ENTRY, EALIGN): Use it.
7091 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7092 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7093 fall through into ENTRY entry point.
7094 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7095 Only define if _CALL_ELF != 2.
7096
7097 (elf_machine_matches_host): Verify ABI version matches.
7098 (RTLD_START): Use LOCALENTRY.
7099 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7100 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7101 (PLT_ENTRY_WORDS): New macro.
7102 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7103 (elf_machine_runtime_setup): Support ELFv2 ABI.
7104 (elf_machine_fixup_plt): Likewise.
7105 (elf_machine_plt_conflict): Likewise.
7106 (resolve_ifunc): Likewise.
7107 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7108 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7109 Likewise.
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7111 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7113 (makecontext): Support ELFv2 ABI.
7114 * elf/elf.h (EF_PPC64_ABI): Define.
7115
d31beafa
UW
71162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7117
7118 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7119 New assembler macro.
7120 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7121 [ASSEMBLER] (ENTRY): ... but instead here ...
7122 [ASSEMBLER] (EALIGN): ... and here.
7123 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7124 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7125 [!ASSEMBLER] (ENTRY_2): Use it.
7126 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7127 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7128 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7129 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7130 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7132 Use PPC64_LOAD_FUNCPTR.
7133
b525166b
UW
71342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7135
7136 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7137
7ec07d9a
AM
71382013-12-04 Alan Modra <amodra@gmail.com>
7139
7140 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7141 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7142 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7143 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7144
7145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7146 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7147 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7148 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7149 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7150 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7151
5162e7dd
UW
71522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7153
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7155 (__makecontext): Fix incorrect CFI when backtracing out of
7156 context created via makecontext.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7158 (__setcontext): Fix incorrect CFI during switch to new context.
7159 (__novec_setcontext): Likewise.
7160
19e3372b
OB
71612013-12-04 Ondřej Bílka <neleai@seznam.cz>
7162
7163 [BZ #4772]
7164 * time/strptime_l.c (__strptime_internal): Allow modifiers
7165 in strptime.
7166 * time/tst-strptime.c (day_tests): Add testcase.
7167
7168
ecaf142d
SP
71692013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7170
7171 * scripts/bench.pl: Skip over blank lines.
7172
fbf964ae
PE
71732013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7174
7175 [BZ #926]
7176 * manual/time.texi (Calendar Time): Clarify what timezone functions
7177 use.
7178
fa60a674
AZ
71792013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7180
7181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7182
d674f0ef
OB
71832013-12-04 Ondřej Bílka <neleai@seznam.cz>
7184
7185 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7186 implementation.
7187 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7188 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7189 * debug/memset_chk.c (__memset_chk): Likewise.
7190 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7191 * debug/strncpy_chk.c: Likewise.
7192
17dea188
JM
71932013-12-03 Joseph Myers <joseph@codesourcery.com>
7194
749008ff
JM
7195 [BZ #15268]
7196 [BZ #15425]
7197 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7198 (__ieee754_exp): For possibly underflowing results, check size of
7199 result and force underflow exception if required.
7200 * math/auto-libm-test-in: Add more tests of exp.
7201 * math/auto-libm-test-out: Regenerated.
7202 * sysdeps/i386/fpu/libm-test-ulps: Update.
7203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7204
17dea188
JM
7205 [BZ #16283]
7206 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7207 * math/w_exp2f.c (__exp2f): Likewise.
7208 * math/w_exp2l.c (__exp2l): Likewise.
7209 * math/auto-libm-test-in: Do not allow missing errno on exp2
7210 underflow.
7211 * math/auto-libm-test-out: Regenerated.
7212
b20de2c3
OB
72132013-12-03 Ondřej Bílka <neleai@seznam.cz>
7214
7215 [BZ #16274]
7216 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7217 handle filename validation.
7218 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7219 (do_open): Delete.
7220
d8e2dbe3
JM
72212013-12-03 Joseph Myers <joseph@codesourcery.com>
7222
34e16df5
JM
7223 [BZ #6786]
7224 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7225 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7226 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7227 <float.h>.
7228 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7229 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7230 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7231 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7232 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7233 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7234 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7235 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7236 Add more erfc tests.
7237 * math/auto-libm-test-out: Regenerated.
7238 * sysdeps/i386/fpu/libm-test-ulps: Update.
7239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7240
d8e2dbe3
JM
7241 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7242 exp2, expm1, j0 and j1.
7243 * math/auto-libm-test-out: Regenerated.
7244 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7245 (erfc_test_data): Likewise.
7246 (exp_test_data): Likewise.
7247 (exp_tonearest_test_data): Likewise.
7248 (exp_towardzero_test_data): Likewise.
7249 (exp_downward_test_data): Likewise.
7250 (exp_upward_test_data): Likewise.
7251 (exp10_test_data): Likewise.
7252 (exp2_test_data): Likewise.
7253 (expm1_test_data): Likewise.
7254 (j0_test_data): Likewise.
7255 (j1_test_data): Likewise.
7256 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7257 (input_flag_type): Add flag_xfail_rounding.
7258 (input_flags): Add xfail-rounding.
7259 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7260 (output_for_one_input_case): Handle flag_xfail_rounding.
7261 * sysdeps/i386/fpu/libm-test-ulps: Update.
7262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7263
18d14251
AJ
72642013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7265
3d2e6075 7266 [BZ #16289]
18d14251
AJ
7267 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7268 division by 0.
7269
520d437b
SP
72702013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7271
7272 [BZ #16195]
7273 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7274 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7275 (STAP_PROBE0): New macro.
7276 (STAP_PROBE1): Likewise.
7277 (STAP_PROBE2): Likewise.
7278 (STAP_PROBE3): Likewise.
7279 (STAP_PROBE4): Likewise.
7280
416e0145
OB
72812013-12-02 Ondřej Bílka <neleai@seznam.cz>
7282
7283 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7284
9d17796a
SE
72852013-12-02 Steve Ellcey <sellcey@mips.com>
7286
7287 * benchtests/Makefile (bench): Add sqrt.
7288 (LDLIBS-bench-sqrt): New.
7289 * benchtests/sqrt-input: New.
7290
f524d6a8
PS
72912013-12-02 Pavel Simerda <psimerda@redhat.com>
7292
639a0ef8
PS
7293 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7294 (GAIH_EAI): Likewise.
7295 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7296 (gaih_inet): Likewise.
7297 (getaddrinfo): Don't use GAIH_EAI.
7298
f524d6a8
PS
7299 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7300 (struct gaih): Remove definition.
7301
df3aedaf
SP
73022013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7303
7304 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7305 Use HERRNOP directly.
7306
1ab19dec
AZ
73072013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7308
b42ad38d 7309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7310
176b0c79
JM
73112013-11-30 Joseph Myers <joseph@codesourcery.com>
7312
7313 * math/gen-auto-libm-tests.c (test_functions): Add more
7314 single-argument functions.
7315 (special_fill_pi_2): New function.
7316 (special_fill_minus_pi_2): Likewise.
7317 (special_fill_pi_6): Likewise.
7318 (special_fill_minus_pi_6): Likewise.
7319 (special_fill_pi_3): Likewise.
7320 (special_fill_2pi_3): Likewise.
7321 (special_fill_e): Likewise.
7322 (special_fill_1_e): Likewise.
7323 (special_fill_e_minus_1): Likewise.
7324 (special_real_inputs): Add more special inputs.
7325 (output_for_one_input_case): Do not require ERANGE on underflow to
7326 zero if round-to-nearest result does not underflow to zero, unless
7327 exact results required.
7328 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7329 atan, atanh, cbrt, cos and cosh.
7330 * math/auto-libm-test-out: Regenerated.
7331 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7332 (acos_tonearest_test_data): Likewise.
7333 (acos_towardzero_test_data): Likewise.
7334 (acos_downward_test_data): Likewise.
7335 (acos_upward_test_data): Likewise.
7336 (acosh_test_data): Likewise.
7337 (asin_test_data): Likewise.
7338 (asin_tonearest_test_data): Likewise.
7339 (asin_towardzero_test_data): Likewise.
7340 (asin_upward_test_data): Likewise.
7341 (asinh_test_data): Likewise.
7342 (atan_test_data): Likewise.
7343 (atanh_test_data): Likewise.
7344 (cbrt_test_data): Likewise.
7345 (cos_test_data): Likewise.
7346 (cos_tonearest_test_data): Likewise.
7347 (cos_towardzero_test_data): Likewise.
7348 (cos_downward_test_data): Likewise.
7349 (cos_upward_test_data): Likewise.
7350 (cosh_test_data): Likewise.
7351 (cosh_tonearest_test_data): Likewise.
7352 (cosh_towardzero_test_data): Likewise.
7353 (cosh_downward_test_data): Likewise.
7354 (cosh_upward_test_data): Likewise.
7355 * sysdeps/i386/fpu/libm-test-ulps: Update.
7356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7357
ffb536d0
JM
73582013-11-29 Joseph Myers <joseph@codesourcery.com>
7359
2a77a467
JM
7360 [BZ #6787]
7361 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7362 * math/w_exp10f.c (__exp10f): Likewise.
7363 * math/w_exp10l.c (__exp10l): Likewise.
7364 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7365 errno settings in existing tests.
7366
ea3bc4e8
JM
7367 [BZ #14032]
7368 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7369 precision control set to double precision.
7370 * sysdeps/i386/fpu/w_sqrt.c: New file.
7371 * math/auto-libm-test-in: Add more tests.
7372 * math/auto-libm-test-out: Update.
7373
0712c9d8
JM
7374 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7375 (sqrt_test_tonearest): New function.
7376 (sqrt_towardzero_test_data): New variable.
7377 (sqrt_test_towardzero): New function.
7378 (sqrt_downward_test_data): New variable.
7379 (sqrt_test_downward): New function.
7380 (sqrt_upward_test_data): New variable.
7381 (sqrt_test_upward): New function.
7382 (main): Call the new functions.
7383
ffb536d0
JM
7384 * math/gen-auto-libm-tests.c: New file.
7385 * math/auto-libm-test-in: Likewise.
7386 * math/auto-libm-test-out: New generated file.
7387 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7388 variables.
7389 (%beautify): Add generated representations of zero.
7390 (top level): Set $auto_input and call parse_auto_input.
7391 (beautify): Remove trailing "f" from hex float constants.
7392 (parse_args): Handle XFAIL_TEST.
7393 (convert_condition): New function.
7394 (or_value): Likewise.
7395 (or_cond_value): Likewise.
7396 (generate_testfile): Handle AUTO_TESTS_* lines.
7397 (parse_auto_input): New function.
7398 * math/libm-test.inc (XFAIL_TEST): New macro.
7399 (ERRNO_UNCHANGED): Update value.
7400 (ERRNO_EDOM): Likewise.
7401 (ERRNO_ERANGE): Likewise.
7402 (IGNORE_RESULT): Likewise.
7403 (TEST_COND_flt_32): New macro.
7404 (TEST_COND_dbl_64): Likewise.
7405 (TEST_COND_ldbl_96_intel): Likewise.
7406 (TEST_COND_ldbl_96_m68k): Likewise.
7407 (TEST_COND_ldbl_128): Likewise.
7408 (TEST_COND_ldbl_128ibm): Likewise.
7409 (TEST_COND_long32): Likewise.
7410 (TEST_COND_long64): Likewise.
7411 (TEST_COND_before_rounding): Likewise.
7412 (TEST_COND_after_rounding): Likewise.
7413 (enable_test): Handle XFAIL_TEST flag.
7414 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7415 with finite results.
7416 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7417 auto-libm-test-out.
7418
acd98a8e
AK
74192013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7420 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7421
7422 [BZ #16214]
7423 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7424 __tls_get_addr_internal instead of __tls_get_offset in order to
7425 avoid GOT pointer dependency. Make rtld export
7426 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7427 __tls_get_addr since we are a __tls_get_offset platform.
7428 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7429 GOT pointer being set up before.
7430 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7431
3c1c46a6
JM
74322013-11-28 Joseph Myers <joseph@codesourcery.com>
7433
7475aef5
JM
7434 * manual/math.texi (Errors in Math Functions): Document accuracy
7435 goals.
7436
8bca7cd8
JM
7437 [BZ #15004]
7438 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7439 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7440 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7442 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7444 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7454
91a1f3fe
JM
7455 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7456 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7457 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7458 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7459 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7460 Likewise.
7461 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7462 Likewise.
7463 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7464 Likewise.
7465 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7466 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7467 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7468 atomic-feupdateenv and flt-rounds.
7469 * sysdeps/powerpc/nofpu/Versions (libc): Add
7470 __atomic_feholdexcept, __atomic_feclearexcept,
7471 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7472 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7473 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7474 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7475 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7476 here.
7477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7478 Update.
7479
c5df7609
JM
7480 * manual/arith.texi (FP Exceptions): Document that exceptions may
7481 not be raised when matherr is used.
7482 (Math Error Reporting): Document overflow in directed rounding
7483 modes. Document that errno may not be set when finite values are
7484 returned on overflow. Document intent to set errno on underflow
7485 only for underflow to zero.
7486
3c1c46a6
JM
7487 [BZ #16271]
7488 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7489 round-to-nearest then adjust result for other rounding modes.
7490 * include/fenv.h (fegetround): Use libm_hidden_proto.
7491 * math/fegetround.c (fegetround): Use libm_hidden_def.
7492 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7493 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7494 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7495 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7496 Likewise.
7497 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7498 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7499 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7500 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7501
5a4c6d53
SP
75022013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7503
7504 [BZ #16077]
7505 * nss/Versions (libnss_files): Add
7506 _nss_files_gethostbyname3_r.
7507 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7508 New function.
7509 (HOST_DB_LOOKUP): Remove macro.
7510 (_nss_files_gethostbyname_r): Implement function without the
7511 HOST_DB_LOOKUP macro.
7512 (_nss_files_gethostbyname2_r): Likewise.
7513
897b98ba
OB
75142013-11-28 Ondřej Bílka <neleai@seznam.cz>
7515
7516 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7517
6f476861
UB
75182013-11-26 Uros Bizjak <ubizjak@gmail.com>
7519
7520 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7521 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7522 warning.
7523
bd12ab55
AZ
75242013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7525
7526 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7527 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7528 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7529 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7530 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7531 __fe_nomask_env_priv and attribute_hidden.
7532 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7533 (libc_feupdateenv_test_ppc): Likewise.
7534 (libc_feresetround_ppc): Likewise.
7535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7536 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7537 compat_symbol macro.
7538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7539 (__fe_nomask_env): Likewise.
7540 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7541
52bb6543
OB
75422013-11-26 Ondřej Bílka <neleai@seznam.cz>
7543
7544 * string/Makefile: Remove ifunc tests.
7545 * string/test-string.h: Define TEST_IFUNC.
7546 * string/test-bcopy-ifunc.c: Remove.
7547 * string/test-bzero-ifunc.c: Likewise.
7548 * string/test-memccpy-ifunc.c: Likewise.
7549 * string/test-memchr-ifunc.c: Likewise.
7550 * string/test-memcmp-ifunc.c: Likewise.
7551 * string/test-memcpy-ifunc.c: Likewise.
7552 * string/test-memmem-ifunc.c: Likewise.
7553 * string/test-memmove-ifunc.c: Likewise.
7554 * string/test-mempcpy-ifunc.c: Likewise.
7555 * string/test-memrchr-ifunc.c: Likewise.
7556 * string/test-memset-ifunc.c: Likewise.
7557 * string/test-rawmemchr-ifunc.c: Likewise.
7558 * string/test-stpcpy-ifunc.c: Likewise.
7559 * string/test-stpncpy-ifunc.c: Likewise.
7560 * string/test-strcasecmp-ifunc.c: Likewise.
7561 * string/test-strcasestr-ifunc.c: Likewise.
7562 * string/test-strcat-ifunc.c: Likewise.
7563 * string/test-strchr-ifunc.c: Likewise.
7564 * string/test-strchrnul-ifunc.c: Likewise.
7565 * string/test-strcmp-ifunc.c: Likewise.
7566 * string/test-strcpy-ifunc.c: Likewise.
7567 * string/test-strcspn-ifunc.c: Likewise.
7568 * string/test-strlen-ifunc.c: Likewise.
7569 * string/test-strncasecmp-ifunc.c: Likewise.
7570 * string/test-strncat-ifunc.c: Likewise.
7571 * string/test-strncmp-ifunc.c: Likewise.
7572 * string/test-strncpy-ifunc.c: Likewise.
7573 * string/test-strnlen-ifunc.c: Likewise.
7574 * string/test-strpbrk-ifunc.c: Likewise.
7575 * string/test-strrchr-ifunc.c: Likewise.
7576 * string/test-strspn-ifunc.c: Likewise.
7577 * string/test-strstr-ifunc.c: Likewise.
7578
ab260039 75792013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7580
7581 * benchtests/Makefile: Remove ifunc tests.
7582 * benchtests/bench-string.h: Define TEST_IFUNC.
7583 * benchtests/bench-bcopy-ifunc.c: Remove.
7584 * benchtests/bench-bzero-ifunc.c: Likewise.
7585 * benchtests/bench-memccpy-ifunc.c: Likewise.
7586 * benchtests/bench-memchr-ifunc.c: Likewise.
7587 * benchtests/bench-memcmp-ifunc.c: Likewise.
7588 * benchtests/bench-memcpy-ifunc.c: Likewise.
7589 * benchtests/bench-memmem-ifunc.c: Likewise.
7590 * benchtests/bench-memmove-ifunc.c: Likewise.
7591 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7592 * benchtests/bench-memrchr-ifunc.c: Likewise.
7593 * benchtests/bench-memset-ifunc.c: Likewise.
7594 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7595 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7596 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7597 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7598 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7599 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7600 * benchtests/bench-strcat-ifunc.c: Likewise.
7601 * benchtests/bench-strchr-ifunc.c: Likewise.
7602 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7603 * benchtests/bench-strcmp-ifunc.c: Likewise.
7604 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7605 * benchtests/bench-strcpy-ifunc.c: Likewise.
7606 * benchtests/bench-strcspn-ifunc.c: Likewise.
7607 * benchtests/bench-strlen-ifunc.c: Likewise.
7608 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7609 * benchtests/bench-strncat-ifunc.c: Likewise.
7610 * benchtests/bench-strncmp-ifunc.c: Likewise.
7611 * benchtests/bench-strncpy-ifunc.c: Likewise.
7612 * benchtests/bench-strnlen-ifunc.c: Likewise.
7613 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7614 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7615 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7616 * benchtests/bench-strspn-ifunc.c: Likewise.
7617 * benchtests/bench-strstr-ifunc.c: Likewise.
7618
76192013-11-26 Ondřej Bílka <neleai@seznam.cz>
7620
ab260039
OB
7621 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7622
d1d9eaf4 76232013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7624
d1d9eaf4
OB
7625 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7626 * rt/aio.h: Likewise.
7627 * sysdeps/gnu/bits/utmp.h: Likewise.
7628 * sysdeps/gnu/bits/utmpx.h: Likewise.
7629 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7630 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7631 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7632 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7633 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7634 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7635 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7636 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7637 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7638 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7639 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7640 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7641 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7643 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7644 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7645 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7646 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7647 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7648 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7649 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7650 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7651 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7652 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7653 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7655 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7656 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7658 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7660 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7662 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7663 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7664 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7665 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7666 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7667 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7668 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7669 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7670 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7671
a7624ed9
CD
76722013-11-25 Carlos O'Donell <carlos@redhat.com>
7673
7674 [BZ #16245]
7675 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7676 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7677
63cfe52b
JM
76782013-11-25 Joseph Myers <joseph@codesourcery.com>
7679
7680 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7681 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7682 Likewise.
7683
41e8926a
AZ
76842013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7685
7686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7687 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7688 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7689 (__fesetround): Remove define.
7690 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7691 rounding and exceptions handling.
7692 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7693 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7694 (__fe_nomask_env): Likewise.
7695 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7696 __fegetround instead of fegetround.
7697 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7698 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7699
6851bd4d
RM
77002013-11-21 Roland McGrath <roland@hack.frob.com>
7701
070906ff
RM
7702 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7703 it's there.
7704
6851bd4d
RM
7705 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7706
84ae135d
MI
77072013-11-21 Meador Inge <meadori@codesourcery.com>
7708
7709 [BZ #11157]
7710 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7711 (encrypt_r): Likewise.
7712 * malloc/obstack.h (obstack_free): Likewise.
7713 * posix/unistd.h (encrypt): Likewise.
7714
daf75146
GM
77152013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7716
7717 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7718 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7719 DL_CALL_DT_FINI() that call the functions directly.
7720 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7721 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7722 * elf/dl-fini.c: Likewise.
7723
10ad46bc
OB
77242013-11-20 Ondřej Bílka <neleai@seznam.cz>
7725
7726 * malloc/hooks.c (memalign_check): Add alignment rounding.
7727 * malloc/malloc.c (_mid_memalign): New function.
7728 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7729 Implement by calling _mid_memalign.
7730 * manual/probes.texi (Memory Allocation Probes): Remove
7731 memory_valloc_retry and memory_pvalloc_retry.
7732
f3fd2628
SP
77332013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7734
4712799f
SP
7735 * locale/programs/locarchive.c (open_archive): Add const
7736 qualifier to ARCHIVEFNAME and copy default fname to
7737 DEFAULT_FNAME.
7738
0417b20f
SP
7739 [BZ #15601]
7740 * libio/tst-widetext.input: Rename Oriya to Odia.
7741 * locale/iso-639.def: Likewise.
7742
f3fd2628
SP
7743 * manual/probes.texi (Mathematical Function Probes): Add
7744 documentation for sin, cos, asin and acos probes.
7745 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7746 (__sin32): Add slowasin probe.
7747 (__cos32): Add slowacos probe.
7748 (__mpsin): Add slowsin probe.
7749 (__mpcos): Add slowcos probe.
7750
73c1ce4f
JM
77512013-11-19 Joseph Myers <joseph@codesourcery.com>
7752
7753 [BZ #15483]
7754 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7755 thread-local __sim_exceptions_thread and global
7756 __sim_exceptions_global.
7757 (__sim_disabled_exceptions): Change to thread-local
7758 __sim_disabled_exceptions_thread and global
7759 __sim_disabled_exceptions_global.
7760 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7761 and global __sim_round_mode_global.
7762 (__simulate_exceptions): Use thread-local floating-point state and
7763 set global state from it as needed.
7764 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7765 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7766 __sim_round_mode_thread.
7767 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7768 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7769 and global __sim_exceptions_global.
7770 (__sim_disabled_exceptions): Change to thread-local
7771 __sim_disabled_exceptions_thread and global
7772 __sim_disabled_exceptions_global.
7773 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7774 and global __sim_round_mode_global.
7775 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7776 (SIM_SET_GLOBAL): Likewise.
7777 * sysdeps/powerpc/soft-fp/sfp-machine.h
7778 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7779 __sim_round_mode_thread.
7780 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7781 __sim_disabled_exceptions_thread.
7782 (__sim_exceptions): Change to __sim_exceptions_thread.
7783 (__sim_disabled_exceptions): Change to
7784 __sim_disabled_exceptions_thread.
7785 (__sim_round_mode): Change to __sim_round_mode_thread.
7786 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7787 thread-local floating-point state and set global state from it as
7788 needed.
7789 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7790 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7791 (__sim_disabled_exceptions): Remove extern declaration.
7792 (feenableexcept): Use thread-local floating-point state and set
7793 global state from it as needed.
7794 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7795 extern declaration.
7796 (__sim_disabled_exceptions): Likewise.
7797 (__sim_round_mode): Likewise.
7798 (__fegetenv): Use thread-local floating-point state.
7799 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7800 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7801 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7802 floating-point state and set global state from it as needed.
7803 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7804 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7805 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7806 Likewise.
7807 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7808 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7809 Likewise.
7810 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7811 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7812 Use __sim_round_mode_thread.
7813 * math/test-fenv-tls.c: New file.
7814 * math/Makefile (tests): Add test-fenv-tls.
7815 ($(objpfx)test-fenv-tls): Depend on
7816 $(common-objpfx)nptl/libpthread.so.
7817
b5449b12
AS
78182013-11-19 Andreas Schwab <schwab@suse.de>
7819
7820 * locale/programs/locale.c (show_info): Decode wordarray elements.
7821 * locale/categories.def (LC_MONETARY): Add element for
7822 _NL_MONETARY_CRNCYSTR.
7823 * locale/C-monetary.c (conversion_rate): New variable.
7824 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7825 element.
7826
e186536b
CM
78272013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7828
7829 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7830 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7831
5c349950
PP
78322013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7833
7834 * elf/Makefile (tst-auxv): New test.
7835 * elf/tst-auxv.c: New
7836 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7837
699df45b
JM
78382013-11-18 Joseph Myers <joseph@codesourcery.com>
7839
7840 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7841 (hidden_proto): Caller changed.
7842 (hidden_tls_proto): New macro.
7843 (libc_hidden_tls_proto): Likewise.
7844 (rtld_hidden_tls_proto): Likewise.
7845 (libm_hidden_tls_proto): Likewise.
7846 (libresolv_hidden_tls_proto): Likewise.
7847 (librt_hidden_tls_proto): Likewise.
7848 (libdl_hidden_tls_proto): Likewise.
7849 (libnss_files_hidden_tls_proto): Likewise.
7850 (libnsl_hidden_tls_proto): Likewise.
7851 (libnss_nisplus_hidden_tls_proto): Likewise.
7852 (libutil_hidden_tls_proto): Likewise.
7853
b7589107
OB
78542013-11-18 Ondřej Bílka <neleai@seznam.cz>
7855
7856 [BZ #10253]
7857 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7858 (decompose_rpath): Defer expansion to fillin_rpath.
7859 (_dl_init_paths): Pass linkmap to fillin_rpath.
7860
250c23bd
RS
78612013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7862
7863 * benchtests/Makefile: Add strsep.
7864 * benchtests/bench-strsep.c: New file: strsep benchtest.
7865 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7866
a7931fcf
AS
78672013-11-18 Andreas Schwab <schwab@suse.de>
7868
7869 * locale/programs/locale.c (show_info) [case byte]: Check for
7870 '\377' instead of '\177'.
7871 * locale/C-monetary.c (not_available): Always use "\377".
7872 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7873 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7874 detect unavailable sign_posn locale elements.
7875 * locale/localeconv.c (__localeconv): For grouping and
7876 mon_grouping handle "\177" and "\377" like no grouping.
7877 (INT_ELEM): New macro. Use it to set all numeric members.
7878 * locale/programs/ld-monetary.c (monetary_read)
7879 <tok_mon_grouping>: Normalize single -1 to the empty string.
7880 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7881 Likewise.
7882
728dab0e
OB
78832013-11-07 Ondřej Bílka <neleai@seznam.cz>
7884
7885 [BZ #16055]
7886 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7887 when we match (nil).
7888 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7889
66294491
JM
78902013-11-16 Joseph Myers <joseph@codesourcery.com>
7891
ce665817
JM
7892 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7893 (NO_TEST_INLINE): Update value.
7894 (ERRNO_UNCHANGED): Likewise.
7895 (ERRNO_EDOM): Likewise.
7896 (ERRNO_ERANGE): Likewise.
7897 (IGNORE_RESULT): Likewise.
7898 (check_float_internal): Check signs of NaN results if
7899 TEST_NAN_SIGN used.
7900 (check_complex): Pass TEST_NAN_SIGN flag through to second
7901 check_float_internal call.
7902 (copysign_test_data): Add tests with quiet NaNs as second
7903 argument. Use TEST_NAN_SIGN.
7904 (fabs_test_data): Add test of negative quiet NaN argument. Use
7905 TEST_NAN_SIGN.
7906 (signbit_test_data): Add tests of quiet NaN argument.
7907 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7908
ee1466a9
JM
7909 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7910 $ignore_result.
7911 (parse_args): Handle function results specified as IGNORE.
7912 * math/libm-test.inc (IGNORE_RESULT): New macro.
7913 (check_float_internal): Do not check numerical result if flag
7914 IGNORE_RESULT set.
7915 (check_complex): Pass through IGNORE_RESULT to second
7916 check_float_internal call.
7917 (check_int): Do not check numerical result if flag IGNORE_RESULT
7918 set.
7919 (check_long): Likewise.
7920 (check_bool): Likewise.
7921 (check_longlong): Likewise.
7922 (lrint_test_data): Add tests of infinite and NaN arguments.
7923 (lrint_tonearest_test_data): Likewise.
7924 (lrint_towardzero_test_data): Likewise.
7925 (lrint_downward_test_data): Likewise.
7926 (lrint_upward_test_data): Likewise.
7927 (llrint_test_data): Likewise.
7928 (llrint_tonearest_test_data): Likewise.
7929 (llrint_towardzero_test_data): Likewise.
7930 (llrint_downward_test_data): Likewise.
7931 (llrint_upward_test_data): Likewise.
7932 (lround_test_data): Likewise.
7933 (llround_test_data): Likewise.
7934
14407b7e
JM
7935 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7936 (ERRNO_UNCHANGED): Update value.
7937 (ERRNO_EDOM): Likewise.
7938 (ERRNO_ERANGE): Likewise.
7939 (NO_TEST_INLINE_FLOAT): New macro.
7940 (NO_TEST_INLINE_DOUBLE): Likewise.
7941 (enable_test): New function.
7942 (RUN_TEST_f_f): Check enable_test before running test.
7943 (RUN_TEST_2_f): Likewise.
7944 (RUN_TEST_fff_f): Likewise.
7945 (RUN_TEST_c_f): Likewise.
7946 (RUN_TEST_f_f1): Likewise.
7947 (RUN_TEST_fF_f1): Likewise.
7948 (RUN_TEST_fI_f1): Likewise.
7949 (RUN_TEST_ffI_f1): Likewise.
7950 (RUN_TEST_c_c): Likewise.
7951 (RUN_TEST_cc_c): Likewise.
7952 (RUN_TEST_f_i): Likewise.
7953 (RUN_TEST_f_i_tg): Likewise.
7954 (RUN_TEST_ff_i_tg): Likewise.
7955 (RUN_TEST_f_b): Likewise.
7956 (RUN_TEST_f_b_tg): Likewise.
7957 (RUN_TEST_f_l): Likewise.
7958 (RUN_TEST_f_L): Likewise.
7959 (RUN_TEST_fFF_11): Likewise.
7960 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7961 conditionals.
7962 (cosh_test_data): Likewise.
7963 (exp_test_data): Likewise.
7964 (expm1_test_data): Likewise.
7965 (hypot_test_data): Likewise.
7966 (pow_test_data): Likewise.
7967 (sinh_test_data): Likewise.
7968 (tanh_test_data): Likewise.
7969 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7970 flags argument.
7971
ca07f197
JM
7972 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7973 tests with quiet NaN input and output.
7974 (acosh_test_data): Likewise.
7975 (asin_test_data): Likewise.
7976 (asinh_test_data): Likewise.
7977 (atan_test_data): Likewise.
7978 (atanh_test_data): Likewise.
7979 (atan2_test_data): Likewise.
7980 (cbrt_test_data): Likewise.
7981 (cos_test_data): Likewise.
7982 (cosh_test_data): Likewise.
7983 (erf_test_data): Likewise.
7984 (erfc_test_data): Likewise.
7985 (exp_test_data): Likewise.
7986 (exp10_test_data): Likewise.
7987 (exp2_test_data): Likewise.
7988 (expm1_test_data): Likewise.
7989 (hypot_test_data): Likewise.
7990 (j0_test_data): Likewise.
7991 (j1_test_data): Likewise.
7992 (jn_test_data): Likewise.
7993 (lgamma_test_data): Likewise.
7994 (log_test_data): Likewise.
7995 (log10_test_data): Likewise.
7996 (log1p_test_data): Likewise.
7997 (log2_test_data): Likewise.
7998 (pow_test_data): Likewise.
7999 (scalb_test_data): Likewise.
8000 (sin_test_data): Likewise.
8001 (sincos_test_data): Likewise.
8002 (sinh_test_data): Likewise.
8003 (tan_test_data): Likewise.
8004 (tanh_test_data): Likewise.
8005 (tgamma_test_data): Likewise.
8006 (y0_test_data): Likewise.
8007 (y1_test_data): Likewise.
8008 (yn_test_data): Likewise.
8009
66294491
JM
8010 [BZ #16167]
8011 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8012 argument being NaN and avoid computations with second argument in
8013 that case.
8014 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8015 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8016 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8017
1820b143
CL
80182013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8019
8020 * locale/iso-639.def: Add Chitwani Tharu (the).
8021
714bd261
AS
80222013-11-14 Andreas Schwab <schwab@suse.de>
8023
8024 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8025 word instead of empty string.
8026
7ab44563
AZ
80272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8028
8029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8030 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8032 (__fe_nomask_env): Likewise.
8033
e8470ea2
SE
80342013-11-13 Steve Ellcey <sellcey@mips.com>
8035
8036 * benchtests/bench-timing.h: Include time.h.
8037
17c1d9f0
L
80382013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8039
8040 [BZ #15997]
8041 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8042 to 3.4.0 for x32.
8043 * sysdeps/unix/sysv/linux/configure: Regenerated.
8044
9310c284
JM
80452013-11-13 Joseph Myers <joseph@codesourcery.com>
8046
8047 [BZ #16151]
8048 * stdlib/strtod_l.c (round_and_return): Do not consider
8049 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8050 exponent one less than half the least subnormal exponent.
8051 * stdlib/test-strtod-round-data: Add more tests.
8052 * stdlib/tst-strtod-round.c (tests): Regenerated.
8053
7a2ad8cf
AZ
80542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8055
8056 [BZ #14143]
8057 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8058 (__fe_mask_env): Likewise.
8059 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8060 libm_hidden_proto and add function prototype.
8061 (__fe_mask_env): Add function prototype.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8063 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8065 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8067 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8068
50727aa7
MS
80692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8070
b2f386c1 8071 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8072 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8073
a615be46
MS
80742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8075
8076 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8077 of htab_find_slot().
8078
7ddace62
DM
80792013-11-11 David S. Miller <davem@davemloft.net>
8080
8081 [BZ #16150]
8082 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8083 symbol in the non-vis3 case in static builds.
8084 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8085 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8086 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8087 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8088
9182aa67
JK
80892013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8090
8091 [BZ #387]
8092 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8093 it is empty.
8094
450a2e2d
AZ
80952013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8096
b2f386c1
SP
8097 * benchtests/Makefile: Add bench-strtod.
8098 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8099
8ec3f656
AS
81002013-11-11 Andreas Schwab <schwab@suse.de>
8101
8102 [BZ #16153]
8103 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8104 terminating NUL in key length.
8105
76a9b998
AZ
81062013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8107
8108 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8109 Add artificial ODP entry for vDSO symbol for PPC64.
8110 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8111 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8112
e4368156
OB
81132013-11-07 Ondřej Bílka <neleai@seznam.cz>
8114
8115 [BZ #15374]
8116 * nss/getent.c (services_keys): Recognize services starting with digit.
8117
8d6bb57c
DM
81182013-11-06 David S. Miller <davem@davemloft.net>
8119
8120 [BZ #15985]
8121 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8122 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8123
e256c421
WN
81242013-11-06 Will Newton <will.newton@linaro.org>
8125
8126 * manual/memory.texi (Malloc Examples): Remove register
8127 keyword from examples.
8128
f6e12daa 81292013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8130
f6e12daa 8131 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8132
9d880655
AS
81332013-11-04 Joseph Myers <joseph@codesourcery.com>
8134
fd2f9486 8135 [BZ #6981]
9d880655
AS
8136 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8137 depending on [__GCC_IEC_559 > 0].
8138 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8139 depending on [__GCC_IEC_559_COMPLEX > 0].
8140
ae129d3c
CL
81412013-11-03 Chris Leonard <cjl@sugarlabs.org>
8142
8143 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8144 to iso-639.def.
8145
4a15c2a4 81462013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8147
8148 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8149
8b35e35d
OB
81502013-11-01 Ondřej Bílka <neleai@seznam.cz>
8151
8152 [BZ #16112]
8153 * malloc/malloc (malloc_info): Do not handle first bin as
8154 special case.
8155
1d70fd6c
CL
81562013-11-01 Chris Leonard <cjl@sugarlabs.org>
8157
8158 * locale/iso-639.def: Add Central Nahuatl (nhn).
8159
8c5c2600
BH
81602013-11-01 Bruno Haible <bruno@clisp.org>
8161
8162 [BZ #7003]
8163 * manual/math.texi (BSD Random): Specify range upper bound as
8164 in POSIX.
8165
da5579c2
CL
81662013-10-31 Chris Leonard <cjl@sugarlabs.org>
8167
8168 * locale/iso-639.def: Add Meadow Mari (mhr).
8169
5d30d853
OB
81702013-10-31 Ondřej Bílka <neleai@seznam.cz>
8171
8172 [BZ #14752], [BZ #15763]
8173 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8174 Validate name.
8175 * rt/tst_shm.c: Add test for escaping directory.
8176
a4966c61
AS
81772013-10-31 Andreas Schwab <schwab@suse.de>
8178
8a43e768 8179 [BZ #15917]
a4966c61
AS
8180 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8181 followed by 'x' as part of digit sequence.
8182 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8183
28d708c4
MAP
81842013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8185
8186 [BZ #16037]
8187 * configure.ac: allow GNU Make 4.0 and greater.
8188 * configure: Regenerated.
8189
a56ee40b
WN
81902013-10-30 Will Newton <will.newton@linaro.org>
8191
8192 [BZ #16038]
8193 * malloc/hooks.c (memalign_check): Limit alignment to the
8194 maximum representable power of two.
8195 * malloc/malloc.c (__libc_memalign): Likewise.
8196 * malloc/tst-memalign.c (do_test): Add test for very
8197 large alignment values.
8198 * malloc/tst-posix_memalign.c (do_test): Likewise.
8199
c6e4925d
OB
82002013-10-30 Ondřej Bílka <neleai@seznam.cz>
8201
8202 [BZ #11087]
8203 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8204 (munmap_chunk): Likewise.
8205 (mremap_chunk): Likewise.
8206
82072013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8208
8a43e768 8209 [BZ #15799]
bbea82f7
OB
8210 * stdlib/div.c (div): Remove obsolete code.
8211 * stdlib/ldiv.c (ldiv): Likewise.
8212 * stdlib/lldiv.c (lldiv): Likewise.
8213
977f4b31
SP
82142013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8215
8216 [BZ #16071]
8217 * nss/nss_files/files-XXX.c (get_contents_ret): New
8218 enumerator.
8219 (get_contents): New function.
8220 (internal_getent): Use it. Expand size of LINEBUFLEN.
8221
cb8a6dbd
MF
82222013-10-30 Mike Frysinger <vapier@gentoo.org>
8223
8224 * configure.in: Moved to ...
8225 * configure.ac: ... here. Change reference to configure.in
8226 to configure.ac.
8227 * sysdeps/arm/preconfigure.ac: ... here.
8228 configure.in to configure.ac.
8229 * sysdeps/gnu/configure.in: Moved to ...
8230 * sysdeps/gnu/configure.ac: ... here.
8231 * sysdeps/i386/configure.in: Moved to ...
8232 * sysdeps/i386/configure.ac: ... here.
8233 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8234 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8235 * sysdeps/mach/configure.in: Moved to ...
8236 * sysdeps/mach/configure.ac: ... here.
8237 * sysdeps/mach/hurd/configure.in: Moved to ...
8238 * sysdeps/mach/hurd/configure.ac: ... here.
8239 * sysdeps/powerpc/configure.in: Moved to ...
8240 * sysdeps/powerpc/configure.ac: ... here.
8241 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8242 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8243 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8244 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8245 * sysdeps/s390/s390-32/configure.in: Moved to ...
8246 * sysdeps/s390/s390-32/configure.ac: ... here.
8247 * sysdeps/s390/s390-64/configure.in: Moved to ...
8248 * sysdeps/s390/s390-64/configure.ac: ... here.
8249 * sysdeps/sh/configure.in: Moved to ...
8250 * sysdeps/sh/configure.ac: ... here.
8251 * sysdeps/sparc/configure.in: Moved to ...
8252 * sysdeps/sparc/configure.ac: ... here.
8253 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8254 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8255 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8256 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8257 * sysdeps/x86_64/configure.in: Moved to ...
8258 * sysdeps/x86_64/configure.ac: ... here.
8259 * sysdeps/x86_64/preconfigure.in: Moved to ...
8260 * sysdeps/x86_64/preconfigure.ac: ... here.
8261 * aclocal.m4: Change reference to configure.in to configure.ac.
8262 * config.h.in: Likewise.
8263 * manual/install.texi: Likewise.
8264 * manual/maint.texi: Likewise.
8265 * Makefile: Likewise.
8266 * malloc/Makefile: Likewise.
8267 * nscd/Makefile: Likewise.
8268 * Makeconfig: Change reference to configure.in and
8269 preconfigure.in to configure.ac and preconfigure.ac
8270 respectively.
8271 * INSTALL: Regenerated.
8272 * configure: Likewise.
8273 * sysdeps/gnu/configure: Likewise.
8274 * sysdeps/i386/configure: Likewise.
8275 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8276 * sysdeps/mach/configure: Likewise.
8277 * sysdeps/mach/hurd/configure: Likewise.
8278 * sysdeps/powerpc/configure: Likewise.
8279 * sysdeps/powerpc/powerpc32/configure: Likewise.
8280 * sysdeps/powerpc/powerpc64/configure: Likewise.
8281 * sysdeps/s390/s390-32/configure: Likewise.
8282 * sysdeps/s390/s390-64/configure: Likewise.
8283 * sysdeps/sh/configure: Likewise.
8284 * sysdeps/sparc/configure: Likewise.
8285 * sysdeps/unix/sysv/linux/configure: Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8287 * sysdeps/x86_64/configure: Likewise.
8288 * sysdeps/x86_64/preconfigure: Likewise.
8289
36a4953a
AS
82902013-10-29 Andreas Schwab <schwab@suse.de>
8291
8292 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8293
c79a1204
SP
82942013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8295
dfa1b402
SP
8296 * benchtests/pow-inputs: Add new inputs.
8297
54f73d9c
SP
8298 * benchtests/exp-inputs: Add new inputs.
8299
c79a1204
SP
8300 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8301 conditional check for return value.
8302 (__cos32): Likewise.
8303
67beb545 83042013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8305
8306 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8307 to provide a boost for large inputs with word alignment.
8308 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8309 implementation based on optimized PPC64 strcpy.
8310 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8311 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8312 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8313 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8314
151659f6
OB
83152013-10-25 Ondřej Bílka <neleai@seznam.cz>
8316
482a077e 8317 [BZ #2801]
151659f6
OB
8318 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8319
10b0f26b
OB
83202013-10-25 Ondřej Bílka <neleai@seznam.cz>
8321
8322 [BZ #14876]
8323 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8324 * time/tst-strptime.c (day_tests): Add testcase.
8325
ca42d35e
OB
83262013-10-25 Ondřej Bílka <neleai@seznam.cz>
8327
482a077e 8328 [BZ #14029]
ca42d35e
OB
8329 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8330
52e6d801
FB
83312013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8332
8333 [BZ #16074]
8334 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8335 MAP_FAILED on error.
8336
7cbcdb36
SP
83372013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8338
8339 [BZ #16072]
8340 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8341 heap for large requests.
8342
894f3f10
AM
83432013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8344
8345 [BZ #9954]
8346 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8347 result if the result has no associated interface.
8348 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8349 interface for all 127.X.Y.Z addresses.
8350
b85545a6
CL
83512013-10-24 Chris Leonard <cjl@sugarlabs.org>
8352
8353 * locale/iso-639.def: Add Ligurian (lij)
8354
d1f23d46
OB
83552013-10-21 Ondřej Bílka <neleai@seznam.cz>
8356
8357 [BZ #15825]
8358 * sunrpc/rpc_main.c: Document rpcgen -5.
8359
4db5b08f
MS
83602013-10-19 Michael Stahl <mstahl@redhat.com>
8361
8362 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8363
a471e96a
OB
83642013-10-19 Ondřej Bílka <neleai@seznam.cz>
8365
d1f23d46 8366 [BZ #10278]
a471e96a
OB
8367 * posix/glob.c: Match only directories when trailing slash is present.
8368 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8369 (main): Add testcase.
8370
45c30c61
OB
83712013-10-19 Ondřej Bílka <neleai@seznam.cz>
8372
8373 [BZ #15670]
8374 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8375
484c12fb
CD
83762013-10-18 Carlos O'Donell <carlos@redhat.com>
8377
3d7dc513
CD
8378 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8379 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8380 AUTH_DES and cindex for FIPS 140-2.
8381 (DES Encryption): Add cindex FIPS 46-3.
8382
484c12fb
CD
8383 * locale/locarchive.h (struct locarhandle): Add fname.
8384 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8385 if an optional argument was specified to --list-archive,
8386 otherwise NULL.
8387 * locale/programs/locarchive.c (show_archive_content): Take new
8388 argument fname and pass it via ah.fname to open_archive.
8389 * locale/programs/localedef.h: Update decl.
8390 (open_archive): If AH->fname is non-null, open that file
8391 rather than the default file name, and don't ignore ENOENT.
8392 (create_archive): Set AH.fname to NULL.
8393 (delete_locales_from_archive): Likewise.
8394 (add_locales_to_archive): Likewise.
8395 * locale/programs/locfile.c (write_all_categories): Likewise.
8396
3c8325fb
JM
83972013-10-18 Joseph Myers <joseph@codesourcery.com>
8398 Aldy Hernandez <aldyh@redhat.com>
8399
8400 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8401 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8402 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8403 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8404 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8405 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8406 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8407 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8408 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8409 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8410 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8411 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8412 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8413 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8414 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8415 Likewise.
8416 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8417 Likewise.
8418 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8419 Likewise.
8420 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8421 Likewise.
8422 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8423 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8424 Likewise.
8425 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8426 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8427 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8428 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8429 Likewise.
8430 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8431 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8432 * sysdeps/powerpc/preconfigure: Likewise.
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8434 Likewise.
8435 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8436 Replace contents of file by #include of <fenv_libc.h>.
8437 * sysdeps/powerpc/soft-fp/sfp-machine.h
8438 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8439 and <sys/prctl.h>.
8440 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8447 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8448 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8450 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8453 Allow copysignl PLT reference to be missing.
8454
5abe0682
RS
84552013-10-18 Richard Sandiford <richard@codesourcery.com>
8456 Joseph Myers <joseph@codesourcery.com
8457
8458 [BZ #15948]
8459 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8460 single character.
8461 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8462
c7738d08
SP
84632013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8464
8465 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8466 * elf/tst-tls1.c: Likewise.
8467 * elf/tst-tls10.h: Likewise.
8468 * elf/tst-tls14.c: Likewise.
8469 * elf/tst-tls2.c: Likewise.
8470 * elf/tst-tls3.c: Likewise.
8471 * elf/tst-tls4.c: Likewise.
8472 * elf/tst-tls5.c: Likewise.
8473 * elf/tst-tls6.c: Likewise.
8474 * elf/tst-tls7.c: Likewise.
8475 * elf/tst-tls8.c: Likewise.
8476 * elf/tst-tls9.c: Likewise.
8477 * elf/tst-tlsmod1.c: Likewise.
8478 * elf/tst-tlsmod13.c: Likewise.
8479 * elf/tst-tlsmod13a.c: Likewise.
8480 * elf/tst-tlsmod14a.c: Likewise.
8481 * elf/tst-tlsmod16a.c: Likewise.
8482 * elf/tst-tlsmod16b.c: Likewise.
8483 * elf/tst-tlsmod2.c: Likewise.
8484 * elf/tst-tlsmod3.c: Likewise.
8485 * elf/tst-tlsmod4.c: Likewise.
8486 * elf/tst-tlsmod5.c: Likewise.
8487 * elf/tst-tlsmod6.c: Likewise.
8488
0bfcf2c7
OB
84892013-10-18 Ondřej Bílka <neleai@seznam.cz>
8490
8491 [BZ #12486]
8492 * malloc/malloc.c: remove checks for statistics.
8493
264aad1e
OB
84942013-10-17 Ondřej Bílka <neleai@seznam.cz>
8495
8496 [BZ #15277]
8497 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8498 * inet/tst-network.c: Add testcase.
8499
b957ced8
AS
85002013-10-17 Andreas Schwab <schwab@suse.de>
8501
8502 [BZ #15218]
8503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8504 to determine canonical name.
8505
c5d5d574
OB
85062013-10-17 Ondřej Bílka <neleai@seznam.cz>
8507
8508 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8509 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8532 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8533 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8538 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8566
e5c2c2d0
JM
85672013-10-17 Joseph Myers <joseph@codesourcery.com>
8568
8569 [BZ #16041]
8570 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8571 make result into a quiet NaN.
8572
51ca9e29
JM
85732013-10-16 Joseph Myers <joseph@codesourcery.com>
8574
8575 * soft-fp/adddf3.c: Fix horizontal whitespace.
8576 * soft-fp/addsf3.c: Likewise.
8577 * soft-fp/addtf3.c: Likewise.
8578 * soft-fp/divdf3.c: Likewise.
8579 * soft-fp/divsf3.c: Likewise.
8580 * soft-fp/divtf3.c: Likewise.
8581 * soft-fp/double.h: Likewise.
8582 * soft-fp/eqdf2.c: Likewise.
8583 * soft-fp/eqsf2.c: Likewise.
8584 * soft-fp/eqtf2.c: Likewise.
8585 * soft-fp/extenddftf2.c: Likewise.
8586 * soft-fp/extended.h: Likewise.
8587 * soft-fp/extendsfdf2.c: Likewise.
8588 * soft-fp/extendsftf2.c: Likewise.
8589 * soft-fp/extendxftf2.c: Likewise.
8590 * soft-fp/fixdfdi.c: Likewise.
8591 * soft-fp/fixdfsi.c: Likewise.
8592 * soft-fp/fixdfti.c: Likewise.
8593 * soft-fp/fixsfdi.c: Likewise.
8594 * soft-fp/fixsfsi.c: Likewise.
8595 * soft-fp/fixsfti.c: Likewise.
8596 * soft-fp/fixtfdi.c: Likewise.
8597 * soft-fp/fixtfsi.c: Likewise.
8598 * soft-fp/fixtfti.c: Likewise.
8599 * soft-fp/fixunsdfdi.c: Likewise.
8600 * soft-fp/fixunsdfsi.c: Likewise.
8601 * soft-fp/fixunsdfti.c: Likewise.
8602 * soft-fp/fixunssfdi.c: Likewise.
8603 * soft-fp/fixunssfsi.c: Likewise.
8604 * soft-fp/fixunssfti.c: Likewise.
8605 * soft-fp/fixunstfdi.c: Likewise.
8606 * soft-fp/fixunstfsi.c: Likewise.
8607 * soft-fp/fixunstfti.c: Likewise.
8608 * soft-fp/floatdidf.c: Likewise.
8609 * soft-fp/floatdisf.c: Likewise.
8610 * soft-fp/floatditf.c: Likewise.
8611 * soft-fp/floatsidf.c: Likewise.
8612 * soft-fp/floatsisf.c: Likewise.
8613 * soft-fp/floatsitf.c: Likewise.
8614 * soft-fp/floattidf.c: Likewise.
8615 * soft-fp/floattisf.c: Likewise.
8616 * soft-fp/floattitf.c: Likewise.
8617 * soft-fp/floatundidf.c: Likewise.
8618 * soft-fp/floatundisf.c: Likewise.
8619 * soft-fp/floatunditf.c: Likewise.
8620 * soft-fp/floatunsidf.c: Likewise.
8621 * soft-fp/floatunsisf.c: Likewise.
8622 * soft-fp/floatunsitf.c: Likewise.
8623 * soft-fp/floatuntidf.c: Likewise.
8624 * soft-fp/floatuntisf.c: Likewise.
8625 * soft-fp/floatuntitf.c: Likewise.
8626 * soft-fp/fmadf4.c: Likewise.
8627 * soft-fp/fmasf4.c: Likewise.
8628 * soft-fp/fmatf4.c: Likewise.
8629 * soft-fp/gedf2.c: Likewise.
8630 * soft-fp/gesf2.c: Likewise.
8631 * soft-fp/getf2.c: Likewise.
8632 * soft-fp/ledf2.c: Likewise.
8633 * soft-fp/lesf2.c: Likewise.
8634 * soft-fp/letf2.c: Likewise.
8635 * soft-fp/muldf3.c: Likewise.
8636 * soft-fp/mulsf3.c: Likewise.
8637 * soft-fp/multf3.c: Likewise.
8638 * soft-fp/negdf2.c: Likewise.
8639 * soft-fp/negsf2.c: Likewise.
8640 * soft-fp/negtf2.c: Likewise.
8641 * soft-fp/op-1.h: Likewise.
8642 * soft-fp/op-2.h: Likewise.
8643 * soft-fp/op-4.h: Likewise.
8644 * soft-fp/op-8.h: Likewise.
8645 * soft-fp/op-common.h: Likewise.
8646 * soft-fp/quad.h: Likewise.
8647 * soft-fp/single.h: Likewise.
8648 * soft-fp/soft-fp.h: Likewise.
8649 * soft-fp/sqrtdf2.c: Likewise.
8650 * soft-fp/sqrtsf2.c: Likewise.
8651 * soft-fp/sqrttf2.c: Likewise.
8652 * soft-fp/subdf3.c: Likewise.
8653 * soft-fp/subsf3.c: Likewise.
8654 * soft-fp/subtf3.c: Likewise.
8655 * soft-fp/truncdfsf2.c: Likewise.
8656 * soft-fp/trunctfdf2.c: Likewise.
8657 * soft-fp/trunctfsf2.c: Likewise.
8658 * soft-fp/trunctfxf2.c: Likewise.
8659 * soft-fp/unorddf2.c: Likewise.
8660 * soft-fp/unordsf2.c: Likewise.
8661 * soft-fp/unordtf2.c: Likewise.
8662
9ebb0332
JM
86632013-10-15 Joseph Myers <joseph@codesourcery.com>
8664
8665 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8666 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8667
4b1a6d8b
OB
86682013-10-15 Ondřej Bílka <neleai@seznam.cz>
8669
8670 * elf/dl-libc.c: Clear initfini list after freeing.
8671
1e145589
JM
86722013-10-14 Joseph Myers <joseph@codesourcery.com>
8673
8674 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8675 * soft-fp/addsf3.c: Likewise.
8676 * soft-fp/addtf3.c: Likewise.
8677 * soft-fp/divdf3.c: Likewise.
8678 * soft-fp/divsf3.c: Likewise.
8679 * soft-fp/divtf3.c: Likewise.
8680 * soft-fp/double.h: Likewise.
8681 * soft-fp/eqdf2.c: Likewise.
8682 * soft-fp/eqsf2.c: Likewise.
8683 * soft-fp/eqtf2.c: Likewise.
8684 * soft-fp/extenddftf2.c: Likewise.
8685 * soft-fp/extended.h: Likewise.
8686 * soft-fp/extendsfdf2.c: Likewise.
8687 * soft-fp/extendsftf2.c: Likewise.
8688 * soft-fp/extendxftf2.c: Likewise.
8689 * soft-fp/fixdfdi.c: Likewise.
8690 * soft-fp/fixdfsi.c: Likewise.
8691 * soft-fp/fixdfti.c: Likewise.
8692 * soft-fp/fixsfdi.c: Likewise.
8693 * soft-fp/fixsfsi.c: Likewise.
8694 * soft-fp/fixsfti.c: Likewise.
8695 * soft-fp/fixtfdi.c: Likewise.
8696 * soft-fp/fixtfsi.c: Likewise.
8697 * soft-fp/fixtfti.c: Likewise.
8698 * soft-fp/fixunsdfdi.c: Likewise.
8699 * soft-fp/fixunsdfsi.c: Likewise.
8700 * soft-fp/fixunsdfti.c: Likewise.
8701 * soft-fp/fixunssfdi.c: Likewise.
8702 * soft-fp/fixunssfsi.c: Likewise.
8703 * soft-fp/fixunssfti.c: Likewise.
8704 * soft-fp/fixunstfdi.c: Likewise.
8705 * soft-fp/fixunstfsi.c: Likewise.
8706 * soft-fp/fixunstfti.c: Likewise.
8707 * soft-fp/floatdidf.c: Likewise.
8708 * soft-fp/floatdisf.c: Likewise.
8709 * soft-fp/floatditf.c: Likewise.
8710 * soft-fp/floatsidf.c: Likewise.
8711 * soft-fp/floatsisf.c: Likewise.
8712 * soft-fp/floatsitf.c: Likewise.
8713 * soft-fp/floattidf.c: Likewise.
8714 * soft-fp/floattisf.c: Likewise.
8715 * soft-fp/floattitf.c: Likewise.
8716 * soft-fp/floatundidf.c: Likewise.
8717 * soft-fp/floatundisf.c: Likewise.
8718 * soft-fp/floatunsidf.c: Likewise.
8719 * soft-fp/floatunsisf.c: Likewise.
8720 * soft-fp/floatuntidf.c: Likewise.
8721 * soft-fp/floatuntisf.c: Likewise.
8722 * soft-fp/floatuntitf.c: Likewise.
8723 * soft-fp/fmadf4.c: Likewise.
8724 * soft-fp/fmasf4.c: Likewise.
8725 * soft-fp/fmatf4.c: Likewise.
8726 * soft-fp/gedf2.c: Likewise.
8727 * soft-fp/gesf2.c: Likewise.
8728 * soft-fp/getf2.c: Likewise.
8729 * soft-fp/ledf2.c: Likewise.
8730 * soft-fp/lesf2.c: Likewise.
8731 * soft-fp/letf2.c: Likewise.
8732 * soft-fp/muldf3.c: Likewise.
8733 * soft-fp/mulsf3.c: Likewise.
8734 * soft-fp/multf3.c: Likewise.
8735 * soft-fp/negdf2.c: Likewise.
8736 * soft-fp/negsf2.c: Likewise.
8737 * soft-fp/negtf2.c: Likewise.
8738 * soft-fp/op-1.h: Likewise.
8739 * soft-fp/op-2.h: Likewise.
8740 * soft-fp/op-4.h: Likewise.
8741 * soft-fp/op-8.h: Likewise.
8742 * soft-fp/op-common.h: Likewise.
8743 * soft-fp/quad.h: Likewise.
8744 * soft-fp/single.h: Likewise.
8745 * soft-fp/soft-fp.h: Likewise.
8746 * soft-fp/sqrtdf2.c: Likewise.
8747 * soft-fp/sqrtsf2.c: Likewise.
8748 * soft-fp/sqrttf2.c: Likewise.
8749 * soft-fp/subdf3.c: Likewise.
8750 * soft-fp/subsf3.c: Likewise.
8751 * soft-fp/subtf3.c: Likewise.
8752 * soft-fp/truncdfsf2.c: Likewise.
8753 * soft-fp/trunctfdf2.c: Likewise.
8754 * soft-fp/trunctfsf2.c: Likewise.
8755 * soft-fp/trunctfxf2.c: Likewise.
8756 * soft-fp/unorddf2.c: Likewise.
8757 * soft-fp/unordsf2.c: Likewise.
8758 * soft-fp/unordtf2.c: Likewise.
8759
17c48a60
OB
87602013-10-14 Ondřej Bílka <neleai@seznam.cz>
8761
8762 [BZ #15672]
8763 * misc/error.c (error_tail): Fix possible buffer overflow.
8764
cabba934
OB
87652013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8766
8767 [BZ #13028]
8768 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8769 address.
8770
94bf958a
PM
87712013-10-14 P. J. McDermott <pj@pehjota.net>
8772
8773 [BZ #832]
8774 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8775 testing pipefail option.
8776
71b4dea7
JM
87772013-10-12 Joseph Myers <joseph@codesourcery.com>
8778
8779 * soft-fp/double.h: Indent preprocessor directives inside #if.
8780 * soft-fp/extended.h: Likewise.
8781 * soft-fp/op-2.h: Likewise.
8782 * soft-fp/op-4.h: Likewise.
8783 * soft-fp/op-common.h: Likewise.
8784 * soft-fp/quad.h: Likewise.
8785 * soft-fp/single.h: Likewise.
8786 * soft-fp/soft-fp.h: Likewise.
8787
55602758
YC
87882013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8789
8790 * iconv/iconv_prog.c: Fix typos.
8791 * stdio-common/psiginfo-data.h: Likewise.
8792
9cd83302
RT
87932013-10-12 Reuben Thomas <rrt@sc3d.org>
8794
8795 [BZ #15764]
8796 * locale/setlocale.c: Fix typo.
8797
99fd9f47
JM
87982013-10-12 Joseph Myers <joseph@codesourcery.com>
8799
b7ea74f0
JM
8800 [BZ #16036]
8801 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8802 signaling NaN arguments.
8803 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8804 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8805
8a509447
JM
8806 [BZ #14910]
8807 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8808 unordered operands.
8809 * soft-fp/gesf2.c (__gesf2): Likewise.
8810 * soft-fp/getf2.c (__getf2): Likewise.
8811 * soft-fp/ledf2.c (__ledf2): Likewise.
8812 * soft-fp/lesf2.c (__lesf2): Likewise.
8813 * soft-fp/letf2.c (__letf2): Likewise.
8814
98998e9f
JM
8815 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8816 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8817 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8818 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8819 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8820 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8821 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8822 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8823 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8824 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8825 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8826 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8827 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8828 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8829 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8830 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8831 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8832 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8833 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8834 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8835 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8836 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8837 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8838 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8839 * soft-fp/floattidf.c (__floattidf): Likewise.
8840 * soft-fp/floattisf.c (__floattisf): Likewise.
8841 * soft-fp/floattitf.c (__floattitf): Likewise.
8842 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8843 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8844 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8845 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8846 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8847 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8848 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8849 * soft-fp/gesf2.c (__gesf2): Likewise.
8850 * soft-fp/getf2.c (__getf2): Likewise.
8851 * soft-fp/ledf2.c (__ledf2): Likewise.
8852 * soft-fp/lesf2.c (__lesf2): Likewise.
8853 * soft-fp/letf2.c (__letf2): Likewise.
8854
8edc4a11
JM
8855 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8856 Undefine and redefine.
8857 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8858 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8859 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8860 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8861 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8862 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8863 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8864 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8865 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8866 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8867 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8868 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8869 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8870 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8871 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8872
8399acaf
JM
8873 [BZ #16032]
8874 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8875 without decrementing exponent if mantissa >= that for the
8876 denominator, not >.
8877 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8878 denominator, not >. Decrement exponent in < case instead of
8879 incrementing in >= case.
8880 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8881 without decrementing exponent if mantissa >= that for the
8882 denominator, not >.
8883
99fd9f47
JM
8884 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8885 computing saturated result for unsigned overflow.
8886
10e1cf6b
SP
88872013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8888 Jeff Law <law@redhat.com>
8889
8890 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8891 (atan2Mp): Add systemtap probe marker.
8892 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8893 (__ieee754_log): Add systemtap probe marker.
8894 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8895 (atanMp): Add systemtap probe marker.
8896 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8897 (tanMp): Add systemtap probe marker.
8898 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8899 (__slowexp): Add systemtap probe marker.
8900 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8901 (__slowpow): Add systemtap probe marker.
8902 * manual/probes.texi: Document probes.
8903
3d110c7c
EB
89042013-10-11 Eric Biggers <ebiggers3@gmail.com>
8905
8906 [BZ #15362]
8907 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8908 written.
8909 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8910 written.
8911 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8912 written to buffer but not flushed.
8913 * libio/iofwrite_u.c: Likewise.
8914 * libio/iopadn.c: Return bytes returned even if EOF was
8915 encountered.
8916 * libio/iowpadn.c: Likewise.
8917 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8918 if _IO_padn does not write the whole buffer.
8919 [!COMPILE_WPRINTF] (PAD): Likewise.
8920
75b4202a
DM
89212013-10-10 David S. Miller <davem@davemloft.net>
8922
8923 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8924 directory block.
8925
6c6352e6
JM
89262013-10-10 Joseph Myers <joseph@codesourcery.com>
8927
33b853c3
JM
8928 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8929 instead of FSF address.
8930 * soft-fp/fixdfti.c: Likewise.
8931 * soft-fp/fixsfti.c: Likewise.
8932 * soft-fp/fixtfti.c: Likewise.
8933 * soft-fp/fixunsdfti.c: Likewise.
8934 * soft-fp/fixunssfti.c: Likewise.
8935 * soft-fp/fixunstfti.c: Likewise.
8936 * soft-fp/floattidf.c: Likewise.
8937 * soft-fp/floattisf.c: Likewise.
8938 * soft-fp/floattitf.c: Likewise.
8939 * soft-fp/floatuntidf.c: Likewise.
8940 * soft-fp/floatuntisf.c: Likewise.
8941 * soft-fp/floatuntitf.c: Likewise.
8942 * soft-fp/trunctfxf2.c: Likewise.
8943
6c6352e6
JM
8944 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8945 * soft-fp/fixdfti.c: Likewise.
8946 * soft-fp/fixsfti.c: Likewise.
8947 * soft-fp/fixtfti.c: Likewise.
8948 * soft-fp/fixunsdfti.c: Likewise.
8949 * soft-fp/fixunssfti.c: Likewise.
8950 * soft-fp/fixunstfti.c: Likewise.
8951 * soft-fp/floattidf.c: Likewise.
8952 * soft-fp/floattisf.c: Likewise.
8953 * soft-fp/floattitf.c: Likewise.
8954 * soft-fp/floatuntidf.c: Likewise.
8955 * soft-fp/floatuntisf.c: Likewise.
8956 * soft-fp/floatuntitf.c: Likewise.
8957 * soft-fp/trunctfxf2.c: Likewise.
8958
3bf78b71
DM
89592013-10-10 David S. Miller <davem@davemloft.net>
8960
8961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8962
6f10289e
JM
89632013-10-10 Joseph Myers <joseph@codsourcery.com>
8964
bd878fc0
JM
8965 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8966 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8967 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8968 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8969 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8970 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8971 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8972
6f10289e
JM
8973 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8974 for NaNs before doing comparisons on argument.
8975 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8976 Likewise.
8977
321e2684
WN
89782013-10-10 Will Newton <will.newton@linaro.org>
8979
8980 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8981 passed to _int_memalign does not overflow.
8982
40fefba1
TR
89832013-10-10 Torvald Riegel <triegel@redhat.com>
8984
8985 * scripts/bench.pl: Add include-sources directive.
8986 * benchtests/README: Update documentation.
8987
2ae21ed2
JM
89882013-10-10 Joseph Myers <joseph@codesourcery.com>
8989
dcc2dd3f
JM
8990 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8991 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8992 instead of FP_INIT_ROUNDMODE.
8993 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8994 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8995
2ae21ed2
JM
8996 [BZ #16034]
8997 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8998 copy class of input value.
8999 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9000 not handle exceptions.
9001 * soft-fp/negsf2.c (__negsf2): Likewise.
9002 * soft-fp/negtf2.c (__negtf2): Likewise.
9003 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9004
cb8f9562
JM
90052013-10-09 Joseph Myers <joseph@codesourcery.com>
9006
9007 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9008 semicolon. From Linux kernel.
9009
5b60c59d
AB
90102013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9011
9012 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9013
b86835ca
YC
90142013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9015
9016 [BZ #156]
9017 * manual/socket.texi: Added statement about buffer
9018 for gethostbyname2_r.
9019
e7044ea7
OB
90202013-10-08 Ondřej Bílka <neleai@seznam.cz>
9021
9022 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9023 Use .p2align directive instead, throughout.
9024 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9025 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9026 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9029 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9030 * sysdeps/x86_64/strchr.S: Likewise.
9031 * sysdeps/x86_64/strrchr.S: Likewise.
9032
09544cbc
SP
90332013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9034
88576635
SP
9035 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9036
e7b2d1dd
SP
9037 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9038
09544cbc
SP
9039 * sysdeps/generic/math_private.h (__mpsin1): Remove
9040 declaration.
9041 (__mpcos1): Likewise.
9042 (__mpsin): New argument __range_reduce.
9043 (__mpcos): Likewise.
9044 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9045 (slow): Use __mpsin and __mpcos.
9046 (slow1): Likewise.
9047 (slow2): Likewise.
9048 (sloww): Likewise.
9049 (sloww1): Likewise.
9050 (sloww2): Likewise.
9051 (bsloww): Likewise.
9052 (bsloww1): Likewise.
9053 (bsloww2): Likewise.
9054 (cslow2): Likewise.
9055 (csloww): Likewise.
9056 (csloww1): Likewise.
9057 (csloww2): Likewise.
9058 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9059 range_reduce. Merge in __mpsin1.
9060 (__mpcos): Likewise.
9061 (__mpsin1): Remove.
9062 (__mpcos1): Likewise.
9063
7602d070
JM
90642013-10-07 Joseph Myers <joseph@codesourcery.com>
9065
9066 * locale/loadlocale.c (_nl_intern_locale_data): Use
9067 LOCFILE_ALIGNED_P.
9068 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9069 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9070 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9071 obstack data is appropriately aligned.
9072 (obstack_int32_grow_fast): Likewise.
9073 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9074 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9075 (add_locale_uint32_array): Likewise.
9076
a357259b
SP
90772013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9078
9079 * benchtests/Makefile: Remove ARGLIST and RET variables.
9080 ($(objpfx)bench-%.c): Pass only function name to the script.
9081 * benchtests/README: Update documentation.
9082 * benchtests/acos-inputs: Add new directives.
9083 * benchtests/acosh-inputs: Likewise.
9084 * benchtests/asin-inputs: Likewise.
9085 * benchtests/asinh-inputs: Likewise.
9086 * benchtests/atan-inputs: Likewise.
9087 * benchtests/atanh-inputs: Likewise.
9088 * benchtests/cos-inputs: Likewise.
9089 * benchtests/cosh-inputs: Likewise.
9090 * benchtests/exp-inputs: Likewise.
9091 * benchtests/log-inputs: Likewise.
9092 * benchtests/pow-inputs: Likewise.
9093 * benchtests/rint-inputs: Likewise.
9094 * benchtests/sin-inputs: Likewise.
9095 * benchtests/sinh-inputs: Likewise.
9096 * benchtests/tan-inputs: Likewise.
9097 * benchtests/tanh-inputs: Likewise.
9098 * scripts/bench.pl: Add support for new directives.
9099
9ec1b13d
AM
91002013-10-07 Alan Modra <amodra@gmail.com>
9101
9102 * README: Fix careless merge.
9103
8b7d57cd
AM
91042013-10-05 Alan Modra <amodra@gmail.com>
9105
9106 * NEWS: Mention powerpc64le support and bugs fixed.
9107 * README: Both big-endian and little-endian powerpc64 supported.
9108
7b7bab13
ST
91092013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9110
9111 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9112 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9113 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9114 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9115
d39baad1
RA
91162013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9117
9118 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9119 match prototype.
9120
cd78f7e7
JM
91212013-10-04 Joseph Myers <joseph@codesourcery.com>
9122
29d73d86
JM
9123 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9124 Move -mhard-float appending from
9125 ports/sysdeps/powerpc/powerpc32/Makefile.
9126 [$(with-fp) = yes] (ASFLAGS): Likewise.
9127 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9128 * sysdeps/powerpc/nofpu: Move directory from
9129 ports/sysdeps/powerpc/nofpu.
9130 * sysdeps/powerpc/soft-fp: Move directory from
9131 ports/sysdeps/powerpc/soft-fp.
9132 * sysdeps/powerpc/powerpc32/405: Move directory from
9133 ports/sysdeps/powerpc/powerpc32/405.
9134 * sysdeps/powerpc/powerpc32/440: Move directory from
9135 ports/sysdeps/powerpc/powerpc32/440.
9136 * sysdeps/powerpc/powerpc32/464: Move directory from
9137 ports/sysdeps/powerpc/powerpc32/464.
9138 * sysdeps/powerpc/powerpc32/476: Move directory from
9139 ports/sysdeps/powerpc/powerpc32/476.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9141 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9143 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9145 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9147 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9149 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9150 * README: Update for powerpc-*-linux-gnu software floating point
9151 support in libc.
9152
e246b347
JM
9153 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9154 case to powerpc/powerpc32*.
9155 * sysdeps/unix/sysv/linux/configure: Regenerated.
9156
89c2003e
JM
9157 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9158 (_FPU_MASK_OM): Define as 0x04.
9159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9161 0x00c10080.
9162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9163 0x0000003c.
9164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9165
cd78f7e7
JM
9166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9167 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9168 getcontext_e500.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9170 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9171 setcontext_e500.
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9173 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9174 and setcontext_e500.
9175
c755294d
CL
91762013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9177
9178 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9179
e16d221c
SP
91802013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9181
9182 * manual/threads.texi (Default Thread Attributes): Fix typo.
9183
215c7d43
WN
91842013-10-04 Will Newton <will.newton@linaro.org>
9185
9186 * malloc/Makefile: Add tst-memalign.
9187 * malloc/tst-memalign.c: New file.
9188
27d0461b
WN
9189 * malloc/tst-posix_memalign.c: Add comments.
9190 (do_test): Add comments and call free on all potentially
9191 allocated pointers. Add space after cast.
9192
1bc92709
WN
9193 * malloc/tst-pvalloc.c: Add comments.
9194 (do_test): Add comments and call free on all potentially
9195 allocated pointers. Remove duplicate check for NULL pointer.
9196 Add space after cast.
9197
66a9be9d
WN
9198 * malloc/tst-valloc.c: Add comments.
9199 (do_test): Add comments and call free on all potentially
9200 allocated pointers. Remove duplicate check for NULL pointer.
9201 Add space after cast.
9202
4cb81307
AM
92032013-10-04 Alan Modra <amodra@gmail.com>
9204
9205 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9206 Use stdint types in rather than __attribute__((mode())).
9207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9208
f8e3e9f3
AM
92092013-10-04 Alan Modra <amodra@gmail.com>
9210
9211 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9212 Correct handling of unaligned relocs for little-endian.
9213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9214
8f9ebb08
AM
92152013-10-04 Alan Modra <amodra@gmail.com>
9216
9217 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9218 * configure: Regenerate.
9219 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9220 * shlib-versions: Likewise.
9221
0edf96c2
AM
92222013-10-04 Alan Modra <amodra@gmail.com>
9223
9224 * string/tester.c (test_memrchr): Increment reported test cycle.
9225
e0f7a380
AM
92262013-10-04 Alan Modra <amodra@gmail.com>
9227
9228 * string/test-memcpy.c (do_one_test): When reporting errors, print
9229 string address and don't overrun end of string.
9230
466b0393
AM
92312013-10-04 Alan Modra <amodra@gmail.com>
9232
9233 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9234 insrdi. Make better use of reg selection to speed exit slightly.
9235 Schedule entry path a little better. Remove useless "are we done"
9236 checks on entry to main loop. Handle wrapping around zero address.
9237 Correct main loop count. Handle single left-over word from main
9238 loop inline rather than by using loop_small. Remove extra word
9239 case in loop_small caused by wrong loop count. Add little-endian
9240 support.
9241 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9242 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9243 cache hint.
9244 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9245 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9246 support. Avoid rlwimi.
9247 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9248
3be87c77
AM
92492013-10-04 Alan Modra <amodra@gmail.com>
9250
9251 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9252 insrdi. Formatting.
3be87c77
AM
9253 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9254 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9255 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9256 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9257 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9258 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9259
759cfef3
AM
92602013-10-04 Alan Modra <amodra@gmail.com>
9261
9262 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9263 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9264 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9266 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9267 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9268 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9269 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9270 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9271 use of regs. Use power7 mtocrf. Tidy function tails.
9272
fe6e95d7
AM
92732013-10-04 Alan Modra <amodra@gmail.com>
9274
9275 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9276 Formatting. Consistently use rXXX register defines or rN defines.
9277 Use early exit labels that avoid restoring unused non-volatile regs.
9278 Make cr field use more consistent with rWORDn compares. Rename
9279 regs used as shift registers for unaligned loop, using rN defines
9280 for short lifetime/multiple use regs.
9281 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9282 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9283 addi 1,1,64 to pop stack frame. Simplify return value code.
9284 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9285
664318c3
AM
92862013-10-04 Alan Modra <amodra@gmail.com>
9287
9288 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9289 support. Correct typos, formatting. Optimize tail. Use insrdi
9290 rather than rlwimi.
9291 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9292 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9293 little-endian support. Correct typos.
9294 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9295 rather than rlwimi.
9296 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9297 in loop and entry code to keep "and." results.
9298 (strchr): Add little-endian support. Comment. Move cntlzd
9299 earlier in tail.
9300 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9301
43b84013
AM
93022013-10-04 Alan Modra <amodra@gmail.com>
9303
9304 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9305 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9306 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9307 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9308
8a7413f9
AM
93092013-10-04 Alan Modra <amodra@gmail.com>
9310
9311 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9312 (rTMP): Define as r11.
9313 (strcmp): Add little-endian support. Optimise tail.
9314 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9315 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9316 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9317 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9318 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9319 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9320 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9321
33ee81de
AM
93222013-10-04 Alan Modra <amodra@gmail.com>
9323
9324 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9325 little-endian support. Remove unnecessary "are we done" tests.
9326 Handle "s" wrapping around zero and extremely large "size".
9327 Correct main loop count. Handle single left-over word from main
9328 loop inline rather than by using small_loop. Correct comments.
9329 Delete "zero" tail, use "end_max" instead.
9330 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9331
db9b4570
AM
93322013-10-04 Alan Modra <amodra@gmail.com>
9333
9334 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9335 support. Don't branch over align.
9336 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9337 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9338 support. Rearrange tmp reg use to suit. Comment.
9339 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9340
f7c399cf
AM
93412013-10-04 Alan Modra <amodra@gmail.com>
9342
9343 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9344
0b2c2ace
AM
93452013-10-04 Alan Modra <amodra@gmail.com>
9346
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9348 conditional form of branch and link when obtaining pc.
9349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9350
02f04a6c
AM
93512013-10-04 Alan Modra <amodra@gmail.com>
9352
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9354 HIWORD/LOWORD.
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9357
9b874b2f
AM
93582013-10-04 Alan Modra <amodra@gmail.com>
9359
9360 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9361 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9362 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9364 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9365 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9366 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9367 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9368 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9369 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9370
be1e5d31
AB
93712013-10-04 Anton Blanchard <anton@au1.ibm.com>
9372 Alistair Popple <alistair@ozlabs.au.ibm.com>
9373 Alan Modra <amodra@gmail.com>
9374
9375 [BZ #15723]
9376 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9377 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9378 _dl_hwcap access for little-endian.
9379 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9380 destroy vmx regs when saving unaligned.
9381 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9382 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9383 destroy vmx regs when saving unaligned.
9384
fef13a78
AM
93852013-10-04 Alan Modra <amodra@gmail.com>
9386
9387 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9388 Don't use a union to pack hi/low value.
9389
76a66d51
AB
93902013-10-04 Anton Blanchard <anton@au1.ibm.com>
9391
9392 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9393 for little-endian.
9394 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9395 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9396 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9397 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9399
6a31fe7f
AM
94002013-10-04 Alan Modra <amodra@gmail.com>
9401
9402 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9403 constants to usual value for .cst8 section, and remove redundant
9404 high address load.
9405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9406 constant for 0x1p52. Load little-endian words of double from
9407 correct stack offsets.
9408
7b88401f
AM
94092013-10-04 Alan Modra <amodra@gmail.com>
9410
9411 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9412 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9413 words of double from correct stack offsets.
9414 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9415 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9416 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9417 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9418 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9419 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9420 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9421 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9423 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9424 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9425 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9426 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9427 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9428 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9429 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9430 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9431
9c008155
AM
94322013-10-04 Alan Modra <amodra@gmail.com>
9433
9434 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9435 64-bit int/double union.
9436 (_FPU_SETCW): Likewise.
9437 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9438 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9439
da13146d
AM
94402013-10-04 Alan Modra <amodra@gmail.com>
9441
9442 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9443 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9444
603e8410
AM
94452013-10-04 Alan Modra <amodra@gmail.com>
9446
9447 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9448 use vector int constants.
9449 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9450
4a28b3ca
AB
94512013-10-04 Anton Blanchard <anton@au1.ibm.com>
9452
9453 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9454 array with long long.
9455 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9456 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9457 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9458 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9459 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9460 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9461 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9462 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9463 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9464 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9465 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9466 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9467 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9468
2ca85d2b
AB
94692013-10-04 Anton Blanchard <anton@au1.ibm.com>
9470
9471 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9472 (__signbit): Likewise. Correct for little-endian.
9473 (__signbitl): Call __signbit.
9474 (lrint): Correct for little-endian.
9475 (lrintf): Call lrint.
9476
62a728ae
AM
94772013-10-04 Alan Modra <amodra@gmail.com>
9478
9479 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9480 union 32-bit int array member with 64-bit int array.
9481 (t515, tm256): Double rather than long double.
9482 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9483
32c301df
AM
94842013-10-04 Alan Modra <amodra@gmail.com>
9485
9486 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9487 Delete.
9488 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9490 version of math_ldbl.h.
9491
650ef4bd
AM
94922013-10-04 Alan Modra <amodra@gmail.com>
9493
9494 [BZ #15734], [BZ #15735]
9495 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9496 all uses of ieee875 long double macros and unions. Simplify test
9497 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9498 ldbl_extract_mantissa value for ix,iy exponents. Properly
9499 normalize after ldbl_extract_mantissa, and don't add hidden bit
9500 already handled. Don't treat low word of ieee854 mantissa like
9501 low word of IBM long double and mask off bit when testing for
9502 zero.
9503 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9504 all uses of ieee875 long double macros and unions. Simplify tests
9505 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9506 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9507 two1022, instead use their values. Recognise that tests for large
9508 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9509 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9510 Rewrite all uses of ieee875 long double macros and unions. Simplify
9511 test for 0.0L and nan. Correct negation.
9512 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9513 ieee875 long double macros and unions. Correct output for large
9514 magnitude x. Correct absolute value calculation.
9515 (__erfcl): Likewise.
9516 * math/libm-test.inc: Add tests for errors discovered in IBM long
9517 double versions of fmodl, remainderl, erfl and erfcl.
9518
765714ca
AM
95192013-10-04 Alan Modra <amodra@gmail.com>
9520
9521 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9522 all uses of ieee854 long double macros and unions. Simplify tests
9523 for long doubles that are fully specified by the high double.
9524 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9525 Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9527 Remove dead code too.
9528 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9529 (__ieee754_ynl): Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9533 Remove dead code too.
9534 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9535 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9538 Simplify.
9539 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9540 Simplify.
9541 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9544 Comment on variable precision.
9545 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9547 Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9549 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9552 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9553
4ebd120c
AM
95542013-10-04 Alan Modra <amodra@gmail.com>
9555
9556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9557 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9558 all uses of ieee854 long double macros and unions.
9559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9561 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9565 Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9571 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9572 Simplify sign and nan test too.
9573 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9575 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9576 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9577 Likewise.
9578 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9579 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9580 Likewise.
9581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9582 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9583 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9584 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9585 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9587
1b6adf88
AM
95882013-10-04 Alan Modra <amodra@gmail.com>
9589
9590 * stdio-common/printf_size.c (__printf_size): Don't use
9591 union ieee854_long_double in fpnum union.
9592 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9593 signbit macro to retrieve sign from long double.
9594 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9595 retrieve sign from long double.
9596 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9597 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9599 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9600 * math/test-misc.c (main): Don't use union ieee854_long_double.
9601
4cf69995
AM
96022013-10-04 Alan Modra <amodra@gmail.com>
9603
9604 [BZ #15680]
9605 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9606 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9607 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9608 calculation. Remove unnecessary test for denormal exponent.
9609 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9610 Correct handling of denormals. Avoid undefined shift behaviour.
9611 Correct normalisation of low mantissa when low double is denormal.
9612 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9613 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9614 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9615 Correct normalisation of low mantissa. Test for overflow of high
9616 mantissa and normalise.
9617 (ldbl_nearbyint): Use more readable constant for two52.
9618 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9619 (__mpn_construct_long_double): Fix test for overflow of high
9620 mantissa and correct normalisation. Avoid undefined shift.
9621
9605ca6c
AM
96222013-10-04 Alan Modra <amodra@gmail.com>
9623
9624 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9625 (union ibm_extended_long_double): Define as an array of ieee754_double.
9626 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9627 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9628 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9629 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9633 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9637
975569d0
JM
96382013-10-03 Joseph Myers <joseph@codesourcery.com>
9639
d3d23756
JM
9640 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9641 page size instead of calling getpagesize.
9642
975569d0
JM
9643 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9644 (LOCFILE_ALIGN_MASK): Likewise.
9645 (LOCFILE_ALIGN_UP): Likewise.
9646 (LOCFILE_ALIGNED_P): Likewise.
9647 * locale/programs/ld-collate.c (collate_output): Use the new
9648 macros instead of __alignof__ (int32_t).
9649 * locale/weight.h (findidx): Likewise.
9650
b1fe1f2b
OB
96512013-10-03 Ondřej Bílka <neleai@seznam.cz>
9652
9653 [BZ #431]
9654 * manual/string.texi: Fix strncat and wcsncat.
9655
5f855e35
BM
96562013-10-03 Brooks Moses <bmoses@google.com>
9657
9658 [BZ #15915]
9659 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9660 * Makerules: ...here, and adjust associated comments.
9661
3cef6009
WN
96622013-10-02 Will Newton <will.newton@linaro.org>
9663
9664 * malloc/Makefile: Add tst-pvalloc.
9665 * malloc/tst-pvalloc.c: New file.
9666
7815420b
WN
96672013-10-02 Will Newton <will.newton@linaro.org>
9668
9669 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9670 improve test coverage.
9671
4868b204
WN
96722013-10-02 Will Newton <will.newton@linaro.org>
9673
9674 * malloc/Makefile: Add tst-posix_memalign.
9675 * malloc/tst-posix_memalign.c: New file.
9676
29c793b3
EB
96772013-10-01 Eric Blake <eblake@redhat.com>
9678
9679 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9680 Use __THROWNL rather than __THROW on static functions.
9681
fd967522
PM
96822013-09-30 Petr Machata <pmachata@redhat.com>
9683
9684 * elf/elf.h (R_AARCH64_ABS16): New macro.
9685 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9686 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9687 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9688 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9689 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9690 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9691 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9692 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9693 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9694 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9695 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9696 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9697 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9698 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9699 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9700 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9701 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9702 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9703 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9704 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9705 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9706 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9707 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9708 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9709 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9710 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9711 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9712 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9713 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9714 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9715 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9716 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9717 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9718 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9719 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9720 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9721 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9722 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9723 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9724 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9725 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9726 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9727 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9728 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9729 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9730 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9731 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9732 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9733 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9734 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9735 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9736 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9737 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9738 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9739 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9740 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9741 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9742 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9743 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9744 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9745 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9746 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9747 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9748 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9749 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9750 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9751 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9752 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9753 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9754 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9755 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9756 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9757 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9758 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9759 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9760 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9761 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9762 (R_AARCH64_TLSDESC_LDR): Likewise.
9763 (R_AARCH64_TLSDESC_ADD): Likewise.
9764 (R_AARCH64_TLSDESC_CALL): Likewise.
9765
b2179107
AS
97662013-09-30 Andreas Schwab <schwab@suse.de>
9767
9768 [BZ #15048]
9769 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9770 the nss database lookup.
9771 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9773
47f28d0a
MF
97742013-09-28 Mike Frysinger <vapier@gentoo.org>
9775
9776 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9777
97782013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9779
9780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9781 ${Bash-specific parameter/pattern/string} parameter expansion.
9782 * sysdeps/unix/make-syscalls.sh: Likewise.
9783
f4518a17
KK
97842013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9785
9786 * sysdeps/sh/stackguard-macros.h: New file.
9787
dc1a95c7
OB
97882013-09-26 Ondřej Bílka <neleai@seznam.cz>
9789
9790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9792 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9793 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9794 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9795 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9796
5ebbff8f
AZ
97972013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9798
9799 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9800 Fix thread ID register.
9801
4fd2cf9f
JM
98022013-09-25 Joseph Myers <joseph@codesourcery.com>
9803
9804 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9805 [POSIX || UNIX98]: Require rather than permitting all symbols from
9806 <time.h>.
9807 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9808 element of struct sched_param.
9809 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9810 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9811 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9812 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9813 constant.
9814
12c22bc4
OL
98152013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9816
9817 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9818 argument calculation.
9819
a03d8ea7
JM
98202013-09-24 Joseph Myers <joseph@codesourcery.com>
9821
9822 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9823 Expect macro.
9824 [POSIX] (pthread_attr_t): Do not require type.
9825 [POSIX] (pthread_cond_t): Likewise.
9826 [POSIX] (pthread_condattr_t): Likewise.
9827 [POSIX] (pthread_key_t): Likewise.
9828 [POSIX] (pthread_mutex_t): Likewise.
9829 [POSIX] (pthread_mutexattr_t): Likewise.
9830 [POSIX] (pthread_once_t): Likewise.
9831 [POSIX] (pthread_t): Likewise.
9832 [POSIX-based standards] (pthread_atfork): Expect function.
9833
6055173a
JM
98342013-09-24 Joseph Myers <joseph@codesourcery.com>
9835 Richard Sandiford <richard@codesourcery.com>
9836
9837 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9838 (swap_endianness_p): New extern variable.
9839 (set_big_endian): New inline function.
9840 (maybe_swap_uint32): Likewise.
9841 (maybe_swap_uint32_array): Likewise.
9842 (maybe_swap_uint32_obstack): Likewise.
9843 * locale/programs/locfile.c: Include <stdbool.h>.
9844 (swap_endianness_p): New variable.
9845 (add_locale_uint32): Call maybe_swap_uint32.
9846 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9847 (write_locale_data): Call maybe_swap_uint32_array.
9848 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9849 maybe_swap_uint32.
9850 (obstack_int32_grow_fast): Likewise.
9851 (output_weightwc): Call maybe_swap_uint32_obstack.
9852 (collate_output): Likewise.
9853 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9854 (OPT_LITTLE_ENDIAN): Likewise.
9855 (options): Add --little-endian and --big-endian options.
9856 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9857 * locale/programs/locarchive.c: Include "locfile.h".
9858 (GET): New macro.
9859 (SET): Likewise.
9860 (INC): Likewise.
9861 (create_archive): Use the new macros to access fields of
9862 structures directly mapped from or written to locale archives.
9863 (oldlocrecentcmp): Likewise.
9864 (enlarge_archive): Likewise.
9865 (insert_name): Likewise.
9866 (add_alias): Likewise.
9867 (add_locale): Likewise.
9868 (delete_locales_from_archive): Likewise.
9869 (show_archive_content): Likewise.
9870 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9871 locale data.
9872
39bf0bb4
RM
98732013-09-24 Roland McGrath <roland@hack.frob.com>
9874
9875 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9876 http://www.gnu.org/doc/freemanuals.texi.
9877 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9878
f02eed10
WN
98792013-09-24 Will Newton <will.newton@linaro.org>
9880
9881 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9882 macro.
9883
a3a6c312
JM
98842013-09-23 Joseph Myers <joseph@codesourcery.com>
9885
9886 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9887 unsigned char.
9888
107375ac
MR
98892013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9890
9891 * manual/threads.texi (POSIX Threads): Fix a typo.
9892
141f3a77
SP
98932013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9894
303e567a
SP
9895 [BZ #14547]
9896 * string/tst-strcoll-overflow.c: New test case.
9897 * string/Makefile (xtests): Add tst-strcoll-overflow.
9898 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9899 cache if string sizes may cause integer overflow.
9900
141f3a77
SP
9901 [BZ #14547]
9902 * string/strcoll_l.c (coll_seq): New members rule, idx,
9903 save_idx and back_us.
9904 (get_next_seq_nocache): New function.
9905 (do_compare_nocache): New function.
9906 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9907 when malloc fails.
9908
c61b4d41
CD
99092013-09-23 Carlos O'Donell <carlos@redhat.com>
9910
0b1f8e35
CD
9911 [BZ #15754]
9912 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9913 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9914 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9915
c61b4d41
CD
9916 [BZ #15754]
9917 * elf/Makefile (tests): Add tst-ptrguard1.
9918 (tests-static): Add tst-ptrguard1-static.
9919 (tst-ptrguard1-ARGS): Define.
9920 (tst-ptrguard1-static-ARGS): Define.
9921 * elf/tst-ptrguard1.c: New file.
9922 * elf/tst-ptrguard1-static.c: New file.
9923 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9924 * sysdeps/i386/stackguard-macros.h: Likewise.
9925 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9926 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9927 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9928 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9929 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9930 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9931
99322013-09-23 Hector Marco <hecmargi@upv.es>
9933 Ismael Ripoll <iripoll@disca.upv.es>
9934 Carlos O'Donell <carlos@redhat.com>
9935
9936 [BZ #15754]
9937 * sysdeps/generic/stackguard-macros.h: Define
9938 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9939 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9940 Define __pointer_chk_guard_local.
9941 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9942 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9943
f5f4e7b4
VV
99442013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9945
9946 [BZ #15859]
9947 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9948
5bb43a43
AS
99492013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9950
9951 * include/string.h (__ffs): Declare as hidden.
9952 * string/ffs.c (__ffs): Define as hidden.
9953 * sysdeps/i386/ffs.c (__ffs): Likewise.
9954 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9955 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9956 * sysdeps/s390/ffs.c (__ffs): Likewise.
9957 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9958
3ea5be54
AO
99592013-09-20 Alexandre Oliva <aoliva@redhat.com>
9960
ffb89e53
AO
9961 * NEWS: Mention malloc probes.
9962
322dea08
AO
9963 * malloc/arena.c (new_heap): New memory_heap_new probe.
9964 (grow_heap): New memory_heap_more probe.
9965 (shrink_heap): New memory_heap_less probe.
9966 (heap_trim): New memory_heap_free probe.
9967 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9968 (systrim): New memory_sbrk_less probe.
9969 * manual/probes.texi: Document them.
9970
655673f3
AO
9971 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9972 * manual/probes.texi: Document it.
9973
35fed6f1
AO
9974 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9975 (__libc_realloc): Add memory_realloc_retry probe.
9976 (__libc_memalign): Add memory_memalign_retry probe.
9977 (__libc_valloc): Add memory_valloc_retry probe.
9978 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9979 (__libc_calloc): Add memory_calloc_retry probe.
9980 * manual/probes.texi: Document them.
9981
6999d38c
AO
9982 * malloc/arena.c (get_free_list): Add probe
9983 memory_arena_reuse_free_list.
9984 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9985 and memory_arena_reuse.
9986 (arena_get2) [!PER_THREAD]: Likewise.
9987 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9988 memory_arena_reuse_realloc.
9989 * manual/probes.texi: Document them.
9990
0653427f
AO
9991 * malloc/malloc.c (__libc_free): Add
9992 memory_mallopt_free_dyn_thresholds probe.
9993 (__libc_mallopt): Add multiple memory_mallopt probes.
9994 * manual/probes.texi: Document them.
9995
3ea5be54
AO
9996 * malloc/malloc.c: Include stap-probe.h.
9997 (__libc_mallopt): Add memory_mallopt probe.
9998 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9999 * manual/probes.texi: New.
10000 * manual/Makefile (chapters): Add probes.
10001 * manual/threads.texi: Set next node.
10002
e35696c3 100032013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10004
e35696c3
CL
10005 [BZ #15963, #13985]
10006 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10007 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10008 Add `Chinese' to `nan' entry name.
10009
4aafb73c
SP
100102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10011
10012 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10013 (POLYNOMIAL): Likewise.
10014 (TAYLOR_SINCOS): Likewise.
10015 (TAYLOR_SLOW): Likewise.
10016 (__sin): Use TAYLOR_SINCOS.
10017 (__cos): Likewise.
10018 (slow): Use TAYLOR_SLOW.
10019 (sloww): Likewise.
10020 (bsloww): Likewise.
10021 (csloww): Likewise.
10022
d84f25c7
LD
100232013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10024
10025 * stdlib/strtod_l.c: Fix buffer overrun.
10026
5eea0404
SP
100272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10028
7849ff93
SP
10029 * benchtests/Makefile (bench): Add sincos.
10030 * benchtests/bench-sincos.c: New file.
10031
cfa3c886
SP
10032 * math/libm-test.inc (cos_test_data): New test inputs.
10033 (sin_test_data): Likewise.
10034
b348e1e3
SP
10035 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10036 macro.
10037 (__sin): Use it.
10038 (__cos): Likewise.
10039 (slow1): Likewise.
10040 (slow2): Likewise.
10041 (sloww1): Likewise.
10042 (sloww2): Likewise.
10043 (bsloww1): Likewise.
10044 (bsloww2): Likewise.
10045 (cslow2): Likewise.
10046 (csloww1): Likewise.
10047 (csloww2): Likewise.
10048
6cce25f8
SP
10049 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10050 function.
10051 (__sin): Use it.
10052 (__cos): Likewise.
10053
5eea0404
SP
10054 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10055 gotos.
10056 (__cos): Likewise.
10057
9c21573c
MR
100582013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10059
10060 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10061 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10062 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10063 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10064 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10065 * elf/cache.c (print_entry): Handle the new cache flags.
10066
24d22e65
JM
100672013-09-18 Joseph Myers <joseph@codesourcery.com>
10068 Aldy Hernandez <aldyh@redhat.com>
10069
10070 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10071 Change condition to [_SOFT_FLOAT].
10072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10084 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10087 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10088 declaration.
10089
d13ef066
JM
100902013-09-18 Joseph Myers <joseph@codesourcery.com>
10091
2e071de0
JM
10092 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10093 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10094 (__longjmp): Use LOAD_GP to load saved GPRs.
10095 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10096 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10097 (__sigsetjmp): Use SAVE_GP to save GPRs.
10098
d13ef066
JM
10099 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10100 Do not append -msoft-float.
10101 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10102
97a0650b
SP
101032013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10104
10105 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10106
11ca09e9
JM
101072013-09-17 Joseph Myers <joseph@codesourcery.com>
10108
10109 [BZ #15966]
10110 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10111 (_FPU_GETCW): Use initial "__" on variable and field names but not
10112 on macro parameter name.
10113 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10114 parentheses around reference to macro parameter.
10115
08ffcf34
RS
101162013-09-13 Richard Sandiford <richard@codesourcery.com>
10117
10118 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10119 prototype.
10120 (ctype_startup): Use uint32_t in cast and sizeof for
10121 ctype->charnames.
10122
ae7080d3
JL
101232013-09-11 Jia Liu <proljc@gmail.com>
10124
10125 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10126 __daddr_t_defined.
10127 [__FreeBSD__]: Likewise.
10128
5905e7b3
OB
101292013-09-11 Ondřej Bílka <neleai@seznam.cz>
10130
10131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10132 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10133 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10134 (strchr): Remove __strchr_sse42 ifunc selection.
10135 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10136 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10137
b987c776
WN
101382013-09-11 Will Newton <will.newton@linaro.org>
10139
10140 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10141 parameter to RES. Remove hardcoded 1000 value.
10142 * benchtests/bench-skeleton.c (main): Pass RES parameter
10143 to TIMING_INIT and multiply result by 1000.
10144
ddf985af
AZ
101452013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10146
10147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10148
ffdd3181
AS
101492013-09-11 Andreas Schwab <schwab@suse.de>
10150
10151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10152 if not defined.
10153 (O_TMPFILE) [__USE_GNU]: Define.
10154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10155 Define.
10156
b73ed247
WN
101572013-09-11 Will Newton <will.newton@linaro.org>
10158
10159 [BZ #15857]
10160 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10161 does not overflow.
10162
55e17aad
WN
101632013-09-11 Will Newton <will.newton@linaro.org>
10164
10165 [BZ #15856]
10166 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10167 does not overflow.
10168
1159a193
WN
101692013-09-11 Will Newton <will.newton@linaro.org>
10170
10171 [BZ #15855]
10172 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10173 does not overflow.
10174
5905e7b3 101752013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10176
10177 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10178 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10182
cdfc721b
AM
101832013-09-10 Allan McRae <allan@archlinux.org>
10184
aa04af00
AM
10185 [BZ #15748]
10186 * manual/arith.texi (Parsing of Floats): Clarify
10187 cross-reference.
10188
cdfc721b
AM
10189 [BZ #15849]
10190 * manual/install.texi (Running make install): Mention
10191 --enable-pt-chown.
10192 * INSTALL: Regenerated.
10193
95e7cf29
MR
101942013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10195
10196 * csu/init-first.c (_init): Remove the !SHARED condition around
10197 FPU control word initialization.
10198 * elf/dl-support.c (_dl_fpu_control): New variable.
10199 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10200 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10201 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10202 * math/test-fpucw-static.c: New file.
10203 * math/test-fpucw-ieee.c: New file.
10204 * math/test-fpucw-ieee-static.c: New file.
10205 * math/Makefile (tests): Add `test-fpucw-ieee' and
10206 `$(tests-static)'.
10207 (tests-static): New variable.
10208 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10209 dependency to...
10210 [($(build-shared),yes)]
10211 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10212 ... this.
10213 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10214 New dependency.
10215
83e43bf0
AM
102162013-09-09 Allan McRae <allan@archlinux.org>
10217
a9f5ce09
AM
10218 [BZ #15939]
10219 * manual/string.texi (Collation Functions): Fix typo in
10220 strcoll example.
10221 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10222
34829bc2
AM
10223 [BZ #15893]
10224 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10225
3932737d
AM
10226 [BZ #15892]
10227 * libio/memstream.c (open_memstream): Fix memory leak.
10228 * libio/wmemstream.c (open_wmemstream): Likewise.
10229
83e43bf0
AM
10230 [BZ #15895]
10231 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10232
0c66b8e9
WN
102332013-09-09 Will Newton <will.newton@linaro.org>
10234
10235 * malloc/Makefile: Add tst-realloc to tests.
10236 * malloc/tst-realloc.c: New file.
10237
f6b00fd1
AM
102382013-09-09 Allan McRae <allan@archlinux.org>
10239
10240 [BZ #15844]
10241 * COPYING: Update from GNU website to fix FSF address.
10242 * COPYING.LIB: Likewise.
10243
eec55e16
DM
102442013-09-06 David S. Miller <davem@davemloft.net>
10245
10246 * po/zh_TW.po: Update Chinese (traditional) translation from
10247 translation project.
10248
1ecbb381
RS
102492013-09-06 Richard Sandiford <richard@codesourcery.com>
10250 Joseph Myers <joseph@codesourcery.com>
10251
10252 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10253 "localeinfo.h".
10254 (obstack_chunk_alloc): New macro.
10255 (obstack_chunk_free): Likewise.
10256 (record_offset): New function.
10257 (init_locale_data): Likewise.
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): Take locale_file structure rather than an
10272 iovec.
10273 * locale/programs/locfile.h: Include "obstack.h".
10274 (struct locale_file): Change to store locale file contents instead
10275 of header.
10276 (init_locale_data): New prototype.
10277 (align_locale_data): Likewise.
10278 (add_locale_empty): Likewise.
10279 (add_locale_raw_data): Likewise.
10280 (add_locale_raw_obstack): Likewise.
10281 (add_locale_string): Likewise.
10282 (add_locale_wstring): Likewise.
10283 (add_locale_uint32): Likewise.
10284 (add_locale_uint32_array): Likewise.
10285 (add_locale_char): Likewise.
10286 (start_locale_structure): Likewise.
10287 (end_locale_structure): Likewise.
10288 (start_locale_prelude): Likewise.
10289 (end_locale_prelude): Likewise.
10290 (write_locale_data): Update prototype.
10291 * locale/programs/3level.h (struct TABLE): Remove result field.
10292 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10293 Use new locale_file interface.
10294 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10295 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10296 * locale/programs/ld-address.c (address_output): Use new
10297 locale_file interface.
10298 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10299 NO_ADD_LOCALE.
10300 (collate_finish): Don't call collseq_table_finalize.
10301 (collate_output): Use new locale_file interface.
10302 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10303 in file.
10304 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10305 (TABLE): Move defines earlier in file.
10306 (ELEMENT): Likewise.
10307 (DEFAULT): Likewise.
10308 (wctrans_table_add): Move macro and inline function earlier in
10309 file.
10310 (struct wctype_table): Move type earlier in file.
10311 (add_locale_wctype_table): New static prototype.
10312 (struct locale_ctype_t): Use logical types instead of struct iovec
10313 pointers for members.
10314 (ctype_output): Use new locale_file interface.
10315 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10316 new locale_file interface.
10317 (allocate_arrays): Update for use of new locale_file interface.
10318 * locale/programs/ld-identification.c (identification_output): Use
10319 new locale_file interface.
10320 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10321 * locale/programs/ld-messages.c (messages_output): Likewise.
10322 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10323 * locale/programs/ld-name.c (name_output): Likewise.
10324 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10325 * locale/programs/ld-paper.c (paper_output): Likewise.
10326 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10327 * locale/programs/ld-time.c (time_output): Likewise.
10328
e029e2e5
AZ
103292013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10330
10331 * benchtests/Makefile: Add memrchr benchmark.
10332 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10333 benchmark as memrchr.
10334 * benchtests/bench-memrchr-ifunc.c: New file.
10335 * benchtests/bench-memrchr.c: New file.
10336
bbf6e8e4
WN
103372013-09-06 Will Newton <will.newton@linaro.org>
10338
10339 * benchtests/Makefile (string-bench): Add memcpy.
10340
6c82a2f8
CD
103412013-09-05 Carlos O'Donell <carlos@redhat.com>
10342 Cong Wang <amwang@redhat.com>
10343
e732c5f0 10344 [BZ #15850]
6c82a2f8
CD
10345 * sysdeps/unix/sysv/linux/bits/in.h
10346 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10347 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10348 before __USE_KERNEL_IPV6_DEFS uses.
10349 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10350 IPPROTO_BEETPH.
10351 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10352 sockaddr_in6, or ipv6_mreq.
10353
5430fc65
AZ
103542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10355
10356 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10357 memory access for final bytes in some large inputs.
10358 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10359
4660856c
AZ
103602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10361
10362 * string/test-memrchr.c: New file.
10363 * string/test-memrchr-ifunc.c: New file.
10364 * string/Makefile: Add new memrchr testcase.
10365
bb8ea713
MF
103662013-09-05 Mike Frysinger <vapier@gentoo.org>
10367
10368 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10369 fanotify_init returns EPERM.
10370
b92a20b5
JM
103712013-09-04 Joseph Myers <joseph@codesourcery.com>
10372
10373 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10374 errors.
10375 (top level): Treat second token from macro or constant entries for
10376 allowed headers as allowed.
10377 * include/complex.h: Condition internal declarations on
10378 [!_ISOMAC].
10379 * include/fenv.h: Condition include of <stdbool.h> and internal
10380 declarations on [!_ISOMAC].
7447ccd9
CL
10381
103822013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10383
3e181dda 10384 [BZ #15923]
7447ccd9
CL
10385 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10386
3f2e46a4
JM
103872013-09-04 Joseph Myers <joseph@codesourcery.com>
10388
10389 * configure.in (--enable-versioning): Remove configure option.
10390 (libc_cv_asm_symver_directive): Remove configure test.
10391 (libc_cv_ld_version_script_option): Likewise.
10392 (VERSIONING): Remove variable and AC_SUBST.
10393 (DO_VERSIONING): Remove AC_DEFINE.
10394 * configure: Regenerated.
10395 * config.h.in (DO_VERSIONING): Remove macro.
10396 * Makerules [$(versioning) = yes]: Change conditionals to
10397 [$(build-shared) = yes].
10398 * config.make.in (versioning): Remove variable.
10399 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10400 [$(build-shared) = yes].
10401 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10402 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10403 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10404 [$(build-shared) = yes].
10405 * extra-lib.mk [$(versioning) = yes]: Likewise.
10406 * hurd/Makefile [$(versioning) = yes]: Likewise.
10407 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10408 [SHARED].
10409 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10410 [SHARED].
10411 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10412 [SHARED && !NO_HIDDEN].
10413 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10414 [SHARED].
10415 [SHARED && DO_VERSIONING]: Likewise..
10416 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10417 [$(build-shared) = yes].
10418 * manual/install.texi (--disable-versioning): Remove
10419 documentation.
10420 * INSTALL: Regenerated.
10421 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10422 to [SHARED].
10423 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10424 [$(build-shared) = yes].
10425 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10426 * sysdeps/i386/i686/multiarch/strstr-c.c
10427 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10428 [SHARED && !NO_HIDDEN].
10429 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10430 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10431 * sysdeps/powerpc/powerpc32/dl-machine.c
10432 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10433 * sysdeps/powerpc/powerpc32/sysdep.h
10434 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10435 to [SHARED && PIC && !NO_HIDDEN].
10436 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10437 conditional to [SHARED].
10438
44558701
WN
104392013-09-04 Will Newton <will.newton@linaro.org>
10440
10441 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10442 * benchtests/bench-string.h: Include bench-timing.h instead
10443 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10444 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10445 call to HP_TIMING_DIFF_INIT.
10446 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10447 instead of hp-timing.h macros.
10448 * benchtests/bench-memchr.c: Likewise.
10449 * benchtests/bench-memcmp.c: Likewise.
10450 * benchtests/bench-memcpy.c: Likewise.
10451 * benchtests/bench-memmem.c: Likewise.
10452 * benchtests/bench-memmove.c: Likewise.
10453 * benchtests/bench-memset.c: Likewise.
10454 * benchtests/bench-rawmemchr.c: Likewise.
10455 * benchtests/bench-strcasecmp.c: Likewise.
10456 * benchtests/bench-strcasestr.c: Likewise.
10457 * benchtests/bench-strcat.c: Likewise.
10458 * benchtests/bench-strchr.c: Likewise.
10459 * benchtests/bench-strcmp.c: Likewise.
10460 * benchtests/bench-strcpy.c: Likewise.
10461 * benchtests/bench-strcpy_chk.c: Likewise.
10462 * benchtests/bench-strlen.c: Likewise.
10463 * benchtests/bench-strncasecmp.c: Likewise.
10464 * benchtests/bench-strncat.c: Likewise.
10465 * benchtests/bench-strncmp.c: Likewise.
10466 * benchtests/bench-strncpy.c: Likewise.
10467 * benchtests/bench-strnlen.c: Likewise.
10468 * benchtests/bench-strpbrk.c: Likewise.
10469 * benchtests/bench-strrchr.c: Likewise.
10470 * benchtests/bench-strspn.c: Likewise.
10471 * benchtests/bench-strstr.c: Likewise.
10472
cae16d66
WN
104732013-09-04 Will Newton <will.newton@linaro.org>
10474
10475 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10476
ffa3cd7f
JM
104772013-09-03 Joseph Myers <joseph@codesourcery.com>
10478
10479 [BZ #15427]
10480 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10481 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10482 * math/libm-test.inc (lgamma_test_data): Add more tests.
10483 * sysdeps/i386/fpu/libm-test-ulps: Update.
10484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10485
8f02859f
OB
104862013-09-03 Ondřej Bílka <neleai@seznam.cz>
10487
10488 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10490 Add ifunc.
10491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10492 Add strcmp-sse2-unaligned
10493 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10494
18d43716
MF
104952013-09-02 Mike Frysinger <vapier@gentoo.org>
10496
10497 * Versions.def (libc): Add GLIBC_2.19.
10498
ac444012
MF
104992013-09-02 Mike Frysinger <vapier@gentoo.org>
10500
10501 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10502 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10503
b7835e32
JM
105042013-09-02 Joseph Myers <joseph@codesourcery.com>
10505
10506 [BZ #14155]
10507 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10508 intermediate calculations in recurrence.
10509 (__ieee754_ynf): Likewise.
10510 * math/libm-test.inc (jn_test_data): Do not allow spurious
10511 underflow exception. Add more tests.
10512 (yn_test_data): Add more tests.
10513 * sysdeps/i386/fpu/libm-test-ulps: Update.
10514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10515
8220f4f0
OB
105162013-09-02 Ondřej Bílka <neleai@seznam.cz>
10517
10518 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10519
f24a6d08
OB
105202013-08-30 Ondřej Bílka <neleai@seznam.cz>
10521
10522 * csu/init-first.c: Fix then/than typos.
10523 * locale/programs/ld-collate.c: Likewise.
10524 * locale/programs/linereader.h: Likewise.
10525 * manual/charset.texi: Likewise.
10526 * manual/filesys.texi: Likewise.
10527 * manual/stdio.texi: Likewise.
10528 * manual/string.texi: Likewise.
10529 * stdlib/fmtmsg.c: Likewise.
10530 * sysdeps/i386/stpncpy.S: Likewise.
10531 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10532 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10534 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10535
382466e0
OB
105362013-08-30 Ondřej Bílka <neleai@seznam.cz>
10537
10538 * elf/dl-open.c: Fix typos.
10539 * iconvdata/gbbig5.c: Likewise.
10540 * iconvdata/iso-2022-jp.c: Likewise.
10541 * iconv/gconv_int.h: Likewise.
10542 * iconv/loop.c: Likewise.
10543 * nis/rpcsvc/nis.h: Likewise.
10544 * resolv/ns_name.c: Likewise.
10545 * stdio-common/vfscanf.c: Likewise.
10546 * streams/stropts.h: Likewise.
10547 * sunrpc/rpc_thread.c: Likewise.
10548 * sysdeps/i386/strpbrk.S: Likewise.
10549 * sysdeps/ieee754/k_standard.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10552 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10553 * sysdeps/mach/hurd/profil.c: Likewise.
10554 * sysdeps/s390/dl-procinfo.h: Likewise.
10555 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10556 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10557 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10558 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10560
0186c6e9
OB
105612013-08-30 Ondřej Bílka <neleai@seznam.cz>
10562
10563 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10565
d4e16af1
OB
105662013-08-29 Ondřej Bílka <neleai@seznam.cz>
10567
10568 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10569 aix specific files.
10570 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10571 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10572 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10573 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10574 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10575 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10576 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10577 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10578
88335980
TS
105792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10580 Roland McGrath <roland@hack.frob.com>
10581
10582 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10583 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10584
ed479b02
ST
105852013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10586
10587 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10588 __executable_start symbol instead of _start.
10589
f1cc4c86
TS
105902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10591
d821f07c
TS
10592 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10593 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10594 Move macros to...
10595 * sysdeps/gnu/ldsodefs.h: ... this new file.
10596
c54290cf
TS
10597 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10598 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10599 instead of ELFOSABI_LINUX.
10600
0007fc9b 10601 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10602 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10603 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10604 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10605 Likewise.
10606 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10607 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10608 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10609 Likewise.
10610 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10611 (ibm_extended_long_double): Add ieee_nan member.
10612 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10613 (do_test): New function.
10614
f1cc4c86
TS
10615 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10616 TEST_TRUNC.
10617 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10618 functions, renamed from truncdfsf_test, trunctfsf_test,
10619 trunctfdf_test.
10620 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10621 functions.
10622 (do_test): Run all these.
10623
6f65e668
OB
106242013-08-29 Ondřej Bílka <neleai@seznam.cz>
10625
10626 * argp/argp-help.c: Fix typos.
10627 * argp/argp-parse.c: Likewise.
10628 * debug/backtracesyms.c: Likewise.
10629 * elf/elf.h: Likewise.
10630 * malloc/malloc.c: Likewise.
10631 * nis/nis_print.c: Likewise.
10632 * resolv/res_comp.c: Likewise.
10633 * stdlib/stdlib.h: Likewise.
10634 * sunrpc/clnt_tcp.c: Likewise.
10635 * sunrpc/clnt_udp.c: Likewise.
10636 * sunrpc/clnt_unix.c: Likewise.
10637 * sysdeps/unix/bsd/ptsname.c: Likewise.
10638 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10639 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10641 Likewise.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10643 Likewise.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10645 Likewise.
6f65e668
OB
10646 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10647
3a309239
SP
106482013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10649
10650 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10652
3b813b29
MF
106532013-08-27 Mike Frysinger <vapier@gentoo.org>
10654
10655 [BZ #15897]
10656 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10657 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10658 ($(objpfx)bug-dl-leaf): New rule.
10659 ($(objpfx)bug-dl-leaf.so): Likewise.
10660 ($(objpfx)bug-dl-leaf.out): Likewise.
10661 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10662 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10663 * dlfcn/bug-dl-leaf.c: New test.
10664 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10665 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10666 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10667 (dlclose): Likewise.
10668 (dlmopen): Likewise.
10669
8cc3269f
RM
106702013-08-27 Roland McGrath <roland@hack.frob.com>
10671
7f9d0034
RM
10672 * include/netdb.h [!_ISOMAC]:
10673 Don't include <tls.h>.
10674 (h_errno, __libc_h_errno): Move declaration and macros out of
10675 [_LIBC_REENTRANT].
10676
fb431262
RM
10677 * include/resolv.h [_RESOLV_H_]:
10678 Don't include <tls.h>.
10679 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10680 * resolv/res_libc.c: Don't include <tls.h>.
10681 (_res): Use __attribute__ ((nocommon)) in place of
10682 __attribute__ ((section (".bss"))).
10683
bd81123a
RM
10684 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10685 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10686
c4e42566
RM
10687 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10688
f890a59b
RM
10689 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10690 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10691
10692 * resolv/res_mkquery.c: Include <sys/time.h>.
10693
5d1f0a09
RM
10694 * inet/ifreq.c: Moved to ...
10695 * sysdeps/unix/ifreq.c: ... here.
10696 * inet/ifreq.c: New file, true stub version.
10697
6fcf28b3
RM
10698 * socket/sa_len.c: New file.
10699 * socket/Makefile (aux): Add it.
10700 * sysdeps/unix/sysv/linux/Makefile
10701 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10702 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10703 and #include <socket/sa_len.c>.
10704 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10705 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10706
e041fb8b
RM
10707 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10708 * bits/socket.h: ... here.
10709
8cc3269f
RM
10710 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10711 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10712 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10713
5d228a43
AS
107142013-08-27 Andreas Schwab <schwab@suse.de>
10715
45b8accc
AS
10716 [BZ #15736]
10717 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10718 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10719 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10720 * string/test-strcasecmp.c (test_main): Run tests in several
10721 locales.
10722 * string/test-strncasecmp.c (test_main): Likewise.
10723
5d228a43
AS
10724 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10725 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10726 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10728 (__strncasecmp_ssse3) [PIC]: Likewise.
10729
59d112a4
RM
107302013-08-26 Roland McGrath <roland@hack.frob.com>
10731
53234cc3
RM
10732 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10733
59d112a4
RM
10734 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10735 instead of explicitly declaring xdecrypt.
10736 * nis/nss_nis/nis-publickey.c: Likewise.
10737
595aba70
SP
107382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10739
10740 [BZ #15890]
10741 * nscd/aicache.c: Include res_hconf.h.
10742 (addhstaiX): Initialize res_hconf.
10743
ffabd393
AS
107442013-08-26 Andreas Schwab <schwab@suse.de>
10745
10746 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10747 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10748
e0a69f5c
SP
107492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10750
10751 * nscd/aicache.c (addhstaiX): Fix indentation.
10752
8c12f01d
MF
107532013-08-25 Mike Frysinger <vapier@gentoo.org>
10754
10755 * configure.ac: Quote $build_pt_chown test.
10756 * configure: Regenerated.
10757
8fe89494
JM
107582013-08-23 Joseph Myers <joseph@codesourcery.com>
10759
10760 [BZ #15532]
10761 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10762 * math/s_cexpf.c (__cexpf): Likewise.
10763 * math/s_cexpl.c (__cexpl): Likewise.
10764 * math/libm-test.inc (cexp_test_data): Correct expected return
10765 value for NaN + i0. Add another test.
10766
75b181d6
DM
107672013-08-22 David S. Miller <davem@davemloft.net>
10768
10769 * po/ca.po: Update Catalan translation from translation project.
936241e4 10770 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10771
acd06bb1
JM
107722013-08-21 Joseph Myers <joseph@codesourcery.com>
10773
10774 [BZ #15797]
10775 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10776 is infinite, not alongside NaN test.
10777 * math/s_fdimf.c (__fdimf): Likewise.
10778 * math/s_fdiml.c (__fdiml): Likewise.
10779 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10780 errno is unchanged.
10781
c0c3f78a
OB
107822013-08-21 Ondřej Bílka <neleai@seznam.cz>
10783
10784 * argp/argp-help.c: Fix typos.
10785 * crypt/speeds.c: Likewise.
10786 * csu/check_fds.c: Likewise.
10787 * elf/dl-load.c: Likewise.
10788 * elf/dl-open.c: Likewise.
10789 * elf/reldep3.c: Likewise.
10790 * elf/reldep.c: Likewise.
10791 * elf/sprof.c: Likewise.
10792 * iconv/iconv_charmap.c: Likewise.
10793 * iconv/skeleton.c: Likewise.
10794 * iconv/strtab.c: Likewise.
10795 * io/lockf64.c: Likewise.
10796 * libio/libioP.h: Likewise.
10797 * resolv/gai_notify.c: Likewise.
10798 * resolv/ns_name.c: Likewise.
10799 * resolv/ns_samedomain.c: Likewise.
10800 * resolv/res_send.c: Likewise.
10801 * stdlib/random.c: Likewise.
10802 * sunrpc/rpc/xdr.h: Likewise.
10803 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10804 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10805 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10806 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10807 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10808 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10810 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10811 * sysdeps/mach/hurd/check_fds.c: Likewise.
10812 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10813 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10814 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10816 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10817 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10818 * sysdeps/pthread/aio_notify.c: Likewise.
10819 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10820 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10821 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10822 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10823 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10824
46ed1038
LD
108252013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10826
10827 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10828 version if bit_Slow_SSE4_2 is set.
10829 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10830 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10831
d400dcac
AZ
108322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10833
10834 [BZ #15867]
10835 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10836 trampoline stack frame information.
10837 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10839 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10840 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10841 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10842 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10843 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10844 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10845 sa_flags value.
10846 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10847 interrupting a syscall and set with option SA_SIGINFO.
10848
42c8fdd8
JM
108492013-08-20 Joseph Myers <joseph@codesourcery.com>
10850
c980f2f4
JM
10851 [BZ #15531]
10852 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10853 argument is infinite.
10854 * math/s_cprojf.c (__cprojf): Likewise.
10855 * math/s_cprojl.c (__cprojl): Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10857 * math/libm-test.inc (cproj_test_data): Add more tests.
10858
0716c4fc
JM
10859 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10860
42c8fdd8
JM
10861 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10862 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10863 size. Use __ffs to determine corresponding shift.
10864
b31469d0
JM
108652013-08-20 Joseph Myers <joseph@codesourcery.com>
10866 Roland McGrath <roland@hack.frob.com>
10867
10868 * Makefile (INSTALL): Remove trailing blank lines from output of
10869 makeinfo.
10870
4e39af6e
AK
108712013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10872
10873 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10874 Align 32 bit compat elf_greg to 8 bytes.
10875
f315524e
AA
108762013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10877
10878 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10879
1326ba1a
SP
108802013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10881
10882 * string/strcoll_l.c (coll_seq): New structure.
10883 (get_next_seq_cached): New function.
10884 (get_next_seq): New function.
10885 (do_compare): New function.
10886 (STRCOLL): Use GNU style definition. Simplify implementation
10887 by using get_next_seq, get_next_seq_cached and do_compare.
10888
91ce4085
FW
108892013-08-16 Florian Weimer <fweimer@redhat.com>
10890
10891 [BZ #14699]
10892 CVE-2013-4237
10893 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10894 member.
10895 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10896 member.
10897 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10898 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10899 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10900 conditional.
10901 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10902 GETDENTS_64BIT_ALIGNED.
10903 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10904 * manual/filesys.texi (Reading/Closing Directory): Document
10905 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10906 strongly.
10907 * manual/conf.texi (Limits for Files): Add portability note to
10908 NAME_MAX, PATH_MAX.
10909 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10910
ca0a6bc4
AS
109112013-08-13 Andreas Schwab <schwab@suse.de>
10912
10913 [BZ #15749]
10914 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10915 of fabs.
10916 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10917 LDBL_MAX_EXP >= 16384]: Add tests for it.
10918
6c1fd795
DM
109192013-08-12 David S. Miller <davem@davemloft.net>
10920
10921 * version.h (RELEASE): Set to "development".
10922 (VERSION): Set to "2.18.90".
10923 * NEWS: Add 2.19 section.
10924
31ad488d
DM
109252013-08-03 David S. Miller <davem@davemloft.net>
10926
10927 * po/ko.po: Update Korean translation from translation project.
10928
db24e684
DM
109292013-08-01 David S. Miller <davem@davemloft.net>
10930
10931 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10932 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10933 Bilka.
10934
f723285b
DM
109352013-07-30 David S. Miller <davem@davemloft.net>
10936
10937 * po/fr.po: Update French translation from translation project.
10938
3cbc52db
DM
109392013-07-28 David S. Miller <davem@davemloft.net>
10940
30bbc0cc
DM
10941 * po/cs.po: Update Czech translation from translation project.
10942
3cbc52db
DM
10943 * po/sv.po: Update Swedish translation from translation project.
10944
d492e6d0
DM
109452013-07-27 David S. Miller <davem@davemloft.net>
10946
f1a7f492
DM
10947 * po/eo.po: Update Esperanto translation from translation project.
10948
90e62a4a
DM
10949 * po/vi.po: Update Vietnamese translation from translation project.
10950
d492e6d0
DM
10951 * po/de.po: Update German translation from translation project.
10952
d4baa62d
DM
109532013-07-26 David S. Miller <davem@davemloft.net>
10954
641aa7b4
DM
10955 * po/bg.po: Update Bulgarian translation from translation project.
10956
d4baa62d
DM
10957 * po/nl.po: Update Dutch translation from translation project.
10958 * po/pl.po: Update Polish translation from translation project.
10959 * po/ru.po: Update Russian translation from translation project.
10960
61a9dcb9
DM
109612013-07-24 David S. Miller <davem@davemloft.net>
10962
10963 * po/libc.pot: Update.
10964
7b1f8b58
AZ
109652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10966
10967 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10968 variable page size.
10969 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10970 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10971 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10972
a8fc7a03
AK
109732013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10974
10975 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10976
e4608715
CD
109772013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10978 Andreas Schwab <schwab@suse.de>
10979 Roland McGrath <roland@hack.frob.com>
10980 Joseph Myers <joseph@codesourcery.com>
10981 Carlos O'Donell <carlos@redhat.com>
10982
10983 [BZ #15755]
10984 * config.h.in: Define HAVE_PT_CHOWN.
10985 * config.make.in (build-pt-chown): New variable.
10986 * configure.in (--enable-pt_chown): New configure option.
10987 * configure: Regenerate.
10988 * login/Makefile: Include Makeconfig. Build pt_chown only if
10989 build-pt-chown is enabled.
10990 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10991 pt_chown to fix pty ownership.
10992 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10993 CLOSE_ALL_FDS.
10994 * manual/install.texi (Configuring and compiling): Mention
10995 --enable-pt_chown. Add @findex for grantpt.
10996 * INSTALL: Regenerate.
10997
da2d62df
DM
109982013-07-20 David S. Miller <davem@davemloft.net>
10999
11000 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11001 difference between 32-bit and 64-bit.
11002
d7e06450
CD
110032013-07-15 Carlos O'Donell <carlos@redhat.com>
11004
11005 [BZ #15711]
11006 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11007 Avoid system header dependency with -ffreestanding.
11008 ($(objpfx)bits/syscall%d): Likewise.
11009
f959cfd7
DM
110102013-07-13 David S. Miller <davem@davemloft.net>
11011
11012 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11013 underflows from atanl/atan2l due to bug 15319.
11014 (casinh_test_data): Likewise.
11015
c61f8513
DM
110162013-07-07 David S. Miller <davem@davemloft.net>
11017
11018 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11019
72c90ed0
JA
110202013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11021
11022 * sysdeps/i386/fpu/libm-test-ulps: Update.
11023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11024
52dfbe13
SP
110252013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11026
11027 * configure.in (--enable-lock-elision): Fix message text.
11028 * INSTALL: Regenerate.
11029 * configure: Regenerate.
11030
3f169543
AZ
110312013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11032
11033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11034
521c6785
AJ
110352013-07-03 Andreas Jaeger <aj@suse.de>
11036
11037 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11038 define.
11039 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11040 (ptrace_peeksiginfo_args): Add.
11041 (__ptrace_peeksiginfo_flags): Add.
11042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11043 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11044 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11045
d2cc15cb
AM
110462013-07-03 Allan McRae <allan@archlinux.org>
11047
11048 * sysdeps/i386/fpu/libm-test-ulps: Update.
11049
3aaeeca7
DM
110502013-07-02 David S. Miller <davem@davemloft.net>
11051
11052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11053
5314ed1a
MT
110542013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11055
11056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11057
67338156
JM
110582013-07-02 Joseph Myers <joseph@codesourcery.com>
11059
11060 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11062
1717da59
AK
110632013-07-02 Andi Kleen <ak@linux.intel.com>
11064
11065 * config.h.in (ENABLE_LOCK_ELISION): Add.
11066 * configure.in (--enable-lock-elision): Add option.
11067 * manual/install.texi: Document --enable lock elision.
11068 * configure: Regenerate
11069 * INSTALL: Regenerate.
11070
1c81621c
L
110712013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11072
11073 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11074 SSE4.2 strcasecmp for libc.a.
11075 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11076
77f01ab5
JM
110772013-07-02 Joseph Myers <joseph@codesourcery.com>
11078
11079 [BZ #13304]
11080 * soft-fp/op-common.h (_FP_FMA): New macro.
11081 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11082 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11083 (_FP_MUL_MEAT_1_imm): ... here.
11084 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11085 (_FP_MUL_MEAT_1_wide): ... here.
11086 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11087 (_FP_MUL_MEAT_1_hard): ... here.
11088 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11089 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11090 (_FP_MUL_MEAT_2_wide): ... here.
11091 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11092 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11093 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11094 (_FP_MUL_MEAT_2_gmp): ... here.
11095 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11096 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11097 (_FP_MUL_MEAT_4_wide): ... here.
11098 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11099 (_FP_MUL_MEAT_4_gmp): ... here.
11100 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11101 (_FP_WFRACBITS_DW_S): Likewise.
11102 (_FP_WFRACXBITS_DW_S): Likewise.
11103 (_FP_HIGHBIT_DW_S): Likewise.
11104 (FP_FMA_S): Likewise.
11105 (_FP_FRAC_HIGH_DW_S): Likewise.
11106 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11107 (_FP_WFRACBITS_DW_D): Likewise.
11108 (_FP_WFRACXBITS_DW_D): Likewise.
11109 (_FP_HIGHBIT_DW_D): Likewise.
11110 (FP_FMA_D): Likewise.
11111 (_FP_FRAC_HIGH_DW_D): Likewise.
11112 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11113 (_FP_WFRACBITS_DW_E): Likewise.
11114 (_FP_WFRACXBITS_DW_E): Likewise.
11115 (_FP_HIGHBIT_DW_E): Likewise.
11116 (FP_FMA_E): Likewise.
11117 (_FP_FRAC_HIGH_DW_E): Likewise.
11118 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11119 (_FP_WFRACBITS_DW_Q): Likewise.
11120 (_FP_WFRACXBITS_DW_Q): Likewise.
11121 (_FP_HIGHBIT_DW_Q): Likewise.
11122 (FP_FMA_Q): Likewise.
11123 (_FP_FRAC_HIGH_DW_Q): Likewise.
11124 * soft-fp/fmasf4.c: New file.
11125 * soft-fp/fmadf4.c: Likewise.
11126 * soft-fp/fmatf4.c: Likewise.
11127
6308fd9a
LD
111282013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11129
11130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11131 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11132 Silvermont.
11133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11134 macro.
11135 (index_Slow_SSE4_2): Likewise.
11136 (index_Prefer_PMINUB_for_stringop): Likewise.
11137 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11138 bit_Slow_SSE4_2 is set.
11139 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11140 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11141
89cd9569
RA
111422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11143
11144 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11145 rtld_global._dl_hwcap2.
11146 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11147 POWER8.
11148 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11149 POWER8 feature descriptions defined in _dl_hwcap2.
11150 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11151 string handling for POWER8 feature bits.
11152 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11153 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11154 _dl_powerpc_cap_flags.
11155 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11156 * sysdeps/powerpc/rtld-global-offsets.sym
11157 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11158 _dl_hwcap2 in the rtld_global_ro structure.
11159
1ae8bfe0
RA
111602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11161
11162 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11163 hardware capabilities in support of AT_HWCAP2.
11164 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11165 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11166 GLRO(dl_hwcap2).
11167 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11168 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11169 explicitly the unknown a_type display mechanism is used.
11170 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11171 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11172 struct member.
11173 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11174 to macro prototype for AT_HWCAP2 support.
11175 * sysdeps/i386/dl-procinfo.h: Likewise.
11176 * sysdeps/s390/dl-procinfo.h: Likewise.
11177 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11178 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11179 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11180 return -1 for unknown a_type display fallback.
11181 * sysdeps/sparc/dl-procinfo.h: Likewise.
11182 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11183 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11184
8fbec010
JM
111852013-06-28 Joseph Myers <joseph@codesourcery.com>
11186
11187 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11188 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11189
0432680e
PY
111902013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11191
11192 [BZ #12492]
11193 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11194 mprotect making __stack_prot writable.
11195
ce61a2ad
NF
111962013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11197 Joseph Myers <joseph@codesourcery.com>
11198
11199 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11200 as being properly aligned.
11201
f91f1c0f
MR
112022013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11203
3d0f5d0c
MR
11204 * dlfcn/modstatic5.c: New file.
11205 * dlfcn/tststatic5.c: New file.
11206 * dlfcn/Makefile (tests): Add tststatic5.
11207 (tests-static): Likewise.
11208 (modules-names): Add modstatic5.
11209 (tststatic5-ENV): New variable.
11210 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11211
f91f1c0f
MR
11212 [BZ #15022]
11213 * elf/dl-support.c (_dl_main_map): New variable.
11214 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11215 (_dl_nns, _dl_load_adds): Set to 1.
11216 (_dl_initial_searchlist): Refer to _dl_main_map.
11217 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11218 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11219 call to _dl_get_origin.
11220 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11221 around call_map.
11222 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11223 * dlfcn/modstatic3.c: New file.
11224 * dlfcn/tststatic3.c: New file.
11225 * dlfcn/tststatic4.c: New file.
11226 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11227 (tests-static): Likewise.
11228 (modules-names): Add modstatic3.
11229 (tststatic3-ENV, tststatic4-ENV): New variables.
11230 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11231 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11232
cbe7d24b
JM
112332013-06-26 Joseph Myers <joseph@codesourcery.com>
11234
11235 * configure.in (CC): Require GCC version 4.4 or later.
11236 * configure: Regenerated.
11237 * manual/install.texi (Tools for Compilation): Update GCC version
11238 requirement.
11239 * INSTALL: Regenerated.
11240
11b8a0e1
LD
112412013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11242
11243 [BZ #15674]
bb5bb87c
L
11244 * string/test-memcmp.c (check2): New.
11245 (main): Call check2.
11246
11b8a0e1
LD
11247 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11248
b0037103
MR
112492013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11250
11251 [BZ #15022]
11252 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11253 over to...
11254 (dl_open_worker) [!SHARED]: ... here.
11255
c18c701d
RA
112562013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11257
11258 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11259
1d17fa5f
RH
112602013-06-25 Richard Henderson <rth@redhat.com>
11261
11262 * locale/programs/locarchive.c: Include <libc-internal.h>
11263
8fcb833a
JM
112642013-06-25 Joseph Myers <joseph@codesourcery.com>
11265
11266 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11267 trailing whitespace removed.
11268
17db6e8d
MF
112692013-06-24 Mike Frysinger <vapier@gentoo.org>
11270
11271 [BZ #10283]
17db6e8d
MF
11272 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11273 * locale/programs/locarchive.c: Include libc-mmap.h.
11274 (prepare_address_space): Take two new outputs (the mmap base and len).
11275 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11276 values.
11277 (create_archive): Declare new mmap base and len values for
11278 prepare_address_space, and store the result in ah.
11279 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11280 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11281 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11282 Declare new mmap base and len values for
11283 prepare_address_space, and store the result in new_ah.
11284 (open_archive): Declare new mmap base and len values for
11285 prepare_address_space, and store the result in ah.
11286 (close_archive): If ah->mmap_base is not NULL, use that and
11287 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11288 * sysdeps/generic/libc-mmap.h: New file.
11289
d605071e
MF
112902013-06-24 Mike Frysinger <vapier@gentoo.org>
11291
11292 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11293 (ALIGN_UP): Likewise.
11294 (PTR_ALIGN_DOWN): Likewise.
11295 (PTR_ALIGN_UP): Likewise.
11296
2f063a6e
RA
112972013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11298
11299 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11300 entry mapped to PPC_PLATFORM_POWER8.
11301 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11302 POWER8.
11303 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11304 (_dl_string_platform): Add case for exporting platform position for
11305 POWER8.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11307 search path to sysdeps/powerpc/powerpc32/power8 directory.
11308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11309 search path to sysdeps/powerpc/powerpc64/power8 directory.
11310 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11311 power7 directories.
11312 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11313 power7 directories.
11314
a31ee4b3
SP
113152013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11316
a74ca98f
SP
11317 * INSTALL: Regenerate.
11318
a31ee4b3
SP
11319 * nscd/connections.c (nscd_init): Fix comment.
11320
695c378f
JM
113212013-06-22 Joseph Myers <joseph@codesourcery.com>
11322
d8412221
JM
11323 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11324
695c378f
JM
11325 [BZ #15667]
11326 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11327 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11328
d1d54715
MR
113292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11330
11331 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11332 DL_DST_REQ_STATIC.
11333 (DL_DST_REQ_STATIC): Remove macro.
11334
8fdda7af
JM
113352013-06-21 Joseph Myers <joseph@codesourcery.com>
11336
11337 [BZ #7006]
11338 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11339 with a shift of 0 bits.
11340
f3bc5e5a
MR
113412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11342
11343 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11344 $(tststatic-ENV).
11345
be09e8c9
KK
113462013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11347
11348 [BZ #15655]
11349 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11350
85c2e611
AZ
113512013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11352
11353 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11354 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11355 accepts -fno-tree-loop-distribute-patterns.
11356 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11357 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11358 recursive call.
11359 * string/memset.c (memset): Likewise.
11360 * string/test-memmove.c (simple_memmove): Disable loop transformation
11361 to library calls.
11362 * string/test-memset.c (simple_memset): Likewise.
11363 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11364 * benchtests/bench-memset.c (simple_memset): Likewise.
11365 * configure: Regenerated.
11366
c91e0825
JM
113672013-06-20 Joseph Myers <joseph@codesourcery.com>
11368
b8c792af
JM
11369 * math/test-misc.c (main): Ignore fesetround failure when failures
11370 of subsequent rounding tests would be ignored.
11371
c91e0825
JM
11372 [BZ #15654]
11373 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11374 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11375 * math/fegetenv.c (__fegetenv): Return 0.
11376 * math/fegetexcept.c (fegetexcept): Return 0.
11377 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11378 FE_TONEAREST.
11379 * math/feholdexcpt.c (feholdexcept): Return 0.
11380 * math/fesetenv.c (__fesetenv): Return 0.
11381 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11382 argument FE_TONEAREST.
11383 * math/feupdateenv.c (__feupdateenv): Return 0.
11384 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11385
bfcacbde
RM
113862013-06-18 Roland McGrath <roland@hack.frob.com>
11387
11388 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11389 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11390 ($(objpfx)rtld-%.os rules): Use them.
11391
e55a9b25
AZ
113922013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11393
11394 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11395 fields.
11396
346d65b3
RM
113972013-06-17 Roland McGrath <roland@hack.frob.com>
11398
12086fb4
RM
11399 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11400 length of target pattern, then descending length of dependency pattern.
11401 * configure.in (AWK): Require gawk 3.1.2 or newer.
11402 * manual/install.texi (Tools for Compilation): Say that we do.
11403 * configure: Regenerated.
11404
346d65b3
RM
11405 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11406 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11407 * scripts/sysd-rules.awk: ... this new script.
11408 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11409 than a glob-style pattern.
11410
1a846317
JM
114112013-06-17 Joseph Myers <joseph@codesourcery.com>
11412
11413 * math/test-misc.c (main): Do not treat incorrectly rounded
11414 conversions as failure unless ROUNDING_TESTS passes.
11415
8fc75e6f
JM
114162013-06-15 Joseph Myers <joseph@codesourcery.com>
11417
3711a167
JM
11418 [BZ #15631]
11419 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11420 restore exception state around main square root computation, then
11421 check for inexactness explicitly.
11422
8fc75e6f
JM
11423 * math/libm-test.inc (fma_test_data): Add another test.
11424
61dd6208
SP
114252013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11426
adf23d2c
SP
11427 * manual/threads.texi (Non-POSIX Extensions): New document
11428 node. Document pthread_getattr_default_np and
11429 pthread_setattr_default_np.
11430
61dd6208
SP
11431 * Versions.def (libpthread): Add GLIBC_2.18.
11432 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11434 Likewise.
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11436 Likewise.
11437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11438 Likewise.
11439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11440 Likewise.
11441 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11442 Likewise.
11443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11444 Likewise.
11445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11446 Likewise.
11447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11448 Likewise.
11449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11450 Likewise.
11451
d086fc7b
LD
114522013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11453
11454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11455 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11456
747ef469
SP
114572013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11458 H.J. Lu <hjl.tools@gmail.com>
11459
11460 [BZ #15627]
11461 * sysdeps/x86_64/rtld-memset.c: Remove file.
11462 * sysdeps/x86_64/rtld-memset.S: New file.
11463
1b2feed2
JM
114642013-06-14 Joseph Myers <joseph@codesourcery.com>
11465
11466 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11467 (test_in_one_mode): Take arguments for whether the rounding mode
11468 is supported for each floating-point type.
11469 (do_test): Pass new arguments to test_in_one_mode using
11470 ROUNDING_TESTS.
11471
a58ad3f8
RM
114722013-06-13 Roland McGrath <roland@hack.frob.com>
11473
11474 * posix/tst-waitid.c (do_test): Distinguish different instances of
11475 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11476 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11477 before entering the kernel for waitpid.
11478
c204ab28
SP
114792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11480
11481 * NEWS: Fix note on clock function precision. Text by Roland
11482 McGrath.
11483
f4a29fba
RM
114842013-06-13 Roland McGrath <roland@hack.frob.com>
11485
11486 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11487 it into place only when and if the sanity check passes.
11488
1f24b9ad
JM
114892013-06-13 Joseph Myers <joseph@codesourcery.com>
11490
11491 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11492 output for whether conversion result is exact. Take argument
11493 indicating whether type is IBM long double.
11494 (round_for_all): Change need_exact field to ibm_ld.
11495 * stdlib/tst-strtod-round.c (struct exactness): New type.
11496 (struct test): Change bool ld_ok field to struct exactness exact.
11497 (TEST): Update all definitions for change to field.
11498 (tests): Regenerate array contents.
11499 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11500 field value. Check for IBM long double here.
11501 (do_test): Update calls to test_in_one_mode.
11502
58206c68
SP
115032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11504
11505 [BZ #12515]
11506 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11507 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11508
2d6f4c5b 115092013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11510
11511 [BZ #15605]
11512 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11513 generated by the compiler on loop optimizations.
11514 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11515 general definitions.
11516
94f2c076
JM
115172013-06-12 Joseph Myers <joseph@codesourcery.com>
11518
11519 * math/bug-nextafter.c: Include <math-tests.h>.
11520 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11521 the relevant type.
11522 * math/bug-nexttoward.c: Include <math-tests.h>.
11523 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11524 the relevant type.
11525 * math/test-misc.c: Include <math-tests.h>.
11526 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11527 the relevant type.
11528
e0e50a0a
AJ
115292013-06-12 Andreas Jaeger <aj@suse.de>
11530
11531 * po/ia.po: Update Interlingua translation from translation
11532 project.
11533
25061094
SP
115342013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11535
11536 * include/fenv.h: Include stdbool.h.
11537 (struct rm_ctx): New structure.
11538 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11539 Define macro.
11540 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11541 (SET_RESTORE_ROUNDF): Likewise.
11542 (SET_RESTORE_ROUNDL): Likewise.
11543 (SET_RESTORE_ROUND_NOEX): Likewise.
11544 (SET_RESTORE_ROUND_NOEXF): Likewise.
11545 (SET_RESTORE_ROUND_NOEXL): Likewise.
11546 (SET_RESTORE_ROUND_53BIT): Likewise.
11547 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11548 (libc_feresetround_noexf_ctx): Likewise.
11549 (libc_feresetround_noexl_ctx): Likewise.
11550 (libc_feholdsetround_53bit_ctx): Likewise.
11551 (libc_feresetround_53bit_ctx): Likewise.
11552 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11553 (libc_feholdexcept_setround_sse_ctx): New function.
11554 (libc_fesetenv_sse_ctx): Likewise.
11555 (libc_feupdateenv_sse_ctx): Likewise.
11556 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11557 (libc_feholdexcept_setround_387_ctx): Likewise.
11558 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11559 (libc_feholdsetround_387_prec_ctx): Likewise.
11560 (libc_feholdsetround_387_ctx): Likewise.
11561 (libc_feholdsetround_387_53bit_ctx): Likewise.
11562 (libc_feholdsetround_sse_ctx): Likewise.
11563 (libc_feresetround_sse_ctx): Likewise.
11564 (libc_feresetround_387_ctx): Likewise.
11565 (libc_feupdateenv_387_ctx): Likewise.
11566 (libc_feholdexcept_setroundf_ctx): Define macro.
11567 (libc_fesetenvf_ctx): Likewise.
11568 (libc_feupdateenvf_ctx): Likewise.
11569 (libc_feholdsetroundf_ctx): Likewise.
11570 (libc_feresetroundf_ctx): Likewise.
11571 (libc_feholdexcept_setround_ctx): Likewise.
11572 (libc_fesetenv_ctx): Likewise.
11573 (libc_feupdateenv_ctx): Likewise.
11574 (libc_feholdsetround_ctx): Likewise.
11575 (libc_feresetround_ctx): Likewise.
11576 (libc_feholdexcept_setroundl_ctx): Likewise.
11577 (libc_feupdateenvl_ctx): Likewise.
11578 (libc_feholdsetroundl_ctx): Likewise.
11579 (libc_feresetroundl_ctx): Likewise.
11580 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11581 (libc_feresetround_53bit_ctx): Likewise.
11582
59b30555
SP
115832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11584
11585 * locale/iso-639.def: Convert to UTF-8.
11586
f1d73d30
JM
115872013-06-11 Joseph Myers <joseph@codesourcery.com>
11588
11589 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11590 (EXCEPTION_TESTS_double): Likewise.
11591 (EXCEPTION_TESTS_long_double): Likewise.
11592 (EXCEPTION_TESTS): Likewise.
11593 * math/libm-test.inc (test_exceptions): Only test exceptions if
11594 EXCEPTION_TESTS (FLOAT).
11595
94aca5e7
SP
115962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11597
11598 * benchtests/Makefile (string-bench): Add strcpy_chk and
11599 stpcpy_chk.
11600 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11601 * benchtests/bench-stpcpy_chk.c: New file.
11602 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11603 * benchtests/bench-strcpy_chk.c: New file.
11604 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11605 code.
11606 (do_test): Likewise.
11607
fac0c5f2
RA
116082013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11609
11610 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11611 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11612 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11613 with tabs where appropriate.
11614 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11615 dl-procinfo.h.
11616 [PPC_PLATFORM_PPC440]: Likewise.
11617 [PPC_PLATFORM_PPC464]: Likewise.
11618 [PPC_PLATFORM_PPC476]: Likewise.
11619 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11620 ppc464, and ppc476 platform strings merging from ports/
11621 dl-procinfo.h.
11622
f22bc486
AS
116232013-06-11 Andreas Schwab <schwab@suse.de>
11624
11625 [BZ #14991]
11626 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11627 (from_ucs4_idx): Regenerate.
11628 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11629 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11630 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11631 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11632 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11633 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11634 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11635 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11636 from FROM_LOOP and TO_LOOP specific macros.
11637 (BODY): Handle combining characters.
11638 * iconvdata/BIG5HKSCS.irreversible: Update.
11639 * iconvdata/BIG5HKSCS.precomposed: New file.
11640 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11641 characters.
11642 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11643
c1f75dc3
SP
116442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11645
4eacded2
SP
11646 * include/sys/time.h: Fix indentation and add copyright header.
11647
fec799f8
SP
11648 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11649 (do_test): Likewise.
11650 * string/test-memchr.c (do_one_test): Likewise.
11651 (do_test): Likewise.
11652 * string/test-memcmp.c (do_one_test): Likewise.
11653 (do_test): Likewise.
11654 * string/test-memcpy.c (do_one_test): Likewise.
11655 (do_test): Likewise.
11656 * string/test-memmem.c (do_one_test): Likewise.
11657 (do_test): Likewise.
11658 (do_random_tests): Likewise.
11659 * string/test-memmove.c (do_one_test): Likewise.
11660 (do_test): Likewise.
11661 * string/test-memset.c (do_one_test): Likewise.
11662 (do_test): Likewise.
11663 * string/test-rawmemchr.c (do_one_test): Likewise.
11664 (do_test): Likewise.
11665 * string/test-strcasecmp.c (do_one_test): Likewise.
11666 (do_test): Likewise.
11667 * string/test-strcasestr.c (do_one_test): Likewise.
11668 (do_test): Likewise.
11669 * string/test-strcat.c (do_one_test): Likewise.
11670 (do_test): Likewise.
11671 * string/test-strchr.c (do_one_test): Likewise.
11672 (do_test): Likewise.
11673 * string/test-strcmp.c (do_one_test): Likewise.
11674 (do_test): Likewise.
11675 * string/test-strcpy.c (do_one_test): Likewise.
11676 (do_test): Likewise.
11677 * string/test-string.h: Likewise.
11678 (test_init): Likewise.
11679 * string/test-strlen.c (do_one_test): Likewise.
11680 (do_test): Likewise.
11681 * string/test-strncasecmp.c (do_one_test): Likewise.
11682 (do_test): Likewise.
11683 * string/test-strncat.c (do_one_test): Likewise.
11684 (do_test): Likewise.
11685 * string/test-strncmp.c (do_one_test): Likewise.
11686 (do_test_limit): Likewise.
11687 (do_test): Likewise.
11688 * string/test-strncpy.c (do_one_test): Likewise.
11689 (do_test): Likewise.
11690 * string/test-strnlen.c (do_one_test): Likewise.
11691 (do_test): Likewise.
11692 * string/test-strpbrk.c (do_one_test): Likewise.
11693 (do_test): Likewise.
11694 * string/test-strrchr.c (do_one_test): Likewise.
11695 (do_test): Likewise.
11696 * string/test-strspn.c (do_one_test): Likewise.
11697 (do_test): Likewise.
11698 * string/test-strstr.c (do_one_test): Likewise.
11699 (do_test): Likewise.
11700
97020474
SP
11701 * benchtests/Makefile (string-bench): Add string benchmarks.
11702 * benchtests/bench-bcopy-ifunc.c: New file.
11703 * benchtests/bench-bcopy.c: New file.
11704 * benchtests/bench-bzero-ifunc.c: New file.
11705 * benchtests/bench-bzero.c: New file.
11706 * benchtests/bench-memccpy-ifunc.c: New file.
11707 * benchtests/bench-memccpy.c: New file.
11708 * benchtests/bench-memchr-ifunc.c: New file.
11709 * benchtests/bench-memchr.c: New file.
11710 * benchtests/bench-memcmp-ifunc.c: New file.
11711 * benchtests/bench-memcmp.c: New file.
11712 * benchtests/bench-memmem-ifunc.c: New file.
11713 * benchtests/bench-memmem.c: New file.
11714 * benchtests/bench-memmove-ifunc.c: New file.
11715 * benchtests/bench-memmove.c: New file.
11716 * benchtests/bench-mempcpy-ifunc.c: New file.
11717 * benchtests/bench-mempcpy.c: New file.
11718 * benchtests/bench-memset-ifunc.c: New file.
11719 * benchtests/bench-memset.c: New file.
11720 * benchtests/bench-rawmemchr-ifunc.c: New file.
11721 * benchtests/bench-rawmemchr.c: New file.
11722 * benchtests/bench-stpcpy-ifunc.c: New file.
11723 * benchtests/bench-stpcpy.c: New file.
11724 * benchtests/bench-stpncpy-ifunc.c: New file.
11725 * benchtests/bench-stpncpy.c: New file.
11726 * benchtests/bench-strcasecmp-ifunc.c: New file.
11727 * benchtests/bench-strcasecmp.c: New file.
11728 * benchtests/bench-strcasestr-ifunc.c: New file.
11729 * benchtests/bench-strcasestr.c: New file.
11730 * benchtests/bench-strcat-ifunc.c: New file.
11731 * benchtests/bench-strcat.c: New file.
11732 * benchtests/bench-strchr-ifunc.c: New file.
11733 * benchtests/bench-strchr.c: New file.
11734 * benchtests/bench-strchrnul-ifunc.c: New file.
11735 * benchtests/bench-strchrnul.c: New file.
11736 * benchtests/bench-strcmp-ifunc.c: New file.
11737 * benchtests/bench-strcmp.c: New file.
11738 * benchtests/bench-strcpy-ifunc.c: New file.
11739 * benchtests/bench-strcpy.c: New file.
11740 * benchtests/bench-strcspn-ifunc.c: New file.
11741 * benchtests/bench-strcspn.c: New file.
11742 * benchtests/bench-strlen-ifunc.c: New file.
11743 * benchtests/bench-strlen.c: New file.
11744 * benchtests/bench-strncasecmp-ifunc.c: New file.
11745 * benchtests/bench-strncasecmp.c: New file.
11746 * benchtests/bench-strncat-ifunc.c: New file.
11747 * benchtests/bench-strncat.c: New file.
11748 * benchtests/bench-strncmp-ifunc.c: New file.
11749 * benchtests/bench-strncmp.c: New file.
11750 * benchtests/bench-strncpy-ifunc.c: New file.
11751 * benchtests/bench-strncpy.c: New file.
11752 * benchtests/bench-strnlen-ifunc.c: New file.
11753 * benchtests/bench-strnlen.c: New file.
11754 * benchtests/bench-strpbrk-ifunc.c: New file.
11755 * benchtests/bench-strpbrk.c: New file.
11756 * benchtests/bench-strrchr-ifunc.c: New file.
11757 * benchtests/bench-strrchr.c: New file.
11758 * benchtests/bench-strspn-ifunc.c: New file.
11759 * benchtests/bench-strspn.c: New file.
11760 * benchtests/bench-strstr-ifunc.c: New file.
11761 * benchtests/bench-strstr.c: New file.
11762
c1f75dc3
SP
11763 * benchtests/Makefile: Disable parallel execution of targets.
11764 (string-bench): Add memcpy.
11765 (benchset): New variable to store a list of benchmark sets.
11766 (bench-func): Renamed from bench.
11767 (bench-set): New target.
11768 (bench): Depend on bench-func and bench-set.
11769 * benchtests/README: Add section on benchmark sets.
11770 * benchtests/bench-memcpy-ifunc.c: New file.
11771 * benchtests/bench-memcpy.c: New file.
11772 * benchtests/bench-string.h: New file.
11773
50fd745b
AS
117742013-06-11 Andreas Schwab <schwab@suse.de>
11775
11776 [BZ #15577]
11777 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11778 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11779 values in the triple.
11780 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11781 terminator in the group key.
11782
3ee7e9fe
AJ
117832013-06-11 Andreas Jaeger <aj@suse.de>
11784
11785 * po/zh_TW.po: Update Chinese (traditional) translation from
11786 translation project.
11787
89fb6835
SP
117882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11789
11790 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11791 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11792 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11793 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11794 (clock_getcpuclockid): Likewise.
11795 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11796 Add weak_alias and libc_hidden_def.
11797 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11798 * rt/clock_gettime.c (clock_gettime): Rename to
11799 __clock_gettime. Add weak_alias and libc_hidden_def.
11800 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11801 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11802 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11803 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11804 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11805 Likewise.
11806 * rt/clock_settime.c (clock_settime): Rename to
11807 __clock_settime. Add weak_alias and libc_hidden_def.
11808 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11809
0efa6f8b
JM
118102013-06-10 Joseph Myers <joseph@codesourcery.com>
11811
b8c61b4b
JM
11812 * mach/err_boot.sub: Remove trailing whitespace.
11813 * mach/err_ipc.sub: Likewise.
11814 * mach/err_mach.sub: Likewise.
11815
0efa6f8b
JM
11816 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11817 (ROUNDING_TESTS_double): Likewise.
11818 (ROUNDING_TESTS_long_double): Likewise.
11819 (ROUNDING_TESTS): Likewise.
11820 * math/libm-test.inc: Include <math-tests.h>.
11821 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11822 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11823 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11824 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11825
50b818bf
SP
118262013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11827
11828 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11829 of assigning.
11830
60d2f8f3
JM
118312013-06-08 Joseph Myers <joseph@codesourcery.com>
11832
4902d2c3
JM
11833 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11834 otherwise empty TRANS lines.
11835 * sysdeps/gnu/errlist.c: Regenerated.
11836
60d2f8f3
JM
11837 * catgets/gencat.c (error_print): Use (void) in function
11838 definition.
11839 * crypt/crypt_util.c (__init_des): Likewise.
11840 * crypt/speeds.c (Stop): Likewise.
11841 (main): Likewise.
11842 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11843 * inet/ruserpass.c (token): Likewise.
11844 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11845 * intl/localealias.c (extend_alias_table): Likewise.
11846 * intl/plural-exp.c (init_germanic_plural): Likewise.
11847 * libio/fcloseall.c (__fcloseall): Likewise.
11848 * libio/genops.c (_IO_flush_all): Likewise.
11849 (_IO_flush_all_linebuffered): Likewise.
11850 (_IO_cleanup): Likewise.
11851 (_IO_iter_begin): Likewise.
11852 (_IO_iter_end): Likewise.
11853 (_IO_list_lock): Likewise.
11854 (_IO_list_unlock): Likewise.
11855 (_IO_list_resetlock): Likewise.
11856 * libio/getchar.c (getchar): Likewise.
11857 * libio/getchar_u.c (getchar_unlocked): Likewise.
11858 * libio/getwchar.c (getwchar): Likewise.
11859 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11860 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11861 * login/getpt.c (__getpt): Likewise.
11862 * login/tst-utmp.c (main): Likewise.
11863 * malloc/hooks.c (__malloc_check_init): Likewise.
11864 * malloc/malloc.c (__malloc_stats): Likewise.
11865 * malloc/mtrace.c (tr_break): Likewise.
11866 (mtrace): Likewise.
11867 (muntrace): Likewise.
11868 * misc/fstab.c (endfsent): Likewise.
11869 * misc/getclktck.c (__getclktck): Likewise.
11870 * misc/getdtsz.c (__getdtablesize): Likewise.
11871 * misc/gethostid.c (gethostid): Likewise.
11872 * misc/getpagesize.c (__getpagesize): Likewise.
11873 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11874 (__get_nprocs): Likewise.
11875 (__get_phys_pages): Likewise.
11876 (__get_avphys_pages): Likewise.
11877 * misc/getttyent.c (getttyent): Likewise.
11878 (setttyent): Likewise.
11879 (endttyent): Likewise.
11880 * misc/getusershell.c (getusershell): Likewise.
11881 (endusershell): Likewise.
11882 (setusershell): Likewise.
11883 (initshells): Likewise.
11884 * misc/hsearch.c (__hdestroy): Likewise.
11885 * misc/sync.c (sync): Likewise.
11886 * misc/syslog.c (closelog_internal): Likewise.
11887 (closelog): Likewise.
11888 * misc/ttyslot.c (ttyslot): Likewise.
11889 * misc/vhangup.c (vhangup): Likewise.
11890 * posix/fork.c (__fork): Likewise.
11891 * posix/getegid.c (__getegid): Likewise.
11892 * posix/geteuid.c (__geteuid): Likewise.
11893 * posix/getgid.c (__getgid): Likewise.
11894 * posix/getpid.c (__getpid): Likewise.
11895 * posix/getppid.c (__getppid): Likewise.
11896 * posix/getuid.c (__getuid): Likewise.
11897 * posix/pause.c (pause): Likewise.
11898 * posix/setpgrp.c (setpgrp): Likewise.
11899 * posix/setsid.c (__setsid): Likewise.
11900 * posix/test-vfork.c (noop): Likewise.
11901 * resolv/gethnamaddr.c (_endhtent): Likewise.
11902 (_gethtent): Likewise.
11903 (ht_endhostent): Likewise.
11904 (gethostent): Likewise.
11905 (dns_service): Likewise.
11906 * stdlib/drand48.c (drand48): Likewise.
11907 * stdlib/lrand48.c (lrand48): Likewise.
11908 * stdlib/mrand48.c (mrand48): Likewise.
11909 * stdlib/rand.c (rand): Likewise.
11910 * stdlib/random.c (__random): Likewise.
11911 * stdlib/setenv.c (clearenv): Likewise.
11912 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11913 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11914 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11915 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11916 (__get_nprocs): Likewise.
11917 (__get_phys_pages): Likewise.
11918 (__get_avphys_pages): Likewise.
11919 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11920 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11921 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11922 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11923 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11924 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11925 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11926 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11927 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11928 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11929 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11930 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11931 * sysdeps/posix/clock.c (clock): Likewise.
11932 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11933 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11934 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11935 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11936 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11937 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11938 (__get_nprocs_conf): Likewise.
11939 (__get_phys_pages): Likewise.
11940 (__get_avphys_pages): Likewise.
11941 * time/clock.c (clock): Likewise.
11942 * time/tzset.c (__tzname_max): Likewise.
11943
2e09a79a
JM
119442013-06-07 Joseph Myers <joseph@codesourcery.com>
11945
11946 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11947 (__bswap_32): Do not use "register".
11948 * crypt/crypt.c (_ufc_doit_r): Likewise.
11949 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11950 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11951 * gmon/gmon.c (__monstartup): Likewise.
11952 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11953 * hurd/hurdmalloc.c (more_memory): Likewise.
11954 (malloc): Likewise.
11955 (free): Likewise.
11956 (realloc): Likewise.
11957 (malloc_fork_prepare): Likewise.
11958 (malloc_fork_parent): Likewise.
11959 (malloc_fork_child): Likewise.
11960 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11961 (_svcauth_des): Likewise.
11962 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11963 * inet/inet_net.c (inet_network): Likewise.
11964 * inet/inet_netof.c (inet_netof): Likewise.
11965 * inet/rcmd.c (__validuser2_sa): Likewise.
11966 * io/fts.c (fts_open): Likewise.
11967 (fts_load): Likewise.
11968 (fts_close): Likewise.
11969 (fts_read): Likewise.
11970 (fts_children): Likewise.
11971 (fts_build): Likewise.
11972 (fts_stat): Likewise.
11973 (fts_sort): Likewise.
11974 (fts_alloc): Likewise.
11975 (fts_lfree): Likewise.
11976 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11977 (_IO_file_xsgetn): Likewise.
11978 (_IO_file_xsgetn_mmap): Likewise.
11979 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11980 (_IO_cookie_write): Likewise.
11981 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11982 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11983 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11984 * malloc/obstack.c (_obstack_begin): Likewise.
11985 (_obstack_begin_1): Likewise.
11986 (_obstack_newchunk): Likewise.
11987 (_obstack_allocated_p): Likewise.
11988 (obstack_free): Likewise.
11989 (_obstack_memory_used): Likewise.
11990 * misc/getttyent.c (getttynam): Likewise.
11991 (getttyent): Likewise.
11992 (skip): Likewise.
11993 (value): Likewise.
11994 * misc/getusershell.c (initshells): Likewise.
11995 * misc/syslog.c (__vsyslog_chk): Likewise.
11996 * misc/ttyslot.c (ttyslot): Likewise.
11997 * nis/nis_hash.c (__nis_hash): Likewise.
11998 * posix/fnmatch_loop.c (FCT): Likewise.
11999 * posix/getconf.c (print_all): Likewise.
12000 (main): Likewise.
12001 * posix/getopt.c (exchange): Likewise.
12002 * posix/glob.c (globfree): Likewise.
12003 (prefix_array): Likewise.
12004 (__glob_pattern_type): Likewise.
12005 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12006 (NS_GET32): Likewise.
12007 (NS_PUT16): Likewise.
12008 (NS_PUT32): Likewise.
12009 * resolv/gethnamaddr.c (getanswer): Likewise.
12010 (gethostbyname2): Likewise.
12011 (gethostbyaddr): Likewise.
12012 (_gethtent): Likewise.
12013 (_gethtbyname2): Likewise.
12014 (_gethtbyaddr): Likewise.
12015 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12016 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12017 * resolv/res_init.c (__res_vinit): Likewise.
12018 (net_mask): Likewise.
12019 * resolv/res_mkquery.c (outchar): Likewise.
12020 (PRINT): Likewise.
12021 * stdio-common/printf_fp.c (outchar): Likewise.
12022 (PRINT): Likewise.
12023 * stdio-common/printf_fphex.c (outchar): Likewise.
12024 (PRINT): Likewise.
12025 * stdio-common/printf_size.c (outchar): Likewise.
12026 (PRINT): Likewise.
12027 * stdio-common/test_rdwr.c (main): Likewise.
12028 * stdio-common/tfformat.c (matches): Likewise.
12029 * stdio-common/vfprintf.c (outchar): Likewise.
12030 (printf_unknown): Likewise.
12031 (buffered_vfprintf): Likewise.
12032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12033 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12034 (ReadFile): Likewise.
12035 * stdlib/qsort.c (SWAP): Likewise.
12036 (_quicksort): Likewise.
12037 * stdlib/setenv.c (__add_to_environ): Likewise.
12038 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12039 * stdlib/strtol_l.c (__strtol_l): Likewise.
12040 * stdlib/tst-strtod.c (main): Likewise.
12041 * stdlib/tst-strtol.c (main): Likewise.
12042 * stdlib/tst-strtoll.c (main): Likewise.
12043 * string/bits/string2.h (__strcmp_cc): Likewise.
12044 (__strcmp_cg): Likewise.
12045 (__strcspn_c1): Likewise.
12046 (__strcspn_c2): Likewise.
12047 (__strcspn_c3): Likewise.
12048 (__strspn_c1): Likewise.
12049 (__strspn_c2): Likewise.
12050 (__strspn_c3): Likewise.
12051 (__strsep_1c): Likewise.
12052 (__strsep_2c): Likewise.
12053 (__strsep_3c): Likewise.
12054 * string/memccpy.c (__memccpy): Likewise.
12055 * string/stpcpy.c (__stpcpy): Likewise.
12056 * string/strcmp.c (strcmp): Likewise.
12057 * string/strrchr.c (strrchr): Likewise.
12058 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12059 Likewise.
12060 * sysdeps/mach/hurd/getcwd.c
12061 (_hurd_canonicalize_directory_name_internal): Likewise.
12062 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12063 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12064 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12065 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12066 Likewise, in both definitions.
12067 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12068 definitions.
12069 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12070 64] (__bswap_64): Likewise.
12071 * time/test_time.c (main): Likewise.
12072 * time/tzfile.c (__tzfile_read): Likewise.
12073 (__tzfile_compute): Likewise.
12074 * time/tzset.c (__tzset_parse_tz): Likewise.
12075 (tzset_internal): Likewise.
12076 (compute_change): Likewise.
12077 * wcsmbs/wcscat.c (__wcscat): Likewise.
12078 * wcsmbs/wcschr.c (wcschr): Likewise.
12079 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12080 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12081 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12082 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12083 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12084 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12085 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12086 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12087 * wcsmbs/wmemset.c (wmemset): Likewise.
12088
9e54314b
JM
120892013-06-06 Joseph Myers <joseph@codesourcery.com>
12090
12091 * scripts/config.guess: Update to version 2013-05-16.
12092 * scripts/config.sub: Update to version 2013-04-24.
12093 * scripts/install-sh: Update to version 2011-11-20.07.
12094 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12095 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12096
350635a5
OB
120972013-06-06 Ondřej Bílka <neleai@seznam.cz>
12098
12099 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12100 * elf/sln.c: Likewise.
12101 * hurd/hurd/ioctl.h: Likewise.
12102 * hurd/hurdmalloc.c: Likewise.
12103 * hurd/xattr.c: Likewise.
12104 * include/shlib-compat.h: Likewise.
12105 * inet/ruserpass.c: Likewise.
12106 * libio/iofgets_u.c: Likewise.
12107 * libio/iofgetws_u.c: Likewise.
12108 * locale/programs/ld-identification.c: Likewise.
12109 * locale/programs/ld-time.c: Likewise.
12110 * mach/msg-destroy.c: Likewise.
12111 * nss/nss_files/files-netgrp.c: Likewise.
12112 * resolv/res_data.c: Likewise.
12113 * soft-fp/op-1.h: Likewise.
12114 * soft-fp/op-2.h: Likewise.
12115 * soft-fp/op-4.h: Likewise.
12116 * soft-fp/op-common.h: Likewise.
12117 * stdio-common/printf_fphex.c: Likewise.
12118 * stdlib/strtod_l.c: Likewise.
12119 * sunrpc/rpc/clnt.h: Likewise.
12120 * sysdeps/generic/framestate.c: Likewise.
12121 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12122 * sysdeps/i386/bsd-setjmp.S: Likewise.
12123 * sysdeps/i386/__longjmp.S: Likewise.
12124 * sysdeps/i386/setjmp.S: Likewise.
12125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12126 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12127 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12128 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12134 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12135 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12137 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12142 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12143 * sysdeps/ieee754/support.c: Likewise.
12144 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12145 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12146 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12147 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12148 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12149 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12150 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12151 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12152 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12153 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12154 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12155 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12156 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12157 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12158 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12159 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12160 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12162
44a988af
OB
121632013-06-05 Ondřej Bílka <neleai@seznam.cz>
12164
25506f09 12165 * posix/transbug.c: Remove executable mode.
44a988af 12166
9c84384c
JM
121672013-06-05 Joseph Myers <joseph@codesourcery.com>
12168
12169 * crypt/speeds.c: Remove trailing whitespace.
12170 * dlfcn/default.c: Likewise.
12171 * elf/ifuncdep2.c: Likewise.
12172 * elf/ifuncmain1.c: Likewise.
12173 * elf/ifuncmain1vis.c: Likewise.
12174 * elf/testobj.h: Likewise.
12175 * elf/tst-stackguard1.c: Likewise.
12176 * gmon/sys/gmon.h: Likewise.
12177 * hurd/hurdmsg.c: Likewise.
12178 * hurd/new-fd.c: Likewise.
12179 * hurd/ports-get.c: Likewise.
12180 * iconvdata/ibm1008_420.c: Likewise.
12181 * inet/tst-getni1.c: Likewise.
12182 * inet/tst-getni2.c: Likewise.
12183 * libio/ioungetc.c: Likewise.
12184 * libio/wfiledoalloc.c: Likewise.
12185 * manual/libm-err-tab.pl: Likewise.
12186 * math/w_dremf.c: Likewise.
12187 * misc/ftruncate.c: Likewise.
12188 * posix/bug-glob2.c: Likewise.
12189 * posix/tst-pcre.c: Likewise.
12190 * posix/wait4.c: Likewise.
12191 * resolv/README: Likewise.
12192 * resolv/res_debug.h: Likewise.
12193 * resolv/tst-inet_ntop.c: Likewise.
12194 * setjmp/bug269-setjmp.c: Likewise.
12195 * soft-fp/extended.h: Likewise.
12196 * soft-fp/op-1.h: Likewise.
12197 * soft-fp/op-2.h: Likewise.
12198 * soft-fp/op-4.h: Likewise.
12199 * soft-fp/op-8.h: Likewise.
12200 * soft-fp/testit.c: Likewise.
12201 * stdio-common/bug16.c: Likewise.
12202 * stdlib/random.c: Likewise.
12203 * sunrpc/rpcsvc/rquota.x: Likewise.
12204 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12205 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12207 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12208 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12211 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12212 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12214 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12225 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12231 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12232 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12233 * sysdeps/ieee754/s_lib_version.c: Likewise.
12234 * sysdeps/mach/hurd/check_fds.c: Likewise.
12235 * sysdeps/mach/hurd/getsockname.c: Likewise.
12236 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12237 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12238 * sysdeps/powerpc/bits/link.h: Likewise.
12239 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12240 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12241 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12242 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12243 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12244 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12245 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12246 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12247 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12248 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12249 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12250 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12251 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12252 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12253 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12254 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12255 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12256 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12257 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12258 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12259 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12260 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12261 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12262 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12263 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12264 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12266 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12267 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12268 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12269 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12272 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12273 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12274 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12275 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12276 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12277 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12278 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12279 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12280 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12281 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12282 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12283 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12284 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12285 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12286 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12287 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12288 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12291 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12292 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12293 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12294 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12295 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12296 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12297 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12298 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12299 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12300 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12301 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12302 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12303 * sysdeps/powerpc/sysdep.h: Likewise.
12304 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12305 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12306 * sysdeps/sh/dl-trampoline.S: Likewise.
12307 * sysdeps/sh/memset.S: Likewise.
12308 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12309 * sysdeps/sh/strlen.S: Likewise.
12310 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12311 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12312 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12313 * sysdeps/sparc/sparc32/rem.S: Likewise.
12314 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12315 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12316 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12317 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12318 * sysdeps/sparc/sparc32/urem.S: Likewise.
12319 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12320 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12321 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12322 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12323 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12324 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12325 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12326 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12327 * sysdeps/unix/bsd/times.c: Likewise.
12328 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12329 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12333 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12334 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12335 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12336 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12337 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12338 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12339 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12340 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12341 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12342 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12343 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12344 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12345 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12346 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12347 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12348 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12349 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12350 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12351 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12352 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12353 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12354 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12355 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12356 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12357 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12358 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12359 * sysdeps/x86_64/strcspn.S: Likewise.
12360
869378a5
RA
123612013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12362
12363 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12364 generated file. Regenerate properly from gen-translit.pl.
12365 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12366 locale/C-translit.h.
12367
840e2943
AS
123682013-06-05 Andreas Schwab <schwab@suse.de>
12369
12370 [BZ #15100]
12371 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12372 week as 6 instead of -1.
12373 * time/tst-strptime.c (day_tests): Add test case.
12374
4c60cb0c
SP
123752013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12376
12377 * sysdeps/generic/math_private.h
12378 (libc_feholdexcept_setround_53bit): Replace with
12379 libc_feholdsetround_53bit.
12380 (libc_feupdateenv_53bit): Replace with
12381 libc_feresetround_53bit.
12382 (SET_RESTORE_ROUND_53BIT): Adjust.
12383
d180203e
SP
123842013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12385
96df079a
SP
12386 * string/test-strchrnul.c: Add copyright header.
12387
d180203e
SP
12388 * posix/tst-getaddrinfo4.c: Increase test timeout.
12389
8b0ccb2d
CD
123902013-06-03 Carlos O'Donell <carlos@redhat.com>
12391
12392 [BZ #15536]
12393 * math/libm-test.inc (MAX_EXP): Remove
12394 (MIN_EXP): Define.
12395 (ulp): Use MIN_EXP - MANT_DIG.
12396 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12397
3b3c4d40
CD
123982013-05-31 Carlos O'Donell <carlos@redhat.com>
12399
12400 * po/be.po: Revert last change.
12401 * po/zh_CN.po: Likewise.
12402 * po/header.pot: Likewise.
12403
fab7ce3f
JM
124042013-05-31 Joseph Myers <joseph@codesourcery.com>
12405
12406 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12407 link-libc-deps to empty as target-specific variable.
12408 * Makerules (link-libc-args): New variable.
12409 (libc-for-link): Likewise.
12410 (link-libc-deps): Likewise.
12411 (lib%.so): Depend on $(link-libc-deps). Link with
12412 $(link-libc-args).
12413 (build-module): Link with $(link-libc-args).
12414 (build-module-asneeded): Likewise.
12415 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12416 list of objects.
12417 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12418 target-specific variable.
12419 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12420 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12421 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12422 libc.
12423 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12424 libc and ld.so.
12425 ($(objpfx)libpcprofile.so): Likewise.
12426 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12427 libc_nonshared.a.
12428 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12429 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12430 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12431 $(link-libc-deps).
12432 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12433 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12434 * login/Makefile ($(objpfx)libutil.so): Likewise.
12435 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12436 * math/Makefile ($(objpfx)libm.so): Likewise.
12437 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12438 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12439 variable instead of depending directly on libc.
12440 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12441 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12442 $(link-libc-deps).
12443 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12444 libc.
12445 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12446 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12447 ($(objpfx)libanl.so): Likewise.
12448 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12449 ld.so.
12450 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12451 $(link-libc-deps).
12452 * sysdeps/i386/fpu/Makefile: Remove file.
12453 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12454 ($(objpfx)libm.so): Remove dependency on ld.so.
12455
eca5920c
PF
124562013-05-30 Patsy Franklin <pfrankli@redhat.com>
12457
12458 [BZ # 15553]
12459 * nis/yp_xdr.c (XDRMAXNAME): Define.
12460 (XDRMAXRECORD): Define.
12461 (xdr_domainname): Use XDRMAXNAME.
12462 (xdr_mapname): Likewise.
12463 (xdr_peername): Likewise.
12464 (xdr_keydat): Use XDRMAXRECORD.
12465 (xdr_valdat): Likewise.
12466
124672013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12468
12469 [BZ #14256]
12470 * manual/errno.texi (ESTALE): Update to account for more than
12471 just NFS file systems.
12472 * sysdeps/gnu/errlist.c: Regenerated.
12473
b9375348
SP
124742013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12475
12476 [BZ #15465]
12477 * elf/Makefile (tests): Add tst-null-argv.
12478 (modules-names): Add tst-null-argv-lib.
12479 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12480 (tst-null-argv-ENV): Set environment for tst-null-argv.
12481 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12482 (RTLD_PROGNAME): New macro.
12483 * elf/tst-null-argv.c: New test case.
12484 * elf/tst-null-argv-lib.c: Library for test case.
12485 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12486 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12487 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12488 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12489 * elf/dl-init.c (call_init): Likewise.
12490 (_dl_init): Likewise.
12491 * elf/dl-load.c (print_search_path): Likewise.
12492 (_dl_map_object): Likewise.
12493 * elf/dl-lookup.c (do_lookup_x): Likewise.
12494 (add_dependency): Likewise.
12495 (_dl_lookup_symbol_x): Likewise.
12496 (_dl_debug_bindings): Likewise.
12497 * elf/dl-open.c (_dl_show_scope): Likewise.
12498 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12499 * elf/dl-version.c (match_symbol): Likewise.
12500 (_dl_check_map_versions): Likewise.
12501 * elf/rtld.c (dl_main): Likewise.
12502 (print_unresolved): Use RTLD_PROGNAME.
12503 (print_missing_version): Likewise.
12504 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12505 (elf_machine_rela): Likewise.
12506 * sysdeps/powerpc/powerpc32/dl-machine.c
12507 (__process_machine_rela): Likewise.
12508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12509 Likewise.
12510 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12511 Likewise.
12512 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12513 Likewise.
12514 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12516 Likewise.
12517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12518 Likewise.
12519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12520
8a9f20c8
CD
125212013-05-28 Carlos O'Donell <carlos@redhat.com>
12522
12523 * po/be.po: Add descriptive title.
12524 * po/zh_CN.po: Likewise.
12525 * po/header.pot: Likewise.
12526
0e60d68e
MF
125272013-05-28 Mike Frysinger <vapier@gentoo.org>
12528
12529 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12530 error message.
12531 (enlarge_archive): Likewise.
12532
56b672e9
BN
125332013-05-28 Ben North <ben@redfrontdoor.org>
12534
12535 * manual/arith.texi (frexp): It is the magnitude of the return
12536 value which lies in [0.5, 1), not the return value itself.
12537
5e056687
AZ
125382013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12539
12540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12541
2b66ef5d
TS
125422013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12543
528c2405
TS
12544 * stdio-common/bug26.c (main): Correct fscanf template.
12545
07b4c13d
TS
12546 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12547 declare _dl_skip_args.
12548
ec9dd97c
TS
12549 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12550 Don't declare.
12551
2b66ef5d
TS
12552 * manual/platform.texi: Add missing @end deftypefun.
12553
4f8dfe27
JM
125542013-05-24 Joseph Myers <joseph@codesourcery.com>
12555
0323d086
JM
12556 [BZ #15529]
12557 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12558 bit of mantissa of 2^16382.
12559 * math/libm-test.inc (hypot_test_data): Add more tests.
12560
dd4259b9
JM
12561 * math/libm-test.inc: Add drem and pow10 to list of tested
12562 functions.
12563 (pow10_test): New function.
12564 (drem_test): Likewise.
12565 (drem_test_tonearest): Likewise.
12566 (drem_test_towardzero): Likewise.
12567 (drem_test_downward): Likewise.
12568 (drem_test_upward): Likewise.
12569 (main): Call the new functions.
12570
4f8dfe27
JM
12571 * math/libm-test.inc (finite_test_data): Remove.
12572 (finite_test): Run tests from isfinite_test_data.
12573 (gamma_test_data): Remove.
12574 (gamma_test): Run tests from lgamma_test_data.
12575 * sysdeps/i386/fpu/libm-test-ulps: Update.
12576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12577
d116b7c4
AZ
125782013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12579
12580 * manual/platform.texi: Add PowerPC PPR function set documentation.
12581 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12582 implementation.
12583
e96e3767
CD
125842013-05-24 Carlos O'Donell <carlos@redhat.com>
12585
12586 * math/libm-test.inc (MAX_EXP): Define.
12587 (ULPDIFF): Define.
12588 (ulp): New function.
12589 (check_float_internal): Use ULPDIFF.
12590 (cpow_test): Disable failing test.
12591 (check_ulp): Test ulp() implemetnation.
12592 (main): Call check_ulp before starting tests.
12593
b679a606
JM
125942013-05-24 Joseph Myers <joseph@codesourcery.com>
12595
e8bdba36
JM
12596 * math/gen-libm-test.pl (generate_testfile): Do not handle
12597 START_DATA and END_DATA.
12598 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12599 END_DATA.
12600 (acos_tonearest_test_data): Likewise.
12601 (acos_towardzero_test_data): Likewise.
12602 (acos_downward_test_data): Likewise.
12603 (acos_upward_test_data): Likewise.
12604 (acosh_test_data): Likewise.
12605 (asin_test_data): Likewise.
12606 (asin_tonearest_test_data): Likewise.
12607 (asin_towardzero_test_data): Likewise.
12608 (asin_downward_test_data): Likewise.
12609 (asin_upward_test_data): Likewise.
12610 (asinh_test_data): Likewise.
12611 (atan_test_data): Likewise.
12612 (atanh_test_data): Likewise.
12613 (atan2_test_data): Likewise.
12614 (cabs_test_data): Likewise.
12615 (cacos_test_data): Likewise.
12616 (cacosh_test_data): Likewise.
12617 (carg_test_data): Likewise.
12618 (casin_test_data): Likewise.
12619 (casinh_test_data): Likewise.
12620 (catan_test_data): Likewise.
12621 (catanh_test_data): Likewise.
12622 (cbrt_test_data): Likewise.
12623 (ccos_test_data): Likewise.
12624 (ccosh_test_data): Likewise.
12625 (ceil_test_data): Likewise.
12626 (cexp_test_data): Likewise.
12627 (cimag_test_data): Likewise.
12628 (clog_test_data): Likewise.
12629 (clog10_test_data): Likewise.
12630 (conj_test_data): Likewise.
12631 (copysign_test_data): Likewise.
12632 (cos_test_data): Likewise.
12633 (cos_tonearest_test_data): Likewise.
12634 (cos_towardzero_test_data): Likewise.
12635 (cos_downward_test_data): Likewise.
12636 (cos_upward_test_data): Likewise.
12637 (cosh_test_data): Likewise.
12638 (cosh_tonearest_test_data): Likewise.
12639 (cosh_towardzero_test_data): Likewise.
12640 (cosh_downward_test_data): Likewise.
12641 (cosh_upward_test_data): Likewise.
12642 (cpow_test_data): Likewise.
12643 (cproj_test_data): Likewise.
12644 (creal_test_data): Likewise.
12645 (csin_test_data): Likewise.
12646 (csinh_test_data): Likewise.
12647 (csqrt_test_data): Likewise.
12648 (ctan_test_data): Likewise.
12649 (ctan_tonearest_test_data): Likewise.
12650 (ctan_towardzero_test_data): Likewise.
12651 (ctan_downward_test_data): Likewise.
12652 (ctan_upward_test_data): Likewise.
12653 (ctanh_test_data): Likewise.
12654 (ctanh_tonearest_test_data): Likewise.
12655 (ctanh_towardzero_test_data): Likewise.
12656 (ctanh_downward_test_data): Likewise.
12657 (ctanh_upward_test_data): Likewise.
12658 (erf_test_data): Likewise.
12659 (erfc_test_data): Likewise.
12660 (exp_test_data): Likewise.
12661 (exp_tonearest_test_data): Likewise.
12662 (exp_towardzero_test_data): Likewise.
12663 (exp_downward_test_data): Likewise.
12664 (exp_upward_test_data): Likewise.
12665 (exp10_test_data): Likewise.
12666 (exp2_test_data): Likewise.
12667 (expm1_test_data): Likewise.
12668 (fabs_test_data): Likewise.
12669 (fdim_test_data): Likewise.
12670 (finite_test_data): Likewise.
12671 (floor_test_data): Likewise.
12672 (fma_test_data): Likewise.
12673 (fma_towardzero_test_data): Likewise.
12674 (fma_downward_test_data): Likewise.
12675 (fma_upward_test_data): Likewise.
12676 (fmax_test_data): Likewise.
12677 (fmin_test_data): Likewise.
12678 (fmod_test_data): Likewise.
12679 (fpclassify_test_data): Likewise.
12680 (frexp_test_data): Likewise.
12681 (gamma_test_data): Likewise.
12682 (hypot_test_data): Likewise.
12683 (ilogb_test_data): Likewise.
12684 (isfinite_test_data): Likewise.
12685 (isgreater_test_data): Likewise.
12686 (isgreaterequal_test_data): Likewise.
12687 (isinf_test_data): Likewise.
12688 (isless_test_data): Likewise.
12689 (islessequal_test_data): Likewise.
12690 (islessgreater_test_data): Likewise.
12691 (isnan_test_data): Likewise.
12692 (isnormal_test_data): Likewise.
12693 (issignaling_test_data): Likewise.
12694 (isunordered_test_data): Likewise.
12695 (j0_test_data): Likewise.
12696 (j1_test_data): Likewise.
12697 (jn_test_data): Likewise.
12698 (ldexp_test_data): Likewise.
12699 (lgamma_test_data): Likewise.
12700 (lrint_test_data): Likewise.
12701 (lrint_tonearest_test_data): Likewise.
12702 (lrint_towardzero_test_data): Likewise.
12703 (lrint_downward_test_data): Likewise.
12704 (lrint_upward_test_data): Likewise.
12705 (llrint_test_data): Likewise.
12706 (llrint_tonearest_test_data): Likewise.
12707 (llrint_towardzero_test_data): Likewise.
12708 (llrint_downward_test_data): Likewise.
12709 (llrint_upward_test_data): Likewise.
12710 (log_test_data): Likewise.
12711 (log10_test_data): Likewise.
12712 (log1p_test_data): Likewise.
12713 (log2_test_data): Likewise.
12714 (logb_test_data): Likewise.
12715 (logb_downward_test_data): Likewise.
12716 (lround_test_data): Likewise.
12717 (llround_test_data): Likewise.
12718 (modf_test_data): Likewise.
12719 (nearbyint_test_data): Likewise.
12720 (nextafter_test_data): Likewise.
12721 (nexttoward_test_data): Likewise.
12722 (pow_test_data): Likewise.
12723 (pow_tonearest_test_data): Likewise.
12724 (pow_towardzero_test_data): Likewise.
12725 (pow_downward_test_data): Likewise.
12726 (pow_upward_test_data): Likewise.
12727 (remainder_test_data): Likewise.
12728 (remainder_tonearest_test_data): Likewise.
12729 (remainder_towardzero_test_data): Likewise.
12730 (remainder_downward_test_data): Likewise.
12731 (remainder_upward_test_data): Likewise.
12732 (remquo_test_data): Likewise.
12733 (rint_test_data): Likewise.
12734 (rint_tonearest_test_data): Likewise.
12735 (rint_towardzero_test_data): Likewise.
12736 (rint_downward_test_data): Likewise.
12737 (rint_upward_test_data): Likewise.
12738 (round_test_data): Likewise.
12739 (scalb_test_data): Likewise.
12740 (scalbn_test_data): Likewise.
12741 (scalbln_test_data): Likewise.
12742 (signbit_test_data): Likewise.
12743 (sin_test_data): Likewise.
12744 (sin_tonearest_test_data): Likewise.
12745 (sin_towardzero_test_data): Likewise.
12746 (sin_downward_test_data): Likewise.
12747 (sin_upward_test_data): Likewise.
12748 (sincos_test_data): Likewise.
12749 (sinh_test_data): Likewise.
12750 (sinh_tonearest_test_data): Likewise.
12751 (sinh_towardzero_test_data): Likewise.
12752 (sinh_downward_test_data): Likewise.
12753 (sinh_upward_test_data): Likewise.
12754 (sqrt_test_data): Likewise.
12755 (tan_test_data): Likewise.
12756 (tan_tonearest_test_data): Likewise.
12757 (tan_towardzero_test_data): Likewise.
12758 (tan_downward_test_data): Likewise.
12759 (tan_upward_test_data): Likewise.
12760 (tanh_test_data): Likewise.
12761 (tgamma_test_data): Likewise.
12762 (trunc_test_data): Likewise.
12763 (y0_test_data): Likewise.
12764 (y1_test_data): Likewise.
12765 (yn_test_data): Likewise.
12766 (significand_test_data): Likewise.
12767
b679a606
JM
12768 * math/gen-libm-test.pl (@functions): Remove variable.
12769 (generate_testfile): Don't handle START and END lines.
12770 * math/libm-test.inc (START): New macro.
12771 (END): Likewise.
12772 (END_COMPLEX): Likewise.
12773 (acos_test): Use END macro without arguments.
12774 (acos_test_tonearest): Likewise.
12775 (acos_test_towardzero): Likewise.
12776 (acos_test_downward): Likewise.
12777 (acos_test_upward): Likewise.
12778 (acosh_test): Likewise.
12779 (asin_test): Likewise.
12780 (asin_test_tonearest): Likewise.
12781 (asin_test_towardzero): Likewise.
12782 (asin_test_downward): Likewise.
12783 (asin_test_upward): Likewise.
12784 (asinh_test): Likewise.
12785 (atan_test): Likewise.
12786 (atanh_test): Likewise.
12787 (atan2_test): Likewise.
12788 (cabs_test): Likewise.
12789 (cacos_test): Use END_COMPLEX macro without arguments.
12790 (cacosh_test): Likewise.
12791 (carg_test): Use END macro without arguments.
12792 (casin_test): Use END_COMPLEX macro without arguments.
12793 (casinh_test): Likewise.
12794 (catan_test): Likewise.
12795 (catanh_test): Likewise.
12796 (cbrt_test): Use END macro without arguments.
12797 (ccos_test): Use END_COMPLEX macro without arguments.
12798 (ccosh_test): Likewise.
12799 (ceil_test): Use END macro without arguments.
12800 (cexp_test): Use END_COMPLEX macro without arguments.
12801 (cimag_test): Use END macro without arguments.
12802 (clog_test): Use END_COMPLEX macro without arguments.
12803 (clog10_test): Likewise.
12804 (conj_test): Likewise.
12805 (copysign_test): Use END macro without arguments.
12806 (cos_test): Likewise.
12807 (cos_test_tonearest): Likewise.
12808 (cos_test_towardzero): Likewise.
12809 (cos_test_downward): Likewise.
12810 (cos_test_upward): Likewise.
12811 (cosh_test): Likewise.
12812 (cosh_test_tonearest): Likewise.
12813 (cosh_test_towardzero): Likewise.
12814 (cosh_test_downward): Likewise.
12815 (cosh_test_upward): Likewise.
12816 (cpow_test): Use END_COMPLEX macro without arguments.
12817 (cproj_test): Likewise.
12818 (creal_test): Use END macro without arguments.
12819 (csin_test): Use END_COMPLEX macro without arguments.
12820 (csinh_test): Likewise.
12821 (csqrt_test): Likewise.
12822 (ctan_test): Likewise.
12823 (ctan_test_tonearest): Likewise.
12824 (ctan_test_towardzero): Likewise.
12825 (ctan_test_downward): Likewise.
12826 (ctan_test_upward): Likewise.
12827 (ctanh_test): Likewise.
12828 (ctanh_test_tonearest): Likewise.
12829 (ctanh_test_towardzero): Likewise.
12830 (ctanh_test_downward): Likewise.
12831 (ctanh_test_upward): Likewise.
12832 (erf_test): Use END macro without arguments.
12833 (erfc_test): Likewise.
12834 (exp_test): Likewise.
12835 (exp_test_tonearest): Likewise.
12836 (exp_test_towardzero): Likewise.
12837 (exp_test_downward): Likewise.
12838 (exp_test_upward): Likewise.
12839 (exp10_test): Likewise.
12840 (exp2_test): Likewise.
12841 (expm1_test): Likewise.
12842 (fabs_test): Likewise.
12843 (fdim_test): Likewise.
12844 (finite_test): Likewise.
12845 (floor_test): Likewise.
12846 (fma_test): Likewise.
12847 (fma_test_towardzero): Likewise.
12848 (fma_test_downward): Likewise.
12849 (fma_test_upward): Likewise.
12850 (fmax_test): Likewise.
12851 (fmin_test): Likewise.
12852 (fmod_test): Likewise.
12853 (fpclassify_test): Likewise.
12854 (frexp_test): Likewise.
12855 (gamma_test): Likewise.
12856 (hypot_test): Likewise.
12857 (ilogb_test): Likewise.
12858 (isfinite_test): Likewise.
12859 (isgreater_test): Likewise.
12860 (isgreaterequal_test): Likewise.
12861 (isinf_test): Likewise.
12862 (isless_test): Likewise.
12863 (islessequal_test): Likewise.
12864 (islessgreater_test): Likewise.
12865 (isnan_test): Likewise.
12866 (isnormal_test): Likewise.
12867 (issignaling_test): Likewise.
12868 (isunordered_test): Likewise.
12869 (j0_test): Likewise.
12870 (j1_test): Likewise.
12871 (jn_test): Likewise.
12872 (ldexp_test): Likewise.
12873 (lgamma_test): Likewise.
12874 (lrint_test): Likewise.
12875 (lrint_test_tonearest): Likewise.
12876 (lrint_test_towardzero): Likewise.
12877 (lrint_test_downward): Likewise.
12878 (lrint_test_upward): Likewise.
12879 (llrint_test): Likewise.
12880 (llrint_test_tonearest): Likewise.
12881 (llrint_test_towardzero): Likewise.
12882 (llrint_test_downward): Likewise.
12883 (llrint_test_upward): Likewise.
12884 (log_test): Likewise.
12885 (log10_test): Likewise.
12886 (log1p_test): Likewise.
12887 (log2_test): Likewise.
12888 (logb_test): Likewise.
12889 (logb_test_downward): Likewise.
12890 (lround_test): Likewise.
12891 (llround_test): Likewise.
12892 (modf_test): Likewise.
12893 (nearbyint_test): Likewise.
12894 (nextafter_test): Likewise.
12895 (nexttoward_test): Likewise.
12896 (pow_test): Likewise.
12897 (pow_test_tonearest): Likewise.
12898 (pow_test_towardzero): Likewise.
12899 (pow_test_downward): Likewise.
12900 (pow_test_upward): Likewise.
12901 (remainder_test): Likewise.
12902 (remainder_test_tonearest): Likewise.
12903 (remainder_test_towardzero): Likewise.
12904 (remainder_test_downward): Likewise.
12905 (remainder_test_upward): Likewise.
12906 (remquo_test): Likewise.
12907 (rint_test): Likewise.
12908 (rint_test_tonearest): Likewise.
12909 (rint_test_towardzero): Likewise.
12910 (rint_test_downward): Likewise.
12911 (rint_test_upward): Likewise.
12912 (round_test): Likewise.
12913 (scalb_test): Likewise.
12914 (scalbn_test): Likewise.
12915 (scalbln_test): Likewise.
12916 (signbit_test): Likewise.
12917 (sin_test): Likewise.
12918 (sin_test_tonearest): Likewise.
12919 (sin_test_towardzero): Likewise.
12920 (sin_test_downward): Likewise.
12921 (sin_test_upward): Likewise.
12922 (sincos_test): Likewise.
12923 (sinh_test): Likewise.
12924 (sinh_test_tonearest): Likewise.
12925 (sinh_test_towardzero): Likewise.
12926 (sinh_test_downward): Likewise.
12927 (sinh_test_upward): Likewise.
12928 (sqrt_test): Likewise.
12929 (tan_test): Likewise.
12930 (tan_test_tonearest): Likewise.
12931 (tan_test_towardzero): Likewise.
12932 (tan_test_downward): Likewise.
12933 (tan_test_upward): Likewise.
12934 (tanh_test): Likewise.
12935 (tgamma_test): Likewise.
12936 (trunc_test): Likewise.
12937 (y0_test): Likewise.
12938 (y1_test): Likewise.
12939 (yn_test): Likewise.
12940 (significand_test): Likewise.
12941
bae143d2
OB
129422013-05-24 Ondřej Bílka <neleai@seznam.cz>
12943
12944 [BZ #15381]
12945 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12946
9323d39b
EM
129472013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12948
d4ea44a0 12949 [BZ #14894]
9323d39b
EM
12950 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12951 __ppc_mdoio and __ppc_mdoom.
12952 * manual/platform.texi: Document new functions __ppc_yield,
12953 __ppc_mdoio and __ppc_mdoom.
12954
13e23af7
CD
129552013-05-22 Carlos O'Donell <carlos@redhat.com>
12956
12957 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12958 (main): Mention "tls" pseudo-hwcap is legacy.
12959 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12960
351fe550
JM
129612013-05-22 Joseph Myers <joseph@codesourcery.com>
12962
12963 * math/gen-libm-test.pl (parse_args): Output only string of
12964 arguments as text for test name, not full call or descriptions of
12965 tests for extra outputs.
12966 (generate_testfile): Do not pass function name to parse_args.
12967 Generate this_func variable from START.
12968 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12969 field to arg_str.
12970 (struct test_ff_f_data): Likewise.
12971 (test_ff_f_data_nexttoward): Likewise.
12972 (struct test_fi_f_data): Likewise.
12973 (struct test_fl_f_data): Likewise.
12974 (struct test_if_f_data): Likewise.
12975 (struct test_fff_f_data): Likewise.
12976 (struct test_c_f_data): Likewise.
12977 (struct test_f_f1_data): Likewise. Remove field extra_name.
12978 (struct test_fF_f1_data): Likewise.
12979 (struct test_ffI_f1_data): Likewise.
12980 (struct test_c_c_data): Rename test_name field to arg_str.
12981 (struct test_cc_c_data): Likewise.
12982 (struct test_f_i_data): Likewise.
12983 (struct test_ff_i_data): Likewise.
12984 (struct test_f_l_data): Likewise.
12985 (struct test_f_L_data): Likewise.
12986 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12987 and extra2_name.
12988 (COMMON_TEST_SETUP): New macro.
12989 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12990 (COMMON_TEST_CLEANUP): Likewise.
12991 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12992 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12993 macros.
12994 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12995 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12996 macros.
12997 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12998 (RUN_TEST_fff_f): Take argument string. Call new setup and
12999 cleanup macros.
13000 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13001 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13002 macros.
13003 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13004 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13005 macros.
13006 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13007 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13008 cleanup macros.
13009 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13010 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13011 cleanup macros.
13012 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13013 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13014 cleanup macros.
13015 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13016 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13017 macros.
13018 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13019 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13020 macros.
13021 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13022 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13023 macros.
13024 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13025 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13026 cleanup macros.
13027 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13028 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13029 cleanup macros.
13030 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13031 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13032 macros.
13033 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13034 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13035 cleanup macros.
13036 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13037 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13038 macros.
13039 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13040 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13041 macros.
13042 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13043 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13044 cleanup macros.
13045 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13046
85118d4d
EBM
130472013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13048
13049 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13050 to _sifields.sigfault.
13051 (si_addr_lsb): Define new macro.
13052 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13053 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13054 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13055
7a44c18f
CD
130562013-05-03 Carlos O'Donell <carlos at redhat.com>
13057
13058 [BZ #15441]
13059 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13060 returns -1.
13061 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13062 null return -1.
13063 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13064 loading the domain.
13065
b50a7181
JM
130662013-05-22 Joseph Myers <joseph@codesourcery.com>
13067
13068 * math/gen-libm-test.pl (parse_args): Do not include expected
13069 result in test name.
13070 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13071 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13072 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13073 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13074 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076
051063c8
SP
130772013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13078
3ce9e010
SP
13079 * benchtests/Makefile: Sort function entries.
13080
051063c8
SP
13081 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13082 tanh, asinh, acosh, atanh.
13083 * benchtests/acos-inputs: New file.
13084 * benchtests/acosh-inputs: New file.
13085 * benchtests/asin-inputs: New file.
13086 * benchtests/asinh-inputs: New file.
13087 * benchtests/atanh-inputs: New file.
13088 * benchtests/cosh-inputs: New file.
13089 * benchtests/log-inputs: New file.
13090 * benchtests/sinh-inputs: New file.
13091 * benchtests/tanh-inputs: New file.
13092
47c22455
DL
130932013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13094
13095 [BZ #15339]
13096 * posix/tst-getaddrinfo4.c: New test.
13097 * posix/Makefile (tests): Add it.
13098
3d04f5db
SP
130992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13100
13101 [BZ #15339]
13102 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13103 when no services were used.
13104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13105 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13106
d5dd6189
AS
131072013-05-21 Andreas Schwab <schwab@suse.de>
13108
13109 [BZ #15014]
13110 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13111 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13112 successful.
13113 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13114 redundant variable declarations and reallocation of buffer when
13115 parsing as IPv6 address. Always set NSS status when called from
13116 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13117 buffer too small. Correct computation of needed size.
13118 * nss/Makefile (tests): Add test-digits-dots.
13119 * nss/test-digits-dots.c: New test.
13120
fef94eab
SP
131212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13122
13123 * benchtests/Makefile: Remove instructions for adding
13124 benchmark tests.
13125 * benchtests/README: New file to explain how to execute and
13126 enhance the benchmark tests.
13127
e39adf43
AS
131282013-05-21 Andreas Schwab <schwab@suse.de>
13129
13130 [BZ #15493]
13131 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13132 * setjmp/tst-sigsetjmp.c: New test.
13133
b2b671b6
OB
131342013-05-20 Ondřej Bílka <neleai@seznam.cz>
13135
13136 * sysdeps/x86_64/memset.S (memset): New implementation.
13137 (__bzero): Likewise.
13138 (__memset_tail): New function.
13139
2d48b41c
OB
131402013-05-20 Ondřej Bílka <neleai@seznam.cz>
13141
13142 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13143 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13144 __memcpy_sse2_unaligned ifunc selection.
13145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13146 Add memcpy-sse2-unaligned.S.
13147 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13148 Add: __memcpy_sse2_unaligned.
13149
f16cc3eb
JM
131502013-05-19 Joseph Myers <joseph@codesourcery.com>
13151
3e694268
JM
13152 [BZ #15490]
13153 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13154 math_force_eval before restoring floating-point envrionment.
13155 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13157 Likewise.
13158 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13159 <math_private.h>.
13160 (__nearbyintl): Use math_force_eval before restoring
13161 floating-point environment.
13162 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13163
db62a907
JM
13164 * math/gen-libm-test.pl (special_functions): Remove.
13165 (parse_args): Don't handle TEST_extra. Handle functions with no
13166 return value.
13167 * math/libm-test.inc (struct test_sincos_data): Replace with
13168 struct test_fFF_11_data.
13169 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13170 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13171 (sincos_test_data): Change element type to struct
13172 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13173 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13174 RUN_TEST_LOOP_sincos.
13175 * math/README.libm-test: Don't mention special handling of
13176 individual functions.
13177 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13179 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13180 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13181 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13183
f16cc3eb
JM
13184 * math/gen-libm-test.pl (get_variable): Remove function.
13185 (parse_args): Don't show pointer parameters to call in test
13186 names. Use "extra output N" in test names for extra outputs
13187 rather than naming variables.
13188
3779b5b6
JM
131892013-05-18 Joseph Myers <joseph@codesourcery.com>
13190
2ee094ff
JM
13191 [BZ #15488]
13192 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13193 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13194 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13195 double tests.
13196 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13197 disable.
13198 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13199 check_long_double.
13200
3779b5b6
JM
13201 * math/gen-libm-test.pl (@tests): Remove variable.
13202 ($count): Likewise.
13203 (new_test): Remove function.
13204 (show_exceptions): New function.
13205 (special_functions): Use show_exceptions instead of new_test.
13206 (parse_args): Likewise.
13207 (generate_testfile): Pass only function name in generated call to
13208 print_max_error or print_complex_max_error.
13209 (get_ulps): Do not handle complex tests specially.
13210 (output_test): Rename to ...
13211 (get_all_ulps_for_test): ... this. Return a string rather than
13212 printing to a file. Require ulps to be present.
13213 (output_ulps): Generate arrays rather than #defines.
13214 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13215 (struct ulp_data): New type.
13216 (BUILD_COMPLEX_ULP): Remove macro.
13217 (compare_ulp_data): New function.
13218 (find_ulps): Likewise.
13219 (find_test_ulps): Likewise.
13220 (find_function_ulps): Likewise.
13221 (find_complex_function_ulps): Likewise.
13222 (print_max_error): Determine allowed ulps using
13223 find_function_ulps.
13224 (print_complex_max_error): Determine allowed ulps using
13225 find_complex_function_ulps.
13226 (check_float_internal): Determine max ulps using find_test_ulps.
13227 (check_float): Do not take max_ulp parameter. Update call to
13228 check_float_internal.
13229 (check_complex): Likewise.
13230 (check_int): Do not take max_ulp parameter.
13231 (check_long): Likewise.
13232 (check_bool): Likewise.
13233 (check_longlong): Likewise.
13234 (struct test_f_f_data): Remove max_ulp field.
13235 (struct test_ff_f_data): Likewise.
13236 (struct test_ff_f_data_nexttoward): Likewise.
13237 (struct test_fi_f_data): Likewise.
13238 (struct test_fl_f_data): Likewise.
13239 (struct test_if_f_data): Likewise.
13240 (struct test_fff_f_data): Likewise.
13241 (struct test_c_f_data): Likewise.
13242 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13243 (struct test_fF_f1_data): Likewise.
13244 (struct test_ffI_f1_data): Likewise.
13245 (struct test_c_c_data): Remove max_ulp field.
13246 (struct test_cc_c_data): Likewise.
13247 (struct test_f_i_data): Likewise.
13248 (struct test_ff_i_data): Likewise.
13249 (struct test_f_l_data): Likewise.
13250 (struct test_f_L_data): Likewise.
13251 (struct test_sincos_data): Likewise.
13252 (RUN_TEST_f_f): Do not handle ulps.
13253 (RUN_TEST_LOOP_f_f): Likewise.
13254 (RUN_TEST_2_f): Likewise.
13255 (RUN_TEST_LOOP_2_f): Likewise.
13256 (RUN_TEST_fff_f): Likewise.
13257 (RUN_TEST_LOOP_fff_f): Likewise.
13258 (RUN_TEST_c_f): Likewise.
13259 (RUN_TEST_LOOP_c_f): Likewise.
13260 (RUN_TEST_f_f1): Likewise.
13261 (RUN_TEST_LOOP_f_f1): Likewise.
13262 (RUN_TEST_fF_f1): Likewise.
13263 (RUN_TEST_LOOP_fF_f1): Likewise.
13264 (RUN_TEST_fI_f1): Likewise.
13265 (RUN_TEST_LOOP_fI_f1): Likewise.
13266 (RUN_TEST_ffI_f1): Likewise.
13267 (RUN_TEST_LOOP_ffI_f1): Likewise.
13268 (RUN_TEST_c_c): Likewise.
13269 (RUN_TEST_LOOP_c_c): Likewise.
13270 (RUN_TEST_cc_c): Likewise.
13271 (RUN_TEST_LOOP_cc_c): Likewise.
13272 (RUN_TEST_f_i): Likewise.
13273 (RUN_TEST_LOOP_f_i): Likewise.
13274 (RUN_TEST_f_i_tg): Likewise.
13275 (RUN_TEST_LOOP_f_i_tg): Likewise.
13276 (RUN_TEST_ff_i_tg): Likewise.
13277 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13278 (RUN_TEST_f_b): Likewise.
13279 (RUN_TEST_LOOP_f_b): Likewise.
13280 (RUN_TEST_f_b_tg): Likewise.
13281 (RUN_TEST_LOOP_f_b_tg): Likewise.
13282 (RUN_TEST_f_l): Likewise.
13283 (RUN_TEST_LOOP_f_l): Likewise.
13284 (RUN_TEST_f_L): Likewise.
13285 (RUN_TEST_LOOP_f_L): Likewise.
13286 (RUN_TEST_sincos): Likewise.
13287 (RUN_TEST_LOOP_sincos): Likewise.
13288
8269107f
JM
132892013-05-17 Joseph Myers <joseph@codesourcery.com>
13290
bb38759d
JM
13291 [BZ #15480]
13292 [BZ #15485]
13293 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13294 main case of finite arguments, set rounding mode to FE_TONEAREST
13295 and discard exceptions.
13296 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13297 exceptions.
13298 (remainder_tonearest_test_data): New variable.
13299 (remainder_test_tonearest): New function.
13300 (remainder_towardzero_test_data): New variable.
13301 (remainder_test_towardzero): New function.
13302 (remainder_downward_test_data): New variable.
13303 (remainder_test_downward): New function.
13304 (remainder_upward_test_data): New variable.
13305 (remainder_test_upward): New function.
13306 (main): Call the new test functions.
13307
a00bdcf0
JM
13308 * math/libm-test.inc (struct test_f_f1_data): Remove field
13309 extra_init.
13310 (struct test_fF_f1_data): Likewise.
13311 (struct test_ffI_f1_data): Likewise.
13312 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13313 based on value of EXTRA_EXPECTED.
13314 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13315 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13316 EXTRA_VAR based on value of EXTRA_EXPECTED.
13317 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13318 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13319 EXTRA_VAR based on value of EXTRA_EXPECTED.
13320 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13321 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13322 EXTRA_VAR based on value of EXTRA_EXPECTED.
13323 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13324 * math/gen-libm-test.pl (parse_args): Don't output initializers
13325 for extra output values.
13326
de407f79
JM
13327 * math/libm-test.inc (check_int): Expect result to be exactly
13328 equal to expected value and do not handle ulps.
13329 (check_long): Likewise.
13330 (check_longlong): Likewise.
13331
8269107f
JM
13332 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13333 exceptions.
13334 (cimag_test_data): Likewise.
13335 (conj_test_data): Likewise.
13336 (copysign_test_data): Likewise.
13337 (cproj_test_data): Likewise.
13338 (creal_test_data): Likewise.
13339 (fabs_test_data): Likewise.
13340 (fdim_test_data): Likewise.
13341 (finite_test_data): Likewise.
13342 (floor_test_data): Likewise.
13343 (fmax_test_data): Likewise.
13344 (fmin_test_data): Likewise.
13345 (fmod_test_data): Likewise.
13346 (fpclassify_test_data): Likewise.
13347 (frexp_test_data): Likewise.
13348 (ilogb_test_data): Likewise.
13349 (isfinite_test_data): Likewise.
13350 (isgreater_test_data): Likewise.
13351 (isgreaterequal_test_data): Likewise.
13352 (isinf_test_data): Likewise.
13353 (isless_test_data): Likewise.
13354 (islessequal_test_data): Likewise.
13355 (islessgreater_test_data): Likewise.
13356 (isnan_test_data): Likewise.
13357 (isnormal_test_data): Likewise.
13358 (issignaling_test_data): Likewise.
13359 (isunordered_test_data): Likewise.
13360 (ldexp_test_data): Likewise.
13361 (lrint_test_data): Likewise.
13362 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13363 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13364 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13365 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13366 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13367 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13368 test input.
13369 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13370 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13371 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13372 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13373 that test input.
13374 (lrint_downward_test_data): Test for "inexact" exceptions.
13375 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13376 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13377 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13378 test input.
13379 (lrint_upward_test_data): Test for "inexact" exceptions.
13380 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13381 test input.
13382 (llrint_test_data): Test for "inexact" exceptions.
13383 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13384 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13385 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13386 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13387 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13388 (llrint_downward_test_data): Test for "inexact" exceptions.
13389 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13390 (llrint_upward_test_data): Test for "inexact" exceptions.
13391 (logb_test_data): Likewise.
13392 (logb_downward_test_data): Likewise.
13393 (nextafter_test_data): Likewise.
13394 (nexttoward_test_data): Likewise.
13395 (remainder_test_data): Likewise.
13396 (remquo_test_data): Likewise.
13397 (scalbn_test_data): Likewise.
13398 (scalbln_test_data): Likewise.
13399 (signbit_test_data): Likewise.
13400 (sqrt_test_data): Likewise.
13401 (significand_test_data): Likewise.
13402
48a18de1
SP
134032013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13404
13405 [BZ #15424]
13406 * benchtests/bench-modf.c (struct args): Mark arg0 as
13407 volatile.
13408 * scripts/bench.pl: Mark members of struct args as volatile.
13409
13d3b41a
AZ
134102013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13411
68191c1d 13412 [BZ # 15497]
13d3b41a
AZ
13413 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13414 negative infinity on POWER6 or lower.
13415 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13416
2848b105
MR
134172013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13418
13419 [BZ #15442]
13420 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13421 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13422 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13423 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13424 (_FP_SETQNAN): New macro.
13425 (_FP_SETQNAN_SEMIRAW): Likewise.
13426 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13427 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13428 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13429 (FP_EXTEND): Use _FP_FRAC_SNANP.
13430 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13431 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13432 into account.
13433 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13434 New macro.
13435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13436 Likewise.
13437
323e5cb7
JM
134382013-05-16 Joseph Myers <joseph@codesourcery.com>
13439
c58b274f
JM
13440 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13441 with DIVIDE_BY_ZERO_EXCEPTION.
13442 (gamma_test_data): Likewise.
13443 (lgamma_test_data): Likewise.
13444 (log_test_data): Likewise.
13445 (log10_test_data): Likewise.
13446 (log2_test_data): Likewise.
13447 (tgamma_test_data): Likewise.
13448
0ab34904
JM
13449 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13450 (acos_test_tonearest): Likewise.
13451 (acos_test_towardzero): Likewise.
13452 (acos_test_downward): Likewise.
13453 (acos_test_upward): Likewise.
13454 (acosh_test): Likewise.
13455 (asin_test): Likewise.
13456 (asin_test_tonearest): Likewise.
13457 (asin_test_towardzero): Likewise.
13458 (asin_test_downward): Likewise.
13459 (asin_test_upward): Likewise.
13460 (asinh_test): Likewise.
13461 (atan_test): Likewise.
13462 (atanh_test): Likewise.
13463 (atan2_test): Likewise.
13464 (cabs_test): Likewise.
13465 (cacos_test): Likewise.
13466 (cacosh_test): Likewise.
13467 (casin_test): Likewise.
13468 (casinh_test): Likewise.
13469 (catan_test): Likewise.
13470 (catanh_test): Likewise.
13471 (cbrt_test): Likewise.
13472 (ccos_test): Likewise.
13473 (ccosh_test): Likewise.
13474 (cexp_test): Likewise.
13475 (clog_test): Likewise.
13476 (clog10_test): Likewise.
13477 (cos_test): Likewise.
13478 (cos_test_tonearest): Likewise.
13479 (cos_test_towardzero): Likewise.
13480 (cos_test_downward): Likewise.
13481 (cos_test_upward): Likewise.
13482 (cosh_test): Likewise.
13483 (cosh_test_tonearest): Likewise.
13484 (cosh_test_towardzero): Likewise.
13485 (cosh_test_downward): Likewise.
13486 (cosh_test_upward): Likewise.
13487 (cpow_test): Likewise.
13488 (csin_test): Likewise.
13489 (csinh_test): Likewise.
13490 (csqrt_test): Likewise.
13491 (ctan_test): Likewise.
13492 (ctan_test_tonearest): Likewise.
13493 (ctan_test_towardzero): Likewise.
13494 (ctan_test_downward): Likewise.
13495 (ctan_test_upward): Likewise.
13496 (ctanh_test): Likewise.
13497 (ctanh_test_tonearest): Likewise.
13498 (ctanh_test_towardzero): Likewise.
13499 (ctanh_test_downward): Likewise.
13500 (ctanh_test_upward): Likewise.
13501 (erf_test): Likewise.
13502 (erfc_test): Likewise.
13503 (exp_test): Likewise.
13504 (exp_test_tonearest): Likewise.
13505 (exp_test_towardzero): Likewise.
13506 (exp_test_downward): Likewise.
13507 (exp_test_upward): Likewise.
13508 (exp10_test): Likewise.
13509 (exp2_test): Likewise.
13510 (expm1_test): Likewise.
13511 (fmod_test): Likewise.
13512 (gamma_test): Likewise.
13513 (hypot_test): Likewise.
13514 (j0_test): Likewise.
13515 (j1_test): Likewise.
13516 (jn_test): Likewise.
13517 (lgamma_test): Likewise.
13518 (log_test): Likewise.
13519 (log10_test): Likewise.
13520 (log1p_test): Likewise.
13521 (log2_test): Likewise.
13522 (logb_test_downward): Likewise.
13523 (pow_test): Likewise.
13524 (pow_test_tonearest): Likewise.
13525 (pow_test_towardzero): Likewise.
13526 (pow_test_downward): Likewise.
13527 (pow_test_upward): Likewise.
13528 (remainder_test): Likewise.
13529 (remquo_test): Likewise.
13530 (sin_test): Likewise.
13531 (sin_test_tonearest): Likewise.
13532 (sin_test_towardzero): Likewise.
13533 (sin_test_downward): Likewise.
13534 (sin_test_upward): Likewise.
13535 (sincos_test): Likewise.
13536 (sinh_test): Likewise.
13537 (sinh_test_tonearest): Likewise.
13538 (sinh_test_towardzero): Likewise.
13539 (sinh_test_downward): Likewise.
13540 (sinh_test_upward): Likewise.
13541 (sqrt_test): Likewise.
13542 (tan_test): Likewise.
13543 (tan_test_tonearest): Likewise.
13544 (tan_test_towardzero): Likewise.
13545 (tan_test_downward): Likewise.
13546 (tan_test_upward): Likewise.
13547 (tanh_test): Likewise.
13548 (tgamma_test): Likewise.
13549 (y0_test): Likewise.
13550 (y1_test): Likewise.
13551 (yn_test): Likewise.
13552
323e5cb7
JM
13553 * math/gen-libm-test.pl (adjust_arg): Remove function.
13554 (special_function): Remove argument $in_func. Only handle
13555 generating output for tables of tests, not inside functions.
13556 (parse_args): Likewise.
13557 (generate_testfile): Remove variable $in_func. Update call to
13558 parse_args.
13559 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13560 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13561 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13562 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13563 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13564 (MAX_VALUE_INIT): Rename macro to max_value.
13565 (MIN_VALUE_INIT): Rename macro to min_value.
13566 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13567 (plus_zero): Remove variable.
13568 (minus_zero): Likewise.
13569 (plus_infty): Likewise.
13570 (minus_infty): Likewise.
13571 (qnan_value): Likewise.
13572 (max_value): Likewise.
13573 (min_value): Likewise.
13574 (min_subnorm_value): Likewise.
13575
e054f494
RA
135762013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13577
13578 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13579 uint64_t or uint32_t usage.
13580 * crypt/sha256-block.c: Likewise.
13581 * crypt/sha256-crypt.c: Likewise.
13582 * crypt/sha256.c: Likewise.
13583 * crypt/sha512-block.c: Likewise.
13584 * crypt/sha512-crypt.c: Likewise.
13585 * crypt/sha512.c: Likewise.
13586 * debug/backtrace-tst.c: Likewise.
13587 * debug/pcprofiledump.c: Likewise.
13588 * elf/cache.c: Likewise.
13589 * elf/dl-cache.c: Likewise.
13590 * elf/dl-misc.c: Likewise.
13591 * elf/dl-profile.c: Likewise.
13592 * elf/dl-support.c: Likewise.
13593 * elf/ldconfig.c: Likewise.
13594 * elf/sprof.c: Likewise.
13595 * iconv/dummy-repertoire.c: Likewise.
13596 * iconv/iconv_charmap.c: Likewise.
13597 * iconv/skeleton.c: Likewise.
13598 * iconvdata/8bit-generic.c: Likewise.
13599 * iconvdata/cp737.h: Likewise.
13600 * iconvdata/cp775.h: Likewise.
13601 * iconvdata/ibm1008.h: Likewise.
13602 * iconvdata/ibm1025.h: Likewise.
13603 * iconvdata/ibm1046.h: Likewise.
13604 * iconvdata/ibm1097.h: Likewise.
13605 * iconvdata/ibm1112.h: Likewise.
13606 * iconvdata/ibm1122.h: Likewise.
13607 * iconvdata/ibm1123.h: Likewise.
13608 * iconvdata/ibm1124.h: Likewise.
13609 * iconvdata/ibm1129.h: Likewise.
13610 * iconvdata/ibm1130.h: Likewise.
13611 * iconvdata/ibm1132.h: Likewise.
13612 * iconvdata/ibm1133.h: Likewise.
13613 * iconvdata/ibm1137.h: Likewise.
13614 * iconvdata/ibm1140.h: Likewise.
13615 * iconvdata/ibm1141.h: Likewise.
13616 * iconvdata/ibm1142.h: Likewise.
13617 * iconvdata/ibm1143.h: Likewise.
13618 * iconvdata/ibm1144.h: Likewise.
13619 * iconvdata/ibm1145.h: Likewise.
13620 * iconvdata/ibm1146.h: Likewise.
13621 * iconvdata/ibm1147.h: Likewise.
13622 * iconvdata/ibm1148.h: Likewise.
13623 * iconvdata/ibm1149.h: Likewise.
13624 * iconvdata/ibm1153.h: Likewise.
13625 * iconvdata/ibm1154.h: Likewise.
13626 * iconvdata/ibm1155.h: Likewise.
13627 * iconvdata/ibm1156.h: Likewise.
13628 * iconvdata/ibm1157.h: Likewise.
13629 * iconvdata/ibm1158.h: Likewise.
13630 * iconvdata/ibm1160.h: Likewise.
13631 * iconvdata/ibm1161.h: Likewise.
13632 * iconvdata/ibm1162.h: Likewise.
13633 * iconvdata/ibm1163.h: Likewise.
13634 * iconvdata/ibm1164.h: Likewise.
13635 * iconvdata/ibm1166.h: Likewise.
13636 * iconvdata/ibm1167.h: Likewise.
13637 * iconvdata/ibm12712.h: Likewise.
13638 * iconvdata/ibm1390.h: Likewise.
13639 * iconvdata/ibm1399.h: Likewise.
13640 * iconvdata/ibm16804.h: Likewise.
13641 * iconvdata/ibm4517.h: Likewise.
13642 * iconvdata/ibm4899.h: Likewise.
13643 * iconvdata/ibm4909.h: Likewise.
13644 * iconvdata/ibm4971.h: Likewise.
13645 * iconvdata/ibm5347.h: Likewise.
13646 * iconvdata/ibm803.h: Likewise.
13647 * iconvdata/ibm856.h: Likewise.
13648 * iconvdata/ibm901.h: Likewise.
13649 * iconvdata/ibm902.h: Likewise.
13650 * iconvdata/ibm9030.h: Likewise.
13651 * iconvdata/ibm9066.h: Likewise.
13652 * iconvdata/ibm921.h: Likewise.
13653 * iconvdata/ibm922.h: Likewise.
13654 * iconvdata/ibm9448.h: Likewise.
13655 * iconvdata/isiri-3342.h: Likewise.
13656 * iconvdata/jis0201.h: Likewise.
13657 * include/link.h: Likewise.
13658 * include/netdb.h: Likewise.
13659 * inet/check_native.c: Likewise.
13660 * inet/check_pf.c: Likewise.
13661 * inet/getipv4sourcefilter.c: Likewise.
13662 * inet/getnameinfo.c: Likewise.
13663 * inet/getsourcefilter.c: Likewise.
13664 * inet/htonl.c: Likewise.
13665 * inet/setipv4sourcefilter.c: Likewise.
13666 * inet/setsourcefilter.c: Likewise.
13667 * inet/test-inet6_opt.c: Likewise.
13668 * inet/tst-network.c: Likewise.
13669 * locale/C-collate.c: Likewise.
13670 * locale/C-ctype.c: Likewise.
13671 * locale/C-time.c: Likewise.
13672 * locale/C-translit.h: Likewise.
13673 * locale/loadarchive.c: Likewise.
13674 * locale/programs/3level.h: Likewise.
13675 * locale/programs/charmap.c: Likewise.
13676 * locale/programs/charmap.h: Likewise.
13677 * locale/programs/ld-address.c: Likewise.
13678 * locale/programs/ld-collate.c: Likewise.
13679 * locale/programs/ld-ctype.c: Likewise.
13680 * locale/programs/ld-identification.c: Likewise.
13681 * locale/programs/ld-measurement.c: Likewise.
13682 * locale/programs/ld-messages.c: Likewise.
13683 * locale/programs/ld-monetary.c: Likewise.
13684 * locale/programs/ld-name.c: Likewise.
13685 * locale/programs/ld-numeric.c: Likewise.
13686 * locale/programs/ld-paper.c: Likewise.
13687 * locale/programs/ld-telephone.c: Likewise.
13688 * locale/programs/ld-time.c: Likewise.
13689 * locale/programs/linereader.c: Likewise.
13690 * locale/programs/locale.c: Likewise.
13691 * locale/programs/locarchive.c: Likewise.
13692 * locale/programs/locfile.h: Likewise.
13693 * locale/programs/repertoire.c: Likewise.
13694 * locale/programs/simple-hash.c: Likewise.
13695 * locale/programs/simple-hash.h: Likewise.
13696 * malloc/memusage.c: Likewise.
13697 * malloc/memusagestat.c: Likewise.
13698 * nis/nis_defaults.c: Likewise.
13699 * nis/nis_hash.c: Likewise.
13700 * nis/nis_print.c: Likewise.
13701 * nis/nis_xdr.c: Likewise.
13702 * nscd/connections.c: Likewise.
13703 * nscd/hstcache.c: Likewise.
13704 * nscd/nscd_gethst_r.c: Likewise.
13705 * nscd/nscd_getserv_r.c: Likewise.
13706 * nscd/nscd_helper.c: Likewise.
13707 * nscd/servicescache.c: Likewise.
13708 * nss/makedb.c: Likewise.
13709 * nss/nss_db/db-XXX.c: Likewise.
13710 * nss/nss_db/db-initgroups.c: Likewise.
13711 * nss/nss_db/db-netgrp.c: Likewise.
13712 * nss/nss_files/files-network.c: Likewise.
13713 * nss/nss_files/files-parse.c: Likewise.
13714 * posix/bug-regex5.c: Likewise.
13715 * posix/fnmatch_loop.c: Likewise.
13716 * posix/regcomp.c: Likewise.
13717 * posix/regexec.c: Likewise.
13718 * posix/tst-rfc3484-2.c: Likewise.
13719 * posix/tst-rfc3484-3.c: Likewise.
13720 * posix/tst-rfc3484.c: Likewise.
13721 * resolv/nss_dns/dns-canon.c: Likewise.
13722 * resolv/nss_dns/dns-network.c: Likewise.
13723 * resolv/res_init.c: Likewise.
13724 * resolv/res_mkquery.c: Likewise.
13725 * resolv/tst-aton.c: Likewise.
13726 * stdlib/cxa_atexit.c: Likewise.
13727 * stdlib/cxa_finalize.c: Likewise.
13728 * stdlib/gen-fpioconst.c: Likewise.
13729 * stdlib/strtol_l.c: Likewise.
13730 * string/tst-endian.c: Likewise.
13731 * sunrpc/auth_des.c: Likewise.
13732 * sunrpc/clnt_udp.c: Likewise.
13733 * sunrpc/rtime.c: Likewise.
13734 * sunrpc/svcauth_des.c: Likewise.
13735 * sunrpc/xdr.c: Likewise.
13736 * sunrpc/xdr_intXX_t.c: Likewise.
13737 * sunrpc/xdr_rec.c: Likewise.
13738 * sysdeps/generic/ldconfig.h: Likewise.
13739 * sysdeps/generic/ldsodefs.h: Likewise.
13740 * sysdeps/generic/memusage.h: Likewise.
13741 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13751 * sysdeps/posix/getaddrinfo.c: Likewise.
13752 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13754 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13755 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13756 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13757 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13758 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13759 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13760 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13761 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13762 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13763 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13764 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13765 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13766 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13767 * sysdeps/x86_64/dl-tls.h: Likewise.
13768 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13769 * time/alt_digit.c: Likewise.
13770 * time/era.c: Likewise.
13771 * wcsmbs/tst-c16c32-1.c: Likewise.
13772
8c75f674
JM
137732013-05-16 Joseph Myers <joseph@codesourcery.com>
13774
13775 * math/libm-test.inc (struct test_sincos_data): New type.
13776 (RUN_TEST_LOOP_sincos): New macro.
13777 (sincos_test_data): New variable.
13778 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13779
e6e49e59
RH
137802013-05-16 Richard Henderson <rth@redhat.com>
13781
13782 * math/atest-exp2.c (LIMB64): New macro.
13783 (CONSTSZ): New macro.
13784 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13785 (hexdig): Move ...
13786 (print_mpn_fp): ... to function scope.
13787 (read_mpn_hex): Remove.
13788 (get_log2): Remove.
13789 (exp2_mpn): Use mp_log2.
13790 (main): Use mp_exp1.
13791
15c7c18d
JM
137922013-05-16 Joseph Myers <joseph@codesourcery.com>
13793
105a07df
JM
13794 * math/libm-test.inc: Remove comment about not testing "inexact"
13795 exceptions.
13796 (INEXACT_EXCEPTION): New macro.
13797 (NO_INEXACT_EXCEPTION): Likewise.
13798 (INVALID_EXCEPTION_OK): Update value.
13799 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13800 (OVERFLOW_EXCEPTION_OK): Likewise.
13801 (UNDERFLOW_EXCEPTION_OK): Likewise.
13802 (IGNORE_ZERO_INF_SIGN): Likewise.
13803 (ERRNO_UNCHANGED): Likewise.
13804 (ERRNO_EDOM): Likewise.
13805 (ERRNO_ERANGE): Likewise.
13806 (test_exceptions): Handle testing "inexact" exceptions.
13807 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13808 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13809 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13810 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13811 INEXACT_EXCEPTION.
13812 (rint_towardzero_test_data): Likewise.
13813 (rint_downward_test_data): Likewise.
13814 (rint_upward_test_data): Likewise.
13815
e9eee333
JM
13816 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13817 with OVERFLOW_EXCEPTION.
13818 (exp10_test_data): Likewise.
13819 (exp2_test_data): Likewise.
13820 (expm1_test_data): Likewise.
13821 (lgamma_test_data): Likewise.
13822 (pow_test_data): Likewise.
13823 (tgamma_test_data): Likewise.
13824 (yn_test_data): Remove duplicate test of overflow.
13825
1c38ff73
JM
13826 * math/libm-test.inc (struct test_cc_c_data): New type.
13827 (RUN_TEST_LOOP_cc_c): New macro.
13828 (cpow_test_data): New variable.
13829 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13830
15c7c18d
JM
13831 * math/libm-test.inc (struct test_f_L_data): New type.
13832 (RUN_TEST_LOOP_f_L): New macro.
13833 (llrint_test_data): New variable.
13834 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13835 (llrint_tonearest_test_data): New variable.
13836 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13837 (llrint_towardzero_test_data): New variable.
13838 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13839 (llrint_downward_test_data): New variable.
13840 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13841 (llrint_upward_test_data): New variable.
13842 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13843 (llround_test_data): New variable.
13844 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13845
f137ff13
PC
138462013-05-13 Peter Collingbourne <pcc@google.com>
13847
13848 * math/atest-exp2.c (get_log2): Remove const attribute.
13849
3608cb24
JM
138502013-05-15 Joseph Myers <joseph@codesourcery.com>
13851
13852 * math/libm-test.inc (struct test_f_l_data): New type.
13853 (RUN_TEST_LOOP_f_l): New macro.
13854 (lrint_test_data): New variable.
13855 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13856 (lrint_tonearest_test_data): New variable.
13857 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13858 (lrint_towardzero_test_data): New variable.
13859 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13860 (lrint_downward_test_data): New variable.
13861 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13862 (lrint_upward_test_data): New variable.
13863 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13864 (lround_test_data): New variable.
13865 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13866
39b1f617
PC
138672013-05-15 Peter Collingbourne <pcc@google.com>
13868
1deff3dc
PC
13869 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13870 (EXTRACT_WORDS64) Use where appropriate.
13871 (INSERT_WORDS64) Likewise.
13872
791f3ba0
PC
13873 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13874 constraints with x constraints.
13875 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13876
39b1f617
PC
13877 * malloc/obstack.c (_obstack_compat): Add initializer.
13878
12fba011
EM
138792013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13880
13881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13882 si_trapno and add si_addr_lsb to _sifields.sigfault.
13883 (si_trapno): Remove macro.
13884 (si_addr_lsb): Define new macro.
13885 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13886
d369f531
JM
138872013-05-15 Joseph Myers <joseph@codesourcery.com>
13888
b861c6c4
JM
13889 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13890 instead of TEST_f_l.
13891 (llrint_test_tonearest): Likewise.
13892 (llrint_test_towardzero): Likewise.
13893 (llrint_test_downward): Likewise.
13894 (llrint_test_upward): Likewise.
13895 (llround_test): Likewise.
13896
7abeee12
JM
13897 * math/libm-test.inc (struct test_f_i_data): Add comment.
13898 (RUN_TEST_LOOP_f_b): New macro.
13899 (RUN_TEST_LOOP_f_b_tg): Likewise.
13900 (finite_test_data): New variable.
13901 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13902 (isfinite_test_data): New variable.
13903 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13904 (isinf_test_data): New variable.
13905 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13906 (isnan_test_data): New variable.
13907 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13908 (isnormal_test_data): New variable.
13909 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13910 (issignaling_test_data): New variable.
13911 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13912 (signbit_test_data): New variable.
13913 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13914
cbe8c4d3
JM
13915 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13916 with INVALID_EXCEPTION.
13917 (acosh_test_data): Likewise.
13918 (asin_test_data): Likewise.
13919 (atanh_test_data): Likewise.
13920 (fmod_test_data): Likewise.
13921 (log_test_data): Likewise.
13922 (log10_test_data): Likewise.
13923 (log2_test_data): Likewise.
13924 (pow_test_data): Likewise.
13925 (sqrt_test_data): Likewise.
13926 (y0_test_data): Likewise.
13927 (y1_test_data): Likewise.
13928 (yn_test_data): Likewise.
13929
5575c0e5
JM
13930 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13931 function contents.
13932
d369f531
JM
13933 * math/libm-test.inc (struct test_ff_i_data): New type.
13934 (RUN_TEST_LOOP_ff_i_tg): New macro.
13935 (isgreater_test_data): New variable.
13936 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13937 (isgreaterequal_test_data): New variable.
13938 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13939 (isless_test_data): New variable.
13940 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13941 (islessequal_test_data): New variable.
13942 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13943 (islessgreater_test_data): New variable.
13944 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13945 (isunordered_test_data): New variable.
13946 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13947
781fd748
DM
139482013-05-14 David S. Miller <davem@davemloft.net>
13949
13950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13951
87aa21df
JM
139522013-05-14 Joseph Myers <joseph@codesourcery.com>
13953
5e908270
JM
13954 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13955
f71172e5
JM
13956 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13957 extra_test to int.
13958 (struct test_f_i_data): Change type of max_ulp to int.
13959
8cfa635a
JM
13960 * math/libm-test.inc (test_ffI_f1_data): New type.
13961 (RUN_TEST_LOOP_ffI_f1): New macro.
13962 (remquo_test_data): New variable.
13963 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13964
2bcb36b2
JM
13965 * setjmp/tst-setjmp-fp.c: New file.
13966 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13967 (link-libm): New variable.
13968 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13969
acbd839a
JM
13970 * math/libm-test.inc (struct test_f_i_data): New type.
13971 (RUN_TEST_LOOP_f_i): New macro.
13972 (RUN_TEST_LOOP_f_i_tg): Likewise.
13973 (fpclassify_test_data): New variable.
13974 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13975 (ilogb_test_data): New variable.
13976 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13977
e414d745
JM
13978 * math/libm-test.inc (scalbln_test): Correct function name in END
13979 call.
13980
d9c2a0fd
JM
13981 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13982 (RUN_TEST_LOOP_fI_f1): New macro.
13983 (frexp_test_data): New variable.
13984 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13985
9dc9095d
JM
13986 * math/libm-test.inc (struct test_fF_f1_data): New type.
13987 (RUN_TEST_LOOP_fF_f1): New macro.
13988 (modf_test_data): New variable.
13989 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13990
87aa21df
JM
13991 * math/libm-test.inc (struct test_f_f1_data): New type.
13992 (RUN_TEST_LOOP_f_f1): New macro.
13993 (gamma_test_data): New variable.
13994 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13995 (lgamma_test_data): New variable.
13996 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13997
141af660
CD
139982013-05-13 Carlos O'Donell <carlos@redhat.com>
13999
14000 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14001 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14002 (main): Comment "tls" pseudo-hwcap.
14003
6d33265c
JM
140042013-05-13 Joseph Myers <joseph@codesourcery.com>
14005
68fc074c
JM
14006 * math/libm-test.inc (struct test_fl_f_data): New type.
14007 (RUN_TEST_LOOP_fl_f): New variable.
14008 (scalbln_test_data): New variable.
14009 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14010
243216e1
JM
14011 * math/libm-test.inc (struct test_fi_f_data): New type.
14012 (RUN_TEST_LOOP_fi_f): New macro.
14013 (ldexp_test_data): New variable.
14014 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14015 (scalbn_test_data): New variable.
14016 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14017
6a1992e2
JM
14018 * math/libm-test.inc (struct test_c_f_data): New type.
14019 (RUN_TEST_LOOP_c_f): New macro.
14020 (cabs_test_data): New variable.
14021 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14022 (carg_test_data): New variable.
14023 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14024 (cimag_test_data): New variable.
14025 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14026 (creal_test_data): New variable.
14027 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14028
0e400df5
JM
14029 * math/libm-test.inc (struct test_if_f_data): New type.
14030 (RUN_TEST_LOOP_if_f): New macro.
14031 (jn_test_data): New variable.
14032 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14033 (yn_test_data): New variable.
14034 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14035
6d33265c
JM
14036 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14037
f98ece5f
AZ
140382013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14039
14040 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14041 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14042
0f7d347b
SP
140432013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14044
43fe811b
SP
14045 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14046 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14047 (bench-deps): Add bench-timing.h.
14048 * benchtests-bench-skeleton.c: Include bench-timing.h.
14049 (main): Use TIMING_* macros instead of clock_gettime.
14050 * benchtests/bench-timing.h: New file.
14051
0f7d347b
SP
14052 [BZ #14582]
14053 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14054 Renamed from _LIB_VERSION.
14055 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14056
601a3a5f
JM
140572013-05-12 Joseph Myers <joseph@codesourcery.com>
14058
4f184d30
JM
14059 * math/libm-test.inc (struct test_fff_f_data): New type.
14060 (RUN_TEST_LOOP_fff_f): New macro.
14061 (fma_test_data): New variable.
14062 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14063 (fma_towardzero_test_data): New variable.
14064 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14065 (fma_downward_test_data): New variable.
14066 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14067 (fma_upward_test_data): New variable.
14068 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14069
08198877
JM
14070 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14071 (struct test_c_c_data): New type.
14072 (RUN_TEST_LOOP_c_c): New macro.
14073 (cacos_test_data): New variable.
14074 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14075 (cacosh_test_data): New variable.
14076 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14077 (casin_test_data): New variable.
14078 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14079 (casinh_test_data): New variable.
14080 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14081 (catan_test_data): New variable.
14082 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14083 (catanh_test_data): New variable.
14084 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14085 (ccos_test_data): New variable.
14086 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14087 (ccosh_test_data): New variable.
14088 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14089 (cexp_test_data): New variable.
14090 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14091 (clog_test_data): New variable.
14092 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14093 (clog10_test_data): New variable.
14094 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14095 (conj_test_data): New variable.
14096 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14097 (cproj_test_data): New variable.
14098 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14099 (csin_test_data): New variable.
14100 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14101 (csinh_test_data): New variable.
14102 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14103 (csqrt_test_data): New variable.
14104 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14105 (ctan_test_data): New variable.
14106 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14107 (ctan_tonearest_test_data): New variable.
14108 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14109 (ctan_towardzero_test_data): New variable.
14110 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14111 (ctan_downward_test_data): New variable.
14112 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14113 (ctan_upward_test_data): New variable.
14114 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14115 (ctanh_test_data): New variable.
14116 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14117 (ctanh_tonearest_test_data): New variable.
14118 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14119 (ctanh_towardzero_test_data): New variable.
14120 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14121 (ctanh_downward_test_data): New variable.
14122 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14123 (ctanh_upward_test_data): New variable.
14124 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14125 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14126 of BUILD_COMPLEX.
14127
601a3a5f
JM
14128 * math/libm-test.inc (struct test_ff_f_data): New type.
14129 (struct test_ff_f_data_nexttoward): Likewise.
14130 (RUN_TEST_LOOP_2_f): New macro.
14131 (RUN_TEST_LOOP_ff_f): Likewise.
14132 (atan2_test_data): New variable.
14133 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14134 (copysign_test_data): New variable.
14135 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14136 (fdim_test_data): New variable.
14137 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14138 (fmax_test_data): New variable.
14139 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14140 (fmin_test_data): New variable.
14141 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14142 (fmod_test_data): New variable.
14143 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14144 (hypot_test_data): New variable.
14145 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14146 (nextafter_test_data): New variable.
14147 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14148 (nexttoward_test_data): New variable.
14149 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14150 (pow_test_data): New variable.
14151 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14152 (pow_tonearest_test_data): New variable.
14153 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14154 (pow_towardzero_test_data): New variable.
14155 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14156 (pow_downward_test_data): New variable.
14157 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14158 (pow_upward_test_data): New variable.
14159 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14160 (remainder_test_data): New variable.
14161 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14162 (scalb_test_data): New variable.
14163 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14164 * sysdeps/i386/fpu/libm-test-ulps: Update.
14165
74c57478
JM
141662013-05-11 Joseph Myers <joseph@codesourcery.com>
14167
8329e4da
JM
14168 * math/libm-test.inc (fma_test): Use max_value instead of local
14169 variable fltmax.
14170 (nextafter_test): Likewise.
14171
74c57478
JM
14172 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14173 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14174 (acos_downward_test_data): New variable.
14175 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14176 (acos_upward_test_data): New variable.
14177 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14178 (acosh_test_data): New variable.
14179 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14180 (asin_test_data): New variable.
14181 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14182 (asin_tonearest_test_data): New variable.
14183 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14184 (asin_towardzero_test_data): New variable.
14185 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14186 (asin_downward_test_data): New variable.
14187 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14188 (asin_upward_test_data): New variable.
14189 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14190 (asinh_test_data): New variable.
14191 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14192 (atan_test_data): New variable.
14193 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14194 (atanh_test_data): New variable.
14195 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14196 (cbrt_test_data): New variable.
14197 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14198 (ceil_test_data): New variable.
14199 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14200 (cos_test_data): New variable.
14201 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14202 (cos_tonearest_test_data): New variable.
14203 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14204 (cos_towardzero_test_data): New variable.
14205 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14206 (cos_downward_test_data): New variable.
14207 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14208 (cos_upward_test_data): New variable.
14209 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14210 (cosh_test_data): New variable.
14211 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14212 (cosh_tonearest_test_data): New variable.
14213 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14214 (cosh_towardzero_test_data): New variable.
14215 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14216 (cosh_downward_test_data): New variable.
14217 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14218 (cosh_upward_test_data): New variable.
14219 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14220 (erf_test_data): New variable.
14221 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14222 (erfc_test_data): New variable.
14223 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14224 (exp_test_data): New variable.
14225 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14226 (exp_tonearest_test_data): New variable.
14227 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14228 (exp_towardzero_test_data): New variable.
14229 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14230 (exp_downward_test_data): New variable.
14231 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14232 (exp_upward_test_data): New variable.
14233 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14234 (exp10_test_data): New variable.
14235 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14236 (exp2_test_data): New variable.
14237 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14238 (expm1_test_data): New variable.
14239 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14240 (fabs_test_data): New variable.
14241 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14242 (floor_test_data): New variable.
14243 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14244 (j0_test_data): New variable.
14245 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14246 (j1_test_data): New variable.
14247 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14248 (log_test_data): New variable.
14249 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14250 (log10_test_data): New variable.
14251 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14252 (log1p_test_data): New variable.
14253 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14254 (log2_test_data): New variable.
14255 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14256 (logb_test_data): New variable.
14257 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14258 (logb_downward_test_data): New variable.
14259 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14260 (nearbyint_test_data): New variable.
14261 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14262 (rint_test_data): New variable.
14263 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14264 (rint_tonearest_test_data): New variable.
14265 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14266 (rint_towardzero_test_data): New variable.
14267 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14268 (rint_downward_test_data): New variable.
14269 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14270 (rint_upward_test_data): New variable.
14271 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14272 (round_test_data): New variable.
14273 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14274 (sin_test_data): New variable.
14275 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14276 (sin_tonearest_test_data): New variable.
14277 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14278 (sin_towardzero_test_data): New variable.
14279 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14280 (sin_downward_test_data): New variable.
14281 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14282 (sin_upward_test_data): New variable.
14283 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14284 (sinh_test_data): New variable.
14285 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14286 (sinh_tonearest_test_data): New variable.
14287 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14288 (sinh_towardzero_test_data): New variable.
14289 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14290 (sinh_downward_test_data): New variable.
14291 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14292 (sinh_upward_test_data): New variable.
14293 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14294 (sqrt_test_data): New variable.
14295 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14296 (tan_test_data): New variable.
14297 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14298 (tan_tonearest_test_data): New variable.
14299 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14300 (tan_towardzero_test_data): New variable.
14301 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14302 (tan_downward_test_data): New variable.
14303 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14304 (tan_upward_test_data): New variable.
14305 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14306 (tanh_test_data): New variable.
14307 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14308 (tgamma_test_data): New variable.
14309 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14310 (trunc_test_data): New variable.
14311 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14312 (y0_test_data): New variable.
14313 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14314 (y1_test_data): New variable.
14315 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14316 (significand_test_data): New variable.
14317 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14318
7187d844
CG
143192013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14320
14321 [BZ #12387]
14322 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14323
f63fae73
PT
143242013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14325
14326 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14327
8a67a4b3
AJ
143282013-05-10 Andreas Jaeger <aj@suse.de>
14329
14330 [BZ #15448]
14331 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14332 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14333
51df539d
JM
143342013-05-10 Joseph Myers <joseph@codesourcery.com>
14335
14336 * math/gen-libm-test.pl (adjust_arg): New function.
14337 (special_functions): Handle generating output in both functions
14338 and arrays.
14339 (parse_args): Likewise.
14340 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14341 $in_func argument to parse_args.
14342 * math/libm-test.inc (struct test_f_f_data): New type.
14343 (IF_ROUND_INIT_): New macro.
14344 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14345 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14346 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14347 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14348 (ROUND_RESTORE_): Likewise.
14349 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14350 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14351 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14352 (ROUND_RESTORE_FE_UPWARD): Likewise.
14353 (RUN_TEST_LOOP_f_f): New macro.
14354 (acos_test_data): New variable.
14355 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14356 (acos_tonearest_test_data): New variable.
14357 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14358
5c637fe5
SP
143592013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14360
14361 * benchtests/bench-skeleton.c (startup): Fix coding style.
14362
ab2b9461
JM
143632013-05-10 Joseph Myers <joseph@codesourcery.com>
14364
14365 [BZ #6809]
14366 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14367 negative infinity argument.
14368 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14369 negative infinity argument.
14370 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14371 negative infinity argument.
14372 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14373 domain errors.
14374
4c0fe6fe
FW
143752013-05-10 Florian Weimer <fweimer@redhat.com>
14376
14377 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14378 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14379 * iconv/iconv_prog.c (main): Likewise.
14380 * locale/programs/charmap-dir.c (charmap_readdir)
14381 (fopen_uncompressed): Likewise.
14382 * locale/programs/locfile.c (siblings_uncached)
14383 (write_locale_data): Use lstat64 instead of lstat.
14384 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14385 stat.
14386
a3375d29
AJ
143872013-05-10 Andreas Jaeger <aj@suse.de>
14388
14389 [BZ #15395]
14390 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14391 localization.
14392 Include <locale.h>.
14393
36129722
CD
143942013-05-09 Carlos O'Donell <carlos@redhat.com>
14395
14396 * elf/dl-close.c (_dl_close_worker): Add comments.
14397
faa7f811
JM
143982013-05-09 Joseph Myers <joseph@codesourcery.com>
14399
ed41ffef
JM
14400 [BZ #15359]
14401 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14402 high part of pi/2.
14403 (__ieee754_rem_pio2l): Update comments.
14404
d0213cd0
JM
14405 [BZ #15429]
14406 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14407 high part of pi/2.
14408 (__ieee754_rem_pio2l): Update comments.
14409
0d3e777a
JM
14410 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14411 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14412
24f56066
JM
14413 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14414 M_PI_4l.
14415
faa7f811
JM
14416 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14417 (M_PI_34_LOG10El): Likewise.
14418 (M_PI2_LOG10El): Likewise.
14419 (M_PI4_LOG10El): Likewise.
14420 (M_PI_LOG10El): Likewise.
14421
e9a5e0fd
AZ
144222013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14423
14424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14425
d8cd06db
JM
144262013-05-08 Joseph Myers <joseph@codesourcery.com>
14427
a0d9f9d7
JM
14428 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14429 (MINUS_ZERO_INIT): Likewise.
14430 (PLUS_INFTY_INIT): Likewise.
14431 (MINUS_INFTY_INIT): Likewise.
14432 (QNAN_VALUE_INIT): Likewise.
14433 (MAX_VALUE_INIT): Likewise.
14434 (MIN_VALUE_INIT): Likewise.
14435 (MIN_SUBNORM_VALUE_INIT): Likewise.
14436 (plus_zero): Initialize with PLUS_ZERO_INIT.
14437 (minus_zero): Initialize with MINUS_ZERO_INIT.
14438 (plus_infty): Initialize with PLUS_INFTY_INIT.
14439 (minus_infty): Initialize with MINUS_INFTY_INIT.
14440 (qnan_value): Initialize with QNAN_VALUE_INIT.
14441 (max_value): Initialize with MAX_VALUE_INIT.
14442 (min_value): Initialize with MIN_VALUE_INIT.
14443 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14444
ae08db3b
JM
14445 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14446 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14447 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14448 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14449
f44bf14a
JM
14450 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14451 (RUN_TEST_2_f): Likewise.
14452 (RUN_TEST_ff_f): Likewise.
14453 (RUN_TEST_fi_f): Likewise.
14454 (RUN_TEST_fl_f): Likewise.
14455 (RUN_TEST_fff_f): Likewise.
14456 (RUN_TEST_c_f): Likewise.
14457 (RUN_TEST_f_f1): Likewise.
14458 (RUN_TEST_fF_f1): Likewise.
14459 (RUN_TEST_fI_f1): Likewise.
14460 (RUN_TEST_ffI_f1): Likewise.
14461 (RUN_TEST_c_c): Likewise.
14462 (RUN_TEST_cc_c): Likewise.
14463 (RUN_TEST_f_i): Likewise.
14464 (RUN_TEST_f_i_tg): Likewise.
14465 (RUN_TEST_ff_i_tg): Likewise.
14466 (RUN_TEST_f_b): Likewise.
14467 (RUN_TEST_f_b_tg): Likewise.
14468 (RUN_TEST_f_l): Likewise.
14469 (RUN_TEST_f_L): Likewise.
14470 (RUN_TEST_sincos): Likewise.
14471 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14472 whether to show exceptions. Do not include ");\n" in return
14473 value.
14474 (special_functions): Output call to RUN_TEST_sincos instead of
14475 check_float calls. Update calls to new_test.
14476 (parse_args): Output call to single RUN_TEST_* macro instead of
14477 check_* calls and other assignments. Update calls to new_test.
14478
d8cd06db
JM
14479 [BZ #2546]
14480 [BZ #2560]
14481 [BZ #5159]
14482 [BZ #15426]
14483 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14484 input to result for tgamma overflow.
14485 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14486 (gamma_coeff): New variable.
14487 (NCOEFF): New macro.
14488 (gamma_positive): New function.
14489 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14490 underflow here. Use gamma_positive instead of exp (lgamma) for
14491 other arguments.
14492 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14493 (gamma_coeff): New variable.
14494 (NCOEFF): New macro.
14495 (gammaf_positive): New function.
14496 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14497 underflow here. Use gamma_positive instead of exp (lgamma) for
14498 other arguments.
14499 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14500 (gamma_coeff): New variable.
14501 (NCOEFF): New macro.
14502 (gammal_positive): New function.
14503 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14504 underflow here. Use gamma_positive instead of exp (lgamma) for
14505 other arguments.
14506 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14507 (gamma_coeff): New variable.
14508 (NCOEFF): New macro.
14509 (gammal_positive): New function.
14510 (__ieee754_gammal_r): Handle positive infinity, overflow and
14511 underflow here. Handle NaN the same as positive infinity. Remove
14512 check x < 0xffffffff for negative integers. Use gamma_positive
14513 instead of exp (lgamma) for other arguments.
14514 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14515 (gamma_coeff): New variable.
14516 (NCOEFF): New macro.
14517 (gammal_positive): New function.
14518 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14519 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14520 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14521 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14522 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14523 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14524 * sysdeps/generic/math_private.h (__gamma_productf): New
14525 prototype.
14526 (__gamma_product): Likewise.
14527 (__gamma_productl): Likewise.
14528 * math/Makefile (libm-calls): Add gamma_product.
14529 * math/libm-test.inc (tgamma_test): Add more tests.
14530 * sysdeps/i386/fpu/libm-test-ulps: Update.
14531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14532
bb7cf681
OB
145332013-05-08 Ondřej Bílka <neleai@seznam.cz>
14534
14535 * benchtests/bench-skeleton.c (main): Preheat CPU.
14536
ba853947
AJ
145372013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14538
14539 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14540
8347c74c
RM
145412013-05-07 Roland McGrath <roland@hack.frob.com>
14542
14543 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14544 and _dl_skip_args_internal.
14545
e8dd4791
CD
145462013-05-07 Carlos O'Donell <carlos@redhat.com>
14547
14548 * manual/message.texi (Message Translation): Talk about users.
14549 Message to key mapping impacts design.
14550
c7405830
RM
145512013-05-06 Roland McGrath <roland@hack.frob.com>
14552
a9173057
RM
14553 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14554
976e2f03
RM
14555 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14556
9723ffc5
RM
14557 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14558 * sysdeps/wordsize-64/glob64.c: ... here.
14559
962e6658
RM
14560 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14561 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14562 New macros.
14563
ee586a6d
RM
14564 * debug/getlogin_r_chk.c: Moved to ...
14565 * login/getlogin_r_chk.c: ... here.
14566 * debug/Makefile (routines): Move getlogin_r_chk to ...
14567 * login/Makefile (routines): ... here.
14568 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14569 * login/Versions (libc: GLIBC_2.4): ... here.
14570
355f9165
RM
14571 * io/poll.c (__poll): Renamed from poll.
14572 Add libc_hidden_def.
14573 (poll): Define as weak alias.
14574
bd9ffde6
RM
14575 * debug/ptsname_r_chk.c: Moved to ...
14576 * login/ptsname_r_chk.c: ... here.
14577 * debug/Makefile (routines): Move ptsname_r_chk to ...
14578 * login/Makefile (routines): ... here.
14579 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14580 * login/Versions (libc: GLIBC_2.4): ... here.
14581
8fb16a04
RM
14582 * posix/getlogin.c: Moved to ...
14583 * login/getlogin.c: ... here.
14584 * posix/getlogin_r.c: Moved to ...
14585 * login/getlogin_r.c: ... here.
14586 * posix/getlogin_r.c: Moved to ...
14587 * login/getlogin_r.c: ... here.
14588 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14589 * login/Makefile (routines): ... here.
14590 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14591 * login/Versions (libc: GLIBC_2.0): ... here.
14592
b99b892f
RM
14593 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14594 (setrlimit): Define as weak alias.
14595
c7405830
RM
14596 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14597 Call __ names for open, ftruncate, and close.
14598 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14599 (truncate): Define as weak alias.
14600
5bf96de5
JM
146012013-05-06 Joseph Myers <joseph@codesourcery.com>
14602
9ea3513c
JM
14603 * math/gen-libm-test.pl (parse_args): Initialize x before each
14604 test of frexp, modf and remquo.
14605
5bf96de5
JM
14606 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14607 test signgam value.
14608
16e616a7
AZ
146092013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14610
14611 [BZ #15418]
14612 [BZ #15419]
14613 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14614 internal tests.
14615 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14616
d5e82754
RM
146172013-05-06 Roland McGrath <roland@hack.frob.com>
14618
14619 * elf/dl-writev.h: New file.
14620 * elf/dl-misc.c: Include it.
14621 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14622 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14623
a7548d41
JM
146242013-05-04 Joseph Myers <joseph@codesourcery.com>
14625
b7dab1e4
JM
14626 * math/libm-test.inc (noXFails): Remove variable.
14627 (noXPasses): Likewise.
14628 (BUILD_COMPLEX_INT): Remove macro.
14629 (print_screen): Remove xfail argument.
14630 (print_screen_max_error): Likewise.
14631 (update_stats): Likewise.
14632 (print_max_error): Likewise. Update calls to other affected
14633 functions.
14634 (print_complex_max_error): Likewise.
14635 (test_single_exception): Update calls to print_screen.
14636 (test_single_errno): Likewise.
14637 (check_float_internal): Remove xfail argument. Update calls to
14638 other affected functions.
14639 (check_float): Likewise.
14640 (check_complex): Likewise.
14641 (check_int): Likewise.
14642 (check_long): Likewise.
14643 (check_bool): Likewise.
14644 (check_longlong): Likewise.
14645 (main): Don't print noXFails and noXPasses.
14646 * math/gen-libm-test.pl (top level): Don't mention expected
14647 failure handling in comment.
14648 (new_test): Don't handle expected failures.
14649 (parse_args): Don't mention expected failure handling in comment.
14650 (generate_testfile): Don't handle expected failures.
14651 (parse_ulps): Likewise.
14652 (print_ulps_file): Likewise.
14653 (get_failure): Remove function.
14654 (output_test): Don't handle expected failures.
14655 * make/README.libm-test: Don't mention expected failure handling.
14656
a7548d41
JM
14657 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14658 (minus_zero): Likewise.
14659 (plus_infty): Likewise.
14660 (minus_infty): Likewise.
14661 (qnan_value): Likewise.
14662 (max_value): Likewise.
14663 (min_value): Likewise.
14664 (min_subnorm_value): Likewise.
14665 (initialize): Do not initialize those variables dynamically.
14666
60bfd54c
RM
146672013-05-03 Roland McGrath <roland@hack.frob.com>
14668
cc0e6ed8
RM
14669 * io/open.c (__open_2): Moved to ...
14670 * io/open_2.c: ... this new file.
14671 * io/open64.c (__open64_2): Moved to ...
14672 * io/open64_2.c: ... this new file.
14673 * io/openat.c (__openat_2): Moved to ...
14674 * io/openat_2.c: ... this new file.
14675 * io/openat64.c (__openat64_2): Moved to ...
14676 * io/openat64_2.c: ... this new file.
14677 * io/Makefile (routines): Add them.
14678 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14679 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14680 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14681 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14682 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14683 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14684 (__openat64): Add hidden_ver.
14685 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14686 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14687
60bfd54c
RM
14688 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14689 Separately conditionalize setting of GLRO(dl_sysinfo) so
14690 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14691 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14692
83e7640f
AZ
146932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14694
14695 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14696 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14697 definition.
14698 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14699 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14700 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14701 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14702 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14703
d5dc2af3
JM
147042013-05-03 Joseph Myers <joseph@codesourcery.com>
14705
c31a5b1e
JM
14706 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14707 test signgam value.
14708
d5dc2af3
JM
14709 * math/libm-test.inc (hypot_test): Do not use
14710 IGNORE_ZERO_INF_SIGN.
14711
164fd39d
AJ
147122013-05-03 Andreas Jaeger <aj@suse.de>
14713
14714 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14715 Linux 3.9.
14716 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14717 (PF_MAX): Adjust for VSOCK change.
14718
8237f48c
AZ
147192013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14720
14721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14722
9df02941
CD
147232013-05-02 Carlos O'Donell <carlos@redhat.com>
14724
14725 [BZ #15264]
14726 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14727 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14728 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14729
d422395e
DM
147302013-05-02 David S. Miller <davem@davemloft.net>
14731
14732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14733
a07c5731
OB
147342013-05-01 Ondřej Bílka <neleai@seznam.cz>
14735
14736 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14737
1324e37f
RM
147382013-05-01 Roland McGrath <roland@hack.frob.com>
14739
14740 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14741
0695940b
RS
147422013-05-01 Richard Smith <richard@metafoo.co.uk>
14743
bb5f27ad 14744 [BZ #14952]
0695940b
RS
14745 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14746 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14747 Use __attribute__ ((__gnu_inline__)).
14748 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14749 Don't use __attribute__ ((__gnu_inline__)).
14750
10de07f5
JM
147512013-05-01 Joseph Myers <joseph@codesourcery.com>
14752
14753 [BZ #15423]
14754 * math/s_catan.c (__catan): Handle small real or imaginary part of
14755 input specially to avoid spurious underflow.
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
cb4d5414
AZ
147662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14767
14768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14769
caf84319
JM
147702013-04-30 Joseph Myers <joseph@codesourcery.com>
14771
14772 [BZ #15416]
14773 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14774 accurately for denominator in atan2.
14775 * math/s_catanf.c (__catanf): Likewise.
14776 * math/s_catanh.c (__catanh): Likewise.
14777 * math/s_catanhf.c (__catanhf): Likewise.
14778 * math/s_catanhl.c (__catanhl): Likewise.
14779 * math/s_catanl.c (__catanl): Likewise.
14780 * math/libm-test.inc (catan_test): Add more tests.
14781 (catanh_test): Likewise.
14782 * sysdeps/i386/fpu/libm-test-ulps: Update.
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14784
d569c6ee
SP
147852013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14786
6dbe713d
SP
14787 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14788
f0ee064b
SP
14789 * benchtests/Makefile (bench): Remove slow benchmarks.
14790 * benchtests/atan-inputs: Add slow benchmark inputs.
14791 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14792 (BENCH_FUNC): Accept variant offset.
14793 (VARIANT): Define.
14794 * benchtests/bench-skeleton.c (main): Run benchmark for each
14795 variant.
14796 * benchtests/cos-inputs: Add slow benchmark inputs.
14797 * benchtests/exp-inputs: Likewise.
14798 * benchtests/pow-inputs: Likewise.
14799 * benchtests/sin-inputs: Likewise.
14800 * benchtests/slowatan-inputs: Remove.
14801 * benchtests/slowatan.c: Remove.
14802 * benchtests/slowcos-inputs: Remove.
14803 * benchtests/slowcos.c: Remove.
14804 * benchtests/slowexp-inputs: Remove.
14805 * benchtests/slowexp.c: Remove.
14806 * benchtests/slowpow-inputs: Remove.
14807 * benchtests/slowpow.c: Remove.
14808 * benchtests/slowsin-inputs: Remove.
14809 * benchtests/slowsin.c: Remove.
14810 * benchtests/slowtan-inputs: Remove.
14811 * benchtests/slowtan.c: Remove.
14812 * benchtests/tan-inputs: Add slow benchmark inputs.
14813 * scripts/bench.pl: Parse comments and directives.
14814
d569c6ee
SP
14815 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14816 in CPPFLAGS.
14817 ($(objpfx)bench-%.c): Remove *-ITER.
14818 * benchtests/bench-modf.c: Remove definition of ITER.
14819 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14820 (main): Loop for DURATION seconds instead of fixed number of
14821 iterations.
14822 * scripts/bench.pl: Don't expect iterations in parameters.
14823
a6a242fe
RM
148242013-04-29 Roland McGrath <roland@hack.frob.com>
14825
14826 * io/fchdir.c (__fchdir): Renamed from fchdir.
14827 (fchdir): Define as weak alias.
14828
f2da7793
JM
148292013-04-29 Joseph Myers <joseph@codesourcery.com>
14830
14831 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14832 (ERRNO_EDOM): Likewise.
14833 (ERRNO_ERANGE): Likewise.
14834 (noErrnoTests): New variable.
14835 (init_max_error): Set errno to 0.
14836 (test_single_errno): New function.
14837 (test_errno): Likewise.
14838 (check_float_internal): Call test_errno. Set errno to 0.
14839 (check_complex): Refer to errno tests in comment.
14840 (check_int): Call test_errno. Set errno to 0.
14841 (check_long): Likewise.
14842 (check_bool): Likewise.
14843 (check_longlong): Likewise.
14844 (cos_test): Use ERRNO_* flags for errno tests instead of
14845 check_int.
14846 (expm1_test): Likewise.
14847 (fmod_test): Likewise.
14848 (ilogb_test): Likewise.
14849 (lgamma_test): Likewise.
14850 (pow_test): Likewise.
14851 (remainder_test): Likewise.
14852 (sin_test): Likewise.
14853 (tan_test): Likewise.
14854 (yn_test): Likewise.
14855 (initialize): Set errno to 0.
14856 (main): Print number of errno tests.
14857 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14858
b1a36ceb
AJ
148592013-04-29 Andreas Jaeger <aj@suse.de>
14860
c3ed8088
AJ
14861 [BZ #15084]
14862 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14863 and RES_USEVC.
14864
f1a24198
AJ
14865 [BZ #15085]
14866 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14867 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14868 unimplemented.
14869
9ce3b2cb
AJ
14870 [BZ #15380]
14871 * stdlib/random.c (__initstate): Return NULL if
14872 __initstate fails.
14873
f1a24198 14874 [BZ #15086]
b1a36ceb
AJ
14875 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14876 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14877 RES_SNGLKUPREOP.
14878
7e7b6f36
AZ
148792013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14880
14881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14882
4d14f449
JM
148832013-04-29 Joseph Myers <joseph@codesourcery.com>
14884
14885 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14886 of individual tests.
14887 (casin_test): Likewise.
14888 (casinh_test): Likewise.
14889
5b4217d7
JM
148902013-04-27 Joseph Myers <joseph@codesourcery.com>
14891
14892 [BZ #15409]
14893 * math/s_catan.c (__catan): Handle arguments with large real or
14894 imaginary part separately without squaring.
14895 * math/s_catanf.c (__catanf): Likewise.
14896 * math/s_catanh.c (__catanh): Likewise.
14897 * math/s_catanhf.c (__catanhf): Likewise.
14898 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14899 and redefine.
14900 (__catanhl): Handle arguments with large real or imaginary part
14901 separately without squaring.
14902 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14903 and redefine.
14904 (__catanl): Handle arguments with large real or imaginary part
14905 separately without squaring.
14906 * math/libm-test.inc (catan_test): Add more tests.
14907 (catanh_test): Likewise.
14908 * sysdeps/i386/fpu/libm-test-ulps: Update.
14909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14910
4220c3ef
AJ
149112013-04-27 Andreas Jaeger <aj@suse.de>
14912
14913 [BZ #15007]
14914 * stdlib/stdlib.h: Update guards for qecvt.
14915 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14916 <stdlib.h>.
14917
4721b2d1
AM
149182013-04-27 Allan McRae <allan@archlinux.org>
14919
14920 * sysdeps/i386/fpu/libm-test-ulps: Update.
14921
f0302940
JM
149222013-04-26 Joseph Myers <joseph@codesourcery.com>
14923
9457fd95
JM
14924 [BZ #15406]
14925 * math/s_catan.c: Include <float.h>.
14926 (__catan): Ensure underflow exception occurs for underflowed
14927 result.
14928 * math/s_catanf.c: Include <float.h>.
14929 (__catanf): Ensure underflow exception occurs for underflowed
14930 result.
14931 * math/s_catanh.c: Include <float.h>.
14932 (__catanh): Ensure underflow exception occurs for underflowed
14933 result.
14934 * math/s_catanhf.c: Include <float.h>.
14935 (__catanhf): Ensure underflow exception occurs for underflowed
14936 result.
14937 * math/s_catanhl.c: Include <float.h>.
14938 (__catanhl): Ensure underflow exception occurs for underflowed
14939 result.
14940 * math/s_catanl.c: Include <float.h>.
14941 (__catanl): Ensure underflow exception occurs for underflowed
14942 result.
14943 * math/libm-test.inc (catan_test): Add more tests.
14944 (catanh_test): Likewise.
14945
f0302940
JM
14946 [BZ #15405]
14947 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14948 underflowed result.
14949 * math/s_ccoshf.c (__ccoshf): Likewise.
14950 * math/s_ccoshl.c (__ccoshl): Likewise.
14951 * math/s_csin.c (__csin): Likewise.
14952 * math/s_csinf.c (__csinf): Likewise.
14953 * math/s_csinh.c (__csinh): Likewise.
14954 * math/s_csinhf.c (__csinhf): Likewise.
14955 * math/s_csinhl.c (__csinhl): Likewise.
14956 * math/s_csinl.c (__csinl): Likewise.
14957 * math/libm-test.inc (ccos_test): Add more tests.
14958 (ccosh_test): Likewise.
14959 (csin_test): Likewise.
14960 (csinh_test): Likewise.
14961
aa630f59
AZ
149622013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14963
14964 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14965 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14966 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14967 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14968 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14969 powerpc/power5+/fpu folders.
14970 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14971
14972
1b835983
MT
149732013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14974
14975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14976
73709b26
JM
149772013-04-25 Joseph Myers <joseph@codesourcery.com>
14978
14979 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14980 additions to variable.
14981 [$(config-machine) = x86_64] (modules-names): Likewise.
14982 ($(objpfx)tst-audit3): Remove dependency.
14983 ($(objpfx)tst-audit3.out): Likewise.
14984 ($(objpfx)tst-audit4): Likewise.
14985 ($(objpfx)tst-audit4.out): Likewise.
14986 ($(objpfx)tst-audit5): Likewise.
14987 ($(objpfx)tst-audit5.out): Likewise.
14988 ($(objpfx)tst-audit6): Likewise.
14989 ($(objpfx)tst-audit6.out): Likewise.
14990 ($(objpfx)tst-audit7): Likewise.
14991 ($(objpfx)tst-audit7.out): Likewise.
14992 (tst-audit3-ENV): Remove variable.
14993 (tst-audit4-ENV): Likewise.
14994 (tst-audit5-ENV): Likewise.
14995 (tst-audit6-ENV): Likewise.
14996 (tst-audit7-ENV): Likewise.
14997 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14998 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14999 addition to variable.
15000 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15001 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15002 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15003 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15004 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15005 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15006 tst-audit3, tst-audit4 and tst-audit5.
15007 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15008 tst-audit6 and tst-audit7.
15009 [$(subdir) = elf] (modules-names): Add audit modules for those
15010 tests.
15011 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15012 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15013 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15014 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15015 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15016 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15017 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15018 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15019 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15020 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15021 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15022 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15023 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15024 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15025 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15026 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15027 Likewise.
15028 [$(subdir) = elf && $(config-cflags-avx) = yes]
15029 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15030 [$(subdir) = elf && $(config-cflags-avx) = yes]
15031 (CFLAGS-tst-auditmod4a.c): Likewise.
15032 [$(subdir) = elf && $(config-cflags-avx) = yes]
15033 (CFLAGS-tst-auditmod4b.c): Likewise.
15034 [$(subdir) = elf && $(config-cflags-avx) = yes]
15035 (CFLAGS-tst-auditmod6b.c): Likewise.
15036 [$(subdir) = elf && $(config-cflags-avx) = yes]
15037 (CFLAGS-tst-auditmod6c.c): Likewise.
15038 [$(subdir) = elf && $(config-cflags-avx) = yes]
15039 (CFLAGS-tst-auditmod7b.c): Likewise.
15040 * elf/tst-audit3.c: Move to ...
15041 * sysdeps/x86_64/tst-audit3.c: ... here.
15042 * elf/tst-audit4.c: Move to ...
15043 * sysdeps/x86_64/tst-audit4.c: ... here.
15044 * elf/tst-audit5.c: Move to ...
15045 * sysdeps/x86_64/tst-audit5.c: ... here.
15046 * elf/tst-audit6.c: Move to ...
15047 * sysdeps/x86_64/tst-audit6.c: ... here.
15048 * elf/tst-audit7.c: Move to ...
15049 * sysdeps/x86_64/tst-audit7.c: ... here.
15050 * elf/tst-auditmod3a.c: Move to ...
15051 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15052 * elf/tst-auditmod3b.c: Move to ...
15053 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15054 * elf/tst-auditmod4a.c: Move to ...
15055 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15056 * elf/tst-auditmod4b.c: Move to ...
15057 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15058 * elf/tst-auditmod5a.c: Move to ...
15059 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15060 * elf/tst-auditmod5b.c: Move to ...
15061 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15062 * elf/tst-auditmod6a.c: Move to ...
15063 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15064 * elf/tst-auditmod6b.c: Move to ...
15065 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15066 * elf/tst-auditmod6c.c: Move to ...
15067 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15068 * elf/tst-auditmod7a.c: Move to ...
15069 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15070 * elf/tst-auditmod7b.c: Move to ...
15071 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15072
1ef74943
PP
150732013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15074
15075 [BZ #15366]
15076 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15077 define unconditionally.
15078 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15079 define unconditionally.
15080 (INT8_C, INT16_C, etc.): Likewise.
15081
93fd48c5
MR
150822013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15083
ae9552cf
MR
15084 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15085 __ehdr_start with hidden visibility.
15086
93fd48c5
MR
15087 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15088
418601aa
CD
150892013-04-24 Carlos O'Donell <carlos@redhat.com>
15090
15091 * math/libm-test.inc (cos_test): Use accurate hex constants.
15092 (sincost_test): Likewise.
15093
2f38fbfe
JM
150942013-04-24 Joseph Myers <joseph@codesourcery.com>
15095
5e221800
JM
15096 * math/libm-test.inc (catan_test): Add more tests.
15097 (catanh_test): Likewise.
15098
77f143fd
JM
15099 * math/s_catanf.c (__catanf): Use suffixed floating-point
15100 constants.
15101 * math/s_catanhf.c (__catanhf): Likewise.
15102 * math/s_catanhl.c (__catanhl): Likewise.
15103 * math/s_catanl.c (__catanl): Likewise.
15104
2f38fbfe
JM
15105 [BZ #15394]
15106 * math/s_catan.c (__catan): Calculate imaginary part of result
15107 with log1p not log unless computing log of number close to 0.
15108 * math/s_catanf.c (__catanf): Likewise.
15109 * math/s_catanl.c (__catanl): Likewise.
15110 * math/s_catanh.c (__catanh): Calculate real part of result with
15111 log1p not log unless computing log of number close to 0.
15112 * math/s_catanhf.c (__catanhf): Likewise.
15113 * math/s_catanhl.c (__catanhl): Likewise.
15114 * math/libm-test.inc (catan_test): Add more tests.
15115 (catanh_test): Likewise.
15116 * sysdeps/i386/fpu/libm-test-ulps: Update.
15117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15118
45d69176
SP
151192013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15120
15121 * benchtests/Makefile: Mention files in which fast and slow
15122 paths of math functions are implemented.
15123
87f51853
RM
151242013-04-23 Roland McGrath <roland@hack.frob.com>
15125
15126 * sysdeps/posix/timespec_get.c: New file.
15127
3c026539
AZ
151282013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15129
15130 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15131 POWER.
15132 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15133 for POWER.
15134 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15135 powerpc/power5/fpu folders.
15136 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15137 * benchtests/Makefile: Add modf testcase.
15138 * benchtests/bench-modf.c: New file: Benchmark test for mo
15139
ff491d14
SP
151402013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15141
15142 [BZ #14888]
15143 * time/Makefile (tests): Add tst-strptime-whitespace.
15144 * time/strptime_l.c (get_number): Use ISSPACE.
15145 (__strptime_internal): Likewise.
15146 * time/tst-strptime-whitespace.c: New test case.
15147
7ed3f4e8
AS
151482013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15149
15150 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15151 member.
15152 (_nss_files_init): Set it here.
15153
5c95f7b6
HC
151542013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15155
15156 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15157 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15158 unsigned.
15159
d34c9158
JBG
151602013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15161
15162 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15163
2169712d
SP
151642013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15165
15166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15167 size just once.
15168
29c5de99
DM
151692013-04-21 David S. Miller <davem@davemloft.net>
15170
15171 * po/ru.po: Update Russion translation from translation project.
15172
ccdad15d
AC
151732013-04-17 Adam Conrad <adconrad@0c3.net>
15174
15175 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15176 and setfsgid.
15177
0f122b8d
CD
151782013-04-17 Carlos O'Donell <carlos@redhat.com>
15179
5c5b07da 15180 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15181 * configure: Regenerate.
5c5b07da 15182 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15183 Add example to error message.
15184 * sysdeps/i386/configure: Regenerate.
15185
037714dd
SP
151862013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15187
15188 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15189 slowtan.
15190 * benchtests/cos-inputs: New file.
15191 * benchtests/slowcos-inputs: New file.
15192 * benchtests/slowcos.c: New file.
15193 * benchtests/slowtan-inputs: New file.
15194 * benchtests/slowtan.c: New file.
15195 * benchtests/tan-inputs: New file.
15196
e913141d
RM
151972013-04-16 Roland McGrath <roland@hack.frob.com>
15198
15199 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15200 considered kosher.
15201
a2964074
SP
152022013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15203
4856bcd2
SP
15204 * benchtests/Makefile: Include cppflags-iterator.mk to add
15205 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15206
a2964074
SP
15207 * Makefile.in (bench-clean): New target.
15208 * benchtests/Makefile (bench-clean): Likewise.
15209
9fbf9aca
DH
152102013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15211
15212 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15213
207d1e2a
TS
152142013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15215
15216 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15217
306dfba9
AS
152182013-04-15 Andreas Schwab <schwab@suse.de>
15219
15220 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15221 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15222 * nscd/pwdcache.c (cache_addpw): Likewise.
15223 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15224 more than recsize.
15225
206a6699
SP
152262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15227
15228 * benchtests/Makefile (bench): Write all output to
15229 bench-out.tmp together.
15230
0582f6b3
AS
152312013-04-15 Andreas Schwab <schwab@suse.de>
15232
15233 * nscd/nscd.c (main): Don't fork again after closing files.
15234
acb4325f
SP
152352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15236
5cb26d0a
SP
15237 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15238
acb4325f
SP
15239 * benchtests/Rules (bench-deps): Collect dependencies into a
15240 single variable. Add Makefile to dependencies.
15241 ($(objpfx)bench-%.c): Depend on bench-deps.
15242
47792506
RM
152432013-04-12 Roland McGrath <roland@hack.frob.com>
15244 Xavier Roche <roche+kml2@exalead.com>
15245
15246 [BZ #15361]
15247 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15248 just that it's a file descriptor.
15249 * manual/llio.texi (Synchronizing AIO Operations): Update description
15250 for EBADF error from aio_fsync.
15251
8fc1bee5
SP
152522013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15253
15254 * Rules (bench): Move target definition...
15255 * benchtests/Makefile: ... here.
15256
aba5e333
CD
152572013-04-11 Carlos O'Donell <carlos@redhat.com>
15258
15259 * math/libm-test.inc (cos_test): Fix PI/2 test.
15260 (sincos_test): Likewise.
15261 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15262 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15263
273cdee8
AS
152642013-04-11 Andreas Schwab <schwab@suse.de>
15265
6ecec3b6
AS
15266 [BZ #13988]
15267 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15268 accept exponent character only when digits were seen.
15269 * stdio-common/Makefile (tests): Add bug26.
15270 * stdio-common/bug26.c: New file.
15271
273cdee8
AS
15272 [BZ #14293]
15273 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15274 non-freeable.
15275
8da491f5
SP
152762013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15277
01dc6df9
SP
15278 * Makeconfig (rtld-prefix): Define built linker prefix.
15279 * Rules (run-bench): Use it.
15280 * math/Makefile (run-regen-ulps): Likewise.
15281
8da491f5
SP
15282 * Rules (bench): Remove eval.
15283
abe7f530
SP
152842013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15285 Roland McGrath <roland@hack.frob.com>
15286 Ondrej Bilka <neleai@seznam.cz>
15287
15288 [BZ #15346]
15289 * time/getdate.c: Include ctype.h and alloca.h.
15290 (__getdate_r): Trim leading and trailing spaces of input.
15291 * time/tst-getdate.c (tests): Add tests with leading and
15292 trailing spaces.
15293
61c23e62
RM
152942013-04-08 Roland McGrath <roland@hack.frob.com>
15295
15296 [BZ #14280]
15297 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15298 when computing value.
15299
7208a313
CD
153002013-04-06 Carlos O'Donell <carlos@redhat.com>
15301
085b2d41
CD
15302 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15303 Use testrun.sh to run libm tests.
15304
7208a313
CD
15305 [BZ #15309]
15306 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15307
872c0acd
MM
153082013-04-06 Marko Myllynen <myllynen@redhat.com>
15309
15310 [BZ #15264]
15311 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15312
26510bdd
CD
153132013-04-06 Carlos O'Donell <carlos@redhat.com>
15314
15315 * Makefile.in (regen-ulps): New target.
15316 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15317 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15318 [ifneq (no,$(PERL)] (regen-ulps): New target.
15319 [ifeq (no,$(PERL)] (regen-ulps): New target.
15320 * math/libm-test.inc (ulps_file_name): Define.
15321 (output_dir): New variable.
15322 (options): Add "output-dir" option.
15323 (parse_opt): Handle 'o' case.
15324 (main): If output_dir is non-NULL use it as a prefix
15325 otherwise use "".
15326 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15327
a01f19c8
CD
153282013-04-06 Carlos O'Donell <carlos@redhat.com>
15329
15330 [BZ #10060, #10062]
15331 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15332 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15333 fail configure if __sync_val_compare_and_swap is not inlined.
15334 * sysdeps/i386/configure: Regenerate.
15335 * configure.in: Build for i686 when configured for i386.
15336 * configure: Regenerate.
15337 * README: Remove i386 reference.
15338
b7a329a5
CD
153392013-04-06 Carlos O'Donell <carlos@redhat.com>
15340
15341 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15343
bf0f50df
TS
153442013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15345
ee091edf
TS
15346 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15347 (lmsnanval): New variables.
15348 (F): Add conversion tests.
15349 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15350 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15351
a8b792d6
TS
15352 * stdio-common/tstdiomisc.c (F): Properly collect individual
15353 tests' results.
15354
a1cbf437
TS
15355 [BZ #14686, #15336]
15356 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15357 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15358 Instead, use input NaN values or generate a qNaN by arithmetic
15359 operation. Also fix bugs to comply with the standard.
15360 * math/libm-test.inc (remainder_test): Add more tests.
15361
8b43a0c9
TS
15362 [BZ #15335, #15342]
15363 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15365 input NaN values or generate a qNaN by arithmetic operation.
15366
d91da4ce
TS
15367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15368 unreachable code.
15369
bf0f50df
TS
15370 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15371 definitions.
15372
05e166c8
JM
153732013-04-03 Joseph Myers <joseph@codesourcery.com>
15374
15375 [BZ #14478]
15376 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15377 underflowed result.
15378 * math/s_cexpf.c (__cexpf): Likewise.
15379 * math/s_cexpl.c (__cexpl): Likewise.
15380 * math/libm-test.inc (cexp_test): Add more tests.
15381
1cef1b19
AS
153822013-04-03 Andreas Schwab <schwab@suse.de>
15383
15384 [BZ #15330]
15385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15386 order arrays from heap if bigger than alloca cutoff.
15387
74d87055
TS
153882013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15389
15390 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15391 (SNAN_TESTS_double): Refer to GCC PR56831.
15392 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15393 GCC PR56828.
15394
d755bba4
SP
153952013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15396
90d5d5bb
SP
15397 * Rules (bench): Move bench.out after the run is complete.
15398
73e0cd5d
SP
15399 * Rules (bench): Echo currently running benchmark.
15400
64aabd4b
SP
15401 * benchtests/Makefile (bench): Add atan and slowatan.
15402 * benchtests/atan-inputs: New file.
15403 * benchtests/slowatan-inputs: New file.
15404 * benchtests/slowatan.c: New file.
15405
c871eccd
SP
15406 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15407 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15408 its value.
15409
d755bba4
SP
15410 [BZ #15305]
15411 * sysdeps/unix/sysv/linux/kernel-features.h
15412 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15413 __ASSUME_XFS_RESTRICTED_CHOWN.
15414 * sysdeps/unix/sysv/linux/pathconf.c
15415 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15416 Save and restore errno.
15417
52ce4860
JM
154182013-04-02 Joseph Myers <joseph@codesourcery.com>
15419
15420 [BZ #15327]
15421 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15422 arguments using __kernel_casinh.
15423 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15424 arguments using __kernel_casinhf.
15425 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15426 arguments using __kernel_casinhl.
15427 * math/libm-test.inc (cacosh_test): Add more tests.
15428 * sysdeps/i386/fpu/libm-test-ulps: Update.
15429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15430
81f311c2
SP
154312013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15432
e7906a47
SP
15433 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15435
92e3664b
SP
15436 * bench/Makefile (bench): Add sin and slowsin.
15437 * benchtests/sin-inputs: New file.
15438 * benchtests/slowsin-inputs: New file.
15439 * benchtests/slowsin.c: New file.
15440
81f311c2
SP
15441 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15442 (bench): Add slowexp and slowpow.
15443 (exp-ITER): Increase iterations.
15444 (pow-ITER): Likewise.
15445 * benchtests/exp-inputs: Change input.
15446 * benchtests/pow-inputs: Likewise.
15447 * benchtests/slowexp-inputs: New file.
15448 * benchtests/slowexp.c: New file.
15449 * benchtests/slowpow-inputs: New file.
15450 * benchtests/slowpow.c: New file.
15451
ab0f1aa9
AZ
154522013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15453
15454 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15455 instructions.
15456 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15457 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15458 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15459 * benchtests/Makefile: Add rint benchtest.
15460 * benchtests/rint-inputs: Input for rint benchtest.
15461
57267616
TS
154622013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15463
15464 * Versions.def (libm): Add GLIBC_2.18.
15465 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15466 hidden libm prototypes.
15467 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15468 * math/Makefile (libm-calls): Add s_issignaling.
15469 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15470 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15471 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15472 declaration.
15473 * math/math.h [__USE_GNU] (issignaling): New macro.
15474 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15475 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15477 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15480 * manual/arith.texi (issignaling): New section.
15481 * manual/libm-err-tab.pl (@all_functions): Update comment.
15482 * math/gen-libm-test.pl (parse_args): Apply special handling for
15483 issignaling.
15484 * math/libm-test.inc (print_float, issignaling_test): New
15485 functions.
15486 (check_float_internal): Add issignaling checks.
15487 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15488 default definition.
15489 * sysdeps/powerpc/math-tests.h: New file.
15490 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15491 tests.
15492 * math/test-snan.c (TEST_FUNC): Likewise.
15493
6142896d
DM
154942013-03-30 David S. Miller <davem@davemloft.net>
15495
15496 * po/de.po: Update from translation team.
15497
ccc8cadf
JM
154982013-03-30 Joseph Myers <joseph@codesourcery.com>
15499
15500 [BZ #10357]
15501 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15502 imaginary part less than 1.0 and real part less than 0.5
15503 specially.
15504 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15505 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15506 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15507 (cacos_test): Add more tests.
15508 (casin_test): Likewise.
15509 (casinh_test): Likewise.
15510 * sysdeps/i386/fpu/libm-test-ulps: Update.
15511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15512
0f6a8d4b
SP
155132013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15514
0d1029de
SP
15515 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15516 ONE with its value.
15517
c2d94018
SP
15518 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15519 (__pow_mp): Replace ONE and MONE with their values.
15520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15521 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15522 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15523 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15524 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15525 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15526
27ec37f1
SP
15527 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15528
a64d7e0e
SP
15529 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15530 (__pow_mp): Replace ZERO and MZERO with their values.
15531 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15532 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15533 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15535 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15536 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15537 (__sqr): Likewise.
15538
d26dd3eb
SP
15539 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15540
0f6a8d4b
SP
15541 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15542
e57b0c61
RM
155432013-03-28 Roland McGrath <roland@hack.frob.com>
15544
15545 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15546 Declare with __attribute__ ((weak)).
15547 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15548 Call __call_tls_dtors only if it's not NULL.
15549
356b3480
RM
155502013-03-28 Roland McGrath <roland@hack.frob.com>
15551
288f7d79
RM
15552 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15553 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15554 magic __ehdr_start linker symbol if it's defined.
15555 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15556 them up here if it was already done.
15557
dc0a0263
RM
15558 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15559 (_dl_aux_init): Use const in cast when setting it.
15560 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15561 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15562 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15563
3d3436ae
RM
15564 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15565 Declare them here.
15566 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15567 * csu/libc-tls.c: Nor here.
15568 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15569
356b3480
RM
15570 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15571 (__libc_message): Never call vsyslog.
15572
b0f1246a
AM
155732013-03-28 Alan Modra <amodra@gmail.com>
15574
15575 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15576 Define as empty.
15577 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15578 Likewise.
15579
fbbe2b9a
AZ
155802013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15581
15582 [BZ #15214]
15583 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15584 underflow.
15585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15586
1728ab37
SP
155872013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15588
7a86be6e
SP
15589 [BZ #15304]
15590 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15591 Don't add gid passed as argument.
15592
1728ab37
SP
15593 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15594
3a7182a1
JM
155952013-03-27 Joseph Myers <joseph@codesourcery.com>
15596
15597 [BZ #15307]
15598 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15599 imaginary part between 1.0 and 1.5 and real part less than 0.5
15600 specially.
15601 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15602 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15603 * math/libm-test.inc (cacos_test): Add more tests.
15604 (casin_test): Likewise.
15605 (casinh_test): Likewise.
15606 * sysdeps/i386/fpu/libm-test-ulps: Update.
15607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15608
6f2e90e7
SP
156092013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15610
5739f705
SP
15611 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15612 constants.
15613 (norm): Likewise.
15614 (denorm): Likewise.
15615 (__dbl_mp): Likewise.
15616 (add_magnitudes): Likewise.
15617 (sub_magnitudes): Likewise.
15618 (__add): Likewise.
15619 (__sub): Likewise.
15620 (__mul): Likewise.
15621 (__sqr): Likewise.
15622 (__inv): Likewise.
15623 (__dvd): Likewise.
15624
e375e83d
SP
15625 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15626 commented code.
15627 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15628 (__dubcos): Likewise.
15629 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15630 (__ieee754_acos): Likewise.
15631 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15632 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15633 (__exp1): Likewise.
15634 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15636 (log1): Likewise.
15637 (my_log2): Likewise.
15638 (checkint): Likewise.
15639 * sysdeps/ieee754/dbl-64/e_remainder.c
15640 (__ieee754_remainder): Likewise.
15641 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15642 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15643 (bsloww): Likewise.
15644 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15645
6f2e90e7
SP
15646 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15647 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15648 MANTISSA_STORE_T to store computations on mantissa. Use
15649 macros for rounding and division.
15650 (denorm): Likewise.
15651 (__dbl_mp): Likewise.
15652 (add_magnitudes): Likewise.
15653 (sub_magnitudes): Likewise.
15654 (__mul): Likewise.
15655 (__sqr): Likewise.
15656 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15657 powers of two in terms of TWOPOW macro.
15658 (mp_no): Make type of mantissa as MANTISSA_T.
15659 [!RADIXI]: Define RADIXI.
15660 [!TWO52]: Define TWO52.
15661 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15662
fce14d4e
AZ
156632013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15664
15665 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15666 llroundl symbol when building for PPC32.
15667
9ad027fb
MW
156682013-03-24 Mark H Weaver <mhw@netris.org>
15669
15670 * manual/arith.texi (Normalization Functions): Fix prototypes for
15671 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15672
e42a38dd
AZ
156732013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15674
15675 [BZ #13889]
15676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15677 high value to check if expl overflow.
15678 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15679 to check for underflow and overflow.
15680 * math/libm-test.inc: Add exp test.
15681
2e0fb521
DL
156822013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15683
15684 [BZ #11120]
15685 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15686 with NOT_IN_libc.
15687
b5784d95
AZ
156882013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15689
15690 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15691 symbol.
15692
5aa4a1a1
TS
156932013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15694
bdef0be7
TS
15695 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15696 wrap blocks consisting of several statements.
15697
5aa4a1a1
TS
15698 * sysdeps/generic/math-tests.h: New file.
15699 * sysdeps/i386/fpu/math-tests.h: Likewise.
15700 * math/test-snan.c: Include it.
15701 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15702
98c48fe5
JM
157032013-03-21 Joseph Myers <joseph@codesourcery.com>
15704
15705 [BZ #15285]
15706 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15707 (__ieee754_j0l): Do not improve calculations using cos of twice
15708 input for inputs above LDBL_MAX / 2.0L.
15709 (__ieee754_y0l): Likewise.
15710 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15711 (__ieee754_j1l): Do not improve calculations using cos of twice
15712 input for inputs above LDBL_MAX / 2.0L.
15713 (__ieee754_y1l): Likewise.
15714 * math/libm-test.inc (j0_test): Add another test.
15715 (j1_test): Likewise.
15716 (y0_test): Likewise.
15717 (y1_test): Likewise.
15718 * sysdeps/i386/fpu/libm-test-ulps: Update.
15719
3775a8bc
SP
157202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15721
15722 * Rules ($(objpfx)bench-%.c): Include code from a C source
15723 file.
15724
0a1b2ae6
JM
157252013-03-21 Joseph Myers <joseph@codesourcery.com>
15726
15727 [BZ #15287]
15728 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15729 imaginary part 1.0 and real part less than 0.5 specially.
15730 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15731 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15732 * math/libm-test.inc (cacos_test): Add more tests.
15733 (casin_test): Likewise.
15734 (casinh_test): Likewise.
15735 * sysdeps/i386/fpu/libm-test-ulps: Update.
15736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15737
b33d4ce4
SP
157382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15739
15740 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15741 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15742
bef0b507
JM
157432013-03-20 Joseph Myers <joseph@codesourcery.com>
15744
15745 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15746 * config.make.in (config-cflags-sse4): Remove variable.
15747 (config-cflags-avx): Likewise.
15748 (config-cflags-sse2avx): Likewise.
15749 (config-cflags-novzeroupper): Likewise.
15750 (config-asflags-i686): Likewise.
15751 (have-mfma4): Likewise.
15752 (have-as-vis3): Likewise.
15753 (MIG): Likewise.
15754 * configure.in (MIG): Do not AC_SUBST.
15755 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15756 (libc_cv_cc_sse4): Do not AC_SUBST.
15757 (libc_cv_cc_avx): Likewise.
15758 (libc_cv_cc_sse2avx): Likewise.
15759 (libc_cv_cc_novzeroupper): Likewise.
15760 (libc_cv_cc_fma4): Likewise.
15761 (libc_cv_as_i686): Likewise.
15762 (libc_cv_sparc_as_vis3): Likewise.
15763 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15764 LIBC_CONFIG_VAR.
15765 (config-asflags-i686): Likewise.
15766 (config-cflags-avx): Likewise.
15767 (config-cflags-sse2avx): Likewise.
15768 (have-mfma4): Likewise.
15769 (config-cflags-novzeroupper): Likewise.
15770 * sysdeps/mach/configure.in (MIG): Likewise.
15771 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15772 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15773 LIBC_CONFIG_VAR.
15774 (config-cflags-avx): Likewise.
15775 (config-cflags-sse2avx): Likewise.
15776 (have-mfma4): Likewise.
15777 (config-cflags-novzeroupper): Likewise.
15778 * configure: Regenerated.
15779 * sysdeps/i386/configure: Likewise.
15780 * sysdeps/mach/configure: Likewise.
15781 * sysdeps/sparc/configure: Likewise.
15782 * sysdeps/x86_64/configure: Likewise.
15783
912cc4b3
RM
157842013-03-20 Roland McGrath <roland@hack.frob.com>
15785
15786 [BZ #14812]
15787 * locale/programs/localedef.c (options): Put N_ translation marker
15788 on argument names, not just descriptions.
15789
04eed2b0
MS
157902013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15791
15792 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15793
a065ceff
OB
157942013-03-20 Ondřej Bílka <neleai@seznam.cz>
15795
9bb2a810 15796 [BZ #14176]
a065ceff
OB
15797 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15798
a600e5ce
RM
157992013-03-19 Roland McGrath <roland@hack.frob.com>
15800
15801 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15802 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15803 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15804 [!BEFORE_ABORT] (before_abort): New function.
15805 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15806 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15807 (writev_for_fatal): New function.
15808 (WRITEV_FOR_FATAL): New macro; call that.
15809 (backtrace_and_maps): New function.
15810 (BEFORE_ABORT): New macro; call that.
15811 (struct str_list): Type removed.
15812 (__libc_message, __libc_fatal): Functions removed.
15813 Include <sysdeps/posix/libc_fatal.c> instead.
15814
6b18bea6
JM
158152013-03-19 Joseph Myers <joseph@codesourcery.com>
15816
15817 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15818 constants.
15819 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15820 double constants.
15821
aaa8cb4b
AS
158222013-03-19 Andreas Schwab <schwab@suse.de>
15823
44673770
AS
15824 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15825 * sysdeps/gnu/configure: Regenerate.
15826
aaa8cb4b
AS
15827 * configure.in: Substitute libc_cv_rtlddir.
15828 * configure: Regenerate.
15829 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15830 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15831 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15832 * elf/Makefile (install-others, CFLAGS-interp.c)
15833 (ldso_install, common-ldd-rewrite): Likewise.
15834 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15835 $(inst_slibdir)/$(rtld-installed-name).
15836 * scripts/rellns-sh: Add -p option.
15837 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15838 for source.
15839
d3cfc668
SP
158402013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15841
15842 * manual/nptl.texi: Renamed to ...
15843 * manual/threads.texi: ... this.
15844 * manual/Makefile (chapters): Update.
15845
0e2b9cdd
RM
158462013-03-18 Roland McGrath <roland@hack.frob.com>
15847
15848 [BZ #14812]
15849 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15850 on argument names, not just descriptions.
0e2b9cdd
RM
15851 * malloc/memusagestat.c (options): Likewise.
15852 * nss/getent.c (options): Likewise.
63270c24
RM
15853
158542013-03-18 Benno Schulenberg <bensberg@justemail.net>
15855
15856 [BZ #14812]
15857 * iconv/iconv_prog.c (options): Put N_ translation marker
15858 on argument names, not just descriptions.
15859 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15860
b2e1393c
OB
158612013-03-18 Ondrej Bilka <neleai@seznam.cz>
15862
15863 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15864 implementation which is faster on all x86_64 architectures.
15865 Tested on AMD, Intel Nehalem, SNB, IVB.
15866 * sysdeps/x86_64/strnlen.S: Likewise.
15867
15868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15869 Remove all multiarch strlen and strnlen versions.
15870 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15871 Remove strlen and strnlen related parts.
15872
15873 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15874 Inline strlen part.
15875 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15876
15877 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15878 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15879 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15880 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15881 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15882 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15883
ec4ff04d
CD
158842013-03-17 Carlos O'Donell <carlos@redhat.com>
15885
15886 * manual/memory.texi (Malloc Tunable Parameters):
15887 Sort parameters alphabetically. Add comments for missing entries.
15888
cd18e90a
DM
158892013-03-17 David S. Miller <davem@davemloft.net>
15890
15891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15892
2a185d32
JM
158932013-03-16 Joseph Myers <joseph@codesourcery.com>
15894
d2f9799e
JM
15895 [BZ #15283]
15896 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15897 for arguments at most half maximum finite value.
15898 * math/libm-test.inc (j0_test): Add more tests.
15899 (j1_test): Likewise.
15900 (y0_test): Likewise.
15901 (y1_test): Likewise.
15902 * sysdeps/i386/fpu/libm-test-ulps: Update.
15903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15904
2a185d32
JM
15905 [BZ #14155]
15906 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15907 1 / x and functions P and Q for arguments above 0x1p256L.
15908 (__ieee754_y0l): Likewise.
15909 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15910 (__ieee754_y1l): Likewise.
15911 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15912 (j1_test): Likewise.
15913 (y0_test): Likewise.
15914 (y1_test): Likewise.
15915
6cbec759
TS
159162013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15917
15918 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15919 variable.
15920
bc16e260
RM
159212013-03-15 Roland McGrath <roland@hack.frob.com>
15922
aefc9b8c
RM
15923 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15924 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15925 zero since it's initialized to EXEC_PAGESIZE.
15926
bc16e260
RM
15927 * sysdeps/unix/sysv/linux/ldsodefs.h
15928 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15929 * sysdeps/generic/ldsodefs.h: ... here.
15930
a57da955
TS
159312013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15932
af00a34d
TS
15933 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15934
495ded2c
TS
15935 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15936 math/test-snan.c.
15937 * math/test-snan.c: Renamed from
15938 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15939 * math/Makefile (tests): Add test-snan.
15940 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15941 test-powerpc-snan.
15942
777b0332
TS
15943 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15944 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15945 functions.
15946 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15947 __builtin_nan family of functions.
15948 * math/libm-test.inc (initialize): Initialize qnan_value with
15949 __builtin_nan family of functions.
15950 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15951 Remove variables.
15952 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15953 Remove functions.
15954 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15955 storage class. Initialize qNaN_var and sNaN_var with
15956 __builtin_nan and __builtin_nans families of functions,
15957 respectively.
15958
64d063b8
TS
15959 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15960 (sqrt_test): Remove duplicate test with qNaN input.
15961 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15962 (round_test, signbit_test, significand_test): Note missing +/-Inf
15963 as well as qNaN tests.
15964
67e971f1
TS
15965 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15966 qNaN_var. Fix a few strings, too.
15967 * math/libm-test.inc (nan_value): Rename to qnan_value.
15968 * math/gen-libm-test.pl (%beautify): Adjust to that.
15969 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15970 * math/test-misc.c (main): Likewise.
15971 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15972 to __qnan_bytes, and __qnan_union, respectively.
15973 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15974 Likewise.
15975 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15976 and lqnanval, respectively.
15977 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15978 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15979 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15980 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15981
64487e12
TS
15982 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15983 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15984 doubles.
15985
e015e27b
TS
15986 * math/test-misc.c (main): Fix copy'n'pastos.
15987 * misc/tst-efgcvt.c (special): Likewise.
15988
a57da955
TS
15989 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15990 Remove declarations.
15991
1e380345
SP
159922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15993
15994 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15995 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15996 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15997 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15998
ef26eece
AZ
159992013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16000
16001 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16002 macro to return vdso values correctly in IFUNC implementations.
16003 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16004 Optimization by using IFUNC.
16005
8cfdb7e0
SP
160062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16007 Richard Henderson <rth@redhat.com>
16008 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16009
16010 * Makefile.in (bench): New target.
16011 * NEWS: Mention the benchmark framework.
16012 * Rules (bench): Likewise.
16013 (binaries-bench): Generate binaries for functions to
16014 benchmark.
16015 * benchtests/Makefile: New makefile for benchmark tests.
16016 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16017 programs.
16018 * benchtests/exp-inputs: New input file for EXP function.
16019 * benchtests/pow-inputs: New input file for POW function.
16020 * scripts/bench.pl: New script to generate source files for
16021 benchmark programs.
16022
bcda9880
SP
160232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16024
d22ca8cd
SP
16025 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16026 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16027 computations on mantissa. Use macros for rounding and
16028 division.
16029 (denorm): Likewise.
16030 (__dbl_mp): Likewise.
16031 (add_magnitudes): Likewise.
16032 (sub_magnitudes): Likewise.
16033 (__mul): Likewise.
16034 (__sqr): Likewise.
16035 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16036 powers of two in terms of TWOPOW macro.
16037 (mp_no): Make type of mantissa as MANTISSA_T.
16038 [!RADIXI]: Define RADIXI.
16039 [!TWO52]: Define TWO52.
16040 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16041
bcda9880
SP
16042 * manual/nptl.texi (cindex): Modify threads to pthreads.
16043
06d5adfb
JM
160442013-03-15 Joseph Myers <joseph@codesourcery.com>
16045
16046 * sysdeps/x86_64/preconfigure: Regenerated.
16047
41c7328e
JM
160482013-03-14 Joseph Myers <joseph@codesourcery.com>
16049
16050 [BZ #14155]
16051 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16052 0x1p28 and above.
16053 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16054 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16055 0x1p28 and above.
16056 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16057 * math/libm-test.inc (j0_test): Do not allow one spurious
16058 underflow exception.
16059 (y1_test): Likewise.
16060
e25cfa60
SP
160612013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16062
0409959c
SP
16063 * manual/Makefile (chapters): Add nptl.
16064 * manual/debug.texi (Debugging Support): Add link to Threads
16065 chapter.
16066 * manual/nptl.texi: New file.
16067
e25cfa60
SP
16068 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16069
58a1335e
PB
160702013-03-14 Petr Baudis <pasky@ucw.cz>
16071
16072 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16073 for non-NULL pointer before the memory validity test. Pointed
16074 out by Holger Brunck <holger.brunck@keymile.com>.
16075
9dc7c64f
AS
160762013-03-13 Andreas Schwab <schwab@suse.de>
16077
16078 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16079 instead of .os.
16080
54206aa6
JM
160812013-03-13 Joseph Myers <joseph@codesourcery.com>
16082
16083 * timezone/zic.c: Update from tzcode 2013b.
16084
e98cdb38
CD
160852013-03-12 Carlos O'Donell <carlos@redhat.com>
16086
16087 * manual/install.texi (Configuring and compiling):
16088 Mention i686 and i586.
16089 * INSTALL: Regenerate.
16090
9967e003
RM
160912013-03-12 Roland McGrath <roland@hack.frob.com>
16092
16093 * sysdeps/init_array/elf-init.c: New file.
16094 * csu/elf-init.c
16095 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16096 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16097
16098 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16099 __gmon_start__ as global, but as static with a .preinit_array pointer.
16100 * sysdeps/init_array/gmon-start.c: New file. Use that.
16101 * sysdeps/init_array/crti.S: New file, empty except for comments.
16102 * sysdeps/init_array/crtn.S: Likewise.
16103
e6b5a293 161042013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16105
16106 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16107 definining bcopy.
80f844c9
OB
16108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16109 Remove Prefer_SSE_for_memop.
16110 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16111 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16112 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16114 memset-x86-64.
80f844c9 16115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16116 Remove bzero, memset ifunc support.
80f844c9
OB
16117 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16118 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16119 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16120 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16121
fb6b0fcb
AS
161222013-03-11 Andreas Schwab <schwab@suse.de>
16123
16124 [BZ #15234]
16125 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16126 by SHLIB_COMPAT.
16127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16128 (GLIBC_2.16): Remove pthread_atfork.
16129
3e6bd4b1
PP
161302013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16131
16132 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16133 (ptestcases.h): Likewise.
16134
222d7f00
RM
161352013-03-08 Roland McGrath <roland@hack.frob.com>
16136
16137 * Makeconfig ($(common-objpfx)config.status): Depend on
16138 sysdeps/*/preconfigure{,.in} too.
16139
1ba4f030
JM
161402013-03-08 Joseph Myers <joseph@codesourcery.com>
16141
a222d91a
JM
16142 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16143 (__free_hook): Use void * instead of __malloc_ptr_t.
16144 (__malloc_hook): Likewise.
16145 (__realloc_hook): Likewise.
16146 (__memalign_hook): Likewise.
16147 (__after_morecore_hook): Likewise.
16148 * malloc/arena.c (save_malloc_hook): Likewise.
16149 (save_free_hook): Likewise.
16150 * malloc/hooks.c (malloc_hook_ini): Likewise.
16151 (realloc_hook_ini): Likewise.
16152 (memalign_hook_ini): Likewise.
16153 * malloc/malloc.c (malloc_hook_ini): Likewise.
16154 (realloc_hook_ini): Likewise.
16155 (memalign_hook_ini): Likewise.
16156 (__free_hook): Likewise.
16157 (__malloc_hook): Likewise.
16158 (__realloc_hook): Likewise.
16159 (__memalign_hook): Likewise.
16160 (__libc_malloc): Likewise.
16161 (__libc_free): Likewise.
16162 (__libc_realloc): Likewise.
16163 (__libc_memalign): Likewise.
16164 (__libc_valloc): Likewise.
16165 (__libc_pvalloc): Likewise.
16166 (__libc_calloc): Likewise.
16167 (__posix_memalign): Likewise.
16168 * malloc/morecore.c (__sbrk): Likewise.
16169 (__default_morecore): Likewise.
16170
5cc45e10
JM
16171 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16172
dd54b864
JM
16173 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16174 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16175 __malloc_ptrdiff_t.
16176
1ba4f030
JM
16177 * malloc/malloc.h (__malloc_size_t): Remove macro.
16178 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16179 __malloc_size_t.
16180 (old_memalign_hook): Likewise.
16181 (old_realloc_hook): Likewise.
16182 (struct hdr): Likewise.
16183 (flood): Likewise.
16184 (mallochook): Likewise.
16185 (memalignhook): Likewise.
16186 (reallochook): Likewise.
16187 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16188 (tr_old_realloc_hook): Likewise.
16189 (tr_old_memalign_hook): Likewise.
16190 (tr_mallochook): Likewise.
16191 (tr_reallochook): Likewise.
16192 (tr_memalignhook): Likewise.
16193
edf66e57
AZ
161942013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16195
16196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16197 default_ldbl_pack and using as default implementation.
16198 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16199 implementation.
16200 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16201 redundant definition.
16202 (ldbl_insert_mantissa): Likewise.
16203 (ldbl_canonicalize): Likewise.
16204 (ldbl_nearbyint): Likewise.
16205 (ldbl_pack): Rename to ldbl_pack_ppc.
16206 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16207 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16208 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16209
6d9145d8
SP
162102013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16211
16212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16213 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16214 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16215 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16217 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16218 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16219 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16220
4dd4e157
AJ
162212013-03-07 Andreas Jaeger <aj@suse.de>
16222
16223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16224 bits/mman-linux.h.
16225
adbb8027
SP
162262013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16227
ce544b5b
SP
16228 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16229 Include mpa.h and declare __MPEXP.
16230 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16232 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16233 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16235 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16236 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16237
4cc149fd
SP
16238 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16239 (__slowpow): Use long double EXPL and LOGL functions to
16240 compute POW.
16241 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16242 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16243 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16244 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16245 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16246 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16247
e6ebd4a7
SP
16248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16249 intermediate variable to calculate exponent.
16250 (__sqr): Likewise.
16251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16252 Likewise.
16253 (__sqr): Likewise.
16254
82a9811d
SP
16255 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16256 [!NO__SQR]: Define __sqr.
16257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16258 and NO__SQR. Remove all code except __mul and __sqr. Include
16259 sysdeps/ieee754/dbl-64/mpa.c.
16260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16261
adbb8027
SP
16262 [BZ #12723]
16263 * posix/Makefile (tests): Add tst-pathconf.
16264 * posix/tst-pathconf.c: New test case.
16265 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16266 _PC_PIPE_BUF.
16267 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16268
39120df9
PF
162692013-03-06 Patsy Franklin <pfrankli@redhat.com>
16270
16271 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16272
67525cb8
AJ
162732013-03-06 Andreas Jaeger <aj@suse.de>
16274
664a9ce4
AJ
16275 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16276 definition via __MAP_ANONYMOUS.
16277
8e39047d
AJ
16278 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16279 it's not part of Linux headers.
16280
67525cb8
AJ
16281 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16282 (MAP_HUGE_MASK): Define.
16283
16284 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16285 Define.
16286 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16288 Define.
16289 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16290 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16291 Define.
16292 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16294 Define.
16295 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16296
16297 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16298 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16299 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16300 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16301 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16302 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16303
16304 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16305 Handle f2fs.
16306
16307 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16308 Handle f2fs and efivarfs.
16309
16310 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16311 f2fs.
16312
16313 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16314 (EFIVARFS_MAGIC): Add.
16315 (F2FS_LINK_MAX): Add.
16316
e1b42695
PP
163172013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16318
16319 * stdio-common/vfprintf.c: Replace __builtin_expect with
16320 __glibc_unlikely.
16321
2d67d91a
JM
163222013-03-06 Joseph Myers <joseph@codesourcery.com>
16323
16324 [BZ #13550]
16325 * sysdeps/generic/bp-sym.h: Remove file.
16326 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16327 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16328 <bp-sym.h> and <bp-asm.h>.
16329 (__longjmp): Don't use BP_SYM.
16330 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16331 and <bp-asm.h>.
16332 (memcpy): Don't use BP_SYM.
16333 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16334 <bp-sym.h> and <bp-asm.h>.
16335 (memcpy): Don't use BP_SYM.
16336 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16337 <bp-asm.h>.
16338 (memcpy): Don't use BP_SYM.
16339 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16340 <bp-asm.h>.
16341 (memset): Don't use BP_SYM.
16342 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16343 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16344 (__bzero): Don't use BP_SYM.
16345 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16346 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16347 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16348 <bp-sym.h> and <bp-asm.h>.
16349 (memcmp): Don't use BP_SYM. Remove comment about bounded
16350 pointers.
16351 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16352 <bp-sym.h> and <bp-asm.h>.
16353 (memcpy): Don't use BP_SYM.
16354 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16355 <bp-sym.h> and <bp-asm.h>.
16356 (memset): Don't use BP_SYM.
16357 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16358 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16359 (__bzero): Don't use BP_SYM.
16360 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16361 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16362 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16363 <bp-sym.h> and <bp-asm.h>.
16364 (strncmp): Don't use BP_SYM. Remove comment about bounded
16365 pointers.
16366 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16367 <bp-sym.h> and <bp-asm.h>.
16368 (memcpy): Don't use BP_SYM.
16369 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16370 <bp-sym.h> and <bp-asm.h>.
16371 (memset): Don't use BP_SYM.
16372 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16373 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16374 (__bzero): Don't use BP_SYM.
16375 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16376 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16377 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16378 <bp-sym.h> and <bp-asm.h>.
16379 (__memchr): Don't use BP_SYM.
16380 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16381 <bp-sym.h> and <bp-asm.h>.
16382 (memcmp): Don't use BP_SYM. Remove comment about bounded
16383 pointers.
16384 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16385 <bp-sym.h> and <bp-asm.h>.
16386 (memcpy): Don't use BP_SYM.
16387 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16388 <bp-sym.h> and <bp-asm.h>.
16389 (__mempcpy): Don't use BP_SYM.
16390 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16391 <bp-sym.h> and <bp-asm.h>.
16392 (__memrchr): Don't use BP_SYM.
16393 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16394 <bp-sym.h> and <bp-asm.h>.
16395 (memset): Don't use BP_SYM.
16396 (__bzero): Likewise.
16397 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16398 <bp-sym.h> and <bp-asm.h>.
16399 (__rawmemchr): Don't use BP_SYM.
16400 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16401 <bp-sym.h> and <bp-asm.h>.
16402 (__STRCMP): Don't use BP_SYM.
16403 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16404 <bp-sym.h> and <bp-asm.h>.
16405 (strchr): Don't use BP_SYM.
16406 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16407 <bp-sym.h> and <bp-asm.h>.
16408 (__strchrnul): Don't use BP_SYM.
16409 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16410 <bp-sym.h> and <bp-asm.h>.
16411 (strlen): Don't use BP_SYM.
16412 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16413 <bp-sym.h> and <bp-asm.h>.
16414 (strncmp): Don't use BP_SYM. Remove comment about bounded
16415 pointers.
16416 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16417 <bp-sym.h> and <bp-asm.h>.
16418 (__strnlen): Don't use BP_SYM.
16419 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16420 <bp-sym.h> and <bp-asm.h>.
16421 (__GI__setjmp): Don't use BP_SYM.
16422 (_setjmp): Likewise.
16423 (__sigsetjmp): Likewise.
16424 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16425 (L(start_addresses)): Don't use BP_SYM.
16426 (_start): Likewise.
16427 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16428 <bp-asm.h>.
16429 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16430 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16431 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16432 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16433 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16434 <bp-asm.h>.
16435 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16436 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16437 about bounded pointers.
16438 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16439 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16440 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16441 <bp-asm.h>.
16442 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16443 about bounded pointers. Remove GKM FIXME comments.
16444 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16445 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16446 <bp-asm.h>.
16447 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16448 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16449 Remove GKM FIXME comments.
16450 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16451 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16452 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16453 <bp-asm.h>.
16454 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16455 about bounded pointers. Remove GKM FIXME comment.
16456 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16457 and <bp-asm.h>.
16458 (strncmp): Don't use BP_SYM. Remove comment about bounded
16459 pointers.
16460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16461 <bp-sym.h> and <bp-asm.h>.
16462 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16464 <bp-sym.h> and <bp-asm.h>.
16465 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16466 comment.
16467
cdcf361f
PP
164682013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16469
16470 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16471 call free(NULL).
16472
3c4a2b15
DM
164732013-03-05 David S. Miller <davem@davemloft.net>
16474
16475 * po/es.po: Update from translation team.
16476
cdcf361f 164772013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16478
16479 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16480 <bits/mman-linux.h>.
16481 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16482 is fine.
16483 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16484 <bits/mman-linux.h> to end of file.
16485 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16486 is fine.
16487 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16488 <bits/mman-linux.h> to end of file.
16489 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16490 is fine.
16491 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16492 <bits/mman-linux.h> to end of file.
16493
16494 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16495 (MCL_CURRENT, MCL_FUTURE): Define here.
16496
5f67c04f
AK
164972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16498
8a4473cc 16499 [BZ #15232]
5f67c04f
AK
16500 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16501 attribute_hidden.
16502 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16503
c3e94a95
AK
165042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16505
16506 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16507 fourth parameter needed for rt_sigprocmask syscall.
16508 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16509 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16510 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16511 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16512 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16513 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16514
cfb6382a
JM
165152013-03-04 Joseph Myers <joseph@codesourcery.com>
16516
16517 [BZ #13550]
16518 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16519 comment about bounded pointers.
16520 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16521 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16522
539d8e01
AJ
165232013-03-04 Andreas Jaeger <aj@suse.de>
16524
16525 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16526 common definitions.
16527
16528 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16529 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16530 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16531 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16532 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16533 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16534
2e167a70 165352013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16536
16537 [BZ #15055]
16538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16539 __ieee754_sqrl instead of __sqrl.
16540
68508633
JM
165412013-03-01 Joseph Myers <joseph@codesourcery.com>
16542
16543 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16544 * sysdeps/powerpc/fpu_control.h: ... here.
16545 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16546 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16547 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16548 * sysdeps/powerpc/bits/mathinline.h: ... here.
16549
7775448e
RM
165502013-03-01 Roland McGrath <roland@hack.frob.com>
16551
16552 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16553 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16554 to just [NEED_DL_SYSINFO_DSO].
16555 * elf/dl-support.c: Likewise.
16556 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16557 * elf/rtld.c (dl_main): Likewise.
16558 * elf/setup-vdso.h (setup_vdso): Likewise.
16559 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16560 * sysdeps/unix/sysv/linux/dl-sysdep.c
16561 (_dl_discover_osversion): Likewise.
16562
4e9b5995
CD
165632013-03-01 Carlos O'Donell <carlos@redhat.com>
16564
16565 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16566 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16567
e23872c8
SP
165682013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16569
e5c74c63
SP
16570 * NEWS: Mention libm performance improvements and non-x86 PI
16571 futex support.
16572
e23872c8
SP
16573 * csu/libc-start.c (__pthread_initialize_minimal): Change
16574 function arguments.
16575 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16576
b5510883
JM
165772013-02-28 Joseph Myers <joseph@codesourcery.com>
16578
16579 [BZ #13550]
16580 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16581 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16582 <bp-sym.h> and <bp-asm.h>.
16583 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16584 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16585 and <bp-asm.h>.
16586 (memcpy): Don't use BP_SYM.
16587 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16588 <bp-asm.h>.
16589 (__mpn_add_n): Don't use BP_SYM.
16590 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16591 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16592 and <bp-asm.h>.
16593 (__mpn_addmul_1): Don't use BP_SYM.
16594 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16595 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16596 <bp-sym.h>.
16597 (_setjmp): Don't use BP_SYM.
16598 (__novmx_setjmp): Likewise.
16599 (__GI__setjmp): Likewise.
16600 (__vmx_setjmp): Likewise.
16601 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16602 <bp-sym.h>.
16603 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16604 (__bzero): Don't use BP_SYM.
16605 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16606 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16607 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16608 <bp-sym.h> and <bp-asm.h>.
16609 (memcpy): Don't use BP_SYM.
16610 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16611 <bp-sym.h> and <bp-asm.h>.
16612 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16613 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16614 <bp-sym.h> and <bp-asm.h>.
16615 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16616 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16617 <bp-asm.h>.
16618 (__mpn_lshift): Don't use BP_SYM.
16619 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16620 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16621 <bp-asm.h>.
16622 (memset): Don't use BP_SYM.
16623 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16624 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16625 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16626 <bp-asm.h>.
16627 (__mpn_mul_1): Don't use BP_SYM.
16628 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16630 <bp-sym.h> and <bp-asm.h>.
16631 (memcmp): Don't use BP_SYM.
16632 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16633 <bp-sym.h> and <bp-asm.h>.
16634 (memcpy): Don't use BP_SYM.
16635 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16636 <bp-sym.h> and <bp-asm.h>.
16637 (memset): Don't use BP_SYM.
16638 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16639 <bp-sym.h> and <bp-asm.h>.
16640 (strncmp): Don't use BP_SYM.
16641 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16642 <bp-sym.h> and <bp-asm.h>.
16643 (memcpy): Don't use BP_SYM.
16644 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16645 <bp-sym.h> and <bp-asm.h>.
16646 (memset): Don't use BP_SYM.
16647 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16648 <bp-sym.h> and <bp-asm.h>.
16649 (__memchr): Don't use BP_SYM.
16650 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16651 <bp-sym.h> and <bp-asm.h>.
16652 (memcmp): Don't use BP_SYM.
16653 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16654 <bp-sym.h> and <bp-asm.h>.
16655 (memcpy): Don't use BP_SYM.
16656 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16657 <bp-sym.h> and <bp-asm.h>.
16658 (__mempcpy): Don't use BP_SYM.
16659 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16660 <bp-sym.h> and <bp-asm.h>.
16661 (__memrchr): Don't use BP_SYM.
16662 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16663 <bp-sym.h> and <bp-asm.h>.
16664 (memset): Don't use BP_SYM.
16665 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16666 <bp-sym.h> and <bp-asm.h>.
16667 (__rawmemchr): Don't use BP_SYM.
16668 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16669 <bp-sym.h> and <bp-asm.h>.
16670 (__STRCMP): Don't use BP_SYM.
16671 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16672 <bp-sym.h> and <bp-asm.h>.
16673 (strchr): Don't use BP_SYM.
16674 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16675 <bp-sym.h> and <bp-asm.h>.
16676 (__strchrnul): Don't use BP_SYM.
16677 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16678 <bp-sym.h> and <bp-asm.h>.
16679 (strlen): Don't use BP_SYM.
16680 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16681 <bp-sym.h> and <bp-asm.h>.
16682 (strncmp): Don't use BP_SYM.
16683 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16684 <bp-sym.h> and <bp-asm.h>.
16685 (__strnlen): Don't use BP_SYM.
16686 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16687 <bp-asm.h>.
16688 (__mpn_rshift): Don't use BP_SYM.
16689 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16690 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16691 <bp-sym.h> and <bp-asm.h>.
16692 (__sigsetjmp): Don't use BP_SYM.
16693 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16694 (L(start_addresses)): Don't use BP_SYM.
16695 (_start): Likewise.
16696 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16697 <bp-asm.h>.
16698 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16699 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16700 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16701 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16702 <bp-asm.h>.
16703 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16704 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16705 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16706 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16707 <bp-asm.h>.
16708 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16709 comments.
16710 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16711 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16712 <bp-asm.h>.
16713 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16714 FIXME comments.
16715 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16716 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16717 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16718 <bp-asm.h>.
16719 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16720 comment.
16721 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16722 and <bp-asm.h>.
16723 (strncmp): Don't use BP_SYM,
16724 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16725 <bp-asm.h>.
16726 (__mpn_sub_n): Don't use BP_SYM.
16727 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16728 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16729 and <bp-asm.h>.
16730 (__mpn_submul_1): Don't use BP_SYM.
16731 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16733 <bp-sym.h> and <bp-asm.h>.
16734 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16736 <bp-sym.h> and <bp-asm.h>.
16737 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16738 comment.
16739
8d19fe64
SP
167402013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16741
16742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16743 Use ZK to minimize writes to Z.
16744 (sub_magnitudes): Simplify code a bit.
16745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16746 Use ZK to minimize writes to Z.
16747 (sub_magnitudes): Simplify code a bit.
16748
85bd816a
RM
167492013-02-27 Roland McGrath <roland@hack.frob.com>
16750
16751 * csu/gmon-start.c: Add special exception to license text.
16752
b5977bf2
RH
167532013-02-27 Richard Henderson <rth@redhat.com>
16754
16755 * scripts/config.guess: Update from config.git.
16756 * scripts/config.sub: Likewise.
16757
11d6e2f2
SP
167582013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16759
09c14ed2
SP
16760 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16761
a688864e
SP
16762 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16763
6295157a
SP
16764 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16765
b8de2202
SP
16766 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16767
11d6e2f2
SP
16768 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16769
7e80ddb8
RM
167702013-02-26 Roland McGrath <roland@hack.frob.com>
16771
16772 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16773 [$(build-shared = yes].
7e80ddb8 16774
7da6d9ed
SP
167752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16776
45f05884
SP
16777 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16778 (__mul): Reduce iterations for calculating mantissa.
16779
2236d359
SP
16780 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16781 MPTWO.
16782 (__mpranred): Likewise.
16783
7da6d9ed
SP
16784 [BZ #15160]
16785 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16786 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16787
b7688c42
PE
167882013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16789
16790 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16791 Define __attribute__.
16792
53a5c423
SP
167932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16794
16795 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16796 unused.
16797 * posix/regex_internal.h (__attribute): Remove.
16798 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16799 (re_string_context_at): Likewise.
16800 (bitset_not): Use __attribute__ and mark function as possibly
16801 unused.
16802 (bitset_merge): Likewise.
16803 (bitset_mask): Likewise.
16804 (re_string_char_size_at): Likewise.
16805 (re_string_wchar_at): Likewise.
16806 (re_string_elem_size_at): Likewise.
16807
60f5a8b5
SP
168082013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16809
2a983a2e
SP
16810 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16811 code.
16812 (cc32): Likewise.
16813
e69804d1
SP
16814 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16815 (__acr): Likewise.
16816 (__cpy): Likewise.
16817 (norm): Likewise.
16818 (denorm): Likewise.
16819 (__dbl_mp): Likewise.
16820 (add_magnitudes): Likewise.
16821 (sub_magnitudes): Likewise.
16822 (__mul): Likewise.
16823 (__inv): Likewise.
16824
2f22a1e8
SP
16825 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16826 style.
16827
8930ddc7
SP
16828 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16829 style.
16830
dc60cb11
SP
16831 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16832 code.
16833
60f5a8b5
SP
16834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16835 up changes with default code.
16836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16837 Likewise.
16838
b4d1fd33
AM
168392013-02-24 Allan McRae <allan@archlinux.org>
16840
faf6f8bc
AM
16841 * manual/socket.texi (The Internet Namespace): Order menu items
16842 to match that in the file.
16843
b4d1fd33
AM
16844 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16845 node listing of the info page menu.
16846
2366713d
JM
168472013-02-21 Joseph Myers <joseph@codesourcery.com>
16848
16849 [BZ #13550]
16850 * sysdeps/i386/bp-asm.h: Remove file.
16851 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16852 (PARMS): Do not use macros from bp-asm.h.
16853 (S1): Likewise.
16854 (S2): Likewise.
16855 (SIZE): Likewise.
16856 (__mpn_add_n): Do not use BP_SYM
16857 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16858 "bp-asm.h".
16859 (PARMS): Do not use macros from bp-asm.h.
16860 (S1): Likewise.
16861 (SIZE): Likewise.
16862 (__mpn_addmul_1): Do not use BP_SYM
16863 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16864 "bp-asm.h".
16865 (PARMS): Do not use macros from bp-asm.h.
16866 (SIGMSK): Likewise.
16867 (_setjmp): Likewise. Do not use BP_SYM.
16868 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16869 "bp-asm.h".
16870 (PARMS): Do not use macros from bp-asm.h.
16871 (SIGMSK): Likewise.
16872 (setjmp): Likewise. Do not use BP_SYM.
16873 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16874 "bp-asm.h".
16875 (PARMS): Do not use macros from bp-asm.h.
16876 (__frexp): Do not use BP_SYM.
16877 (frexp): Likewise.
16878 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16879 "bp-asm.h".
16880 (PARMS): Do not use macros from bp-asm.h.
16881 (__frexpf): Do not use BP_SYM.
16882 (frexpf): Likewise.
16883 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16884 "bp-asm.h".
16885 (PARMS): Do not use macros from bp-asm.h.
16886 (__frexpl): Do not use BP_SYM.
16887 (frexpl): Likewise.
16888 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16889 "bp-asm.h".
16890 (PARMS): Do not use macros from bp-asm.h.
16891 (__remquo): Do not use BP_SYM.
16892 (remquo): Likewise.
16893 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16894 "bp-asm.h".
16895 (PARMS): Do not use macros from bp-asm.h.
16896 (__remquof): Do not use BP_SYM.
16897 (remquof): Likewise.
16898 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16899 "bp-asm.h".
16900 (PARMS): Do not use macros from bp-asm.h.
16901 (__remquol): Do not use BP_SYM.
16902 (remquol): Likewise.
16903 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16904 "bp-asm.h".
16905 (PARMS): Do not use macros from bp-asm.h.
16906 (DEST): Likewise.
16907 (SRC): Likewise.
16908 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16909 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16910 "bp-asm.h".
16911 (PARMS): Do not use macros from bp-asm.h.
16912 (strlen): Do not use BP_SYM.
16913 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16914 "bp-asm.h".
16915 (PARMS): Do not use macros from bp-asm.h.
16916 (S1): Likewise.
16917 (S2): Likewise.
16918 (SIZE): Likewise.
16919 (__mpn_add_n): Do not use BP_SYM.
16920 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16921 "bp-asm.h".
16922 (PARMS): Do not use macros from bp-asm.h.
16923 (S1): Likewise.
16924 (SIZE): Likewise.
16925 (__mpn_addmul_1): Do not use BP_SYM.
16926 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16927 weak_alias.
16928 (bzero): Likewise.
16929 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16930 "bp-asm.h".
16931 (PARMS): Do not use macros from bp-asm.h.
16932 (S): Likewise.
16933 (SIZE): Likewise.
16934 (__mpn_lshift): Do not use BP_SYM.
16935 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16936 "bp-asm.h".
16937 (PARMS): Do not use macros from bp-asm.h.
16938 (DEST): Likewise.
16939 (SRC): Likewise.
16940 (LEN): Likewise.
16941 (memcpy): Likewise. Do not use BP_SYM.
16942 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16943 libc_hidden_def and weak_alias.
16944 (mempcpy): Do not use BP_SYM in weak_alias.
16945 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16946 "bp-asm.h".
16947 (PARMS): Do not use macros from bp-asm.h.
16948 (DEST): Likewise.
16949 (LEN): Likewise.
16950 [!BZERO_P] (CHR): Likewise.
16951 (memset): Likewise. Do not use BP_SYM.
16952 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16953 "bp-asm.h".
16954 (PARMS): Do not use macros from bp-asm.h.
16955 (S1): Likewise.
16956 (SIZE): Likewise.
16957 (__mpn_mul_1): Do not use BP_SYM.
16958 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16959 "bp-asm.h".
16960 (PARMS): Do not use macros from bp-asm.h.
16961 (S): Likewise.
16962 (SIZE): Likewise.
16963 (__mpn_rshift): Do not use BP_SYM.
16964 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16965 "bp-asm.h".
16966 (PARMS): Do not use macros from bp-asm.h.
16967 (STR): Likewise.
16968 (CHR): Likewise.
16969 (strchr): Likewise. Do not use BP_SYM.
16970 (index): Do not use BP_SYM in weak_alias.
16971 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16972 "bp-asm.h".
16973 (PARMS): Do not use macros from bp-asm.h.
16974 (DEST): Likewise.
16975 (SRC): Likewise.
16976 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16977 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16978 "bp-asm.h".
16979 (PARMS): Do not use macros from bp-asm.h.
16980 (strlen): Do not use BP_SYM.
16981 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16982 "bp-asm.h".
16983 (PARMS): Do not use macros from bp-asm.h.
16984 (S1): Likewise.
16985 (S2): Likewise.
16986 (SIZE): Likewise.
16987 (__mpn_sub_n): Do not use BP_SYM.
16988 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16989 "bp-asm.h".
16990 (PARMS): Do not use macros from bp-asm.h.
16991 (S1): Likewise.
16992 (SIZE): Likewise.
16993 (__mpn_submul_1): Do not use BP_SYM.
16994 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16995 "bp-asm.h".
16996 (PARMS): Do not use macros from bp-asm.h.
16997 (S1): Likewise.
16998 (S2): Likewise.
16999 (SIZE): Likewise.
17000 (__mpn_add_n): Do not use BP_SYM.
17001 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17002 weak_alias.
17003 (bzero): Likewise.
17004 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17005 "bp-asm.h".
17006 (PARMS): Do not use macros from bp-asm.h.
17007 (BLK2): Likewise.
17008 (LEN): Likewise.
17009 (memcmp): Do not use BP_SYM.
17010 (bcmp): Do not use BP_SYM in weak_alias.
17011 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17012 "bp-asm.h".
17013 (PARMS): Do not use macros from bp-asm.h.
17014 (DEST): Likewise.
17015 (SRC): Likewise.
17016 (LEN): Likewise.
17017 (memcpy): Likewise. Do not use BP_SYM.
17018 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17019 "bp-asm.h".
17020 (PARMS): Do not use macros from bp-asm.h.
17021 (DEST): Likewise.
17022 (SRC): Likewise.
17023 (LEN): Likewise.
17024 (memmove): Likewise. Do not use BP_SYM.
17025 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17026 "bp-asm.h".
17027 (PARMS): Do not use macros from bp-asm.h.
17028 (DEST): Likewise.
17029 (SRC): Likewise.
17030 (LEN): Likewise.
17031 (__mempcpy): Likewise. Do not use BP_SYM.
17032 (mempcpy): Do not use BP_SYM in weak_alias.
17033 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17034 "bp-asm.h".
17035 (PARMS): Do not use macros from bp-asm.h.
17036 (DEST): Likewise.
17037 (LEN): Likewise.
17038 [!BZERO_P] (CHR): Likewise.
17039 (memset): Likewise. Do not use BP_SYM.
17040 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17041 "bp-asm.h".
17042 (PARMS): Do not use macros from bp-asm.h.
17043 (STR2): Likewise.
17044 (strcmp): Do not use BP_SYM.
17045 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17046 "bp-asm.h".
17047 (PARMS): Do not use macros from bp-asm.h.
17048 (STR): Likewise.
17049 (DELIM): Likewise.
17050 [USE_AS_STRTOK_R] (SAVE): Likewise.
17051 (FUNCTION): Likewise. Do not use BP_SYM.
17052 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17053 aliases.
17054 (strtok_r): Likewise.
17055 (__GI___strtok_r): Likewise.
17056 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17057 (PARMS): Do not use macros from bp-asm.h.
17058 (S): Likewise.
17059 (SIZE): Likewise.
17060 (__mpn_lshift): Do not use BP_SYM.
17061 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17062 (PARMS): Do not use macros from bp-asm.h.
17063 (STR): Likewise.
17064 (CHR): Likewise.
17065 (__memchr): Do not use BP_SYM.
17066 (memchr): Do not use BP_SYM in weak_alias.
17067 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17068 (PARMS): Do not use macros from bp-asm.h.
17069 (BLK2): Likewise.
17070 (LEN): Likewise.
17071 (memcmp): Do not use BP_SYM.
17072 (bcmp): Do not use BP_SYM in weak_alias.
17073 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17074 (PARMS): Do not use macros from bp-asm.h.
17075 (S1): Likewise.
17076 (SIZE): Likewise.
17077 (__mpn_mul_1): Do not use BP_SYM.
17078 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17079 "bp-asm.h".
17080 (PARMS): Do not use macros from bp-asm.h.
17081 (STR): Likewise.
17082 (CHR): Likewise.
17083 (__rawmemchr): Do not use BP_SYM.
17084 (rawmemchr): Do not use BP_SYM in weak_alias.
17085 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17086 (PARMS): Do not use macros from bp-asm.h.
17087 (S): Likewise.
17088 (SIZE): Likewise.
17089 (__mpn_rshift): Do not use BP_SYM.
17090 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17091 (PARMS): Do not use macros from bp-asm.h.
17092 (SIGMSK): Likewise.
17093 (__sigsetjmp): Likewise. Do not use BP_SYM.
17094 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17095 (_start): Do not use BP_SYM.
17096 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17097 (PARMS): Do not use macros from bp-asm.h.
17098 (DEST): Likewise.
17099 (SRC): Likewise.
17100 (__stpcpy): Likewise. Do not use BP_SYM.
17101 (stpcpy): Do not use BP_SYM in weak_alias.
17102 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17103 "bp-asm.h".
17104 (PARMS): Do not use macros from bp-asm.h.
17105 (DEST): Likewise.
17106 (SRC): Likewise.
17107 (LEN): Likewise.
17108 (__stpncpy): Likewise. Do not use BP_SYM.
17109 (stpncpy): Do not use BP_SYM in weak_alias.
17110 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17111 (PARMS): Do not use macros from bp-asm.h.
17112 (STR): Likewise.
17113 (CHR): Likewise.
17114 (strchr): Likewise. Do not use BP_SYM.
17115 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17116 "bp-asm.h".
17117 (PARMS): Do not use macros from bp-asm.h.
17118 (STR): Likewise.
17119 (CHR): Likewise.
17120 (__strchrnul): Likewise. Do not use BP_SYM.
17121 (strchrnul): Do not use BP_SYM in weak_alias.
17122 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17123 "bp-asm.h".
17124 (PARMS): Do not use macros from bp-asm.h.
17125 (STOP): Likewise.
17126 (strcspn): Do not use BP_SYM.
17127 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17128 "bp-asm.h".
17129 (PARMS): Do not use macros from bp-asm.h.
17130 (STR): Likewise.
17131 (STOP): Likewise.
17132 (strpbrk): Likewise. Do not use BP_SYM.
17133 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17134 "bp-asm.h".
17135 (PARMS): Do not use macros from bp-asm.h.
17136 (STR): Likewise.
17137 (CHR): Likewise.
17138 (strrchr): Likewise. Do not use BP_SYM.
17139 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17140 (PARMS): Do not use macros from bp-asm.h.
17141 (SKIP): Likewise.
17142 (strspn): Do not use BP_SYM.
17143 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17144 (PARMS): Do not use macros from bp-asm.h.
17145 (STR): Likewise.
17146 (DELIM): Likewise.
17147 (SAVE): Likewise.
17148 (FUNCTION): Likewise. Do not use BP_SYM.
17149 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17150 aliases.
17151 (strtok_r): Likewise.
17152 (__GI___strtok_r): Likewise.
17153 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17154 (PARMS): Do not use macros from bp-asm.h.
17155 (S1): Likewise.
17156 (S2): Likewise.
17157 (SIZE): Likewise.
17158 (__mpn_sub_n): Do not use BP_SYM.
17159 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17160 "bp-asm.h".
17161 (PARMS): Do not use macros from bp-asm.h.
17162 (S1): Likewise.
17163 (SIZE): Likewise.
17164 (__mpn_submul_1): Do not use BP_SYM.
17165 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17166 <bp-sym.h>.
17167 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17168 and <bp-asm.h>.
17169 (PARMS): Do not use macros from bp-asm.h.
17170 (FLAGS): Likewise.
17171 (PTID): Likewise.
17172 (TLS): Likewise.
17173 (CTID): Likewise.
17174 (__clone): Do not use BP_SYM.
17175 (clone): Do not use BP_SYM in weak_alias.
17176 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17177 and <bp-asm.h>.
17178 (PARMS): Do not use macros from bp-asm.h.
17179 (LEN): Likewise.
17180 (__mmap64): Do not use BP_SYM.
17181 (mmap64): Do not use BP_SYM in weak_alias.
17182 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17183 <bp-sym.h> and <bp-asm.h>.
17184 (PARMS): Do not use macros from bp-asm.h.
17185 (__posix_fadvise64_l64): Do not use BP_SYM.
17186 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17187 (PARMS): Do not use macros from bp-asm.h.
17188 (NSOPS): Likewise.
17189 (semtimedop): Do not use BP_SYM.
17190 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17191 and <bp-asm.h>.
17192
582a3cff
AM
171932013-02-21 Allan McRae <allan@archlinux.org>
17194
17195 * manual/message.texi (Charset conversion in gettext):
17196 Move @end statement to beginning of line.
17197
bab8a695
SP
171982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17199
80945231
SP
17200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17201 static.
17202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17203 Likewise.
17204
bab8a695
SP
17205 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17206 (denorm): Likewise.
17207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17209
e21d7aa7
AK
172102013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17211
17212 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17213 tail-call to the resolved function if pltexit isn't needed.
17214
4c7a4263
SP
172152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17216
17217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17218 or Y being zero as being unlikely.
17219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17220 Likewise.
17221
41f49342
CD
172222013-02-20 Carlos O'Donell <carlos@redhat.com>
17223
17224 * manual/nss.texi (System Databases and Name Service Switch):
17225 Remove frobnicate @pxref.
17226
50022a93
TS
172272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17228
17229 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17230 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17231
08cbd996
PM
172322013-02-20 Petr Machata <pmachata@redhat.com>
17233
17234 * elf/elf.h (R_ARM_TARGET1): New macro.
17235 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17236 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17237 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17238 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17239 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17240 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17241 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17242 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17243 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17244 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17245 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17246 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17247 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17248 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17249 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17250 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17251 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17252 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17253 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17254 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17255 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17256 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17257 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17258 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17259 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17260 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17261 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17262 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17263 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17264 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17265 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17266 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17267 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17268 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17269 (R_ARM_THM_GOT_BREL12): Likewise.
17270 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17271 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17272 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17273 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17274 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17275 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17276 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17277 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17278 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17279
c7b275d6
TS
172802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17281
17282 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17283 __attribute_used__ to __attribute__ ((unused)).
17284
20cd7fb3
SP
172852013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17286
17287 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17288 powerpc mpa.c.
17289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17290 comment formatting.
17291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17292
92945b52
JM
172932013-02-19 Joseph Myers <joseph@codesourcery.com>
17294
17295 [BZ #13550]
17296 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17297 Remove macro.
17298 (ENTER): Remove both macro definitions.
17299 (LEAVE): Likewise.
17300 (CHECK_BOUNDS_LOW): Likewise.
17301 (CHECK_BOUNDS_HIGH): Likewise.
17302 (CHECK_BOUNDS_BOTH): Likewise.
17303 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17304 (RETURN_BOUNDED_POINTER): Likewise.
17305 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17306 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17307 (POP_ERRNO_LOCATION_RETURN): Likewise.
17308 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17309 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17310 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17311 macros.
17312 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17313 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17314 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17315 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17316 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17317 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17318 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17319 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17320 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17321 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17322 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17323 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17324 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17325 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17326 removed macros.
17327 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17328 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17329 macros.
17330 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17331 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17332 * sysdeps/i386/i586/memset.S (memset): Likewise.
17333 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17334 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17335 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17336 macros.
17337 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17338 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17339 Change uses of L(2) to L(out).
17340 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17341 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17342 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17343 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17344 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17345 removed macros.
17346 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17347 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17348 macros.
17349 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17350 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17351 (RETURN): Do not use macro LEAVE.
17352 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17353 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17354 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17355 * sysdeps/i386/i686/memset.S (memset): Likewise.
17356 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17357 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17358 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17359 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17360 Likewise.
17361 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17362 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17363 L(1_2) and L(1_3) into L(1).
17364 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17365 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17366 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17367 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17368 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17369 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17370 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17371 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17372 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17373 macros.
17374 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17375 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17376 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17377 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17378 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17379 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17380 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17381 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17382 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17383 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17384 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17385 * sysdeps/i386/strspn.S (strspn): Likewise.
17386 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17387 conditional code.
17388 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17389 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17390 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17391 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17392 L(1_3) into L(1_1).
17393 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17394 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17395 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17396 macros.
17397 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17398
2389741a
JJ
173992013-02-19 Jakub Jelinek <jakub@redhat.com>
17400
17401 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17402 macro.
17403
2016b3cd
SP
174042013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17405
e4f22324
SP
17406 * math/atest-exp.c (exp_mpn): Remove ROUND.
17407 * math/atest-exp2.c (exp_mpn): Likewise.
17408 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17409
2016b3cd
SP
17410 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17411 * stdlib/tst-tls-atexit-lib.c: Likewise.
17412 * stdlib/tst-tls-atexit.c: Likewise.
17413
4be9b544
MF
174142013-02-18 Mike Frysinger <vapier@gentoo.org>
17415
17416 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17417 and __attribute_alloc_size__.
17418
2f62b9ee
MF
174192013-02-18 Mike Frysinger <vapier@gentoo.org>
17420
17421 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17422 __attribute_alloc_size__.
17423 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17424 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17425
6ff444c4
MF
174262013-02-18 Mike Frysinger <vapier@gentoo.org>
17427
17428 * include/programs/xmalloc.h: New file.
17429 * catgets/gencat.c: Include it.
17430 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17431 * elf/pldd.c: Likewise.
17432 * iconv/iconv_charmap.c: Likewise.
17433 * iconv/iconvconfig.c: Likewise.
17434 * iconv/strtab.c: Likewise.
17435 * locale/programs/locale.c: Likewise.
17436 * locale/programs/localedef.h: Likewise.
17437 * locale/programs/simple-hash.c: Likewise.
17438 * nscd/nscd.h: Likewise.
17439 * nss/makedb.c: Likewise.
17440 * sysdeps/generic/ldconfig.h: Likewise.
17441
be179c8a
SP
174422013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17443
ba384f6e
SP
17444 * Versions.def: Add GLIBC_2.18.
17445 * include/link.h (struct link_map): New member l_tls_dtor_count.
17446 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17447 (__call_tls_dtors): Likewise.
17448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17449 __cxa_thread_atexit_impl.
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17451 Likewise.
17452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17453 Likewise.
17454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17455 Likewise.
17456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17457 Likewise.
17458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17460 Likewise.
17461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17462 Likewise.
17463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17465 Likewise.
17466 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17467 (tests): Add test case tst-tls-atexit.
17468 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17469 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17470 (GLIBC_PRIVATE): Add __call_tls_dtors.
17471 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17472 for libstdc++.
17473 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17474 * stdlib/tst-tls-atexit.c: New test case.
17475 * stdlib/tst-tls-atexit-lib.c: New test case.
17476
ffaa74cf 17477 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17478
be179c8a
SP
17479 * elf/Versions (ld): Add _dl_find_dso_for_object.
17480 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17481 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17482 (dl_open_worker): Use _dl_find_dso_for_object.
17483 * elf/dl-sym.c (do_sym): Likewise.
17484 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17485
f78b5caa
AK
174862013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17487
17488 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17489 Syntactic changes only.
17490 (_dl_runtime_profile): Do a tail-call to the resolved function.
17491
29691210
JM
174922013-02-17 Joseph Myers <joseph@codesourcery.com>
17493
17494 [BZ #13550]
17495 * sysdeps/x86_64/bp-asm.h: Remove file.
17496 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17497 <bp-sym.h> and <bp-asm.h>.
17498 (__clone): Do not use BP_SYM.
17499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17500 <bp-sym.h> and <bp-asm.h>.
17501 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17502 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17503 "bp-asm.h".
17504 (_setjmp): Do not use BP_SYM.
17505 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17506 "bp-asm.h".
17507 (setjmp): Do not use BP_SYM.
17508 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17509 libc_hidden_def.
17510 (mempcpy): Do not use BP_SYM in weak_alias.
17511 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17512 "bp-asm.h".
17513 (strchr): Do not use BP_SYM.
17514 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17515 "bp-asm.h".
17516 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17517 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17518 (_start): Do not use BP_SYM.
17519 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17520 "bp-asm.h".
17521 (strcat): Do not use BP_SYM.
17522 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17523 "bp-asm.h".
17524 (STRCMP): Do not use BP_SYM.
17525 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17526 "bp-asm.h".
17527 (STRCPY): Do not use BP_SYM.
17528 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17529 "bp-asm.h".
17530 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17531 "bp-asm.h".
17532 (FUNCTION): Do not use BP_SYM.
17533 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17534 weak_alias.
17535 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17536
f238fd19
AJ
175372013-02-17 Andreas Jaeger <aj@suse.de>
17538
17539 * time/Versions: Sort entries.
17540 * string/Versions: Likewise.
17541 * resolv/Versions: Likewise.
17542 * posix/Versions: Likewise.
17543 * iconv/Versions: Likewise.
17544 * elf/Versions: Likewise.
17545 * wcsmbs/Versions: Likewise.
17546
bd07f23c 175472013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17548
22af19f9
SP
17549 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17550 loop termination condition.
17551
4709fe76
SP
17552 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17553 variable to calculate EZ.
17554 (__sqr): Likewise.
2d0e0f29
SP
17555
17556 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17557 the lower precision input.
17558
daaa7713
JM
175592013-02-15 Joseph Myers <joseph@codesourcery.com>
17560
17561 [BZ #13550]
17562 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17563 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17564 (run-via-rtld-prefix): Do not handle %-bp tests.
17565 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17566 (all-object-suffixes): Remove .ob.
17567 (bppfx): Remove variable.
17568 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17569 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17570 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17571 [$(build-bounded) = yes] (libtype.ob): Likewise.
17572 * Makerules (elide-routines.ob): Remove variable.
17573 (do-tests-clean): Do not handle *-bp.out.
17574 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17575 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17576 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17577 (tests): Do not include $(tests-bp.out).
17578 (xtests): Do not include $(xtests-bp.out).
17579 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17580 [$(build-bounded) = yes] ($(addprefix
17581 $(objpfx),$(binaries-bounded))): Remove rule.
17582 ($(objpfx)%-bp.out): Remove rule.
17583 * config.make.in (build-bounded): Remove variable.
17584 * crypt/Makefile [$(build-bounded) = yes]
17585 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17586 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17587 append to variable.
17588 [$(build-bounded) = yes] (install-lib): Likewise.
17589 [$(build-bounded) = yes] (generated): Likewise.
17590 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17591 Remove rule.
17592 * intl/Makefile [$(build-bounded) = yes]
17593 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17594 * math/Makefile [$(build-bounded) = yes]
17595 ($(tests:%=$(objpfx)%-bp): Likewise.
17596 * misc/Makefile [$(build-bounded) = yes]
17597 ($(objpfx)tst-tsearch-bp): Likewise.
17598 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17599 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17600 Remove dependency.
17601 * string/Makefile (o-objects.ob): Remove variable.
17602 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17603 (CFLAGS-.ob): Remove variable.
17604 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17605 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17606 both definitions of variable.
17607 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17608 (ASFLAGS-.ob): Remove variable.
17609
e97ed6dd
JM
176102013-02-14 Joseph Myers <joseph@codesourcery.com>
17611
2bdd4ca6
JM
17612 [BZ #13550]
17613 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17614 Remove __BOUNDED_POINTERS__ from condition.
17615 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17616 * string/bits/string2.h [!__NO_STRING_INLINES &&
17617 !__BOUNDED_POINTERS__]: Likewise.
17618 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17619 Likewise.
17620 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17621 Remove conditional code.
17622 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17623 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17624 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17625 condition.
17626
e97ed6dd
JM
17627 [BZ #13550]
17628 * csu/libc-start.c: Do not include <bp-sym.h>.
17629 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17630 * elf/dl-open.c: Do not include <bp-sym.h>.
17631 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17632 * math/fegetenv.c: Do not include <bp-sym.h>.
17633 (fegetenv): Do not use BP_SYM in versioned symbols.
17634 * nptl/sysdeps/pthread/bits/libc-lockP.h
17635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17636 <bp-sym.h>.
17637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17638 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17640 (__pthread_mutex_destroy): Likewise.
17641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17642 (__pthread_mutex_lock): Likewise.
17643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17644 (__pthread_mutex_trylock): Likewise.
17645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17646 (__pthread_mutex_unlock): Likewise.
17647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17648 (__pthread_mutexattr_init): Likewise.
17649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17650 (__pthread_mutexattr_destroy): Likewise.
17651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17652 (__pthread_mutexattr_settype): Likewise.
17653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17654 (__pthread_rwlock_init): Likewise.
17655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17656 (__pthread_rwlock_destroy): Likewise.
17657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17658 (__pthread_rwlock_rdlock): Likewise.
17659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17660 (__pthread_rwlock_tryrdlock): Likewise.
17661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17662 (__pthread_rwlock_wrlock): Likewise.
17663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17664 (__pthread_rwlock_trywrlock): Likewise.
17665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17666 (__pthread_rwlock_unlock): Likewise.
17667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17668 (__pthread_key_create): Likewise.
17669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17670 (__pthread_setspecific): Likewise.
17671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17672 (__pthread_getspecific): Likewise.
17673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17674 Likewise.
17675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17676 (_pthread_cleanup_push_defer): Likewise.
17677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17678 (_pthread_cleanup_pop_restore): Likewise.
17679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17680 (pthread_setcancelstate): Likewise.
17681 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17682 <bp-sym.h>.
17683 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17684 (memchr): Do not use BP_SYM in weak_alias.
17685 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17686 (fegetenv): Do not use BP_SYM in versioned symbols.
17687 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17688 (fesetenv): Do not use BP_SYM in versioned symbols.
17689 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17690 (feupdateenv): Do not use BP_SYM in versioned symbols.
17691 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17692 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17693 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17694 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17695 (open64): Do not use BP_SYM in weak_alias.
17696 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17697 (fegetenv): Do not use BP_SYM in versioned symbols.
17698 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17699 (fesetenv): Do not use BP_SYM in versioned symbols.
17700 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17701 (feupdateenv): Do not use BP_SYM in versioned symbols.
17702 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17703 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17704 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17705 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17706 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17707 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17708 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17709 <bp-sym.h>.
17710 (__libc_start_main): Do not use BP_SYM.
17711
d6752ccd
SP
177122013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17713
cb57ce60
SP
17714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17715 redundant return line.
17716 (norm): Likewise.
17717 (denorm): Likewise.
17718 (dbl_mp): Likewise.
17719 (sub_magnitudes): Likewise.
17720 (__add): Likewise.
17721 (__sub): Likewise.
17722 (__mul): Likewise.
17723 (__inv): Likewise.
17724 (__dvd): Likewise.
17725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17726 (norm): Likewise.
17727 (denorm): Likewise.
17728 (dbl_mp): Likewise.
17729 (sub_magnitudes): Likewise.
17730 (__add): Likewise.
17731 (__sub): Likewise.
17732 (__mul): Likewise.
17733 (__inv): Likewise.
17734 (__dvd): Likewise.
17735
f414520d
SP
17736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17737 instead of __mul.
17738 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17739 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17740 (cc32): Likewise.
17741
d6752ccd
SP
17742 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17743 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17745 of __mul for squares.
17746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17747 function
17748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17749 Likewise.
17750 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17751 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17752
70d9946a
JM
177532013-02-13 Joseph Myers <joseph@codesourcery.com>
17754
17755 [BZ #13550]
17756 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17757 code.
17758 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17759 prototype or function definition. Rename ubp_* variables and
17760 parameters. Remove argv definitions conditional on
17761 [__BOUNDED_POINTERS__].
17762 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17763 * elf/dl-runtime.c (_dl_fixup): Likewise.
17764 * include/set-hooks.h (RUN_HOOK): Likewise.
17765 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17766 definition.
17767 * string/strcpy.c (strcpy): Do not use __unbounded.
17768 * sysdeps/generic/frame.h (struct layout): Likewise.
17769 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17770 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17771 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17772 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17773 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17774 (__backtrace): Likewise.
17775 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17776 use __ptrvalue.
17777 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17778 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17779 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17780 Likewise.
17781 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17782 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17783 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17784 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17785 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17786 Do not use __unbounded.
17787 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17788 Rename __unboundedrlimits parameter to rlimits in prototype.
17789 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17790 Do not use __unbounded.
17791 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17792 not use __ptrvalue.
17793 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17794 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17795 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17796 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17797 __ptrvalue or __unbounded.
17798 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17799 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17800 use __unbounded.
17801 (__new_msgctl): Do not use __ptrvalue.
17802 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17803 __unbounded.
17804 (__libc_msgrcv): Do not use __ptrvalue.
17805 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17806 startup_info): Do not use __unbounded.
17807 (__libc_start_main): Likewise. Rename ubp_* variables and
17808 parameters. Remove argv definitions conditional on
17809 [__BOUNDED_POINTERS__].
17810 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17811 __ptrvalue.
17812 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17813 use __unbounded.
17814 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17815 or __ptrvalue.
17816 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17817 use __unbounded.
17818 (__new_shmctl): Do not use __ptrvalue.
17819 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17820 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17821 Likewise.
17822 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17823 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17824 (__libc_sigaction): Likewise.
17825 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17827 Likewise.
17828 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17829
cc7834d6
OB
178302013-02-13 Ondřej Bílka <neleai@seznam.cz>
17831
ffb1ec7b 17832 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17833
17834 * string/mempcpy.c: Implement by calling memcpy.
17835
bdf02814
SP
178362013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17837
c2af38aa
SP
17838 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17839
4e92d59e
SP
17840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17841 evaluation.
17842
909279a5
SP
17843 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17844 values in the mantissa.
17845
bdf02814
SP
17846 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17847 minimize writes to Z.
17848 (sub_magnitudes): Simplify code a bit.
17849
cd525923
RM
178502013-02-12 Roland McGrath <roland@hack.frob.com>
17851
17852 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17853 from the message. The linker prefixes all warnings with that already.
17854
7e2f0d2d
AS
178552013-02-12 Andreas Schwab <schwab@suse.de>
17856
a445af0b
AS
17857 [BZ #15078]
17858 * posix/regexec.c (extend_buffers): Add parameter min_len.
17859 (check_matching): Pass minimum needed length.
17860 (clean_state_log_if_needed): Likewise.
17861 (get_subexp): Likewise.
17862 * posix/Makefile (tests): Add bug-regex34.
17863 (bug-regex34-ENV): Define.
17864 * posix/bug-regex34.c: New file.
17865
7e2f0d2d
AS
17866 [BZ #11561]
17867 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17868 elements compare against the byte sequence of it, not its name.
17869 * posix/Makefile (tests): Add bug-regex35.
17870 (bug-regex35-ENV): Define.
17871 * posix/bug-regex35.c: New file.
17872
a175b684
TV
178732013-02-11 Tom de Vries <tom@codesourcery.com>
17874
17875 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17876 comment.
17877 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17878 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17879 (CHECK_EOL): Add undef.
17880
310998fe 178812013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17882
17883 * bits/stdlib-bsearch.h: New file.
17884 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17885 * stdlib/stdlib.h: Likewise.
41eda41d 17886
8ded91fb
RM
178872013-02-11 Roland McGrath <roland@hack.frob.com>
17888
17889 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17890 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17891 declaration.
17892 * manual/search.texi (Array Search Function): Add missing const in
17893 lfind prototype.
17894 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17895 declaration to use rlim_t.
17896 (Basic Scheduling Functions): Remove erroneous const from
17897 sched_getparam prototype. Remove erroneous * from
17898 sched_get_priority_max and sched_get_priority_min prototypes.
17899 (Resource Usage): Fix summary @comment on vtimes to refer to
17900 sys/vtimes.h rather than vtimes.h.
17901 Add missing *s in vtimes prototype.
17902 (Limits on Resources): Fix ulimit prototype to return long int.
17903 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17904 prototypes to use long int rather than double.
17905 (BSD Random): Fix initstate and setstate to use char *, not void *.
17906 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17907 prototype to make second argument 'struct aiocb64 *const[]'.
17908 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17909 (Status of AIO Operations): Remove erroneous const in aio_return and
17910 aio_return64 prototypes.
17911 (Synchronizing I/O): Fix sync prototype to return void.
17912 * manual/startup.texi (Suboptions): Remove an erroneous const in
17913 getsubopt prototype.
17914 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17915 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17916 use size_t rather than int.
17917 (Scanning All Users): Likewise for getpwent_r.
17918 (Setting Groups): Add missing const to setgroups prototype.
17919 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17920 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17921 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17922 'const void *' rather than 'const char *'.
17923 (Host Address Functions): Likewise for inet_ntop.
17924 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17925 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17926 ssize_t for return value.
17927 (Sending Data): Likewise for send, sendto, sendmsg.
17928 (Socket Option Functions): Add a missing const in setsockopt prototype.
17929 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17930 use wchar_t for the argument.
17931 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17932 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17933 take no arguments.
17934 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17935 double/float/long double for second argument.
17936 Fix return types of significand, significandf, significandl.
17937 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17938 argument in fchmod prototype.
17939 (File Owner): Use uid_t and gid_t in fchown prototype.
17940 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17941 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17942 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17943 use 'const struct dirent **' as argument types to CMP function pointer
17944 argument.
17945 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17946 (File Times): Fix summary magic @comment for struct utimbuf and utime
17947 to refer to utime.h, not time.h.
17948 * manual/string.texi (Argz Functions): Add missing const in
17949 argz_extract and argz_next prototypes.
17950 (Finding Tokens in a String): Likewise for basename.
17951 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17952 (Copying and Concatenation): Fix typo in wmemmove prototype.
17953 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17954 (Signal Stack): Remove erroneous const in sigstack prototype.
17955 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17956 prototype.
17957 (Simple Calendar Time): Likewise for stime.
17958 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17959 prototype.
17960 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17961 say sys/sysctl.h instead.
17962 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17963 and vsyslog prototypes.
17964
fe77fe6d
TV
179652013-02-11 Tom de Vries <tom@codesourcery.com>
17966
17967 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17968 Remove.
17969
3a09b620
RM
179702013-02-11 Roland McGrath <roland@hack.frob.com>
17971
17972 * misc/sys/mman.h: Fix typo in mremap comment.
17973
550a0b89
RM
179742013-02-08 Roland McGrath <roland@hack.frob.com>
17975
17976 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17977 the '\0' terminator.
17978
a2da1673
JM
179792013-02-08 Joseph Myers <joseph@codesourcery.com>
17980
17981 [BZ #13550]
17982 * debug/segfault.c: Don't include <bp-checks.h>.
17983 * sysdeps/generic/bp-checks.h: Remove file.
17984 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17985 (__GETDENTS): Don't use CHECK_N.
17986 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17987 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17988 (__getgroups): Don't use CHECK_N.
17989 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17990 (setgroups): Don't use CHECK_N.
17991 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17992 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17993 (__libc_msgrcv): Don't use CHECK_N.
17994 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17995 (__libc_msgsnd): Don't use CHECK_N.
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17997 <bp-checks.h>.
17998 (__libc_pread): Don't use CHECK_N.
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18000 include <bp-checks.h>.
18001 (__libc_pread64): Don't use CHECK_N.
18002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18003 include <bp-checks.h>.
18004 (__libc_pwrite): Don't use CHECK_N.
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18006 include <bp-checks.h>.
18007 (__libc_pwrite64): Don't use CHECK_N.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18009 <bp-checks.h>.
18010 (__libc_pread): Don't use CHECK_N.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18012 include <bp-checks.h>.
18013 (__libc_pread64): Don't use CHECK_N.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18015 include <bp-checks.h>.
18016 (__libc_pwrite): Don't use CHECK_N.
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18018 include <bp-checks.h>.
18019 (__libc_pwrite64): Don't use CHECK_N.
18020 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18021 (do_pread): Don't use CHECK_N.
18022 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18023 (do_pread64): Don't use CHECK_N.
18024 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18025 (do_pwrite): Don't use CHECK_N.
18026 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18027 (do_pwrite64): Don't use CHECK_N.
18028 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18029 (__libc_readv): Don't use CHECK_N.
18030 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18031 (semop): Don't use CHECK_N.
18032 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18033 <bp-checks.h>.
18034 (semtimedop): Don't use CHECK_N.
18035 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18036 (__libc_pread): Don't use CHECK_N.
18037 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18038 <bp-checks.h>.
18039 (__libc_pread64): Don't use CHECK_N.
18040 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18041 <bp-checks.h>.
18042 (__libc_pwrite): Don't use CHECK_N.
18043 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18044 <bp-checks.h>.
18045 (__libc_pwrite64): Don't use CHECK_N.
18046 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18047 <bp-checks.h>.
18048 (__libc_msgrcv): Don't use CHECK_N.
18049 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18050 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18051 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18052 (__libc_writev): Don't use CHECK_N.
18053
b84660a8
RM
180542013-02-08 Roland McGrath <roland@hack.frob.com>
18055
7f3e75f8
RM
18056 * string/strcpy.c: Removed unused variable.
18057
b84660a8
RM
18058 * Makeconfig (+sysdep-includes): Define with := rather than =.
18059 Use an existing include/ subdir of each sysdeps dir before it.
18060
471514d3
CD
180612013-02-08 Carlos O'Donell <carlos@redhat.com>
18062
18063 * nscd/connection.c (register_traced_file): Comment function.
18064 [HAVE_INOTIFY] (union __inev): Define.
18065 [HAVE_INOTIFY] (inotify_check_files): New function.
18066 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18067 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18068 clear_db_cache.
18069 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18070
b2d3c3be
CD
180712013-02-08 Carlos O'Donell <carlos@redhat.com>
18072
18073 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18074 loaded if not already and that a failure is permanent.
18075
b39949d2
CD
180762013-02-08 Carlos O'Donell <carlos@redhat.com>
18077
ddacd1db 18078 [BZ #15006]
b39949d2
CD
18079 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18080 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18081
b2c9eff4
JM
180822013-02-08 Joseph Myers <joseph@codesourcery.com>
18083
f3aae3f3
JM
18084 [BZ #13550]
18085 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18086 (CHECK_1_NULL_OK): Likewise.
18087 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18088 (__fxstat): Do not use CHECK_1.
18089 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18090 <bp-checks.h>.
18091 (___fxstat64): Do not use CHECK_1.
18092 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18093 <bp-checks.h>.
18094 (__fxstatat): Do not use CHECK_1.
18095 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18096 <bp-checks.h>.
18097 (__fxstatat64): Do not use CHECK_1.
18098 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18099 <bp-checks.h>.
18100 (__fxstat): Do not use CHECK_1.
18101 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18102 <bp-checks.h>.
18103 (__fxstatat): Do not use CHECK_1.
18104 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18105 <bp-checks.h>.
18106 (__getresgid): Do not use CHECK_1.
18107 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18108 <bp-checks.h>.
18109 (__getresuid): Do not use CHECK_1.
18110 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18111 <bp-checks.h>.
18112 (__lxstat): Do not use CHECK_1.
18113 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18114 <bp-checks.h>.
18115 (__old_msgctl): Do not use CHECK_1.
18116 (__new_msgctl): Likewise.
18117 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18118 <bp-checks.h>.
18119 (__new_setrlimit): Do not use CHECK_1.
18120 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18121 <bp-checks.h>.
18122 (__old_shmctl): Do not use CHECK_1.
18123 (__new_shmctl): Likewise.
18124 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18125 <bp-checks.h>.
18126 (__xstat): Do not use CHECK_1.
18127 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18128 (__lxstat): Do not use CHECK_1.
18129 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18130 <bp-checks.h>.
18131 (___lxstat64): Do not use CHECK_1.
18132 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18133 (__old_msgctl): Do not use CHECK_1.
18134 (__new_msgctl): Likewise.
18135 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18136 <bp-checks.h>.
18137 (__gettimeofday): Do not use CHECK_1.
18138 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18139 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18140 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18141 <bp-checks.h>.
18142 (__gettimeofday): Do not use CHECK_1.
18143 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18144 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18145 (__new_shmctl): Do not use CHECK_1.
18146 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18147 <bp-checks.h>.
18148 (do_sigtimedwait): Do not use CHECK_1.
18149 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18150 <bp-checks.h>.
18151 (do_sigwaitinfo): Do not use CHECK_1.
18152 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18153 <bp-checks.h>.
18154 (msgctl): Do not use CHECK_1.
18155 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18156 <bp-checks.h>.
18157 (shmctl): Do not use CHECK_1.
18158 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18159 (ustat): Do not use CHECK_1.
18160 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18161 <bp-checks.h>.
18162 (__fxstat): Do not use CHECK_1.
18163 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18164 <bp-checks.h>.
18165 (__fxstatat): Do not use CHECK_1.
18166 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18167 <bp-checks.h>.
18168 (__lxstat): Do not use CHECK_1.
18169 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18170 <bp-checks.h>.
18171 (__xstat): Do not use CHECK_1.
18172 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18173 (__xstat): Do not use CHECK_1.
18174 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18175 (___xstat64): Do not use CHECK_1.
18176
b2c9eff4
JM
18177 [BZ #13550]
18178 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18179 definitions.
18180 (CHECK_BOUNDS_HIGH): Likewise.
18181 * string/strcpy.c: Do not include <bp-checks.h>.
18182 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18183
f1d70dad
RM
181842013-02-07 Roland McGrath <roland@hack.frob.com>
18185
18186 * nscd/nscd-client.h (__nscd_drop_map_ref):
18187 Add __attribute__ ((unused)).
18188 * nis/nss-nisplus.h (niserr2nss): Likewise.
18189
18190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18191 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18192
18193 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18194 Remove inline keyword.
18195 * include/rounding-mode.h (round_away): Likewise.
18196 * libio/wfileops.c (adjust_wide_data): Likewise.
18197 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18198 (__m128i_strloadu_tolower): Likewise.
18199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18200 (__m128i_strloadu_tolower): Likewise.
18201 * time/mktime.c (ydhms_diff): Likewise.
18202 * locale/elem-hash.h (elem_hash): Likewise.
18203 * locale/setlocale.c (setdata): Likewise.
18204 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18205 (re_string_wchar_at): Likewise.
18206 (bitset_not, bitset_merge, bitset_mask): Likewise.
18207 [!(__GNUC__ > 3)] (inline): Remove macro.
18208 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18209 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18210 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18211 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18212 * string/memcmp.c (memcmp_bytes): Likewise.
18213 * locale/programs/locarchive.c (compute_hashval): Likewise.
18214 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18215 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18216 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18217 * nss/getent.c (print_rpc, print_protocols): Likewise.
18218 (print_passwd, print_group, print_aliases): Likewise.
18219 * nis/nss-nisplus.h (niserr2nss): Likewise.
18220 * nscd/connections.c (restart_p): Likewise.
18221 Change return type to bool.
18222
eab55bfb
RM
182232013-02-05 Roland McGrath <roland@hack.frob.com>
18224
7bd642f5
RM
18225 * Makeconfig (all-Depend-files): Add existing
18226 $(sorted-subdirs:=/Depend) files.
18227 (all-subdirs): Remove nss.
18228 * sysdeps/unix/inet/Subdirs: Add it here instead.
18229 * hesiod/Depend: New file.
18230
573c29b2
RM
18231 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18232 instead of calling alloca.
18233
b2e25af0
RM
18234 * io/lseek.c (__lseek): Rename to __libc_lseek.
18235 Define __lseek as an alias.
18236
eab55bfb
RM
18237 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18238
9a0d1941
CD
182392013-02-04 Carlos O'Donell <carlos@redhat.com>
18240
18241 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18242 else clause and remove check for non-standard endianness.
18243
b83bbec4
DM
182442013-02-04 David S. Miller <davem@davemloft.net>
18245
18246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18247
6277fdab
JM
182482013-02-04 Joseph Myers <joseph@codesourcery.com>
18249
18250 [BZ #13550]
18251 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18252 (__ubp_memchr): Remove prototype.
18253 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18254 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18255 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18256 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18257 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18258 Remove alias.
18259 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18260 (__ubp_memchr): Likewise.
18261 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18262 (__ubp_memchr): Likewise.
18263 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18264 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18265 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18266 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18267 CHECK_STRING.
18268 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18269 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18270 (__getcwd): Do not use CHECK_STRING.
18271 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18272 <bp-checks.h>.
18273 (__real_chown): Do not use CHECK_STRING.
18274 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18275 <bp-checks.h>.
18276 (fchownat): Do not use CHECK_STRING.
18277 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18278 CHECK_STRING.
18279 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18280 <bp-checks.h>.
18281 (__lchown): Do not use CHECK_STRING.
18282 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18283 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18284 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18285 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18287 include <bp-checks.h>.
18288 (truncate64): Do not use CHECK_STRING.
18289 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18290 <bp-checks.h>.
18291 (__real_chown): Do not use CHECK_STRING.
18292 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18293 <bp-checks.h>.
18294 (__lchown): Do not use CHECK_STRING.
18295 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18296 <bp-checks.h>.
18297 (__chown): Do not use CHECK_STRING.
18298 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18299 <bp-checks.h>.
18300 (truncate64): Do not use CHECK_STRING.
18301 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18302 Likewise.
18303 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18304 (__xmknod): Do not use CHECK_STRING.
18305 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18306 <bp-checks.h>.
18307 (__xmknodat): Do not use CHECK_STRING.
18308 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18309 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18310
903ae060
AS
183112013-02-04 Andreas Schwab <schwab@suse.de>
18312
18313 [BZ #14142]
18314 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18315 * include/netdb.h: Likewise for h_errno.
18316 * elf/tst-stackguard1.c: Include <tls.h>.
18317
542f9466
JK
183182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18319
18320 * elf/link.h (struct link_map): Extend the l_addr comment.
18321 * include/link.h (struct link_map): Likewise.
18322
e782a927
JM
183232013-02-01 Joseph Myers <joseph@codesourcery.com>
18324
18325 [BZ #13550]
18326 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18327 (BOUNDED_1): Remove macro.
18328 * debug/backtrace.c: Don't include <bp-checks.h>.
18329 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18330 (__backtrace): Likewise.
18331 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18332 <bp-checks.h>.
18333 (__backtrace): Don't use BOUNDED_1.
18334 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18335 <bp-checks.h>.
18336 (__backtrace): Don't use BOUNDED_1.
18337 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18338 (__backtrace): Don't use BOUNDED_1.
18339 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18340 (shmat): Don't use BOUNDED_N.
18341
8cf28c5e
JM
183422013-01-31 Joseph Myers <joseph@codesourcery.com>
18343
3a7ac8a0
JM
18344 [BZ #13550]
18345 * sysdeps/generic/bp-start.h: Remove file.
18346 * csu/libc-start.c: Don't include <bp-start.h>.
18347 (LIBC_START_MAIN): Set up __environ directly instead of using
18348 INIT_ARGV_and_ENVIRON.
18349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18350 <bp-start.h>.
18351
f3499f95
JM
18352 [BZ #13550]
18353 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18354 definitions.
18355 (CHECK_FCNTL): Likewise.
18356 (CHECK_N_PAGES): Likewise.
18357
32a45bea
JM
18358 [BZ #13550]
18359 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18360 definitions.
18361 (CHECK_SIGSET_NULL_OK): Likewise.
18362 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18363 <bp-checks.h>.
18364 (sigpending): Don't use CHECK_SIGSET.
18365 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18366 <bp-checks.h>.
18367 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18368 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18369 <bp-checks.h>.
18370 (do_sigsuspend): Don't use CHECK_SIGSET.
18371 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18372 use CHECK_SIGSET.
18373 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18374 (do_sigwait): Don't use CHECK_SIGSET.
18375 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18376 use CHECK_SIGSET.
18377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18378 include <bp-checks.h>.
18379 (sigpending): Don't use CHECK_SIGSET.
18380 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18381 include <bp-checks.h>.
18382 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18383 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18384 <bp-checks.h>.
18385 (sigpending): Don't use CHECK_SIGSET.
18386 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18387 <bp-checks.h>.
18388 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18389
2e8a5c8c
JM
18390 [BZ #13550]
18391 * sysdeps/generic/bp-semctl.h: Remove file.
18392 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18393 <bp-checks.h> and <bp-semctl.h>.
18394 (__old_semctl): Don't use CHECK_SEMCTL.
18395 (__new_semctl): Likewise.
18396 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18397 and <bp-semctl.h>.
18398 (__old_semctl): Don't use CHECK_SEMCTL.
18399 (__new_semctl): Likewise.
18400 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18401 <bp-checks.h> and <bp-semctl.h>.
18402 (__old_semctl): Don't use CHECK_SEMCTL.
18403 (__new_semctl): Likewise.
18404 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18405 <bp-checks.h> and <bp-semctl.h>.
18406 (semctl): Don't use CHECK_SEMCTL.
18407
c2d54929
JM
18408 [BZ #13550]
18409 * Makerules (elide-bp-thunks): Remove variable.
18410 (elide-routines.oS): Don't use $(elide-bp-thunks).
18411 (elide-routines.os): Likewise.
18412 (elide-routines.o): Likewise.
18413 (elide-routines.op): Likewise.
18414 (elide-routines.og): Likewise.
18415 (objects): Don't use $(bp-thunks).
18416 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18417 include.
18418 (common-generated): Do not add s-proto-bp.d.
18419 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18420 (int): Likewise.
18421 (typ): Likewise.
18422 Do not generate makefile rules for bounded-pointer thunks.
18423 * sysdeps/generic/bp-thunks.h: Remove file.
18424 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18425 * sysdeps/unix/s-proto-bp.S: Likewise.
18426
8cf28c5e
JM
18427 [BZ #15062]
18428 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18429 parts of result separately when argument is not close to line from
18430 -i to i and one part of argument is small.
18431 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18432 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18433 * math/libm-test.inc (cacos_test): Add more tests.
18434 (casin_test): Likewise.
18435 (casinh_test): Likewise.
18436 * sysdeps/i386/fpu/libm-test-ulps: Update.
18437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18438
c4e33b8d
DM
184392013-01-31 David S. Miller <davem@davemloft.net>
18440
18441 * po/de.po: Update from translation team.
18442
3b60b421
MK
184432013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18444
18445 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18446
bb931195
TS
184472013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18448
b5a5da23
TS
18449 * configure.in (_AC_PROG_CC_C89): New definition.
18450 * configure: Regenerate.
18451
bb931195
TS
18452 * configure.in (AC_PROG_CPP): New definition.
18453 * configure: Regenerate.
18454
8c53a12c
JM
184552013-01-23 Joseph Myers <joseph@codesourcery.com>
18456
18457 * debug/tst-backtrace.h: New file.
18458 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18459 (ret): Remove variable.
18460 (x): Likewise.
18461 (FAIL): Remove macro.
18462 (NO_INLINE): Likewise.
18463 (fn1): Use match function instead of strstr.
18464 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18465 (ret): Remove variable.
18466 (x): Likewise.
18467 (FAIL): Remove macro.
18468 (NO_INLINE): Likewise.
18469 (fn): Use match function instead of strstr.
18470 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18471 (ret): Remove variable.
18472 (x): Likewise.
18473 (FAIL): Remove macro.
18474 (NO_INLINE): Likewise.
18475 (handle_signal): Use match function instead of strstr.
18476 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18477 (ret): Remove variable.
18478 (x): Likewise.
18479 (FAIL): Remove macro.
18480 (NO_INLINE): Likewise.
18481 (handle_signal): Use match function instead of strstr.
18482
4858fa2a
RM
184832013-01-23 Roland McGrath <roland@hack.frob.com>
18484
18485 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18486
bae8e7f5
DM
184872013-01-23 David S. Miller <davem@davemloft.net>
18488
18489 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18490 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18491 argument of CAS if possible.
18492 * sysdeps/sparc/sparc64/bits/atomic.h
18493 (__arch_compare_and_exchange_val_32_acq): Likewise.
18494 (__arch_compare_and_exchange_val_64_acq): Likewise.
18495
9cbbc4ae
PT
184962013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18497
18498 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18499 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18500 Include <limits.h>.
67b3f58c 18501 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18502
5655a0b5
AC
185032013-01-23 Adam Conrad <adconrad@0c3.net>
18504
18505 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18506 (LDFLAGS-tst-array5): Likewise.
18507
052aff95
JM
185082013-01-23 Joseph Myers <joseph@codesourcery.com>
18509
18510 [BZ #15036]
18511 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18512 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18513 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18514 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18515
7c1e01aa
DM
185162013-01-21 David S. Miller <davem@davemloft.net>
18517
18518 * sysdeps/sparc/backtrace.c: New file.
18519 * sysdeps/sparc/sparc32/backtrace.h: New file.
18520 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18521 * sysdeps/sparc/sparc64/backtrace.h: New file.
18522 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18523 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18524 -funwind-tables.
18525
ab087e0a
AS
185262013-01-21 Andreas Schwab <schwab@suse.de>
18527
18528 [BZ #15020]
18529 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18530 closed its stdout.
18531
ed689c2f
AS
185322013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18533
18534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18535 "mpa2.h".
18536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18537
31d470ac
JM
185382013-01-18 Joseph Myers <joseph@codesourcery.com>
18539 Mark Mitchell <mark@codesourcery.com>
18540 Tom de Vries <tom@codesourcery.com>
18541 Paul Pluzhnikov <ppluzhnikov@google.com>
18542
18543 * debug/tst-backtrace2.c: New file.
18544 * debug/tst-backtrace3.c: Likewise.
18545 * debug/tst-backtrace4.c: Likewise.
18546 * debug/tst-backtrace5.c: Likewise.
18547 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18548 (CFLAGS-tst-backtrace3.c): Likewise.
18549 (CFLAGS-tst-backtrace4.c): Likewise.
18550 (CFLAGS-tst-backtrace5.c): Likewise.
18551 (LDFLAGS-tst-backtrace2): Likewise.
18552 (LDFLAGS-tst-backtrace3): Likewise.
18553 (LDFLAGS-tst-backtrace4): Likewise.
18554 (LDFLAGS-tst-backtrace5): Likewise.
18555 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18556 tst-backtrace4 and tst-backtrace5.
18557
90567f30 185582013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18559 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18560
18561 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18562 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18563 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18564 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18566 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18567 "+r" and remove output regs list as redundant. Add explicit inline
18568 asm to specify register of return val to work around compiler codegen
18569 bug. Remove (int) cast on return value. Add return type parameter to
18570 use in macro so that this macro does not truncate return value for
18571 64-bit values.
18572 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18573 pass to INTERNAL_VSYSCALL_NCS.
18574 (INLINE_VSYSCALL): Add 'long int' as return type to
18575 INTERNAL_VSYSCALL_NCS macro invocation.
18576 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18577 INTERNAL_VSYSCALL_NCS macro invocation.
18578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18579
d3b9ea61
SP
185802013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18581
0b57daeb
SP
18582 [BZ #14496]
18583 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18584 Fix application of SIMD FP exception mask.
18585
caa99d06
SP
18586 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18587 mp_no from a power of two.
18588 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18589 __mpexp_twomm1. Use __pow_mp.
18590
d3b9ea61
SP
18591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18592 multiplication.
18593
1dbaee3c
DM
185942013-01-17 David S. Miller <davem@davemloft.net>
18595
18596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18597
728d7b43
JM
185982013-01-17 Joseph Myers <joseph@codesourcery.com>
18599
18600 [BZ #15023]
18601 * include/complex.h: Condition contents on [!_COMPLEX_H].
18602 (__kernel_casinhf): New prototype.
18603 (__kernel_casinh): Likewise.
18604 (__kernel_casinhl): Likewise.
18605 * math/Makefile (libm_calls): Add k_casinh.
18606 * math/k_casinh.c: New file.
18607 * math/k_casinhf.c: Likewise.
18608 * math/k_casinhl.c: Likewise.
18609 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18610 finite nonzero arguments.
18611 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18612 finite nonzero arguments.
18613 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18614 finite nonzero arguments.
18615 * math/s_casinh.c: Do not include <float.h>.
18616 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18617 * math/s_casinhf.c: Do not include <float.h>.
18618 (__casinhf): Move code for finite nonzero arguments to
18619 k_casinhf.c.
18620 * math/s_casinhl.c: Do not include <float.h>.
18621 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18622 redefine.
18623 (__casinhl): Move code for finite nonzero arguments to
18624 k_casinhl.c.
18625 * math/libm-test.inc (cacos_test): Add more tests.
18626 * sysdeps/i386/fpu/libm-test-ulps: Update.
18627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18628
2a26ef3a
PT
186292013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18630
18631 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18632 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18633 [!HAVE_MREMAP]: Remove [defined linux] case.
18634 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18635
a897655d
SP
186362013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18637
18638 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18639
881ebe89 186402013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18641
18642 * elf/elf.h (R_386_SIZE32): New relocation.
18643 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18644 R_386_SIZE32.
18645 (elf_machine_rela): Likewise.
18646 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18647 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18648
59981e9b
JM
186492013-01-17 Joseph Myers <joseph@codesourcery.com>
18650
18651 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18652 (FP_FAST_FMA): Do not define.
18653 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18654 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18655 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18656 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18657 !_SOFT_FLOAT]: Likewise.
18658 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18659 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18660 value.
18661 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18662 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18663 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18664 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18665 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18666 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18667 file.
18668
cfa8054f
AS
186692013-01-16 Andreas Schwab <schwab@suse.de>
18670
18671 [BZ #14327]
18672 * include/stdlib.h (__mktemp): Add declaration.
18673 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18674 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18675
dd930cc5
SP
186762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18677
881ebe89
SP
18678 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18679 definitions.
18680 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18681 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18682 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18683 definitions here.
18684 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18685 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18686 definitions.
18687 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18688 and ONE.
18689 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18690 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18691 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18692 definitions.
18693 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18694 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18695 definitions.
18696 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18697
dd930cc5
SP
18698 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18699
c19a9f89
DM
187002013-01-15 David S. Miller <davem@davemloft.net>
18701
1aa61767
DM
18702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18703 trunc{,f} to libm-sysdep_routes.
18704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18706 file.
18707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18709 file.
18710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18711 file.
18712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18714 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18715 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18716 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18717 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18718 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18719 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18720
c42d5e98
DM
18721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18722 nearbyint{,f} to libm-sysdep_routes.
18723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18725 New file.
18726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18727 file.
18728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18729 New file.
18730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18731 file.
18732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18734 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18735 file.
18736 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18737 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18738 file.
18739 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18740 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18741 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18742
c19a9f89
DM
18743 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18744 libc_feholdexcept and libc_fesetenv.
18745
357679d2
MF
187462013-01-15 Mike Frysinger <vapier@gentoo.org>
18747
18748 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18749
65a82e3d
DM
187502013-01-14 David S. Miller <davem@davemloft.net>
18751
8b954ab9
DM
18752 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18753 (SPARC_ASM_VIS2_IFUNC): Likewise.
18754 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18756 use of 'siam' instruction.
18757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18758 Likewise.
18759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18760 Likewise.
18761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18762 Likewise.
18763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18768 file.
18769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18770 file.
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18772 file.
18773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18774 file.
18775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18780 new VIS2 routines.
18781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18784 Likewise.
18785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18790 routines to libm-sysdep_routines.
18791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18792
65a82e3d
DM
18793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18794 fdim/fdimf to libm-sysdep_routines.
18795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18796 file.
18797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18799 file.
18800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18803 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18804 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18805 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18806 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18807
e34ab705
SP
188082013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18809
2a91b573
SP
18810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18811 to optimize copies.
18812
1066a534
SP
18813 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18816
e34ab705
SP
18817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18818 local variable MPTWO.
18819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18820 Likewise.
18821
aba5e596
MF
188222013-01-13 Mike Frysinger <vapier@gentoo.org>
18823
18824 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18825 GLOB_NOESCAPE.
18826
e557e9e5
MF
188272013-01-13 Mike Frysinger <vapier@gentoo.org>
18828
18829 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18830
0428cec9
MF
188312013-01-13 Mike Frysinger <vapier@gentoo.org>
18832
18833 * manual/pattern.texi (glob_t): Document gl_flags.
18834 (glob64_t): Likewise.
18835
8794a964
DM
188362013-01-11 David S. Miller <davem@davemloft.net>
18837
66438c3f
RM
18838 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18839 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18840 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18841 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18842 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18843 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18844 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18845 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18846 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18847 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18848 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18849 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18850 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18851
4ae4244d
DM
18852 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18853 sparc V9 rather than using V8 code.
18854 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18855 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18856
8794a964
DM
18857 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18858 Move to...
18859 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18860 Here.
18861
6270516e
RM
188622013-01-11 Roland McGrath <roland@hack.frob.com>
18863
18864 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18865 not in the main loop.
18866 * configure: Regenerated.
18867
6a57d931
JM
188682013-01-11 Joseph Myers <joseph@codesourcery.com>
18869
18870 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18871 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18872 to just #else.
18873 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18874 [!__GLIBC_HAVE_LONG_LONG] case.
18875 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18876 condition to just #else.
18877 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18878 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18879 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18880 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18881 unconditional.
18882 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18883 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18884 #elif condition to just #else.
18885 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18886 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18887 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18888 #elif condition to just #else.
18889
0e8529e9
SE
188902013-01-11 Steve Ellcey <sellcey@mips.com>
18891
18892 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18893 (EF_MIPS_ARCH_64): Fix value.
18894 (EF_MIPS_ARCH_32R2): New.
18895 (EF_MIPS_ARCH_64R2): New.
18896
740b3dbe
L
188972013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18898
18899 * Makeconfig (+link-pie-before-libc): New.
18900 (+link-pie-after-libc): Likewise.
18901 (+link-pie-tests): Likewise.
18902 (+link-pie): Rewritten.
18903 (link-before-libc): Remove $(config-LDFLAGS).
18904 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18905 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18906 (config-LDFLAGS): Renamed to ...
18907 (rtld-LDFLAGS): This.
18908 (rtld-tests-LDFLAGS): New macro.
18909 (link-libc-rpath-link): Likewise.
18910 (link-libc-tests-rpath-link): Likewise.
18911 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18912 (link-libc): Prepand $(link-libc-rpath-link).
18913 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18914 (test-program-prefix): New macro.
18915 (test-via-rtld-prefix): Likewise.
18916 (test-program-cmd): Likewise.
18917 (host-test-program-cmd): Likewise.
18918 * Makefile ($(common-objpfx)testrun.sh): Replace
18919 $(run-program-prefix) with $(test-program-prefix).
18920 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18921 $(rtld-LDFLAGS).
18922 ($(common-objpfx)shlib.lds): Likewise.
18923 (build-module-helper): Likewise.
18924 ($(common-objpfx)format.lds): Likewise.
18925 * Rules (binaries-pie-tests): New.
18926 (binaries-pie-notests): Likewise.
18927 (binaries-pie): Rewritten.
18928 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18929 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18930 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18931 (make-test-out): Replace $(host-built-program-cmd) with
18932 $(host-test-program-cmd).
18933 * config.make.in (build-hardcoded-path-in-tests): New variable.
18934 * configure.in (--enable-hardcoded-path-in-tests): New configure
18935 option.
18936 (hardcoded_path_in_tests): New AC_SUBST.
18937 * configure: Regenerated.
18938 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18939 $(built-program-cmd) with $(test-program-cmd).
18940 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18941 (test_program_cmd): This.
18942 * elf/Makefile ($(objpfx)order.out): Run test with
18943 $(test-program-prefix).
18944 ($(objpfx)order2.out): Likewise.
18945 ($(objpfx)tst-initorder.out): Likewise.
18946 ($(objpfx)tst-initorder2.out): Likewise.
18947 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18948 $(test-program-cmd).
18949 ($(objpfx)tst-array1-static.out): Likewise.
18950 ($(objpfx)tst-array2.out): Likewise.
18951 ($(objpfx)tst-array3.out): Likewise.
18952 ($(objpfx)tst-array4.out): Likewise.
18953 ($(objpfx)tst-array5.out): Likewise.
18954 ($(objpfx)tst-array5-static.out): Likewise.
18955 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18956 $(test-program-cmd).
18957 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18958 $(run-program-prefix) with $(test-program-prefix).
18959 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18960 (test_program_prefix): This.
18961 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18962 $(run-program-prefix) with $(test-program-prefix).
18963 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18964 (test_program_prefix): This.
18965 * iconvdata/tst-tables.sh: Likewise.
18966 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18967 $(run-program-prefix) with $(test-program-prefix).
18968 ($(objpfx)tst-translit.out): Likewise.
18969 ($(objpfx)tst-gettext2.out): Likewise.
18970 ($(objpfx)tst-gettext4.out): Likewise.
18971 ($(objpfx)tst-gettext6.out): Likewise.
18972 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18973 (test_program_prefix): This.
18974 * intl/tst-gettext2.sh: Likewise.
18975 * intl/tst-gettext4.sh Likewise.
18976 * intl/tst-gettext6.sh: Likewise.
18977 * intl/tst-translit.sh: Likewise.
18978 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18979 with $(test-program-cmd).
18980 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18981 $(run-program-prefix) with $(test-program-prefix).
18982 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18983 (test_program_prefix): This.
18984 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18985 $(run-program-prefix) with $(test-program-prefix).
18986 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18987 (test_program_prefix): This.
18988 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18989 * posix/Makefile ($(objpfx)globtest.out): Replace
18990 $(run-via-rtld-prefix) and $(test-wrapper) with
18991 $(test-program-prefix) and $(test-via-rtld-prefix).
18992 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18993 $(test-program-prefix).
18994 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18995 $(host-test-program-cmd).
18996 (tst-spawn-ARGS): Likewise.
18997 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18998 $(test-program-prefix).
18999 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19000 (test_via_rtld_prefix): This.
19001 (test_wrapper): Renamed to ...
19002 (test_program_prefix): This.
19003 (run_program_prefix): Replaced by test_program_prefix.
19004 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19005 (test_program_prefix): This.
19006 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19007 with $(host-test-program-cmd).
19008 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19009 $(run-program-prefix) with $(test-program-prefix).
19010 ($(objpfx)tst-printf.out): Likewise.
19011 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19012 $(test-program-cmd).
19013 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19014 (test_program_prefix): This.
19015 * stdio-common/tst-unbputc.sh: Likewise.
19016 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19017 $(run-program-prefix) with $(test-program-prefix).
19018 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19019 (test_program_prefix): This.
19020 * string/Makefile ($(objpfx)tst-svc.out): Replace
19021 $(built-program-cmd) with $(test-program-cmd).
19022
c6fe55cf
AJ
190232013-01-11 Andreas Jaeger <aj@suse.de>
19024
19025 [BZ #15003]
19026 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19027 value. Sync with Linux 3.7.
19028
9e6919c8
DM
190292013-01-10 David S. Miller <davem@davemloft.net>
19030
19031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19032 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19033 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19034
1c9f1a02
RM
190352013-01-10 Roland McGrath <roland@hack.frob.com>
19036
19037 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19038 never set.
19039 * configure: Regenerated.
19040
b9de2dde
DM
190412013-01-10 David S. Miller <davem@davemloft.net>
19042
19043 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19044 sparc V9 rather than using V8 code.
19045 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19046 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19047
e7f68ef4
RM
190482013-01-10 Roland McGrath <roland@hack.frob.com>
19049
19050 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19051 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19052 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19053 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19054 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19055 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19056 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19057 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19058 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19059 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19060 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19061 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19062 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19063 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19064 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19065 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19066 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19067 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19068 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19069 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19070 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19071 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19072 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19073 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19074 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19075 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19076 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19077
5a47cc9c
DM
190782013-01-10 David S. Miller <davem@davemloft.net>
19079
19080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19081
4cf8f209
L
190822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19083
19084 * posix/Makefile (tests-static): New variable.
19085 (tests): Add $(tests-static).
19086 (tst-exec-static-ARGS): New variable.
19087 (tst-spawn-static-ARGS): Likewise.
19088 * posix/tst-exec-static.c: New file.
19089 * posix/tst-spawn-static.c: Likewise.
19090 * posix/tst-exec.c: Support run directly.
19091 * posix/tst-spawn.c: Likewise.
19092
fed0faa1
JM
190932013-01-10 Joseph Myers <joseph@codesourcery.com>
19094
828beb13
JM
19095 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19096 long.
19097 * math/bits/mathcalls.h (llrint): Likewise.
19098 (llround): Likewise.
19099 * stdlib/stdlib.h (struct drand48_data): Likewise.
19100 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19101 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19102 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19103 Likewise.
19104 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19105 Likewise.
19106 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19107 (elf_greg_t): Likewise.
19108 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19109 (__jmp_buf): Likewise.
19110 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19111 definitions.
19112 (llrint): Likewise, for all definitions.
19113 (llrintl): Likewise.
19114
fed0faa1
JM
19115 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19116 Remove [__GNUC__] condition.
19117 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19118 condition to just [__USE_ISOC99].
19119 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19120
1a20cb20
L
191212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19122
19123 [BZ #14200]
19124 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19125 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19126 defined.
19127 (_POSIX_V6_ILP32_OFF32): Likewise.
19128 (_XBS5_ILP32_OFF32): Likewise.
19129 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19130 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19131
751b85f7
SP
191322013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19133
7490eb81
SP
19134 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19135
751b85f7
SP
19136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19137 doubles __mpexp_twomm1. Adjust usage.
19138 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19139 Remove.
19140
988197f0
AS
191412013-01-10 Andreas Schwab <schwab@suse.de>
19142
19143 [BZ #14964]
19144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19145 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19146
e83d7298
DM
191472013-01-09 David S. Miller <davem@davemloft.net>
19148
034ed64b 19149 [BZ #15003]
e83d7298
DM
19150 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19151 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19152 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19153 TCP_FASTOPEN): Define.
19154 (tcp_repair_opt): New structure.
19155 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19156 enum values.
19157 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19158 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19159 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19160 (tcp_cookie_transactions): New structure.
19161
d5e0b9bd
AB
191622013-01-09 Anton Blanchard <anton@samba.org>
19163
19164 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19165 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19167 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19168
0c07e3ea
JM
191692013-01-09 Joseph Myers <joseph@codesourcery.com>
19170
19171 * include/features.h (__USE_ANSI): Remove.
19172
232f7002
RM
191732013-01-09 Roland McGrath <roland@hack.frob.com>
19174
ad98e30c
RM
19175 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19176
232f7002
RM
19177 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19178
950c99ca
SP
191792013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19180
b5792741
SP
19181 * sysdeps/s390/fpu/libm-test-ulps: Update.
19182
47cf2278
SP
19183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19184
950c99ca
SP
19185 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19186 (__acr): Likewise.
19187 (__cpy): Likewise.
19188 (norm): Likewise.
19189 (denorm): Likewise.
19190 (__mp_dbl): Likewise.
19191 (__dbl_mp): Likewise.
19192 (add_magnitudes): Likewise.
19193 (sub_magnitudes): Likewise.
19194 (__add): Likewise.
19195 (__sub): Likewise.
19196 (__mul): Likewise.
19197 (__inv): Likewise.
19198 (__dvd): Likewise.
19199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19200 (__acr): Likewise.
19201 (__cpy): Likewise.
19202 (norm): Likewise.
19203 (denorm): Likewise.
19204 (__mp_dbl): Likewise.
19205 (__dbl_mp): Likewise.
19206 (add_magnitudes): Likewise.
19207 (sub_magnitudes): Likewise.
19208 (__add): Likewise.
19209 (__sub): Likewise.
19210 (__mul): Likewise.
19211 (__inv): Likewise.
19212 (__dvd): Likewise.
19213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19214 (__acr): Likewise.
19215 (__cpy): Likewise.
19216 (norm): Likewise.
19217 (denorm): Likewise.
19218 (__mp_dbl): Likewise.
19219 (__dbl_mp): Likewise.
19220 (add_magnitudes): Likewise.
19221 (sub_magnitudes): Likewise.
19222 (__add): Likewise.
19223 (__sub): Likewise.
19224 (__mul): Likewise.
19225 (__inv): Likewise.
19226 (__dvd): Likewise.
19227
eede9df9
JM
192282013-01-08 Joseph Myers <joseph@codesourcery.com>
19229
19230 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19231 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19232 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19233 2 && __USE_EXTERN_INLINES]: Likewise.
19234
c40ea3d9
AJ
192352013-01-08 Andreas Jaeger <aj@suse.de>
19236
19237 [BZ# 14985]
19238 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19239 Remove.
19240 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19241 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19242
2ccdea26
AB
192432013-01-07 Anton Blanchard <anton@samba.org>
19244
19245 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19246 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19247 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19248 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19249 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19250 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19251 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19252 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19254 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19255 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19256 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19257 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19258 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19259 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19260 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19261 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19262 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19263 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19264 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19265 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19266 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19267 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19268 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19269 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19270 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19271 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19272 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19273 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19274 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19275 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19277 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19278 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19279 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19280 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19281 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19282 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19283 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19284 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19285 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19286 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19287 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19288
a9708fed
JM
192892013-01-07 Joseph Myers <joseph@codesourcery.com>
19290
375607b9
JM
19291 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19292 (__MALLOC_PMT): Likewise.
19293 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19294 [__GNUC__], only on [_LIBC].
19295 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19296 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19297 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19298 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19299 forward declaration.
19300 (realloc_hook_ini): Likewise.
19301 (memalign_hook_ini): Likewise.
19302 (__libc_memalign): Do not use __MALLOC_PMT in variable
19303 declaration.
19304 (__libc_valloc): Likewise.
19305 (__libc_pvalloc): Likewise.
19306 (__libc_calloc): Likewise.
19307 (__posix_memalign): Likewise.
19308
a9708fed
JM
19309 [BZ #14996]
19310 * math/s_casinh.c: Include <float.h>.
19311 (__casinh): Do not do computation with squaring and square root
19312 for large arguments.
19313 * math/s_casinhf.c: Include <float.h>.
19314 (__casinhf): Do not do computation with squaring and square root
19315 for large arguments.
19316 * math/s_casinhl.c: Include <float.h>.
19317 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19318 (__casinhl): Do not do computation with squaring and square root
19319 for large arguments.
19320 * math/libm-test.inc (casin_test): Add more tests.
19321 (casinh_test): Likewise.
19322 * sysdeps/i386/fpu/libm-test-ulps: Update.
19323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19324
afec409a
L
193252013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19326
19327 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19328 (__x86_64_raw_data_cache_size): Likewise.
19329 (__x86_64_data_cache_size_half): Likewise.
19330 (__x86_64_raw_data_cache_size_half): Likewise.
19331 (__x86_64_shared_cache_size): Likewise.
19332 (__x86_64_raw_shared_cache_size): Likewise.
19333 (__x86_64_shared_cache_size_half): Likewise.
19334 (__x86_64_raw_shared_cache_size_half): Likewise.
19335 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19336 to ...
19337 (__x86_data_cache_size): This.
19338 (__x86_64_raw_data_cache_size): Renamed to ...
19339 (__x86_raw_data_cache_size): This.
19340 (__x86_64_data_cache_size_half): Renamed to ...
19341 (__x86_data_cache_size_half): This.
19342 (__x86_64_raw_data_cache_size_half): Renamed to ...
19343 (__x86_raw_data_cache_size_half): This.
19344 (__x86_64_shared_cache_size): Renamed to ...
19345 (__x86_shared_cache_size): This.
19346 (__x86_64_raw_shared_cache_size): Renamed to ...
19347 (__x86_raw_shared_cache_size): This.
19348 (__x86_64_shared_cache_size_half): Renamed to ...
19349 (__x86_shared_cache_size_half): This.
19350 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19351 (__x86_raw_shared_cache_size_half): This.
19352 * sysdeps/x86_64/memcpy.S: Updated.
19353 * sysdeps/x86_64/memset.S: Likewise.
19354 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19355 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19357
0b3986d0
DM
193582013-01-04 David S. Miller <davem@davemloft.net>
19359
19360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19361
e47686e9
AS
193622013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19363
d643bac1
AS
19364 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19365 1 to avoid redefinition warning.
19366 (__USE_GNU): Don't define.
19367 (init_signaling_nan): Protoize.
19368
e47686e9
AS
19369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19370
b18decba
SP
193712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19372
fffb407f
SP
19373 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19375 (__cpymn): Likewise.
19376 (norm): Remove commented code.
19377 (denorm): Likewise.
19378 (__mp_dbl): Likewise.
19379 (__inv): Likewise.
19380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19381 (__cpymn): Likewise.
19382 (norm): Remove commented code.
19383 (denorm): Likewise.
19384 (__mp_dbl): Likewise.
19385 (__inv): Likewise.
19386
b18decba
SP
19387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19388 mp_no value for 1.0 and 2.0.
19389 (norm): Use RADIXI instead of radixi.d.
19390 (denorm): Likewise.
19391 (__mul): Use 0.0 instead of zero.d.
19392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19393 mp_no value for 1.0 and 2.0.
19394 (norm): Use RADIXI instead of radixi.d.
19395 (denorm): Likewise.
19396 (__mul): Use 0.0 instead of zero.d.
19397
cdc1c96f
JM
193982013-01-04 Joseph Myers <joseph@codesourcery.com>
19399
19400 [BZ #14994]
19401 * math/s_casinh.c (__casinh): Reduce finite argument to first
19402 quadrant then set signs of results at the end.
19403 * math/s_casinhf.c (__casinhf): Likewise.
19404 * math/s_casinhl.c (__casinhl): Likewise.
19405 * math/libm-test.inc (casin_test): Add more tests.
19406 (casinh_test): Likewise.
19407 * sysdeps/i386/fpu/libm-test-ulps: Update.
19408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19409
302913e1
SP
194102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19411
6420d207
SP
19412 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19413
a9e48ab4
SP
19414 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19415
b7837264
SP
19416 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19417 declarations.
19418 (denorm): Likewise.
19419 (__mp_dbl): Likewise.
19420 (__inv): Likewise.
19421
f8af25d2
SP
19422 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19423 and adjust the header comment.
19424
302913e1
SP
19425 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19426 variable name from declaration.
19427
5d7dd1ca
L
194282013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19429
19430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19431 Initialize COMMON_CPUID_INDEX_7 element.
19432 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19433 (CPUID_RTM): Likewise.
19434 (HAS_RTM): Likewise.
19435 (COMMON_CPUID_INDEX_7): New enum.
19436
2f5f40f4
AS
194372013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19438
19439 [BZ #14981]
19440 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19441 size is zero, record memory as freed.
19442
4056f4a0
AJ
194432013-01-03 Andreas Jaeger <aj@suse.de>
19444
19445 * po/ia.po: Add new Interlingua translation.
19446
ab15736f 194472012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19448
19449 * locale/programs/localedef.c: Fix description of '--posix' flag.
19450
568035b7
JM
194512013-01-02 Joseph Myers <joseph@codesourcery.com>
19452
e6898b8d
JM
19453 * NEWS: Update dates in second copyright notice.
19454 * README: Update copyright dates in example.
19455 * manual/libc.texinfo: Update copyright dates.
19456 * scripts/test-installation.pl: Update copyright date in --version
19457 output.
19458
0e2f9562
JM
19459 * hurd/ctty-input.c: Fix copyright notice formatting.
19460 * hurd/ctty-output.c: Likewise.
19461 * hurd/dtable.c: Likewise.
19462 * hurd/hurd-raise.c: Likewise.
19463 * hurd/hurdprio.c: Likewise.
19464 * hurd/msgportdemux.c: Likewise.
19465 * misc/sys/file.h: Likewise.
19466 * misc/sys/ioctl.h: Likewise.
19467 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19468 * sysdeps/mach/hurd/chdir.c: Likewise.
19469 * sysdeps/mach/hurd/fchdir.c: Likewise.
19470 * sysdeps/mach/hurd/rename.c: Likewise.
19471 * sysdeps/mach/hurd/rmdir.c: Likewise.
19472 * sysdeps/mach/hurd/seekdir.c: Likewise.
19473 * sysdeps/mach/hurd/setsid.c: Likewise.
19474 * sysdeps/posix/wait3.c: Likewise.
19475
568035b7
JM
19476 * All files with FSF copyright notices: Update copyright dates
19477 using scripts/update-copyrights.
19478 * intl/plural.c: Regenerated.
19479 * locale/programs/charmap-kw.h: Likewise.
19480 * locale/programs/locfile-kw.h: Likewise.
19481
da08f647
SP
194822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19483
0f5477af
SP
19484 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19485 four values.
19486
44e0d4c2
SP
19487 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19488 calculation loop and add branch prediction.
19489
4d55b4e5
SP
19490 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19491 check access beyond bounds of m1np.
19492
da08f647
SP
19493 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19494 MPTWO.
19495 (__inv): Remove local variable MPTWO to use the global
19496 constant.
19497 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19499 variable MPTWO.
19500 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19501 MP3HALFS static const.
19502
8e051029
DM
195032013-01-01 David S. Miller <davem@davemloft.net>
19504
19505 * po/ca.po: Update from translation team.
19506
f4cf5f2d
JM
195072013-01-01 Joseph Myers <joseph@codesourcery.com>
19508
19509 * scripts/update-copyrights: New file.
19510 * Makeconfig: Reformat copyright notice.
19511 * ctype/ctype.h: Likewise.
19512 * debug/swprintf_chk.c: Likewise.
19513 * elf/dl-cache.c: Likewise.
19514 * elf/dl-debug.c: Likewise.
19515 * elf/dl-object.c: Likewise.
19516 * grp/initgroups.c: Likewise.
19517 * hurd/Makefile: Likewise.
19518 * hurd/hurd/signal.h: Likewise.
19519 * hurd/hurdfault.c: Likewise.
19520 * hurd/hurdioctl.c: Likewise.
19521 * hurd/hurdlookup.c: Likewise.
19522 * hurd/intr-msg.c: Likewise.
19523 * iconv/gconv_open.c: Likewise.
19524 * libio/swprintf.c: Likewise.
19525 * locale/lc-ctype.c: Likewise.
19526 * locale/nl_langinfo.c: Likewise.
19527 * mach/Machrules: Likewise.
19528 * mach/Makefile: Likewise.
19529 * malloc/obstack.h: Likewise.
19530 * manual/Makefile: Likewise.
19531 * manual/tsort.awk: Likewise.
19532 * misc/bits/stab.def: Likewise.
19533 * nis/nis_print_group_entry.c: Likewise.
19534 * nis/nis_table.c: Likewise.
19535 * nis/nss_compat/compat-pwd.c: Likewise.
19536 * nis/nss_compat/compat-spwd.c: Likewise.
19537 * po/Makefile: Likewise.
19538 * posix/fnmatch.c: Likewise.
19539 * posix/regex.h: Likewise.
19540 * resolv/Makefile: Likewise.
19541 * resolv/nss_dns/dns-network.c: Likewise.
19542 * resolv/res_hconf.c: Likewise.
19543 * scripts/gen-sorted.awk: Likewise.
19544 * soft-fp/soft-fp.h: Likewise.
19545 * stdio-common/printf.h: Likewise.
19546 * stdlib/monetary.h: Likewise.
19547 * stdlib/random.c: Likewise.
19548 * stdlib/random_r.c: Likewise.
19549 * sysdeps/generic/Makefile: Likewise.
19550 * sysdeps/gnu/Makefile: Likewise.
19551 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19553 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19555 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19572 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19573 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19579 * sysdeps/mach/hurd/errnos.awk: Likewise.
19580 * sysdeps/mach/hurd/fork.c: Likewise.
19581 * sysdeps/mach/hurd/getcwd.c: Likewise.
19582 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19583 * sysdeps/mach/hurd/mmap.c: Likewise.
19584 * sysdeps/mach/hurd/utimes.c: Likewise.
19585 * sysdeps/mach/hurd/xmknod.c: Likewise.
19586 * sysdeps/posix/profil.c: Likewise.
19587 * sysdeps/posix/readdir_r.c: Likewise.
19588 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19589 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19590 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19591 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19593 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19594 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19595 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19597 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19598 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19599 * sysdeps/pthread/lio_listio.c: Likewise.
19600 * sysdeps/sparc/dl-procinfo.h: Likewise.
19601 * sysdeps/unix/i386/sysdep.S: Likewise.
19602 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19603 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19604 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19605 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19607 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19608 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19609 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19610 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19611 * sysdeps/wordsize-32/divdi3.c: Likewise.
19612 * time/sys/time.h: Likewise.
19613 * wcsmbs/Makefile: Likewise.
19614
0549fbba
DM
196152013-01-01 David S. Miller <davem@davemloft.net>
19616
a141f1a7
DM
19617 * po/fr.po: Update from translation team.
19618
0549fbba
DM
19619 * catgets/gencat.c: Update copyright year.
19620 * csu/version.c: Likewise.
19621 * debug/catchsegv.sh: Likewise.
19622 * debug/pcprofiledump.c: Likewise.
19623 * debug/xtrace.sh: Likewise.
19624 * elf/ldconfig.c: Likewise.
19625 * elf/ldd.bash.in: Likewise.
19626 * elf/pldd.c: Likewise.
19627 * elf/sotruss.ksh: Likewise.
19628 * elf/sprof.c: Likewise.
19629 * iconv/iconv_prog.c: Likewise.
19630 * iconv/iconvconfig.c: Likewise.
19631 * locale/programs/locale.c: Likewise.
19632 * locale/programs/localedef.c: Likewise.
19633 * login/programs/pt_chown.c: Likewise.
19634 * malloc/memusage.sh: Likewise.
19635 * malloc/memusagestat.c: Likewise.
19636 * malloc/mtrace.pl: Likewise.
19637 * nscd/nscd.c: Likewise.
19638 * nss/getent.c: Likewise.
19639 * nss/makedb.c: Likewise.
19640 * posix/getconf.c: Likewise.
19641
18ea052c
SP
196422012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19643
19644 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19645 numbers.
19646
9c89fca6
MF
196472012-12-30 Mike Frysinger <vapier@gentoo.org>
19648
19649 * math/bits/mathcalls.h (modf): Use __nonnull.
19650
085ec079
SP
196512012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19652
19653 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19654 (split): Use macro CN instead of the bare value.
19655 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19656 could be used.
19657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19658 instead of the bare value.
19659 (power1): Likewise.
19660
6d9f97e1
SP
196612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19662
d63f73be
SP
19663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19664 __ATAN_TWOM.
19665 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19666
6d9f97e1
SP
19667 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19668 their values.
19669 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19670 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19671 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19672 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19673
4c4febf5
AJ
196742012-12-28 Andreas Jaeger <aj@suse.de>
19675
af5843ef
AJ
19676 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19677 values are from Linux 3.7.
19678
4c4febf5
AJ
19679 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19680 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19681
99136f82
SP
196822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19683
2f216c3c 19684 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19685 TRUE case.
19686
99136f82
SP
19687 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19688 (norm): Likewise.
19689 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19690 variables with preprocessor constants.
19691 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19692 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19693 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19694
7fffbdff
BH
196952012-12-27 Bruno Haible <bruno@clisp.org>
19696
19697 [BZ #14317]
19698 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19699 only if needed.
19700
b76eb5f0
SP
197012012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19702
31a7fe5c
SP
19703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19704 and use variable directly.
19705 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19706
b76eb5f0
SP
19707 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19708 MPONE.
19709 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19711 variable MPONE.
19712 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19714 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19715 include directive. Remove local variable MPONE.
19716 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19717 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19719
2c8bfe7d
DM
197202012-12-25 David S. Miller <davem@davemloft.net>
19721
19722 * version.h (RELEASE): Set to "development".
19723 (VERSION): Set to "2.17.90".
19724 * NEWS: Add 2.18 section.
19725
147d03b0
DM
197262012-12-21 David S. Miller <davem@davemloft.net>
19727
19728 * po/hr.po: Update from translation team.
19729
a8ebb2b9
AK
197302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19731
19732 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19733
95b4f1b6
SE
197342012-12-19 Steve Ellcey <sellcey@mips.com>
19735
b2d94007 19736 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19737
cedb2a90
MS
197382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19739
19740 * manual/contrib.texi (Contributors): Spelling correction.
19741
bbf527d6
DM
197422012-12-15 David S. Miller <davem@davemloft.net>
19743
19744 * po/ru.po: Update from translation team.
19745
bc38c906
DM
197462012-12-13 David S. Miller <davem@davemloft.net>
19747
85429b1a
DM
19748 * NEWS: Mention IFUNC testsuite enhancements.
19749
d283e353
DM
19750 * po/pl.po: Update from translation team.
19751 * po/bg.po: Likewise.
19752
bc38c906
DM
19753 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19754 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19755
a181b0d7
DM
197562012-12-11 David S. Miller <davem@davemloft.net>
19757
4641d57e
DM
19758 * po/sv.po: Update from translation team.
19759
f7bc6495
DM
19760 * po/vi.po: Update from translation team.
19761
6fc9048f
DM
19762 * po/cs.po: Update from translation team.
19763
a181b0d7
DM
19764 * po/de.po: Update from translation team.
19765 * po/eo.po: Likewise.
19766 * po/nl.po: Likewise.
19767
f70bfe80
SP
197682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19769
3c8b4190
SP
19770 [BZ #14246]
19771 * manual/argp.texi (Argp Helper Functions): Move node to follow
19772 Argp Parsing State.
19773
f70bfe80
SP
19774 [BZ #14872]
19775 * manual/conf.texi (Limits on File System Capacity): Mention if
19776 terminating null is included in the max size.
19777
188f0adf
AJ
197782012-12-10 Andreas Jaeger <aj@suse.de>
19779
19780 * po/cs.po: Update from translation team.
19781
56e7d3ad
SP
197822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19783
19784 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19785 void pointer and cast to uintptr_t.
19786 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19787 path.
19788 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19789 * sysdeps/s390/s390-64/memset.S: Likewise.
19790
76f2d2ea 197912012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19792
19793 [BZ #14833]
19794 * menual/message.texi (Message Translation): Fix typos.
19795 (Helper programs for gettext): Likewise.
19796
67cbf9a2
AS
197972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19798
19799 [BZ #14898]
19800 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19801 Change to -1.
19802
682d0e9a
DM
198032012-12-07 David S. Miller <davem@davemloft.net>
19804
19805 * po/libc.pot: Update.
19806
573cd484
RH
198072012-12-07 Richard Henderson <rth@redhat.com>
19808
7e9da188 19809 [BZ #10114]
573cd484
RH
19810 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19811 normal/normal case to before the switch.
19812 (_FP_DIV): Likewise.
19813
e933a943
MF
198142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19815 Mike Frysinger <vapier@gentoo.org>
19816
19817 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19818 check for __NR_fadvise64_64.
19819
82123268
CM
198202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19821
19822 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19823 0, not just to plain "0" as a statement.
19824 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19825 with cw.
19826
d9814526
JM
198272012-12-06 Joseph Myers <joseph@codesourcery.com>
19828
19829 * NEWS: Use sourceware.org in Bugzilla URL.
19830
7728c574
SP
198312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19832
f16946dd
SP
19833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19834 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19835
5704bbcb
SP
19836 * stdio-common/tst-put-error.c (do_test): Add newline to the
19837 padded test to ensure flush.
19838
17aa0516
JL
198392012-12-05 Jeff Law <law@redhat.com>
19840
19841 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19842
363313b5
JM
198432012-12-05 Joseph Myers <joseph@codesourcery.com>
19844
effbd42a
JM
19845 * README: Don't refer to ports add-on as distributed separately.
19846 Mention AArch64 in list of systems supported in the ports add-on.
19847
87600365
JM
19848 * LICENSES: Add more non-FSF copyright and license notices.
19849
a0d7066a
JM
19850 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19851 ((unused)).
19852
66ca5a5b
JM
19853 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19854
363313b5
JM
19855 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19856 10000 as width of padded output.
19857
b37984ad
JM
198582012-12-04 Joseph Myers <joseph@codesourcery.com>
19859
9003570a
JM
19860 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19861
b37984ad
JM
19862 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19863 variable LX with __attribute__ ((unused)).
19864 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19865 Likewise.
19866 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19868 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19869 with __attribute__ ((unused)).
19870
c8df52ec
DM
198712012-12-04 David S. Miller <davem@abraco.davemloft.net>
19872
19873 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19874
b3b099af
JM
198752012-12-04 Joseph Myers <joseph@codesourcery.com>
19876
c33aa6e3
JM
19877 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19878 (CFLAGS-nldbl-acos.c): New variable.
19879 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19880 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19881 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19882 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19883 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19884 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19885 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19886 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19887 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19888 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19889 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19890 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19891 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19892 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19893 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19894 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19895 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19896 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19897 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19898 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19899 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19900 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19901 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19902 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19903 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19904 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19905 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19906 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19907 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19908 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19909 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19910 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19911 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19912 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19913 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19914 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19915 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19916 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19917 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19918 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19919 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19920 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19921 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19922 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19923 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19924 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19925 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19926 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19927 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19928 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19929 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19930 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19931 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19932 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19933 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19934 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19935 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19936 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19937 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19938 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19939 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19940 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19941 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19942 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19943 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19944 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19945 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19946 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19947 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19948 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19949 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19950 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19951 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19952 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19953 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19954 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19955 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19956 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19957 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19958 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19959 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19960 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19961 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19962 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19963 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19964 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19965 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19966 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19967 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19968 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19969 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19970 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19971 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19972 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19973 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19974 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19975 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19976
20f0018d
JM
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19978 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19979
b3b099af
JM
19980 [BZ #14914]
19981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19982 whole low double instead of just low 47 bits when splitting values
19983 into two parts.
19984
029264d1
AM
199852012-12-03 Allan McRae <allan@archlinux.org>
19986
19987 * manual/stdio.texi (Predefined Printf Handlers): Remove
19988 @hsep and @vsep usage.
19989
c9d6789e
MF
199902012-12-03 Mike Frysinger <vapier@gentoo.org>
19991
19992 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19993 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19994
4b7634a5
JL
199952012-12-03 Jeff Law <law@redhat.com>
19996
19997 * time/sys/time.h (settimeofday): Do not mark TV argument
19998 as __nonnull.
19999
eb6cbd24
MF
200002012-12-01 Mike Frysinger <vapier@gentoo.org>
20001
20002 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20003 when currently writing and seek to current position when not.
20004 * libio/Makefile (tests): Remove bug-fclose1.
20005 * libio/bug-fclose1.c: Delete.
20006
f638872a
JM
200072012-12-01 Joseph Myers <joseph@codesourcery.com>
20008
20009 * manual/arith.texi (feenableexcept): Fix typo.
20010 (fedisableexcept): Likewise.
20011
48085d14
RM
200122012-11-30 Roland McGrath <roland@hack.frob.com>
20013
20014 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20015 second, differently-typed declaration, rather than a cast.
20016
1a538b9f
SP
200172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20018
20019 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20020 * include/rpc/svc.h: ... here.
20021
d07f2ff1 200222012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20023
20024 [BZ #13013]
20025 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20026 depending n and resplen2 to catch cases where answer
20027 equals answerp2.
20028
c93ec1f0
CD
200292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20030
20031 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20032 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20033
37db69de
MF
200342012-11-29 Mike Frysinger <vapier@gentoo.org>
20035
20036 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20037
e10c4e4f
RM
200382012-11-29 Roland McGrath <roland@hack.frob.com>
20039
20040 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20041
2af1b328
JL
200422012-11-28 Jeff Law <law@redhat.com>
20043
20044 [BZ #13761]
20045 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20046 dataset_temporary. Track alloca usage into alloca_used.
20047 If dataset is large allocate and release it via malloc/free.
20048
111db5b1
FW
200492012-06-04 Florian Weimer <fweimer@redhat.com>
20050
f06cc227 20051 [BZ #14197]
111db5b1
FW
20052 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20053
dd694abd
DM
200542012-11-28 David S. Miller <davem@davemloft.net>
20055
20056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20057
9984dd01
JM
200582012-11-28 Joseph Myers <joseph@codesourcery.com>
20059
20060 [BZ #14803]
20061 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20062 of pi/2 rounded to nearest to 64 bits.
20063 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20064 nearest to 64 bits.
20065 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20066 bits.
20067
14bc93a9
JL
200682012-11-28 Jeff Law <law@redhat.com>
20069 Martin Osvald <mosvald@redhat.com>
20070
20071 [BZ #14889]
20072 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20073 * sunrpc/svc.c: Include time.h.
20074 (__svc_accept_failed): New function.
20075 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20076 any reason other than EINTR, call __svc_accept_failed.
20077 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20078 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20079
e3c6aa3a
AS
200802012-11-28 Andreas Schwab <schwab@suse.de>
20081
20082 * scripts/abilist.awk: Also handle indirect functions in .opd
20083 section.
20084
1bead169
JM
200852012-11-28 Joseph Myers <joseph@codesourcery.com>
20086
20087 [BZ #13881]
20088 * sysdeps/x86/fpu/powl_helper.c: New file.
20089 * sysdeps/x86/fpu/Makefile: Likewise.
20090 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20091 (p3): New object.
20092 (__ieee754_powl): Use __powl_helper for finite arguments except
20093 integer exponents below 8.
20094 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20095 (p3): New object.
20096 (__ieee754_powl): Use __powl_helper for finite arguments except
20097 integer exponents below 8.
20098 * math/libm-test.inc (pow_test): Add more tests and enable some
20099 previously disabled tests.
20100 * sysdeps/i386/fpu/libm-test-ulps: Update.
20101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20102
0817d63d
SP
201032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20104 Carlos O'Donell <carlos_odonell@mentor.com>
20105
20106 * nss/makedb.c (is_prime): Assert that input is odd and greater
20107 than 4. Note that fact in a comment too.
20108 (next_prime): Add 4 to input.
20109
de2fd463
SP
201102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20111
20112 [BZ #11741]
20113 * libio/Makefile (tests): Add test case tst-fwrite-error.
20114 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20115 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20116 * libio/tst-fwrite-error.c: New test case.
20117
c515fb51
L
201182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20121 before casting to void *.
20122 * include/libc-internal.h (__pointer_type): New macro.
20123 (__integer_if_pointer_type_sub): Likewise.
20124 (__integer_if_pointer_type): Likewise.
20125 (cast_to_integer): Likewise.
20126 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20127 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20128 before casting to atomic64_t.
20129 (atomic_exchange_acq): Likewise.
20130 (__arch_exchange_and_add_body): Likewise.
20131 (__arch_add_body): Likewise.
20132 (atomic_add_negative): Likewise.
20133 (atomic_add_zero): Likewise.
20134
4cf77aa9
JM
201352012-11-26 Joseph Myers <joseph@codesourcery.com>
20136
20137 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20138 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20139 (add_fdes): Likewise.
20140 (linear_search_fdes): Likewise.
20141 (binary_search_unencoded_fdes): Likewise.
20142
d260b3b4
AS
201432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20144
20145 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20146
67060746
AC
201472012-11-24 Adam Conrad <adconrad@0c3.net>
20148
20149 * configure.in: Autodetect C++ header directories.
20150 * configure: Regenerated.
20151
800938a1
MF
201522012-11-23 Mike Frysinger <vapier@gentoo.org>
20153
20154 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20155
4e6e34e6
AS
201562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20157
20158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20159
7c7feb47
JM
201602012-11-22 Joseph Myers <joseph@codesourcery.com>
20161
7184dcdf
JM
20162 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20163 LDBL_MANT_DIG == 106]: Disable some tests.
20164 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20165 Likewise.
20166 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20167 Likewise.
20168
0a42601f
JM
20169 [BZ #14871]
20170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20171 input for small inputs. Return +/- pi/2 for large inputs.
20172 * math/libm-test.inc (atan_test): Add more tests.
20173
79c9b9fe
JM
20174 * sysdeps/generic/unwind-dw2-fde-glibc.c
20175 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20176 __attribute__ ((unused)).
20177
c60d3bf2
JM
20178 [BZ #14645]
20179 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20180 x * y if x and y are nonzero and z is zero.
20181
ef1e0867
JM
20182 [BZ #14811]
20183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20184 nonzero exponents with absolute value below 0x1p-117 to +/-
20185 0x1p-117.
20186
1468ded3
JM
20187 [BZ #14869]
20188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20189 up arguments below 2**-450, not just those below 2**-500.
20190 * math/libm-test.inc (hypot_test): Add another test.
20191
8e27e3cc
JM
20192 [BZ #14868]
20193 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20194 Return a+b for ratio over 2**120, not 2**60.
20195 * math/libm-test.inc (hypot_test): Add another test.
20196
c9c0279b
JM
20197 * math/libm-test.inc (clog_test): Use
20198 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20199 (clog10_test): Likewise.
20200
7c7feb47
JM
20201 [BZ #6778]
20202 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20203
fff1530e
AS
202042012-11-22 Andreas Schwab <schwab@suse.de>
20205
20206 * sysdeps/i386/fpu/libm-test-ulps: Update.
20207
94558d30
PT
202082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20209
20210 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20211 printf output with newline.
20212
7e1be741
L
202132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20214
6bfea974
L
20215 [BZ #14865]
20216 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20217 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20218 -z nodlopen, -z initfirst and -z execstack support.
20219 * configure: Regenerated.
20220
7e1be741
L
20221 * elf/elf.h (DF_1_NODIRECT): New macro.
20222 (DF_1_IGNMULDEF): Likewise.
20223 (DF_1_NOKSYMS): Likewise.
20224 (DF_1_NOHDR): Likewise.
20225 (DF_1_EDITED): Likewise.
20226 (DF_1_NORELOC): Likewise.
20227 (DF_1_SYMINTPOSE): Likewise.
20228 (DF_1_GLOBAUDIT): Likewise.
20229 (DF_1_SINGLETON): Likewise.
20230 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20231 DT_1_SUPPORTED_MASK bits.
20232 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20233
105ce2ce
CD
202342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20235
20236 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20237
123be9de
TS
202382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20239
d072f3f7
TS
20240 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20241 macro.
20242
123be9de
TS
20243 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20244 (sendmmsg): Move declarations...
20245 * socket/sys/socket.h: ... here.
20246 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20247 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20248 include it from...
20249 * socket/recvmmsg.c: ... this new file.
20250 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20251 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20252 definition of __sendmmsg hidden.
20253 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20254 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20255 Move ENOSYS stub into and include it from...
20256 * socket/sendmmsg.c: ... this new file.
20257 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20258 (sysdep_routines): Move recvmmsg and sendmmsg...
20259 * socket/Makefile (routines): ... here.
20260 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20261 (GLIBC_PRIVATE): Add __sendmmsg.
20262 * include/sys/socket.h (__sendmmsg): Add declarations.
20263 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20264 sendmmsg.
20265
cf9a5d18
JM
202662012-11-20 Joseph Myers <joseph@codesourcery.com>
20267
20268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20269 variable I1 with __attribute__ ((unused)).
20270 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20271
ecd4caf9
JM
202722012-11-19 Joseph Myers <joseph@codesourcery.com>
20273
be14d48f
JM
20274 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20275 DUMMY variables with __attribute__ ((unused)).
20276
ecd4caf9
JM
20277 * bits/byteswap.h: Include <bits/types.h>.
20278 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20279
986cab95
PT
202802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20281
20282 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20283 string_t. Do not manually set errno.
20284 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20285 length with __strnlen. Make sure to both set errno and return it on
20286 failure.
20287
6d33cc9d
DM
202882012-11-19 David S. Miller <davem@davemloft.net>
20289
20290 With help from Joseph Myers.
20291 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20292 very large arguments properly.
20293 * math/libm-test.inc (atan_test): New tests.
20294 (atan2_test): New tests.
20295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20297
ee663277
JM
202982012-11-19 Joseph Myers <joseph@codesourcery.com>
20299
877f2d8e
JM
20300 [BZ #14856]
20301 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20302 Define to 3.
20303
116fc08a
JM
20304 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20305 [POSIX] (EADDRNOTAVAIL): Likewise.
20306 [POSIX] (EAFNOSUPPORT): Likewise.
20307 [POSIX] (EALREADY): Likewise.
20308 [POSIX] (ECONNABORTED): Likewise.
20309 [POSIX] (ECONNREFUSED): Likewise.
20310 [POSIX] (ECONNRESET): Likewise.
20311 [POSIX] (EDESTADDRREQ): Likewise.
20312 [POSIX] (EDQUOT): Likewise.
20313 [POSIX] (EHOSTUNREACH): Likewise.
20314 [POSIX] (EIDRM): Likewise.
20315 [POSIX] (EISCONN): Likewise.
20316 [POSIX] (ELOOP): Likewise.
20317 [POSIX] (EMULTIHOP): Likewise.
20318 [POSIX] (ENETDOWN): Likewise.
20319 [POSIX] (ENETUNREACH): Likewise.
20320 [POSIX] (ENOBUFS): Likewise.
20321 [POSIX] (ENODATA): Likewise.
20322 [POSIX] (ENOLINK): Likewise.
20323 [POSIX] (ENOMSG): Likewise.
20324 [POSIX] (ENOPROTOOPT): Likewise.
20325 [POSIX] (ENOSR): Likewise.
20326 [POSIX] (ENOSTR): Likewise.
20327 [POSIX] (ENOTCONN): Likewise.
20328 [POSIX] (ENOTSOCK): Likewise.
20329 [POSIX] (EOPNOTSUPP): Likewise.
20330 [POSIX] (EOVERFLOW): Likewise.
20331 [POSIX] (EPROTO): Likewise.
20332 [POSIX] (EPROTONOSUPPORT): Likewise.
20333 [POSIX] (EPROTOTYPE): Likewise.
20334 [POSIX] (ESTALE): Likewise.
20335 [POSIX] (ETIME): Likewise.
20336 [POSIX] (ETXTBSY): Likewise.
20337 [POSIX] (EWOULDBLOCK): Likewise.
20338 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20339 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20340 [POSIX] (SEEK_CUR): Likewise.
20341 [POSIX] (SEEK_END): Likewise.
20342 [POSIX || UNIX98] (mode_t): Do not require.
20343 [POSIX] (off_t): Likewise.
20344 [POSIX] (pid_t): Likewise.
20345 [POSIX] (sys/stat.h): Do not allow header.
20346 [POSIX] (unistd.h): Likewise.
20347 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20348 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20350 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20351 require.
20352 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20353 sigevent): Specify elements.
20354 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20355 entry.
20356 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20357 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20358
a483863f
JM
20359 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20360 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20361 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20362 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20363 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20364 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20365 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20366 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20368 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20369 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20370 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20371 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20372 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20373 Likewise.
20374 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20375 Likewise.
20376 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20377 Likewise.
20378 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20379 Likewise.
20380 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20381 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20382 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20383 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20384 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20385 Specify lower bound on value.
20386 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20387 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20388 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20389 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20390 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20391 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20392 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20393 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20394 value.
20395 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20396 as optional.
20397 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20398 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20399 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20400 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20401 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20402 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20403 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20404 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20405 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20406 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20407 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20408 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20409 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20410 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20411 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20412 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20413 entry.
20414 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20415 optional.
20416 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20417 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20418 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20419 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20420 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20421 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20422 Likewise.
20423 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20424 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20425 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20426 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20427 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20428 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20429 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20430 as optional.
20431 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20432 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20433 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20434 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20435 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20436 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20437 specify as optional.
20438 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20439 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20440 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20441 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20442 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20443 [XPG3] (NL_LANGMAX): Likewise.
20444 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20445 [POSIX || XPG3] (NL_NMAX): Likewise.
20446 [POSIX || XPG3] (NL_SETMAX): Likewise.
20447 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20448 [XPG3] (NZERO): Likewise.
20449 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20450 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20451 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20452 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20453 (REG_ERANGE): Expect.
20454 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20455 optional-constant.
20456 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20457 Use (void) in prototype.
20458 [POSIX] (*_t): Allow.
20459 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20460 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20461 (WRDE_BADVAL): Expect.
20462
5ba924e3
JM
20463 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20464 expect.
20465 [XPG3 || XPG4] (O_RSYNC): Likewise.
20466 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20467 Likewise.
20468 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20469 [XPG3 || XPG4] (sigqueue): Likewise.
20470 [XPG3 || XPG4] (sigtimedwait): Likewise.
20471 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20472 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20473 [XPG3 || XPG4] (vsnprintf): Likewise.
20474 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20475 Likewise.
20476 [XPG3 || XPG4] (blksize_t): Likewise.
20477 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20478 Likewise.
20479 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20480 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20481 [XPG3 || XPG4] (struct itimerspec): Likewise.
20482 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20483 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20484 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20485 [XPG3 || XPG4] (clockid_t): Likewise.
20486 [XPG3 || XPG4] (timer_t): Likewise.
20487 [XPG3 || XPG4] (clock_getres): Likewise.
20488 [XPG3 || XPG4] (clock_gettime): Likewise.
20489 [XPG3 || XPG4] (clock_settime): Likewise.
20490 [XPG3 || XPG4] (nanosleep): Likewise.
20491 [XPG3 || XPG4] (timer_create): Likewise.
20492 [XPG3 || XPG4] (timer_delete): Likewise.
20493 [XPG3 || XPG4] (timer_gettime): Likewise.
20494 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20495 [XPG3 || XPG4] (timer_settime): Likewise.
20496 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20497 [XPG3 || XPG4] (getlogin_r): Likewise.
20498 [XPG3 || XPG4] (pread): Likewise.
20499 [XPG3 || XPG4] (pthread_atfork): Likewise.
20500 [XPG3 || XPG4] (pwrite): Likewise.
20501
ee663277
JM
20502 [BZ #14835]
20503 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20504 <bits/siginfo.h>.
20505
942caa16
PT
205062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20507
e19af380
PT
20508 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20509 finalizing MALLSTREAM.
20510
942caa16
PT
20511 * sysdeps/mach/hurd/syncfs.c: New file.
20512
cfde9b46
SP
205132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20514
20515 [BZ #14719]
20516 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20517 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20518 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20519 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20520 (_nss_dns_gethostbyname4_r): Likewise.
20521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20522 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20523
f6da27e5
PH
205242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20525
20526 [BZ #13763]
20527 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20528
6665d4a2
SM
205292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20530
1f51ee92
SM
20531 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20532 * elf/cache.c (print_entry): Print ",AArch64" for
20533 FLAG_AARCH64_LIB64
20534
6665d4a2
SM
20535 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20536 * elf/cache.c (print_entry): Print ",hard-float" for
20537 FLAG_ARM_LIBHF.
20538
05b227bd
DM
205392012-11-18 David S. Miller <davem@davemloft.net>
20540
20541 With help from Joseph Myers.
20542 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20543 cutoff to 2**-13.
20544 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20545 cutoff to 2**-25.
20546 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20547 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20548 small.
20549 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20550 * math/libm-test.inc (y0_test): New tests.
20551 (y1_test): New tests.
20552 * sysdeps/i386/fpu/libm-test-ulps: Update.
20553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20555
786b0b67
AS
205562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20557
20558 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20559 64-bit targets.
20560 * configure: Regenerated.
20561
8e18b86d
DM
205622012-11-17 David S. Miller <davem@davemloft.net>
20563
20564 [BZ #14811]
20565 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20566 nonzero exponents with absolute value below 0x1p-128 to +/-
20567 0x1p-128.
20568
531f1ae0
JM
205692012-11-17 Joseph Myers <joseph@codesourcery.com>
20570
12df29e2
JM
20571 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20572
150dc1a0
JM
20573 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20574
531f1ae0
JM
20575 * posix/getconf-speclist.c: New file.
20576 * posix/posix-envs.def: Likewise.
20577 * posix/confstr.c (START_ENV_GROUP): New macro.
20578 (END_ENV_GROUP): Likewise.
20579 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20580 (KNOWN_PRESENT_ENV_STRING): Likewise.
20581 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20582 (UNKNOWN_ENVIRONMENT): Likewise.
20583 (confstr): Include posix-envs.def instead of handling
20584 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20585 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20586 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20587 (END_ENV_GROUP): Likewise.
20588 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20589 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20590 (UNKNOWN_ENVIRONMENT): Likewise.
20591 (__sysconf): Include posix-envs.def instead of handling associated
20592 cases directly here.
20593 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20594 preprocessing getconf-speclist.c rather than running getconf or
20595 generating empty file.
20596
a93f9cbc
PT
205972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20598
20599 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20600
d64d9f87
AL
206012012-11-16 Andrej Lajovic <natrij@gmail.com>
20602
20603 [BZ #14672]
20604 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20605
447885eb
DM
206062012-11-16 David S. Miller <davem@davemloft.net>
20607
20608 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20609 smaller than LDBL_EPSILON/2.0L, just return xm1.
20610
bcbf9830
L
206112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20612
20613 * elf/tst-array1.c (init): Set constructor priority to 1000.
20614 (fini): Set destructor priority to 1000.
20615 * elf/tst-array2dep.c: Likewise.
20616
2b766585
SP
206172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20618
20619 [BZ #11741]
20620 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20621 (_IO_new_file_xsputn): Also return EOF if none of the input
20622 data was written when overflow failed.
20623 * libio/iopadn.c (_IO_padn): Likewise.
20624 * libio/iowpadn.c (_IO_wpadn): Likewise.
20625 * stdio-common/tst-put-error.c: Add copyright notice.
20626 (do_test): Add case for printing padded string.
20627 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20628 _IO_padn returned error.
20629 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20630 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20631 return EOF.
20632
b1848fde
SP
206332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20634
20635 * libio/libioP.h: Add comment note that the references to C++
20636 bits are now obsolete.
20637
2fd89785
MS
206382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20639
20640 * math/libm-test.inc (check_complex): Use asprintf.
20641
e3ea5409
JM
206422012-11-14 Joseph Myers <joseph@codesourcery.com>
20643
20644 * debug/pcprofiledump.c (print_version): Update copyright year.
20645 * malloc/memusagestat.c (print_version): Likewise.
20646
2e64d265
L
206472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20648
20649 [BZ #14831]
20650 * elf/Makefile (tests): Add tst-audit8.
20651 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20652 ($(objpfx)tst-audit8.out): New target.
20653 (tst-audit8-ENV): New variable.
20654 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20655 audit if l_reloc_result is NULL.
20656 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20657 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20658 * elf/tst-audit8.c: New file.
20659
c485e4d2
MS
206602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20661
20662 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20663 * misc/Makefile (CFLAGS-select.c): Define.
20664 * posix/Makefile (CFLAGS-pause.c): Define.
20665
3a0d900a
DM
206662012-11-13 David S. Miller <davem@davemloft.net>
20667
20668 * crypt/Makefile: Move test targets after toplevel Rules
20669 inclusion. Grab any necessary sysdep routines when linking.
20670 * crypt/md5.c (md5_process_block): Remove define, we will always
20671 name it __md5_process_block.
20672 (md5_finish_ctx): Update md5_process_block call.
20673 (md5_stream): Likewise.
20674 (md5_process_bytes): Likewise.
20675 (md5_process_block): Rename to __md5_process_block and move to ...
20676 * crypt/md5-block.c: ... here.
20677 * crypt/sha256.c (sha256_process_block): Move to ...
20678 * crypt/sha256-block.c: ... here.
20679 * crypt/sha512.c (sha512_process_block): Move to ...
20680 * crypt/sha512-block.c: ... here.
20681 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20682 path.
20683 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20684 * sysdeps/sparc/sparc64/multiarch/Makefile
20685 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20686 crypt subdir.
20687 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20688 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20689 multiarch changes.
20690 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20691 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20692 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20693 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20694 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20695 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20696 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20697 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20698 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20699 file.
20700 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20701 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20702 file.
20703 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20704
8ca89318
JM
207052012-11-13 Joseph Myers <joseph@codesourcery.com>
20706
e27d476a
JM
20707 * timezone/tzselect.ksh: Update from tzcode git revision
20708 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20709 * timezone/zdump.c: Likewise.
20710 * timezone/zic.c: Likewise.
20711 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20712 in TZVERSION setting, not $(PKGVERSION).
20713 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20714 REPORT_BUGS_TO settings.
20715
8ca89318
JM
20716 [BZ #14838]
20717 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20718 macro.
20719
47594329
MS
207202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20721
20722 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20723 detection to immediately after _FP_ROUND().
20724 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20725 bits are 0.
20726
640ac3f1
DM
207272012-11-11 David S. Miller <davem@davemloft.net>
20728
20729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20730 inttypes.h
20731 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20732 __close rather than their public counterparts.
20733
3d2577bb
JM
207342012-11-10 Joseph Myers <joseph@codesourcery.com>
20735
20736 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20737 file.
20738 [UNIX98] (sem_timedwait): Do not expect.
20739 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20740 [XPG4 || UNIX98] (sockatmark): Do not expect.
20741 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20742 (clock_getcpuclockid): Do not expect.
20743 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20744 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20745 Do not expect.
20746 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20747 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20748 [UNIX98] (vwscanf): Likewise.
20749 [UNIX98] (vswscanf): Likewise.
20750
fb1ae1ee
JM
207512012-11-09 Joseph Myers <joseph@codesourcery.com>
20752
9ec6f8bd
JM
20753 * timezone/version.h: Remove file.
20754 * timezone/README: Do not refer to version.h.
20755 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20756 $(objpfx)version.h.
20757 ($(objpfx)zdump.o): Likewise.
c3f81911 20758 ($(objpfx)version.h): New target.
9ec6f8bd 20759
0aa8f8a1
JM
20760 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20761 2012i.
20762 * timezone/README: Don't mention modification to tzselect.ksh.
20763 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20764 work on unmodified tzselect.ksh. Substitute version numbers in
20765 tzselect.ksh.
20766
4e87147f
JM
20767 * Makefile (format-me): Remove.
20768 (INSTALL): Adjust indentation. Use commands directly instead of
20769 using $(format-me).
20770
8b748aed
JM
20771 * aclocal.m4 (ACX_PKGVERSION): New macro.
20772 (ACX_BUGURL): Likewise.
20773 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20774 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20775 (REPORT_BUGS_TO): Likewise.
20776 * configure: Regenerated.
20777 * config.h.in (PKGVERSION): New macro.
20778 (REPORT_BUGS_TO): Likewise.
20779 * config.make.in (PKGVERSION): New variable.
20780 (PKGVERSION_TEXI): Likewise.
20781 (REPORT_BUGS_TO): Likewise.
20782 (REPORT_BUGS_TEXI): Likewise.
20783 * Makefile (format-me): Use -I$(common-objpfx)manual.
20784 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20785 ($(common-objpfx)manual/%): New target.
20786 (manual/%): Remove target.
20787 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20788 (print_version): Use PKGVERSION.
20789 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20790 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20791 and REPORT_BUGS_TO.
20792 ($(objpfx)xtrace): Likewise.
20793 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20794 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20795 (print_version): Use PKGVERSION.
20796 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20797 (do_version): Use PKGVERSION.
20798 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20799 REPORT_BUGS_TO.
20800 (common-ldd-rewrite): Likewise.
20801 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20802 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20803 (print_version): Use PKGVERSION.
20804 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20805 * elf/pldd.c (argp_program_bug_address): Remove variable.
20806 (more_help): New function.
20807 (argp): Use more_help.
20808 (print_version): Use PKGVERSION.
20809 * elf/sln.c (main): Use PKGVERSION.
20810 (usage): Use REPORT_BUGS_TO.
20811 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20812 (top level): Use PKGVERSION.
20813 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20814 (print_version): Use PKGVERSION.
20815 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20816 (print_version): Use PKGVERSION.
20817 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20818 (print_version): Use PKGVERSION.
20819 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20820 (print_version): Use PKGVERSION.
20821 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20822 (print_version): Use PKGVERSION.
20823 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20824 (print_version): Use PKGVERSION.
20825 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20826 and BUGURL.
20827 ($(objpfx)memusage): Likewise.
20828 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20829 (do_version): Use PKGVERSION.
20830 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20831 (print_version): Use PKGVERSION.
20832 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20833 ($PKGVERSION): New variable.
20834 ($REPORT_BUGS_TO): Likewise.
20835 (usage): Use $REPORT_BUGS_TO.
20836 (top level): Use $PKGVERSION.
20837 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20838 ($(objpfx)pkgvers.texi): New rule.
20839 ($(objpfx)stamp-pkgvers): Likewise.
20840 * manual/install.texi: Include pkgvers.texi.
20841 (--with-pkgversion): Document new configure option.
20842 (--with-bugurl): Likewise.
20843 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20844 than necessarily for this particular distribution. Use
20845 REPORT_BUGS_TO for where to report bugs.
20846 * INSTALL: Regenerated.
20847 * manual/libc.texinfo: Include pkgvers.texi.
20848 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20849 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20850 (print_version): Use PKGVERSION.
20851 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20852 (print_version): Use PKGVERSION.
20853 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20854 (print_version): Use PKGVERSION.
20855 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20856 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20857 macro.
20858 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20859 (print_version): Use PKGVERSION.
20860 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20861 (print_version): Use PKGVERSION.
20862 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20863 and PKGVERSION.
20864
92e4b6a9
JM
20865 * timezone/checktab.awk: Update from tzcode 2012i.
20866 * timezone/ialloc.c: Likewise.
20867 * timezone/private.h: Likewise.
20868 * timezone/scheck.c: Likewise.
20869 * timezone/tzfile.h: Likewise.
20870 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20871 (TZVERSION): Hardcode tzcode version number.
20872 * timezone/zdump.c: Update from tzcode 2012i.
20873 * timezone/zic.c: Likewise.
20874 * timezone/version.h: New file.
20875 * timezone/README: Describe version.h. Update upstream location.
20876
9bde902c
JM
20877 [BZ #14824]
20878 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20879 (mktemp): Enable declaration.
20880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20884 Likewise.
20885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20886 Likewise.
20887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20888 Likewise.
20889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20890 Likewise.
20891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20892 Likewise.
20893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20894 Likewise.
20895
fb1ae1ee
JM
20896 [BZ #14821]
20897 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20898 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20899 for copies of such integer values.
20900 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20901 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20902
2c1adbcb
AJ
209032012-11-09 Andreas Jaeger <aj@suse.de>
20904
20905 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20906 definitions and declarations that are provided by
20907 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20908
d0f8457e
AK
209092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20910
3a235abb 20911 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20912 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20913 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20914 definition.
20915
57241e26
MS
209162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20917
20918 * elf/elf.h: Update comment before AArch64 relocations.
20919
60e8270d
DM
209202012-11-07 David S. Miller <davem@davemloft.net>
20921
20922 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20923 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20924 (__start_context): Declare.
20925 (__makecontext_ret): Delete.
20926 (__makecontext): Hook up __start_context instead of
20927 __makecontext_ret.
20928 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20929 (sysdep_routines): Add __start_context when in stdlib.
20930
0fbb0fbc
JM
209312012-11-07 Joseph Myers <joseph@codesourcery.com>
20932
20933 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20934 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20935 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20936 hardcoded "nm".
20937 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20938 (READELF): New variable. Use it instead of hardcoded "readelf".
20939
eb48db7e
L
209402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20941
20942 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20943 * sysdeps/x86/Makefile: Here.
20944 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20945 * sysdeps/x86/tst-xmmymm.sh: This.
20946
05bcf62a
JM
209472012-11-07 Joseph Myers <joseph@codesourcery.com>
20948
c4b6cf53
JM
20949 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20950 expectations.
20951 [UNIX98] (pthread_barrier_t): Do not expect.
20952 [UNIX98] (pthread_barrierattr_t): Likewise.
20953 [UNIX98] (pthread_spinlock_t): Likewise.
20954 [UNIX98] (pthread_barrier_destroy): Likewise.
20955 [UNIX98] (pthread_barrier_init): Likewise.
20956 [UNIX98] (pthread_barrier_wait): Likewise.
20957 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20958 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20959 [UNIX98] (pthread_barrierattr_init): Likewise.
20960 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20961 [UNIX98] (pthread_getcpuclockid): Likewise.
20962 [UNIX98] (pthread_mutex_timedlock): Likewise.
20963 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20964 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20965 [UNIX98] (pthread_sigmask): Likewise.
20966 [UNIX98] (pthread_spin_destroy): Likewise.
20967 [UNIX98] (pthread_spin_init): Likewise.
20968 [UNIX98] (pthread_spin_lock): Likewise.
20969 [UNIX98] (pthread_spin_trylock): Likewise.
20970 [UNIX98] (pthread_spin_unlock): Likewise.
20971 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20972 Do not expect.
20973 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20974 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20975 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20976 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20977 [XPG3 || XPG4] (pthread_key_t): Likewise.
20978 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20979 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20980 [XPG3 || XPG4] (pthread_once_t): Likewise.
20981 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20982 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20983 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20984 [XPG3 || XPG4] (pthread_t): Likewise.
20985
cbe6e120
JM
20986 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20987 not expect.
20988 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20989
1b126443
JM
20990 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20991 Change function return type to int.
20992
b961a573
JM
20993 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20994 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20995 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20996 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20997 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20998 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20999 [!POSIX] (posix_madvise): Likewise.
21000 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21001 && !UNIX98].
21002 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21003 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21004 (mode_t): Likewise.
21005 (posix_mem_offset): Likewise.
21006 (posix_typed_mem_get_info): Likewise.
21007 (posix_typed_mem_open): Likewise.
21008
9e188909
JM
21009 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21010 Change condition to [XOPEN2K8].
21011
05bcf62a
JM
21012 * conform/conformtest.pl: Preprocess allow-header data with -x c
21013 instead of from stdin.
21014 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21015 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21016 [C99-based standards] (cerfc): Likewise.
21017 [C99-based standards] (cexp2): Likewise.
21018 [C99-based standards] (cexpm1): Likewise.
21019 [C99-based standards] (clog10): Likewise.
21020 [C99-based standards] (clog1p): Likewise.
21021 [C99-based standards] (clog2): Likewise.
21022 [C99-based standards] (clgamma): Likewise.
21023 [C99-based standards] (ctgamma): Likewise.
21024 [C99-based standards] (cerff): Likewise.
21025 [C99-based standards] (cerfcf): Likewise.
21026 [C99-based standards] (cexp2f): Likewise.
21027 [C99-based standards] (cexpm1f): Likewise.
21028 [C99-based standards] (clog10f): Likewise.
21029 [C99-based standards] (clog1pf): Likewise.
21030 [C99-based standards] (clog2f): Likewise.
21031 [C99-based standards] (clgammaf): Likewise.
21032 [C99-based standards] (ctgammaf): Likewise.
21033 [C99-based standards] (cerfl): Likewise.
21034 [C99-based standards] (cerfcl): Likewise.
21035 [C99-based standards] (cexp2l): Likewise.
21036 [C99-based standards] (cexpm1l): Likewise.
21037 [C99-based standards] (clog10l): Likewise.
21038 [C99-based standards] (clog1pl): Likewise.
21039 [C99-based standards] (clog2l): Likewise.
21040 [C99-based standards] (clgammal): Likewise.
21041 [C99-based standards] (ctgammal): Likewise.
21042 * conform/data/inttypes.h-data [C99-based standards]: Include
21043 stdint.h-data. Remove all expectations for stdint.h contents.
21044 [C99-based standards] (PRI*): Do not allow.
21045 [C99-based standards] (SCN*): Likewise.
21046 [C99-based standards] (*_t): Likewise.
21047 [C99-based-standards] (PRId8): Expect macro.
21048 [C99-based-standards] (PRIi8): Likewise.
21049 [C99-based-standards] (PRIo8): Likewise.
21050 [C99-based-standards] (PRIu8): Likewise.
21051 [C99-based-standards] (PRIx8): Likewise.
21052 [C99-based-standards] (PRIX8): Likewise.
21053 [C99-based-standards] (SCNd8): Likewise.
21054 [C99-based-standards] (SCNi8): Likewise.
21055 [C99-based-standards] (SCNo8): Likewise.
21056 [C99-based-standards] (SCNu8): Likewise.
21057 [C99-based-standards] (SCNx8): Likewise.
21058 [C99-based-standards] (PRIdLEAST8): Likewise.
21059 [C99-based-standards] (PRIiLEAST8): Likewise.
21060 [C99-based-standards] (PRIoLEAST8): Likewise.
21061 [C99-based-standards] (PRIuLEAST8): Likewise.
21062 [C99-based-standards] (PRIxLEAST8): Likewise.
21063 [C99-based-standards] (PRIXLEAST8): Likewise.
21064 [C99-based-standards] (SCNdLEAST8): Likewise.
21065 [C99-based-standards] (SCNiLEAST8): Likewise.
21066 [C99-based-standards] (SCNoLEAST8): Likewise.
21067 [C99-based-standards] (SCNuLEAST8): Likewise.
21068 [C99-based-standards] (SCNxLEAST8): Likewise.
21069 [C99-based-standards] (PRIdFAST8): Likewise.
21070 [C99-based-standards] (PRIiFAST8): Likewise.
21071 [C99-based-standards] (PRIoFAST8): Likewise.
21072 [C99-based-standards] (PRIuFAST8): Likewise.
21073 [C99-based-standards] (PRIxFAST8): Likewise.
21074 [C99-based-standards] (PRIXFAST8): Likewise.
21075 [C99-based-standards] (SCNdFAST8): Likewise.
21076 [C99-based-standards] (SCNiFAST8): Likewise.
21077 [C99-based-standards] (SCNoFAST8): Likewise.
21078 [C99-based-standards] (SCNuFAST8): Likewise.
21079 [C99-based-standards] (SCNxFAST8): Likewise.
21080 [C99-based-standards] (PRId16): Likewise.
21081 [C99-based-standards] (PRIi16): Likewise.
21082 [C99-based-standards] (PRIo16): Likewise.
21083 [C99-based-standards] (PRIu16): Likewise.
21084 [C99-based-standards] (PRIx16): Likewise.
21085 [C99-based-standards] (PRIX16): Likewise.
21086 [C99-based-standards] (SCNd16): Likewise.
21087 [C99-based-standards] (SCNi16): Likewise.
21088 [C99-based-standards] (SCNo16): Likewise.
21089 [C99-based-standards] (SCNu16): Likewise.
21090 [C99-based-standards] (SCNx16): Likewise.
21091 [C99-based-standards] (PRIdLEAST16): Likewise.
21092 [C99-based-standards] (PRIiLEAST16): Likewise.
21093 [C99-based-standards] (PRIoLEAST16): Likewise.
21094 [C99-based-standards] (PRIuLEAST16): Likewise.
21095 [C99-based-standards] (PRIxLEAST16): Likewise.
21096 [C99-based-standards] (PRIXLEAST16): Likewise.
21097 [C99-based-standards] (SCNdLEAST16): Likewise.
21098 [C99-based-standards] (SCNiLEAST16): Likewise.
21099 [C99-based-standards] (SCNoLEAST16): Likewise.
21100 [C99-based-standards] (SCNuLEAST16): Likewise.
21101 [C99-based-standards] (SCNxLEAST16): Likewise.
21102 [C99-based-standards] (PRIdFAST16): Likewise.
21103 [C99-based-standards] (PRIiFAST16): Likewise.
21104 [C99-based-standards] (PRIoFAST16): Likewise.
21105 [C99-based-standards] (PRIuFAST16): Likewise.
21106 [C99-based-standards] (PRIxFAST16): Likewise.
21107 [C99-based-standards] (PRIXFAST16): Likewise.
21108 [C99-based-standards] (SCNdFAST16): Likewise.
21109 [C99-based-standards] (SCNiFAST16): Likewise.
21110 [C99-based-standards] (SCNoFAST16): Likewise.
21111 [C99-based-standards] (SCNuFAST16): Likewise.
21112 [C99-based-standards] (SCNxFAST16): Likewise.
21113 [C99-based-standards] (PRId32): Likewise.
21114 [C99-based-standards] (PRIi32): Likewise.
21115 [C99-based-standards] (PRIo32): Likewise.
21116 [C99-based-standards] (PRIu32): Likewise.
21117 [C99-based-standards] (PRIx32): Likewise.
21118 [C99-based-standards] (PRIX32): Likewise.
21119 [C99-based-standards] (SCNd32): Likewise.
21120 [C99-based-standards] (SCNi32): Likewise.
21121 [C99-based-standards] (SCNo32): Likewise.
21122 [C99-based-standards] (SCNu32): Likewise.
21123 [C99-based-standards] (SCNx32): Likewise.
21124 [C99-based-standards] (PRIdLEAST32): Likewise.
21125 [C99-based-standards] (PRIiLEAST32): Likewise.
21126 [C99-based-standards] (PRIoLEAST32): Likewise.
21127 [C99-based-standards] (PRIuLEAST32): Likewise.
21128 [C99-based-standards] (PRIxLEAST32): Likewise.
21129 [C99-based-standards] (PRIXLEAST32): Likewise.
21130 [C99-based-standards] (SCNdLEAST32): Likewise.
21131 [C99-based-standards] (SCNiLEAST32): Likewise.
21132 [C99-based-standards] (SCNoLEAST32): Likewise.
21133 [C99-based-standards] (SCNuLEAST32): Likewise.
21134 [C99-based-standards] (SCNxLEAST32): Likewise.
21135 [C99-based-standards] (PRIdFAST32): Likewise.
21136 [C99-based-standards] (PRIiFAST32): Likewise.
21137 [C99-based-standards] (PRIoFAST32): Likewise.
21138 [C99-based-standards] (PRIuFAST32): Likewise.
21139 [C99-based-standards] (PRIxFAST32): Likewise.
21140 [C99-based-standards] (PRIXFAST32): Likewise.
21141 [C99-based-standards] (SCNdFAST32): Likewise.
21142 [C99-based-standards] (SCNiFAST32): Likewise.
21143 [C99-based-standards] (SCNoFAST32): Likewise.
21144 [C99-based-standards] (SCNuFAST32): Likewise.
21145 [C99-based-standards] (SCNxFAST32): Likewise.
21146 [C99-based-standards] (PRId64): Likewise.
21147 [C99-based-standards] (PRIi64): Likewise.
21148 [C99-based-standards] (PRIo64): Likewise.
21149 [C99-based-standards] (PRIu64): Likewise.
21150 [C99-based-standards] (PRIx64): Likewise.
21151 [C99-based-standards] (PRIX64): Likewise.
21152 [C99-based-standards] (SCNd64): Likewise.
21153 [C99-based-standards] (SCNi64): Likewise.
21154 [C99-based-standards] (SCNo64): Likewise.
21155 [C99-based-standards] (SCNu64): Likewise.
21156 [C99-based-standards] (SCNx64): Likewise.
21157 [C99-based-standards] (PRIdLEAST64): Likewise.
21158 [C99-based-standards] (PRIiLEAST64): Likewise.
21159 [C99-based-standards] (PRIoLEAST64): Likewise.
21160 [C99-based-standards] (PRIuLEAST64): Likewise.
21161 [C99-based-standards] (PRIxLEAST64): Likewise.
21162 [C99-based-standards] (PRIXLEAST64): Likewise.
21163 [C99-based-standards] (SCNdLEAST64): Likewise.
21164 [C99-based-standards] (SCNiLEAST64): Likewise.
21165 [C99-based-standards] (SCNoLEAST64): Likewise.
21166 [C99-based-standards] (SCNuLEAST64): Likewise.
21167 [C99-based-standards] (SCNxLEAST64): Likewise.
21168 [C99-based-standards] (PRIdFAST64): Likewise.
21169 [C99-based-standards] (PRIiFAST64): Likewise.
21170 [C99-based-standards] (PRIoFAST64): Likewise.
21171 [C99-based-standards] (PRIuFAST64): Likewise.
21172 [C99-based-standards] (PRIxFAST64): Likewise.
21173 [C99-based-standards] (PRIXFAST64): Likewise.
21174 [C99-based-standards] (SCNdFAST64): Likewise.
21175 [C99-based-standards] (SCNiFAST64): Likewise.
21176 [C99-based-standards] (SCNoFAST64): Likewise.
21177 [C99-based-standards] (SCNuFAST64): Likewise.
21178 [C99-based-standards] (SCNxFAST64): Likewise.
21179 [C99-based-standards] (PRIdMAX): Likewise.
21180 [C99-based-standards] (PRIiMAX): Likewise.
21181 [C99-based-standards] (PRIoMAX): Likewise.
21182 [C99-based-standards] (PRIuMAX): Likewise.
21183 [C99-based-standards] (PRIxMAX): Likewise.
21184 [C99-based-standards] (PRIXMAX): Likewise.
21185 [C99-based-standards] (SCNdMAX): Likewise.
21186 [C99-based-standards] (SCNiMAX): Likewise.
21187 [C99-based-standards] (SCNoMAX): Likewise.
21188 [C99-based-standards] (SCNuMAX): Likewise.
21189 [C99-based-standards] (SCNxMAX): Likewise.
21190 [C99-based-standards] (PRIdPTR): Likewise.
21191 [C99-based-standards] (PRIiPTR): Likewise.
21192 [C99-based-standards] (PRIoPTR): Likewise.
21193 [C99-based-standards] (PRIuPTR): Likewise.
21194 [C99-based-standards] (PRIxPTR): Likewise.
21195 [C99-based-standards] (PRIXPTR): Likewise.
21196 [C99-based-standards] (SCNdPTR): Likewise.
21197 [C99-based-standards] (SCNiPTR): Likewise.
21198 [C99-based-standards] (SCNoPTR): Likewise.
21199 [C99-based-standards] (SCNuPTR): Likewise.
21200 [C99-based-standards] (SCNxPTR): Likewise.
21201 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21202 allow.
21203 * conform/data/stdint.h-data: Update comments to clarify
21204 requirements.
21205 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21206 type.
21207 [C99-based standards] (INT8_MAX): Likewise.
21208 [C99-based standards] (INT16_MIN): Likewise.
21209 [C99-based standards] (INT16_MAX): Likewise.
21210 [C99-based standards] (INT32_MIN): Likewise.
21211 [C99-based standards] (INT32_MAX): Likewise.
21212 [C99-based standards] (INT64_MIN): Likewise.
21213 [C99-based standards] (INT64_MAX): Likewise.
21214 [C99-based standards] (UINT8_MAX): Likewise.
21215 [C99-based standards] (UINT16_MAX): Likewise.
21216 [C99-based standards] (UINT32_MAX): Likewise.
21217 [C99-based standards] (UINT64_MAX): Likewise.
21218 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21219 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21220 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21221 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21222 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21223 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21224 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21225 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21226 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21227 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21228 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21229 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21230 [C99-based standards] (INT_FAST8_MIN): Likewise.
21231 [C99-based standards] (INT_FAST8_MAX): Likewise.
21232 [C99-based standards] (INT_FAST16_MIN): Likewise.
21233 [C99-based standards] (INT_FAST16_MAX): Likewise.
21234 [C99-based standards] (INT_FAST32_MIN): Likewise.
21235 [C99-based standards] (INT_FAST32_MAX): Likewise.
21236 [C99-based standards] (INT_FAST64_MIN): Likewise.
21237 [C99-based standards] (INT_FAST64_MAX): Likewise.
21238 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21239 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21240 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21241 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21242 [C99-based standards] (INTPTR_MIN): Likewise.
21243 [C99-based standards] (INTPTR_MAX): Likewise.
21244 [C99-based standards] (UINTPTR_MAX): Likewise.
21245 [C99-based standards] (INTMAX_MIN): Likewise.
21246 [C99-based standards] (INTMAX_MAX): Likewise.
21247 [C99-based standards] (UINTMAX_MAX): Likewise.
21248 [C99-based standards] (PTRDIFF_MIN): Likewise.
21249 [C99-based standards] (PTRDIFF_MAX): Likewise.
21250 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21251 [C99-based standards] (SIZE_MAX): Likewise.
21252 [C99-based standards] (WCHAR_MAX): Likewise.
21253 [C99-based standards] (WINT_MAX): Likewise.
21254 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21255 constraint on value.
21256 [C99-based standards] (WCHAR_MIN): Likewise.
21257 [C99-based standards] (WINT_MIN): Likewise.
21258 [C99-based standards] (*_t): Allow.
21259 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21260 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21261 Include math.h-data and complex.h-data. Remove all expectations
21262 of math.h and complex.h contents.
21263 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21264 at end of line.
21265 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21266 (struct tm): Expect tag.
21267 [C99-based-standards] (wcstof): Expect function.
21268 [C99-based-standards] (wcstold): Likewise.
21269 [C99-based-standards] (wcstoll): Likewise.
21270 [C99-based-standards] (wcstoull): Likewise.
21271 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21272 macro-int-constant. Specify type.
21273 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21274 constraint on value.
21275 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21276 Specify type.
21277 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21278 Specify value.
21279 [ISO C standards]: Do not allow headers.
21280 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21281 wcs[abcdefghijklmnopqrstuvwxyz]*.
21282 [ISO C standards] (*_t): Do not allow.
21283 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21284 Expect function.
21285 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21286 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21287 Specify type.
21288 [ISO C standards]: Do not allow headers.
21289 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21290 is[abcdefghijklmnopqrstuvwxyz]*.
21291 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21292 to[abcdefghijklmnopqrstuvwxyz]*.
21293 [ISO C standards] (*_t): Do not allow.
21294 * conform/data/stdalign.h-data: New file.
21295 * conform/data/stdbool.h-data: Likewise.
21296 * conform/data/stdnoreturn.h-data: Likewise.
21297
7514feb8
RM
212982012-11-07 Roland McGrath <roland@hack.frob.com>
21299
21300 [BZ #14815]
21301 * manual/filesys.texi (Directory Entries): Typo fix.
21302 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21303
19b2ecfc
MS
213042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21305
21306 * elf/elf.h (EM_AARCH64): New macro.
21307 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21308 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21309 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21310 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21311 (R_AARCH64_TLSDESC): Likewise.
21312 (NT_ARM_TLS): Likewise.
21313 (NT_ARM_HW_BREAK): Likewise.
21314 (NT_ARM_HW_WATCH): Likewise.
21315
60e235ee
JM
213162012-11-07 Joseph Myers <joseph@codesourcery.com>
21317
21318 [BZ #14811]
21319 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21320 (__ieee754_powl): Saturate nonzero exponents with absolute value
21321 below 0x1p-79 to +/- 0x1p-79.
21322 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21323 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21324 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21325 nonzero exponents with absolute value below 0x1p-32 to +/-
21326 0x1p-32.
21327 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21328 (__ieee754_powl): Saturate nonzero exponents with absolute value
21329 below 0x1p-79 to +/- 0x1p-79.
21330 * math/libm-test.inc (pow_test): Add more tests.
21331
0ab234b7
AK
213322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21333
21334 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21335 _dl_s390_cap_flags with kernel. Increase string length.
21336 (_dl_s390_platforms): Add z196 and zEC12.
21337
45832f74
JM
213382012-11-07 Joseph Myers <joseph@codesourcery.com>
21339
21340 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21341 Change XOPEN21K to XOPEN2K.
21342
19218757
MK
213432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21344
21345 * string/memmove.c: Use memcpy when possible.
21346
c5f45721
AJ
213472012-11-06 Andreas Jaeger <aj@suse.de>
21348
21349 * po/eo.po: Update from translation team.
21350
82477c28
JM
213512012-11-06 Joseph Myers <joseph@codesourcery.com>
21352
21353 [BZ #14793]
21354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21355 exponent and small x and y exponents, scale x or y up. Increase
21356 by 2 the exponent used in scaling up.
21357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21359 * math/libm-test.inc (fma_test): Add more tests.
21360 (fma_test_towardzero): Likewise.
21361 (fma_test_downward): Likewise.
21362 (fma_test_upward): Likewise.
21363
99252c8c
JM
213642012-11-05 Joseph Myers <joseph@codesourcery.com>
21365
acfa885f
JM
21366 [BZ #14805]
21367 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21368 fenv_t *.
21369
99252c8c
JM
21370 [BZ #14801]
21371 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21372 namespace for names of struct fields.
21373 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21374 fenv_t fields.
21375 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21376 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21377
d6d98dea
ST
213782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21379
21380 [BZ #3665]
21381 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21382
e10bb107
TS
213832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21384
21385 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21386 PTR_DEMANGLE.
21387
21388 [BZ #5246]
21389 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21390 PTR_DEMANGLE.
21391
a0c2940d
JM
213922012-11-04 Joseph Myers <joseph@codesourcery.com>
21393
21394 [BZ #14797]
21395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21396 definitely overflow as x * y not x * y + z.
21397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21399 * math/libm-test.inc (fma_test): Add more tests.
21400 (fma_test_towardzero): Likewise.
21401 (fma_test_downward): Likewise.
21402 (fma_test_upward): Likewise.
21403
b830319d
TS
214042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21405
21406 [BZ #157]
21407
21408 * include/stub-tag.h: Remove file.
21409 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21410 '#include' of it.
21411 * manual/maint.texi (Porting): Don't reference it.
21412 * Makerules ($(objpfx)stubs): Likewise.
21413 * dirent/closedir.c: Don't include <stub-tag.h>.
21414 * dirent/dirfd.c: Likewise.
21415 * dirent/fdopendir.c: Likewise.
21416 * dirent/getdents.c: Likewise.
21417 * dirent/getdents64.c: Likewise.
21418 * dirent/opendir.c: Likewise.
21419 * dirent/readdir.c: Likewise.
21420 * dirent/readdir64.c: Likewise.
21421 * dirent/readdir64_r.c: Likewise.
21422 * dirent/readdir_r.c: Likewise.
21423 * dirent/rewinddir.c: Likewise.
21424 * dirent/seekdir.c: Likewise.
21425 * dirent/telldir.c: Likewise.
21426 * gmon/profil.c: Likewise.
21427 * grp/setgroups.c: Likewise.
21428 * inet/if_index.c: Likewise.
21429 * io/access.c: Likewise.
21430 * io/chdir.c: Likewise.
21431 * io/chmod.c: Likewise.
21432 * io/chown.c: Likewise.
21433 * io/close.c: Likewise.
21434 * io/dup.c: Likewise.
21435 * io/dup2.c: Likewise.
21436 * io/dup3.c: Likewise.
21437 * io/euidaccess.c: Likewise.
21438 * io/faccessat.c: Likewise.
21439 * io/fchdir.c: Likewise.
21440 * io/fchmod.c: Likewise.
21441 * io/fchmodat.c: Likewise.
21442 * io/fchown.c: Likewise.
21443 * io/fchownat.c: Likewise.
21444 * io/fcntl.c: Likewise.
21445 * io/flock.c: Likewise.
21446 * io/fstatfs.c: Likewise.
21447 * io/fstatfs64.c: Likewise.
21448 * io/fstatvfs.c: Likewise.
21449 * io/fstatvfs64.c: Likewise.
21450 * io/futimens.c: Likewise.
21451 * io/fxstat.c: Likewise.
21452 * io/fxstat64.c: Likewise.
21453 * io/fxstatat.c: Likewise.
21454 * io/fxstatat64.c: Likewise.
21455 * io/getcwd.c: Likewise.
21456 * io/isatty.c: Likewise.
21457 * io/lchmod.c: Likewise.
21458 * io/lchown.c: Likewise.
21459 * io/link.c: Likewise.
21460 * io/linkat.c: Likewise.
21461 * io/lseek.c: Likewise.
21462 * io/lseek64.c: Likewise.
21463 * io/lxstat64.c: Likewise.
21464 * io/mkdir.c: Likewise.
21465 * io/mkdirat.c: Likewise.
21466 * io/mkfifo.c: Likewise.
21467 * io/mkfifoat.c: Likewise.
21468 * io/open.c: Likewise.
21469 * io/open64.c: Likewise.
21470 * io/openat.c: Likewise.
21471 * io/openat64.c: Likewise.
21472 * io/pipe.c: Likewise.
21473 * io/pipe2.c: Likewise.
21474 * io/poll.c: Likewise.
21475 * io/posix_fadvise.c: Likewise.
21476 * io/posix_fadvise64.c: Likewise.
21477 * io/posix_fallocate.c: Likewise.
21478 * io/posix_fallocate64.c: Likewise.
21479 * io/read.c: Likewise.
21480 * io/readlink.c: Likewise.
21481 * io/readlinkat.c: Likewise.
21482 * io/rmdir.c: Likewise.
21483 * io/sendfile.c: Likewise.
21484 * io/sendfile64.c: Likewise.
21485 * io/statfs.c: Likewise.
21486 * io/statfs64.c: Likewise.
21487 * io/statvfs.c: Likewise.
21488 * io/statvfs64.c: Likewise.
21489 * io/symlink.c: Likewise.
21490 * io/symlinkat.c: Likewise.
21491 * io/ttyname.c: Likewise.
21492 * io/ttyname_r.c: Likewise.
21493 * io/umask.c: Likewise.
21494 * io/unlink.c: Likewise.
21495 * io/unlinkat.c: Likewise.
21496 * io/utime.c: Likewise.
21497 * io/utimensat.c: Likewise.
21498 * io/write.c: Likewise.
21499 * io/xmknod.c: Likewise.
21500 * io/xmknodat.c: Likewise.
21501 * io/xstat.c: Likewise.
21502 * io/xstat64.c: Likewise.
21503 * login/getpt.c: Likewise.
21504 * login/grantpt.c: Likewise.
21505 * login/unlockpt.c: Likewise.
21506 * math/e_acoshl.c: Likewise.
21507 * math/e_acosl.c: Likewise.
21508 * math/e_asinl.c: Likewise.
21509 * math/e_atan2l.c: Likewise.
21510 * math/e_atanhl.c: Likewise.
21511 * math/e_coshl.c: Likewise.
21512 * math/e_expl.c: Likewise.
21513 * math/e_fmodl.c: Likewise.
21514 * math/e_gammal_r.c: Likewise.
21515 * math/e_hypotl.c: Likewise.
21516 * math/e_j0l.c: Likewise.
21517 * math/e_j1l.c: Likewise.
21518 * math/e_jnl.c: Likewise.
21519 * math/e_lgammal_r.c: Likewise.
21520 * math/e_log10l.c: Likewise.
21521 * math/e_log2l.c: Likewise.
21522 * math/e_logl.c: Likewise.
21523 * math/e_powl.c: Likewise.
21524 * math/e_rem_pio2l.c: Likewise.
21525 * math/e_sinhl.c: Likewise.
21526 * math/e_sqrtl.c: Likewise.
21527 * math/fclrexcpt.c: Likewise.
21528 * math/fedisblxcpt.c: Likewise.
21529 * math/feenablxcpt.c: Likewise.
21530 * math/fegetenv.c: Likewise.
21531 * math/fegetexcept.c: Likewise.
21532 * math/fegetround.c: Likewise.
21533 * math/feholdexcpt.c: Likewise.
21534 * math/fesetenv.c: Likewise.
21535 * math/fesetround.c: Likewise.
21536 * math/feupdateenv.c: Likewise.
21537 * math/fgetexcptflg.c: Likewise.
21538 * math/fraiseexcpt.c: Likewise.
21539 * math/fsetexcptflg.c: Likewise.
21540 * math/ftestexcept.c: Likewise.
21541 * math/k_cosl.c: Likewise.
21542 * math/k_rem_pio2l.c: Likewise.
21543 * math/k_sinl.c: Likewise.
21544 * math/k_tanl.c: Likewise.
21545 * math/s_asinhl.c: Likewise.
21546 * math/s_atanl.c: Likewise.
21547 * math/s_cbrtl.c: Likewise.
21548 * math/s_erfl.c: Likewise.
21549 * math/s_expm1l.c: Likewise.
21550 * math/s_log1pl.c: Likewise.
21551 * math/s_tanhl.c: Likewise.
21552 * misc/acct.c: Likewise.
21553 * misc/brk.c: Likewise.
21554 * misc/chflags.c: Likewise.
21555 * misc/chroot.c: Likewise.
21556 * misc/fchflags.c: Likewise.
21557 * misc/fgetxattr.c: Likewise.
21558 * misc/flistxattr.c: Likewise.
21559 * misc/fremovexattr.c: Likewise.
21560 * misc/fsetxattr.c: Likewise.
21561 * misc/fsync.c: Likewise.
21562 * misc/ftruncate.c: Likewise.
21563 * misc/futimes.c: Likewise.
21564 * misc/futimesat.c: Likewise.
21565 * misc/getdomain.c: Likewise.
21566 * misc/getdtsz.c: Likewise.
21567 * misc/gethostid.c: Likewise.
21568 * misc/gethostname.c: Likewise.
21569 * misc/getloadavg.c: Likewise.
21570 * misc/getpagesize.c: Likewise.
21571 * misc/getsysstats.c: Likewise.
21572 * misc/getxattr.c: Likewise.
21573 * misc/gtty.c: Likewise.
21574 * misc/ioctl.c: Likewise.
21575 * misc/lgetxattr.c: Likewise.
21576 * misc/listxattr.c: Likewise.
21577 * misc/llistxattr.c: Likewise.
21578 * misc/lremovexattr.c: Likewise.
21579 * misc/lsetxattr.c: Likewise.
21580 * misc/lutimes.c: Likewise.
21581 * misc/madvise.c: Likewise.
21582 * misc/mincore.c: Likewise.
21583 * misc/mlock.c: Likewise.
21584 * misc/mlockall.c: Likewise.
21585 * misc/mmap.c: Likewise.
21586 * misc/mprotect.c: Likewise.
21587 * misc/msync.c: Likewise.
21588 * misc/munlock.c: Likewise.
21589 * misc/munlockall.c: Likewise.
21590 * misc/munmap.c: Likewise.
21591 * misc/preadv.c: Likewise.
21592 * misc/preadv64.c: Likewise.
21593 * misc/ptrace.c: Likewise.
21594 * misc/pwritev.c: Likewise.
21595 * misc/pwritev64.c: Likewise.
21596 * misc/readv.c: Likewise.
21597 * misc/reboot.c: Likewise.
21598 * misc/remap_file_pages.c: Likewise.
21599 * misc/removexattr.c: Likewise.
21600 * misc/revoke.c: Likewise.
21601 * misc/select.c: Likewise.
21602 * misc/setdomain.c: Likewise.
21603 * misc/setegid.c: Likewise.
21604 * misc/seteuid.c: Likewise.
21605 * misc/sethostid.c: Likewise.
21606 * misc/sethostname.c: Likewise.
21607 * misc/setregid.c: Likewise.
21608 * misc/setreuid.c: Likewise.
21609 * misc/setxattr.c: Likewise.
21610 * misc/sstk.c: Likewise.
21611 * misc/stty.c: Likewise.
21612 * misc/swapoff.c: Likewise.
21613 * misc/swapon.c: Likewise.
21614 * misc/sync.c: Likewise.
21615 * misc/syncfs.c: Likewise.
21616 * misc/syscall.c: Likewise.
21617 * misc/truncate.c: Likewise.
21618 * misc/ualarm.c: Likewise.
21619 * misc/usleep.c: Likewise.
21620 * misc/ustat.c: Likewise.
21621 * misc/utimes.c: Likewise.
21622 * misc/vhangup.c: Likewise.
21623 * misc/writev.c: Likewise.
21624 * posix/_exit.c: Likewise.
21625 * posix/alarm.c: Likewise.
21626 * posix/execve.c: Likewise.
21627 * posix/fexecve.c: Likewise.
21628 * posix/fork.c: Likewise.
21629 * posix/fpathconf.c: Likewise.
21630 * posix/getaddrinfo.c: Likewise.
21631 * posix/getegid.c: Likewise.
21632 * posix/geteuid.c: Likewise.
21633 * posix/getgid.c: Likewise.
21634 * posix/getgroups.c: Likewise.
21635 * posix/getlogin.c: Likewise.
21636 * posix/getlogin_r.c: Likewise.
21637 * posix/getpgid.c: Likewise.
21638 * posix/getpid.c: Likewise.
21639 * posix/getppid.c: Likewise.
21640 * posix/getresgid.c: Likewise.
21641 * posix/getresuid.c: Likewise.
21642 * posix/getsid.c: Likewise.
21643 * posix/getuid.c: Likewise.
21644 * posix/glob64.c: Likewise.
21645 * posix/nanosleep.c: Likewise.
21646 * posix/pathconf.c: Likewise.
21647 * posix/pause.c: Likewise.
21648 * posix/posix_madvise.c: Likewise.
21649 * posix/pread.c: Likewise.
21650 * posix/pread64.c: Likewise.
21651 * posix/pwrite.c: Likewise.
21652 * posix/pwrite64.c: Likewise.
21653 * posix/sched_getaffinity.c: Likewise.
21654 * posix/sched_getp.c: Likewise.
21655 * posix/sched_gets.c: Likewise.
21656 * posix/sched_primax.c: Likewise.
21657 * posix/sched_primin.c: Likewise.
21658 * posix/sched_rr_gi.c: Likewise.
21659 * posix/sched_setaffinity.c: Likewise.
21660 * posix/sched_setp.c: Likewise.
21661 * posix/sched_sets.c: Likewise.
21662 * posix/sched_yield.c: Likewise.
21663 * posix/setgid.c: Likewise.
21664 * posix/setlogin.c: Likewise.
21665 * posix/setpgid.c: Likewise.
21666 * posix/setresgid.c: Likewise.
21667 * posix/setresuid.c: Likewise.
21668 * posix/setsid.c: Likewise.
21669 * posix/setuid.c: Likewise.
21670 * posix/sleep.c: Likewise.
21671 * posix/spawni.c: Likewise.
21672 * posix/sysconf.c: Likewise.
21673 * posix/times.c: Likewise.
21674 * posix/wait.c: Likewise.
21675 * posix/wait3.c: Likewise.
21676 * posix/wait4.c: Likewise.
21677 * posix/waitpid.c: Likewise.
21678 * resolv/gai_sigqueue.c: Likewise.
21679 * resource/getpriority.c: Likewise.
21680 * resource/getrlimit.c: Likewise.
21681 * resource/getrusage.c: Likewise.
21682 * resource/nice.c: Likewise.
21683 * resource/setpriority.c: Likewise.
21684 * resource/setrlimit.c: Likewise.
21685 * resource/ulimit.c: Likewise.
21686 * rt/aio_cancel.c: Likewise.
21687 * rt/aio_fsync.c: Likewise.
21688 * rt/aio_read.c: Likewise.
21689 * rt/aio_sigqueue.c: Likewise.
21690 * rt/aio_suspend.c: Likewise.
21691 * rt/aio_write.c: Likewise.
21692 * rt/clock_getres.c: Likewise.
21693 * rt/clock_gettime.c: Likewise.
21694 * rt/clock_nanosleep.c: Likewise.
21695 * rt/clock_settime.c: Likewise.
21696 * rt/lio_listio.c: Likewise.
21697 * rt/mq_close.c: Likewise.
21698 * rt/mq_getattr.c: Likewise.
21699 * rt/mq_notify.c: Likewise.
21700 * rt/mq_open.c: Likewise.
21701 * rt/mq_receive.c: Likewise.
21702 * rt/mq_send.c: Likewise.
21703 * rt/mq_setattr.c: Likewise.
21704 * rt/mq_timedreceive.c: Likewise.
21705 * rt/mq_timedsend.c: Likewise.
21706 * rt/mq_unlink.c: Likewise.
21707 * rt/shm_open.c: Likewise.
21708 * rt/shm_unlink.c: Likewise.
21709 * rt/timer_create.c: Likewise.
21710 * rt/timer_delete.c: Likewise.
21711 * rt/timer_getoverr.c: Likewise.
21712 * rt/timer_gettime.c: Likewise.
21713 * rt/timer_settime.c: Likewise.
21714 * setjmp/__longjmp.c: Likewise.
21715 * setjmp/setjmp.c: Likewise.
21716 * signal/kill.c: Likewise.
21717 * signal/killpg.c: Likewise.
21718 * signal/raise.c: Likewise.
21719 * signal/sigaction.c: Likewise.
21720 * signal/sigaltstack.c: Likewise.
21721 * signal/sigblock.c: Likewise.
21722 * signal/sigignore.c: Likewise.
21723 * signal/sigintr.c: Likewise.
21724 * signal/signal.c: Likewise.
21725 * signal/sigpause.c: Likewise.
21726 * signal/sigpending.c: Likewise.
21727 * signal/sigqueue.c: Likewise.
21728 * signal/sigreturn.c: Likewise.
21729 * signal/sigset.c: Likewise.
21730 * signal/sigsetmask.c: Likewise.
21731 * signal/sigstack.c: Likewise.
21732 * signal/sigsuspend.c: Likewise.
21733 * signal/sigtimedwait.c: Likewise.
21734 * signal/sigvec.c: Likewise.
21735 * signal/sigwait.c: Likewise.
21736 * signal/sigwaitinfo.c: Likewise.
21737 * signal/sysv_signal.c: Likewise.
21738 * socket/accept.c: Likewise.
21739 * socket/accept4.c: Likewise.
21740 * socket/bind.c: Likewise.
21741 * socket/connect.c: Likewise.
21742 * socket/getpeername.c: Likewise.
21743 * socket/getsockname.c: Likewise.
21744 * socket/getsockopt.c: Likewise.
21745 * socket/isfdtype.c: Likewise.
21746 * socket/listen.c: Likewise.
21747 * socket/recv.c: Likewise.
21748 * socket/recvfrom.c: Likewise.
21749 * socket/recvmsg.c: Likewise.
21750 * socket/send.c: Likewise.
21751 * socket/sendmsg.c: Likewise.
21752 * socket/sendto.c: Likewise.
21753 * socket/setsockopt.c: Likewise.
21754 * socket/shutdown.c: Likewise.
21755 * socket/sockatmark.c: Likewise.
21756 * socket/socket.c: Likewise.
21757 * socket/socketpair.c: Likewise.
21758 * stdio-common/ctermid.c: Likewise.
21759 * stdio-common/cuserid.c: Likewise.
21760 * stdio-common/remove.c: Likewise.
21761 * stdio-common/rename.c: Likewise.
21762 * stdio-common/renameat.c: Likewise.
21763 * stdio-common/tempname.c: Likewise.
21764 * stdlib/getcontext.c: Likewise.
21765 * stdlib/makecontext.c: Likewise.
21766 * stdlib/setcontext.c: Likewise.
21767 * stdlib/swapcontext.c: Likewise.
21768 * stdlib/system.c: Likewise.
21769 * streams/fattach.c: Likewise.
21770 * streams/fdetach.c: Likewise.
21771 * streams/getmsg.c: Likewise.
21772 * streams/getpmsg.c: Likewise.
21773 * streams/putmsg.c: Likewise.
21774 * streams/putpmsg.c: Likewise.
21775 * sysdeps/unix/bsd/getpt.c: Likewise.
21776 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21777 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21778 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21780 Likewise.
21781 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21782 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21783 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21784 * sysvipc/msgctl.c: Likewise.
21785 * sysvipc/msgget.c: Likewise.
21786 * sysvipc/msgrcv.c: Likewise.
21787 * sysvipc/msgsnd.c: Likewise.
21788 * sysvipc/semctl.c: Likewise.
21789 * sysvipc/semget.c: Likewise.
21790 * sysvipc/semop.c: Likewise.
21791 * sysvipc/semtimedop.c: Likewise.
21792 * sysvipc/shmat.c: Likewise.
21793 * sysvipc/shmctl.c: Likewise.
21794 * sysvipc/shmdt.c: Likewise.
21795 * sysvipc/shmget.c: Likewise.
21796 * termios/tcdrain.c: Likewise.
21797 * termios/tcflow.c: Likewise.
21798 * termios/tcflush.c: Likewise.
21799 * termios/tcgetattr.c: Likewise.
21800 * termios/tcgetpgrp.c: Likewise.
21801 * termios/tcsendbrk.c: Likewise.
21802 * termios/tcsetattr.c: Likewise.
21803 * termios/tcsetpgrp.c: Likewise.
21804 * time/adjtime.c: Likewise.
21805 * time/clock.c: Likewise.
21806 * time/getitimer.c: Likewise.
21807 * time/gettimeofday.c: Likewise.
21808 * time/setitimer.c: Likewise.
21809 * time/settimeofday.c: Likewise.
21810 * time/stime.c: Likewise.
21811 * time/time.c: Likewise.
21812
218132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21814
a20492cf
PT
21815 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21816 /usr/old/bin.
21817
72e182e3
PT
21818 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21819 instead of spaces.
21820 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21821
fbeafede
JM
218222012-11-03 Joseph Myers <joseph@codesourcery.com>
21823
5b5b04d6
JM
21824 [BZ #14796]
21825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21826 FE_TONEAREST before applying Dekker multiplication and Knuth
21827 addition. Clear inexact exceptions and check for exact zero
21828 results afterwards.
21829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21830 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21832 * math/libm-test.inc (fma_test): Add more tests.
21833 (fma_test_towardzero): Likewise.
21834 (fma_test_downward): Likewise.
21835 (fma_test_upward): Likewise.
21836 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21837 function.
21838 (libc_fesetround): New macro.
21839 (libc_fesetroundf): Likewise.
21840 (libc_fesetroundl): Likewise.
21841 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21842 function.
21843 (libc_fesetround_387): Likewise.
21844 (libc_fesetroundf): New macro.
21845 (libc_fesetround): Likewise.
21846 (libc_fesetroundl): Likewise.
21847 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21848 function.
21849 (libc_fesetroundf): New macro.
21850 (libc_fesetround): Likewise.
21851 (libc_fesetroundl): Likewise.
21852 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21853 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21854 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21855 libm_hidden_ver.
21856 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21857 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21858 libm_hidden_def.
21859 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21860 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21861 libm_hidden_ver.
21862 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21863 libm_hidden_def.
21864
fbeafede
JM
21865 [BZ #3439]
21866 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21867 integer constant usable in #if and use that to give value to enum
21868 constant.
21869 (FE_DIVBYZERO): Likewise.
21870 (FE_UNDERFLOW): Likewise.
21871 (FE_OVERFLOW): Likewise.
21872 (FE_INVALID): Likewise.
21873 (FE_INVALID_SNAN): Likewise.
21874 (FE_INVALID_ISI): Likewise.
21875 (FE_INVALID_IDI): Likewise.
21876 (FE_INVALID_ZDZ): Likewise.
21877 (FE_INVALID_IMZ): Likewise.
21878 (FE_INVALID_COMPARE): Likewise.
21879 (FE_INVALID_SOFTWARE): Likewise.
21880 (FE_INVALID_SQRT): Likewise.
21881 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21882 (FE_TONEAREST): Likewise.
21883 (FE_TOWARDZERO): Likewise.
21884 (FE_UPWARD): Likewise.
21885 (FE_DOWNWARD): Likewise.
21886 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21887 (FE_DIVBYZERO): Likewise.
21888 (FE_OVERFLOW): Likewise.
21889 (FE_UNDERFLOW): Likewise.
21890 (FE_INEXACT): Likewise.
21891 (FE_TONEAREST): Likewise.
21892 (FE_DOWNWARD): Likewise.
21893 (FE_UPWARD): Likewise.
21894 (FE_TOWARDZERO): Likewise.
21895 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21896 (FE_UNDERFLOW): Likewise.
21897 (FE_OVERFLOW): Likewise.
21898 (FE_DIVBYZERO): Likewise.
21899 (FE_INVALID): Likewise.
21900 (FE_TONEAREST): Likewise.
21901 (FE_TOWARDZERO): Likewise.
21902 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21903 (FE_OVERFLOW): Likewise.
21904 (FE_UNDERFLOW): Likewise.
21905 (FE_DIVBYZERO): Likewise.
21906 (FE_INEXACT): Likewise.
21907 (FE_TONEAREST): Likewise.
21908 (FE_TOWARDZERO): Likewise.
21909 (FE_UPWARD): Likewise.
21910 (FE_DOWNWARD): Likewise.
21911 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21912 (FE_DIVBYZERO): Likewise.
21913 (FE_OVERFLOW): Likewise.
21914 (FE_UNDERFLOW): Likewise.
21915 (FE_INEXACT): Likewise.
21916 (FE_TONEAREST): Likewise.
21917 (FE_DOWNWARD): Likewise.
21918 (FE_UPWARD): Likewise.
21919 (FE_TOWARDZERO): Likewise.
21920
105ca950
CM
219212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21922
21923 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21924
a542b389
AS
219252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21926
21927 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21928 commands. Quote $PWD.
21929 (blacklist_exports): Don't use remove_newlines. Replace "declare
21930 -x" by "export".
21931 (remove_newlines): Remove.
21932
f62c8abc
L
219332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21934
21935 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21936 * stdlib/stdlib.h (atof): Moved to ...
21937 * include/bits/stdlib-float.h: Here. New file.
21938 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21939 * stdlib/bits/stdlib-float.h: New file.
21940 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21941 -mno-sse -mno-mmx.
21942 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21943 <xmmintrin.h>.
21944
0155d5b2
JM
219452012-11-02 Joseph Myers <joseph@codesourcery.com>
21946
a68d0680
JM
21947 * conform/conformtest.pl (@headers): Add fenv.h.
21948 * conform/data/fenv.h-data: New file.
21949 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21950 include of <math/fenv.h>.
21951
caf7f573
JM
21952 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21953 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21954 && !UNIX98]. Enables tests for XOPEN2K8.
21955 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21956 POSIX2008]: Likewise.
21957
6c073ad6
JM
21958 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21959 (struct rusage): Do not expect type or its members.
21960
0155d5b2
JM
21961 [BZ #3439]
21962 * math/math.h (FP_NAN): Define macro to integer constant usable in
21963 #if and use that to give value to enum constant.
21964 (FP_INFINITE): Likewise.
21965 (FP_ZERO): Likewise.
21966 (FP_SUBNORMAL): Likewise.
21967 (FP_NORMAL): Likewise.
21968
b5dcacb4
AS
219692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21970
21971 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21972 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21973 arguments.
21974
f7934be8
RM
219752012-11-02 Roland McGrath <roland@hack.frob.com>
21976
21977 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21978 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21979 autoconf-time if not.
21980 * configure.in: Remove AC_PREREQ.
21981
d7d08bde
TMQMF
219822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21983
21984 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21985 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21986 of the internal implementation.
21987
dcdae19a
JM
219882012-11-02 Joseph Myers <joseph@codesourcery.com>
21989
21990 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21991 except include of <misc/sys/syslog.h>.
21992
d6cffd3e
AS
219932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21994
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21996 function returns with a NULL context exit with zero.
21997
b3563932
TMQMF
219982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21999
22000 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22001
b288a93d
L
220022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22005 (run_program_cmd): This.
22006 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22007 (tst_langinfo): New variable. Use it.
22008
a2421a68
SAS
220092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22010
22011 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22012 floating point opcodes.
22013
6f796e1b
TS
220142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22015
7402596b
TS
22016 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22017 variable.
22018
d0d4f868
TS
22019 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22020
6f796e1b
TS
22021 * sysdeps/mach/hurd/powerpc: Remove directory.
22022 * sysdeps/mach/powerpc: Likewise.
22023
4da224a2
AS
220242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22025
22026 * scripts/check-local-headers.sh: Ignore c++ headers.
22027
341dd673
TS
220282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22029
22030 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22031 __libc_cleanup_region_start argument.
22032
473611b2
JM
220332012-11-01 Joseph Myers <joseph@codesourcery.com>
22034
22035 [BZ #14784]
22036 [BZ #14785]
22037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22038 x * y using scaling, not as x * y + z.
22039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22041 * math/libm-test.inc (fma_test): Add more tests.
22042 (fma_test_towardzero): Likewise.
22043 (fma_test_downward): Likewise.
22044 (fma_test_upward): Likewise.
22045
4078da3d
TS
220462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22047
22048 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22049
903252aa
JM
220502012-10-31 Joseph Myers <joseph@codesourcery.com>
22051
22052 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22053 New variable.
22054
cbc818d0
TS
220552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22056
22057 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22058
5a03cb1e
AS
220592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22060
22061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22062 Fix sort order.
22063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22064 Likewise.
22065
90aff2ff
TMQMF
220662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22067
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22069 Fix the order of the list for glibc 2.17.
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22071 Likewise.
22072
1818fcb7
AS
220732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22074
22075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22076
ef82f4da
JM
220772012-10-31 Joseph Myers <joseph@codesourcery.com>
22078
16a0e2ec
JM
22079 [BZ #14610]
22080 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22081 for low part of x being zero before using __atanl (y).
22082 * math/libm-test.inc (atan2_test): Add another test.
22083
0eb69512
JM
22084 * manual/install.texi (Configuring and compiling): Document
22085 general use of test-wrapper and test-wrapper-env.
22086 * INSTALL: Regenerated.
22087
ef82f4da
JM
22088 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22089 (__fma): Do not extract and scale down low bits on after-rounding
22090 systems when result rounded to normal precision would have normal
22091 exponent.
22092 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22093 (__fmal): Do not extract and scale down low bits on after-rounding
22094 systems when result rounded to normal precision would have normal
22095 exponent.
22096 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22097 (__fmal): Do not extract and scale down low bits on after-rounding
22098 systems when result rounded to normal precision would have normal
22099 exponent.
22100 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22101 macro.
22102 (fma_test): Add more tests.
22103 (fma_test_towardzero): Likewise.
22104 (fma_test_downward): Likewise.
22105 (fma_test_upward): Likewise.
22106
954ef0d9
L
221072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22108
22109 * sysdeps/i386/tininess.h: Renamed to ...
22110 * sysdeps/x86/tininess.h: This.
22111 * sysdeps/x86_64/tininess.h: Removed.
22112
df61ffb2
JM
221132012-10-30 Joseph Myers <joseph@codesourcery.com>
22114
22115 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22116 input. Use $(build-program-cmd).
22117 ($(objpfx)tst-array1-static.out): Likewise.
22118 ($(objpfx)tst-array2.out): Likewise.
22119 ($(objpfx)tst-array3.out): Likewise.
22120 ($(objpfx)tst-array4.out): Likewise.
22121 ($(objpfx)tst-array5.out): Likewise.
22122 ($(objpfx)tst-array5-static.out): Likewise.
22123
01767843
CM
221242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22125
47cc1490
CM
22126 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22127 if defined.
22128
01767843
CM
22129 * nss/nsswitch.h (nss_interface_function): Provide new
22130 macro for use with NSS functions.
22131 * grp/initgroups.c: Use new macro.
22132 * nss/getXXbyYY.c: Likewise.
22133 * nss/getXXbyYY_r.c: Likewise.
22134 * nss/getXXent.c: Likewise.
22135 * nss/getXXent_r.c: Likewise.
22136 * sysdeps/posix/getaddrinfo.c: Likewise.
22137
8321aa97
AJ
221382012-10-30 Andreas Jaeger <aj@suse.de>
22139
22140 * po/ru.po: Update Russion translation from translation project.
22141
2a27fd6d
JM
221422012-10-30 Joseph Myers <joseph@codesourcery.com>
22143
8627a232
JM
22144 [BZ #14152]
22145 [BZ #14783]
22146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22147 result and shift together with sticky bit instead of replicating
22148 round-to-nearest rounding.
22149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22151 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22152 missing underflow exceptions.
22153 (fma_test_towardzero): Add more tests.
22154 (fma_test_downward): Likewise.
22155 (fma_test_upward): Likewise.
22156
2a27fd6d
JM
22157 [BZ #14047]
22158 * sysdeps/generic/tininess.h: New file.
22159 * sysdeps/i386/tininess.h: Likewise.
22160 * sysdeps/sh/tininess.h: Likewise.
22161 * sysdeps/x86_64/tininess.h: Likewise.
22162 * stdlib/tst-strtod-underflow.c: Likewise.
22163 * stdlib/tst-tininess.c: Likewise.
22164 * stdlib/strtod_l.c: Include <tininess.h>.
22165 (round_and_return): Do not set errno for exact underflow cases.
22166 Force an underflow exception when setting errno for underflow.
22167 Determine underflow based on rounding to normal precision if
22168 TININESS_AFTER_ROUNDING.
22169 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22170 ERANGE for exact underflow cases.
22171 * stdlib/Makefile (tests): Add tst-tininess and
22172 tst-strtod-underflow.
22173 ($(objpfx)tst-tininess): Use $(link-libm).
22174 ($(objpfx)tst-strtod-underflow): Likewise.
22175
e7170363
AJ
221762012-10-30 Andreas Jaeger <aj@suse.de>
22177
e5088dc6
AJ
22178 [BZ#14767]
22179 * elf/Makefile (tests): Remove conditional for have-initfini-array
22180 since this is now always required and the variable does not exist
22181 anymore.
22182 (tests-static): Likewise.
22183 (modules-names): Likewise.
22184
e7170363 22185 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22186
22187 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22188 merged with constructor/destructor.
22189 (init_array): Likewise.
22190 * elf/tst-array2dep.c (fini_array): Likewise.
22191 (init_array): Likewise.
22192
60457d8a
MF
221932012-10-29 Mike Frysinger <vapier@gentoo.org>
22194
22195 * manual/message.texi: Delete @cartouche tags.
22196
8bece752
PT
221972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22198
94ce799f
PT
22199 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22200 EOPNOTSUPP.
22201 * sysdeps/mach/hurd/fsync.c: Likewise.
22202
8bece752
PT
22203 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22204 [_POSIX_REALTIME_SIGNALS]: Change condition to
22205 [_POSIX_REALTIME_SIGNALS > 0].
22206
86ebe6b1
AJ
222072012-10-27 Andreas Jaeger <aj@suse.de>
22208
22209 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22210 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22212 [__WORDSIZE != 64]: Likewise.
22213
54399c08
L
222142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22215
22216 * iconvdata/tst-table.sh: Remove ${SHELL}.
22217 * iconvdata/tst-tables.sh: Likewise.
22218
e2211bed
DM
222192012-10-25 David S. Miller <davem@davemloft.net>
22220
22221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22222 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22223 of strtoull.
22224
f303f97c
DM
22225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22226 ifunc-impl-list.c
22227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22228 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22229 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22230 file.
22231
1e9d84cd
RM
222322012-10-25 Roland McGrath <roland@hack.frob.com>
22233
22234 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22235 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22236 __getdirentries.
22237
df381762
JM
222382012-10-25 Joseph Myers <joseph@codesourcery.com>
22239 Jim Blandy <jimb@codesourcery.com>
22240
22241 * scripts/cross-test-ssh.sh: New file.
22242 * manual/install.texi (Configuring and compiling): Document use of
22243 cross-test-ssh.sh.
22244 * INSTALL: Regenerated.
22245
bff64913
PT
222462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22247
22248 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22249 EOPNOTSUPP.
22250
25fe8932
JM
222512012-10-25 Joseph Myers <joseph@codesourcery.com>
22252
22253 * Makeconfig (run-program-prefix): Fix comment.
22254
cc1290d0
JM
222552012-10-24 Joseph Myers <joseph@codesourcery.com>
22256 Jim Blandy <jimb@codesourcery.com>
22257
22258 * Makeconfig (test-wrapper): New variable,
22259 (test-wrapper-env): Likewise.
22260 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22261 (run-built-tests): Define to yes.
22262 (run-program-prefix): Use $(test-wrapper).
22263 (built-program-cmd): Likewise.
22264 * Rules (make-test-out): Use $(test-wrapper-env) and
22265 $(host-built-program-cmd).
22266 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22267 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22268 tst-pathopt.sh.
22269 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22270 $(test-wrapper-env) to tst-rtld-load-self.sh.
22271 ($(objpfx)order2.out): Use $(test-wrapper).
22272 ($(objpfx)tst-initorder.out): Likewise.
22273 ($(objpfx)tst-initorder2.out): Likewise.
22274 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22275 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22276 (test_wrapper_env): New variable. Use it to run ld.so.
22277 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22278 Use it to run ld.so.
22279 (test_wrapper_env): Likewise.
22280 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22281 $(test-wrapper) to run-iconv-test.sh.
22282 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22283 (ICONV): Use $test_wrapper.
22284 * posix/Makefile ($(objpfx)globtest.out): Pass
22285 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22286 globtest.sh, not $(run-program-prefix).
22287 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22288 (test_wrapper): Likewise.
22289 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22290 set together with run_via_rtld_prefix.
22291 (run_program_prefix): Define in terms of test_wrapper and
22292 run_via_rtld_prefix.
22293
6e6249d0
RM
222942012-10-24 Roland McGrath <roland@hack.frob.com>
22295
22296 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22297 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22298 Targets removed.
22299
22300 [BZ #14743]
22301 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22302 Declare __clock_getres, __clock_gettime, __clock_settime,
22303 __clock_nanosleep, and __clock_getcpuclockid.
22304 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22305 Remove librt_hidden_def (clock_gettime).
22306 * sysdeps/unix/clock_gettime.c: Likewise.
22307 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22309 * rt/clock_getres.c: Define __clock_getres as an alias.
22310 * sysdeps/posix/clock_getres.c: Likewise.
22311 * rt/clock_settime.c: Define __clock_settime as an alias.
22312 * sysdeps/unix/clock_settime.c: Likewise.
22313 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22314 * sysdeps/unix/clock_nanosleep.c: Likewise.
22315 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22316 * rt/clock-compat.c: New file.
22317 * rt/Makefile (librt-routines): Add clock-compat and move
22318 $(clock-routines) to ...
22319 (routines): ... here, new variable.
22320 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22321 Don't add get_clockfreq here.
22322 * rt/Versions (libc: GLIBC_2.17): New version set.
22323 Add clock_* symbols here.
22324 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22326 (GLIBC_2.17): Add clock_* symbols.
22327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22331 Likewise.
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22333 Likewise.
22334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22338 * NEWS: Mention the move.
22339
22340 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22341 Use __open, __read, __close rather than their public counterparts.
22342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22343 (__get_clockfreq_via_cpuinfo): Likewise.
22344 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22345 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22346
22347 * config.h.in (HAVE_IFUNC): New #undef.
22348 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22349 was successful.
22350 * configure: Regenerated.
22351
0cae3f4b
MF
223522012-10-24 Mike Frysinger <vapier@gentoo.org>
22353
22354 * configure.in: Move READELF check to start of file.
22355 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22356 libc_cv_asm_gnu_indirect_function in the process.
22357 * configure: Regenerated.
22358
8175a253
MF
223592012-10-24 Mike Frysinger <vapier@gentoo.org>
22360
22361 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22362 send the output to /dev/null.
22363 (libc_cv_cc_with_libunwind): Likewise.
22364 (libc_cv_as_noexecstack): Likewise.
22365 * configure: Regenerate.
22366
0708a7d1
JM
223672012-10-24 Joseph Myers <joseph@codesourcery.com>
22368
10b40d85
JM
22369 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22370
0708a7d1
JM
22371 * posix/globtest.sh (TMPDIR): Do not set.
22372 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22373 (testout): Likewise.
22374
9fddec1a
AJ
223752012-10-24 Andreas Jaeger <aj@suse.de>
22376
3a8db22f
AJ
22377 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22378 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22379 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22380 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22381 posix_fadvise64, posix_fallocate64.
22382
9fddec1a
AJ
22383 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22384 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22385 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22386 Likewise.
22387 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22388 Likewise.
22389 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22390
22391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22392 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22393 <bits/fcntl-linux.h>.
22394 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22395
22396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22397 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22398 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22399 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22400 [__WORDSIZE != 64]: Likewise.
22401
ebfd1bbd
JM
224022012-10-23 Joseph Myers <joseph@codesourcery.com>
22403
03ac099f
JM
22404 * Makeconfig (run-built-tests): New variable.
22405 * Rules [$(cross-compiling) = yes]: Change condition to
22406 [$(run-built-tests) = no].
22407 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22408 to [$(run-built-tests) = yes].
22409 * elf/Makefile [$(cross-compiling) = no]: Likewise
22410 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22411 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22412 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22413 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22414 * io/Makefile [$(cross-compiling) = no]: Likewise.
22415 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22416 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22417 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22418 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22419 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22420 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22421 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22422 * string/Makefile [$(cross-compiling) = no]: Likewise.
22423
ebfd1bbd
JM
22424 * posix/Makefile ($(objpfx)globtest.out): Pass
22425 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22426 $(rtld-installed-name).
22427 * posix/globtest.sh (elf_objpfx): Remove variable.
22428 (rtld_installed_name): Likewise.
22429 (library_path): Likewise.
22430 (run_program_prefix): New variable. Use for running globtest
22431 binary.
22432
166bca24
JB
224332012-10-23 Jim Blandy <jimb@codesourcery.com>
22434 Joseph Myers <joseph@codesourcery.com>
22435
22436 * Makeconfig (host-built-program-cmd): New variable.
22437 * elf/Makefile (tst-stackguard1-ARGS): Use
22438 $(host-built-program-cmd).
22439 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22440 (tst-spawn-ARGS): Likewise.
22441 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22442
88866099
JM
224432012-10-23 Joseph Myers <joseph@codesourcery.com>
22444 Jim Blandy <jimb@codesourcery.com>
22445
22446 * Makeconfig (run-via-rtld-prefix): New variable.
22447 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22448 (built-program-cmd): Likewise.
22449
b4b4c296
AJ
224502012-10-22 Andreas Jaeger <aj@suse.de>
22451
22452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22453 __O_RSYNC if it exists, otherwise to O_SYNC.
22454
6fb54a22
JB
224552012-10-22 Jim Blandy <jimb@codesourcery.com>
22456 Joseph Myers <joseph@codesourcery.com>
22457
22458 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22459 /dev/null.
22460 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22461 from /dev/null
22462 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22463 /dev/null.
22464
481b90b9
AJ
224652012-10-22 Andreas Jaeger <aj@suse.de>
22466
2a0e2669
AJ
22467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22468 Define always.
22469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22470
76e38f9a
AJ
22471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22472 bits/fcntl-linux.h.
22473
7cd37b43
AJ
22474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22475 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22476
481b90b9
AJ
22477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22478 to __O_LARGEFILE.
22479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22480 to __O_LARGEFILE.
22481
aba75984
JB
224822012-10-21 Jim Blandy <jimb@codesourcery.com>
22483 Joseph Myers <joseph@codesourcery.com>
22484
22485 * config.make.in (NM): New variable.
22486
88d4247f
AJ
224872012-10-21 Andreas Jaeger <aj@suse.de>
22488
22489 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22490 definitions and declarations that are provided by
22491 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22492
f2eed205
L
224932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22494
22495 [BZ #14683]
22496 * elf/Makefile (tests-static): Add tst-leaks1-static.
22497 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22498 ($(objpfx)tst-leaks1-static): New rule.
22499 ($(objpfx)tst-leaks1-static-mem): Likewise.
22500 (tst-leaks1-static-ENV): New macro.
22501 * elf/dl-open.c (dl_open_worker): Check the main application
22502 only if SHARED is defined.
22503 * elf/tst-leaks1-static.c: New file.
22504
335e6931
AJ
225052012-10-20 Andreas Jaeger <aj@suse.de>
22506
22507 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22508 generic values for Linux.
22509 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22510 and declarations that are provided by <bits/fcntl-linux.h> and
22511 include <bits/fcntl-linux.h>.
22512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22514
ac5c94d3
RM
225152012-10-20 Roland McGrath <roland@hack.frob.com>
22516
22517 * io/fcntl.h: Move include of <bits/types.h> to the top and
22518 include it unconditionally.
22519
de54b33a
L
225202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22521
228cfb01
L
22522 * wcsmbs/Makefile (tests-ifunc): New variable.
22523 (tests): Add $(tests-ifunc).
22524 * wcsmbs/test-wcschr-ifunc.c: New file.
22525 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22526 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22527 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22528 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22529 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22530
69f07e5f
L
22531 * string/Makefile (tests-ifunc): New variable.
22532 (tests): Add $(tests-ifunc).
22533 * string/test-memccpy.c (TEST_NAME): New macro.
22534 * string/test-memchr.c (TEST_NAME): Likewise.
22535 * string/test-memcmp.c (TEST_NAME): Likewise.
22536 * string/test-memcpy.c (TEST_NAME): Likewise.
22537 * string/test-memmem.c (TEST_NAME): Likewise.
22538 * string/test-memmove.c (TEST_NAME): Likewise.
22539 * string/test-memset.c (TEST_NAME): Likewise.
22540 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22541 * string/test-stpcpy.c (TEST_NAME): Likewise.
22542 * string/test-stpncpy.c (TEST_NAME): Likewise.
22543 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22544 * string/test-strcasestr.c (TEST_NAME): Likewise.
22545 * string/test-strcat.c (TEST_NAME): Likewise.
22546 * string/test-strchr.c (TEST_NAME): Likewise.
22547 * string/test-strcmp.c(TEST_NAME): Likewise.
22548 * string/test-strcpy.c (TEST_NAME): Likewise.
22549 * string/test-strcspn.c (TEST_NAME): Likewise.
22550 * string/test-strlen.c (TEST_NAME): Likewise.
22551 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22552 * string/test-strncmp.c (TEST_NAME): Likewise.
22553 * string/test-strncpy.c (TEST_NAME): Likewise.
22554 * string/test-strnlen.c (TEST_NAME): Likewise.
22555 * string/test-strpbrk.c (TEST_NAME): Likewise.
22556 * string/test-strrchr.c (TEST_NAME): Likewise.
22557 * string/test-strspn.c (TEST_NAME): Likewise.
22558 * string/test-strstr.c (TEST_NAME): Likewise.
22559 * string/test-bcopy-ifunc.c: New file.
22560 * string/test-bzero-ifunc.c: Likewise.
22561 * string/test-memccpy-ifunc.c: Likewise.
22562 * string/test-memchr-ifunc.c: Likewise.
22563 * string/test-memcmp-ifunc.c: Likewise.
22564 * string/test-memcpy-ifunc.c: Likewise.
22565 * string/test-memmem-ifunc.c: Likewise.
22566 * string/test-memmove-ifunc.c: Likewise.
22567 * string/test-mempcpy-ifunc.c: Likewise.
22568 * string/test-memset-ifunc.c: Likewise.
22569 * string/test-rawmemchr-ifunc.c: Likewise.
22570 * string/test-stpcpy-ifunc.c: Likewise.
22571 * string/test-stpncpy-ifunc.c: Likewise.
22572 * string/test-strcasecmp-ifunc.c: Likewise.
22573 * string/test-strcasestr-ifunc.c: Likewise.
22574 * string/test-strcat-ifunc.c: Likewise.
22575 * string/test-strchr-ifunc.c: Likewise.
22576 * string/test-strchrnul-ifunc.c: Likewise.
22577 * string/test-strcmp-ifunc.c: Likewise.
22578 * string/test-strcpy-ifunc.c: Likewise.
22579 * string/test-strcspn-ifunc.c: Likewise.
22580 * string/test-strlen-ifunc.c: Likewise.
22581 * string/test-strncasecmp-ifunc.c: Likewise.
22582 * string/test-strncat-ifunc.c: Likewise.
22583 * string/test-strncmp-ifunc.c: Likewise.
22584 * string/test-strncpy-ifunc.c: Likewise.
22585 * string/test-strnlen-ifunc.c: Likewise.
22586 * string/test-strpbrk-ifunc.c: Likewise.
22587 * string/test-strrchr-ifunc.c: Likewise.
22588 * string/test-strspn-ifunc.c: Likewise.
22589 * string/test-strstr-ifunc.c: Likewise.
22590
de54b33a
L
22591 * debug/Makefile (tests-ifunc): New variable.
22592 (tests): Add $(tests-ifunc).
22593 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22594 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22595 * debug/test-stpcpy_chk-ifunc.c: New file.
22596 * debug/test-strcpy_chk-ifunc.c: Likewise.
22597
88481c16
SP
225982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22599
22600 [BZ #13601]
22601 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22602 header is not read in.
22603
135948bd
JM
226042012-10-19 Joseph Myers <joseph@codesourcery.com>
22605
89f1c388
JM
22606 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22607 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22608 directly. Pass built executable to script as
22609 $(built-program-cmd).
22610 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22611 $testprogram without using LD_LIBRARY_PATH and $ldso.
22612
e40a0d21
JM
22613 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22614 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22615 $(rtld-installed-name).
22616 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22617 (rtld_installed_name): Likewise.
22618 (library_path): Likewise.
22619 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22620 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22621 $(run-program-prefix) to tst-tables.sh.
22622 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22623 it to run tst-table-from and tst-table-to.
22624 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22625 Pass it to tst-table.sh.
22626 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22627 $(run-program-prefix) to tst-gettext.sh.
22628 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22629 tst-translit.sh.
22630 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22631 tst-gettext2.sh.
22632 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22633 to run tst-gettext.
22634 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22635 to run tst-gettext2.
22636 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22637 to run tst-translit.
22638 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22639 $(run-program-prefix) to tst-mtrace.sh.
22640 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22641 to run tst-mtrace.
22642 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22643 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22644 $(rtld-installed-name).
22645 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22646 (rtld_installed_name): Likewise.
22647 (run_program_prefix): New variable. Use it to run wordexp-test.
22648
728e272a
JM
22649 * Makeconfig (ARCH): Remove all definitions.
22650 (machine): Likewise.
22651 [ARCH]: Remove conditional code.
22652 [!objdir]: Give error.
22653 [!objdir] (objpfx): Remove.
22654 [!objdir] (common-objpfx): Likewise.
22655 [!objdir] (common-objdir): Likewise.
22656 * configure.in (config_makefile): Remove. Hardcode Makefile in
22657 AC_CONFIG_FILES call.
22658 * configure: Regenerated.
22659
d528cdcf
JM
22660 [BZ #13888]
22661 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22662 or TMPDIR.
22663 (testout): Likewise.
22664
135948bd
JM
22665 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22666 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22667 $(rtld-installed-name).
22668 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22669 (rtld_installed_name): Likwise.
22670 (runit): Remove function.
22671 (run_getconf): New variable, Use it for running getconf binary.
22672
38c78296
L
226732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22674
22675 [BZ #14716]
22676 * string/test-memmem.c (check_result): New function.
22677 (do_one_test): Use it.
22678 (check1): New function.
22679 (test_main): Use it.
22680
d077f65f
MT
226812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22682
22683 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22684
ced52c71
JM
226852012-10-18 Joseph Myers <joseph@codesourcery.com>
22686
22687 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22688 (_G_LSEEK64): Likewise.
22689 (_G_MMAP64): Likewise.
22690 (_G_FSTAT64): Likewise.
22691 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22692 (_G_LSEEK64): Likewise.
22693 (_G_MMAP64): Likewise.
22694 (_G_FSTAT64): Likewise.
22695 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22696 unconditional. Call __mmap64 directly.
22697 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22698 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22699 __lseek64 directly.
22700 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22701 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22702 __mmap64 directly.
22703 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22704 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22705 __lseek64 directly.
22706 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22707 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22708 __lseek64 directly.
22709 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22710 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22711 __lseek64 directly.
22712 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22713 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22714 __fxstat64 directly.
22715 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22716 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22717 unconditional.
22718 (freopen64) [!_G_OPEN64]: Remove conditional code.
22719 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22720 unconditional.
22721 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22722 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22723 unconditional.
22724 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22725 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22726 unconditional.
22727 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22728 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22729 unconditional.
22730 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22731 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22732 unconditional.
22733 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22734 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22735 unconditional.
22736 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22737 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22738 unconditional.
22739 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22740
b741de23
SP
227412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22742
22743 [BZ #12140]
22744 * manual/memory.texi (Malloc Tunable Parameters): Add note
22745 about free list pointers overwriting some perturb bytes.
22746 Wording suggested by Roland McGrath.
22747
f9b9d9c9
JM
227482012-10-17 Joseph Myers <joseph@codesourcery.com>
22749
22750 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22751 (lgamma_test): Likewise.
22752 (tgamma_test): Likewise.
22753
172a631a
FW
227542012-10-16 Florian Weimer <fweimer@redhat.com>
22755
22756 [BZ #14700]
22757 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22758 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22759
e9f37252
MK
227602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22761
22762 * NEWS: Mention BZ #14716.
22763 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22764 when removing AVAILABLE1_USES_J macro.
22765
d394eb74
L
227662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22767
22768 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22769 (__bswap_64): __uint64_t for unsigned 64-bit int.
22770
ca38dc17
AS
227712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22772
22773 * include/string.h (memmem): Declare libc hidden alias.
22774 * string/memmem.c (memmem): Define libc hidden alias.
22775 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22776 __read, __close instead of open, read, close.
22777
9a387d1f
L
227782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22779
ac49ecaf
L
22780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22781 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22782 global and hidden.
22783 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22784 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22785 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22786 Likewise.
22787 (__rawmemchr_sse2): Likewise.
22788 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22789 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22790 (__strchr_sse2): Likewise.
22791 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22792 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22793 (__strcasecmp_sse2): Likewise.
22794 (__strncasecmp_sse2): Likewise.
22795 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22796 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22797 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22798 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22799 (__strrchr_sse2): Likewise.
22800 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22801 ifunc-impl-list.c.
22802 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22803 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22804 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22805 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22806 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22807 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22808 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22809 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22810 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22811 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22812 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22813 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22814 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22815 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22816 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22817 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22818 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22819 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22820 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22821 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22822 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22823 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22824 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22825 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22826 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22827 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22828 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22829 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22830 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22831 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22832
b090e8ea
L
22833 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22834 global and hidden.
22835 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22836 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22837 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22838 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22839 Likewise.
22840 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22841 Likewise.
22842 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22843 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22844 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22845 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22846 ifunc-impl-list.c.
22847 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22848 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22849 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22850 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22851 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22852 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22853 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22854 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22855 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22856 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22857 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22858 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22859 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22860 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22861 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22862 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22863 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22864 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22865 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22866 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22868 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22869 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22870 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22871 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22872 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22873 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22874 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22875 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22876 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22877 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22878 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22879 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22880 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22882 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22884 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22885 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22886 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22887 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22888
11dd4af6
L
22889 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22890 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22891 * include/ifunc-impl-list.h: New file.
22892 * misc/ifunc-impl-list.c: Likewise.
22893 * misc/Makefile (routines): Add ifunc-impl-list.
22894 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22895 * string/test-string.h: Include <ifunc-impl-list.h>.
22896 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22897 impl_array): New variables.
22898 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22899 are defined.
22900 (test_init): Call __libc_ifunc_impl_list to initialize
22901 func_list if TEST_IFUNC and TEST_NAME are defined.
22902
9a387d1f
L
22903 * string/Makefile (strop-tests): Add bcopy and bzero.
22904 * string/test-bcopy.c: New file.
22905 * string/test-bzero.c: Likewise.
22906 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22907 defined.
22908 * string/test-memset.c: Support bzero test if TEST_BZERO is
22909 defined.
22910 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22911 __libc_memmove.
22912 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22913 __libc_memset.
22914 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22915 of memset.
22916
472371b9
JM
229172012-10-10 Joseph Myers <joseph@codesourcery.com>
22918
1e4a9536
JM
22919 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22920 * configure: Regenerated.
22921
d173d12e
JM
22922 * Makeconfig (+link-static-before-libc): Don't include
22923 $(link-static-libc).
22924
472371b9
JM
22925 * libio/libio.h (_IO_pos_t): Remove.
22926
89a3ad0b
AO
229272012-10-10 Alexandre Oliva <aoliva@redhat.com>
22928
22929 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22930 McGrath.
22931
e7451425
AO
229322012-10-10 Alexandre Oliva <aoliva@redhat.com>
22933
22934 * crypt/crypt-entry.c: Include fips-private.h.
22935 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22936 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22937 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22938 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22939
4ba74a35
AO
229402012-10-10 Alexandre Oliva <aoliva@redhat.com>
22941
22942 * crypt/crypt-private.h: Include stdbool.h.
22943 (_ufc_setup_salt_r): Return bool.
22944 * crypt/crypt-entry.c: Include errno.h.
22945 (__crypt_r): Return NULL with EINVAL for bad salt.
22946 * crypt/crypt_util.c (bad_for_salt): New.
22947 (_ufc_setup_salt_r): Check that salt is long enough and within
22948 the specified alphabet.
22949 * crypt/badsalttest.c: New file.
22950 * crypt/Makefile (tests): Add it.
22951 ($(objpfx)badsalttest): New.
22952
f96f1242
MK
229532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22954
22955 * NEWS: Add entry for BZ #14602.
22956
0e8e0c1c
JM
229572012-10-09 Joseph Myers <joseph@codesourcery.com>
22958
22959 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22960 type-generic.
22961 * math/libm-test.inc: Update comment listing what functions and
22962 macros are tested.
22963 (isgreater_test): New function.
22964 (isgreaterequal_test): Likewise.
22965 (isless_test): Likewise.
22966 (islessequal_test): Likewise.
22967 (islessgreater_test): Likewise.
22968 (isunordered_test): Likewise.
22969 (main): Call the new functions.
22970
273edc5e
RM
229712012-10-09 Roland McGrath <roland@hack.frob.com>
22972
b8493de0
RM
22973 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22974 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22975 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22976 * sysdeps/i386/configure: Regenerated.
22977 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22978 * sysdeps/mach/configure: Regenerated.
22979 * sysdeps/mach/hurd/configure: Regenerated.
22980 * sysdeps/powerpc/configure: Regenerated.
22981 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22982 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22983 * sysdeps/s390/s390-32/configure: Regenerated.
22984 * sysdeps/s390/s390-64/configure: Regenerated.
22985 * sysdeps/sh/configure: Regenerated.
22986 * sysdeps/sparc/configure: Regenerated.
22987 * sysdeps/unix/sysv/linux/configure: Regenerated.
22988 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22989 * sysdeps/x86_64/configure: Regenerated.
22990
273edc5e
RM
22991 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22992 defined. Don't check if MAP is NULL.
22993
c8450f70
JM
229942012-10-09 Joseph Myers <joseph@codesourcery.com>
22995
22996 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22997 (_G_stat64): Likewise.
22998 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22999 (_G_stat64): Likewise.
23000 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23001 instead of struct _G_stat64.
23002 * libio/fileops.c (mmap_remap_check): Likewise.
23003 (decide_maybe_mmap): Likewise.
23004 (_IO_new_file_seekoff): Likewise.
23005 (_IO_file_stat): Likewise.
23006 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23007 _G_off64_t.
23008 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23009 instead of struct _G_stat64.
23010 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23011
57e605ba
MK
230122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23013
23014 [BZ #14602]
23015 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23016 Replace with ...
23017 (CHECK_EOL): New macro.
23018 (two_way_short_needle): Check beginning of haystack for EOL. Use
23019 CHECK_EOL.
23020 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23021 Replace with CHECK_EOL.
23022 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23023 Replace with CHECK_EOL.
23024
ef1bb361
JM
230252012-10-08 Joseph Myers <joseph@codesourcery.com>
23026
23027 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23028 type-generic.
23029 * math/libm-test.inc: Update comment listing what functions and
23030 macros are tested.
23031 (finite_test): New function.
23032 (isinf_test): Likewise.
23033 (isnan_test): Likewise.
23034 (fpclassify_test): Test subnormal input.
23035 (isfinite_test): Likewise.
23036 (isnormal_test): Likewise.
23037 (main): Call the new functions.
23038
55f11534
JN
230392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23040
23041 [BZ #14660]
23042 * Makerules (%.dynsym): Force C locale when running
23043 $(OBJDUMP) --dynamic-syms.
23044
1ab29350
AS
230452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23046
23047 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23048 <stdint.h>.
23049
f1ecb7ef
DM
230502012-10-06 David S. Miller <davem@davemloft.net>
23051
23052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23053 upper 32-bits of the length value in %o2 since we use branch-on-register
23054 tests which consider the entire 64-bit register.
23055
5d41d91a
L
230562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23057
23058 * string/test-strstr.c (check2): Add a test for page boundary.
23059
3baddb72
DM
230602012-10-05 David S. Miller <davem@davemloft.net>
23061
23062 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23063 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23064 file.
23065 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23066 sysdep_routines.
23067 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23068 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23069 and bzero when HWCAP_SPARC_CRYPTO is present.
23070
9cee5585
L
230712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23072
d7e0dab9
L
23073 [BZ #14602]
23074 * string/test-strstr.c (check2): New function.
23075 (test_main): Call check2.
23076
03759f47
L
23077 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23078 and bug-strchr1.
23079 * string/bug-strcasestr1.c (do_test): Moved to ...
23080 * string/test-strcasestr.c (check1): Here. New function.
23081 (do_one_test): Break out result checking code into ...
23082 (check_result): This. New function.
23083 (do_one_test): Call check_result.
23084 (test_main): Call check1.
23085 * string/bug-strchr1.c (do_test): Moved to ...
23086 * string/test-strchr.c (check1): Here. New function.
23087 (do_one_test): Break out result checking code into ...
23088 (check_result): This. New function.
23089 (do_one_test): Call check_result.
23090 (test_main): Call check1.
23091 * string/bug-strstr1.c (main): Moved to ...
046f153e 23092 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23093 (do_one_test): Break out result checking code into ...
23094 (check_result): This. New function.
23095 (do_one_test): Call check_result.
23096 (test_main): Call check1.
23097 * string/bug-strcasestr1.c: Removed.
23098 * string/bug-strchr1.c: Likewise.
23099 * string/bug-strstr1.c: Likewise.
23100
53cea63e
L
23101 * elf/Makefile (dl-routines): Add hwcaps.
23102 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23103 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23104 (_dl_important_hwcaps): Moved to ...
23105 * elf/dl-hwcaps.c: Here. New file.
23106 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23107
9cee5585 23108 [BZ #14557]
bb859b06
L
23109 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23110 if IS_IN_rtld isn't defined.
23111
9cee5585
L
23112 * elf/dl-support.c (_dl_sysinfo_map): New.
23113 Include "get-dynamic-info.h" and "setup-vdso.h".
23114 (_dl_non_dynamic_init): Call setup_vdso.
23115 * elf/dynamic-link.h: Don't include <assert.h>.
23116 (elf_get_dynamic_info): Moved to ...
23117 * elf/get-dynamic-info.h: Here. New file.
23118 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23119 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23120 * elf/setup-vdso.h: Here. New file.
23121 * elf/rtld.c: Include "setup-vdso.h".
23122 (dl_main): Call setup_vdso.
23123
23c31b76
JM
231242012-10-05 Joseph Myers <joseph@codesourcery.com>
23125
28234b07
JM
23126 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23127 creal in comment listing functions tested. List finite, isinf,
23128 isnan, isless, islessequal, isgreater, isgreaterequal,
23129 islessgreater, isunordered, lgamma_r and pow10 as functions and
23130 macros not tested. Mention which functions not tested are aliases
23131 for other functions. Fix typo. Note that signs of NaNs are not
23132 tested.
23133
23c31b76
JM
23134 * scripts/config.guess: Update from config.git.
23135 * scripts/config.sub: Likewise.
23136
9043e228
RM
231372012-10-04 Roland McGrath <roland@hack.frob.com>
23138
23139 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23140 * misc/madvise.c (madvise): Renamed to __madvise.
23141 Make madvise a weak alias.
23142 * include/sys/mman.h: Declare __madvise.
23143 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23144 * sysdeps/unix/syscalls.list
23145 (madvise): Make __madvise the strong name, and madvise a weak alias.
23146 * sysdeps/unix/sysv/linux/syscalls.list
23147 (madvise, mmap): Remove redundant entries.
23148 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23149 * malloc/malloc.c (mtrim): Likewise.
23150 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23151
f57f8055
RM
231522012-10-03 Roland McGrath <roland@hack.frob.com>
23153
23154 * sysdeps/mach/hurd/dl-cache.c: File removed.
23155 * config.h.in (USE_LDCONFIG): New #undef.
23156 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23157 * configure: Regenerated.
23158 * elf/Makefile (dl-routines): Add dl-cache only under
23159 [$(use-ldconfig) = yes].
23160 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23161 cache on [USE_LDCONFIG].
23162 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23163 [USE_LDCONFIG].
23164 * elf/rtld.c (dl_main): Likewise.
23165
5bb0c10a
PT
231662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23167
23168 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23169 _SC_LEVEL4_CACHE_LINESIZE.
23170
010188c6
RM
231712012-10-03 Roland McGrath <roland@hack.frob.com>
23172
23173 * sysdeps/unix/bsd/confstr.h: File removed.
23174
b6c5ec07
AO
231752012-10-02 Alexandre Oliva <aoliva@redhat.com>
23176
23177 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23178 sys/sdt-config.h.
23179
408223d4
RM
231802012-10-02 Roland McGrath <roland@hack.frob.com>
23181
23182 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23183 Make 'mapoff' field ElfW(Off) rather than off_t.
23184
bb9510dc
DL
231852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23186
fc997c6e
DL
23187 * nscd/Makefile: Remove nscd-cflags and all its users.
23188 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23189 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23190
bb9510dc
DL
23191 [BZ #10631]
23192 * malloc.c (malloc_printerr): Clarify error message.
23193
05699367
L
231942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23195
23196 [BZ #14648]
23197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23198 Set bit_FMA_Usable if FMA is supported.
23199 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23200 macro.
23201 (bit_FMA4_Usable): Updated.
23202 (index_FMA_Usable): New macro.
23203 (CPUID_FMA): Likewise
23204 (HAS_FMA): Defined with bit_FMA_Usable.
23205
51367701
RM
232062012-10-01 Roland McGrath <roland@hack.frob.com>
23207
23208 * bits/types.h (__swblk_t): Type removed.
23209 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23210 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23212 (__SWBLK_T_TYPE): Likewise.
23213 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23214 (__SWBLK_T_TYPE): Likewise.
23215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23216 (__SWBLK_T_TYPE): Likewise.
23217 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23218 (__SWBLK_T_TYPE): Likewise.
23219
4d57bf63 232202012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23221 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23222
23223 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23224 (xdr_mapname): Use YPMAXMAP as maxsize.
23225 (xdr_peername): Use YPMAXPEER as maxsize.
23226 (xdr_keydat): Use YPAXRECORD as maxsize.
23227 (xdr_valdat): Use YPMAXRECORD as maxsize.
23228
93c65d43
RM
232292012-10-01 Roland McGrath <roland@hack.frob.com>
23230
497a03d6
RM
23231 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23232
93c65d43
RM
23233 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23234 * csu/init-first.c: ... here.
23235 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23236 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23237 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23238 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23239 * sysdeps/i386/init-first.c: File removed.
23240 * sysdeps/sh/init-first.c: File removed.
23241
bec749fd
JM
232422012-10-01 Joseph Myers <joseph@codesourcery.com>
23243
23244 [BZ #14645]
23245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23246 if x * y might underflow to zero and z is zero.
23247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23249 * math/libm-test.inc (min_subnorm_value): New variable.
23250 (fma_test): Add more tests.
23251 (fma_test_towardzero): Likewise.
23252 (fma_test_downward): Likewise
23253 (fma_test_upward): Likewise.
23254 (initialize): Set min_subnorm_value.
23255
8ec5b013
JM
232562012-09-29 Joseph Myers <joseph@codesourcery.com>
23257
23258 [BZ #14638]
23259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23260 0 + 0.
23261 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23262 mode for addition resulting in exact zero.
23263 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23265 exact 0 + 0.
23266 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23268 * math/libm-test.inc (fma_test): Add more tests.
23269 (fma_test_towardzero): New function.
23270 (fma_test_downward): Likewise.
23271 (fma_test_upward): Likewise.
23272 (main): Call the new functions.
23273
b1fa802e
DM
232742012-09-28 David S. Miller <davem@davemloft.net>
23275
23276 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23277
d3b9fd9e
RM
232782012-09-28 Roland McGrath <roland@hack.frob.com>
23279
ea4d37b3
RM
23280 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23281 instead of SIGALRM.
23282
ac51c949
RM
23283 * sysdeps/gnu/_G_config.h: Moved to ...
23284 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23285 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23286 * sysdeps/generic/_G_config.h: ... here.
23287
28c195f7
RM
23288 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23289
848917f9
RM
23290 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23291
6bacf05b
RM
23292 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23293 Conditionalize target on [libnss_test1.so-version].
23294
91363dbb
RM
23295 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23296
cc87f7d8
RM
23297 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23298 (elfobjdir): Move out of conditionals.
23299
b1c608fe
RM
23300 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23301 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23302 (__nss_lookup_function): Conditionalize label remove_from_tree on
23303 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23304
1d9a6d96
DM
233052012-09-28 David S. Miller <davem@davemloft.net>
23306
23307 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23308 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23309 file.
23310 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23311 sysdep_routines.
23312 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23314 when HWCAP_SPARC_CRYPTO is present.
23315
72581615
PT
233162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23317
23318 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23319
715a900c
JL
233202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23321
23322 [BZ #6530]
23323 * stdio-common/vfprintf.c (process_string_arg): Revert
23324 2000-07-22 change.
23325
233262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23327
23328 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23329 for testcase.
23330 * stdio-common/tst-sprintf.c: Include <locale.h>
23331 (main): Test sprintf's handling of incomplete multibyte
23332 characters.
23333
9bac1d86
L
233342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23335
23336 * elf/dl-runtime.c (VERSYMIDX): Removed.
23337 * elf/dl-version.c (VERSYMIDX): Likewise.
23338 * elf/do-rel.h (VERSYMIDX): Likewise.
23339 (VALIDX): Likewise.
23340 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23341 * elf/rtld.c (VALIDX): Likewise.
23342 (ADDRIDX): Likewise.
9bac1d86
L
23343 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23344 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23345 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23346 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23347 (VALIDX): Likewise.
23348 (ADDRIDX): Likewise.
9bac1d86 23349
b31606c0
PT
233502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23351
23352 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23353
11541177
JL
233542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23355
23356 [BZ #11438]
23357 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23358 to global scope.
23359 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23360 addresses are in the same scope as 192.0.2/24.
23361 * posix/gai.conf: Document new scope table defaults.
23362
adb26fae
SP
233632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23364
23365 [BZ #5298]
23366 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23367 for ftell. Compute offsets from write pointers instead.
23368 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23369
4573c6b0
SP
233702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23371
23372 [BZ #14543]
23373 * libio/Makefile (tests): New test case tst-fseek.
23374 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23375 combination works in wide mode.
23376 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23377 state when the external buffer state changes.
23378
aa9bbfe6
DM
233792012-09-27 David S. Miller <davem@davemloft.net>
23380
23381 [BZ #14376]
23382 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23383 pass reloc->r_addend in as the 'high' argument to
23384 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23385
784421e7
DM
23386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23387
c39bc8b8
PT
233882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23389
23390 * rt/tst-aio2.c: Include <pthread.h>.
23391 * rt/tst-aio3.c: Likewise.
23392
1ccc2399
SE
233932012-09-27 Steve Ellcey <sellcey@mips.com>
23394
23395 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23396
31ed4153
L
233972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23398
25f5f885
L
23399 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23400 contents on [SHARED].
31ed4153 23401
b7bfe116
MP
234022012-09-26 Marek Polacek <polacek@redhat.com>
23403
23404 [BZ #14530]
23405 [BZ #13741]
23406 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23407 for C++ and GCC <4.3 as well as for non GCC compilers.
23408
43c4edba
MT
234092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23410
23411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23412
6a1bf82f
RM
234132012-09-25 Roland McGrath <roland@hack.frob.com>
23414
23415 * Makefile.in (all, install): Declare with .PHONY.
23416 Reported by Michael Hope <michael.hope@linaro.org>.
23417
8ad11b9a
TMQMF
234182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23419
23420 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23421 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23422 system header.
23423 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23424 Likewise.
23425 (sydep_routines): Add the new and the internal functions.
23426 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23427 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23429 (GLIBC_2.17): Add the new function.
23430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23431 (GLIBC_2.17): Likewise.
23432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23433 (GLIBC_2.17): Likewise.
23434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23435 (GLIBC_2.17): Likewise.
23436 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23437
7e2fca8d
AM
234382012-09-25 Alan Modra <amodra@gmail.com>
23439
23440 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23441 Add release barrier before setting once_control to say
23442 initialisation is done. Add hints on lwarx. Use macro in
23443 place of isync.
23444 (clear_once_control): Add release barrier.
23445
b87c4b24
JM
234462012-09-25 Joseph Myers <joseph@codesourcery.com>
23447
d032e0d2
JM
23448 [BZ #13629]
23449 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23450 specially.
23451 * math/s_clog10.c (__clog10): Likewise.
23452 * math/s_clog10f.c (__clog10f): Likewise.
23453 * math/s_clog10l.c (__clog10l): Likewise.
23454 * math/s_clogf.c (__clogf): Likewise.
23455 * math/s_clogl.c (__clogl): Likewise.
23456 * math/Makefile (libm-calls): Add x2y2m1.
23457 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23458 (__x2y2m1): Likewise.
23459 (__x2y2m1l): Likewise.
23460 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23461 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23462 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23463 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23464 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23465 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23466 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23467 * sysdeps/i386/fpu/libm-test-ulps: Update.
23468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23469
b87c4b24
JM
23470 [BZ #14621]
23471 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23472 int as type of variable DEPTH.
23473 (glob): Use size_t instead of int as type of variables NEWCOUNT
23474 and OLD_PATHC.
23475
6d3bf199
LD
234762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23477
22bf5c17
LD
23478 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23479 Add s_sincosf-sse2.
23480 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23481 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23482 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23483 macros for using routine as __sincosf_ia32.
23484 Use macro for function declaration and weak_alias.
23485 * sysdeps/i386/fpu/libm-test-ulps: Update.
23486
23487 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23489
23490 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23491 subnormal argument.
23492 * math/s_cexpf.c (__cexpf): Likewise.
23493 * math/s_csinf.c (__csinf): Likewise.
23494 * math/s_csinhf.c (__csinhf): Likewise.
23495 * math/s_ctanf.c (__ctanf): Likewise.
23496 * math/s_ctanhf.c (__ctanhf): Likewise.
23497 * math/s_ccosh.c (__ccoshf): Likewise.
23498 * math/s_cexp.c (__cexpl): Likewise.
23499 * math/s_csin.c (__csin): Likewise.
23500 * math/s_csinh.c (__csinh): Likewise.
23501 * math/s_ctan.c (__ctan): Likewise.
23502 * math/s_ctanh.c (ctanh): Likewise.
23503 * math/s_ccoshl.c (__ccoshl): Likewise.
23504 * math/s_cexpl.c (__cexpl): Likewise.
23505 * math/s_csinl.c (__csinl): Likewise.
23506 * math/s_csinhl.c (__csinhl): Likewise.
23507 * math/s_ctanl.c (__ctanl): Likewise.
23508 * math/s_ctanhl.c (__ctanhl): Likewise.
23509
203e5603
JM
235102012-09-25 Joseph Myers <joseph@codesourcery.com>
23511
23512 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23513 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23514 (_IO_off_t): Define to __off_t, not _G_off_t.
23515 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23516 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23517 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23518 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23519 type of __dummy and __dummy2 fields.
23520 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23521 (_G_ssize_t): Likewise.
23522 (_G_off_t): Likewise.
23523 (_G_pid_t): Likewise.
23524 (_G_uid_t): Likewise.
23525 (_G_wchar_t): Likewise.
23526 (_G_wint_t): Likewise.
23527 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23528 (_G_ssize_t): Likewise.
23529 (_G_off_t): Likewise.
23530 (_G_pid_t): Likewise.
23531 (_G_uid_t): Likewise.
23532 (_G_wchar_t): Likewise.
23533 (_G_wint_t): Likewise.
23534 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23535 (_G_ssize_t): Likewise.
23536 (_G_off_t): Likewise.
23537 (_G_pid_t): Likewise.
23538 (_G_uid_t): Likewise.
23539 (_G_wchar_t): Likewise.
23540 (_G_wint_t): Likewise.
23541
9fab36eb
SP
235422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23543
23544 * malloc/arena.c: Include malloc-sysdep.h.
23545 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23546 is sufficient to shrink the heap or an unmap is needed.
23547 * sysdeps/generic/malloc-sysdep.h: New file. Define
23548 new function check_may_shrink_heap.
23549 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23550 new function check_may_shrink_heap.
23551
2b4f00d1
SP
235522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23553
23554 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23555 comments.
23556
9a9028b1
DL
235572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23558
57c69bef
DL
23559 * catgets/test-gencat.sh: Add "set -e".
23560 * elf/tst-pathopt.sh: Likewise.
23561 * grp/tst_fgetgrent.sh: Likewise.
23562 * iconvdata/run-iconv-test.sh: Likewise.
23563 * intl/tst-gettext.sh: Likewise.
23564 * intl/tst-gettext2.sh: Likewise.
23565 * intl/tst-gettext4.sh: Likewise.
23566 * intl/tst-gettext6.sh: Likewise.
23567 * intl/tst-translit.sh: Likewise.
23568 * io/ftwtest-sh: Likewise.
23569 * libio/test-freopen.sh: Likewise.
23570 * malloc/tst-mtrace.sh: Likewise.
23571 * posix/globtest.sh: Likewise.
23572 * posix/tst-getconf.sh: Likewise.
23573 * posix/wordexp-tst.sh: Likewise.
23574 * stdio-common/tst-printf.sh: Likewise.
23575 * stdio-common/tst-unbputc.sh: Likewise.
23576 * stdlib/tst-fmtmsg.sh: Likewise.
23577 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23578 * catgets/Makefile: Do not specify -e option when running
23579 testsuite shell scripts.
23580 * elf/Makefile: Likewise.
23581 * grp/Makefile: Likewise.
23582 * iconvdata/Makefile: Likewise.
23583 * intl/Makefile: Likewise.
23584 * io/Makefile: Likewise.
23585 * libio/Makefile: Likewise.
23586 * malloc/Makefile: Likewise.
23587 * posix/Makefile: Likewise.
23588 * stdio-common/Makefile: Likewise.
23589 * stdlib/Makefile: Likewise.
23590 * sysdeps/x86_64/Makefile: Likewise.
23591
9a9028b1
DL
23592 * io/ftwtest-sh: Add copyright header.
23593 * posix/globtest.sh: Likewise.
23594 * posix/tst-getconf.sh: Likewise.
23595 * posix/wordexp-tst.sh: Likewise.
23596 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23597
ced6f16e
L
235982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23599
94b32c39
L
23600 [BZ #13679]
23601 * Makeconfig (+link): Defined as $(+link-static) if
23602 $(build-shared) isn't yes.
23603 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23604 isn't yes.
23605 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23606
189e935b
L
23607 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23608
ced6f16e
L
23609 [BZ #14562]
23610 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23611 new chunk size with MALLOC_ALIGN_MASK.
23612
a9f8e53a
JM
236132012-09-24 Joseph Myers <joseph@codesourcery.com>
23614
23615 [BZ #5044]
23616 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23617 <rounding-mode.h>.
23618 (__printf_fphex): Determine rounding using get_rounding_mode and
23619 round_away.
23620 * stdio-common/tst-printf-round.c (struct hex_test): New
23621 structure.
23622 (hex_tests): New variable.
23623 (test_hex_in_one_mode): New function.
23624 (do_test): Also run tests for hex float output.
23625
43153109
JM
236262012-09-21 Joseph Myers <joseph@codesourcery.com>
23627
23628 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23629 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23630 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23631 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23632 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23633 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23634 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23635 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23636
8a26625d
JM
236372012-09-20 Joseph Myers <joseph@codesourcery.com>
23638
23639 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23640 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23641 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23642 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23643
f3fd569c
DL
236442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23645
23646 [BZ #14579]
23647 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23648 mode only.
23649 * elf/tst-rtld-load-self.sh: New test.
23650 * elf/Makefile: Run it.
23651
63bbedd4
JM
236522012-09-18 Joseph Myers <joseph@codesourcery.com>
23653
23654 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23655 (tst-writev-ENV): Remove.
23656 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23657
626f8b6a
CM
236582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23659
23660 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23661
b7aaa4d6
JM
236622012-09-17 Joseph Myers <joseph@codesourcery.com>
23663
23664 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23665 unconditional.
23666 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23667 Likewise.
23668 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23669 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23670 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23671 Likewise.
23672
65513990
L
236732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23674
23675 [BZ #14587]
23676 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23677 * config.make.in (have-cpp-asm-debuginfo): Removed.
23678 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23679 * configure: Regenerated.
23680
784761be
JM
236812012-09-14 Joseph Myers <joseph@codesourcery.com>
23682
23683 [BZ #5044]
23684 * stdio-common/printf_fp.c: Include <stdbool.h> and
23685 <rounding-mode.h>.
23686 (___printf_fp): Determine rounding using get_rounding_mode and
23687 round_away.
23688 * stdio-common/tst-printf-round.c: New file.
23689 * stdio-common/Makefile (tests): Add tst-printf-round.
23690 (link-libm): New variable.
23691 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23692
9503345f
L
236932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23694
23695 [BZ #14576]
23696 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23697 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23698 Likewise.
23699 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23700 Likewise.
23701
ad35fc00
JM
237022012-09-13 Joseph Myers <joseph@codesourcery.com>
23703
23704 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23705 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23706 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23707 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23708
6c9b0f68
JM
237092012-09-12 Joseph Myers <joseph@codesourcery.com>
23710
23711 [BZ #14518]
23712 * include/rounding-mode.h: New file.
23713 * sysdeps/generic/get-rounding-mode.h: Likewise.
23714 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23715 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23716 (MAX_VALUE): New macro.
23717 (MIN_VALUE): Likewise.
23718 (overflow_value): New function.
23719 (underflow_value): Likewise.
23720 (round_and_return): Use overflow_value and underflow_value to
23721 determine return values in overflow and underflow cases. Use
23722 round_away to determine rounding depending on rounding mode.
23723 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23724 determine return values in overflow and underflow cases.
23725 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23726 (struct test_results): New structure.
23727 (struct test): Use struct test_results to store expected results
23728 for all rounding modes.
23729 (TEST): Include expected results for all rounding modes.
23730 (test_in_one_mode): New function.
23731 (do_test): Use test_in_one_mode to compute and check results.
23732 Check results for all rounding modes.
23733 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23734 $(link-libm).
23735
19fcedd5
AM
237362012-12-09 Allan McRae <allan@archlinux.org>
23737
1e9d84cd 23738 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23739
8bbfd2f1
JM
237402012-09-11 Joseph Myers <joseph@codesourcery.com>
23741
23742 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23743 (_G_int32_t): Likewise.
23744 (_G_uint16_t): Likewise.
23745 (_G_uint32_t): Likewise.
23746 (_G_HAVE_BOOL): Likewise.
23747 (_G_HAVE_ATEXIT): Likewise.
23748 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23749 (_G_HAVE_IO_FILE_OPEN): Likewise.
23750 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23751 (_G_int32_t): Likewise.
23752 (_G_uint16_t): Likewise.
23753 (_G_uint32_t): Likewise.
23754 (_G_HAVE_BOOL): Likewise.
23755 (_G_HAVE_ATEXIT): Likewise.
23756 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23757 (_G_HAVE_IO_FILE_OPEN): Likewise.
23758 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23759 (_G_int32_t): Likewise.
23760 (_G_uint16_t): Likewise.
23761 (_G_uint32_t): Likewise.
23762 (_G_HAVE_BOOL): Likewise.
23763 (_G_HAVE_ATEXIT): Likewise.
23764 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23765 (_G_HAVE_IO_FILE_OPEN): Likewise.
23766
b1dc5912
L
237672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23768
23769 * csu/libc-tls.c: Update copyright years.
23770
0e886ef9
JM
237712012-09-10 Joseph Myers <joseph@codesourcery.com>
23772
28361c5e
JM
23773 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23774 [!_G_USING_THUNKS]: Remove conditional code.
23775 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23776 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23777
0e886ef9
JM
23778 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23779 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23780 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23781 (_G_VTABLE_LABEL_PREFIX): Likewise.
23782 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23783 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23784 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23785 (_G_VTABLE_LABEL_PREFIX): Likewise.
23786 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23787 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23788 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23789 (_G_VTABLE_LABEL_PREFIX): Likewise.
23790 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23791
bcba7aa2
L
237922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23793
23794 * libio/Makefile: Include ../Makeconfig before tests.
23795 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23796 only if $(build-shared) is yes.
23797
06585ee8
L
23798 * iconv/gconv_db.c: Update copyright years.
23799
80ccd52c
LD
238002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23801
23802 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23803 unwind info if defined PIC. Fix special cases description.
23804 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23805
23806 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23807 DP_HI_MASK entry.
23808 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23809
691bc9c1
L
238102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23811
3d9b46b3
L
23812 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23813
de2139a9
L
23814 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23815 is NULL.
23816
5ca78dd0
L
23817 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23818 (LDLIBS-tst-chk4): This.
23819 (LDFLAGS-tst-chk5): Renamed to ...
23820 (LDLIBS-tst-chk5): This.
23821 (LDFLAGS-tst-chk6): Renamed to ...
23822 (LDLIBS-tst-chk6): This.
23823 (LDFLAGS-tst-lfschk4): Renamed to ...
23824 (LDLIBS-tst-lfschk4): This.
23825 (LDFLAGS-tst-lfschk5): Renamed to ...
23826 (LDLIBS-tst-lfschk5): This.
23827 (LDFLAGS-tst-lfschk6): Renamed to ...
23828 (LDLIBS-tst-lfschk6): This.
23829
691bc9c1
L
23830 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23831 on $(common-objpfx)soversions.mk.
23832
65cafb1c
JM
238332012-09-07 Joseph Myers <joseph@codesourcery.com>
23834
23835 [BZ #10014]
23836 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23837 example host name.
23838
c78ab094
SP
238392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23840
23841 * malloc/arena.c (arena_get_retry): New function that gets
23842 another arena for the caller to try its request on.
23843 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23844 current arena cannot fulfill the request.
23845 (__libc_memalign): Likewise.
23846 (__libc_memalign): Likewise.
23847 (__libc_pvalloc): Likewise.
23848 (__libc_calloc): Likewise.
23849
01f49f59
JT
238502012-09-05 John Tobey <john.tobey@gmail.com>
23851
23852 [BZ #13542]
23853 * manual/arith.texi (Operations on Complex): Fix description
23854 of carg branch cut.
23855
4c23fed5
JM
238562012-09-06 Joseph Myers <joseph@codesourcery.com>
23857
1d3c8572
JM
23858 [BZ #10014]
23859 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23860 host name.
23861
4c23fed5
JM
23862 [BZ #10038]
23863 * manual/memory.texi (Memory): Make order of menu items match
23864 order of sections.
23865
04570aaa
L
238662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23867
23868 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23869 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23870 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23871
b80af2f4
L
238722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23873
23874 * csu/libc-tls.c (static_dtv): Renamed to ...
23875 (_dl_static_dtv): This. Make it global.
23876 (_dl_initial_dtv): Removed.
23877 (__libc_setup_tls): Updated.
23878 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23879 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23880 DL_INITIAL_DTV.
23881
2abe9f15
PM
238822012-09-06 Petr Machata <pmachata@redhat.com>
23883
23884 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23885 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23886 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23887 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23888
0948c3af
L
238892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23890
23891 [BZ #14545]
23892 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23893 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23894 freeing dtv[-1].
23895
a5055ad1
L
238962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23897
23898 [BZ #14544]
23899 * Makeconfig (link-static-before-libc): Replace $(+prector)
23900 with $(+prectorT).
23901 (link-static-after-libc): Replace $(+postctor) with
23902 $(+postctorT).
23903 (link-bounded): Replace $(+prector)/$(+postctor) with
23904 $(+prectorT)/$(+postctorT).
23905 (+prectorT): New macro.
23906 (+postctorT): Likewise.
23907
ed8c2ecd
JM
239082012-09-06 Joseph Myers <joseph@codesourcery.com>
23909
23910 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23911 (round_str): Handle values above the maximum for IBM long double
23912 as inexact.
23913 * stdlib/tst-strtod-round.c (tests): Regenerated.
23914
14c996c8
AK
239152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23916
23917 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23918 assembler flag.
23919 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23920 zarch_nohighgprs around the zarch optimized routines.
23921 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23922 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23923 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23924 for zarch.
23925
430d6ce6
DM
239262012-09-05 David S. Miller <davem@davemloft.net>
23927
23928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23929
ff04dda4
DM
23930 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23931 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23932 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23933 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23934 entries.
23935
24d4e01b
AO
239362012-09-05 Alexandre Oliva <aoliva@redhat.com>
23937
23938 * malloc/arena.c: Fold copyright years.
23939 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23940
61d58174
AO
239412012-09-05 Alexandre Oliva <aoliva@redhat.com>
23942
23943 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23944
20196a5e
AO
239452012-09-05 Alexandre Oliva <aoliva@redhat.com>
23946
23947 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23948
5c447383
AO
239492012-09-05 Alexandre Oliva <aoliva@redhat.com>
23950
23951 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23952 change internal state upon failure.
23953
fad64255
AO
239542012-09-05 Alexandre Oliva <aoliva@redhat.com>
23955
23956 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23957 * malloc/memusage.c (mmap): Likewise.
23958 (mmap64, mremap): Likewise. Adjust name in comment.
23959
1ffb8c90
SP
239602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23961
23962 * libio/fileops.c: Fix typos in comments.
23963 * libio/oldfileops.c: Likewise.
23964 * libio/wfileops.c: Likewise.
23965
6ef9cc37
SP
239662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23967
23968 [BZ #1349]
23969 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23970 (tst-malloc-usable-ENV): Set environment for test case.
23971 * malloc/hooks.c (malloc_check_get_size): New function to get
23972 requested size.
23973 * malloc/malloc.c (musable): Use malloc_check_get_size.
23974 * malloc/tst-malloc-usable.c: New test case.
23975
4d038ae3
AS
239762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23977
23978 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23979
c4e85184
AM
239802012-09-05 Allan McRae <allan@archlinux.org>
23981
b9dafc56 23982 [BZ #13966]
c4e85184
AM
23983 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23984 determine header location.
23985 * configure: Regenerated.
23986
e1343020
AS
239872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23988
23989 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23990 float format.
23991 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23992 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23993 format.
e1343020
AS
23994 (test): Regenerate.
23995
0a9f1987
DM
239962012-09-04 David S. Miller <davem@davemloft.net>
23997
23998 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23999 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24000 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24001
29237804
FW
240022012-09-04 Florian Weimer <fweimer@redhat.com>
24003
24004 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24005 failures.
24006
edb3cb88
FW
24007 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24008
60160d83
JM
240092012-09-04 Joseph Myers <joseph@codesourcery.com>
24010
24011 [BZ #9914]
24012 * libio/iogetdelim.c: Include <limits.h>.
24013 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24014 + len + 1 would overflow.
24015
bcd6c8dc
AJ
240162012-09-03 Andreas Jaeger <aj@suse.de>
24017
24018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24019 * sysdeps/i386/fpu/libm-test-ulps: Update.
24020
4ffffbd2
LD
240212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24022
24023 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24024 Add s_sinf-sse2, s_conf-sse2.
24025
24026 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24027 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24028 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24029 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24030
24031 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24032 for using routine as __sinf_ia32.
24033 Use macro for function declaration and weak_alias.
24034 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24035 for using routine as __cosf_ia32.
24036 Use macro for function declaration and weak_alias.
24037
24038 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24039 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24040
24041 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24042 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24044
24045 * math/libm-test.inc (cos_test): Add more test cases.
24046 (sin_test): Likewise.
24047 (sincos_test): Likewise.
24048
511fa286
AK
240492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24050
24051 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24052 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24053 hidden.
24054 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24055
5f30cfec
L
240562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24057
24058 [BZ #14538]
24059 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24060 first element of the GOT.
24061 (elf_machine_load_address): Return the difference between
24062 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24063
0786794f
AM
240642012-09-01 Allan McRae <allan@archlinux.org>
24065
5f30cfec
L
24066 [BZ #13412]
24067 * configure.in (AWK): Require gawk version 3.0 or later.
24068 * configure: Regenerated.
0786794f 24069
26889eac
JM
240702012-09-01 Joseph Myers <joseph@codesourcery.com>
24071
24072 * sysdeps/unix/sysv/linux/kernel-features.h
24073 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24074 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24075 [__NR_clock_getres]: Make code unconditional.
24076 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24077 (clock_getcpuclockid): Remove code left unreachable by removal of
24078 conditionals.
24079 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24080 code unconditional.
24081 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24082 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24083 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24084 Make code unconditional.
24085 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24086 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24087 * sysdeps/unix/sysv/linux/clock_settime.c
24088 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24089 conditional code.
24090 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24091 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24092
d22e28b0
L
240932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24094
24095 [BZ #14476]
24096 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24097 scripts/test-installation.pl.
24098
24099 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24100 and $ld_so_version if it is set.
24101
050af9c4
SP
241022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24103
24104 [BZ #14516]
24105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24106 failure if reading from procfs failed.
24107 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24108
ad845c0b
JM
241092012-08-27 Joseph Myers <joseph@codesourcery.com>
24110
24111 * sysdeps/unix/sysv/linux/kernel-features.h
24112 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24113 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24114 Remove conditional code.
24115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24116 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24117 Remove conditional code.
24118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24119 * sysdeps/unix/sysv/linux/i386/fxstat.c
24120 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24122 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24123 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24125 * sysdeps/unix/sysv/linux/i386/lxstat.c
24126 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24128 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24129 Remove conditional code.
24130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24131 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24132 Remove conditional code.
24133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24134 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24135 <kernel-features.h>.
24136 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24137 Remove.
24138 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24139 Remove conditional code.
24140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24141 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24142 Remove conditional.
24143
5dbf56af
MF
241442012-08-27 Mike Frysinger <vapier@gentoo.org>
24145
24146 [BZ #5400]
24147 * NEWS: Add fixed bug number.
24148
d6e70f43
JM
241492012-08-27 Joseph Myers <joseph@codesourcery.com>
24150
7efb4737
JM
24151 [BZ #14519]
24152 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24153 underflowing exponent in case of negative sign.
24154 * stdlib/tst-strtod-round-data: Add more tests.
24155 * stdlib/tst-strtod-round.c (tests): Regenerated.
24156
af92131a
JM
24157 [BZ #3479]
24158 * stdlib/strtod_l.c (NDIG): Remove.
24159 (HEXNDIG): Likewise.
24160 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24161 smallest representable value.
24162 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24163 lie within an exact representation of 1/2 ulp of the result.
24164 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24165 unconditionally.
24166 (TENS_P9_IDX): Define unconditionally.
24167 (TENS_P9_SIZE): Likewise.
24168 (TENS_P10_IDX): Likewise.
24169 (TENS_P10_SIZE): Likewise.
24170 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24171 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24172 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24173 entries for 10^2^13 and 10^2^14.
24174 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24175 (TENS_P13_IDX): Define.
24176 (TENS_P13_SIZE): Likewise.
24177 (TENS_P14_IDX): Likewise.
24178 (TENS_P14_SIZE): Likewise.
24179 (_fpioconst_pow10): Change array size to
24180 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24181 unconditional.
24182 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24183 1024]: Add entries for 10^2^13 and 10^2^14.
24184 [LAST_POW10 > _LAST_POW10]: Remove #error.
24185 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24186 (_fpioconst_pow10): Change array size to
24187 FPIOCONST_POW10_ARRAY_SIZE.
24188 * stdlib/gen-fpioconst.c: New file.
24189 * stdlib/gen-tst-strtod-round.c: Likewise.
24190 * stdlib/tst-strtod-round-data: Likewise.
24191 * stdlib/tst-strtod-round.c: Likewise.
24192 * stdlib/Makefile (tests): Add tst-strtod-round.
24193
d6e70f43
JM
24194 [BZ #14459]
24195 * stdlib/strtod_l.c: Include <stdint.h>.
24196 (NDEBUG): Do not define.
24197 (round_and_return): Change EXPONENT parameter to type intmax_t.
24198 Rearrange calculations to avoid internal overflow possibilities.
24199 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24200 Rearrange calculations to avoid internal overflow possibilities.
24201 Assert that number fits inside MPNSIZE limbs.
24202 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24203 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24204 calculations and add assertions to avoid internal overflow
24205 possibilities. Add casts to avoid signed/unsigned operations.
24206 * stdlib/tst-strtod-overflow.c: New file.
24207 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24208
1f529f7d
MP
242092012-08-25 Marek Polacek <polacek@redhat.com>
24210
24211 * time/time.h: Fix some typos in comments.
24212
59a629f1
RM
242132012-08-23 Roland McGrath <roland@hack.frob.com>
24214
24215 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24216 * posix/tst-rfc3484-2.c: Likewise.
24217 * posix/tst-rfc3484-3.c: Likewise.
24218
d3bafbc9
SM
242192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24220
24221 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24222 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24223
4efcc022
JM
242242012-08-23 Joseph Myers <joseph@codesourcery.com>
24225
24226 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24227 #include of fxstatat64.c.
24228
3cc3ef96
RM
242292012-08-22 Roland McGrath <roland@hack.frob.com>
24230
f04e2132
RM
24231 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24232 * shadow/getspent_r.c: Likewise.
24233 * shadow/getspnam.c: Likewise.
24234 * shadow/getspnam_r.c: Likewise.
24235 * gshadow/getsgent.c: Likewise.
24236 * gshadow/getsgent_r.c: Likewise.
24237 * gshadow/getsgnam.c: Likewise.
24238 * gshadow/getsgnam_r.c: Likewise.
24239 * inet/getnetbyad.c: Likewise.
24240 * inet/getnetbyad_r.c: Likewise.
24241 * inet/getnetbynm.c: Likewise.
24242 * inet/getnetbynm_r.c: Likewise.
24243 * inet/getnetent.c: Likewise.
24244 * inet/getnetent_r.c: Likewise.
24245 * inet/getproto.c: Likewise.
24246 * inet/getproto_r.c: Likewise.
24247 * inet/getprtent.c: Likewise.
24248 * inet/getprtent_r.c: Likewise.
24249 * inet/getprtname.c: Likewise.
24250 * inet/getprtname_r.c: Likewise.
24251 * inet/getrpcbyname.c: Likewise.
24252 * inet/getrpcbyname_r.c: Likewise.
24253 * inet/getrpcbynumber.c: Likewise.
24254 * inet/getrpcbynumber_r.c: Likewise.
24255 * inet/getrpcent.c: Likewise.
24256 * inet/getrpcent_r.c: Likewise.
24257 * inet/getaliasent.c: Likewise.
24258 * inet/getaliasent_r.c: Likewise.
24259 * inet/getaliasname.c: Likewise.
24260 * inet/getaliasname_r.c: Likewise.
24261 * nscd/getgrgid_r.c: Likewise.
24262 * nscd/getgrnam_r.c: Likewise.
24263 * nscd/gethstbyad_r.c: Likewise.
24264 * nscd/gethstbynm3_r.c: Likewise.
24265 * nscd/getpwnam_r.c: Likewise.
24266 * nscd/getpwuid_r.c: Likewise.
24267 * nscd/getsrvbynm_r.c: Likewise.
24268 * nscd/getsrvbypt_r.c: Likewise.
24269 * nscd/gai.c: Likewise.
24270
c53d909c
RM
24271 * configure.in (build_nscd): New substituted variable, set
24272 by --disable-build-nscd and defaults to $use_nscd.
24273 * configure: Regenerated.
24274 * config.make.in (build-nscd): New substituted variable.
24275 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24276 Change conditional to require [$(build-nscd) = yes] as well.
24277 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24278
3cc3ef96
RM
24279 [BZ# 13696]
24280 * configure.in (use_nscd): New substituted variable, set by
24281 --disable-nscd. If enabled, define USE_NSCD.
24282 * configure: Regenerated.
24283 * config.h.in: Add USE_NSCD.
24284 * config.make.in (use-nscd): New substituted variable.
24285 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24286 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24287 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24288 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24289 (CFLAGS-getgrnam_r.c): Likewise.
24290 (CFLAGS-initgroups.c): Likewise.
24291 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24292 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24293 Variables removed.
24294 * inet/getnetgrent_r.c
24295 (nscd_setnetgrent): New function, broken out of ...
24296 (setnetgrent): ... here. Call it.
24297 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24298 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24299 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24300 * nscd/Makefile (routines, aux): Move definitions after include of
24301 Makeconfig. Conditionalize on [$(use-nscd) != no].
24302 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24303 Conditionalize on [USE_NSCD].
24304 (is_nscd, nscd_init_cb): Likewise.
24305 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24306 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24307 * nss/nss_db/db-init.c: Likewise.
24308 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24309 [USE_NSCD].
24310 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24311 (make_request): Use it.
24312 (cache_valid_p): New function.
24313 (__check_pf): Use it.
24314 * NEWS: Add item for --disable-nscd.
24315
07e51550
DL
243162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24317
24318 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24319 to support sed >= 4.2.1-20-ga9bf076.
24320 * configure: Regenerated.
24321
35a5b08b
RM
243222012-08-22 Roland McGrath <roland@hack.frob.com>
24323
24324 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24325 Conditionalize whole body on [IREL].
24326
8479f23a
JL
243272012-08-22 Jeff Law <law@redhat.com>
24328
24329 [BZ #14505]
24330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24331 if the family is PF_UNSPEC.
24332
48da0b21
MF
243332012-08-22 Mike Frysinger <vapier@gentoo.org>
24334
24335 * Makerules (lib-version): Rename from V.
24336 (install-lib-nosubdir): Change V to lib-version.
24337
15d0da8c
WS
243382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24339
24340 [BZ #14252]
24341 * powerpc32/power6/wcschr.c: New file.
24342 * powerpc32/power6/wcscpy.c: New file.
24343 * powerpc32/power6/wcsrchr.c: New file.
24344 * powerpc64/power6/wcschr.c: New file.
24345 * powerpc64/power6/wcscpy.c: New file.
24346 * powerpc64/power6/wcsrchr.c: New file.
24347
bcca0895
MK
243482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24349
24350 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24351 (two_way_short_needle): Use it.
5a4aaa33
RM
24352 * string/strstr.c (AVAILABLE1_USES_J): Define.
24353 * string/strcasestr.c: Likewise.
99677e57
MK
24354
24355 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24356 array references.
24357 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24358
400726de
MK
24359 [BZ #11607]
24360 * NEWS: Add an entry.
24361 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24362 define their defaults.
24363 (two_way_short_needle): Detect end-of-string on-the-fly.
24364 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24365 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24366 * string/bug-strcasestr1.c: New test.
24367 * string/Makefile: Run it.
24368
20a71f2c
MK
243692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24370
24371 [BZ #11607]
24372 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24373 the first character.
24374
21ad0558
RM
243752012-08-21 Roland McGrath <roland@hack.frob.com>
24376
24377 * csu/elf-init.c (__libc_csu_irel): Function removed.
24378 * csu/libc-start.c (apply_irel): New function.
24379 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24380
0e1d9911
JM
243812012-08-21 Joseph Myers <joseph@codesourcery.com>
24382
24383 * sysdeps/unix/sysv/linux/kernel-features.h
24384 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24385 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24386 <kernel-features.h>.
24387 [__NR_fadvise64_64]: Make code unconditional.
24388 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24389 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24390 !__NR_fadvise64_64)]: Likewise.
24391 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24392 !__NR_fadvise64_64))]: Likewise.
24393 [__NR_fadvise64]: Make code unconditional.
24394 [!__NR_fadvise64]: Remove conditional code.
24395 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24396 <kernel-features.h>.
24397 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24398 unconditional.
24399 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24400 conditional code.
24401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24402 not include <kernel-features.h>.
24403 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24404 unconditional.
24405 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24406 conditional code.
24407 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24408 include <kernel-features.h>.
24409 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24410 unconditional.
24411 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24412 conditional code.
24413
14a50c9d
WS
244142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24415
24416 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24417 slight instruction rearrangements per scrollpipe analysis.
24418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24419
c0f4faf0
RM
244202012-08-20 Roland McGrath <roland@hack.frob.com>
24421
696da859
RM
24422 * manual/syslog.texi (syslog; vsyslog, closelog):
24423 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24424 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24425
c0f4faf0
RM
24426 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24427 DSOCAPS to match condition on defining it.
24428
348363b2
JM
244292012-08-20 Joseph Myers <joseph@codesourcery.com>
24430
a35cbf28
JM
24431 * sysdeps/unix/sysv/linux/kernel-features.h
24432 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24434 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24435 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24437 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24438 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24440 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24441 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24442
445f7ecd
JM
24443 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24444 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24445
348363b2
JM
24446 * sysdeps/unix/sysv/linux/kernel-features.h
24447 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24448 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24449 unconditional.
24450 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24451 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24452 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24453 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24454 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24455 Make code unconditional.
24456 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24457 (__mmap64) [!__NR_mmap2]: Likewise.
24458 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24459 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24460 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24461 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24462 [__NR_mmap2]: Make code unconditional.
24463 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24464 (__mmap64) [!__NR_mmap2]: Likewise.
24465
bc5bc0e5
AK
244662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24467
24468 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24469
88d506de
AJ
244702012-08-18 Andreas Jaeger <aj@suse.de>
24471
24472 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24473
493387d2
MF
244742012-08-18 Mike Frysinger <vapier@gentoo.org>
24475
24476 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24477 * include/unistd.h (__have_sock_cloexec): Likewise.
24478 (__have_pipe2): Likewise.
24479 (__have_dup3): Likewise.
24480
a277af22
MF
244812012-08-18 Mike Frysinger <vapier@gentoo.org>
24482
24483 [BZ #9685]
24484 * include/unistd.h (__have_pipe2): Change define into an extern int.
24485 (__have_dup3): Likewise.
24486 * socket/have_sock_cloexec.c: Include fcntl.h.
24487 (__have_pipe2): New variable.
24488 (__have_dup3): Likewise.
24489
fdab8fd3
MF
244902012-08-17 Mike Frysinger <vapier@gentoo.org>
24491
24492 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24493
31035e80
MP
244942012-08-17 Marek Polacek <polacek@redhat.com>
24495
24496 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24497 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24498
3bd9e993
RM
244992012-08-17 Roland McGrath <roland@hack.frob.com>
24500
c91c505f
RM
24501 * configure.in: Add AC_SUBST for sysheaders.
24502 * configure: Regenerated.
24503 * config.make.in (sysheaders): New substituted variable.
24504
7c6f9d53
RM
24505 * sysdeps/unix/mkfifo.c: Moved ...
24506 * sysdeps/posix/mkfifo.c: ... here.
24507 * sysdeps/unix/mkfifoat.c: Moved ...
24508 * sysdeps/posix/mkfifoat.c: ... here.
24509
24510 * sysdeps/unix/utime.c: Moved ...
24511 * sysdeps/posix/utime.c: ... here.
24512
24513 * sysdeps/unix/time.c: Moved ...
24514 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24515 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24516 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24517
24518 * sysdeps/unix/nice.c: Moved ...
24519 * sysdeps/posix/nice.c: ... here.
24520
24521 * sysdeps/unix/alarm.c: Moved ...
24522 * sysdeps/posix/alarm.c: ... here.
24523
3bd9e993
RM
24524 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24525
d1f09384
JL
245262012-08-17 Jeff Law <law@redhat.com>
24527
24528 * intl/Makefile (codeset_mo): New variable.
24529 ($(codeset_mo)): New target.
24530 (tst-codeset.out): Depend on that. Remove explicit rule.
24531 (tst-gettext3.out, tst-gettext5.out): Likewise.
24532 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24533 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24534 * intl/tst-codeset.sh: Remove.
24535 * intl/tst-gettext3.sh: Likewise.
24536 * intl/tst-gettext5.sh: Likewise.
24537
2ae1ae5c
RM
245382012-08-17 Roland McGrath <roland@hack.frob.com>
24539
c31fdb83
RM
24540 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24541 * sysdeps/unix/syscalls.list: ... here.
24542
a0844057
RM
24543 * sysdeps/posix/getaddrinfo.c
24544 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24545 (gaiconf_init, gaiconf_reload): Use them.
24546 [!_STATBUF_ST_NSEC]
24547 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24548 Define using time_t rather than struct timespec.
24549
750c1f2a
RM
24550 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24551 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24552 Macros removed.
24553 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24554 [!NO_THREADS].
24555 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24556 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24557 Likewise.
24558
2ae1ae5c
RM
24559 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24560 __libc_cleanup_push argument.
24561
e66a42f5
RM
24562 * bits/param.h: New file.
24563 * misc/sys/param.h: New file.
24564 * include/sys/param.h: New file.
24565 * misc/Makefile (headers): Add bits/param.h.
24566 * sysdeps/generic/sys/param.h: File removed.
24567 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24568 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24569 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24570 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24571
b7c08a66
RM
24572 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24573 last change.
24574
b2e1c562
RM
24575 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24576 [_IO_MTSAFE_IO].
24577 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24578 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24579 New macros.
24580
c75ccd4c
RM
24581 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24582 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24583 rather than -D_IO_MTSAFE_IO conditionally.
24584 * stdio-common/Makefile (CPPFLAGS): Likewise.
24585 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24586 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24587 Use $(libio-mtsafe).
24588 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24589 of -D_IO_MTSAFE_IO.
24590 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24591 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24592 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24593 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24594 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24595 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24596 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24597 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24598 (CFLAGS-fread_u_chk.c): Likewise.
24599 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24600 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24601 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24602 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24603 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24604 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24605 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24606 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24607 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24608
24609 * libio/Makefile: Test [$(libc-reentrant) = yes]
24610 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24611
24612 * Makeconfig
24613 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24614 * sysdeps/pthread/configure: File removed.
24615 * sysdeps/pthread/Makeconfig: New file.
24616 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24617 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24618
d9195db8
GB
246192012-08-16 Gary Benson <gbenson@redhat.com>
24620
24621 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24622 unmapping the first object in a namespace.
24623
86466cd9
RM
246242012-08-16 Roland McGrath <roland@hack.frob.com>
24625
24626 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24627 (__internal_setnetgrent): ... this. Add internal_function to
24628 definition. Add libc_hidden_def.
24629 (setnetgrent): Update caller.
24630 (internal_endnetgrent): Renamed to ...
24631 (__internal_endnetgrent): ... this. Add internal_function to
24632 definition. Add libc_hidden_def.
24633 (endnetgrent): Update caller.
24634 (internal_getnetgrent_r): Renamed to ...
24635 (__internal_getnetgrent_r): ... this. Add internal_function to
24636 definition. Add libc_hidden_def.
24637 (__getnetgrent_r): Update caller.
24638 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24639
c3c8283c
JM
246402012-08-16 Joseph Myers <joseph@codesourcery.com>
24641
24642 * stdlib/longlong.h: Update from GCC.
24643
db1ee0a8
RM
246442012-08-16 Roland McGrath <roland@hack.frob.com>
24645
24646 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24647 on _QL, which is set by umul_ppmm but never used.
24648 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24649 variables, which are set by GMP macros but never used.
24650 * stdio-common/_itowa.c (_itowa): Likewise.
24651 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24652 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24653
30f69637
CD
246542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24655
24656 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24657 struct La_sh_regs is not constant.
24658 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24659 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24660 and struct La_sparc64_regs are not constant.
24661
93a78ac4
JM
246622012-08-16 Joseph Myers <joseph@codesourcery.com>
24663
24664 * sysdeps/unix/sysv/linux/kernel-features.h
24665 (__ASSUME_POSIX_TIMERS): Remove.
24666 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24668 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24669 Make code unconditional.
24670 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24671 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24672 Make code unconditional.
24673 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24674 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24675 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24676 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24677 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24678 Make code unconditional.
24679 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24680 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24681 (__libc_missing_posix_timers): Remove.
24682
dd924cd7
RM
246832012-08-15 Roland McGrath <roland@hack.frob.com>
24684
4b4f2771
RM
24685 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24686 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24687
601c888b
RM
24688 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24689
176790a7
RM
24690 * elf/dl-sym.c: Include <stdlib.h>.
24691
329bc018
RM
24692 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24693 constants, which avoids warnings in 32-bit builds.
24694
e04e272d
RM
24695 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24696 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24697
952bf94a
RM
24698 * misc/lseek.c: File moved to ...
24699 * io/lseek.c: ... here.
24700
7c99b50a
RM
24701 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24702
dd924cd7
RM
24703 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24704 shifting LEN more than 31 bits at once.
24705
b3f479a8
LD
247062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24707
24708 [BZ #14195]
8c4ae0d4
RM
24709 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24710 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24711 * string/test-strncasecmp.c (check1): Renamed to...
24712 (bz12205): ...this.
24713 (bz14195): Add new testcase for two empty input strings and N > 0.
24714 (test_main): Call new testcase, adapt for renamed function.
24715
9c55864e
AJ
247162012-08-15 Andreas Jaeger <aj@suse.de>
24717
24718 [BZ #14090]
24719 * crypt/md5test2.c: New test, based on test supplied by Serge
24720 Belyshev <belyshev@depni.sinp.msu.ru>.
24721 * crypt/Makefile (xtests): Add md5test-giant..
24722 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24723
02dcb6c5
PE
247242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24725
24726 [BZ #14090]
24727 * crypt/md5.c (md5_process_block): Don't assume the buffer
24728 length is less than 2**32.
24729 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24730 length is less than 2**64.
24731
a3f95dcc
RM
247322012-08-15 Roland McGrath <roland@hack.frob.com>
24733
be75d758
RM
24734 * string/str-two-way.h: Include <sys/param.h>.
24735 (MAX): Macro removed.
24736
7312ca90
RM
24737 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24738 Move #define and #undef of memmove to just before and after
24739 including <string.h>.
24740
9a0a5486
RM
24741 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24742 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24743 and after including <string.h>. Move declarations of
24744 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24745 to before #include "string/memmove.c".
24746
67cc348d
RM
24747 * include/dirent.h: Declare __getdirentries.
24748
a3f95dcc
RM
24749 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24750 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24751
ca98e171
MF
247522012-08-14 Mike Frysinger <vapier@gentoo.org>
24753
24754 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24755 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24756 * sysdeps/i386/configure: Regenerated.
24757 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24758 STABS_CURRENT_FILE, and STABS_FUN.
24759 (END): Remove call to STABS_FUN_END.
24760 (STABS_CURRENT_FILE1): Delete.
24761 (STABS_CURRENT_FILE): Likewise.
24762 (STABS_FUN): Likewise.
24763 (STABS_FUN_END): Likewise.
24764 (STABS_FUN2): Likewise.
24765 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24766 * sysdeps/x86_64/configure: Regenerated.
24767
5908bf46
RM
247682012-08-14 Roland McGrath <roland@hack.frob.com>
24769
24770 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24771 * elf/dl-lookup.c: Likewise.
5908bf46 24772
f2c05b9e
JM
247732012-08-14 Joseph Myers <joseph@codesourcery.com>
24774
24775 * sysdeps/unix/sysv/linux/kernel-features.h
24776 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24777 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24778 unconditionally.
24779 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24780 unconditionally.
24781 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24782 condition on __ASSUME_CLONE_THREAD_FLAGS.
24783
e11f5155
AJ
247842012-08-14 Andreas Jaeger <aj@suse.de>
24785
24786 * sysdeps/i386/fpu/libm-test-ulps: Update.
24787
51a9ba86
MK
247882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24789
2fdd4f78
AJ
24790 * include/atomic.h (atomic_exchange_and_add): Split into ...
24791 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24792 New atomic macros.
51a9ba86 24793
ba6cba9e
MT
247942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24795
24796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24797
42443a47
JL
247982012-08-13 Jeff Law <law@redhat.com>
24799
24800 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24801 null byte in the output string.
24802
121dce05
JM
248032012-08-10 Joseph Myers <joseph@codesourcery.com>
24804
24805 * sysdeps/unix/sysv/linux/kernel-features.h
24806 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24807 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24808 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24809 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24810 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24811 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24812 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24813
bf51f568
JL
248142012-08-09 Jeff Law <law@redhat.com>
24815
24816 [BZ #13939]
24817 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24818 When avoid_arena is set, don't retry in the that arena. Pick the
24819 next one, whatever it might be.
24820 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24821 (arena_lock): Pass in new parameter to arena_get2.
24822 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24823 arena_get2.
24824 (__libc_malloc): Unify retrying after main arena failure with
24825 __libc_memalign version.
24826 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24827
f85fa270
L
248282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24829
24830 [BZ #14166]
24831 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24832 to __redirect_strstr.
24833 (__strstr_sse42): Use typeof __redirect_strstr.
24834 (__strstr_ia32): Likewise.
24835 (__libc_strstr): New prototype.
24836 (strstr): Renamed to ...
24837 (__libc_strstr): This.
24838 (strstr): New strong alias of __libc_strstr.
24839 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24840 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24841 __redirect_time.
24842 Include <time.h>.
24843 (__libc_time): New prototype.
24844 (time_ifunc): Replace time with __libc_time.
24845 (time): New strong alias and hidden definition of __libc_time.
24846 (__GI_time): Remove strong alias.
24847 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24848 Include <stddef.h>.
24849 (memmove): Redefined to __redirect_memmove.
24850 (__memmove_sse2): Use typeof __redirect_memmove.
24851 (__memmove_ssse3): Likewise.
24852 (__memmove_ssse3_back): Likewise.
24853 (__libc_memmove): New prototype.
24854 (memmove): Renamed to ...
24855 (__libc_memmove): This.
24856 (memmove): New strong alias of __libc_memmove.
24857
33b4a91e
MS
248582012-08-08 Mark Salter <msalter@redhat.com>
24859
24860 * elf/elf.h
24861 (R_MN10300_TLS_GD): Define.
24862 (R_MN10300_TLS_LD): Likewise.
24863 (R_MN10300_TLS_LDO): Likewise.
24864 (R_MN10300_TLS_GOTIE): Likewise.
24865 (R_MN10300_TLS_IE): Likewise.
24866 (R_MN10300_TLS_LE): Likewise.
24867 (R_MN10300_TLS_DTPMOD): Likewise.
24868 (R_MN10300_TLS_DTPOFF): Likewise.
24869 (R_MN10300_TLS_TPOFF): Likewise.
24870 (R_MN10300_SYM_DIFF): Likewise.
24871 (R_MN10300_ALIGN): Likewise.
24872 (R_MN10300_NUM): Update.
24873
b36137f1
JM
248742012-08-08 Joseph Myers <joseph@codesourcery.com>
24875
24876 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24877 Remove.
24878
cdd915fd
RM
248792012-08-08 Roland McGrath <roland@hack.frob.com>
24880
a2433aac
RM
24881 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24882
cdd915fd
RM
24883 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24884 sysdeps/unix -> sysdeps/posix move.
24885 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24886
bf9b740a
AM
248872012-08-07 Allan McRae <allan@archlinux.org>
24888
24889 [BZ #14303]
24890 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24891 (SUNOS_CPP): Likewise.
24892 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24893 not found.
24894 (open_input): Call CPP using execvp.
24895
93df14ee
JM
248962012-08-07 Joseph Myers <joseph@codesourcery.com>
24897
24898 * sysdeps/unix/sysv/linux/kernel-features.h
24899 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24900 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24901 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24902 (__ASSUME_WAITID_SYSCALL): Likewise.
24903 * sysdeps/unix/sysv/linux/dl-execstack.c
24904 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24905 code unconditional.
24906 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24907 conditional code.
24908 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24909 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24910 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24911 code.
24912 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24913 unconditional.
24914 [__ASSUME_WAITID_SYSCALL]: Likewise.
24915 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24916
d34689de
RM
249172012-08-07 Roland McGrath <roland@hack.frob.com>
24918
a281decc
RM
24919 * sysdeps/unix/closedir.c: Renamed to ...
24920 * sysdeps/posix/closedir.c: ... here.
24921 * sysdeps/unix/dirfd.c: Renamed to ...
24922 * sysdeps/posix/dirfd.c: ... here.
24923 * sysdeps/unix/dirstream.h: Renamed to ...
24924 * sysdeps/posix/dirstream.h: ... here.
24925 * sysdeps/unix/fdopendir.c: Renamed to ...
24926 * sysdeps/posix/fdopendir.c: ... here.
24927 * sysdeps/unix/opendir.c: Renamed to ...
24928 * sysdeps/posix/opendir.c: ... here.
24929 * sysdeps/unix/readdir.c: Renamed to ...
24930 * sysdeps/posix/readdir.c: ... here.
24931 * sysdeps/unix/readdir_r.c: Renamed to ...
24932 * sysdeps/posix/readdir_r.c: ... here.
24933 * sysdeps/unix/rewinddir.c: Renamed to ...
24934 * sysdeps/posix/rewinddir.c: ... here.
24935 * sysdeps/unix/seekdir.c: Renamed to ...
24936 * sysdeps/posix/seekdir.c: ... here.
24937 * sysdeps/unix/telldir.c: Renamed to ...
24938 * sysdeps/posix/telldir.c: ... here.
24939 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24940 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24941 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24942 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24943
22895b47
RM
24944 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24945 * bits/fcntl.h: ... here.
24946
707a53b6
RM
24947 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24948 not 0.
24949 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24950 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24951 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24952 (struct flock): Move l_start, l_len to the beginning.
24953 Use __pid_t for l_pid.
24954 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24955 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24956 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24957 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24958 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24959 [__USE_LARGEFILE64] (struct flock64): New type.
24960 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24961
f0bd3e25
RM
24962 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24963 * bits/dirent.h: ... here.
24964
d34689de
RM
24965 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24966 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24967
6dad2c06
JM
249682012-08-07 Joseph Myers <joseph@codesourcery.com>
24969
24970 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24971 Change from 2.6.0 to 2.6.16.
24972 * sysdeps/unix/sysv/linux/configure: Regenerated.
24973 * sysdeps/unix/sysv/linux/kernel-features.h
24974 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24975 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24976 version.
24977 (__ASSUME_UTIMES): Likewise.
24978 (__ASSUME_CLONE_STOPPED): Remove.
24979 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24980 architectures, not kernel version.
24981 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24982 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24983 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24984 (__ASSUME_WAITID_SYSCALL): Likewise.
24985 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24986 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24987 * README: State 2.6.16 as minimum Linux kernel version. Do not
24988 refer to older versions.
24989
03af9520
RM
249902012-08-06 Roland McGrath <roland@hack.frob.com>
24991
8e49df1d
RM
24992 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24993 Define alphasort64 as an alias.
24994 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24995 Define versionsort64 as an alias.
24996 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24997 Define scandir64 as an alias.
24998 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24999 Define scandirat64 as an alias.
25000 * dirent/alphasort64.c (alphasort64):
25001 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25002 * dirent/versionsort64.c: Likewise.
25003 * dirent/scandir64.c: Likewise.
25004 * dirent/scandirat64.c: Likewise.
25005 * sysdeps/wordsize-64/alphasort.c: File removed.
25006 * sysdeps/wordsize-64/alphasort64.c: File removed.
25007 * sysdeps/wordsize-64/scandir.c: File removed.
25008 * sysdeps/wordsize-64/scandir64.c: File removed.
25009 * sysdeps/wordsize-64/scandirat.c: File removed.
25010 * sysdeps/wordsize-64/scandirat64.c: File removed.
25011 * sysdeps/wordsize-64/versionsort.c: File removed.
25012 * sysdeps/wordsize-64/versionsort64.c: File removed.
25013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25014 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25015 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25016 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25017 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25018 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25020 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25021
25022 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25023 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25024 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25026 [defined __arch64__ || defined __sparcv9]
25027 (__INO_T_MATCHES_INO64_T): New macro.
25028 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25029 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25030 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25031 * sysdeps/unix/sysv/linux/bits/dirent.h
25032 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25033 (_DIRENT_MATCHES_DIRENT64): New macro.
25034
03af9520
RM
25035 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25036 Define lockf64 as an alias.
25037 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25038 Define fseeko64 as an alias.
25039 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25040 Define ftello64 as an alias.
25041 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25042 Define _IO_fgetpos64 and fgetpos64 as aliases.
25043 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25044 Define _IO_fsetpos64 and fsetpos64 as aliases.
25045 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25046 Conditionalize body on this.
25047 * libio/fseeko64.c: Likewise.
25048 * libio/ftello64.c: Likewise.
25049 * libio/iofgetpos64.c: Likewise.
25050 * libio/iofsetpos64.c: Likewise.
25051 * sysdeps/wordsize-64/lockf.c: File removed.
25052 * sysdeps/wordsize-64/lockf64.c: File removed.
25053 * sysdeps/wordsize-64/fseeko.c: File removed.
25054 * sysdeps/wordsize-64/fseeko64.c: File removed.
25055 * sysdeps/wordsize-64/ftello.c: File removed.
25056 * sysdeps/wordsize-64/ftello64.c: File removed.
25057 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25058 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25059 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25060 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25061 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25062 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25063 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25064 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25065 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25066 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25067 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25068 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25069 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25070 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25071
25072 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25073 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25074 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25076 [defined __arch64__ || defined __sparcv9]
25077 (__OFF_T_MATCHES_OFF64_T): New macro.
25078 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25079 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25081 (__OFF_T_MATCHES_OFF64_T): New macro.
25082
c5757acd
L
250832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25084
25085 * stdlib/secure-getenv.c (__secure_getenv): Replace
25086 GLIBC_2_16 with GLIBC_2_17.
25087
3a31811e
L
250882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25089
25090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25091 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25092
faa2bccb
DM
250932012-08-03 David S. Miller <davem@davemloft.net>
25094
25095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25096
85fe1997
JM
250972012-08-03 Joseph Myers <joseph@codesourcery.com>
25098
25099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25100 Remove.
25101 (__ASSUME_CORRECT_SI_PID): Likewise.
25102 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25103 (__ASSUME_TMPFS_NAME): Likewise.
25104 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25105 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25106 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25107 (HAVE_AUX_SECURE): Make definition unconditional.
25108 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25109 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25110
4f75b7a0
RM
251112012-08-03 Roland McGrath <roland@hack.frob.com>
25112
25113 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25114 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25115 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25116 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25117 __eloop_threshold instead of SYMLOOP_MAX.
25118
25119 * sysdeps/generic/eloop-threshold.h: New file.
25120 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25121 of MAXSYMLINKS.
25122 * elf/chroot_canon.c (chroot_canon): Likewise.
25123
7aab07e4
JM
251242012-08-03 Joseph Myers <joseph@codesourcery.com>
25125
25126 [BZ #13717]
25127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25128 Change to 2.6.0 everywhere.
25129 * sysdeps/unix/sysv/linux/configure: Regenerated.
25130 * sysdeps/unix/sysv/linux/kernel-features.h
25131 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25132 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25133 kernel versions.
25134 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25135 (__ASSUME_FUTEX_REQUEUE): Remove.
25136 (__ASSUME_STATFS64): Define unconditionally.
25137 (__ASSUME_AT_SECURE): Likewise.
25138 (__ASSUME_CORRECT_SI_PID): Likewise.
25139 (__ASSUME_TGKILL): Define without depending on kernel version for
25140 i386.
25141 (__ASSUME_UTIMES): Likewise.
25142 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25143 kernel version.
25144 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25145 (__ASSUME_TMPFS_NAME): Likewise.
25146 * README: Update reference to Linux kernel versions.
25147
b67e9372
MP
251482012-08-02 Marek Polacek <polacek@redhat.com>
25149
1f529f7d 25150 [BZ# 14150]
b67e9372
MP
25151 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25152 libc_cv_asm_type_prefix with %.
25153 * configure: Regenerated.
d2441631
RM
25154 * include/libc-symbols.h: Remove comment about
25155 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25156 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25157 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25158 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25159 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25160 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25161 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25162 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25163 * elf/tst-unique2mod1.c: Likewise.
25164 * elf/tst-unique1mod2.c: Likewise.
25165 * elf/tst-unique1mod1.c: Likewise.
25166 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25167 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25168 Replace ASM_TYPE_DIRECTIVE with .type.
25169 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25170 * sysdeps/i386/sysdep.h: Likewise.
25171 * sysdeps/x86_64/sysdep.h: Likewise.
25172 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25174 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25175 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25176 * sysdeps/powerpc/powerpc32/sysdep.h:
25177 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25178 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25179 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25180 * sysdeps/i386/fpu/e_powf.S: Likewise.
25181 * sysdeps/i386/fpu/e_expl.S: Likewise.
25182 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25183 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25184 * sysdeps/i386/fpu/e_pow.S: Likewise.
25185 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25186 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25187 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25188 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25189 * sysdeps/i386/fpu/e_log2.S: Likewise.
25190 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25191 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25192 * sysdeps/i386/fpu/e_powl.S: Likewise.
25193 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25194 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25195 * sysdeps/i386/fpu/e_logl.S: Likewise.
25196 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25197 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25198 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25199 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25201 * sysdeps/i386/fpu/e_log.S: Likewise.
25202 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25203 * sysdeps/i386/fpu/e_logf.S: Likewise.
25204 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25205 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25206 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25207 * sysdeps/i386/fpu/e_log10.S: Likewise.
25208 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25209 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25210 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25211 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25212 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25213 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25214 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25215 * sysdeps/i386/i686/strtok.S: Likewise.
25216 * sysdeps/i386/i386-mcount.S: Likewise.
25217 * sysdeps/i386/strtok.S: Likewise.
25218 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25220 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25221 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25222 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25223 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25224 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25225 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25226 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25227 * sysdeps/x86_64/_mcount.S: Likewise.
25228 * sysdeps/x86_64/strtok.S: Likewise.
25229 * sysdeps/sh/_mcount.S: Likewise.
25230
2747bf9a
RM
252312012-08-01 Roland McGrath <roland@hack.frob.com>
25232
25233 * libio/iofopen.c: Include <fcntl.h>.
25234 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25235 (_IO_fopen64, fopen64): Define as aliases.
25236 * libio/iofopen64.c: Include <fcntl.h>.
25237 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25238 Conditionalize body on this.
25239 * sysdeps/wordsize-64/iofopen.c: File removed.
25240 * sysdeps/wordsize-64/iofopen64.c: File removed.
25241
3fb791b8
MP
252422012-08-01 Marek Polacek <polacek@redhat.com>
25243
25244 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25245 Use dlfcn directly instead of a variable.
25246 (binfmt-subdir): Do not define.
25247 (dlfcn): Likewise.
25248
a9f1039f
JM
252492012-08-01 Joseph Myers <joseph@codesourcery.com>
25250
23bddc06
JM
25251 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25252 Remove all definitions.
25253 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25254 <kernel-features.h>.
25255 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25256 (miss_F_GETOWN_EX): Remove all definitions.
25257 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25258 macro definition.
25259 [!__ASSUME_FCNTL64]: Remove conditional code.
25260 [__ASSUME_FCNTL64]: Make code unconditional.
25261 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25262 <kernel-features.h>.
25263 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25264 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25265 (lockf64) [__NR_fcntl64]: Make code unconditional.
25266 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25267
a9f1039f
JM
25268 * sysdeps/unix/sysv/linux/kernel-features.h
25269 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25270 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25271 Make code unconditional.
25272 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25273 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25275 [__NR_vfork]: Make code unconditional.
25276 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25277 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25279 [__NR_vfork]: Make code unconditional.
25280 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25281 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25282
09c0ee5f
RM
252832012-08-01 Roland McGrath <roland@hack.frob.com>
25284
48aec5b9
RM
25285 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25286 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25287
cd97c966
RM
25288 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25289 Define mkstemp64 as an alias.
3f55550c
RM
25290 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25291 Define mkstemps64 as an alias.
cd97c966
RM
25292 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25293 Define mkostemp64 as an alias.
b8625cfc
RM
25294 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25295 Define mkostemps64 as an alias.
cd97c966
RM
25296 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25297 Conditionalize body on this.
25298 * misc/mkostemp64.c: Likewise.
b8625cfc 25299 * misc/mkostemps64.c: Likewise.
3f55550c 25300 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25301 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25302 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25303 * sysdeps/wordsize-64/mkostemp.c: File removed.
25304 * sysdeps/wordsize-64/mkstemp.c: File removed.
25305 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25306 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25307 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25308 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25309
09c0ee5f
RM
25310 [BZ #14138]
25311 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25312 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25313 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25314 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25315
25316 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25317 compat_symbol macros from <shlib-compat.h> rather than the underlying
25318 default_symbol_version and symbol_version macros, so that DEFAULT
25319 lines in shlib-versions are respected.
25320 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25321
7e66ee51
FW
253222012-08-01 Florian Weimer <fweimer@redhat.com>
25323
25324 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25325 Declare with warn_unused_result.
25326 (setgid, setregid, setegid, setresgid): Likewise.
25327 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25328 Likewise.
25329 * WUR-REPORT: Remove set*id functions.
25330
d2a54255
PT
253312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25332
25333 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25334
7ecdb005
RM
253352012-07-31 Roland McGrath <roland@hack.frob.com>
25336
b4180a5e 25337 [BZ #10191]
789bd351
RM
25338 * include/sys/socket.h (__libc_accept, __libc_accept4):
25339 Add attribute_hidden.
25340 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25341
40ce302d
RM
25342 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25343 use of PTR_MANGLE.
25344 * inet/getnetgrent_r.c (setup): Likewise.
25345
7ecdb005
RM
25346 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25347
e2eabb2c
DM
253482012-07-31 David S. Miller <davem@davemloft.net>
25349
25350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25351
d0419dbf
JM
253522012-07-31 Joseph Myers <joseph@codesourcery.com>
25353
25354 [BZ #13629]
25355 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25356 value between 1.0 and 2.0 and smaller part has absolute value less
25357 than 1.0.
25358 * math/s_clog10.c (__clog10): Likewise.
25359 * math/s_clog10f.c (__clog10f): Likewise.
25360 * math/s_clog10l.c (__clog10l): Likewise.
25361 * math/s_clogf.c (__clogf): Likewise.
25362 * math/s_clogl.c (__clogl): Likewise.
25363 * math/libm-test.inc (clog_test): Add more tests.
25364 (clog10_test): Likewise.
25365 * sysdeps/i386/fpu/libm-test-ulps: Update.
25366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25367
2bc13872
FW
253682012-07-31 Florian Weimer <fweimer@redhat.com>
25369
25370 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25371 Exit with zero in case no suitable GID is found, and write a
25372 message to standard error.
25373
bea9b193
RM
253742012-07-30 Roland McGrath <roland@hack.frob.com>
25375
25376 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25377 rather than to 1.
25378 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25379 (MAXPATHLEN): Removed.
25380 (NOGROUP, NODEV): New macros.
25381 (setbit, clrbit, isset, isclr): New macros.
25382 (howmany, roundup, powerof2): New macros.
25383 (DEV_BSIZE): New macro.
25384
25385 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25386 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25387
25388 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25389 definition on [!__NO_LONG_DOUBLE_MATH].
25390
25391 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25392 PTR_MANGLE and PTR_DEMANGLE.
25393
25394 * socket/accept4.c (accept4): Rename to __libc_accept4.
25395 Define accept4 as a weak alias.
25396
25397 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25398 on [_DIRENT_HAVE_D_TYPE].
25399 * io/ftw.c (ftw_dir): Likewise.
25400
25401 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25402
25403 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25404
25405 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25406 Use the BSD numbers rather than the arbitrary ones we had.
25407 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25408 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25409 (SIGXCPU, SIGXFSZ): New macros.
25410 (_NSIG): Now 32.
25411
25412 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25413 initializer on [_LIBC_REENTRANT].
25414
25415 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25416 definitions inside [_POSIX_MAPPED_FILES].
25417
25418 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25419
25420 * dirent/opendir.c: Include <fcntl.h>.
25421
25422 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25423 (__libc_getspecific): Likewise.
25424 (__libc_key_create): Likewise.
25425
25426 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25427 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25428 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25429 (tmpfile64): Define as alias.
25430 * sysdeps/wordsize-64/tmpfile.c: File removed.
25431 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25434
25435 * stdio-common/vfscanf.c: Include <stdbool.h>.
25436 * nss/makedb.c: Likewise.
25437 * stdio-common/_i18n_number.h: Likewise.
25438 * argp/argp-help.c: Likewise.
25439 * posix/wordexp.c: Likewise.
25440 * sysdeps/posix/spawni.c: Likewise.
25441 * nss/nss_files/files-initgroups.c: Likewise.
25442 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25443 * nss/nss_files/files-initgroups.c: Likewise.
25444 * nss/nss_db/db-netgrp.c: Likewise.
25445 * nss/nss_db/db-initgroups.c: Likewise.
25446 * io/fchmodat.c: Include <sys/stat.h>.
25447
25448 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25449 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25450
25451 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25452 [HAVE_MMAP].
25453
25454 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25455 Add multiple inclusion protection.
25456
e5abc686
DM
254572012-07-27 David S. Miller <davem@davemloft.net>
25458
25459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25460
815e6fa3
GB
254612012-07-27 Gary Benson <gbenson@redhat.com>
25462
25463 [BZ #14298]
25464 * elf/rtld.c: Include <stap-probe.h>.
25465 (dl_main): Added static probes "init_start" and "init_complete".
25466 * elf/dl-load.c: Include <stap-probe.h>.
25467 (lose): Take new parameter "nsid".
25468 Added static probe "map_failed".
25469 (_dl_map_object_from_fd): Pass namespace id to lose.
25470 Added static probe "map_start".
25471 (open_verify): Pass namespace id to lose.
25472 * elf/dl-open.c: Include <stap-probe.h>.
25473 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25474 and "reloc_complete".
25475 * elf/dl-close.c: Include <stap-probe.h>.
25476 (_dl_close_worker): Added static probes "unmap_start" and
25477 "unmap_complete".
25478 * elf/rtld-debugger-interface.txt: New file documenting the above.
25479
9f98c16c
RM
254802012-07-26 Roland McGrath <roland@hack.frob.com>
25481
25482 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25483 rather than a string variable.
25484 * sunrpc/rpc_main.c (h_output): Likewise.
25485 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25486
f3c22df3
PT
254872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25488
25489 * inet/check_native.c: New file.
25490
3129cfc6
JM
254912012-07-26 Joseph Myers <joseph@codesourcery.com>
25492
da865e95
JM
25493 [BZ #13629]
25494 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25495 if larger part has absolute value 1.0.
25496 * math/s_clog10.c (__clog10): Likewise.
25497 * math/s_clog10f.c (__clog10f): Likewise.
25498 * math/s_clog10l.c (__clog10l): Likewise.
25499 * math/s_clogf.c (__clogf): Likewise.
25500 * math/s_clogl.c (__clogl): Likewise.
25501 * math/libm-test.inc (clog_test): Add more tests.
25502 (clog10_test): Likewise.
25503 * sysdeps/i386/fpu/libm-test-ulps: Update.
25504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25505
3129cfc6
JM
25506 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25507 (pltexit): Likewise.
25508 (La_regs): Likewise.
25509 (La_retval): Likewise.
25510 (int_retval): Likewise.
25511 Update #error for removed macros to refer only to definitions in
25512 tst-audit.h.
25513 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25514 macro.
25515 (pltexit): Likewise.
25516 (La_regs): Likewise.
25517 (La_retval): Likewise.
25518 (int_retval): Likewise.
25519 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25520 macro.
25521 (pltexit): Likewise.
25522 (La_regs): Likewise.
25523 (La_retval): Likewise.
25524 (int_retval): Likewise.
25525 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25526 macro.
25527 (pltexit): Likewise.
25528 (La_regs): Likewise.
25529 (La_retval): Likewise.
25530 (int_retval): Likewise.
25531 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25532 macro.
25533 (pltexit): Likewise.
25534 (La_regs): Likewise.
25535 (La_retval): Likewise.
25536 (int_retval): Likewise.
25537 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25538 macro.
25539 (pltexit): Likewise.
25540 (La_regs): Likewise.
25541 (La_retval): Likewise.
25542 (int_retval): Likewise.
25543 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25544 macro.
25545 (pltexit): Likewise.
25546 (La_regs): Likewise.
25547 (La_retval): Likewise.
25548 (int_retval): Likewise.
25549 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25550 macro definitions in tst-audit.h.
25551 * sysdeps/i386/tst-audit.h: New file.
25552 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25553 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25554 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25555 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25556 * sysdeps/sh/tst-audit.h: Likewise.
25557 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25558 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25559 * sysdeps/x86_64/tst-audit.h: Likewise.
25560
bfc07087
AJ
255612012-07-26 Andreas Jaeger <aj@suse.de>
25562
b1b2aaf8
AJ
25563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25564 ptrace.
25565
25566 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25567 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25568 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25569 PTRACE_O_MASK.
25570 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25571 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25572 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25573
bfc07087
AJ
25574 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25575 value.
25576
25577 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25578 _sigsys.
25579 (si_call_addr, si_syscall, si_arch): Define new macro.
25580 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25581 _sigsys.
25582 (si_call_addr, si_syscall, si_arch): Define new marcro.
25583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25584 _sigsys.
25585 (si_call_addr, si_syscall, si_arch): Define new macro.
25586 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25587 _sigsys.
25588 (si_call_addr, si_syscall, si_arch): Define new macro.
25589
89b4b02f
JM
255902012-07-25 Joseph Myers <joseph@codesourcery.com>
25591
25592 [BZ #13717]
25593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25594 Change to 2.4.21 where previously 2.4.1.
25595 * sysdeps/unix/sysv/linux/configure: Regenerated.
25596 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25597 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25598 Linux kernel version.
25599 (__ASSUME_STD_AUXV): Remove.
25600 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25601 kernel version.
25602 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25603 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25604 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25605 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25606 (__ASSUME_NETLINK_SUPPORT): Likewise.
25607 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25608 (__no_netlink_support): Remove conditional definition.
25609 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25610 Remove.
25611 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25612 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25613 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25614 (if_nameindex_ioctl): Remove.
25615 (if_nameindex_netlink): Do not handle __no_netlink_support.
25616 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25617 code.
25618 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25619 Remove conditional code.
25620 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25621 code.
25622 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25623 unconditional.
25624 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25625 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25626 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25627 Remove.
25628 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25629 [!__ASSUME_STD_AUXV]: Remove conditional code.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25631 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25632 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25634 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25635 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25636 code.
25637 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25639 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25640 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25641 conditional code.
25642 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25644 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25645 code.
25646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25647 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25648 conditional code.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25650 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25651 code unconditional.
25652 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25653 conditional code.
25654 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25655 unconditional.
25656 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25657 conditional code.
25658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25659 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25660 unconditional.
25661 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25662 conditional code.
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25664 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25665 code unconditional.
25666 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25667 conditional code.
25668 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25669 unconditional.
25670 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25671 conditional code.
25672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25673 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25674 code unconditional.
25675 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25676 conditional code.
25677 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25678 unconditional.
25679 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25680 conditional code.
25681
842a39cd
AS
256822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25683
25684 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25685 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25686 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25687 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25688 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25689 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25690 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25691 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25692 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25693 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25694 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25695 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25696 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25697 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25698 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25699 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25700 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25701 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25702 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25704 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25705 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25706 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25707
84b3fd84
FW
257082012-07-25 Florian Weimer <fweimer@redhat.com>
25709
25710 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25711 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25712 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25713 Introduce __libc_secure_getenv.
0c7936d5
FW
25714 * stdlib/Versions (2.17): Add secure_getenv
25715 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25716 * stdlib/secure-getenv.c: Rename __secure_getenv to
25717 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25718 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25719 * stdlib/tst-secure-getenv.c: New.
25720 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25721 * manual/startup.texi (Environment Access): Document
25722 secure_getenv.
84b3fd84
FW
25723 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25724 __libc_secure_getenv.
25725 * inet/ruserpass.c (ruserpass): Likewise.
25726 * malloc/mtrace.c (mtrace): Likewise.
25727 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25728 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25729 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25730 * sysdeps/posix/tempname.c: Likewise. Evaluate
25731 HAVE_SECURE_GETENV.
25732 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25733 __secure_getenv to __libc_secure_getenv.
84b3fd84 25734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25736 Likewise.
25737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25738 Likewise.
25739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25741 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25746
56e49b71
JM
257472012-07-25 Joseph Myers <joseph@codesourcery.com>
25748
25749 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25750 (struct La_i86_retval): Likewise.
25751 (struct La_x86_64_regs): Likewise.
25752 (struct La_x86_64_retval): Likewise.
25753 (struct La_x32_regs): Likewise.
25754 (struct La_x32_retval): Likewise.
25755 (struct La_ppc32_regs): Likewise.
25756 (struct La_ppc32_retval): Likewise.
25757 (struct La_ppc64_regs): Likewise.
25758 (struct La_ppc64_retval): Likewise.
25759 (struct La_sh_regs): Likewise.
25760 (struct La_sh_retval): Likewise.
25761 (struct La_s390_32_regs): Likewise.
25762 (struct La_s390_32_retval): Likewise.
25763 (struct La_s390_64_regs): Likewise.
25764 (struct La_s390_64_retval): Likewise.
25765 (struct La_sparc32_regs): Likewise.
25766 (struct La_sparc32_retval): Likewise.
25767 (struct La_sparc64_regs): Likewise.
25768 (struct La_sparc64_retval): Likewise.
25769 (struct audit_ifaces): Remove architecture-specific pltenter and
25770 pltexit members.
25771 * sysdeps/i386/ldsodefs.h: New file.
25772 * sysdeps/powerpc/ldsodefs.h: Likewise.
25773 * sysdeps/s390/ldsodefs.h: Likewise.
25774 * sysdeps/sh/ldsodefs.h: Likewise.
25775 * sysdeps/sparc/ldsodefs.h: Likewise.
25776 * sysdeps/x86_64/ldsodefs.h: Likewise.
25777
354691b7
MP
257782012-07-25 Marek Polacek <polacek@redhat.com>
25779
25780 [BZ #6808]
25781 * math/libm-test.inc (yn_test): Add another test.
25782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25783 to ERANGE when the result is +-Inf.
25784 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25785 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25786 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25787 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25788
bf9e2071
JM
257892012-07-24 Joseph Myers <joseph@codesourcery.com>
25790
25791 * conform/data/time.h-data (NULL): Use macro-constant. Require
25792 equal to 0.
25793 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25794 clock_t.
25795 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25796
57633811
TS
257972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25798
25799 * configure.in <sysdeps resolving>: Correct printing
25800 Implies_before.
25801 * configure: Regenerate.
25802
c23c33b0
TS
258032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25804
25805 * math/w_ilogb.c: Include <limits.h>.
25806 * math/w_ilogbl.c: Likewise.
25807
b5982523
JM
258082012-07-20 Joseph Myers <joseph@codesourcery.com>
25809
25810 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25811 va_copy. Document allowing for unavailable va_copy only as
25812 pre-C99 compatibility.
25813 * manual/string.texi (Copying and Concatenation): Use va_copy
25814 instead of __va_copy in concat example.
25815
ac4ea442
PT
258162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25817
25818 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25819 (__sendto): Use create_address_port. Initialize APORT and deallocate
25820 it if not null.
25821
f98eafbd
PT
25822 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25823 with O_NOLINK passed to __file_name_lookup.
25824
898c7aab
PT
25825 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25826 with O_NOLINK passed to __file_name_lookup.
25827
0ced335a
PT
25828 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25829 negative N or less than NGIDS.
25830
b3404dbd
PT
25831 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25832 type to string_t. Set ERANGE as errno and return it if NAME is not big
25833 enough. Use memcpy instead of strncpy.
25834
0f48659e
JM
258352012-07-20 Joseph Myers <joseph@codesourcery.com>
25836
25837 * elf/Makefile (check-data): Remove.
25838 (localplt.data): New vpath directive.
25839 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25840 instead of $(check-data).
25841 * scripts/data/localplt-generic.data: Move to ...
25842 * sysdeps/generic/localplt.data: ... here.
25843 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25844 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25845 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25847 ... here.
25848 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25850 ... here.
25851 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25853 ... here.
25854 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25856 ... here.
25857 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25859 ... here.
25860 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25862 ... here.
25863
d37cbdaa
AZ
258642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25865
25866 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25867 PPC32 and PPC64 files.
25868 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25869 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25870
46f85fc2
AK
258712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25872
25873 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25874 __makecontext_ret to ...
25875 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25876 ... here and call exit if uc_link is NULL. New file.
25877 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25878 __makecontext_ret.S.
25879 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25880 __makecontext_ret to ...
25881 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25882 ... here and call exit if uc_link is NULL. New file.
25883 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25884 __makecontext_ret.S.
25885
08f43f9b
AK
258862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25887
25888 * elf/elf.h (R_390_IRELATIVE): New definition.
25889 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25890 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25891 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25892 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25893 (elf_machine_lazy_rel): Likewise.
25894 * sysdeps/s390/dl-irel.h: New file.
25895 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25896 * sysdeps/s390/s390-64/memset.S: New asm code.
25897 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25898 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25899 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25900 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25901 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25902 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25903 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25904 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25905 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25906 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25907 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25908 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25909 * sysdeps/s390/s390-32/memset.S: New asm code.
25910 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25911
3b05db33
MP
259122012-07-17 Marek Polacek <polacek@redhat.com>
25913
25914 [BZ #14349]
25915 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25916 * sysdeps/s390/s390-64/configure.in: Likewise.
25917 * sysdeps/sparc/configure.in: Likewise.
25918 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25919 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25920 * sysdeps/i386/configure.in: Likewise.
25921 * sysdeps/x86_64/configure.in: Likewise.
25922 * sysdeps/sh/configure.in: Likewise.
25923 * sysdeps/s390/s390-32/configure: Regenerated.
25924 * sysdeps/s390/s390-64/configure: Likewise.
25925 * sysdeps/x86_64/configure: Likewise.
25926 * sysdeps/sh/configure: Likewise.
25927 * sysdeps/powerpc/powerpc64/configure: Likewise.
25928 * sysdeps/powerpc/powerpc32/configure: Likewise.
25929 * sysdeps/sparc/configure: Likwise.
25930 * sysdeps/i386/configure: Likewise.
25931
a66877c6
MP
25932 * elf/dl-open.c: Comment fixes.
25933
cfc82fd8
JM
259342012-07-17 Joseph Myers <joseph@codesourcery.com>
25935
bd29910a
JM
25936 * Makefile [CXX] (check-data): Remove.
25937 [CXX] (c++-types.data): New vpath directive.
25938 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25939 vpath. Do not allow for C++ type data being missing.
25940 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25941 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25942 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25943 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25944 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25945 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25946 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25948 ... here.
25949 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25951 ... here.
25952 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25954 ... here.
25955 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25957 ... here.
25958 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25960 ... here.
25961 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25963 ... here.
25964 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25966 ... here.
25967 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25969
cfc82fd8
JM
25970 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25971 definitions to architecture-specific files.
25972 (TLS_IE): Likewise.
25973 (TLS_LD): Likewise.
25974 (TLS_GD): Likewise.
25975 * sysdeps/i386/tls-macros.h: New file.
25976 * sysdeps/powerpc/tls-macros.h: Likewise.
25977 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25978 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25979 * sysdeps/sh/tls-macros.h: Likewise.
25980 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25981 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25982 * sysdeps/x86_64/tls-macros.h: Likewise.
25983
f7db3170
TS
259842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25985
07cbfc23
TS
25986 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25987 zero value for regular exit case.
25988
f7db3170
TS
25989 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25990 (__start_context): Preserve zero value for regular exit case.
25991
dc97c227
TS
259922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25993 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25994
25995 * manual/setjmp.texi (setcontext): Clarify normal process
25996 termination when uc_link is the null pointer.
25997 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25998 exit call.
25999
d0cd7d02
AS
260002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26001
26002 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26003 preprocessor. Test for each exception mask separately.
26004
dd318934
AJ
260052012-07-16 Andreas Jaeger <aj@suse.de>
26006
26007 * po/ru.po: Update from translation team.
26008
8048311a
JM
260092012-07-15 Joseph Myers <joseph@codesourcery.com>
26010
26011 * conform/data/string.h-data (NULL): Use macro-constant. Require
26012 equal to 0.
26013 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26014 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26015 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26016 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26017 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26018
b637d46e
AJ
260192012-07-13 Andreas Jaeger <aj@suse.de>
26020
26021 * po/fr.po: Update from translation team.
26022
541428fe
MP
260232012-07-12 Marek Polacek <polacek@redhat.com>
26024
26025 [BZ #14173]
26026 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26028 loop condition.
26029
ec332e94
JM
260302012-07-12 Joseph Myers <joseph@codesourcery.com>
26031
26032 [BZ #13717]
26033 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26034 Change to 2.4.1 where previously 2.4.0.
26035 * sysdeps/unix/sysv/linux/configure: Regenerated.
26036 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26037 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26038 version.
26039 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26040 (__ASSUME_AT_CLKTCK): Remove.
26041 (__ASSUME_AT_PAGESIZE): Likewise.
26042 (__ASSUME_AT_XID): Likewise.
26043 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26044 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26045 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26046 unconditionally.
26047 (HAVE_AUX_PAGESIZE): Likewise.
26048 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26049 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26050 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26051
7b6e99be
JB
260522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26053
26054 [BZ #14307]
26055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26056 the temporary buffer used to invoke __gethostbyname2_r,
26057 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26058 host_data / struct gaih_addrtuple.
26059 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26060 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26061 header file nss/nsswitch.h.
26062 * nss/nsswitch.h (global scope): Add definition of implementation
26063 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26064 resolv/nss_dns/dns-host.c).
26065
608404eb
AJ
260662012-07-11 Andreas Jaeger <aj@suse.de>
26067
26068 * po/fr.po: Update from translation team.
26069
71220aca
AJ
26070 * po/sv.po: Update from translation team
26071 * po/fr.po: Another update from translation team.
26072
28cfe843
AZ
260732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26074
26075 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26076 for subnormals or multiply small sinh result by itself.
26077 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26079
6b90f981
DM
260802012-07-11 David S. Miller <davem@davemloft.net>
26081
26082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26083
c6825772
AS
260842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26085
26086 [BZ #14347]
26087 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26088 (INTERNAL_MARK): Shift it here.
26089
7b8e0d49
MP
260902012-07-10 Marek Polacek <polacek@redhat.com>
26091
26092 [BZ #14151]
26093 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26094 libc_cv_asm_global_directive with .globl.
26095 * configure: Regenerated.
26096 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26097 with .globl.
26098 * sysdeps/i386/configure: Regenerated.
26099 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26100 with .globl.
26101 * sysdeps/x86_64/configure: Regenerated.
26102 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26103 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26104 * elf/tst-unique2mod2.c: Likewise.
26105 * elf/tst-unique2mod1.c: Likewise.
26106 * elf/tst-unique1mod2.c: Likewise.
26107 * elf/tst-unique1mod1.c: Likewise.
26108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26109 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26110 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26111 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26112 * sysdeps/mach/sysdep.h: Likewise.
26113 * sysdeps/i386/sysdep.h: Likewise.
26114 * sysdeps/i386/i386-mcount.S: Likewise.
26115 * sysdeps/x86_64/_mcount.S: Likewise.
26116 * sysdeps/x86_64/sysdep.h: Likewise.
26117 * sysdeps/sh/_mcount.S: Likewise.
26118 * sysdeps/sh/sysdep.h: Likewise.
26119 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26120 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26121 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26122 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26123 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26124 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26125 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26126 * locale/localeinfo.h: Likewise.
26127 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26128 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26129
6c55cda3
RM
261302012-07-09 Roland McGrath <roland@hack.frob.com>
26131
26132 [BZ #14336]
26133 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26134 system".
26135 * manual/message.texi (The Uniforum approach): Likewise.
26136 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26137 (glibc iconv Implementation): Likewise.
26138
638a572e
JM
261392012-07-09 Joseph Myers <joseph@codesourcery.com>
26140
26141 [BZ #14337]
26142 * math/s_clog.c (__clog): Avoid scaling a value down where that
26143 could result in underflow.
26144 * math/s_clog10.c (__clog10): Likewise.
26145 * math/s_clog10f.c (__clog10f): Likewise.
26146 * math/s_clog10l.c (__clog10l): Likewise.
26147 * math/s_clogf.c (__clogf): Likewise.
26148 * math/s_clogl.c (__clogl): Likewise.
26149 * math/libm-test.inc (clog_test): Add more tests.
26150 (clog10_test): Likewise.
26151 * sysdeps/i386/fpu/libm-test-ulps: Update.
26152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26153
261f4859
AS
261542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26155
0abaf3e4
AS
26156 [BZ #14283]
26157 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26158 by 7 not 8 to examine high bit of fractional part.
26159
261f4859
AS
26160 [BZ #14042]
26161 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26162 for call to __mcount_internal.
26163 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26164 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26165 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26166
f17ac40d
JM
261672012-07-06 Joseph Myers <joseph@codesourcery.com>
26168
9ad63c23
JM
26169 [BZ #14154]
26170 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26171 approximation for values within 0x1p-13f of an odd multiple of
26172 pi/4.
26173 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26174 exception. Add more tests.
26175 * sysdeps/i386/fpu/libm-test-ulps: Update.
26176
f17ac40d
JM
26177 [BZ #6778]
26178 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26179 inputs and return -1 for them. Do not check for +Inf in case not
26180 reachable for +Inf.
26181 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26182 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26183 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26184 and return -1 for them. Do not check for +Inf in case not
26185 reachable for +Inf.
26186 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26187 define.
26188 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26189 and return -1 for them. Do not check for +Inf in case not
26190 reachable for +Inf.
26191 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26192 spurious underflow.
26193 * sysdeps/i386/fpu/libm-test-ulps: Update.
26194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26195
fb21f89b
MF
261962012-07-06 Mike Frysinger <vapier@gentoo.org>
26197
26198 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26199
cdfe2c5e
JM
262002012-07-05 Joseph Myers <joseph@codesourcery.com>
26201
26202 [BZ #14157]
26203 [BZ #14331]
26204 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26205 could result in spurious underflow. Scale down values above
26206 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26207 * math/s_csqrtf.c (__csqrtf): Likewise.
26208 * math/s_csqrtl.c (__csqrtl): Likewise.
26209 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26210 spurious underflow.
26211 * sysdeps/i386/fpu/libm-test-ulps: Update.
26212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26213
70d35b67
AS
262142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26215
704bc459
AS
26216 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26217 xopen-msg.sed.
26218 * catgets/xopen-msg.awk: New file.
26219 * catgets/xopen-msg.sed: Removed.
26220
70d35b67
AS
26221 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26222 po2text.sed.
26223 * intl/po2test.awk: New file.
26224 * intl/po2test.sed: Removed.
26225
ca61cf32
JM
262262012-07-04 Joseph Myers <joseph@codesourcery.com>
26227
26228 [BZ #14328]
26229 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26230 or multiply small sinh result by itself.
26231 * math/s_ctanf.c (__ctanf): Likewise.
26232 * math/s_ctanh.c (__ctanh): Likewise.
26233 * math/s_ctanhf.c (__ctanhf): Likewise.
26234 * math/s_ctanhl.c (__ctanhl): Likewise.
26235 * math/s_ctanl.c (__ctanl): Likewise.
26236 * math/libm-test.inc (ctan_test_tonearest): New function.
26237 (ctan_test_towardzero): Likewise.
26238 (ctan_test_downward): Likewise.
26239 (ctan_test_upward): Likewise.
26240 (ctanh_test_tonearest): Likewise.
26241 (ctanh_test_towardzero): Likewise.
26242 (ctanh_test_downward): Likewise.
26243 (ctanh_test_upward): Likewise.
26244 (main): Call these new functions.
26245 * sysdeps/i386/fpu/libm-test-ulps: Update.
26246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26247
ca48a46a
MF
262482012-07-03 Mike Frysinger <vapier@gentoo.org>
26249
26250 * .gitignore: Delete /ports entry.
26251
9d63d37d
AJ
262522012-07-03 Andreas Jaeger <aj@suse.de>
26253
26254 * po/bg.po: Update from translation team.
26255 * po/cs.po: Likewise.
26256 * po/de.po: Likewise.
26257 * po/hr.po: Likewise.
26258 * po/nl.pl: Likewise.
26259 * po/pl.po: Likewise.
26260 * po/vi.po: Likewise.
26261
370ca3d2
JM
262622012-07-03 Joseph Myers <joseph@codesourcery.com>
26263
95f5a9a8
JM
26264 * Makeconfig [!+link] (+link-before-libc): New variable.
26265 [!+link] (+link-after-libc): Likewise.
26266 [!+link] (+link-tests): Likewise.
26267 [!+link] (+link): Define in terms of $(+link-before-libc) and
26268 $(+link-after-libc).
26269 [!+link-static] (+link-static-before-libc): New variable.
26270 [!+link-static] (+link-static-after-libc): Likewise.
26271 [!+link-static] (+link-static-tests): Likewise.
26272 [!+link-static] (+link-static): Define in terms of
26273 $(+link-static-before-libc) and $(+link-static-after-libc).
26274 [build-shared] (link-libc-before-gnulib): New variable.
26275 [build-shared] (link-libc-tests): Likewise.
26276 [build-shared] (link-libc): Define in terms of
26277 $(link-libc-before-gnulib).
26278 [!build-shared] (link-libc-tests): New variable.
26279 (link-libc-static-tests): New variable.
26280 [!gnulib] (gnulib-arch): New variable.
26281 [!gnulib] (gnulib-tests): Likewise.
26282 [!gnulib] (static-gnulib-arch): Likewise.
26283 [!gnulib] (static-gnulib-tests): Likewise.
26284 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26285 Define with "=" instead of ":=".
26286 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26287 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26288 * Rules (binaries-all-notests): New variable.
26289 (binaries-all-tests): Likewise.
26290 (binaries-static-notests): Likewise.
26291 (binaries-static-tests): Likewise.
26292 (binaries-all): Define using $(binaries-all-notests) and
26293 $(binaries-all-tests).
26294 (binaries-static): Define using $(binaries-static-notests) and
26295 $(binaries-static-tests).
26296 (binaries-shared-tests): New variable.
26297 (binaries-shared-notests): Likewise.
26298 (binaries-shared): Remove variable.
26299 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26300 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26301 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26302 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26303 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26304 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26305 * elf/Makefile (sln-modules): New variable.
26306 (extra-objs): Add $(sln-modules:=.o).
26307 (ldconfig-modules): Add static-stubs.
26308 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26309 * elf/static-stubs.c: New file.
26310
7a845b2c
JM
26311 [BZ #14283]
26312 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26313 by 7 not 8 to examine high bit of fractional part. Use volatile
26314 variables when splitting into final array of floats if
26315 __FLT_EVAL_METHOD__ != 0.
26316 * math/libm-test.inc (cos_test): Add another test.
26317 (sin_test): Likewise.
26318 * sysdeps/i386/fpu/libm-test-ulps: Update.
26319
e2283f38
JM
26320 [BZ #14273]
26321 * math/libm-test.inc (cosh_test): Add more tests.
26322
370ca3d2
JM
26323 * version.h (RELEASE): Set to "development".
26324 (VERSION): Set to "2.16.90".
26325
ee9247c3
CD
263262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26327
26328 * NEWS: Update copyright. Remove last-updated date.
26329 Mention math library bug fixes and timezone data changes.
26330 * README: Mention GNU/Hurd, x32, and HPPA support status.
26331
4648c381
TS
263322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26333
26334 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26335
aac78a43
AJ
263362012-06-27 Andreas Jaeger <aj@suse.de>
26337
26338 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26339
ed3dbfad
AJ
263402012-06-25 Andreas Jaeger <aj@suse.de>
26341
26342 * sysdeps/s390/fpu/libm-test-ulps: Update.
26343
4d0ee855
AS
263442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26345 Thomas Schwinge <thomas@codesourcery.com>
26346
26347 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26348 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26349 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26350 fanotify_mark.
26351
af1bce34
TS
263522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26353
a9fa33ba
TS
26354 * sysdeps/mach/start.c: Remove file.
26355 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26356 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26357 * sysdeps/sh/init-first.c: Likewise.
26358
58f902b8
TS
26359 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26360 registers for frame unwinding purposes, add CFI directives.
26361 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26362 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26363 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26364 Likewise.
26365
1518f58b
TS
26366 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26367 __fortify_fail returning.
26368 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26369
db9b5059
TS
26370 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26371 sysdeps/sh/____longjmp_chk.S.
26372 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26373 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26374 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26375 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26376
967705fe
TS
26377 * sysdeps/sh/abort-instr.h: New file.
26378 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26379 process in case exit returns.
26380
a9def8c4
TS
26381 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26382 initialize the GOT register before use.
26383
2a649725
TS
26384 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26385 calculation of ARGC > 4.
26386
af1bce34
TS
26387 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26388 meaningful names to some local labels.
26389
d230f50a
KK
263902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26391 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26392
26393 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26394 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26395 (__arch_compare_and_exchange_val_16_acq): Likewise.
26396 (__arch_compare_and_exchange_val_32_acq): Likewise.
26397 (atomic_exchange_and_add): Fix gUSA sequence.
26398 (atomic_add): Likewise.
26399 (atomic_add_negative): Likewise.
26400 (atomic_add_zero): Likewise.
26401 (atomic_bit_test_set): Likewise.
26402
0479b305
AS
264032012-06-22 Andreas Schwab <schwab@redhat.com>
26404
26405 [BZ #13579]
26406 * include/link.h (struct link_map): Add l_free_initfini.
26407 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26408 l_initfini.
26409 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26410 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26411 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26412 set.
26413
0e3933b9
CD
264142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26415
26416 * configure.in: Use AC_LANG_SOURCE.
26417 * configure: Regenerate.
26418
4248b1b1
RM
264192012-06-22 Roland McGrath <roland@hack.frob.com>
26420
26421 * configure.in (libc_cv_localstatedir): New substituted variable.
26422 * configure: Regenerated.
26423 * config.make.in (localstatedir): New variable, substituted from
26424 libc_cv_localstatedir.
26425 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26426 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26427 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26428 * sysdeps/gnu/configure: Regenerated.
26429
006dd861
JL
264302012-06-21 Jeff Law <law@redhat.com>
26431
26432 [BZ #14277]
26433 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26434 free. Simplify list management for _LIBC case.
26435
79662d42
JM
264362012-06-21 Joseph Myers <joseph@codesourcery.com>
26437
b7abb4bf
JM
26438 [BZ #14273]
26439 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26440 Clear sign bit of 64-bit integer value before comparing against
26441 overflow value.
26442
79662d42
JM
26443 * sysdeps/mach/configure: Regenerated.
26444
1f150908
L
264452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26446
26447 [BZ #14278]
26448 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26449
28363bbf
JL
264502012-06-21 Jeff Law <law@redhat.com>
26451
26452 [BZ #13882]
26453 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26454 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26455 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26456 * elf/dl-open.c (dl_open_worker): Likewise.
26457
09615db4
CD
264582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26459
26460 * scripts/list-sources.sh: Scan PORTS for translations.
26461 * po/libc.pot: Regenerated.
26462
2174c6dd
AJ
264632012-06-21 Andreas Jaeger <aj@suse.de>
26464
26465 [BZ #12194]
26466 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26467 warning.
26468 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26469 * bits/byteswap-16.h (__bswap_16): Likewise.
26470 * bits/byteswap.h (__bswap_constant_16): Likewise.
26471
3ee947b1
L
264722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26473
26474 [BZ #14117]
a2f34833
L
26475 * sysdeps/i386/fpu_control.h: Removed.
26476 * sysdeps/x86_64/fpu_control.h: Moved to ...
26477 * sysdeps/x86/fpu_control.h: Here.
26478
3ee947b1
L
26479 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26480 (_FPU_SETCW): Likewise.
26481
ed1825f8
L
264822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26483
25f1282a
L
26484 [BZ #14117]
26485 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26486 * sysdeps/x86/fpu/bits/mathinline.h: This.
26487 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26488
ed1825f8
L
26489 [BZ #14050]
26490 [BZ #14117]
26491 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26492 functions if __x86_64__ is defined.
26493
36d54b74
CLT
264942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26495
26496 * string/endian.h: Add !__ASSEMBLER__ condition for including
26497 conversion interfaces.
26498
10285c21
JM
264992012-06-15 Joseph Myers <joseph@codesourcery.com>
26500
26501 [BZ #14241]
26502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26503 of ABS(x) in calculating zero to negative powers other than odd
26504 integers.
26505 * math/libm-test.inc (pow_test): Add more tests.
26506
06c5abbd
AJ
265072012-06-15 Andreas Jaeger <aj@suse.de>
26508
26509 * manual/contrib.texi (Contributors): Update entry of Liubov
26510 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26511 Machado Filho.
26512
a3aeac40
CH
265132012-06-15 Cyril Hrubis <metan@ucw.cz>
26514
26515 * string/string.h: Add __wur to GNU version of strerror_r.
26516
49bdf4c1
L
265172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26518
26519 [BZ #14229]
26520 * string/Makefile (tests): Add tst-strtok_r.
26521 * string/tst-strtok_r.c: New file.
26522 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26523 RAX_LP/RDX_LP on SAVE_PTR.
26524
834f9b8d
RM
265252012-06-14 Roland McGrath <roland@hack.frob.com>
26526
26527 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26528
75fa1921
JM
265292012-06-14 Joseph Myers <joseph@codesourcery.com>
26530
26531 * libm_test.inc (csqrt_test): Allow more spurious underflow
26532 exceptions.
26533 (j0_test): Likewise.
26534 (j1_test): Likewise.
26535 (y0_test): Likewise.
26536 (y1_test): Likewise.
26537
771766df
CD
265382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26539
26540 * po/Makefile (libc.pot): Use UTF-8 charset.
26541
ceb9e56b
PP
265422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26543
26544 [BZ #14210]
26545 Suppress sign-conversion warning from FD_SET.
26546 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26547 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26548 not unsigned long int.
26549 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26550
ddb28975
L
265512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26552
26553 [BZ #14050]
26554 [BZ #14117]
26555 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26556 __extern_always_inline instead of __extern_inline.
26557 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26558 (__signbit): Likewise.
26559 (__signbitl): Support C++ namespace.
26560 (lrintf): New inline function.
26561 (lrint): Likewise.
26562 (llrintf): Likewise.
26563 (llrint): Likewise.
26564 (fmaxf): Likewise.
26565 (fmax): Likewise.
26566 (fminf): Likewise.
26567 (fmin): Likewise.
26568 (rint): Likewise.
26569 (rintf): Likewise.
26570 (ceil): Likewise.
26571 (ceilf): Likewise.
26572 (floor): Likewise.
26573 (floorf): Likewise.
26574 (nearbyint): Likewise.
26575 (nearbyintf): Likewise.
26576
d7b4fb26
TS
265772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26578
26579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26580 non-default versions.
26581
eb55f5c2
RM
265822012-06-11 Roland McGrath <roland@hack.frob.com>
26583
26584 [BZ #14218]
26585 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26586
366af02c
TS
265872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26588
99ff6e5c
TS
26589 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26590 (FE_UPWARD, FE_DOWNWARD): Don't define.
26591 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26592 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26593
366af02c
TS
26594 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26595 reading it.
26596 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26597 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26598
793ea851
KK
265992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26600
26601 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26602 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26603 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26604 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26605
a728a38f
L
266062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26607
26608 [BZ #14117]
c08010c7
L
26609 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26610 * sysdeps/i386/fpu/Implies: New file.
26611 * sysdeps/x86_64/fpu/Implies: Likewise.
26612 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26613 * sysdeps/x86/fpu/bits/fenv.h: This.
26614
a728a38f
L
26615 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26616 __SSE_MATH__.
26617
6e230d11
SP
266182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26619
26620 [BZ #14134]
26621 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26622 character 0xffff that matches the last element of the
26623 conversion table.
26624
1b671feb
AZ
266252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26626
26627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26628 fmodl commit.
26629
6043738b
AZ
266302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26631
26632 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26633 values higher than 25.6283.
26634
34ae0b32
AZ
266352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26636
26637 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26638 subnormal exponent extraction and add some __builtin_expect.
26639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26640 Fix for subnormal mantissa calculation.
26641
1214ec8f
MF
266422012-06-04 Mike Frysinger <vapier@gentoo.org>
26643
26644 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26645 cpu2 is -1 and errno is not ENOSYS.
26646
f3d1f93c
L
266472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26648
26649 [BZ #14117]
0e4a3cd7
L
26650 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26651 * sysdeps/x86/bits/string.h: This.
26652 * sysdeps/x86_64/bits/string.h: Removed.
26653
6704c645
L
26654 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26655 if not compiling for x86-64, but compiling for >= i486.
26656
48495318
L
26657 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26658 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26659
14adcbfc
L
26660 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26661 New macro from Linux kernel 3.4.0.
26662 (FP_XSTATE_MAGIC2): Likewise.
26663 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26664 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26665 (struct _fpx_sw_bytes): New struct.
26666 (struct _xsave_hdr): Likewise.
26667 (struct _ymmh_state): Likewise.
26668 (struct _xstate): Likewise.
26669
68e408ab
L
26670 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26671 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26672 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26673 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26674 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26675 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26676
f3d1f93c
L
26677 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26678 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26679 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26680 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26681 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26682 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26683
d9dc34cd
TMQMF
266842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26685
26686 [BZ #13743]
26687 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26688 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26689 (sysdep_headers): Include sys/platform/ppc.h.
26690 * sysdeps/powerpc/test-gettimebase.c: Test for
26691 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26692 * manual/Makefile (appendices): Include platform.texi.
26693 * manual/contrib.texi (Contributors): Update @node pointers.
26694 * manual/maint.texi (Maintenance): Likewise.
26695 (Platform): New node.
26696 * manual/platform.texi: New file. Document the new features.
26697
4af3879c
SP
266982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26699 Jakub Jelinek <jakub@redhat.com>
26700
26701 [BZ #14188]
26702 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26703 where __builtin_expect is unavailable.
26704
2fd6ff13
DM
267052012-06-03 David S. Miller <davem@davemloft.net>
26706
26707 * stdlib/longlong.h: Updated from GCC.
26708
173f7220
AS
267092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26710
26711 [BZ #14042]
26712 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26713 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26714 __mcount_internal.
26715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26716 (GLIBC_2.16): Likewise.
26717
f34a1c6f
L
267182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26719
26720 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26721
88a4576f
JM
267222012-06-01 Joseph Myers <joseph@codesourcery.com>
26723
ea32bcdd
JM
26724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26725 (default-abi): New variable.
26726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26727 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26728 variable.
26729 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26730 Likewise.
26731 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26732 Likewise.
26733 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26734 Likewise.
26735
88a4576f
JM
26736 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26737 definition. Document in comment.
26738
402fe938
DM
267392012-06-01 David S. Miller <davem@davemloft.net>
26740
26741 * stdlib/longlong.h: Updated from GCC.
26742
3553723f
L
267432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26744
26745 [BZ #14117]
3bd872c4
L
26746 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26747 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26748 sys/debugreg.h sys/io.h here.
26749 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26750 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26751 sys/io.h.
26752 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26753 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26754 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26755 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26756 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26757 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26758
3553723f
L
26759 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26760 Define only if __x86_64__ is defined.
26761
4842e4fe
JM
267622012-06-01 Joseph Myers <joseph@codesourcery.com>
26763
c5bfe3d5
JM
26764 [BZ #14048]
26765 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26766 Use int64_t for variable i.
26767 * math/libm-test.inc (fmod_test): Add more tests.
26768
4842e4fe
JM
26769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26770 z computation is not scheduled after fetestexcept.
26771 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26772 Use math_force_eval instead of asm to ensure calculation scheduled
26773 before exception test.
26774 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26775 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26776
efb73488
AJ
267772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26778
26779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26780 computation is not scheduled after fetestexcept.
26781
29bcce7c
L
267822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26783
26784 [BZ #14117]
26785 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26786 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26787
73a68f94
AZ
267882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26789
26790 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26791 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26792
67b6df78
L
267932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26794
edf2933a 26795 [BZ #14117]
ebc64a18
L
26796 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26797 <bits/wordsize.h>.
26798 (__WCHAR_MIN): Support __WORDSIZE == 64.
26799 (__WCHAR_MAX): Likewise.
26800
edf2933a
L
26801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26802 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26803
57c6cf40
L
26804 [BZ #14183]
26805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26806 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26807
67b6df78 26808 [BZ #14117]
8eb6281e
L
26809 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26810 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26811
aac639f4
L
26812 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26813 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26814
67b6df78
L
26815 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26816 Defined to 1 if __x86_64__ isn't defined.
26817 (_STAT_VER_LINUX_OLD): New.
26818 (st_atime): Remove duplicate.
26819 (st_mtime): Likewise.
26820 (st_ctime): Likewise.
26821
1c2cfe81
DM
268222012-05-31 David S. Miller <davem@davemloft.net>
26823
26824 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26825 entries.
26826
5be8418c
AS
268272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26828
e7725326
AS
26829 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26830 gen-libm-test.pl.
26831
5be8418c
AS
26832 [BZ #14132]
26833 * elf/dl-reloc.c: Include <_itoa.h>.
26834 (_dl_reloc_bad_type): Remove use of INTUSE.
26835 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26836 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26837 * stdio-common/psiginfo.c (psiginfo): Likewise.
26838 * stdio-common/psignal.c (psignal): Likewise.
26839 * string/strsignal.c (strsignal): Likewise.
26840 * include/signal.h (_sys_siglist): Declare hidden proto.
26841 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26842 INTVARDEF with libc_hidden_data_def.
26843 * stdio-common/itoa-udigits.c: Likewise.
26844 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26845 (_itoa_lower_digits_internal): Remove declaration.
26846 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26847 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26848 (_sys_sigabbrev_internal): Remove aliases.
26849 (_sys_siglist): Define hidden alias.
26850
507352f1
MT
268512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26852
26853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26854 bits/sysctl.h.
26855
42bbb1c3
L
268562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26857
26858 [BZ #14117]
6bd784b6
L
26859 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26860 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26861
8bca20f0
L
26862 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26863 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26864 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26865 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26867 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26868
f9e890a9
L
26869 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26870 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26871 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26872
471101a1
L
26873 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26874 with __addr.
26875 (insw): Likewise.
26876 (insl): Likewise.
26877 (outsb): Likewise.
26878 (outsw): Likewise.
26879 (outsl): Likewise.
26880
6451c862
L
26881 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26882 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26883 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26884
a254b8c9
L
26885 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26886 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26887 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26888 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26889 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26890 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26891
b8dfdd92
L
26892 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26893 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26894
578cd270
L
26895 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26896 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26897
de662f5f
L
26898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26899 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26900 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26901
25653439
L
26902 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26903 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26904 to ...
26905 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26906
6bad24a0
L
26907 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26908 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26909 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26910
42bbb1c3
L
26911 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26912 for x86-64.
26913 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26914
2d10d547
JM
269152012-05-31 Joseph Myers <joseph@codesourcery.com>
26916
26917 * math/math.h (M_El): Use two more decimal places.
26918 (M_LOG2El): Likewise.
26919 (M_LOG10El): Likewise.
26920 (M_LN2l): Likewise.
26921 (M_LN10l): Likewise.
26922 (M_PIl): Likewise.
26923 (M_PI_2l): Likewise.
26924 (M_PI_4l): Likewise.
26925 (M_1_PIl): Likewise.
26926 (M_2_PIl): Likewise.
26927 (M_2_SQRTPIl): Likewise.
26928 (M_SQRT2l): Likewise.
26929 (M_SQRT1_2l): Likewise.
26930
f230c29b
DM
269312012-05-31 David S. Miller <davem@davemloft.net>
26932
26933 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26934 values between float registers.
26935 * sysdeps/sparc/sparc64/memset.S: Likewise.
26936 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26937
fed806c3
MF
269382012-05-31 Mike Frysinger <vapier@gentoo.org>
26939
26940 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26941 -D_FORTIFY_SOURCE=1.
26942 (CPPFLAGS-tst-longjmp_chk.c): Define.
26943 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26944 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26945 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26946 CFLAGS-tst-wchar-h.c.
26947
30917259
MP
269482012-05-31 Marek Polacek <polacek@redhat.com>
26949
26950 [BZ #14132]
26951 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26952 __endmntent_internal): Remove declaration.
26953 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26954 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26955 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26956
1c58d5dc
DM
269572012-05-30 David S. Miller <davem@davemloft.net>
26958
26959 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26960 (___Q_simulate_exceptions): Use real FP ops rather than writing
26961 into the %fsr.
26962 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26963 Likewise.
26964
7dc00e0d
L
269652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26966
26967 [BZ #14117]
0bd53985
L
26968 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26969 * sysdeps/x86/bits/xtitypes.h: This.
26970
3a257e66
L
26971 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26972 * sysdeps/x86/bits/wordsize.h: This.
26973
62f62904
L
26974 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26975 * sysdeps/x86/bits/huge_vall.h: This.
26976
404fe9d9
L
26977 * sysdeps/i386/bits/select.h: Removed.
26978 * sysdeps/x86_64/bits/select.h: Renamed to ...
26979 * sysdeps/x86/bits/select.h: This.
26980
d48d0446
L
26981 * sysdeps/i386/bits/setjmp.h: Removed.
26982 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26983 * sysdeps/x86/bits/setjmp.h: This.
26984
7dc00e0d
L
26985 * sysdeps/i386/bits/mathdef.h: Removed.
26986 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26987 * sysdeps/x86/bits/mathdef.h: This.
26988
03277f8f
AS
269892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26990
26991 [BZ #14132]
26992 * include/sys/socket.h (__connect_internal)
26993 (__libc_sa_len_internal): Remove declaration.
26994 (__connect, __libc_sa_len): Declare hidden_proto.
26995 (SA_LEN): Remove use of INTUSE.
26996 * socket/connect.c: Add libc_hidden_def.
26997 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26998 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26999 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27000 alias.
27001 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27002 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27003 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27004 of adding _internal alias.
27005
13764867
L
270062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27007
27008 [BZ #14117]
6bd97696
L
27009 * sysdeps/i386/bits/link.h: Removed.
27010 * sysdeps/i386/bits/linkmap.h: Likewise.
27011 * sysdeps/x86_64/bits/link.h: Renamed to ...
27012 * sysdeps/x86/bits/link.h: This.
27013 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27014 * sysdeps/x86/bits/linkmap.h: This.
27015
f726f0bb
L
27016 * sysdeps/i386/bits/endian.h: Removed.
27017 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27018 * sysdeps/x86/bits/endian.h: This.
27019
13764867
L
27020 * sysdeps/i386/bits/byteswap.h: Removed.
27021 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27022 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27023 * sysdeps/x86/bits/byteswap.h: This.
27024 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27025 * sysdeps/x86/bits/byteswap-16.h: This.
27026 * sysdeps/i386/Implies: Add x86.
27027 * sysdeps/x86_64/Implies: Likewise.
27028
ae251b0b
DM
270292012-05-30 David S. Miller <davem@davemloft.net>
27030
27031 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27032 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27033 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27034 (FP_TRAPPING_EXCEPTIONS): Define.
27035 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27036 (FP_TRAPPING_EXCEPTIONS): Define.
27037 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27038 subnormals only when inexact has been signalled or underflow
27039 exceptions are enabled.
27040 (_FP_PACK_CANONICAL): Likewise.
27041
d5c90867
L
270422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27043
27044 [BZ #14183]
27045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27046 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27047
63f1549e
RH
270482012-05-30 Richard Henderson <rth@twiddle.net>
27049
8d8f2279
RH
27050 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27051 with #ifndef NOT_IN_libc.
27052
63f1549e
RH
27053 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27054 marked to avoid plt entry.
27055
0ab0291b
L
270562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27057
27058 [BZ #14112]
27059 * Makeconfig (default-abi): New macro.
27060 (abi-includes): Likewise.
27061 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27062 $(abi-$(default-abi)-lib-soname) for soname if defined.
27063 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27064 abi-variants.
27065 * Makefile (installed-stubs): Likewise.
27066 * include/stubs-biarch.h: Removed.
27067 * scripts/lib-names.awk: Only handle one library at a time.
27068 * scripts/soversions.awk: Remove WORDSIZE support.
27069 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27070 entries.
27071 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27072 Removed.
27073 (syscall-list-default-condition): Likewise.
27074 (syscall-list-default-condition): Likewise.
27075 (syscall-list-includes): Likewise.
27076 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27077 syscall-list-* with abi-*. Handle undefined abi-variants.
27078 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27079 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27080 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27081 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27082 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27083 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27084 Removed.
27085 (syscall-list-32-options): Likewise.
27086 (syscall-list-32-condition): Likewise.
27087 (syscall-list-64-options): Likewise.
27088 (syscall-list-64-condition): Likewise.
27089 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27090 macro.
27091 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27092 Renamed to ...
27093 (abi-*): This.
27094 (abi-64-ld-soname): New macro.
27095 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27096 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27097 Renamed to ...
27098 (abi-*): This.
27099 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27100 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27101
4da0431d
JM
271022012-05-30 Joseph Myers <joseph@codesourcery.com>
27103
3a85279c
JM
27104 * sysdeps/unix/sysv/linux/kernel-features.h
27105 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27106 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27107 include <kernel-features.h>.
27108 [!__NR_ftruncate64]: Remove conditional code.
27109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27110 [__NR_ftruncate64]: Make code unconditional.
27111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27112 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27113 include <kernel-features.h>.
27114 [!__NR_ftruncate64]: Remove conditional code.
27115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27116 [__NR_ftruncate64]: Make code unconditional.
27117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27119 include <kernel-features.h>.
27120 [!__NR_ftruncate64]: Remove conditional code.
27121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27122 [__NR_ftruncate64]: Make code unconditional.
27123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27125 include <kernel-features.h>.
27126 [!__NR_ftruncate64]: Remove conditional code.
27127 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27128 [__NR_ftruncate64]: Make code unconditional.
27129 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27130
4da0431d
JM
27131 * configure.in (libc_cv_fpie): Weaken to a compile test using
27132 LIBC_TRY_CC_OPTION.
27133 * configure: Regenerated.
27134
11ef492c
AK
271352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27136
27137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27141 Refreshed.
27142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27148 Refreshed.
27149
d66ef399
DM
271502012-05-27 David S. Miller <davem@davemloft.net>
27151
27152 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27153 (___Q_zero): New.
27154 (__Q_simulate_exceptions): Return void. Change to simulate
27155 exceptions by writing into the %fsr.
27156 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27157 (__Qp_handle_exceptions): Likewise.
27158 (numbers): Delete.
27159 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27160 __Qp_handle_exceptions.
27161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27162 __Qp_handle_exceptions.
27163 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27164 as unused and give dummy FP_RND_NEAREST initializer.
27165 (FP_INHIBIT_RESULTS): Define.
27166 (___Q_simulate_exceptions): Update declaration.
27167 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27168 formatting.
27169 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27170 as unused and give dummy FP_RND_NEAREST initializer.
27171 (__Qp_handle_exceptions): Update declaration.
27172 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27173 formatting.
27174
04fb54b5
TS
271752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27176
27177 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27178 the temporary FPU control word.
27179 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27180 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27181 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27182 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27183 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27184 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27185 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27186 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27187 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27188 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27189 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27190
3f99608f
KK
271912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27192
27193 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27194 fields.
27195
65a4de4e
CLT
271962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27197
27198 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27199 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27200 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27201 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27202 Likewise.
27203 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27204 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27205 Likewise.
27206
15749d40
UD
272072012-05-27 Ulrich Drepper <drepper@gmail.com>
27208
27209 * po/h.po: Update from translation team.
27210
25dbcb27
AS
272112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27212
3d3f8e55
AS
27213 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27214
25dbcb27
AS
27215 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27216 handling of denormals.
27217 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27218 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27219 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27220 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27221 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27224 Likewise.
27225
7ad47a80 272262012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27227
27228 [BZ #14152]
27229 * math/libm-test.inc (fma_test): Don't always expect underflow
27230 exception.
27231
9c6ea9fa
SP
272322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27233
27234 [BZ #12416]
27235 * elf/tst-execstack.c: Include stackinfo.h.
27236 (do_test): Adjust test case to ensure that pthread_getattr_np
27237 behaviour remains the same after marking stack executable.
27238
a8239222
JM
272392012-05-25 Joseph Myers <joseph@codesourcery.com>
27240
27241 * sysdeps/unix/sysv/linux/kernel-features.h
27242 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27243 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27244 kernel-features.h.
27245 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27246 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27247 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27248 kernel-features.h.
27249 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27250 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27251
918b5606
L
272522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27253
27254 * configure.in: Define the default includes to being none.
27255 * configure: Regenerated.
27256
3a097cc7
RM
272572012-05-25 Roland McGrath <roland@hack.frob.com>
27258
8422c9a5
RM
27259 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27260 * sysdeps/x86_64/setjmp.S: Likewise.
27261 * sysdeps/i386/bsd-setjmp.S: Likewise.
27262 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27263 * sysdeps/i386/setjmp.S: Likewise.
27264 * sysdeps/i386/__longjmp.S: Likewise.
27265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27266 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27267
3a097cc7
RM
27268 * include/stap-probe.h: New file.
27269 * configure.in: Handle --enable-systemtap.
27270 * configure: Regenerated.
27271 * config.h.in (USE_STAP_PROBE): New #undef.
27272 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27273 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27274 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27275
21708942
JM
272762012-05-25 Joseph Myers <joseph@codesourcery.com>
27277
27278 [BZ #13717]
27279 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27280 to 2.4.0 where earlier.
27281 * sysdeps/unix/sysv/linux/configure: Regenerated.
27282 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
27291 [__ASSUME_32BITUIDS]: Make code unconditional.
27292 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27293 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27294 <kernel-features.h>.
27295 [__ASSUME_32BITUIDS]: Make code unconditional.
27296 [!__ASSUME_32BITUIDS]: Remove conditional code.
27297 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27298 <kernel-features.h>.
27299 [__ASSUME_32BITUIDS]: Make code unconditional.
27300 [!__ASSUME_32BITUIDS]: Remove conditional code.
27301 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27302 <kernel-features.h>.
27303 [__ASSUME_32BITUIDS]: Make code unconditional.
27304 [!__ASSUME_32BITUIDS]: Remove conditional code.
27305 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27306 <kernel-features.h>.
27307 [__ASSUME_32BITUIDS]: Make code unconditional.
27308 [!__ASSUME_32BITUIDS]: Remove conditional code.
27309 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27310 <kernel-features.h>.
27311 [__ASSUME_32BITUIDS]: Make code unconditional.
27312 [!__ASSUME_32BITUIDS]: Remove conditional code.
27313 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27314 <kernel-features.h>.
27315 [__ASSUME_32BITUIDS]: Make code unconditional.
27316 [!__ASSUME_32BITUIDS]: Remove conditional code.
27317 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27318 <kernel-features.h>.
27319 [__ASSUME_32BITUIDS]: Make code unconditional.
27320 [!__ASSUME_32BITUIDS]: Remove conditional code.
27321 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27322 <kernel-features.h>.
27323 [__ASSUME_32BITUIDS]: Make code unconditional.
27324 [!__ASSUME_32BITUIDS]: Remove conditional code.
27325 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27326 <kernel-features.h>.
27327 [__ASSUME_32BITUIDS]: Make code unconditional.
27328 [!__ASSUME_32BITUIDS]: Remove conditional code.
27329 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27330 <kernel-features.h>.
27331 [__ASSUME_32BITUIDS]: Make code unconditional.
27332 [!__ASSUME_32BITUIDS]: Remove conditional code.
27333 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27334 <kernel-features.h>.
27335 [__NR_setresgid] (__setresgid): Do not declare.
27336 [__ASSUME_32BITUIDS]: Make code unconditional.
27337 [!__ASSUME_32BITUIDS]: Remove conditional code.
27338 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27339 <kernel-features.h>.
27340 [__NR_setresuid] (__setresuid): Do not declare.
27341 [__ASSUME_32BITUIDS]: Make code unconditional.
27342 [!__ASSUME_32BITUIDS]: Remove conditional code.
27343 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27344 <kernel-features.h>.
27345 [__ASSUME_32BITUIDS]: Make code unconditional.
27346 [!__ASSUME_32BITUIDS]: Remove conditional code.
27347 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27348 <kernel-features.h>.
27349 [__ASSUME_32BITUIDS]: Make code unconditional.
27350 [!__ASSUME_32BITUIDS]: Remove conditional code.
27351 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27352 <kernel-features.h>.
27353 [__ASSUME_32BITUIDS]: Make code unconditional.
27354 [!__ASSUME_32BITUIDS]: Remove conditional code.
27355 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27356 <kernel-features.h>.
27357 [__ASSUME_32BITUIDS]: Make code unconditional.
27358 [!__ASSUME_32BITUIDS]: Remove conditional code.
27359 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27360 <kernel-features.h>.
27361 [__ASSUME_32BITUIDS]: Make code unconditional.
27362 [!__ASSUME_32BITUIDS]: Remove conditional code.
27363 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27364 <kernel-features.h>.
27365 [__ASSUME_32BITUIDS]: Make code unconditional.
27366 [!__ASSUME_32BITUIDS]: Remove conditional code.
27367 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27368 <kernel-features.h>.
27369 [__ASSUME_32BITUIDS]: Make code unconditional.
27370 [!__ASSUME_32BITUIDS]: Remove conditional code.
27371 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27372 <kernel-features.h>.
27373 [__ASSUME_32BITUIDS]: Make code unconditional.
27374 [!__ASSUME_32BITUIDS]: Remove conditional code.
27375 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27376 <kernel-features.h>.
27377 [__ASSUME_32BITUIDS]: Make code unconditional.
27378 [!__ASSUME_32BITUIDS]: Remove conditional code.
27379 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27380 <kernel-features.h>.
27381 [__ASSUME_32BITUIDS]: Make code unconditional.
27382 [!__ASSUME_32BITUIDS]: Remove conditional code.
27383 * sysdeps/unix/sysv/linux/kernel-features.h
27384 (__ASSUME_SETRESUID_SYSCALL): Remove.
27385 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27386 (__ASSUME_32BITUIDS): Likewise.
27387 (__ASSUME_LDT_WORKS): Likewise.
27388 (__ASSUME_O_DIRECTORY): Likewise.
27389 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27390 architecture but not kernel version.
27391 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27392 (__ASSUME_MMAP2_SYSCALL): Likewise.
27393 (__ASSUME_STAT64_SYSCALL): Likewise.
27394 (__ASSUME_IPC64): Likewise.
27395 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27396 <kernel-features.h>.
27397 [__ASSUME_32BITUIDS]: Make code unconditional.
27398 [!__ASSUME_32BITUIDS]: Remove conditional code.
27399 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27400 <kernel-features.h>.
27401 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27402 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27403 132096]: Remove conditional code.
27404 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27405 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27406 <kernel-features.h>.
27407 [__ASSUME_32BITUIDS]: Make code unconditional.
27408 [!__ASSUME_32BITUIDS]: Remove conditional code.
27409 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27410 <kernel-features.h>.
27411 [__ASSUME_32BITUIDS]: Make code unconditional.
27412 [!__ASSUME_32BITUIDS]: Remove conditional code.
27413 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27414 <kernel-features.h>.
27415 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27416 unconditional.
27417 (__setresgid): Do not declare.
27418 [__ASSUME_32BITUIDS]: Make code unconditional.
27419 [!__ASSUME_32BITUIDS]: Remove conditional code.
27420 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27421 <kernel-features.h>.
27422 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27423 unconditional.
27424 (__setresuid): Do not declare.
27425 [__ASSUME_32BITUIDS]: Make code unconditional.
27426 [!__ASSUME_32BITUIDS]: Remove conditional code.
27427 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27428 <kernel-features.h>.
27429 [__ASSUME_32BITUIDS]: Make code unconditional.
27430 [!__ASSUME_32BITUIDS]: Remove conditional code.
27431 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27432 <kernel-features.h>.
27433 [__ASSUME_32BITUIDS]: Make code unconditional.
27434 [!__ASSUME_32BITUIDS]: Remove conditional code.
27435
a386f1cc
RH
274362012-05-25 Richard Henderson <rth@twiddle.net>
27437
27438 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27439 dl_hwcap to ifunc resolver.
27440 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27441 elf_ifunc_invoke.
27442 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27443 dl_hwcap to ifunc resolver.
27444 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27445
b6550497
JM
274462012-05-24 Joseph Myers <joseph@codesourcery.com>
27447
27448 [BZ #14153]
27449 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27450 for |x| <= 2**-26, not 2**-57.
27451 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27452 exception.
27453
b0bc23a1
JL
274542012-05-24 Jeff Law <law@redhat.com>
27455
27456 * stdio-common/Makefile (tests): Add bug25.
27457 * stdio-common/bug25.c: New test.
27458
347c92e9
L
274592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27460
27461 [BZ #13576]
27462 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27463 multiple of MALLOC_ALIGNMENT in size.
27464 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27465
6bcc8b3f
JM
274662012-05-24 Joseph Myers <joseph@codesourcery.com>
27467
27468 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27469 Require >= 256.
27470 (FILENAME_MAX): Use macro-int-constant.
27471 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27472 (_IOFBF): Use macro-int-constant.
27473 (_IOLBF): Likewise.
27474 (_IONBF): Likewise.
27475 (SEEK_CUR): Likewise.
27476 (SEEK_END): Likewise.
27477 (SEEK_SET): Likewise.
27478 (TMP_MAX): Likewise.
27479 (EOF): Use macro-int-constant. Require < 0.
27480 (NULL): Use macro-constant. Require == 0.
27481 (stdin): Require type to be FILE *.
27482 (stdout): Likewise.
27483 (stderr): Likewise.
27484 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27485 macro-int-constant.
27486 (EXIT_SUCCESS): Likewise.
27487 (NULL): Use macro-constant. Require == 0.
27488 (RAND_MAX): Use macro-int-constant.
27489 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27490 [C99-based standards] (strtof): Require function.
27491 [C99-based standards] (strtold): Likewise.
27492 [C99-based standards] (strtoll): Likewise.
27493 [C99-based standards] (strtoull): Likewise.
27494 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27495 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27496 [ISO || ISO99 || ISO11] (math.h): Likewise.
27497 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27498 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27500
d18ea0c5
AS
275012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27502
27503 [BZ #14132]
56d25bb8
AS
27504 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27505 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27506 * intl/dgettext.c (DCGETTEXT): Likewise.
27507 * intl/gettext.c (DCGETTEXT): Likewise.
27508 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27509 * posix/regex_internal.h (gettext): Likewise.
27510 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27511 Remove declaration.
27512 * include/argz.h (__argz_count_internal)
27513 (__argz_stringify_internal): Remove declaration.
27514 (__argz_count, __argz_stringify): Declare hidden proto.
27515 * intl/dcgettext.c: Remove use of INTDEF.
27516 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27517 * string/argz-stringify.c: Likewise.
27518 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27519 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27520 Declare hidden proto.
d18ea0c5
AS
27521 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27522 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27523 Declare hidden proto.
27524 * include/stdio.h (__asprintf_internal): Don't declare.
27525 (__asprintf): Don't define as macro. Declare hidden proto.
27526 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27527 (__fsetlocking): Declare hidden proto.
27528 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27529 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27530 hidden proto.
27531 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27532 (_IO_setlinebuf): Remove use of INTUSE.
27533 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27534 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27535 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27536 Remove declaration.
27537 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27538 (_IO_do_flush): Remove use of INTUSE.
27539 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27540 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27541 (_IO_adjust_column, _IO_least_wmarker)
27542 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27543 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27544 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27545 (_IO_default_doallocate, _IO_wdefault_doallocate)
27546 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27547 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27548 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27549 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27550 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27551 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27552 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27553 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27554 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27555 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27556 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27557 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27558 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27559 proto.
27560 (_IO_flush_all_internal, _IO_adjust_column_internal)
27561 (_IO_default_uflow_internal, _IO_default_finish_internal)
27562 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27563 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27564 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27565 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27566 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27567 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27568 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27569 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27570 (_IO_file_close_internal, _IO_file_close_it_internal)
27571 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27572 (_IO_file_init_internal, _IO_file_attach_internal)
27573 (_IO_file_fopen_internal, _IO_file_read_internal)
27574 (_IO_file_sync_internal, _IO_file_seek_internal)
27575 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27576 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27577 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27578 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27579 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27580 (_IO_list_all_internal, _IO_link_in_internal)
27581 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27582 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27583 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27584 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27585 (_IO_do_write_internal, _IO_padn_internal)
27586 (_IO_getline_info_internal, _IO_getline_internal)
27587 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27588 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27589 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27590 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27591 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27592 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27593 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27594 with libc_hidden_ver, remove use of INTUSE.
27595 * libio/genops.c: Likewise.
27596 * libio/freopen.c: Likewise.
27597 * libio/freopen64.c: Likewise.
27598 * libio/iofclose.c: Likewise.
27599 * libio/iofdopen.c: Likewise.
27600 * libio/iofflush.c: Likewise.
27601 * libio/iofflush_u.c: Likewise.
27602 * libio/iofgets.c: Likewise.
27603 * libio/iofgets_u.c: Likewise.
27604 * libio/iofopen.c: Likewise.
27605 * libio/iofopncook.c: Likewise.
27606 * libio/iofread.c: Likewise.
27607 * libio/iofread_u.c: Likewise.
27608 * libio/ioftell.c: Likewise.
27609 * libio/iofwrite.c: Likewise.
27610 * libio/iogetline.c: Likewise.
27611 * libio/iogets.c: Likewise.
27612 * libio/iogetwline.c: Likewise.
27613 * libio/iopadn.c: Likewise.
27614 * libio/iopopen.c: Likewise.
27615 * libio/ioseekoff.c: Likewise.
27616 * libio/ioseekpos.c: Likewise.
27617 * libio/iosetbuffer.c: Likewise.
27618 * libio/iosetvbuf.c: Likewise.
27619 * libio/ioungetc.c: Likewise.
27620 * libio/ioungetwc.c: Likewise.
27621 * libio/iovdprintf.c: Likewise.
27622 * libio/iovsprintf.c: Likewise.
27623 * libio/iovsscanf.c: Likewise.
27624 * libio/memstream.c: Likewise.
27625 * libio/obprintf.c: Likewise.
27626 * libio/oldfileops.c: Likewise.
27627 * libio/oldiofclose.c: Likewise.
27628 * libio/oldiofdopen.c: Likewise.
27629 * libio/oldiofopen.c: Likewise.
27630 * libio/oldiopopen.c: Likewise.
27631 * libio/oldstdfiles.c: Likewise.
27632 * libio/putc.c: Likewise.
27633 * libio/setbuf.c: Likewise.
27634 * libio/setlinebuf.c: Likewise.
27635 * libio/stdfiles.c: Likewise.
27636 * libio/strops.c: Likewise.
27637 * libio/vasprintf.c: Likewise.
27638 * libio/vscanf.c: Likewise.
27639 * libio/vsnprintf.c: Likewise.
27640 * libio/vswprintf.c: Likewise.
27641 * libio/wfiledoalloc.c: Likewise.
27642 * libio/wfileops.c: Likewise.
27643 * libio/wgenops.c: Likewise.
27644 * libio/wmemstream.c: Likewise.
27645 * libio/wstrops.c: Likewise.
27646 * libio/__fpurge.c: Likewise.
27647 * libio/__fsetlocking.c: Likewise.
27648 * assert/assert.c: Likewise.
27649 * debug/fgets_chk.c: Likewise.
27650 * debug/fgets_u_chk.c: Likewise.
27651 * debug/fread_chk.c: Likewise.
27652 * debug/fread_u_chk.c: Likewise.
27653 * debug/gets_chk.c: Likewise.
27654 * debug/obprintf_chk.c: Likewise.
27655 * debug/vasprintf_chk.c: Likewise.
27656 * debug/vdprintf_chk.c: Likewise.
27657 * debug/vsnprintf_chk.c: Likewise.
27658 * debug/vsprintf_chk.c: Likewise.
27659 * malloc/mtrace.c: Likewise.
27660 * misc/error.c: Likewise.
27661 * misc/syslog.c: Likewise.
27662 * stdio-common/asprintf.c: Likewise.
27663 * stdio-common/fxprintf.c: Likewise.
27664 * stdio-common/getw.c: Likewise.
27665 * stdio-common/isoc99_fscanf.c: Likewise.
27666 * stdio-common/isoc99_scanf.c: Likewise.
27667 * stdio-common/isoc99_vfscanf.c: Likewise.
27668 * stdio-common/isoc99_vscanf.c: Likewise.
27669 * stdio-common/isoc99_vsscanf.c: Likewise.
27670 * stdio-common/printf-prs.c: Likewise.
27671 * stdio-common/printf_fp.c: Likewise.
27672 * stdio-common/printf_fphex.c: Likewise.
27673 * stdio-common/printf_size.c: Likewise.
27674 * stdio-common/putw.c: Likewise.
27675 * stdio-common/scanf.c: Likewise.
27676 * stdio-common/sprintf.c: Likewise.
27677 * stdio-common/tmpfile.c: Likewise.
27678 * stdio-common/vfprintf.c: Likewise.
27679 * stdio-common/vfscanf.c: Likewise.
27680 * stdlib/strfmon_l.c: Likewise.
27681 * sunrpc/openchild.c: Likewise.
27682 * sunrpc/xdr_stdio.c: Likewise.
27683 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27684 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27685
d6c33fda
RM
276862012-05-24 Roland McGrath <roland@hack.frob.com>
27687
c1487492
RM
27688 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27689
27690 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27691 in the third column, to generate for the shared library an IFUNC
27692 that uses _dl_vdso_vsym.
27693 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27694 * Makeconfig (object-suffixes-noshared): New variable.
27695
27696 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27697 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27698 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27699 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27700
d6c33fda
RM
27701 [BZ #14132]
27702 * include/sys/time.h (__gettimeofday): Remove macro.
27703 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27704 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27705 Remove INTDEF.
27706 (__gettimeofday): Add libc_hidden_def.
27707 (gettimeofday): Add libc_hidden_weak.
27708 * sysdeps/mach/gettimeofday.c: Likewise.
27709 * sysdeps/posix/gettimeofday.c: Likewise.
27710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27711 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27713 (__gettimeofday_internal): Remove strong_alias.
27714 (__gettimeofday): Add libc_hidden_def.
27715 (gettimeofday): Add libc_hidden_weak.
27716 * sysdeps/unix/syscalls.list (gettimeofday):
27717 Remove __gettimeofday_internal alias.
27718
b5a2bbe6
L
277192012-05-24 Daniel Jacobowitz <drow@false.org>
27720 H.J. Lu <hongjiu.lu@intel.com>
27721
27722 [BZ #12495]
27723 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27724 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27725 (largebin_index_32_big): New.
27726 (largebin_index): Use it for 16-byte alignment.
27727 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27728 correction with front_misalign.
27729
cfba4fda
L
277302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27731
7f907421
L
27732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27734 Likewise.
27735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27736 Likewise.
27737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27738 Likewise.
27739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27740 Likewise.
27741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27742 Likewise.
27743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27744 Likewise.
27745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27746 Likewise.
27747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27748 Likewise.
27749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27750 Likewise.
27751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27752 Likewise.
27753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27754 Likewise.
27755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27756 Likewise.
27757
cfba4fda
L
27758 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27759 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27760
80bad0cc
JM
277612012-05-24 Joseph Myers <joseph@codesourcery.com>
27762
7a25eb06
JM
27763 [BZ #10846]
27764 [BZ #14036]
27765 * math/libm-test.inc (exp_test): Add test from bug 14036.
27766 (pow_test): Add test from bug 10846.
27767
795405f9
JM
27768 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27769 and other flags.
27770 (special_function): Do not include flags in test name.
27771 (parse_args): Likewise.
27772 * sysdeps/i386/fpu/libm-test-ulps: Update.
27773 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27774 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27775 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27777
80bad0cc
JM
27778 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27779 exceptions.
27780 * math/libm-test.inc ("Philosophy"): Update comment about
27781 exception testing.
27782 (UNDERFLOW_EXCEPTION): New macro.
27783 (UNDERFLOW_EXCEPTION_OK): Likewise.
27784 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27785 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27786 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27787 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27788 (INVALID_EXCEPTION_OK): Update value.
27789 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27790 (OVERFLOW_EXCEPTION_OK): Likewise.
27791 (IGNORE_ZERO_INF_SIGN): Likewise.
27792 (test_exceptions): Handle underflow exceptions.
27793 (acos_test): Update for underflow exception expectations.
27794 (cexp_test): Likewise.
27795 (clog_test): Likewise.
27796 (clog10_test): Likewise.
27797 (csqrt_test): Likewise.
27798 (ctan_test): Likewise.
27799 (ctanh_test): Likewise.
27800 (exp_test): Likewise.
27801 (exp10_test): Likewise.
27802 (exp2_test): Likewise.
27803 (expm1_test): Likewise.
27804 (fma_test): Likewise.
27805 (j0_test): Likewise.
27806 (jn_test): Likewise.
27807 (nexttoward_test): Likewise.
27808 (pow_test): Likewise.
27809 (scalbn_test): Likewise.
27810 (scalbln_test): Likewise.
27811 (tan_test): Likewise.
27812 (y1_test): Likewise.
27813 * sysdeps/i386/fpu/libm-test-ulps: Update.
27814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27815
9e0e3d0b
DM
278162012-05-23 David S. Miller <davem@davemloft.net>
27817
27818 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27819 (__libc_sigaction): Remove unused local variables.
27820
ccd0a08f
L
278212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27822
27823 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27824
62bdf9a6
PE
278252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27826
f8591f80
PE
27827 mktime: avoid signed integer overflow
27828 * time/mktime.c (__mktime_internal): Do not mishandle the case
27829 where diff == INT_MIN.
27830
94c7d826
PE
27831 mktime: simplify computation of average
27832 * time/mktime.c (ranged_convert): Use new time_t_avg function
27833 instead of rolling our own (probably-slower) code.
27834
ce73d683
PE
27835 mktime: do not assume signed right shift propagates sign bit
27836 * time/mktime.c (isdst_differ): New static function.
27837 (__mktime_internal): No need to normalize tm_isdst now.
27838 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27839 tm_isdst values.
27840
72a22e59
PE
27841 mktime: merge another wrapv change from gnulib
27842 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27843 from some compilers.
27844
68605433
PE
27845 mktime: remove incorrect attempt at unusual arithmetics
27846 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27847 The code didn't really work on such machines anyway.
27848 (TYPE_MINIMUM): Assume two's complement.
27849 (twos_complement_arithmetic): Verify that long_int and time_t
27850 are two's complement (or unsigned, in the latter case).
27851
03cf7fe3
PE
27852 mktime: check signed shifts on long_int and time_t, too
27853 * time/mktime.c (SHR): Check that shifts work as desired
27854 on the types long_int and time_t too, as SHR is used on
27855 such types.
27856
f04dfbc2
PE
27857 mktime: do not assume 'long' is wide enough
27858 * time/mktime.c (verify): Move decl up.
27859 (long_int): New type.
27860 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27861 to remove assumption in the code that 'long' is wide enough to
27862 store year values. This assumption is not true on x32 and on
27863 some non-glibc platforms.
27864
62bdf9a6
PE
27865 mktime: merge wrapv change from gnulib
27866 * time/mktime.c (WRAPV): New macro.
27867 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27868 (guess_time_tm, __mktime_internal): Do not assume that signed
27869 integer overflow wraps around; modern compilers generate code
27870 where this assumption is no longer valid.
27871
5e292e4f
L
278722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27873
27874 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27875 Replace "jmp L(pseudo_end)" with "ret".
27876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27877 Likewise.
27878
8caf8c87
AJ
278792012-05-23 Andreas Jaeger <aj@suse.de>
27880
27881 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27882 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27883
1a09dc56
AJ
278842012-05-23 Andreas Jaeger <aj@suse.de>
27885 Maximilian Attems <max@stro.at>
27886
27887 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27888 New macros.
27889
1c87aba0
L
278902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27891
27892 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27893 code so that pseudo_end is just ret and the stack pointer is
27894 correct also for static library in error case.
27895
40e45bd5
JM
278962012-05-23 Joseph Myers <joseph@codesourcery.com>
27897
c2670533
JM
27898 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27899 move to syscalls.list.
27900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27904
40e45bd5
JM
27905 * manual/install.texi (Running make install): Do not mention Linux
27906 kernel version for which pt_chown is not needed.
27907 (Linux): Do not mention problems with nscd with 2.0 kernels.
27908 * INSTALL: Regenerated.
27909
be08eda5
AJ
279102012-05-23 Andreas Jaeger <aj@suse.de>
27911
27912 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27913 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27914 macro.
27915 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27917 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27919 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27921 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27922 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27923 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27924 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27925 * sysdeps/unix/sysv/linux/bits/in.h
27926 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27927
a6a056bb
RM
279282012-05-22 Roland McGrath <roland@hack.frob.com>
27929
27930 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27931 (PREPARE_VERSION): Just use assert instead, it will be elided
27932 under [NDEBUG] anyway.
27933
c9009328
L
279342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27935
27936 * sysdeps/unix/sysv/linux/Makefile: Include
27937 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27938 (sysdep_routines): Remove sysctl.
c9009328
L
27939 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27940 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27941 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27942 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27943 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27944
73338355
AJ
279452012-05-22 Andreas Jaeger <aj@suse.de>
27946
27947 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27948 that pseudo_end is just ret and the stack pointer is correct also
27949 for static library in error case.
27950
d44638b0
PP
279512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27952
27953 [BZ #14122]
27954 * nss/nsswitch.c (defconfig_entries): New variable.
27955 (__nss_database_lookup): Don't leak defconfig entries.
27956 (nss_parse_service_list): Don't leak on error paths.
27957 (free_database_entries): New function.
27958 (free_defconfig): New function.
27959 (free_mem): Move common code to free_database_entries.
27960
31a39bd8
L
279612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27962
da0331a8
L
27963 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27964 Add arch_prctl.
27965 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27966
31a39bd8
L
27967 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27968 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27970 New macro.
27971 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27972 (INTERNAL_SYSCALL_TYPES): Likewise.
27973 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27974 (LOAD_REGS_TYPES_[1-6]): Likewise.
27975 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27976 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27977
45470df3
AZ
279782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27979
27980 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27981 copysignl for GLIBC_2_0.
27982 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27983 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27985 logbl for GLIBC_2_0.
27986 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27987 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27988
98a61bcb
L
279892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27990
a4f6e481
L
27991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27992 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27993
f63d5db6
L
27994 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27995 Use "neg %eax".
27996
98a61bcb
L
27997 * time/mktime.c: Update copyright years.
27998
95770f14
PE
279992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28000
6226efbd
PE
28001 mktime: merge comment-quoting-style change from gnulib
28002 * time/mktime.c: Quote 'like this' in comments.
28003 The GNU coding standards suggest that we no longer quote `like this',
28004 as "`" and "'" are typically rendered asymmetrically nowadays.
28005 The typical gnulib style is to quote 'like this' when quoting
28006 code, and "like this" when quoting English.
28007
b99e4f78
PE
28008 * time/mktime.c (compile-command): Add "-I.".
28009
643e01e6
PE
28010 mktime: merge mktime-internal.h change from gnulib
28011 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28012
2554247d
PE
28013 mktime: merge time_r change from gnulib
28014 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28015
826dd0ab
PE
28016 mktime: merge DEBUG change from gnulib
28017 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28018 case system <time.h> has a #define.
28019
bd83aabe
PE
28020 mktime: merge <sys/types.h> change from gnulib
28021 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28022 since <time.t> is now guaranteed to define time_t.
28023
95770f14
PE
28024 mktime: merge HAVE_CONFIG_H change from gnulib
28025 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28026
5e1a27a9
L
280272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28028
0e44a77e
L
28029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28030 Use "neg %eax".
28031
5e1a27a9
L
28032 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28033 __rlim_t cast.
28034 (struct rusage): Use anonymous union to pad each field to
28035 __syscall_slong_t.
28036
46259bec
DM
280372012-05-21 David S. Miller <davem@davemloft.net>
28038
28039 * Makefules (o-iterator): Remove .s cases.
28040 (compile-command.s): Delete.
28041 (COMPILE.s): Delete.
28042 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28043
59f0c22e
JM
280442012-05-21 Joseph Myers <joseph@codesourcery.com>
28045
28046 * configure.in (libc_cv_predef_stack_protector): Only consider
28047 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28048 * configure: Regenerated.
28049
20c07380
L
280502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28051
bbb3154b
L
28052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28053 New macro. Use R*LP on int and pointer.
28054 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28055 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28056 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28057 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28058
20c07380
L
28059 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28060 [__WORDSIZE_TIME64_COMPAT32] instead of
28061 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28062 (struct utmp): Likewise.
28063 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28064 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28065 Renamed to ...
28066 (__WORDSIZE_TIME64_COMPAT32): This.
28067 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28068 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28069 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28070 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28071 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28072 (__WORDSIZE_TIME64_COMPAT32): New macro.
28073
d8d1017e
AJ
280742012-05-21 Andreas Jaeger <aj@suse.de>
28075
28076 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28077 only if [SHARED]. Add prototype for __wcschr_ia32.
28078
6c7fb145
RM
280792012-05-21 Roland McGrath <roland@hack.frob.com>
28080
28081 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28082 of %rbp unmolested in the jmp_buf while mangling the low bits.
28083 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28084 unmolested high bits of %rbp while demangling the low bits.
28085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28086
66274218
AJ
280872012-05-21 Andreas Jaeger <aj@suse.de>
28088
07c58f8f
AJ
28089 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28090 * sunrpc/svc_simple.c: Use it for registerrpc.
28091 * sunrpc/xcrypt.c: Use it for passwd2des.
28092
66274218
AJ
28093 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28094
61f65140
L
280952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28096
28097 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28098 Don't define if [__SYSCALL_WORDSIZE != 32].
28099 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28100 New macro.
28101
5fefb436
AJ
281022012-05-21 Bruno Haible <bruno@clisp.org>
28103 Andreas Jaeger <aj@suse.de>
28104
28105 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28106 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28107 inptr and inend for must_buffer_ch.
28108 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28109 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28110 * stdio-common/Makefile (tests): Remove bug15.
28111 (bug15-ENV): Remove macro.
28112 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28113 anymore.
28114
d8e272ab
AJ
281152012-05-19 Andreas Jaeger <aj@suse.de>
28116 Roland McGrath <roland@hack.frob.com>
28117
28118 * manual/contrib.texi: Completely rewritten. It contains now an
28119 alphabetical list of contributors and their contributions.
28120
4a56a162
RH
281212012-05-21 Richard Henderson <rth@twiddle.net>
28122
28123 * misc/getauxval.c (__getauxval): Use unsigned long int.
28124 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28125 (getauxval): Use unsigned long int.
28126
d024d23c
L
281272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28128
28129 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28130
cbc00a03
RM
281312012-05-21 Roland McGrath <roland@hack.frob.com>
28132
28133 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28134 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28135 __alignof__ (long double).
28136
478143fa
AZ
281372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28138
28139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28140
c7683a6d
RH
281412012-05-20 Richard Henderson <rth@twiddle.net>
28142
28143 * misc/getauxval.c: New file.
28144 * misc/sys/auxv.h: New file.
28145 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28146 (routines): Add getauxval.
28147 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28148 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28149 * elf/dl-sysdep.c (_dl_auxv): Remove.
28150 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28151 * elf/dl-support.c (_dl_auxv): New variable.
28152 (_dl_aux_init): Initialize it.
28153 * manual/startup.texi (Auxiliary Vector): New node.
28154 * sysdeps/generic/bits/hwcap.h: New file.
28155 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28156 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28157 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28158 * sysdeps/sparc/sysdep.h: ... here. Include it.
28159 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28160 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28162 Update.
c7683a6d
RH
28163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28171
a6f1845d
AZ
281722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28173
28174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28175
cbcbe830
DM
281762012-05-19 David S. Miller <davem@davemloft.net>
28177
28178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28179
e0b16cc2
JM
281802012-05-19 Joseph Myers <joseph@codesourcery.com>
28181
28182 [BZ #14123]
28183 * math/s_ccosh.c: Include <float.h>
28184 (__ccosh): Avoid internal overflow calculating sinh and cosh
28185 values before multiplying by sin and cos values.
28186 * math/s_ccoshf.c: Likewise.
28187 * math/s_ccoshl.c: Likewise.
28188 * math/s_csin.c: Likewise.
28189 * math/s_csinf.c: Likewise.
28190 * math/s_csinl.c: Likewise.
28191 * math/s_csinh.c: Likewise.
28192 * math/s_csinhf.c: Likewise.
28193 * math/s_csinhl.c: Likewise.
28194 * math/libm-test.inc (ccos_test): Add more tests.
28195 (ccosh_test): Likewise.
28196 (csin_test): Likewise.
28197 (csinh_test): Likewise.
28198 * sysdeps/i386/fpu/libm-test-ulps: Update.
28199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28200
6ad13e08
L
282012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28202
f66f0ce8
L
28203 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28204 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28205
6ad13e08
L
28206 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28207
b1d072a7
JM
282082012-05-19 Joseph Myers <joseph@codesourcery.com>
28209
28210 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28211 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28212 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28213 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28214 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28215 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28216 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28217 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28218 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28219 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28220 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28221 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28222 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28223 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28224 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28225 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28226 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28227 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28228 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28229 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28230 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28231 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28232 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28233 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28234 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28235 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28236 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28237 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28238 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28239 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28240 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28241
9eae47cb
AJ
282422012-05-18 Andreas Jaeger <aj@suse.de>
28243
28244 * csu/.gitignore: Delete.
28245
bb07f69f
L
282462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28247
28248 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28249 (timex): Use __syscall_slong_t.
28250
e6bdb741
AJ
282512012-05-18 Andreas Jaeger <aj@suse.de>
28252 Carlos O'Donell <carlos_odonell@mentor.com>
28253
28254 * manual/install.texi (Configuring and compiling): Update
28255 description about files modified in the source directory.
d6c33fda 28256 * INSTALL: Regenerated.
e6bdb741 28257
1b74487e
L
282582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28259
28260 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28261 value. Use "or" to set return value to -1.
28262 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28263 negate return value.
28264
a88b64b9
TMQMF
282652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28266
28267 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28268 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28269 failure if the compiler has Graphite support disabled.
28270 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28271 Likewise.
28272 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28273 CFLAGS-memmove.c): Likewise.
28274 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28275 Likewise.
28276
3707636e
L
282772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28278
610b8622
L
28279 * sysdeps/x86_64/x32/_itoa.h: New file.
28280
7cd195df
L
28281 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28282 getdents system call only if kernel and user dirents have the
28283 same d_ino and d_off.
28284
94b07d20
L
28285 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28286 LLONG_MAX != LONG_MAX.
28287 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28288 (_fitoa_word): Likewise.
28289
18298070
L
28290 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28291 years.
28292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28293 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28294 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28295
553c7ea4
L
28296 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28297 include <bits/wordsize.h>. Check __x86_64__ instead of
28298 __WORDSIZE.
28299 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28300 if __x86_64__ is defined. Use anonymous union on fpstate.
28301
3707636e
L
28302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28303 anonymous union.
28304
b53ef01a
AS
283052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28306
37fb1dc0
AS
28307 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28308 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28309 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28310 Refer to _rtld_local_ro instead of _rtld_global_ro.
28311 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28312 Likewise.
28313 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28314 Likewise.
28315 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28316 Likewise.
28317 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28318 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28319 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28320
b53ef01a
AS
28321 * sysdeps/powerpc/powerpc32/dl-machine.c
28322 (__elf_machine_runtime_setup) [PROF]: Don't reference
28323 _dl_prof_resolve.
28324
7a185db2
AJ
283252012-05-18 Andreas Jaeger <aj@suse.de>
28326
28327 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28328 function only available for GCCs before 3.4 since GCC 3.4
28329 introduced a builtin.
28330 (lrint): Likewise.
28331 (llrintf): Likewise.
28332 (llrint): Likewise.
28333 (fmaxf): Likewise.
28334 (fmax): Likewise.
28335 (fminf): Likewise.
28336 (fmin): Likewise.
28337 (rint): Likewise.
28338 (rintf): Likewise.
28339 (nearbyint): Likewise.
28340 (nearbyintf): Likewise.
28341 (ceil): Likewise.
28342 (ceilf): Likewise.
28343 (floor): Likewise.
28344 (floorf): Likewise.
28345
3e5aef87
L
283462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28347
428bd707
L
28348 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28349 on both fields and cast pointer to __syscall_ulong_t.
28350
3e5aef87
L
28351 * bits/types.h (__fsword_t): New type.
28352 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28353 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28355 (__FSWORD_T_TYPE): Likewise.
28356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28357 (__FSWORD_T_TYPE): Likewise.
28358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28359 (__FSWORD_T_TYPE): Likewise.
28360 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28361 (__FSWORD_T_TYPE): Likewise.
28362 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28363 __SWORD_TYPE with __fsword_t.
28364 (statfs64): Likewise.
28365
1ba7c3dc
DM
283662012-05-17 David S. Miller <davem@davemloft.net>
28367
28368 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28369
59910343
AJ
283702012-05-17 Andreas Jaeger <aj@suse.de>
28371
28372 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28373 warning.
28374
2e4c1e9e
L
283752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28376
28377 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28378
de7f5ce7
AJ
283792012-05-17 Andreas Jaeger <aj@suse.de>
28380
28381 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28382 when it is used.
28383
286abc3d
CM
283842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28385
28386 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28387
477cc68e
L
283882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28389
28390 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28391 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28392
1a0994f5
CD
283932012-05-17 Andreas Jaeger <aj@suse.de>
28394 Carlos O'Donell <carlos_odonell@mentor.com>
28395
28396 [BZ #14059]
28397 * sysdeps/x86_64/multiarch/init-arch.h
28398 (bit_YMM_Usable): Rename to...
28399 (bit_AVX_Usable): ... this.
28400 (bit_FMA4_Usable): New macro.
28401 (bit_XMM_state): New macro.
28402 (bit_YMM_state): New macro.
28403 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28404 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28405 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28406 (CPUID_OSXSAVE): New macro.
28407 (CPUID_AVX): New macro.
28408 (CPUID_FMA4): New macro.
28409 (index_YMM_Usable): Rename to...
28410 (index_AVX_Usable): ... this.
28411 (HAS_AVX): Use HAS_ARCH_FEATURE.
28412 (HAS_FMA4): Likewise.
28413 (HAS_YMM_USABLE): Remove.
28414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28415 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28416 are present.
28417 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28418 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28419 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28420 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28421 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28422
0af797de
CM
284232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28424
28425 * math/libm-test.c: Support platforms without multiple rounding modes.
28426 * math/bug-nextafter.c: Support platforms without FP exceptions.
28427 * math/bug-nexttoward.c: Likewise.
28428 * math/test-fenv.c: Likewise.
28429 * math/test-misc.c: Likewise.
28430 * stdlib/bug-getcontext.c: Likewise.
28431
e39745ff
AJ
284322012-05-17 Andreas Jaeger <aj@suse.de>
28433
28434 * manual/examples/search.c (critter_cmp): Change signature to
28435 avoid warnings.
28436 * manual/string.texi (Collation Functions): Likewise.
28437
48970aba
L
284382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 * bits/types.h: Fold copyright years.
28441 * bits/typesizes.h: Likewise.
28442 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28446 * time/time.h: Likewise.
28447
bedee953
PP
284482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28449
28450 [BZ #208]
28451 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28452 in instead of returning them. Return void.
28453 (__libc_mallinfo): Accumulate over all arenas.
28454 (__malloc_stats): Adjust for change in int_mallinfo interface.
28455
61653dfb
RM
284562012-05-16 Roland McGrath <roland@hack.frob.com>
28457
30b99d79
RM
28458 [BZ #10375]
28459 * configure.in (NM): Add AC_CHECK_TOOL for it.
28460 (libc_extra_cflags): New substituted variable.
28461 Check for -fstack-protector being used implicitly.
28462 * configure: Regenerated.
28463 * config.make.in (config-extra-cflags): New variable,
28464 gets @libc_extra_cflags@.
28465 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28466
61653dfb
RM
28467 [BZ #10375]
28468 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28469 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28470 * configure: Regenerated.
28471 * config.make.in (CPPUNDEFS): New substituted variable.
28472 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28473 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28474 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28475
661768bb
L
284762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28477
28478 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28479 (mq_attr): Use __syscall_slong_t.
28480
d4261567
L
284812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28482
28483 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28484 Check __x86_64__ instead of __WORDSIZE.
28485 (_STAT_VER_LINUX): Likewise.
28486 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28487 __syscall_ulong_t and __syscall_slong_t.
28488 (stat64): Likewise.
28489
cf3ff365
L
284902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28491
28492 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28493
76cf3e4d
L
284942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28495
28496 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28497
a637753a
L
284982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28499
28500 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28501 __syscall_ulong_t.
28502
d5e05119
L
28503 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28504 include <bits/wordsize.h>. Check __x86_64__ instead of
28505 __WORDSIZE.
28506 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28507 defined.
28508 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28509
f62ee380
L
28510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28511 include <bits/wordsize.h>. Check __x86_64__ instead of
28512 __WORDSIZE.
28513 (user_regs_struct): Use "__extension__ unsigned long long"
28514 instead of "unsigned long" if __x86_64__ is defined.
28515 (user): Likewise. Pad after pointer field if __ILP32__ is
28516 defined.
28517
4e124ced
JM
285182012-05-16 Joseph Myers <joseph@codesourcery.com>
28519
6a3951a0
JM
28520 * configure.in (makeinfo): Require version 4.5 or later. Allow
28521 versions 5 to 9.
28522 * configure: Regenerated.
28523 * manual/install.texi (texinfo): Increase version requirement to
28524 4.5 or later.
28525 * INSTALL: Regenerated.
28526
4e124ced
JM
28527 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28528
953ca31a
L
285292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28530
28531 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28532
617aca05
L
28533 * sysdeps/x86_64/x32/ffs.c: New file.
28534
5762f7ae
L
28535 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28536 __syscall_ulong_t.
28537 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28538 defined. Use __syscall_ulong_t.
28539 (shminfo): Use __syscall_ulong_t.
28540 (shm_info): Likewise.
28541
a26b6856
L
28542 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28543 __syscall_ulong_t.
28544
cb2b9ef7
L
28545 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28546 <bits/wordsize.h>.
28547 (msgqnum_t): Use __syscall_ulong_t.
28548 (msglen_t): Likewise.
28549 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28550 __syscall_ulong_t.
28551
34683bb0
L
28552 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28553 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28554
84a68786
L
28555 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28556
48baa5f1
L
28557 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28558 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28559
180be88b
L
28560 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28561 __syscall_slong_t.
28562
5e90c8ad
L
28563 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28564 include <bits/wordsize.h>. Check __x86_64__ instead of
28565 __WORDSIZE.
28566
23dfb58b
L
28567 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28568 "unsigned long long int" if __x86_64__ is defined.
28569 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28570
ce5d54b0
L
28571 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28572 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28573 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28574
13dc9eac
L
28575 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28576 <stdint.h>.
28577 (GET_PC): Cast to uintptr_t first.
28578 (GET_FRAME): Likewise.
28579 (GET_STACK): Likewise.
28580
a7895d15
L
28581 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28582 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28583 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28584 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28585 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28586 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28587 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28588 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28589 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28590 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28591 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28592 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28593 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28594 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28595 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28596 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28597 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28598 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28599 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28600 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28601 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28602 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28603 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28604 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28605 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28606 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28607 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28608 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28609 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28610
656416c9
AS
286112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28612
5bd66283
AS
28613 * Makerules (+depfiles): Also collect depfiles from .oS in
28614 $(extra-objs).
28615 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28616 .oS, $(libnldbl-routines)).
28617
656416c9
AS
28618 * Makerules (native-compile-mkdep-flags): Define.
28619 * sunrpc/Makefile (extra-objs): Add $(addprefix
28620 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28621 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28622 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28623 calling $(make-target-directory).
28624
a46f2169
L
286252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28626
28627 * bits/types.h (__snseconds_t): Removed.
28628 * time/time.h (struct timespec): Replace __snseconds_t with
28629 __syscall_slong_t.
28630 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28631 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28632 Likewise.
28633 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28634 (__SNSECONDS_T_TYPE): Likewise.
28635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28636 (__SNSECONDS_T_TYPE): Likewise.
28637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28638 (__SNSECONDS_T_TYPE): Likewise.
28639
6af6528b
L
286402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28641
28642 * sysdeps/mach/hurd/bits/typesizes.h
28643 (__SYSCALL_SLONG_TYPE): New macro.
28644 (__SYSCALL_ULONG_TYPE): Likewise.
28645
de986b56
L
286462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28647
28648 * bits/types.h (__syscall_slong_t): New type.
28649 (__syscall_ulong_t): Likewise.
28650
28651 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28652 (__SYSCALL_ULONG_TYPE): Likewise.
28653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28654 (__SYSCALL_SLONG_TYPE): Likewise.
28655 (__SYSCALL_ULONG_TYPE): Likewise.
28656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28657 (__SYSCALL_SLONG_TYPE): Likewise.
28658 (__SYSCALL_ULONG_TYPE): Likewise.
28659 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28660 (__SYSCALL_SLONG_TYPE): Likewise.
28661 (__SYSCALL_ULONG_TYPE): Likewise.
28662
85736dc7
L
286632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28664
28665 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28666 Add sigaltstack-offsets.sym.
28667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28668 <sigaltstack-offsets.h>.
28669 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28670 longjmp_msg pointer.
28671 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28672 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28673 signal stack.
28674 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28675
cc03b296
JM
286762012-05-15 Joseph Myers <joseph@codesourcery.com>
28677
a9538892
JM
28678 * elf/stackguard-macros.h: Remove file.
28679 * sysdeps/generic/stackguard-macros.h: New file.
28680 * sysdeps/i386/stackguard-macros.h: Likewise.
28681 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28682 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28683 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28684 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28685 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28686 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28687 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28688 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28689 <elf/stackguard-macros.h>.
28690
cc03b296
JM
28691 [BZ #14109]
28692 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28693 __aligned__ in attribute.
28694 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28695 (gregset_t): Likewise.
28696
93171016
L
286972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28698
28699 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28700 * sysdeps/x86_64/64/Implies-after: Here. New file.
28701 * sysdeps/x86_64/x32/Implies-after: New file.
28702
d86813a0
L
287032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28704
28705 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28706 and access return value for _dl_profile_fixup. Use R10_LP to
28707 load frame size.
28708
2953ec75
L
287092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28710
28711 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28712
3b550e9e
L
287132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28714
28715 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28716 * sysdeps/x86_64/x32/sysdep.h: New file.
28717
eda41706
L
287182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28719
28720 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28721 * sysdeps/x86_64/setjmp.S: Likewise.
28722
9ea01d93
AZ
287232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28724
28725 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28726 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28727 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28728 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28729 remove unused global constant.
28730
02a91938
CM
287312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28732
28733 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28734 include of <not-cancel.h>.
28735
6540185f
RM
287362012-05-15 Roland McGrath <roland@hack.frob.com>
28737
28738 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28739
509072a0
AJ
287402012-05-15 Jeff Law <law@redhat.com>
28741 Andreas Jaeger <aj@suse.de>
28742
28743 [BZ #13594]
28744 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28745 out from...
28746 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28747 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28748 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28749 code changing __hst_map_handle.map.
28750
ba75122d
RM
287512012-05-15 Roland McGrath <roland@hack.frob.com>
28752
28753 * configure.in (sysnames): Look for Implies-before and Implies-after
28754 files.
28755 * configure: Regenerated.
28756
890d8bd8
L
287572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28758
28759 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28760 8-byte data alignment with LP_SIZE alignment.
28761
f6ee6623
L
287622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28763
28764 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28765 into R10_LP.
28766
ea2626f6
L
287672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28768
28769 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28770
085f715e
L
287712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28772
28773 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28774 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28776 Likewise.
28777 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28778
be8498fc
L
287792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28780
28781 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28782 (stackinfo_sub_sp): Likewise.
28783
70bc83b9
L
287842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28785
28786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28787 RAX_LP.
28788
9bc0b730
L
287892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28790
28791 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28792 into R*_LP.
28793
6d2850e7
L
287942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28795
28796 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28797 sizes into R*_LP.
28798
3cb84561
L
287992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28800
28801 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28802
54e2ed81
L
288032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28804
28805 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28806 into R11_LP and load __x86_64_shared_cache_size_half into
28807 R8_LP.
28808
8a17f349
L
288092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28810
28811 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28812 R8_LP.
28813
777b1eea
AZ
288142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28815
28816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28817 logb for POWER7.
28818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28819 logbf for POWER7.
28820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28821 logbl for POWER7.
28822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28823 powerpc32/power7/fpu/s_logb.c via #include.
28824 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28825 powerpc32/power7/fpu/s_logbf.c via #include.
28826 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28827 powerpc32/power7/fpu/s_logbl.c via #include.
28828
d20d4ac2
JM
288292012-05-15 Joseph Myers <joseph@codesourcery.com>
28830
28831 * README.libm: Remove file.
28832
6cdef1ab
L
288332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28834
28835 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28836 count for x32. Use R*_LP and omit operand-size suffix.
28837
0b254d8f
L
288382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28839
28840 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28841 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28842 * sysdeps/x86_64/x32/shlib-versions: New file.
28843
ceb809dc
RM
288442012-05-14 Roland McGrath <roland@hack.frob.com>
28845
28846 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28847 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28848 Use _dl_fatal_printf instead.
28849
37f1abd4
JM
288502012-05-14 Joseph Myers <joseph@codesourcery.com>
28851
28852 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28853 set if not set by the user. Do not allow for being unset.
28854 * sysdeps/unix/sysv/linux/configure: Regenerated.
28855
11de3a33
L
288562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28857
28858 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28859 the `q' suffix from lea and replace .quad with ASM_ADDR.
28860
e02f153a
L
288612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28862
28863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28864 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28865 instead of $17.
28866 (PTR_DEMANGLE): Likewise.
28867
520ae0fd
L
288682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28869
28870 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28871 (LP_OP): Likewise.
28872 (ASM_ADDR): Likewise.
28873 (RAX_LP): Likewise.
28874 (RBP_LP): Likewise.
28875 (RBX_LP): Likewise.
28876 (RCX_LP): Likewise.
28877 (RDI_LP): Likewise.
28878 (RSI_LP): Likewise.
28879 (RSP_LP): Likewise.
28880 (R8_LP): Likewise.
28881 (R9_LP): Likewise.
28882 (R10_LP): Likewise.
28883 (R10_LP): Likewise.
28884 (R11_LP): Likewise.
28885 (R12_LP): Likewise.
28886 (R13_LP): Likewise.
28887 (R14_LP): Likewise.
28888 (R15_LP): Likewise.
28889
b985be81
L
288902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28891
28892 * sysdeps/x86_64/x32/dl-machine.h: New file.
28893
6a4888ff
AJ
288942012-05-14 Andreas Jaeger <aj@suse.de>
28895
28896 * manual/Makefile (subdir): Remove export of subdir.
28897 (all): Remove target.
28898 (.PHONY): Remove all from list.
28899 (mkinstalldirs): Remove.
28900 (.PHONY): Remove installdirs from list.
28901 ($(inst_infodir)/libc.info): Use make-target-directory.
28902 (installdirs): Remove.
28903 (subdir_%): Remove.
28904 (glibc-targets): Remove.
28905 (lib): Remove.
28906 (stubs): Remove.
28907 ($(objpfx)stubs ../po/manual.pot): Remove.
28908 ($(objpfx)stamp%): Remove.
28909 (make-target-directory): Remove.
28910 (subdir_install): Remove.
28911 (routines): Remove.
28912 (aux): Remove.
28913 (sources): Remove.
28914 (objects): Remove.
28915 (headers): Remove.
28916
28917 [BZ #13750]
28918 * manual/.gitignore: Remove, it's not needed anymore.
28919 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28920 all files in it.
28921 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28922 directory.
28923 (texis): Renamed to $(objpfx)texis.
28924 (texis-path): New, contains path to generated files.
28925 (chapters.%): Use texis-path for complete path, add extra argument
28926 libc-texinfo.sh.
28927 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28928 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28929 (summary,texi, stamp-summary): Use complete path of
28930 files. Generate files in build dir.
28931 (dir-add.texi): Build in build dir.
28932 (libm-err.texi,stamp-libm-err): Likewise.
28933 (version.texi, stamp-version): Likewise.
28934 (.%c.texi): Likewise.
28935 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28936 (mostlyclean): Remove target.
28937 (realclean): Remove target.
28938 (generated): Add new variable with contents from mostlyclean and
28939 realclean, remove entries duplicated in common-mostlyclean, add
28940 stamp-libm-err and stamp-version.
28941 (generated-dirs): Add libc directory.
28942 ($(inst_infodir)/libc.info): Install files from build dir.
28943
28944 * manual/install.texi (Configuring and compiling): Adjust since
28945 the info files are not part of the tar ball anymore.
28946
7ac77294
AJ
289472012-05-14 Andreas Jaeger <aj@suse.de>
28948
28949 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28950 variable.
28951
ffb7875d
JM
289522012-05-14 Joseph Myers <joseph@codesourcery.com>
28953
28954 [BZ #13717]
28955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28956 to 2.2.0 where earlier.
28957 * sysdeps/unix/sysv/linux/configure: Regenerated.
28958 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28959 Remove conditional code.
28960 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28961 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28962 Remove conditional code.
28963 [!__NR_lchown]: Likewise.
28964 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28965 [__NR_lchown]: Likewise.
28966 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28967 comment referencing __ASSUME_LCHOWN_SYSCALL.
28968 * sysdeps/unix/sysv/linux/i386/sigaction.c
28969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28971 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28972 Remove conditional code.
28973 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28974 (__protocol_available): Remove #if 0 code.
28975 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28976 conditional code.
28977 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28978 * sysdeps/unix/sysv/linux/kernel-features.h
28979 (__ASSUME_GETCWD_SYSCALL): Don't define.
28980 (__ASSUME_REALTIME_SIGNALS): Likewise.
28981 (__ASSUME_PREAD_SYSCALL): Likewise.
28982 (__ASSUME_PWRITE_SYSCALL): Likewise.
28983 (__ASSUME_POLL_SYSCALL): Likewise.
28984 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28985 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28986 non-SPARC.
28987 (__ASSUME_SIOCGIFNAME): Don't define.
28988 (__ASSUME_MSG_NOSIGNAL): Likewise.
28989 (__ASSUME_SENDFILE): Define unconditionally.
28990 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28991 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28992 conditional code.
28993 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28994 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28995 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28996 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28997 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28998 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28999 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29013 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29016 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29022 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29024 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29025 Remove conditional code.
29026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29027 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29028 Remove conditional code.
29029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29030 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29031 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29032 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29033 Remove conditional code.
29034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29035 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29036 Remove conditional code.
29037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29038 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29039 Remove conditional code.
29040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29041 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29042 Remove conditional code.
29043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29044 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29045 Remove conditional code.
29046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29047 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29048 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29050 * sysdeps/unix/sysv/linux/sigaction.c
29051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29053 * sysdeps/unix/sysv/linux/sigpending.c
29054 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29055 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29056 * sysdeps/unix/sysv/linux/sigprocmask.c
29057 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29058 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29059 * sysdeps/unix/sysv/linux/sigsuspend.c
29060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29062 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29063 (__libc_missing_rt_sigs): Remove.
29064 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29065 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29066 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29067 Remove conditional code.
29068 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29069 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29070 return 1.
29071 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29072 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29073 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29074 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29075
1bfb7291
AJ
290762012-05-14 Andreas Jaeger <aj@suse.de>
29077
caae5a81
AJ
29078 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29079 it's not used in glibc.
29080 (__coshm1): Likewise.
29081 (__acosh1p): Likewise.
29082 (__sgn): Likewise.
29083
1bfb7291
AJ
29084 * manual/string.texi (Copying and Concatenation): Add missing
29085 variable in concat example.
29086 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29087
c044d724
L
290882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29089
144c5467 29090 [BZ #14103]
c044d724
L
29091 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29092 __builtin_clzl with __builtin_clzll.
29093
2523c62b
L
290942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29095
29096 [BZ #14104]
29097 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29098 libc_freeres_ptr.
29099
d7bb4c42
LD
291002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29101
29102 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29103 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29104 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29105 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29106
9dc4e1fb
MF
291072012-05-14 Mike Frysinger <vapier@gentoo.org>
29108
29109 * NEWS: Update ia64 info.
29110
c7df0112
AS
291112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29112
29113 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29114 used as bcopy.
29115
dc70356c
TS
291162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29117
29118 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29119 * sysdeps/unix/syscalls.list (dup3): Likewise.
29120 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29121 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29122
9fb1a21f
L
291232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29124
29125 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29126 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29127
4822a2a5
L
291282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29129
29130 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29131 thread pointer.
29132 (TLS_IE): Use mov/add instead of movq/addq to load thread
29133 pointer.
29134 (TLS_GD_PREFIX): New.
29135 (TLS_GD): Use it.
29136
842b81d6
DM
291372012-05-11 David S. Miller <davem@davemloft.net>
29138
29139 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29140 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29141 (_FPU_SETCW): Likewise.
29142
1cf463cd
L
291432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29146 is 32-byte aligned.
29147
60cc4a18
AS
291482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29149
29150 [BZ #11837]
29151 * iconvdata/gb18030.c: Update tables.
29152 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29153 characters specially.
29154 (BODY for TO_LOOP): Add encoding of missing ranges.
29155
febb44a4
TS
291562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29157
29158 [BZ #13673]
29159 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29160 * sysdeps/mach/hurd/dup3.c: Likewise.
29161 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29162 * sysdeps/powerpc/memmove.c:: Likewise.
29163
0a10fb9e
L
291642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29165
29166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29167 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29168
df8a552f
L
291692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29170
29171 * elf/elf.h (R_X86_64_RELATIVE64): New.
29172 (R_X86_64_NUM): Updated.
29173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29174 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29175 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29176 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29177 tst-quad1pie tst-quad2pie
29178 (modules-names): Add tst-quadmod1 tst-quadmod2.
29179 ($(objpfx)tst-quad1): New dependency.
29180 ($(objpfx)tst-quad2): Likewise.
29181 ($(objpfx)tst-quad1pie): Likewise.
29182 ($(objpfx)tst-quad2pie): Likewise.
29183 * sysdeps/x86_64/tst-quad1.c: New file.
29184 * sysdeps/x86_64/tst-quad1pie.c: New file.
29185 * sysdeps/x86_64/tst-quad2.c: Likewise.
29186 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29187 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29188 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29189 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29190 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29191
f34d6f84
ST
291922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29193
f42d41d1
ST
29194 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29195 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29196 * streams/stropts.h (t_scalar_t): Define type.
29197
3c3571fc
ST
29198 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29199 (_PATH_PRESERVE): Set to "/var/lib".
29200 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29201
61f06bd3
ST
29202 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29203 instead of int.
29204
918d4d71
ST
29205 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29206 if __dir_mkfile succeeded.
29207
f34d6f84
ST
29208 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29209 checking for _hurd_dtablesize. Unlock it right after having
29210 finished _hurd_dtable allocation.
29211
10589b4a
TS
292122012-05-10 Thomas Schwinge <thomas@schwinge.name>
29213
674cdbc7
TS
29214 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29215 * sysdeps/mach/hurd/configure: Regenerated.
29216 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29217 special-casing to...
29218 * sysdeps/gnu/configure.in: ... this new file.
29219 * sysdeps/unix/sysv/linux/configure: Regenerated.
29220 * sysdeps/gnu/configure: New generated file.
29221
8e41b99f
TS
29222 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29223 for Linux: use nsec instead of usec, as well as:
29224 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29225 members of type struct timespec.
29226 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29227 New macros.
29228 (struct stat64): Likewise.
29229 (_STATBUF_ST_NSEC): New macro.
29230 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29231
10589b4a
TS
29232 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29233 __strtoul_internal rather than strtoul.
29234
63643c85
PT
292352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29236
29237 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29238 and reject them.
29239
3faebe6a
ST
292402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29241
29242 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29243 which preserves existing values.
29244 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29245
c6474b07
PT
292462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29247
29248 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29249 TIMEOUT values. Return EINVAL for NFDS values either negative or
29250 greater than FD_SETSIZE.
29251
1043890b
ST
292522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29253
29254 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29255 allocated, call __vm_protect to finish enabling the existing space, and
29256 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29257 allocate the remainder.
29258
37ed8b9b
PT
292592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29260
29261 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29262 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29263
db653660
ST
292642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29265
37ed8b9b
PT
29266 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29267 sysdeps/mach/hurd/readlink.c.
b29d4053 29268
db653660
ST
29269 * posix/tst-sysconf.c (posix_options): Only use
29270 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29271 _POSIX_SYNCHRONIZED_IO when they are defined
29272 * sysdeps/mach/hurd/bits/posix_opt.h:
29273 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29274 (_XOPEN_REALTIME): Undefine macro.
29275 (_XOPEN_REALTIME_THREADS): Undefine macro.
29276 (_XOPEN_SHM): Undefine macro.
29277 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29278 macro to -1.
29279 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29280 macro to -1.
29281 (_POSIX_ASYNC_IO): Undefine macro.
29282 (_POSIX_PRIORITIZED_IO): Undefine macro.
29283 (_POSIX_SPIN_LOCKS): Define macro to -1.
29284
ee16e894
ST
29285 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29286 SA_NODEFER, SA_RESETHAND.
29287 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29288 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29289 F_DUPFD_CLOEXEC.
29290
6103ae3b
TS
292912012-05-10 Thomas Schwinge <thomas@schwinge.name>
29292
29293 * elf/Makefile (pldd-modules): Define unconditionally.
29294
80b4e5f3
TS
292952012-05-10 Thomas Schwinge <thomas@schwinge.name>
29296
29297 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29298
edadcbd6
ST
292992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29300
29301 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29302 Return ENOENT when name is empty.
29303 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29304
80694780
TS
293052012-05-10 Thomas Schwinge <thomas@schwinge.name>
29306
1792c087
TS
29307 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29308
80694780
TS
29309 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29310
6b645f0d
ST
293112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29312
80694780
TS
29313 Fix mlock in all cases except non-readable pages.
29314 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29315 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29316
6b645f0d
ST
29317 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29318 (__mkdir): When path is `/', just fail with EEXIST.
29319 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29320
e468f8a3
TS
293212012-05-10 Thomas Schwinge <thomas@schwinge.name>
29322
29323 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29324 <sys/uio.h> (for writev).
29325 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29326 and <sys/param.h> (for MIN).
29327
a4186cff
PT
293282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29329
29330 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29331 REQUESTED_TIME. Properly set the remaining time and return EINTR
29332 if interrupted.
29333
510bbf14
TS
293342012-05-10 Thomas Schwinge <thomas@schwinge.name>
29335
29336 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29337 Depend on against $(link-rpcuserlibs).
29338
5d5722e8
ST
293392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29340
a4186cff
PT
29341 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29342 (__libc_stack_end): Do not use attribute_relro.
29343 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29344 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29345 to libthread-provided value.
a4186cff
PT
29346 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29347 attribute_relro.
5d5722e8 29348
37233df9
TS
293492012-05-10 Thomas Schwinge <thomas@schwinge.name>
29350
be971a2b
TS
29351 [BZ #3748]
29352 * bits/libc-lock.h (__libc_once_get): New macro.
29353 * sysdeps/mach/bits/libc-lock.h: Likewise.
29354 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29356 instead of using implementation details.
29357
37233df9
TS
29358 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29359 * libio/freopen.c: Likewise.
29360 * libio/freopen64.c: Likewise.
29361 * misc/syslog.c: Likewise.
29362 * nscd/connections.c: Likewise.
29363 * nscd/netgroupcache.c: Likewise.
29364 * sysdeps/posix/getcwd.c: Likewise.
29365
38de94a5
RM
293662012-05-10 Roland McGrath <roland@hack.frob.com>
29367
29368 * math/w_ilogbf.c: Add #include <limits.h>.
29369
67530489
ST
293702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29371
a4186cff 29372 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29373 path instead of returning without unlocking.
29374
67530489
ST
29375 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29376 immediate-write ioctls.
29377 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29378
5aa3a74a
TS
293792012-05-10 Thomas Schwinge <thomas@schwinge.name>
29380
18bad2ae
TS
29381 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29382 __builtin_frame_address instead of making assumptions about the
29383 location of the return address relative to DATA. Force early load of
29384 the return address.
29385 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29386 __builtin_frame_address.
29387
5aa3a74a
TS
29388 dup3 for GNU Hurd.
29389 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29390 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29391 implement dup3 and do some further code clean-ups.
29392 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29393 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29394
ecd0de9a
ST
293952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29396
cd9fa985
ST
29397 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29398
a4186cff
PT
29399 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29400 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29401 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29402 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29403 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29404 d->port.lock.
802ca5a5 29405
a4186cff
PT
29406 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29407 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29408 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29409
bcf55240
TS
294102012-05-10 Thomas Schwinge <thomas@schwinge.name>
29411
6960eb42
TS
29412 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29413 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29414 definitions.
29415
eb43375f
TS
29416 accept4 for GNU Hurd.
29417 * include/sys/socket.h (__libc_accept4): New prototype.
29418 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29419 to implement __libc_accept4.
29420 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29421 __libc_accept4.
29422 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29423
bcf55240
TS
29424 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29425 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29426 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29427 signal-defines.sym.
29428
6178c55b
ST
294292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29430
a4186cff 29431 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29432
6f080c2f
TS
294332012-05-10 Thomas Schwinge <thomas@schwinge.name>
29434
29435 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29436 assertion on O_CLOEXEC flag.
29437 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29438 * hurd/intern-fd.c: Likewise.
29439 * hurd/port2fd.c: Likewise.
29440
bcfe3a54
ST
294412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29442
29443 [BZ #3906]
29444 * bits/in.h (IPV6_PKTINFO): Define new macro.
29445 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29446
89c9aa49
AZ
294472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29448
29449 [BZ #13954]
29450 [BZ #13955]
29451 [BZ #13956]
29452 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29453 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29454 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29455 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29457 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29458 * math/libm-test.inc (logb_test) : Additional logb tests.
29459
021db4be
AJ
294602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29461 Andreas Jaeger <aj@suse.de>
29462
29463 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29464 * configure: Regenerated.
29465 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29466 * config.make.in (link-obsolete-rpc): New substituted variable.
29467 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29468 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29469 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29470 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29471 so that libc.a contains the symbols.
29472 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29473 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29474 * sunrpc/auth_none.c: Likewise.
29475 * sunrpc/auth_unix.c: Likewise.
29476 * sunrpc/authdes_prot.c: Likewise.
29477 * sunrpc/authuxprot.c: Likewise.
29478 * sunrpc/clnt_gen.c: Likewise.
29479 * sunrpc/clnt_perr.c: Likewise.
29480 * sunrpc/clnt_raw.c: Likewise.
29481 * sunrpc/clnt_simp.c: Likewise.
29482 * sunrpc/clnt_tcp.c: Likewise.
29483 * sunrpc/clnt_udp.c: Likewise.
29484 * sunrpc/clnt_unix.c: Likewise.
29485 * sunrpc/des_crypt.c: Likewise.
29486 * sunrpc/des_soft.c: Likewise.
29487 * sunrpc/get_myaddr.c: Likewise.
29488 * sunrpc/key_call.c: Likewise.
29489 * sunrpc/key_prot.c: Likewise.
29490 * sunrpc/netname.c: Likewise.
29491 * sunrpc/pm_getmaps.c: Likewise.
29492 * sunrpc/pm_getport.c: Likewise.
29493 * sunrpc/pmap_clnt.c: Likewise.
29494 * sunrpc/pmap_prot.c: Likewise.
29495 * sunrpc/pmap_prot2.c: Likewise.
29496 * sunrpc/pmap_rmt.c: Likewise.
29497 * sunrpc/publickey.c: Likewise.
29498 * sunrpc/rpc_cmsg.c: Likewise.
29499 * sunrpc/rpc_common.c: Likewise.
29500 * sunrpc/rpc_dtable.c: Likewise.
29501 * sunrpc/rpc_prot.c: Likewise.
29502 * sunrpc/rpc_thread.c: Likewise.
29503 * sunrpc/rtime.c: Likewise.
29504 * sunrpc/svc.c: Likewise.
29505 * sunrpc/svc_auth.c: Likewise.
29506 * sunrpc/svc_raw.c: Likewise.
29507 * sunrpc/svc_run.c: Likewise.
29508 * sunrpc/svc_tcp.c: Likewise.
29509 * sunrpc/svc_udp.c: Likewise.
29510 * sunrpc/svc_unix.c: Likewise.
29511 * sunrpc/svcauth_des.c: Likewise.
29512 * sunrpc/xcrypt.c: Likewise.
29513 * sunrpc/xdr.c: Likewise.
29514 * sunrpc/xdr_array.c: Likewise.
29515 * sunrpc/xdr_float.c: Likewise.
29516 * sunrpc/xdr_intXX_t.c: Likewise.
29517 * sunrpc/xdr_mem.c: Likewise.
29518 * sunrpc/xdr_rec.c: Likewise.
29519 * sunrpc/xdr_ref.c: Likewise.
29520 * sunrpc/xdr_sizeof.c: Likewise.
29521 * sunrpc/xdr_stdio.c: Likewise.
29522
b5c086a2
RM
295232012-05-10 Roland McGrath <roland@hack.frob.com>
29524
29525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29526 change. Update copyright years.
29527
6d74dd09
JM
295282012-05-10 Joseph Myers <joseph@codesourcery.com>
29529
29530 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29531
28e72501
MK
295322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29533 Joseph Myers <joseph@codesourcery.com>
29534 Paul Pluzhnikov <ppluzhnikov@google.com>
29535
29536 [BZ #14012]
29537 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29538 requiring rpcgen.
29539 [cross-compiling] (extra-libs): Likewise.
29540 [cross-compiling] (extra-libs-others): Likewise.
29541 [cross-compiling] (librpcsvc-routines): Likewise.
29542 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29543 [cross-compiling] (omit-deps): Likewise.
29544 (sunrpc-CPPFLAGS): New variable.
29545 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29546 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29547 (cross-rpcgen-objs): New variable.
29548 (extra-objs): Append $(cross-rpcgen-objs).
29549 ($(cross-rpcgen-objs)): New rule.
29550 ($(objpfx)cross-rpcgen): Likewise.
29551 (rpcgen-cmd): Define to use $(built-program-file). Expand
29552 comment.
29553 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29554 ($(objpfx)x%.stmp): Likewise.
29555 * sunrpc/proto.h [IS_IN_build] (_): Define.
29556 [IS_IN_build] (_libc_intl_domainname): Likewise.
29557
c8c59454
L
295582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29559
29560 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29561 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29562 and R_X86_64_TPOFF64.
29563
6f27cd16
JM
295642012-05-10 Joseph Myers <joseph@codesourcery.com>
29565
29566 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29567 sysdeps/unix/sysv/syscalls.list.
29568 (stime): Likewise.
29569 (utime): Likewise.
29570 * sysdeps/unix/sysv/syscalls.list: Remove file.
29571
02467e1c
PE
295722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29573
29574 [BZ #3440]
29575 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29576 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29577 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29578 (__LC_IDENTIFICATION): Make these macros useful in #if
29579 expressions, as required by C99.
29580
da392631
AS
295812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29582
29583 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29584 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29585 after this.
29586
8115f29b
L
295872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29588
29589 * stdlib/longlong.h: Updated from GCC.
29590
bdd74070
AJ
295912012-05-09 Andreas Jaeger <aj@suse.de>
29592
edfe0dbe
AJ
29593 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29594 default is first entry.
29595 (run_mode): Set type.
29596 (main): Remove informal message about syslog.
29597 (options): Fix typo.
29598
bcfe3a54
ST
29599 [BZ #14053]
29600 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29601 to asm.
bcfe3a54
ST
29602 (lrint): Likewise.
29603 (llrintf): Likewise.
29604 (llrint): Likewise.
29605 (rint): Likewise.
29606 (rintf): Likewise.
29607 (nearbyint): Likewise.
29608 (nearbyintf): Likewise.
bdd74070 29609
91d8d69e
AJ
296102012-05-09 Andreas Jaeger <aj@suse.de>
29611 Pedro Alves <palves@redhat.com>
29612
29613 * nscd/nscd.c (run_mode): Use enum.
29614 (main): Cleanup coding style issue.
29615
bb90b80b
AJ
296162012-05-09 Alexandre Oliva <aoliva@redhat.com>
29617 Andreas Jaeger <aj@suse.de>
29618
bcfe3a54
ST
29619 * nscd/nscd.c (go_background): Replaced with...
29620 (run_mode): ... this.
bb90b80b 29621 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29622 (options): Add -F --foreground.
29623 (main): Implement it.
29624 (parse_opt): Parse it.
bb90b80b 29625
1a4b75a1
AJ
296262012-05-09 Andreas Jaeger <aj@suse.de>
29627
29628 [BZ #14083]
29629 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29630 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29631 -Wconversion warning.
29632 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29633 Likewise.
29634
b1cc2472
JM
296352012-05-09 Joseph Myers <joseph@codesourcery.com>
29636
29637 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29638 == 0.
29639 (LC_ALL): Use macro-int-constant.
29640 (LC_COLLATE): Likewise.
29641 (LC_CTYPE): Likewise.
29642 (LC_MESSAGES): Likewise.
29643 (LC_MONETARY): Likewise.
29644 (LC_NUMERIC): Likewise.
29645 (LC_TIME): Likewise.
29646 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29647 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29649 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29650 Specify type.
29651 [C99-based standards] (float_t): Expect type.
29652 [C99-based standards] (double_t): Expect type.
29653 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29654 type.
29655 [C99-based standards] (HUGE_VALL): Likewise.
29656 [C99-based standards] (INFINITY): Likewise.
29657 [C99-based standards] (NAN): Likewise.
29658 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29659 [C99-based standards] (FP_NAN): Likewise.
29660 [C99-based standards] (FP_NORMAL): Likewise.
29661 [C99-based standards] (FP_SUBNORMAL): Likewise.
29662 [C99-based standards] (FP_ZERO): Likewise.
29663 [C99-based standards] (FP_FAST_FMA): Use
29664 optional-macro-int-constant. Specify type. Require == 1.
29665 [C99-based standards] (FP_FAST_FMAF): Likewise.
29666 [C99-based standards] (FP_FAST_FMAL): Likewise.
29667 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29668 [C99-based standards] (FP_ILOGBNAN): Likewise.
29669 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29670 Specify type.
29671 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29672 [C99-based standards] (math_errhandling): Specify type.
29673 [ISO99 || ISO11] (signgam): Do not allow.
29674 [non-C99-based standards] (copysignf): Do not allow.
29675 [non-C99-based standards] (exp2f): Likewise.
29676 [non-C99-based standards] (log2f): Likewise.
29677 [non-C99-based standards] (modff): Allow.
29678 [non-C99-based standards] (erff): Do not allow.
29679 [non-C99-based standards] (erfcf): Likewise.
29680 [non-C99-based standards] (gammaf): Likewise.
29681 [non-C99-based standards] (hypotf): Likewise.
29682 [non-C99-based standards] (j0f): Likewise.
29683 [non-C99-based standards] (j1f): Likewise.
29684 [non-C99-based standards] (jnf): Likewise.
29685 [non-C99-based standards] (lgammaf): Likewise.
29686 [non-C99-based standards] (tgammaf): Likewise.
29687 [non-C99-based standards] (y0f): Likewise.
29688 [non-C99-based standards] (y1f): Likewise.
29689 [non-C99-based standards] (ynf): Likewise.
29690 [non-C99-based standards] (isnanf): Likewise.
29691 [non-C99-based standards] (acoshf): Likewise.
29692 [non-C99-based standards] (asinhf): Likewise.
29693 [non-C99-based standards] (atanhf): Likewise.
29694 [non-C99-based standards] (cbrtf): Likewise.
29695 [non-C99-based standards] (expm1f): Likewise.
29696 [non-C99-based standards] (ilogbf): Likewise.
29697 [non-C99-based standards] (log1pf): Likewise.
29698 [non-C99-based standards] (logbf): Likewise.
29699 [non-C99-based standards] (nextafterf): Likewise.
29700 [non-C99-based standards] (remainderf): Likewise.
29701 [non-C99-based standards] (rintf): Likewise.
29702 [non-C99-based standards] (scalbf): Likewise.
29703 [non-C99-based standards] (copysignl): Likewise.
29704 [non-C99-based standards] (exp2l): Likewise.
29705 [non-C99-based standards] (log2l): Likewise.
29706 [non-C99-based standards] (modfl): Allow.
29707 [non-C99-based standards] (erfl): Do not allow.
29708 [non-C99-based standards] (erfcl): Likewise.
29709 [non-C99-based standards] (gammal): Likewise.
29710 [non-C99-based standards] (hypotl): Likewise.
29711 [non-C99-based standards] (j0l): Likewise.
29712 [non-C99-based standards] (j1l): Likewise.
29713 [non-C99-based standards] (jnl): Likewise.
29714 [non-C99-based standards] (lgammal): Likewise.
29715 [non-C99-based standards] (tgammal): Likewise.
29716 [non-C99-based standards] (y0l): Likewise.
29717 [non-C99-based standards] (y1l): Likewise.
29718 [non-C99-based standards] (ynl): Likewise.
29719 [non-C99-based standards] (isnanl): Likewise.
29720 [non-C99-based standards] (acoshl): Likewise.
29721 [non-C99-based standards] (asinhl): Likewise.
29722 [non-C99-based standards] (atanhl): Likewise.
29723 [non-C99-based standards] (cbrtl): Likewise.
29724 [non-C99-based standards] (expm1l): Likewise.
29725 [non-C99-based standards] (ilogbl): Likewise.
29726 [non-C99-based standards] (log1pl): Likewise.
29727 [non-C99-based standards] (logbl): Likewise.
29728 [non-C99-based standards] (nextafterl): Likewise.
29729 [non-C99-based standards] (remainderl): Likewise.
29730 [non-C99-based standards] (rintl): Likewise.
29731 [non-C99-based standards] (scalbl): Likewise.
29732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29733 [non-C99-based standards] (FP_*): Do not allow.
29734 [C99-based standards] (FP_*): Change to
29735 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29736 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29737 allow.
29738 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29739 (SIG_ERR): Likewise.
29740 [X/Open-based standards] (SIG_HOLD): Likewise.
29741 (SIG_IGN): Likewise.
29742 (SIGABRT): Use macro-int-constant. Specify type. Require
29743 positive value.
29744 (SIGFPE): Likewise.
29745 (SIGILL): Likewise.
29746 (SIGINT): Likewise.
29747 (SIGSEGV): Likewise.
29748 (SIGTER): Likewise.
29749 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29750 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29751 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29752 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29753 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29754 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29755 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29756 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29757 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29758 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29759 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29760 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29761 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29762 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29763 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29764 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29765 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29766 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29767 [X/Open-based standards] (SIGTRAP): Likewise.
29768 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29769 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29770 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29771 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29772 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29773 allow.
29774
b9f1922d
IW
297752012-05-08 Ian Wienand <ianw@vmware.com>
29776
29777 [BZ #14080]
29778 * time/tzset.c (__tzset_parse_tz): Update default rules for
29779 daylight time changes in the Energy Policy Act of 2005.
29780
1db86e88
AJ
297812012-05-09 Andreas Jaeger <aj@suse.de>
29782
29783 [BZ #13983]
29784 * elf/ldconfig.c (parse_conf): Change string to make clear that
29785 ldconfig only issued a warning if ld.so.conf does not exist.
29786
dee4a4e3
DM
297872012-05-08 David S. Miller <davem@davemloft.net>
29788
ee0db190
DM
29789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29790 movxtod instead of popping the value on the stack.
29791
dee4a4e3
DM
29792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29793
6a43ec98
CD
297942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29795
29796 * config.h.in: Add HAVE_ARM_PCS_VFP.
29797
05c2c961
RMG
297982012-05-08 Roland Mc Grath <roland@hack.frob.com>
29799
bcfe3a54
ST
29800 [BZ #13979]
29801 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29802 checking but the checks are disabled for any reason.
05c2c961 29803
4b30f61a
L
298042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29805
29806 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29807 and ELF64_R_TYPE with ELFW(R_TYPE).
29808
eee2bc67
JM
298092012-05-08 Joseph Myers <joseph@codesourcery.com>
29810
7ea5391a
JM
29811 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29812 (ulimit): Likewise.
29813
eee2bc67
JM
29814 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29815 (settimeofday): Likewise.
29816
abb66a67
MF
298172012-05-08 Mike Frysinger <vapier@gentoo.org>
29818
29819 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29820 a struct th_u2 inside the union, and move tu_block/tu_code into
29821 a new th_u3 union of tu_block/tu_code inside of that. Move
29822 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29823 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29824 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29825 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29826 (th_stuff): Change to th_u1.tu_stuff.
29827 (th_data): Define.
29828 (th_msg): Change to th_u1.th_u2.tu_data.
29829
7f18b530
DM
298302012-05-07 David S. Miller <davem@davemloft.net>
29831
05760585
DM
29832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29833
7f18b530
DM
29834 [BZ #14074]
29835 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29836 (SETUP_PIC_REG): Use it.
29837 (SETUP_PIC_REG_LEAF): Use it.
29838
495fd99f
JM
298392012-05-07 Joseph Myers <joseph@codesourcery.com>
29840
29841 [BZ #13885]
29842 [BZ #13923]
29843 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29844 USE_AS_EXPM1L.
29845 (EXPL_FINITE): Likewise.
29846 (FLDLOG): Likewise.
29847 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29848 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29849 e_expl.S.
29850 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29851 USE_AS_EXPM1L.
29852 (EXPL_FINITE): Likewise.
29853 (FLDLOG): Likewise.
29854 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29855 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29856 e_expl.S.
29857 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29858 test of -max_value argument for long double.
29859 * sysdeps/i386/fpu/libm-test-ulps: Update.
29860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29861
6693d694
DM
298622012-05-06 David S. Miller <davem@davemloft.net>
29863
29864 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29865 quad soft-float symbols whose references which are compiler
29866 generated.
29867 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29868
6c23e11c
JM
298692012-05-06 Joseph Myers <joseph@codesourcery.com>
29870
d8b82cad
JM
29871 [BZ #13884]
29872 [BZ #13914]
29873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29874 USE_AS_EXP10L.
29875 (EXPL_FINITE): Likewise.
29876 (FLDLOG): Likewise.
29877 (c0): Likewise.
29878 (c1): Likewise.
29879 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29880 Adjust comments for base varying.
29881 (__expl_finite): Change alias to EXPL_FINITE.
29882 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29883 e_expl.S.
29884 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29885 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29886 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29887 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29888 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29889 USE_AS_EXP10L.
29890 (EXPL_FINITE): Likewise.
29891 (FLDLOG): Likewise.
29892 (c0): Likewise.
29893 (c1): Likewise.
29894 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29895 Adjust comments for base varying.
29896 (__expl_finite): Change alias to EXPL_FINITE.
29897 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29898 tests for bugs.
29899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29900
6c23e11c
JM
29901 [BZ #14064]
29902 * math/libm-test.inc (check_float_internal): Correct ulp
29903 calculation for subnormal expected results.
29904
29ba805c
AJ
299052012-05-06 Andreas Jaeger <aj@suse.de>
29906
29907 * Makeconfig (+math-flags): New, set to -frounding-math.
29908 (+cflags): Add +math-flags so that all of glibc gets compiled with
29909 it.
29910
29911 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29912
7b17aeda
JM
299132012-05-05 Joseph Myers <joseph@codesourcery.com>
29914
5779f134
JM
29915 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29916 Disable one test.
29917
41498f4d
JM
29918 [BZ #13787]
29919 [BZ #13922]
29920 [BZ #14036]
29921 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29922 (__ieee754_expl): Allow for and saturate large arguments.
29923 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29924 (u_threshold): Likewise.
29925 (__exp): Call __ieee754_exp before checking for overflow and
29926 underflow.
29927 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29928 (u_threshold): Likewise.
29929 (__expf): Call __ieee754_expf before checking for overflow and
29930 underflow.
29931 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29932 (u_threshold): Likewise.
29933 (__expl): Call __ieee754_expl before checking for overflow and
29934 underflow.
29935 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29936 (__ieee754_expl): Allow for and saturate large arguments.
29937 * math/libm-test.inc (exp_test): Add another test. Do not allow
29938 missing overflow exception on overflow.
29939 (expm1_test): Do not allow missing overflow exception on overflow.
29940
6698b8bf
JM
29941 * sysdeps/i386/fpu/e_expl.c: Move to ...
29942 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29943 rather than using inline asm.
29944 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29945 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29946 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29947
7b17aeda
JM
29948 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29949 (nice): Likewise.
29950 (poll): Likewise.
29951 (signal): Likewise.
29952 (time): Likewise.
29953 (times): Likewise.
29954
f7c85819
JM
299552012-05-04 Joseph Myers <joseph@codesourcery.com>
29956
29957 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29958 sysdeps/unix/common/syscalls.list.
29959 (fchmod): Likewise.
29960 (fchown): Likewise.
29961 (ftruncate): Likewise.
29962 (getrusage): Likewise.
29963 (gettimeofday): Likewise.
29964 (setpgid): Likewise.
29965 (setregid): Likewise.
29966 (setreuid): Likewise.
29967 (sigaction): Likewise.
29968 (truncate): Likewise.
29969 (vhangup): Likewise.
29970 * sysdeps/unix/common/syscalls.list: Remove file.
29971 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29972 * sysdeps/unix/sysv/linux/Implies: Likewise.
29973
336270d0
L
299742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29975
29976 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29978 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29979 Moved to ...
29980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29981 Here.
29982 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29983 to ...
29984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29985 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29986 to ...
29987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29988 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29989 to ...
29990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29991 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29992 to ...
29993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29994 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29995 to ...
29996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29997 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29998 to ...
29999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30000 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30001 to ...
30002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30003 Here.
30004 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30005 to ...
30006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30007 Here.
30008 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30009 to ...
30010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30011 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30012 Moved to ...
30013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30014 Here.
30015 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30016 to ...
30017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30018
d128e450
JM
300192012-05-04 Joseph Myers <joseph@codesourcery.com>
30020
fa8ee516
JM
30021 * sysdeps/unix/common/bits/dirent.h: Remove file.
30022 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30023
d128e450
JM
30024 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30025 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30026 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30027 * sysdeps/unix/bsd/isatty.c: Likewise.
30028 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30029 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30030 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30031
ff8faaf0 300322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30033
62881be4 30034 [BZ #13563]
31dc8730
AZ
30035 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30036 long double comparison inaccuracies.
30037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30039
6fef930c
AS
300402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30041
30042 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30044
8f203e6c
JM
300452012-05-04 Joseph Myers <joseph@codesourcery.com>
30046
30047 [BZ #14049]
30048 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30049 nonzero digits before rounding a hex value.
30050 * stdlib/tst-strtod.c (tests): Add another test.
30051
5197d9c2
AK
300522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30053
30054 * sysdeps/s390/fpu/libm-test-ulps: Update.
30055
f0c1dedf
AJ
300562012-05-03 Andreas Jaeger <aj@suse.de>
30057
30058 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30059 does not get optimized out.
30060 (malloc_opt_barrier): New.
30061
a65ef2ae 300622012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30063 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30064
2b942cb7 30065 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30066 intermediate file deletion.
2b942cb7 30067 (generated): Add .symlist files.
a65ef2ae 30068
54b71e02
JM
300692012-05-03 Joseph Myers <joseph@codesourcery.com>
30070
30071 [BZ #13775]
30072 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30073 Redirect under this condition.
30074 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30075 [__USE_GNU] (__dprintf_chk): Not under this condition.
30076 [__USE_GNU] (__vdprintf_chk): Likewise.
30077 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30078 under this condition.
30079 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30080 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30081 [__USE_XOPEN2K8] (vdprintf): Likewise.
30082 [__USE_GNU] (__dprintf_chk): Not under this condition.
30083 [__USE_GNU] (__vdprintf_chk): Likewise.
30084 [__USE_GNU] (dprintf): Likewise.
30085 [__USE_GNU] (vdprintf): Likewise.
30086
d3dfcc41
RM
300872012-05-03 Roland McGrath <roland@hack.frob.com>
30088
30089 * elf/Makefile (common-generated): Set this instead of generated for
30090 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30091 $(all-built-dso)-derived lists.
30092
7ac30cc5
AJ
300932012-05-03 Andreas Jaeger <aj@suse.de>
30094
0c51e550
AJ
30095 * sysdeps/i386/fpu/libm-test-ulps: Update.
30096
7ac30cc5
AJ
30097 * FAQ: Removed.
30098 * FAQ.in: Likewise.
30099 * scripts/gen-FAQ.pl: Likewise.
30100 * manual/install.texi (Installation): Point to online location of
30101 FAQ.
30102 * Makefile (files-for-dist): Remove FAQ.
30103 (FAQ): Remove.
30104
d4c2917f
AM
301052012-05-02 Allan McRae <allan@archlinux.org>
30106
30107 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30108 (LDFLAGS-reldepmod5.so): Likewise.
30109 (LDFLAGS-reldep6mod1.so): Likewise.
30110 (LDFLAGS-reldep6mod4.so): Likewise.
30111 (LDFLAGS-reldep8mod3.so): Likewise.
30112 (LDFLAGS-unload4mod1.so): Likewise.
30113 (LDFLAGS-unload4mod2.so): Likewise.
30114 (LDFLAGS-tst-initorder): Likewise.
30115 (LDFLAGS-tst-initordera2.so): Likewise.
30116 (LDFLAGS-tst-initordera3.so): Likewise.
30117 (LDFLAGS-tst-initordera4.so): Likewise.
30118 (LDFLAGS-tst-initorderb2.so): Likewise.
30119 (LDFLAGS-noload): Likewise.
30120 (LDFLAGS-next): Likewise.
30121 (LDFLAGS-order2mod1.so): Likewise.
30122 (LDFLAGS-order2mod2.so): Likewise.
30123 (LDFLAGS-tst-initorder2): Likewise.
30124 (LDFLAGS-tst-initorder2a.so): Likewise.
30125 (LDFLAGS-tst-initorder2b.so): Likewise.
30126 (LDFLAGS-tst-initorder2c.so): Likewise.
30127 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30128
d77f993f
DM
301292012-05-02 David S. Miller <davem@davemloft.net>
30130
30131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30132
171a70b4
PP
301332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30134
30135 [BZ #14055]
30136 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30137
0be196ad
AJ
301382012-05-02 Andreas Jaeger <aj@suse.de>
30139
30140 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30141 since we manipulate rounding mode.
30142 (CPPFLAGS-test-idouble.c): Likewise.
30143 (CPPFLAGS-test-ifloat.c): Likewise.
30144 (CFLAGS-test-ldouble.c): Likewise.
30145 (CFLAGS-test-double.c): Likewise.
30146 (CFLAGS-test-float.c): Likewise.
30147 (CFLAGS-test-misc.c): Likewise.
30148 (CFLAGS-test-test-fenv.c): Likewise.
30149
4f9d04aa
AZ
301502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30151
2b942cb7
RM
30152 [BZ #2550]
30153 [BZ #2570]
30154 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30155 comparisons to determine direction to adjust input.
4f9d04aa 30156
82a79e7d
RM
301572012-05-01 Roland McGrath <roland@hack.frob.com>
30158
f5a01ca9
RM
30159 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30160 output to the target.
30161
90fe4186
RM
30162 * scripts/localplt.awk: New file.
30163 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30164 (check-localplt-CFLAGS): Variable removed.
30165 ($(all-built-dso:=.jmprel)): New static pattern rule.
30166 (generated): Add those targets.
30167 (localplt-built-dso): New variable.
30168 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30169
30170 * elf/check-localplt.c: File removed.
30171
82397ed6
RM
30172 * scripts/check-execstack.awk: New file.
30173 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30174 (check-execstack-CFLAGS): Variable removed.
30175 ($(objpfx)check-execstack.h): Target removed.
30176 ($(objpfx)execstack-default): New target.
30177 (generated): Add that instead of check-execstack.h.
30178 ($(all-built-dso:=.phdr)): New static pattern rule.
30179 (generated): Add those targets.
30180 * elf/check-execstack.c: File removed.
30181
82a79e7d
RM
30182 * scripts/check-textrel.awk: New file.
30183 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30184 (check-textrel-CFLAGS): Variable removed.
30185 (all-built-dso): Use := to define.o
30186 ($(all-built-dso:=.dyn)): New static pattern rule.
30187 (generated): Add those targets.
30188 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30189 * config.make.in (READELF): New substituted variable.
30190 * elf/check-textrel.c: File removed.
30191
62fde54f 301922012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30193
615605c9
JM
30194 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30195 allow.
30196 * conform/data/ctype.h-data [C99-based standards] (isblank):
30197 Expect function.
30198 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30199 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30200 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30201 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30202 Specify type. Require positive value.
30203 (EILSEQ): Likewise.
30204 (ERANGE): Likewise.
30205 [ISO || POSIX] (EILSEQ): Do not expect.
30206 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30207 Specify type. Require positive value.
30208 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30209 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30210 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30211 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30212 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30213 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30214 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30215 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30216 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30217 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30218 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30219 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30220 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30221 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30222 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30223 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30224 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30225 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30226 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30227 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30228 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30229 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30230 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30231 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30232 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30233 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30234 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30235 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30236 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30237 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30238 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30239 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30240 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30241 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30242 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30243 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30244 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30245 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30246 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30247 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30248 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30249 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30250 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30251 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30252 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30253 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30254 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30255 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30256 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30257 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30258 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30259 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30260 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30261 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30262 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30263 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30264 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30265 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30266 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30267 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30268 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30269 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30270 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30271 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30272 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30273 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30274 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30275 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30276 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30277 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30278 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30279 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30280 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30281 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30282 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30283 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30284 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30285 Require >= 2.
30286 (FLT_ROUNDS): Expect as macro, not constant.
30287 (FLT_MANT_DIG): Use macro-int-constant.
30288 (DBL_MANT_DIG): Likewise.
30289 (LDBL_MANT_DIG): Likewise.
30290 (FLT_DIG): Likewise.
30291 (DBL_DIG): Likewise.
30292 (LDBL_DIG): Likewise.
30293 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30294 (DBL_MIN_EXP): Likewise.
30295 (LDBL_MIN_EXP): Likewise.
30296 (FLT_MAX_EXP): Use macro-int-constant.
30297 (DBL_MAX_EXP): Likewise.
30298 (LDBL_MAX_EXP): Likewise.
30299 (FLT_MAX_10_EXP): Likewise.
30300 (DBL_MAX_10_EXP): Likewise.
30301 (LDBL_MAX_10_EXP): Likewise.
30302 (FLT_MAX): Use macro-constant.
30303 (DBL_MAX): Likewise.
30304 (LDBL_MAX): Likewise.
30305 (FLT_EPSILON): Use macro-constant. Give upper bound.
30306 (DBL_EPSILON): Likewise.
30307 (LDBL_EPSILON): Likewise.
30308 (FLT_MIN): Likewise.
30309 (DBL_MIN): Likewise.
30310 (LDBL_MIN): Likewise.
30311 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30312 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30313 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30314 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30315 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30316 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30317 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30318 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30319 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30320 [ISO11] (FLT_TRUE_MIN): Likewise.
30321 [ISO11] (LDBL_TRUE_MIN): Likewise.
30322 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30323 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30324 (SCHAR_MIN): Use macro-int-constant. Specify type.
30325 (SCHAR_MAX): Likewise.
30326 (UCHAR_MAX): Likewise.
30327 (CHAR_MIN): Likewise.
30328 (CHAR_MAX): Likewise.
30329 (MB_LEN_MAX): Use macro-int-constant.
30330 (SHRT_MIN): Use macro-int-constant. Specify type.
30331 (SHRT_MAX): Likewise.
30332 (USHRT_MAX): Likewise.
30333 (INT_MAX): Likewise.
30334 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30335 bound negative.
30336 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30337 bound with "U".
30338 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30339 bound with "L".
30340 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30341 bound negative. Suffix upper bound with "L".
30342 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30343 bound with "UL".
30344 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30345 Specify type.
30346 [C99-based standards] (LLONG_MAX): Likewise.
30347 [C99-based standards] (ULLONG_MAX): Likewise.
30348 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30349 == 0.
30350 [ISO11] (max_align_t): Require type.
30351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30352
c9140a62
JM
30353 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30354 from $CFLAGS, without defining away __attribute__ calls.
30355 (checknamespace): Use $CFLAGS_namespace.
30356
9af0bf29
JM
30357 * conform/conformtest.pl (@keywords): Only include C99 keywords
30358 for standards based on C99 or C11.
30359
343222a2
JM
30360 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30361 Disable tests.
30362 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30363 UNIX98]: Likewise.
30364
661f8cf0
JM
30365 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30366 usability of symbols in #if.
30367
ee74b9cb
JM
30368 * conform/conformtest.pl: If macro or constant types start
30369 "promoted:", expect the symbol to be of the following type
30370 promoted by the integer promotions.
62fde54f 30371
aafc49b3
JM
30372 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30373 in one place. Also handle "macro-constant".
30374
fefdf574
JM
30375 * conform/conformtest.pl: Only accept expected macro values with
30376 "==". Parse all "macro" lines in one place.
30377 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30378
f2d922fe
JM
30379 * conform/conformtest.pl: Handle braced types on "constant" lines
30380 instead of handling "typed-constant".
30381 * conform/data/signal.h-data: Use "constant" instead of
30382 "typed-constant".
30383
d22956c9
JM
30384 * conform/conformtest.pl: Handle "optional-" at start of lines in
30385 one place rather than duplicating several cases. Handle each
30386 format of "macro" line with initial "optional-".
30387
028e2e38
JM
30388 * conform/conformtest.pl: Only accept expected constant or
30389 optional-constant values with "==". Parse all "constant" lines in
30390 one place. Parse all "optional-constant" lines in one place.
30391 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30392 * conform/data/fmtmsg.h-data: Likewise.
30393 * conform/data/netinet/in.h-data: Likewise.
30394 * conform/data/tar.h-data: Likewise.
30395 * conform/data/limits.h-data: Use "==" form on "constant" and
30396 "optional-constant" lines.
30397
1b8f2850
JM
30398 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30399 Use -std=c99 for XOPEN2K.
30400 (@knownproblems): Remove.
30401 (newtoken): Don't check %isknown.
30402
a05a144b
JM
30403 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30404 Do not expect macro.
30405 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30406 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30407 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30408 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30409 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30410 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30411 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30412 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30413 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30414 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30415 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30416 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30417 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30418 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30419 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30420 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30421 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30422 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30423 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30424 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30425 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30426 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30427 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30428 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30429 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30430 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30431 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30432 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30433 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30434 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30435 [XPG3] (acosh): Likewise.
30436 [XPG3] (asinh): Likewise.
30437 [XPG3] (atanh): Likewise.
30438 [XPG3] (cbrt): Likewise.
30439 [XPG3] (expm1): Likewise.
30440 [XPG3] (ilogb): Likewise.
30441 [XPG3] (log1p): Likewise.
30442 [XPG3] (logb): Likewise.
30443 [XPG3] (nextafter): Likewise.
30444 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30445 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30446 [XPG3] (remainder): Likewise.
30447 [XPG3] (rint): Likewise.
30448 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30449 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30450 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30451 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30452 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30453 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30454 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30455 [UNIX98 || XOPEN2K] (scalb): Expect.
30456 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30457 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30458 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30459 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30460 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30461 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30462 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30463 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30464 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30465 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30466 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30467 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30468 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30469 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30470 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30471 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30472 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30473 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30474 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30475 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30476 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30477 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30478 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30479 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30480 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30481 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30482 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30483 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30484 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30485 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30486 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30487 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30488 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30489 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30490 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30491 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30492 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30493 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30494 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30495 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30496 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30497 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30498 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30499 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30500 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30501 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30502 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30503 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30504 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30505 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30506 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30507 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30508 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30509 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30510 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30511 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30512 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30513 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30514 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30515 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30516 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30517 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30518 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30519 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30520 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30521 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30522 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30523 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30524 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30525 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30526 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30527 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30528 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30529 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30530 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30531 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30532 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30533 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30534 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30535 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30536 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30537 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30538 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30539 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30540 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30541 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30542 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30543 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30544 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30545 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30546 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30547 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30548 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30549 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30550 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30551 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30552 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30553 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30554 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30555 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30556 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30557 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30558 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30559 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30560 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30561 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30562 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30563 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30564 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30565 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30566 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30567 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30569 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30578 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30579 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30580 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30581 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30582 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30583 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30584 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30585 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30586 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30589 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30590 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30593
73c5ebe3
JM
30594 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30595 _XOPEN_SOURCE_EXTENDED for XPG4.
30596
39c33b6c
JM
30597 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30598
62fde54f
JM
30599 * Makeconfig (localtime): Remove variable.
30600 (inst_localtime-file): Likewise.
30601
0741d64c
AS
306022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30603
30604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30605 Update.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30607 Update.
30608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30609 Update.
30610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30611 Update.
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30613 Update.
30614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30615 Update.
30616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30617 Update.
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30619 Update.
30620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30621 Update.
30622
7cb029ee
JM
306232012-05-01 Joseph Myers <joseph@codesourcery.com>
30624
30625 [BZ #2550]
30626 [BZ #2570]
30627 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30628 comparisons to determine direction to adjust input.
30629 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30630 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30631 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30632 Likewise.
30633 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30634 Likewise.
30635 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30636 Likewise.
30637 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30638 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30639 Likewise.
30640 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30641 Likewise.
30642 * math/libm-test.inc (nexttoward_test): Add more tests.
30643
412bd966
AS
306442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30645
30646 [BZ #14040]
30647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30648 in version GLIBC_2.1, not GLIBC_2.0.
30649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30650 Likewise.
30651
9568c0c2
JM
306522012-04-30 Joseph Myers <joseph@codesourcery.com>
30653
adfbc8ac
JM
30654 [BZ #13942]
30655 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30656 (1 - x) * (1 + x).
30657 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30658 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30659 * math/libm-test.inc (acos_test): Add more tests.
30660 (asin_test): Likewise.
30661 * sysdeps/i386/fpu/libm-test-ulps: Update.
30662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30663
5ba3cc69
JM
30664 [BZ #14034]
30665 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30666 of square root.
30667 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30668 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30669 * math/libm-test.inc (acos_test_tonearest): New function.
30670 (acos_test_towardzero): Likewise.
30671 (acos_test_downward): Likewise.
30672 (acos_test_upward): Likewise.
30673 (asin_test_tonearest): Likewise.
30674 (asin_test_towardzero): Likewise.
30675 (asin_test_downward): Likewise.
30676 (asin_test_upward): Likewise.
30677 (main): Call the new functions.
30678 * sysdeps/i386/fpu/libm-test-ulps: Update.
30679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30680
9568c0c2
JM
30681 [BZ #13884]
30682 [BZ #13924]
30683 * math/e_exp10.c: Include <float.h>.
30684 (__ieee754_exp10): Handle underflow here rather than multiplying
30685 large negative argument by M_LN10.
30686 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30687 of __ieee754_expf.
30688 * math/e_exp10l.c: Include <float.h>.
30689 (__ieee754_exp10l): Handle underflow here rather than multiplying
30690 large negative argument by M_LN10l.
30691 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30692 spurious overflow exception on underflow.
30693
5ac3ea17
MP
306942012-04-29 Marek Polacek <polacek@redhat.com>
30695
30696 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30697 (__fortify_function): New macro.
30698 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30699 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30700 __extern_always_inline.
30701 * libio/bits/stdio2.h: Likewise.
30702 * libio/bits/stdio.h: Likewise.
30703 * string/string.h: Likewise.
30704 * string/bits/string3.h: Likewise.
30705 * include/stdio.h: Likewise.
30706 * stdlib/bits/stdlib.h: Likewise.
30707 * stdlib/stdlib.h: Likewise.
30708 * rt/bits/mqueue2.h: Likewise.
30709 * rt/mqueue.h: Likewise.
30710 * posix/bits/unistd.h: Likewise.
30711 * posix/unistd.h: Likewise.
30712 * io/bits/poll2.h: Likewise.
30713 * io/bits/fcntl2.h: Likewise.
30714 * io/fcntl.h: Likewise.
30715 * io/sys/poll.h: Likewise.
30716 * misc/bits/syslog.h: Likewise.
30717 * misc/bits/syslog-ldbl.h: Likewise.
30718 * misc/sys/syslog.h: Likewise.
30719 * socket/bits/socket2.h: Likewise.
30720 * socket/sys/socket.h: Likewise.
30721 * debug/tst-chk1.c: Likewise.
30722 * wcsmbs/bits/wchar2.h: Likewise.
30723 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30724 * wcsmbs/wchar.h: Likewise.
30725
ecf0ebfb
AJ
307262012-04-29 Andreas Jaeger <aj@suse.de>
30727
30728 * Makerules (tests): Remove enable-check-abi protection.
30729 (check-abi-warn): Remove.
30730 (check-abi-%): Remove check-abi-warn usage.
30731
30732 * configure.in: Remove check-abi configure option.
30733 * configure: Regenerated.
30734 * config.make.in (enable-check-abi): Remove.
30735
6d5c57fa
AS
307362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30737
24c5d07e 30738 [BZ #14033]
ded5180a
AS
30739 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30740 double functions to double *_finite functions.
30741
7e0d315d
AS
30742 [BZ #13941]
30743 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30744 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30745 LDBL_MIN_EXP.
30746 * stdio-common/Makefile (tests): Add tst-sprintf3.
30747 * stdio-common/tst-sprintf3.c: New file.
30748
6d5c57fa
AS
30749 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30750 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30751
0749ff8b
JM
307522012-04-28 Joseph Myers <joseph@codesourcery.com>
30753
30754 * conform/conformtest.pl: Remove duplicate typed-constant
30755 handling.
30756
8dbd5d7b
DM
307572012-04-28 David S. Miller <davem@davemloft.net>
30758
30759 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30760 (check-abi-%): Remove AWK script prerequisite and explicit
30761 abilist directory.
30762 (check-abi): Rewrite to just diff the symlist with the abilist.
30763 (config-tls, config-abi-config): Delete, no longer used.
30764 (update-abi-%): Remove AWK script and explicit abilist directory.
30765 (update-abi): Rewrite to simply compare and conditionally copy the
30766 symlist and the sysdep abilist file. Remove update-abi-config
30767 checks.
30768 * abilist/ld.abilist: Remove.
30769 * abilist/libBrokenLocale.abilist: Remove.
30770 * abilist/libanl.abilist: Remove.
30771 * abilist/libcrypt.abilist: Remove.
30772 * abilist/libdl.abilist: Remove.
30773 * abilist/librt.abilist: Remove.
30774 * abilist/libthread_db.abilist: Remove.
30775 * abilist/libutil.abilist: Remove.
30776 * scripts/extract-abilist.awk: Remove.
30777 * scripts/merge-abilist.awk: Remove.
30778 * sysdeps/generic/libcidn.abilist: New file.
30779 * sysdeps/generic/libnss_compat.abilist: New file.
30780 * sysdeps/generic/libnss_db.abilist: New file.
30781 * sysdeps/generic/libnss_dns.abilist: New file.
30782 * sysdeps/generic/libnss_files.abilist: New file.
30783 * sysdeps/generic/libnss_hesiod.abilist: New file.
30784 * sysdeps/generic/libnss_nis.abilist: New file.
30785 * sysdeps/generic/libnss_nisplus.abilist: New file.
30786 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30787 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30788 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30789 file.
30790 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30791 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30792 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30793 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30794 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30795 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30796 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30797 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30798 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30799 file.
30800 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30801 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30802 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30803 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30804 file.
30805 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30806 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30807 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30808 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30809 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30810 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30811 file.
30812 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30813 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30814 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30815 file.
30816 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30818 New file.
30819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30820 New file.
30821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30822 New file.
30823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30824 New file.
30825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30826 New file.
30827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30828 New file.
30829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30830 New file.
30831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30832 New file.
30833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30834 New file.
30835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30836 New file.
30837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30838 New file.
30839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30840 New file.
30841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30842 New file.
30843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30844 file.
30845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30846 New file.
30847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30848 New file.
30849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30850 file.
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30852 New file.
30853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30854 New file.
30855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30856 file.
30857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30858 New file.
30859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30860 New file.
30861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30862 New file.
30863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30864 New file.
30865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30866 New file.
30867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30868 New file.
30869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30871 file.
30872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30873 New file.
30874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30875 file.
30876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30877 file.
30878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30879 file.
30880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30881 file.
30882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30883 file.
30884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30885 New file.
30886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30887 file.
30888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30889 file.
30890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30891 New file.
30892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30893 file.
30894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30896 file.
30897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30898 New file.
30899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30900 file.
30901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30902 file.
30903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30904 file.
30905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30906 file.
30907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30908 file.
30909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30910 New file.
30911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30912 file.
30913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30914 file.
30915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30916 New file.
30917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30918 file.
30919 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30920 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30921 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30922 file.
30923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30924 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30925 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30926 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30927 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30928 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30929 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30930 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30931 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30932 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30935 file.
30936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30937 New file.
30938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30939 file.
30940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30941 file.
30942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30943 file.
30944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30945 file.
30946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30947 file.
30948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30949 New file.
30950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30951 New file.
30952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30953 file.
30954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30955 New file.
30956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30957 file.
30958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30960 file.
30961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30962 New file.
30963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30964 file.
30965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30966 file.
30967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30968 file.
30969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30970 file.
30971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30972 file.
30973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30974 New file.
30975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30976 New file.
30977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30978 file.
30979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30980 New file.
30981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30982 file.
30983
41d73a1b
JM
309842012-04-28 Joseph Myers <joseph@codesourcery.com>
30985
30986 * conform/conformtest.pl: Fix typo in handling typed-constant from
30987 allow-header.
30988
28aeeda4
JM
309892012-04-27 Joseph Myers <joseph@codesourcery.com>
30990
adae8f5e
JM
30991 * README: Cut down references to pre-2.6 Linux kernels and
30992 Linuxthreads. Update lists of configurations in libc and ports
30993 and sort alphabetically. Say "or newer" with Linux kernel version
30994 requirements.
30995
28aeeda4
JM
30996 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30997
a462cb63
RA
309982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30999
31000 [BZ #887]
31001 * math/libm-test.inc (logb_test_downward): New test to expose
31002 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31003 rounding mode.
31004
6ad3493e
JM
310052012-04-27 Joseph Myers <joseph@codesourcery.com>
31006
31007 [BZ #14027]
31008 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31009 to be done.
31010 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31011 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31012
2ce4f015
JM
310132012-04-26 Joseph Myers <joseph@codesourcery.com>
31014
5aeb141a
JM
31015 * sysdeps/unix/i386/brk.S: Remove file.
31016 * sysdeps/unix/i386/dl-brk.S: Likewise.
31017 * sysdeps/unix/i386/pipe.S: Likewise.
31018 * sysdeps/unix/i386/sigreturn.S: Likewise.
31019 * sysdeps/unix/i386/syscall.S: Likewise.
31020 * sysdeps/unix/i386/vfork.S: Likewise.
31021 * sysdeps/unix/i386/wait.S: Likewise.
31022
7143acae
JM
31023 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31024 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31025
2ce4f015
JM
31026 * configure.in (arm*-none*): Do not allow without
31027 --enable-hacker-mode.
31028 (netbsd*): Remove case setting base_os.
31029 (386bsd*): Likewise.
31030 (freebsd*): Likewise.
31031 (bsdi*): Likewise.
31032 (osf*): Likewise.
31033 (sunos*): Likewise.
31034 (ultrix*): Likewise.
31035 (newsos*): Likewise.
31036 (dynix*): Likewise.
31037 (*bsd*): Likewise.
31038 (sysv*): Likewise.
31039 (isc*): Likewise.
31040 (esix*): Likewise.
31041 (sco*): Likewise.
31042 (minix*): Likewise.
31043 (irix4*): Likewise.
31044 (irix6*): Likewise.
31045 (solaris[2-9]*): Likewise.
31046 (none): Likewise.
31047 * configure: Regenerated.
31048
0ac229c8
AZ
310492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31050
31051 [BZ #11521]
31052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31053 overflow or cancellation in calculating denominator.
31054 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31056 down expression to avoid unexpected rounding in newer GCCs.
31057 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31058
33f244f4
DM
310592012-04-26 David S. Miller <davem@davemloft.net>
31060
31061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31062 long-double compat symbols.
31063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31076
cfa1f3e8
DM
310772012-04-25 David S. Miller <davem@davemloft.net>
31078
31079 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31080 HWCAP_* values only after the memory barriers have been defined.
31081 (atomic_full_barrier): Define.
31082 (atomic_read_barrier): Define.
31083 (atomic_write_barrier): Define.
31084
6e236b92
SP
310852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31086
31087 * shlib-versions: Add libgcc_s version information.
31088 * sysdeps/generic/libgcc_s.h: Remove.
31089 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31090 libgcc_s.h.
31091 * sysdeps/gnu/unwind-resume.c: Likewise.
31092 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31093
aab39a09
DM
310942012-04-25 David S. Miller <davem@davemloft.net>
31095
31096 * sysdeps/unix/sparc/brk.S: Delete.
31097 * sysdeps/unix/sparc/dl-brk.S: Delete.
31098 * sysdeps/unix/sparc/pipe.S: Delete.
31099 * sysdeps/unix/sparc/sysdep.S: Delete.
31100 * sysdeps/unix/sparc/sysdep.h: Delete.
31101 * sysdeps/unix/sparc/vfork.S: Delete.
31102 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31103 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31104 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31105 ret_ERRVAL, r0, r1, MOVE): Define.
31106 (JUMPTARGET): Remove.
31107 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31108 sysdeps/unix/sparc/sysdep.h
31109 (ENTRY, END): Remove.
31110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31111
a3cc4f48
JM
311122012-04-25 Joseph Myers <joseph@codesourcery.com>
31113
2ed8cda2
JM
31114 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31115 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31116 -DIS_IN_build.
31117
35d76d59
JM
31118 * timezone/README: Update upstream location and email address for
31119 tzcode and tzdata.
31120 * timezone/zdump.c: Update from tzcode 2012b.
31121 * timezone/zic.c: Likewise.
31122
a3cc4f48
JM
31123 * configure.in (libc_cv_as_needed): Remove test.
31124 * configure: Regenerated.
31125 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31126 conditional definition.
31127 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31128 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31129 * config.make.in (have-as-needed): Remove variable.
31130
ceab42c3
SP
311312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31132 Paul Pluzhnikov <ppluzhnikov@google.com>
31133
31134 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31135 strings correctly.
31136
3ce2865f
CLT
311372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31138
31139 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31140 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31141 * sysdeps/sh/strlen.S: Likewise.
31142
f37e0d68
JM
311432012-04-24 Joseph Myers <joseph@codesourcery.com>
31144
ae186e9a
JM
31145 * sysdeps/unix/fork.S: Remove file.
31146 * sysdeps/unix/i386/fork.S: Likewise.
31147 * sysdeps/unix/sparc/fork.S: Likewise.
31148
b96914af
JM
31149 * sysdeps/unix/system.c: Remove file.
31150 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31151
f37e0d68
JM
31152 * sysdeps/unix/getegid.S: Remove file.
31153 * sysdeps/unix/geteuid.S: Likewise.
31154
87ef29ca
RM
311552012-04-24 Roland McGrath <roland@hack.frob.com>
31156
83bcd236
RM
31157 * scripts/check-localplt.awk: New file.
31158 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31159 of diff.
31160 * scripts/data/localplt-generic.data: Add a comment.
31161
87ef29ca
RM
31162 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31163 NODE when __dir_mkfile failed.
31164 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31165 Reported by Ludovic Courtès <ludo@gnu.org>.
31166
e5a6e567
AJ
311672012-04-24 Andreas Jaeger <aj@suse.de>
31168
31169 * Makerules (common-clean): Also remove gen-as-const-headers
31170 files.
31171
c1820385
JM
311722012-04-24 Joseph Myers <joseph@codesourcery.com>
31173
31174 * Makerules (native-compile): Do not change working directory for
31175 build. Use $(OUTPUT_OPTION) in command.
31176 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31177
94e02fc4
AZ
311782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31179
31180 [BZ #13886]
31181 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31182 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31183 * math/libm-test.inc (floor_test): Add more tests.
31184 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31185
3a533ca3
JM
311862012-04-24 Joseph Myers <joseph@codesourcery.com>
31187
940ab4b3
JM
31188 * sysdeps/unix/getdents.c: Remove file.
31189 * sysdeps/unix/sysv/getdents.c: Likewise.
31190 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31191
90e037bd
JM
31192 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31193 sysdeps/unix/mman/syscalls.list.
31194 (mmap): Likewise.
31195 (mprotect): Likewise.
31196 (msync): Likewise.
31197 (munmap): Likewise.
31198 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31199 * sysdeps/unix/mman/syscalls.list: Remove.
31200 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31201
3a533ca3
JM
31202 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31203 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31204 * configure: Regenerated.
31205 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31206 $(libgcc_s_suffix).
31207 * config.make.in (libgcc_s_suffix): Remove variable.
31208
1ad743de
JM
312092012-04-23 Joseph Myers <joseph@codesourcery.com>
31210
4ad451e2
JM
31211 * sysdeps/unix/sysv/gethostname.c: Move to ...
31212 * sysdeps/posix/gethostname.c: ... here.
31213
5e37ce39
JM
31214 * sysdeps/unix/execve.S: Remove file.
31215
1ad743de
JM
31216 * sysdeps/unix/_exit.S: Remove file.
31217
4e681b5b
AJ
312182012-04-23 Andreas Jaeger <aj@suse.de>
31219
31220 [BZ #13739]
31221 * manual/Makefile: Remove make dist support, there's no
31222 need for a stand-alone documentation tar ball.
31223 (TEXI2DVI): Define always, it's not in Makeconfig.
31224 (dist): Removed.
31225 (tar-it): Removed.
31226 (edition): Removed.
31227 (glibc-doc-$(edition).tar): Removed
31228 (%.Z): Removed.
31229 (%.gz): Removed.
31230 (%.uu): Removed.
31231 (ETAGS): Remove, it's in Makeconfig.
31232 (move-if-change): Remove, it's in Makeconfig.
31233
38686a03 312342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31235
31236 [BZ #13970]
31237 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31238 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31239 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31240 (strtod_l, strtof_l, strtold_l): Remove __wur.
31241 It is not necessarily an error to ignore strtol's return value.
31242 One can reliably look at the stored endptr to decide whether
31243 the number had valid syntax.
31244
7c0616fa
AJ
312452012-04-21 Andreas Jaeger <aj@suse.de>
31246
803cb6b7 31247 [BZ #13739]
7c0616fa
AJ
31248 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31249
b0fe253f
JM
312502012-04-21 Joseph Myers <joseph@codesourcery.com>
31251
31252 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31253 * sysdeps/unix/sysv/Versions: Remove file.
31254
8280f22d
MT
312552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31256
31257 [BZ #13927]
31258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31259
75ce411f 312602012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31261
31262 [BZ #7064]
31263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31264 version from __vm86.
31265
097d59fa
JM
312662012-04-20 Joseph Myers <joseph@codesourcery.com>
31267
a90f3bcb
JM
31268 * sysdeps/unix/common/lxstat.c: Remove file.
31269 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31270
edc7ea78
JM
31271 * sysdeps/unix/sysv/Makefile: Remove file.
31272
cb78c221
JM
31273 * sysdeps/unix/sysv/direct.h: Remove file.
31274
efa6a45f
JM
31275 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31276 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31277 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31278 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31279 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31280 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31281 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31282
9c9f2d0c
JM
31283 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31284
4541c83b
JM
31285 * sysdeps/unix/xmknod.c: Remove file.
31286 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31287
f5d153a0
JM
31288 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31289
aa746595
JM
31290 * sysdeps/unix/sysv/i386/time.S: Remove file.
31291
cce5905e
JM
31292 * sysdeps/unix/fxstat.c: Remove file.
31293 * sysdeps/unix/xstat.c: Likewise.
31294 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31295
37fa3841
JM
31296 * sysdeps/unix/sysv/sigaction.c: Remove file.
31297
ff1962a3
JM
31298 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31299 (sysdep_headers): Remove variable.
31300 [termio.h not in sysdep_headers] (generated): Likewise.
31301 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31302 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31303 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31304 * sysdeps/unix/sysv/tcflow.c: Likewise.
31305 * sysdeps/unix/sysv/tcflush.c: Likewise.
31306 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31307 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31308 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31309 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31310 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31311
e7740d31
JM
31312 * sysdeps/unix/siglist.c: Remove file.
31313
ee06f18b
JM
31314 * sysdeps/unix/getppid.S: Remove file.
31315
097d59fa
JM
31316 * sysdeps/unix/mkdir.c: Remove file.
31317 * sysdeps/unix/rmdir.c: Likewise.
31318
ff3d51ec
AS
313192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31320
31321 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31322 ERR_MAX value.
31323 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31324 errlist-compat value.
31325
50f81fd7
DM
313262012-04-18 David S. Miller <davem@davemloft.net>
31327
31328 * sysdeps/generic/memcopy.h (reg_char): Delete.
31329 * debug/strcat_chk.c: Use char, not reg_char.
31330 * debug/strcpy_chk.c: Likewise.
31331 * debug/strncat_chk.c: Likewise.
31332 * debug/strncpy_chk.c: Likewise.
31333 * string/memchr.c: Likewise.
31334 * string/memrchr.c: Likewise.
31335 * string/rawmemchr.c: Likewise.
31336 * string/strcat.c: Likewise.
31337 * string/strchr.c: Likewise.
31338 * string/strchrnul.c: Likewise.
31339 * string/strcmp.c: Likewise.
31340 * string/strcpy.c: Likewise.
31341 * string/strncat.c: Likewise.
31342 * string/strncmp.c: Likewise.
31343 * string/strncpy.c: Likewise.
31344
8ff41c46
WS
313452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31346
31347 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31348 __builtin_memcopy is called when src and dest ranges are known to not
31349 overlap.
31350
6b652f46
WS
313512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31352
31353 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31354 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31355 fwd_align_merge macro call.
31356 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31357 bwd_align_merge macro call.
31358 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31359
b282631e
WS
313602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31361
31362 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31363 bwd_align_merge macros.
31364 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31365 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31366 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31367
95aa737c
DM
313682012-04-18 David S. Miller <davem@davemloft.net>
31369
31370 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31371
7a99a614
AJ
313722012-04-18 Andreas Jaeger <aj@suse.de>
31373
31374 [BZ# 6794]
31375 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31376 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31378
31379 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31380 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31381 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31382
31383 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31384 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31385 Adjust for changed ldbl-128 files.
31386
31387 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31388 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31389 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31390
e5270c23
DM
313912012-04-17 David S. Miller <davem@davemloft.net>
31392
31393 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31394
fb5e92c9
AS
313952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31396
31397 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31398 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31399 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31400 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31401 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31402 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31403
76da7265
AZ
314042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31405
31406 [BZ #6794]
31407 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31408 * math/libm-test.inc: Add ilogb errno and exception tests.
31409 * math/w_ilogb.c: New file: ilogb wrapper.
31410 * math/w_ilogbf.c: New file: ilogbf wrapper.
31411 * math/w_ilogbl.c: New file: ilogbl wrapper.
31412 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31413 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31414 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31415 exception being thrown with 0.0 as argument.
31416 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31417 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31418 exception being thrown with 0.0 as argument.
31419 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31420 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31421 exception being thrown with 0.0 as argument.
31422 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31423 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31424 exception being thrown with 0.0 as argument.
31425 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31426 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31427 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31428 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31429 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31430 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31431 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31432 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31433 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31434
0396e69d
PB
314352012-04-17 Petr Baudis <pasky@ucw.cz>
31436
31437 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31438 with altivec.
31439
750b5926
MP
314402012-04-16 Marek Polacek <polacek@redhat.com>
31441
31442 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31443
751728a1
MP
314442012-04-16 Marek Polacek <polacek@redhat.com>
31445
31446 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31447 operands of fdivp instruction.
31448
34a27407
L
314492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31450
31451 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31452 * elf/tst-auditmod3b.c: Likewise.
31453 * elf/tst-auditmod4b.c: Likewise.
31454 * elf/tst-auditmod5b.c: Likewise.
31455 * elf/tst-auditmod6b.c: Likewise.
31456 * elf/tst-auditmod6c.c: Likewise.
31457 * elf/tst-auditmod7b.c: Likewise.
31458 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31459 * sysdeps/x86_64/preconfigure.in: Likewise.
31460 * sysdeps/x86_64/preconfigure: Regenerated.
31461
7e73e17d
L
314622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31463
31464 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31465 __ILP32__.
31466
c7a6ab72
AB
314672012-04-13 Antoine Balestrat <merkil33@gmail.com>
31468
31469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31470 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31471
a9e8e0e0
CL
314722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31473
31474 [BZ #13973]
31475 * locale/iso-639.def: Fix gl language name. Spotted by
31476 Yaron Shahrabani.
31477
ec98af7d
RM
314782012-04-12 Roland McGrath <roland@hack.frob.com>
31479
31480 [BZ #2074]
31481 * libio/libio.h (__io_write_fn): Update comment.
31482
247c3ede
PB
314832012-04-12 Petr Baudis <pasky@ucw.cz>
31484
31485 [BZ #2074]
31486 * stdio.texi (Hook Functions): The user provided writer function
31487 is not allowed to return -1.
31488
55939d6d
DM
314892012-04-11 David S. Miller <davem@davemloft.net>
31490
31491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31492
90020f5a
MF
314932012-04-11 Mike Frysinger <vapier@gentoo.org>
31494
31495 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31496 Add a leading slash to rtkaio.
31497
288f9098
JM
314982012-04-11 Jim Meyering <meyering@redhat.com>
31499
90020f5a
MF
31500 [BZ #11959]
31501 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31502 It is not necessarily an error to ignore fwrite's return
31503 value. One can reliably use ferror to test for errors after
31504 the fact.
288f9098 31505
4be2b570
L
315062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31507
31508 * bits/types.h (__snseconds_t): New type.
31509 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31510
31511 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31513 (__SNSECONDS_T_TYPE): Likewise.
31514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31515 (__SNSECONDS_T_TYPE): Likewise.
31516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31517 (__SNSECONDS_T_TYPE): Likewise.
31518
288f9098 315192012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31520
31521 [BZ #2636]
31522 * manual/time.texi (Processor Time): Return type of times is
31523 elapsed real time since an arbitrary point in the past.
31524 (CPU Time): Move CLK_TCK from here...
31525 (Processor Time): ...to here. Correct description.
31526 * manual/conf.texi (Constants for Sysconf): Correct description of
31527 _SC_CLK_TCK.
31528
d7dd4413
DM
315292012-04-10 David S. Miller <davem@davemloft.net>
31530
31531 [BZ #13967]
31532 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31533 where the is a gap between DT_REL(A) and DT_JMPREL.
31534
b46068fc
L
315352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31538 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31539 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31540
73d65cc3
SP
315412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31542
31543 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31544 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31545 (dl_main): Handle --inhibit-cache.
31546 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31547 _dl_inhibit_cache.
31548 * elf/dl-load.c (_dl_map_object): Use it.
31549 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31550
bcc8d661
JM
315512012-04-09 Joseph Myers <joseph@codesourcery.com>
31552
8f9a2fae
JM
31553 [BZ #13872]
31554 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31555 (__ieee754_powl): Saturate large exponents rather than testing for
31556 overflow of y*log2(x).
31557 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31558 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31559 exceptions.
31560
bcc8d661
JM
31561 [BZ #11521]
31562 * math/s_ctan.c: Include <float.h>.
31563 (__ctan): Avoid internal overflow or cancellation in calculating
31564 denominator.
31565 * math/s_ctanf.c: Likewise.
31566 * math/s_ctanl.c: Likewise.
31567 * math/s_ctanh.c: Likewise.
31568 * math/s_ctanhf.c: Likewise.
31569 * math/s_ctanhl.c: Likewise.
31570 * math/libm-test.inc (ctan_test): Add more tests.
31571 (ctanh_test): Likewise.
31572 * sysdeps/i386/fpu/libm-test-ulps: Update.
31573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31574
823fbbb4
AJ
315752012-04-09 Andreas Jaeger <aj@suse.de>
31576
03879793
AJ
31577 [BZ #6894]
31578 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31579 is an optional BSD extension.
31580
823fbbb4
AJ
31581 [BZ #10254]
31582 * manual/stdio.texi (Opening Streams): Document additional fopen
31583 parameters.
31584
8de131cb
RM
315852012-04-09 Roland McGrath <roland@hack.frob.com>
31586
31587 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31588 %eax without telling the compiler.
31589
c0ed9d7d
CD
315902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31591
31592 [BZ # 13963]
31593 * manual/install.texi: Use sourceware.org.
31594
c483f6b4
JM
315952012-04-09 Joseph Myers <joseph@codesourcery.com>
31596
d7dd9453
JM
31597 [BZ #13873]
31598 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31599 (__ieee754_pow): Generate overflow and underflow using huge*huge
31600 and tiny*tiny rather than just returning constant infinity or zero
31601 for large exponents.
31602 * math/libm-test.inc (pow_test): Require overflow exceptions for
31603 applicable cases of large exponents.
31604
c483f6b4
JM
31605 [BZ #706]
31606 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31607 (__ieee754_pow): Use iterative multiplication algorithm only for
31608 integer exponents with absolute value below 1024. Check for odd
31609 integer exponents when using algorithm for real exponents.
31610 * math/libm-test.inc (pow_test): Add more tests.
31611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31612
d2de7579
JM
316132012-04-08 Joseph Myers <joseph@codesourcery.com>
31614
31615 [BZ #13705]
31616 * math/libm-test.inc (exp_test): Do not allow overflow exception
31617 on underflow test.
31618
f77f1232
AJ
316192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31620
31621 [BZ #13705]
31622 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31623 instead of __kernel_standard_f.
31624
3884932b
MF
316252012-04-08 Mike Frysinger <vapier@gentoo.org>
31626
31627 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31628 * sysdeps/x86_64/memset_chk.S: Likewise.
31629
54472e9c
AJ
316302012-04-08 Andreas Jaeger <aj@suse.de>
31631
6ab0fbfc
AJ
31632 [BZ #10153]
31633 * manual/startup.texi (Environment Access): Describe return value
31634 for putenv and setenv.
31635
61efba8c
AJ
31636 [BZ #6895]
31637 * manual/filesys.texi (Directory Entries): Add description for
31638 DT_LNK.
31639
95c3f29a
AJ
31640 [BZ #6890]
31641 * manual/filesys.texi (Directory Entries): Clarify that it's file
31642 system not operating system in the description of DT_UNKNOWN.
31643
54472e9c
AJ
31644 [BZ #6578]
31645 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31646
624254b1
SC
316472012-04-08 Stephen Compall <s11@member.fsf.org>
31648
31649 [BZ #6649]
31650 * manual/llio.texi (Opening and Closing Files): Add cross
31651 reference to explain mode argument.
31652
1e4920e0
MF
316532012-04-07 Mike Frysinger <vapier@gentoo.org>
31654
31655 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31656 * sysdeps/x86_64/memset_chk.S: Likewise.
31657
5ed848f3
DM
316582012-04-07 David S. Miller <davem@davemloft.net>
31659
31660 * elf/elf.h (R_SPARC_WDISP10): Define.
31661 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31662 R_SPARC_SIZE32.
31663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31664 R_SPARC_SIZE64 and R_SPARC_H34.
31665
96154cd8
CD
316662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31667
31668 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31669 conditions and remove no longer applicable assertion.
31670
9904dc47
L
316712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31672
31673 * bits/byteswap.h: Include <features.h>.
31674 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31675 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31676
f8887d0a
L
316772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31678
31679 * bits/byteswap.h (__bswap_16): Removed.
31680 Include <bits/byteswap-16.h> to get __bswap_16.
31681 * sysdeps/i386/bits/byteswap.h: Likewise.
31682 * sysdeps/s390/bits/byteswap.h: Likewise.
31683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31684 * bits/byteswap-16.h: New file.
31685 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31686 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31687 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31688 * string/Makefile (headers): Add bits/byteswap-16.h.
31689
62470f60
PP
316902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31691
31692 [BZ #13895]
31693 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31694 extra indirection.
31695 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31696 * nss/tst-nss-static.c: New.
31697
4dad7bab
RM
316982012-04-06 Robert Millan <rmh@gnu.org>
31699
31700 [BZ #6486]
31701 * manual/llio.texi (File Position Primitive): lseek
31702 refers to WHENCE when it really means OFFSET.
31703
e9142a17
AJ
317042012-04-06 Andreas Jaeger <aj@suse.de>
31705
2c040eff
AJ
31706 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31707 strncmp declarations.
31708
e9142a17
AJ
31709 * abilist/libc.abilist: Add __poll and __ppoll.
31710
ff9f1c5f
DM
317112012-04-05 David S. Miller <davem@davemloft.net>
31712
dcd2ae90
DM
31713 * scripts/check-local-headers.sh: Accept a host triplet in the
31714 path matched by the exclude regexp.
31715
993eb054
DM
31716 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31717 definition.
31718 * sysdeps/powerpc/powerpc32/dl-machine.h
31719 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31720 * sysdeps/s390/s390-32/dl-machine.h
31721 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31722 * sysdeps/sparc/sparc32/dl-machine.h
31723 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31724 * sysdeps/sparc/sparc64/dl-machine.h
31725 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31726
ff9f1c5f
DM
31727 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31728 lazy binding.
48e2e132 31729 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31730 undefined symbol errors.
31731
48e2e132 31732 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31733 DT_NEEDED entries.
31734
e80d6f94
MM
317352012-04-05 Michael Matz <matz@suse.de>
31736
31737 [BZ #13592]
31738 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31739
349fa79f
AJ
317402012-04-05 Andreas Jaeger <aj@suse.de>
31741
31742 [BZ #13908]
31743 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31744 comment.
31745
f402708f
KK
317462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31747
31748 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31749 which ROUND is no valid rounding mode.
31750
2ecccfc9
KK
317512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31752
31753 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31754 read again.
31755 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31756
8a53f50f
KK
317572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31758
31759 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31760 an exception using FPU order intentionally.
31761
317622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31763
31764 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31765 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31766 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31767 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31768
d653abb7
SJ
317692012-04-05 Simon Josefsson <simon@josefsson.org>
31770
31771 [BZ #12340]
31772 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31773 EINVAL when BUFLEN is too smal.
31774
c3b1bf7d
TS
317752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31776
31777 [BZ #13553]
31778 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31779 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31780
b1aa60f3
AJ
317812012-04-03 Andreas Jaeger <aj@suse.de>
31782
c3b1bf7d 31783 [BZ #13938]
67f60a26
AJ
31784 * manual/setjmp.texi (System V contexts): Fix sentence.
31785
b1aa60f3
AJ
31786 [BZ #13926]
31787 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31788 New macro for this case.
31789 [!__GNUC__] (__bswap_64): New inline function for this case.
31790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31791 * bits/byteswap.h: Likewise.
31792 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31793 ull, guard with __GLIBC_HAVE_LONG_LONG.
31794
31795 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31796 __GLIBC_HAVE_LONG_LONG.
31797
31798 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31799 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31800
39c59c35
TMQMF
318012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31802
31803 [BZ #13691]
31804 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31805 inptr and inend, rather than using last_ch.
31806
135ffda8
DM
318072012-04-02 David S. Miller <davem@davemloft.net>
31808
31809 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31810 * stdio-common/printf-parse.h (read_int): Change return type to
31811 'int', return -1 on INT_MAX overflow.
31812 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31813 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31814 overflows INT_MAX. Check for overflow of in-format-string precision
31815 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31816 SIZE_MAX not INT_MAX for integer overflow test.
31817 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31818 skip the construct in the format string but do not record anything.
31819 * stdio-common/bug22.c: Adjust to test both width/prevision
31820 INT_MAX overflow as well as total length INT_MAX overflow. Check
31821 explicitly for proper errno values.
31822
228c019e
TS
318232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31824
302cadd3
TS
31825 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31826 CHAR_MAX.
31827 * string/test-strcmp.c [! WIDE]: Likewise.
31828 * time/tst-mktime2.c: Likewise for INT_MAX.
31829 * string/test-string.h: #include <sys/param.h> for MIN.
31830
228c019e
TS
31831 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31832 * sysdeps/i386/init-first.c (init): Likewise.
31833 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31834 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31835 * sysdeps/sh/init-first.c (init): Likewise.
31836
cfa633f5
UD
318372012-04-01 Ulrich Drepper <drepper@gmail.com>
31838
31839 * po/ru.po: Update from translation team.
d1635ef8 31840 * po/vi.po: Likewise.
cfa633f5 31841
6cd0a5ea
SP
318422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31843
31844 * resolv/nss_dns/dns-host.c: Merge copyright years.
31845
4b43400f
LD
318462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31847
31848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31849 Optimize memcpy with prefetch if
31850 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31851 src, dst pointers have unequal 16 byte alignments.
31852
48c41d04
SP
318532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31854
31855 [BZ #13928]
31856 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31857 from a CNAME entry and return the minimum ttl for the query.
31858 (gaih_getanswer_slice): Likewise.
31859
b8dc394d
JL
318602012-03-30 Jeff Law <law@redhat.com>
31861
31862 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31863 due to long keys.
31864 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31865 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31866
2f5a5ed0
JL
31867 * resolv/nss_dns/dns-host.c: Update copyright year.
31868
1d39e359
UD
318692012-03-30 Ulrich Drepper <drepper@gmail.com>
31870
c030f70c 31871 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31872 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31873
1d39e359
UD
31874 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31875 comments for sendmmsg.
31876
318772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31878
31879 [BZ #13691]
31880 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31881 with only 1 character between 0x0041 and 0x01b0.
31882 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31883 * wcsmbs/tst-mbsnrtowcs.c: New file.
31884
20fde227
DM
318852012-03-29 David S. Miller <davem@davemloft.net>
31886
31887 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31888 small copies by hand.
31889
984a4237
JL
318902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31891
31892 [BZ #13761]
31893 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31894 _nss_compat_initgroups_dyn): Fall back to malloc/free
31895 for large group memberships.
31896
18c9d62b
DM
318972012-03-28 David S. Miller <davem@davemloft.net>
31898
88d85d4f
DM
31899 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31900 that branches into memcpy.
31901 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31902 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31904 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31906 bits.
31907 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31908 implementation too.
31909 * sysdeps/sparc/mempcpy.S: New file.
31910
e5aa83e1
DM
31911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31912 the IFUNC routine in the libc case.
31913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31914
88570753
DM
31915 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31916 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31917 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31918 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31919 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31920 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31921 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31922 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31923
249d7567
DM
31924 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31925 loop to 256 bytes instead of 64 bytes and fix test signedness.
31926
18c9d62b
DM
31927 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31928 * sysdeps/sparc/sparc32/Makefile: rather than here...
31929 * sysdeps/sparc/sparc64/Makefile: and here.
31930
05f3d1f6
UD
319312012-03-28 Ulrich Drepper <drepper@gmail.com>
31932
31933 * malloc/mallocbug.c: Avoid warnings about unused variables.
31934
86ae07a8
JL
319352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31936
31937 [BZ #13760]
31938 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31939 in the right place. Discard and retry query if response is
31940 larger than input buffer size.
31941
41bf21a1
JM
319422012-03-28 Joseph Myers <joseph@codesourcery.com>
31943
d6270972
JM
31944 [BZ #369]
31945 [BZ #2678]
31946 [BZ #3866]
31947 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31948 x for large integer exponent.
31949 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31950 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31951 sign of result as needed afterwards.
31952 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31953 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31954 result for underflowing pow the same as for overflow.
31955 (__kernel_standard_l): Handle powl overflow and underflow here
31956 rather than calling __kernel_standard.
31957 * math/libm-test.inc (pow_test): Add more tests.
31958
414fca03 31959 [BZ #3868]
41bf21a1
JM
31960 [BZ #13879]
31961 [BZ #13910]
31962 [BZ #13911]
31963 [BZ #13912]
31964 [BZ #13913]
31965 [BZ #13915]
31966 [BZ #13916]
31967 [BZ #13917]
31968 [BZ #13918]
31969 [BZ #13919]
31970 [BZ #13920]
31971 [BZ #13921]
31972 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31973 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31974 (__kernel_standard_l): New function.
31975 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31976 __kernel_standard.
31977 * math/w_acosl.c (__acosl): Likewise.
31978 * math/w_asinl.c (__asinl): Likewise.
31979 * math/w_atan2l.c (__atan2l): Likewise.
31980 * math/w_atanhl.c (__atanhl): Likewise.
31981 * math/w_coshl.c (__coshl): Likewise.
31982 * math/w_exp10l.c (__exp10l): Likewise.
31983 * math/w_exp2l.c (__exp2l): Likewise.
31984 * math/w_fmodl.c (__fmodl): Likewise.
31985 * math/w_hypotl.c (__hypotl): Likewise.
31986 * math/w_j0l.c (__j0l, __y0l): Likewise.
31987 * math/w_j1l.c (__j1l, __y1l): Likewise.
31988 * math/w_jnl.c (__jnl, __ynl): Likewise.
31989 * math/w_lgammal.c (__lgammal): Likewise.
31990 * math/w_log10l.c (__log10l): Likewise.
31991 * math/w_log2l.c (__log2l): Likewise.
31992 * math/w_logl.c (__logl): Likewise.
31993 * math/w_powl.c (__powl): Likewise.
31994 * math/w_remainderl.c (__remainderl): Likewise.
31995 * math/w_scalbl.c (sysv_scalbl): Likewise.
31996 * math/w_sinhl.c (__sinhl): Likewise.
31997 * math/w_sqrtl.c (__sqrtl): Likewise.
31998 * math/w_tgammal.c (__tgammal): Likewise.
31999 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32000 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32001 * math/libm-test.inc (acos_test): Add more tests.
32002 (acosh_test): Likewise.
32003 (asin_test): Likewise.
32004 (atanh_test): Likewise.
32005 (exp_test): Likewise.
32006 (exp10_test): Likewise.
32007 (exp2_test): Likewise.
32008 (expm1_test): Likewise.
32009 (lgamma_test): Likewise.
32010 (log_test): Likewise.
32011 (log10_test): Likewise.
32012 (log1p_test): Likewise.
32013 (log2_test): Likewise.
32014 (pow_test): Do not allow some spurious overflow exceptions.
32015 (sqrt_test): Add more tests.
32016 (tgamma_test): Likewise.
32017 (y0_test): Likewise.
32018 (y1_test): Likewise.
32019 (yn_test): Likewise.
32020
dd62fda6
AB
320212012-03-27 Anton Blanchard <anton@samba.org>
32022
32023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32024 MAP_HUGETLB.
32025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32027 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32028
1e3cdfda
AJ
320292012-03-27 David S. Miller <davem@davemloft.net>
32030
b855ab85
DM
32031 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32032
1e3cdfda
AJ
32033 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32034 have-as-vis3 check.
32035
320362012-03-27 Andreas Jaeger <aj@suse.de>
32037
32038 * sysdeps/x86_64/elf/configure.in: Moved to ...
32039 * sysdeps/x86_64/configure.in: ... here.
32040 * sysdeps/x86_64/elf/start.S: Moved to ...
32041 * sysdeps/x86_64/start.S: ... here.
32042 * sysdeps/x86_64/elf/configure: Delete.
32043
32044 * sysdeps/x86_64/configure.in: Merge contents from
32045 sysdeps/i386/configure.in (without i686 check).
32046
32047 * sysdeps/i386/elf/Versions: Merge into ...
32048 * sysdeps/i386/Versions: ... this.
32049 * sysdeps/i386/elf/Versions: Delete file.
32050 * sysdeps/i386/elf/start.S: Moved to ...
32051 * sysdeps/i386/start.S: ...here.
32052 * sysdeps/i386/elf/configure.in: Merge into...
32053 * sysdeps/i386/configure.in: ...here.
32054 * sysdeps/i386/elf/configure.in: Delete file.
32055 * sysdeps/i386/elf/configure: Delete file.
32056
32057 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32058 * debug/backtracesyms.c: ... here.
32059 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32060 * debug/backtracesymsfd.c: ... here.
32061 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32062 * sysdeps/generic/ifunc-sel.h: ... here.
32063
32064 * sysdeps/unix/i386/start.c: Delete file.
32065 * sysdeps/unix/sparc/start.c: Delete file.
32066 * sysdeps/unix/start.c: Delete file.
32067
32068 * sysdeps/sh/elf/configure.in: Moved to ...
32069 * sysdeps/sh/configure.in: ... here.
32070 * sysdeps/sh/elf/start.S: Moved to ...
32071 * sysdeps/sh/start.S: ... here.
32072 * sysdeps/sh/elf/configure: Delete file.
32073
32074 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32075 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32076 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32077 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32078 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32079 * sysdeps/powerpc/powerpc64/start.S: here.
32080 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32081 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32082 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32083 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32084 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32085
32086 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32087 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32088 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32089 * sysdeps/powerpc/powerpc32/start.S: ... here.
32090 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32091 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32092 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32093
32094 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32095 * sysdeps/powerpc/ifunc-sel.h: ... here.
32096 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32097 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32098
32099 * sysdeps/sparc/elf/configure.in: Moved to ...
32100 * sysdeps/sparc/configure.in: ... here.
32101 * sysdeps/sparc/elf/configure: Delete file.
32102 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32103 * sysdeps/sparc/sparc32/start.S: ... here.
32104 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32105 * sysdeps/sparc/sparc64/start.S: ... here.
32106 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32107 * sysdeps/sparc/sparc32/Makefile: ... this.
32108 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32109 * sysdeps/sparc/sparc64/Makefile: ... this.
32110
32111 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32112 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32113 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32114 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32115 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32116 * sysdeps/s390/s390-32/setjmp.S: ... here.
32117 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32118 * sysdeps/s390/s390-32/configure.in: ... here.
32119 * sysdeps/s390/s390-32/elf/configure: Delete file.
32120 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32121 * sysdeps/s390/s390-32/start.S: ... here.
32122
32123 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32124 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32125 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32126 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32127 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32128 * sysdeps/s390/s390-64/setjmp.S: ... here.
32129 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32130 * sysdeps/s390/s390-64/configure.in: ... here
32131 * sysdeps/s390/s390-64/elf/configure: Delete file.
32132 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32133 * sysdeps/s390/s390-64/start.S: ... here.
32134 * sysdeps/s390/s390-64/elf/configure: Delete.
32135
32136 * configure.in: Remove support for elf directories in sysdeps.
32137
32138 * configure: Regenerated.
32139 * sysdeps/i386/configure: Regenerated.
32140 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32141 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32142 * sysdeps/s390/s390-32/configure: Regenerated.
32143 * sysdeps/s390/s390-64/configure: Regenerated.
32144 * sysdeps/sh/configure: Regenerated.
32145 * sysdeps/sparc/configure: Regenerated.
32146 * sysdeps/x86_64/configure: Regenerated.
32147
a3f61311
AS
321482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32149
c876e002
AS
32150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32151
a3f61311
AS
32152 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32153 denormal result into account.
32154
ac4c54f0
RM
321552012-03-25 Roland McGrath <roland@hack.frob.com>
32156
32157 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32158 Reported by Allan McRae <allan@archlinux.org>.
32159
6a9b9c02
JL
321602012-03-23 Jeff Law <law@redhat.com>
32161
32162 * nss/getnssent.c (__nss_getent): Fix typo.
32163
4c42a0c1
DM
321642012-03-23 David S. Miller <davem@davemloft.net>
32165
32166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32167
1532c7ac
L
321682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32169
32170 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32171 to pad to uint64_t for each field.
32172 (dl_tls_index): Replace unsigned long with uint64_t.
32173
3ff42526
PP
321742012-03-23 Daniel Jacobowitz <dmj@google.com>
32175 Paul Pluzhnikov <ppluzhnikov@google.com>
32176
32177 [BZ #6528]
32178 * grp/Makefile (otherlibs): Don't set it.
32179 * inet/Makefile (otherlibs): Likewise.
32180 * login/Makefile (otherlibs): Likewise.
32181 * nscd/Makefile (otherlibs): Likewise.
32182 * posix/Makefile (otherlibs): Likewise.
32183 * pwd/Makefile (otherlibs): Likewise.
32184 * rt/Makefile (otherlibs): Likewise.
32185 * sunrpc/Makefile (otherlibs): Likewise.
32186 * nss/Makefile (otherlibs): Likewise.
32187 Add libnss_files to routines and static-only-routines.
32188 ($(objpfx)getent): Remove rule.
32189 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32190 static-only-routines.
32191
7c69cd14
JM
321922012-03-22 Joseph Myers <joseph@codesourcery.com>
32193
32194 [BZ #13892]
32195 * math/s_cexp.c: Include <float.h>.
32196 (__cexp): Handle exp result overflowing not necessarily
32197 overflowing both real and imaginary parts of result.
32198 * math/s_cexpf.c: Likewise.
32199 * math/s_cexpl.c: Likewise.
32200 * math/libm-test.inc (cexp_test): Add more tests.
32201 * sysdeps/i386/fpu/libm-test-ulps: Update.
32202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32203
81b035fe
L
322042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32205
32206 * include/link.h (ELFW): New macro.
32207 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32208 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32209
1da7940c
L
322102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32211
32212 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32213 with uint64_t.
32214
b749dbb9
L
322152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32216
32217 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32218 declaration.
32219 (struct La_x32_retval): Likewise.
32220
2ff87f3f
L
322212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32222
32223 * sysdeps/x86_64/preconfigure.in: New file.
32224 * sysdeps/x86_64/preconfigure: New generated file.
32225
c0df8e69
JM
322262012-03-22 Joseph Myers <joseph@codesourcery.com>
32227
48e44791
JM
32228 [BZ #13824]
32229 * math/e_exp2l.c: Include <float.h>.
32230 (__ieee754_exp2l): Handle overflow and underflow cases
32231 separately. Only pass fractional part of argument to
32232 __ieee754_expl.
32233 * math/libm-test.inc (exp2_test): Add more tests.
32234
c0df8e69
JM
32235 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32236 negating x to take absolute value.
32237 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32238 Likewise.
32239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32241 Likewise.
32242 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32243 computing low part if x was negated.
32244 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32245
c8e43ba7
L
322462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32247
32248 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32249 la_x32_gnu_pltexit.
32250 (pltexit): Cast int_retval to ptrdiff_t.
32251 * elf/tst-auditmod3b.c: Likewise.
32252 * elf/tst-auditmod4b.c: Likewise.
32253 * elf/tst-auditmod5b.c: Likewise.
32254 * elf/tst-auditmod6b.c: Likewise.
32255 * elf/tst-auditmod6c.c: Likewise.
32256 * elf/tst-auditmod7b.c: Likewise.
32257
32258 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32259 and x32_gnu_pltexit.
32260
32261 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32262 __ELF_NATIVE_CLASS.
32263 (La_x32_regs): New macro.
32264 (La_x32_retval): Likewise.
32265 (la_x32_gnu_pltenter): New function prototype.
32266 (la_x32_gnu_pltexit): Likewise.
32267
7998fa78
AS
322682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32269
dcb33988
AS
32270 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32271 exponent.
32272
233fc563
AS
32273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32274
7998fa78
AS
32275 * configure.in (libc_cv_cc_nofma): Check for option to disable
32276 generation of FMA instructions.
32277 * configure: Regenerate.
32278 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32279 * sysdeps/ieee754/dbl-64/Makefile: New file.
32280 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32281 Remove brandred-fma4.
32282 (CFLAGS-brandred-fma4.c): Remove.
32283 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32284 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32285 define.
32286 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32287 define.
32288
8e95c99a
L
322892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32290
32291 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32292 LLONG_MAX != LONG_MAX.
32293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32294 (_fitoa_word): Likewise.
32295 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32296 LLONG_MAX != LONG_MAX.
32297 * stdio-common/_itowa.h: Include <_itoa.h>.
32298 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32299 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32300 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32301 only if not defined.
32302 (_ITOA_WORD_TYPE): Likewise.
32303 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32304 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32305
6f4db457
DM
323062012-03-21 David S. Miller <davem@davemloft.net>
32307
32308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32309
7785fe5a
L
323102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32311
32312 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32313 of x86_64 when setting libc_cv_slibdir, libdir and
32314 libc_cv_localedir.
32315 * sysdeps/unix/sysv/linux/configure: Regenerated.
32316
4535cd55
JM
323172012-03-21 Joseph Myers <joseph@codesourcery.com>
32318
32319 * manual/lang.texi (Old Varargs): Remove section.
32320 (How Variadic): Update menu.
32321 (va_start): Do not mention varargs.h.
32322
17228132
TS
323232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32324 Joseph Myers <joseph@codesourcery.com>
32325
32326 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32327 link test.
32328 * configure: Regenerated.
32329
8149f976
TS
323302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32331
05f3d1f6
UD
32332 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32333 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32334 conformtest.pl
8149f976 32335
1a4ac776
JM
323362012-03-21 Joseph Myers <joseph@codesourcery.com>
32337
be22ce65
JM
32338 * NOTES: Remove.
32339 * Makefile (files-for-dist): Remove NOTES.
32340 (NOTES): Remove rule.
32341 * README: Don't refer to NOTES.
32342 * manual/creature.texi: Don't include macros.texi.
32343 * manual/intro.texi (creature.texi): Remove comment referring to
32344 NOTES.
32345
40b601fb
JM
32346 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32347 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32348 * configure: Regenerated.
32349 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32350 LIBC_TRY_CC_OPTION.
32351 (libc_cv_as_i686): Likewise.
32352 (libc_cv_cc_avx): Likewise.
32353 (libc_cv_cc_sse2avx): Likewise.
32354 (libc_cv_cc_fma4): Likewise.
32355 (libc_cv_cc_novzeroupper): Likewise.
32356 * sysdeps/i386/configure: Regenerated.
32357
1a4ac776
JM
32358 [BZ #13883]
32359 * sysdeps/i386/fpu/s_cexp.S: Remove.
32360 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32361 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32362 * math/libm-test.inc (cexp_test): Add more tests.
32363 * sysdeps/i386/fpu/libm-test-ulps: Update.
32364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32365
a458e7fe
AM
323662012-03-21 Allan McRae <allan@archlinux.org>
32367
32368 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32369
0cb7efc5
JM
323702012-03-21 Joseph Myers <joseph@codesourcery.com>
32371
32372 [BZ #13871]
32373 * math/w_exp2.c: Do not include <float.h>.
32374 (o_threshold, u_threshold): Remove.
32375 (__exp2): Calculate result before checking finiteness and calling
32376 __kernel_standard.
32377 * math/w_exp2f.c: Likewise.
32378 * math/w_exp2l.c: Likewise.
32379 * math/libm-test.inc (exp2_test): Require overflow exception for
32380 1e6 input.
2460d3aa
JM
32381
32382 [BZ #3866]
32383 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32384 range of signed 64-bit integers before using fistpll. Remove
32385 checks for whether integers fit in mantissa bits.
32386 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32387 the range of signed 32-bit integers before using fistpl. Remove
32388 checks for whether integers fit in mantissa bits.
32389 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32390 (__ieee754_powl): Test for y outside the range of signed 64-bit
32391 integers before using fistpll. Reduce 64-bit values to 63-bit
32392 ones as needed.
32393 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32394 divide-by-zero is raised for zero to large negative powers.
32395 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32396 (__ieee754_powl): Test for y outside the range of signed 64-bit
32397 integers before using fistpll. Reduce 64-bit values to 63-bit
32398 ones as needed.
32399 * math/libm-test.inc (pow_test): Add more tests.
32400
eb96ffb0
L
324012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32402
32403 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32404 <stdio-common/_itoa.h>.
32405 * debug/segfault.c: Likewise.
32406 * elf/dl-cache.c: Likewise.
32407 * elf/dl-minimal.c: Likewise.
32408 * elf/dl-misc.c: Likewise.
32409 * elf/dl-sysdep.c: Likewise.
32410 * elf/dl-version.c: Likewise.
32411 * elf/rtld.c: Likewise.
32412 * hurd/hurdsock.c: Likewise.
32413 * hurd/lookup-retry.c: Likewise.
32414 * malloc/malloc.c: Likewise.
32415 * malloc/mtrace.c: Likewise.
32416 * nscd/nscd_getgr_r.c: Likewise.
32417 * nscd/nscd_getpw_r.c: Likewise.
32418 * nscd/nscd_getserv_r.c: Likewise.
32419 * posix/getopt_init.c: Likewise.
32420 * posix/wordexp.c: Likewise.
32421 * stdio-common/_itoa.c: Likewise.
32422 * stdio-common/printf_fphex.c: Likewise.
32423 * stdio-common/vfprintf.c: Likewise.
32424 * string/_strerror.c: Likewise.
32425 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32426 * sysdeps/i386/i686/hp-timing.h: Likewise.
32427 * sysdeps/mach/_strerror.c: Likewise.
32428 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32429 * sysdeps/mach/hurd/sethostid.c: Likewise.
32430 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32431 * sysdeps/mach/xpg-strerror.c: Likewise.
32432 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32434 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32435 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32436 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32437 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32438 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32439 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32440 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32441 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32442 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32443 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32444 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32445 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32446 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32447 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32448 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32449 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32450 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32451 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32452 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32453
32454 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32455
32456 * stdio-common/_itoa.h: Moved to ...
32457 * sysdeps/generic/_itoa.h: Here.
32458
32459 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32460
32461 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32462 instead of "_itoa.h" and "_itowa.h".
32463 * stdio-common/vfprintf.: Likewise.
32464
d1af992d
L
324652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32466
32467 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32468 <bits/wordsize.h>.
32469 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32470 (__signbit): Likwise.
32471 (llrintf): Likwise.
32472 (llrint): Likwise.
32473
114883e0
L
324742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32475
32476 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32477 __WORDSIZE != 64.
32478
c135cc1b
JM
324792012-03-20 Joseph Myers <joseph@codesourcery.com>
32480
32481 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32482 OVERFLOW_EXCEPTION_OK.
32483 * math/libm-test.inc ("Philosophy"): Update comment about
32484 exception testing.
32485 (OVERFLOW_EXCEPTION): Define.
32486 (OVERFLOW_EXCEPTION_OK): Likewise.
32487 (INVALID_EXCEPTION_OK): Renumber.
32488 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32489 (IGNORE_ZERO_INF_SIGN): Likewise.
32490 (test_exceptions): Handle FE_OVERFLOW.
32491 (exp10_test): Expect overflow exceptions.
32492 (exp2_test): Likewise.
32493 (expm1_test): Likewise.
32494 (nextafter_test): Likewise.
32495 (pow_test): Likewise.
32496 (scalbn_test): Likewise.
32497 (scalbln_test): Likewise.
32498
95443d88
L
324992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32500
32501 * sysdeps/x86_64/bits/atomic.h
32502 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32503 64bit integer.
32504 (atomic_exchange_acq): Likewise.
32505 (__arch_exchange_and_add_body): Likewise.
32506 (__arch_add_body): Likewise.
32507 (atomic_add_negative): Likewise.
32508 (atomic_add_zero): Likewise.
32509
490df6c4
L
325102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32511
c2722551 32512 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32513 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32514
5e52b189
L
325152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32516
32517 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32518 Check __x86_64__ instead of __WORDSIZE.
32519
a9879d4c
L
325202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32521
32522 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32523
5df98260
DM
325242012-03-19 David S. Miller <davem@davemloft.net>
32525
e1497744
DM
32526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32527
5df98260
DM
32528 * sysdeps/sparc/fpu/fenv_private.h: New file.
32529 * sysdeps/sparc/fpu/math_private.h: Use it.
32530 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32531 Remove.
32532 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32533 (libc_feholdexcept_setroundl): Remove.
32534 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32535 Remove.
32536 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32537 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32538
b4c35121
L
325392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32540
32541 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32542 int64_t instead of long int.
32543 (INSERT_WORDS64): Likwise.
32544
56965fd7
L
325452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32546
32547 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32548 _Unwind_GetCFA return to _Unwind_Ptr first.
32549
83d1aec8
JM
325502012-03-19 Joseph Myers <joseph@codesourcery.com>
32551
1897ad44
JM
32552 [BZ #13629]
32553 * math/s_clog.c: Include <float.h>.
32554 (__clog): Scale large or subnormal inputs.
32555 * math/s_clogf.c: Likewise.
32556 * math/s_clogl.c: Likewise.
32557 * math/s_clog10.c: Include <float.h>.
32558 (M_LOG10_2): Define.
32559 (__clog10): Scale large or subnormal inputs.
32560 * math/s_clog10f.c: Likewise.
32561 * math/s_clog10l.c: Likewise.
32562 * math/libm-test.inc (clog_test): Add more tests.
32563 (clog10_test): Likewise.
32564 * sysdeps/i386/fpu/libm-test-ulps: Update.
32565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32566
7726d6a9
JM
32567 [BZ #11451]
32568 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32569 x and y.
32570 * math/libm-test.inc (atan2_test): Add another test.
32571
83d1aec8
JM
32572 * Makerules (common-objdir-compile): Remove.
32573 * sysdeps/unix/Makefile (config-generated): Do not add
32574 $(unix-generated) to variable.
32575 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32576 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32577 Remove rule.
32578 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32579 Likewise.
32580 [generic bits/local_lim.h] (before-compile): Do not append to
32581 variable.
32582 [generic bits/local_lim.h] (common-generated): Likewise.
32583 [generic sys/param.h] (before-compile): Do not append to variable.
32584 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32585 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32586 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32587 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32588 include.
32589 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32590 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32591 [generic sys/param.h] ($(addprefix
32592 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32593 [generic sys/param.h] (common-generated): Do not append to
32594 variable.
32595 [generic sys/param.h] (sysdep_headers): Likewise.
32596 [generic bits/errno.h] (before-compile): Do not append to
32597 variable.
32598 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32599 rule.
32600 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32601 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32602 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32603 [generic bits/errno.h] (common-generated): Do not append to
32604 variable.
32605 [generic bits/ioctls.h] (before-compile): Do not append to
32606 variable.
32607 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32608 rule.
32609 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32610 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32611 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32612 rule.
32613 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32614 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32615 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32616 [generic bits/ioctls.h] (common-generated): Do not append to
32617 variable.
32618 [generic sys/syscall.h] (syscall.h): Remove variable.
32619 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32620 rule.
32621 [generic sys/syscall.h] (before-compile): Do not append to
32622 variable.
32623 [generic sys/syscall.h] (common-generated): Likewise.
32624 * sysdeps/unix/errnos-tmpl.c: Remove file.
32625 * sysdeps/unix/errnos.awk: Likewise.
32626 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32627 * sysdeps/unix/ioctls.awk: Likewise.
32628 * sysdeps/unix/mk-local_lim.c: Likewise.
32629 * sysdeps/unix/snarf-ioctls: Likewise.
32630
4851a949
RH
326312012-03-19 Richard Henderson <rth@twiddle.net>
32632
bd37f2ee
RH
32633 * sysdeps/i386/fpu/fenv_private.h: New file.
32634 * sysdeps/i386/fpu/math_private.h: Use it.
32635 (math_opt_barrier, math_force_eval): Remove.
32636 (libc_feholdexcept_setround_53bit): Remove.
32637 (libc_feupdateenv_53bit): Remove.
32638 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32639 (math_opt_barrier, math_force_eval): Remove.
32640 (libc_feholdexcept): Remove.
32641 (libc_feholdexcept_setround): Remove.
32642 (libc_fetestexcept, libc_fesetenv): Remove.
32643 (libc_feupdateenv_test): Remove.
32644 (libc_feupdateenv, libc_feholdsetround): Remove.
32645 (libc_feresetround): Remove.
32646
d0adc922
RH
32647 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32648 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32649
0fe0f1f8
RH
32650 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32651 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32652 (libc_feupdateenv_testl): New.
32653 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32654 (libc_feupdateenv_testf): New.
32655 (libc_feupdateenv): Use libc_feupdateenv_test.
32656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32657 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32658
eb92c487
RH
32659 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32660 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32661 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32662 (libc_feresetround_noex): New.
32663 (libc_feresetround_noexf): New.
32664 (libc_feresetround_noexl): New.
32665 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32666 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32667 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32668 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32669 SET_RESTORE_ROUND.
32670 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32671 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32672 (__cos): Likewise.
32673 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32674 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32675 SET_RESTORE_ROUND_NOEX.
32676 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32677 SET_RESTORE_ROUND_NOEXF.
32678 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32679 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32680 (libc_feholdsetroundf): New.
32681 (libc_feresetround, libc_feresetroundf): New.
32682
7d2e8012
RH
32683 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32684 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32685 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32686
b4dabbb4
RH
32687 * sysdeps/generic/math_private.h: Include <fenv.h>.
32688 (default_libc_feholdexcept): New.
32689 (default_libc_feholdexcept_setround): New.
32690 (default_libc_fesetenv, default_libc_feupdateenv): New.
32691 (libc_feholdexcept): Only define if undefined.
32692 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32693 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32694 (libc_feholdexcept_setroundl): Likewise.
32695 (libc_feholdexcept_setround_53bit): Likewise.
32696 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32697 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32698 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32699 (libc_feupdateenv_53bit): Likewise.
32700 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32701 (libc_feholdexcept): Convert from macro to inline function.
32702 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32703 (libc_fesetenv, libc_feupdateenv): Likewise.
32704
4851a949
RH
32705 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32706 not previously defined.
32707 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32708 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32709 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32710 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32711 * sysdeps/ieee754/flt-32/math_private.h: New file.
32712 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32713 math_private.h below SET_FLOAT_WORD.
32714 (__isnan, __isinf_ns, __finite): Remove.
32715 (__isnanf, __isinf_nsf, __finitef): Remove.
32716
e79d442e
AS
327172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32718
32719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32720
90b80344
DM
327212012-03-17 David S. Miller <davem@davemloft.net>
32722
32723 [BZ #6471]
32724 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32725 for 2.16.
32726
edc21804
DM
327272012-03-16 David S. Miller <davem@davemloft.net>
32728
77e927af
DM
32729 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32730 warnings.
32731
374976dd
DM
32732 [BZ #6471]
32733 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32734 properly.
32735 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32736 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32737 sysdep_routines when subdir is sysvipc.
32738 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32739 __getshmlba helper.
32740
edc21804
DM
32741 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32742
473c3ef3
L
327432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32744
32745 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32746 [__LP64__].
32747
eb0f39b6
L
327482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32749
32750 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32751 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32752 (__lround): Renamed to ...
32753 (__llround): This. Replace long int with long long int.
32754 Define lround functions as aliases of llround functions.
32755 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32756
6b6cd74b
L
327572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32758
32759 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32760 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32761 adresses to uintptr_t. Replace "long int" and "unsigned long
32762 int" with "greg_t" on va_arg.
32763
f1a77b01
L
327642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32765
32766 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32767 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32768
32769 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32770 Move e_machine check before EI_CLASS check. Handle x32
32771 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32772 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32773 SKIP_EM_IA_64 and include
32774 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32775
32776 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32777 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32778 (add_system_dir): New macro.
32779
32780 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32781 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32782
11b90b9f
JM
327832012-03-16 Joseph Myers <joseph@codesourcery.com>
32784
c36e1d23
JM
32785 [BZ #2551]
32786 [BZ #2552]
32787 [BZ #2553]
32788 [BZ #2554]
32789 [BZ #2562]
32790 [BZ #2563]
32791 [BZ #2565]
32792 [BZ #2566]
32793 [BZ #2576]
32794 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32795 (y0): Likewise.
32796 * math/w_j0f.c (j0f): Likewise.
32797 (y0f): Likewise.
32798 * math/w_j0l.c (__j0l): Likewise.
32799 (__y0l): Likewise.
32800 * math/w_j1.c (j1): Likewise.
32801 (y1): Likewise.
32802 * math/w_j1f.c (j1f): Likewise.
32803 (y1f): Likewise.
32804 * math/w_j1l.c (__j1l): Likewise.
32805 (__y1l): Likewise.
32806 * math/w_jn.c (jn): Likewise.
32807 (yn): Likewise.
32808 * math/w_jnf.c (jnf): Likewise.
32809 (ynf): Likewise.
32810 * math/w_jnl.c (__jnl): Likewise.
32811 (__ynl): Likewise.
32812 * math/libm-test.inc (j0_test): Add more tests.
32813 (j1_test): Likewise.
32814 (jn_test): Likewise. Add trailing semicolon to existing test.
32815 (y0_test): Likewise.
32816 (y1_test): Likewise.
32817 * sysdeps/i386/fpu/libm-test-ulps: Update.
32818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32819
11b90b9f
JM
32820 [BZ #13851]
32821 [BZ #13854]
32822 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32823 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32824 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32825 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32826 (__tanl): Set errno for infinite argument.
32827 * sysdeps/i386/fpu/mptan.c: Remove.
32828 * sysdeps/i386/fpu/s_tan.S: Likewise.
32829 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32830 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32831 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32832 * math/libm-test.inc (tan_test): Add more tests and enable more
32833 tests for double and long double.
32834 * sysdeps/i386/fpu/libm-test-ulps: Update.
32835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32836
6a1bd2a1
JK
328372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32838
32839 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32840 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32841
10a803e0
RM
328422012-03-16 Roland McGrath <roland@hack.frob.com>
32843
32844 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32845 * configure.in: Use it for both main tree and add-ons.
32846 * configure: Regenerated.
32847
f196c7f7
L
328482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32849
32850 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32851
8848d99d
JM
328522012-03-16 Joseph Myers <joseph@codesourcery.com>
32853
96cbe7f4
JM
32854 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32855 in comment.
32856
8848d99d
JM
32857 [BZ #13851]
32858 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32859 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32860 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32861 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32862 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32863 infinite argument.
32864 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32865 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32866 != 0 for prec == 2.
32867 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32868 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32869 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32870 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32871 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32872 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32873 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32874 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32875 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32876 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32877 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32878 * math/libm-test.inc (cos_test): Add more tests and enable more
32879 tests for long double.
32880 (sin_test): Likewise.
32881 (sincos_test): Likewise.
32882 * sysdeps/i386/fpu/libm-test-ulps: Update.
32883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32884
dd7f4703
DM
328852012-03-16 David S. Miller <davem@davemloft.net>
32886
32887 * sysdeps/sparc/fpu/math_private.h: New file.
32888
006f1daa
DM
328892012-03-15 David S. Miller <davem@davemloft.net>
32890
c0c83bc8
DM
32891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32892 file.
e6a62e18 32893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32895 file.
e6a62e18
DM
32896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32902 sysdep routines.
32903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32904
88cb87d9
DM
32905 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32906 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32907
006f1daa 32908 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32910 sparc-ifunc.h
006f1daa 32911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32913 Likewise.
32914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32915 Likewise.
006f1daa
DM
32916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32920 Likewise.
006f1daa
DM
32921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32926 Likewise.
32927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32928 Likewise.
006f1daa
DM
32929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32953
11e0098e
AS
329542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32955
32956 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32957 scaling.
32958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32959
e85b09d0
AJ
329602012-03-15 Andreas Jaeger <aj@suse.de>
32961
32962 [BZ #13852]
32963 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32964 ieee754/flt-32 implementation for sin, cos and sincos.
32965 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32966 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32967 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32968 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32969 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32970 ieee754/flt-32 implementation for tan.
32971
32972 * math/libm-test.inc (cos_test): Enable some large input tests for
32973 float as well
32974 (sin_test): Likewise.
32975 (sincos_test): Likewise.
32976 (tan_test): Add tests for large input.
32977
32978 * sysdeps/i386/fpu/libm-test-ulps: Update.
32979
81c64153
AJ
329802012-03-15 Andreas Jaeger <aj@suse.de>
32981
32982 [BZ #13658]
32983 * math/libm-test.inc (cos_test): Add more test cases.
32984 (sin_test): Likewise.
32985 (sincos_test): Likewise.
32986
7bbfa5c6
AJ
329872012-03-15 Andreas Jaeger <aj@suse.de>
32988
32989 [BZ #13837]
32990 * math/libm-test.inc (cos_test): Add a test case for large input
32991 value.
32992 (sin_test): Likewise.
32993 (sincos_test): Likewise.
32994
329952012-03-15 Andreas Jaeger <aj@suse.de>,
32996 Joseph Myers <joseph@codesourcery.com>
32997
32998 [BZ #13658]
0671f479 32999 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33000 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33001 * sysdeps/i386/fpu/branred.c: Likewise.
33002 * sysdeps/i386/fpu/dosincos.c: Likewise.
33003 * sysdeps/i386/fpu/mpa.c: Likewise.
33004 * sysdeps/i386/fpu/s_cos.S: Likewise.
33005 * sysdeps/i386/fpu/s_sin.S: Likewise.
33006 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33007 * sysdeps/i386/fpu/sincos32.c: Likewise.
33008
33009 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33010 Define.
33011 (libc_feupdateenv_53bit): Define.
33012 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33013 Define.
33014 (libc_feupdateenv_53bit): Define.
33015
33016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33017 53 bit (without extend i386 double precision).
33018
33019 * math/libm-test.inc (sincos_test): Add tests for large input.
33020 (sin): Likewise.
33021 (cos): Likewise.
33022
33023 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33024
9cad04ea
AS
330252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33026
33027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33028
f7062b9a
DM
330292012-03-15 David S. Miller <davem@davemloft.net>
33030
33031 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33032 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33033 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33034 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33047 file.
f7062b9a 33048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33050 file.
f7062b9a 33051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33053 file.
f7062b9a 33054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33056 file.
f7062b9a
DM
33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33058 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33059 fmin/fmax sysdep routines.
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33061
7bd951ff
DM
330622012-03-14 David S. Miller <davem@davemloft.net>
33063
559398ab
DM
33064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33069 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33070 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33071 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33084 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33092 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33093 routines.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33095 file.
559398ab 33096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33098 file.
559398ab 33099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33101 file.
559398ab 33102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33104 file.
559398ab 33105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33107 file.
559398ab 33108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33110 file.
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33112 file.
33113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33114 file.
33115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33116 file.
33117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33118 New file.
33119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33120 file.
33121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33122 file.
559398ab 33123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33125 file.
559398ab 33126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33128 file.
559398ab 33129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33131 file.
559398ab 33132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33134 VIS3 routines.
559398ab
DM
33135
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33137 New file.
33138
5a1c1e32
DM
33139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33140
eae47a36
DM
33141 * sysdeps/sparc/configure.in: New file.
33142 * sysdeps/sparc/configure: Generate.
33143 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33144 * configure: Regenerate.
33145 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33146 * config.make.in (have-as-vis3): New.
33147 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33148 available use -Av9d instead of -Av9a.
33149 * sysdeps/sparc/sparc64/Makefile: Likewise.
33150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33152 New file.
33153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33154 file.
33155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33156 New file.
33157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33158 file.
eae47a36
DM
33159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33164
c0c83bc8
DM
33165 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33166 fzeros/fnegs to load 0x80000000 into a float register instead of
33167 using the stack.
7bd951ff
DM
33168 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33169
bd951ccb
JM
331702012-03-14 Joseph Myers <joseph@codesourcery.com>
33171
33172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33173 bits/syscall.h.
33174 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33175 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33176 ($(inst_includedir)/bits/syscall.h): Remove rule.
33177 ($(objpfx)bits/syscall.d): Include instead of
33178 $(objpfx)syscall-list.d.
33179 (generated): Change syscall-list.h and syscall-list.d to
33180 bits/syscall.h and bits/syscall.d.
33181
bb4e6db2
RM
331822012-03-14 Roland McGrath <roland@hack.frob.com>
33183
33184 [BZ #13846]
33185 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33186
aa4a2ae1
JM
331872012-03-14 Joseph Myers <joseph@codesourcery.com>
33188
e456826d
JM
33189 [BZ #13841]
33190 * math/s_csqrt.c: Include <float.h>.
33191 (__csqrt): Scale large or subnormal inputs.
33192 * math/s_csqrtf.c: Likewise.
33193 * math/s_csqrtl.c: Likewise.
33194 * math/libm-test.inc (csqrt_test): Add more tests.
33195 * sysdeps/i386/fpu/libm-test-ulps: Update.
33196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33197
aa4a2ae1
JM
33198 [BZ #13840]
33199 * math/libm-test.inc (hypot_test): Add more tests.
33200
7c10fd35
DM
332012012-03-13 David S. Miller <davem@davemloft.net>
33202
33203 [BZ #13840]
33204 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33205 double-precision for the calculation instead of scaling.
33206
f453b98b
JM
332072012-03-13 Joseph Myers <joseph@codesourcery.com>
33208
33209 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33210 manipulate bits before adding and subtracting TWO52[sx].
33211 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33212 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33213 Likewise.
33214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33215
09a3453f
DM
332162012-03-13 David S. Miller <davem@davemloft.net>
33217
8e59da90
DM
33218 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33219 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33221 rtld-global-offsets.h
33222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33223
2a8ab7f2
DM
33224 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33225 large parameters.
33226
10f62770
DM
33227 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33228
5f0bdb18
DM
33229 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33230 'err' in the ifdef scope in which it is actually used.
33231
09a3453f
DM
33232 * nss/nss_db/db-init.c: Include string.h
33233
b4b2eb5e
DM
332342012-03-12 David S. Miller <davem@davemloft.net>
33235
98bb2f1c
DM
33236 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33237 masking out of the most significant byte of random value used.
33238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33239 Fix coding style in previous change.
33240
b4b2eb5e
DM
33241 * sysdeps/unix/sysv/linux/kernel-features.h
33242 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33243 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33244 expression.
33245 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33246 later.
33247
6e226b09
DM
332482012-03-11 David S. Miller <davem@davemloft.net>
33249
a1bcbd40
DM
33250 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33251 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33252 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33253 for 'resultvar' otherwise things get truncated on 64-bit.
33254
cb9d6174
DM
33255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33256 Fix masking out of the most significant byte of random value used.
33257
6e226b09
DM
33258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33259
058c132d
AS
332602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33261
33262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33263
2d2cd515
DM
332642012-03-09 David S. Miller <davem@davemloft.net>
33265
33266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33267 variables with appropriate CPP guards.
33268 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33269 frame pointer, not the stack pointer. Correct layout comments. Fix test
33270 on resulting framesize and the management of the outregs buffer for pltexit.
33271 Preserve floating point return values across _dl_call_pltexit call.
33272 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33273 framesize and the management of the outregs buffer for pltexit.
33274 Preserve floating point return values across _dl_call_pltexit
33275 call.
33276 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33277 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33278 (print_exit): Fix format string for return register value.
33279
9a07f9d0
JM
332802012-03-10 Joseph Myers <joseph@codesourcery.com>
33281
33282 * sunrpc/Makefile (others): Add rpcgen.
33283 ($(objpfx)rpcgen): Remove special build rule and dependency on
33284 libc.
33285 * sunrpc/rpcgen.c: New file.
33286
547b5e30
PE
332872012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33288
c524201a
PE
33289 [BZ #13673]
33290 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33291 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33292 * sysdeps/i386/crti.S: Likewise.
33293 * sysdeps/i386/crtn.S: Likewise.
33294 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33295 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33296 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33297 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33298 * sysdeps/sh/crti.S: Likewise.
33299 * sysdeps/sh/crtn.S: Likewise.
33300 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33301
7b6235f2
PE
33302 [BZ #13673]
33303 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33304 with URL.
33305 * locale/programs/locfile-kw.gperf: Likewise.
33306 * locale/programs/charmap-kw.h: Regenerated.
33307 * locale/programs/locfile-kw.h: Likewise.
33308
547b5e30
PE
33309 [BZ #13673]
33310 * intl/plural.y: Replace FSF snail mail address with URL.
33311 * intl/plural.c: Regenerated.
33312
5f0a5dae
RH
333132012-03-09 Richard Henderson <rth@twiddle.net>
33314
33315 * include/math_private.h: Remove file.
33316 * math/math_private.h: Move file ...
33317 * sysdeps/generic/math_private.h: ... here.
33318
b8c03620
RH
33319 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33320 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33321 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33322
4e234f5d 33323 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33324 and <math_private.h>.
33325 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33326 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33327 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33328 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33329 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33330 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33333 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33336 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33337 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33338 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33339 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33340 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33341 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33343 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33344 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33346 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33347 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33362 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33363 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33366 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33368 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33369 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33370 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33371 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33372 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33373 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33374 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33375 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33376 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33377 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33378 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33379 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33380 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33381 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33382 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33383 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33384 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33385 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33386 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33388 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33389 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33390 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33391 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33392 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33393 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33394 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33395 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33396 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33397 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33398 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33399 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33401 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33402 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33405 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33406 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33407 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33408 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33409 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33411 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33412 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33413 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33414 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33415 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33416 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33417 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33418 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33419 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33420 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33421 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33422 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33423 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33425 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33426 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33427 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33428 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33429 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33430 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33431 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33432 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33433 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33434 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33435 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33436 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33437 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33438 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33439 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33440 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33441 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33442 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33443 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33444 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33445 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33446 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33447 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33448 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33449 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33450 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33452 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33453 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33454 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33455 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33456 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33457 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33458 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33459 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33460 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33461 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33462 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33463 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33464 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33465 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33466 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33467 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33468 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33469 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33470 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33471 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33472 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33473 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33474 * sysdeps/ieee754/k_standard.c: Likewise.
33475 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33477 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33481 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33483 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33484 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33485 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33487 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33488 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33489 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33490 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33492 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33493 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33494 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33496 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33497 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33498 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33500 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33501 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33502 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33503 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33506 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33507 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33508 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33509 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33510 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33511 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33512 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33513 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33514 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33515 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33516 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33517 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33518 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33519 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33520 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33521 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33523 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33524 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33525 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33526 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33527 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33528 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33529 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33530 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33531 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33533 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33534 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33535 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33536 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33545 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33548 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33549 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33551 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33552 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33557 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33559 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33560 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33561 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33562 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33563 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33565 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33566 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33567 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33568 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33569 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33570 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33571 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33572 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33573 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33574 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33576 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33578 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33579 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33580 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33581 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33582 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33583 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33584 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33585 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33586 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33587 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33588 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33589 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33590 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33591 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33592 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33593 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33594 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33595 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33596 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33597 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33598 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33599 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33600 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33601 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33602 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33603 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33604 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33605 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33606 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33607 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33608 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33609 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33610 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33611 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33612 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33613 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33614 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33615 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33616 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33617 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33618 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33619 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33620 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33621 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33622 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33623 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33624 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33625 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33626 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33627 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33628 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33630 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33631 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33632 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33635 * sysdeps/ieee754/s_lib_version.c: Likewise.
33636 * sysdeps/ieee754/s_matherr.c: Likewise.
33637 * sysdeps/ieee754/s_signgam.c: Likewise.
33638 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33639 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33640 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33641 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33642 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33643 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33644 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33645 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33646 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33647 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33648 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33649 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33650 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33651 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33652 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33653 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33654 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33655 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33659
1991fa03
JM
336602012-03-09 Joseph Myers <joseph@codesourcery.com>
33661
33662 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33663 * sunrpc/rpc_main.c: Likewise.
33664 * sunrpc/rpc_svcout.c: Likewise.
33665
60d6f5a6
DM
336662012-03-09 David S. Miller <davem@davemloft.net>
33667
33668 * include/math_private.h: New file.
33669
4962050e
JM
336702012-03-09 Joseph Myers <joseph@codesourcery.com>
33671
02a6f887
JM
33672 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33673 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33674 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33675 from <bits/socket_type.h>.
33676 (enum __socket_type): Don't define here.
33677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33679 bits/socket_type.h.
33680
c6e013c1
JM
33681 [BZ #13566]
33682 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33683 checking __USE_GNU.
33684
4962050e
JM
33685 * Makerules ($(inst_includedir)/%.h): New rule.
33686 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33687 (install-others): Remove variable setting.
33688 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33689
38842f45
RH
336902012-03-08 Richard Henderson <rth@twiddle.net>
33691
67bb6da6
RH
33692 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33693 from macro to inline function; merge with the
33694 !__LIBC_INTERNAL_MATH_INLINES version.
33695 (__ieee754_sqrtf): Likewise.
33696
15194b4b
RH
33697 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33698 to inline function.
33699 (__rintf, __floor, __floorf): Likewise.
33700
64e21ede
RH
33701 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33702 macro to inline function.
33703 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33704
38842f45
RH
33705 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33706 not <math/math_private.h>.
33707
c64bf5fe
DM
337082012-03-08 David S. Miller <davem@davemloft.net>
33709
33710 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33711 copyright year.
33712 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33713
82d86f28
TS
337142012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33715
33716 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33717 normalization.
33718 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33719 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33720
aea5d727
UD
337212012-03-08 Ulrich Drepper <drepper@gmail.com>
33722
33723 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33724 be defined individually, they must be defined as a block. Define
33725 S for printing a string instead of hidint the different by using a
33726 macro for adding the 'l'.
33727 * stdio-common/tst-fphex-wide.c: Adjust.
33728
70bca0a3
MP
337292012-03-07 Marek Polacek <polacek@redhat.com>
33730
33731 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33732
65b81130
MP
337332012-03-08 Marek Polacek <polacek@redhat.com>
33734
33735 [BZ #13806]
33736 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33737 * stdio-common/tst-fphex.c: Define a few macros to make the
33738 test reusable. Use them.
33739 * stdio-common/tst-fphex-wide.c: New file.
33740
07037eeb
JM
337412012-03-08 Joseph Myers <joseph@codesourcery.com>
33742
a7a93d50
JM
33743 [BZ #6911]
33744 * manual/macros.texi (gnusystems): New macro.
33745 (nongnusystems): Likewise.
33746 (gnulinuxhurdsystems): Likewise.
33747 (gnuhurdsystems): Likewise..
33748 (gnulinuxsystems): Likewise.
33749 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33750 variants of the GNU system, not "GNU system".
33751 * manual/conf.texi: Likewise.
33752 * manual/errno.texi: Likewise. Update example of errno macro
33753 expansion.
33754 * manual/filesys.texi: Likewise.
33755 (getumask): Document as specific to GNU/Hurd.
33756 * manual/install.texi: Likewise. Reword some references to
33757 GNU/Linux.
33758 * manual/intro.texi: Likewise.
33759 * manual/io.texi: Likewise.
33760 (File Name Portability): Detail which constraints are inapplicable
33761 to all GNU systems and which are only inapplicable to GNU/Hurd.
33762 * manual/job.texi: Likewise.
33763 * manual/llio.texi: Likewise.
33764 (O_NOCTTY): Document as present on GNU/Linux.
33765 * manual/maint.texi: Likewise.
33766 * manual/memory.texi: Likewise.
33767 * manual/pattern.texi: Likewise.
33768 * manual/pipe.texi: Likewise.
33769 * manual/process.texi: Likewise.
33770 * manual/resource.texi: Likewise.
33771 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33772 child on GNU/Hurd.
33773 * manual/setjmp.texi: Likewise.
33774 * manual/signal.texi: Likewise.
33775 * manual/startup.texi: Likewise.
33776 * manual/stdio.texi: Likewise.
33777 * manual/terminal.texi: Likewise.
33778 (ONLCR): Document as POSIX.
33779 (OXTABS): Document availability on GNU/Linux as XTABS.
33780 (ONOEOT): Document availability separately from other bits.
33781 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33782 * manual/time.texi: Likewise.
33783 * manual/users.texi: Likewise.
33784 * INSTALL: Regenerated.
33785 * sysdeps/gnu/errlist.c: Regenerated.
33786
07037eeb
JM
33787 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33788 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33789 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33790 puts.
33791 * configure: Regenerated.
33792
d1d3431a
JM
337932012-03-07 Joseph Myers <joseph@codesourcery.com>
33794
af6a1e37
JM
33795 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33796 default includes instead of AC_HEADER_CHECK.
33797 * sysdeps/i386/configure: Regenerated.
33798
d1d3431a
JM
33799 [BZ #10716]
33800 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33801 * math/s_cacoshf.c (__cacoshf): Likewise.
33802 * math/s_cacoshl.c (__cacoshl): Likewise.
33803 * math/s_casinh.c (__casinh): Set signs of result from argument.
33804 * math/s_casinhf.c (__casinhf): Likewise.
33805 * math/s_casinhl.c (__casinhl): Likewise.
33806 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33807 (casinh_test): Add more tests.
33808 * sysdeps/i386/fpu/libm-test-ulps: Update.
33809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33810
482ff4da
UD
338112012-03-07 Ulrich Drepper <drepper@gmail.com>
33812
872fda05
UD
33813 * po/zh_TW.po: Update from translation team.
33814
a4300c7a
UD
33815 * login/Makefile (distribute): Remove variable.
33816 * catgets/Makefile: Likewise.
33817 * mach/Makefile: Likewise.
33818 * malloc/Makefile: Likewise.
33819 * misc/Makefile: Likewise.
33820 * iconv/Makefile: Likewise.
33821 * nscd/Makefile: Likewise.
33822 * hurd/Makefile: Likewise.
33823 * manual/Makefile: Likewise.
33824 * locale/Makefile: Likewise.
33825 * intl/Makefile: Likewise.
33826 * conform/Makefile: Likewise.
33827 * nss/Makefile: Likewise.
33828 * time/Makefile: Likewise.
33829 * soft-fp/Makefile: Likewise.
33830 * dirent/Makefile: Likewise.
33831 * gmon/Makefile: Likewise.
33832 * po/Makefile: Likewise.
33833 * rt/Makefile: Likewise.
33834 * socket/Makefile: Likewise.
33835 * math/Makefile: Likewise.
33836 * signal/Makefile: Likewise.
33837 * debug/Makefile: Likewise.
33838 * elf/Makefile: Likewise.
33839 * timezone/Makefile: Likewise.
33840 * stdlib/Makefile: Likewise.
33841 * iconvdata/Makefile: Likewise.
33842 * sunrpc/Makefile: Likewise.
33843 * io/Makefile: Likewise.
33844 * argp/Makefile: Likewise.
33845 * inet/Makefile: Likewise.
33846 * hesiod/Makefile: Likewise.
33847 * grp/Makefile: Likewise.
33848 * csu/Makefile: Likewise.
33849 * wctype/Makefile: Likewise.
33850 * crypt/Makefile: Likewise.
33851 * libio/Makefile: Likewise.
33852 * string/Makefile: Likewise.
33853 * nis/Makefile: Likewise.
33854 * resolv/Makefile: Likewise.
33855 * stdio-common/Makefile: Likewise.
33856 * wcsmbs/Makefile: Likewise.
33857 * dlfcn/Makefile: Likewise.
33858 * posix/Makefile: Likewise.
33859
3b7c4e74 33860 [BZ #6959]
482ff4da
UD
33861 * timezone/Makefile: Don't install timezone files, just the programs
33862 and scripts.
33863
f72ed77d
UD
338642012-03-06 Ulrich Drepper <drepper@gmail.com>
33865
a000466f
UD
33866 * nss/databases.def: Add missing gshadow entry.
33867
f72ed77d
UD
33868 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33869
a53b7a4e
MP
338702012-03-06 Marek Polacek <polacek@redhat.com>
33871
33872 [BZ #13726]
33873 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33874 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33875 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33876 * stdio-common/tst-long-dbl-fphex.c: New file.
33877
e9258400
DM
338782012-03-06 David S. Miller <davem@davemloft.net>
33879
33880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33881 (set_obp_int): New function.
33882 (get_obp_int): New function.
33883 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33884 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33885 Avoid unused variable warnings on 'val' and use builtin_expect.
33886 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33887 __builtin_expect.
e9258400
DM
33888 (INLINE_CLONE_SYSCALL): Likewise.
33889
3bd2c723
DM
338902012-03-05 David S. Miller <davem@davemloft.net>
33891
33892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33893
bbb78d03
AS
338942012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33895
884c5db4
AS
33896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33897
bbb78d03
AS
33898 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33899 only for |x| >= 40.
33900 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33901
1c9f702a 339022012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33903
33904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33905 Replace gettimeofday with __vdso_gettimeofday.
33906
7be16f82
RM
33907 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33908 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33909 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33910
33911 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33912 time with __vdso_time.
33913
ed58a00f
JM
339142012-03-05 Joseph Myers <joseph@codesourcery.com>
33915
33916 * manual/lang.texi (size_t): Note types to which size_t may be
33917 equivalent with the GNU C Library, but do not describe when
33918 differences between them are significant.
33919
30ee4ced
AJ
339202012-03-05 Andreas Jaeger <aj@suse.de>
33921
33922 * sysdeps/i386/fpu/libm-test-ulps: Update.
33923
b7cd39e8
JM
339242012-03-05 Joseph Myers <joseph@codesourcery.com>
33925
33926 [BZ #3976]
33927 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33928 (__ieee754_pow): Save and restore rounding mode and use
33929 round-to-nearest for main computations.
33930 * math/libm-test.inc (pow_test_tonearest): New function.
33931 (pow_test_towardzero): Likewise.
33932 (pow_test_downward): Likewise.
33933 (pow_test_upward): Likewise.
33934 (main): Call the new functions.
33935 * sysdeps/i386/fpu/libm-test-ulps: Update.
33936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33937
33938 [BZ #3976]
33939 * math/libm-test.inc (cosh_test_tonearest): New function.
33940 (cosh_test_towardzero): Likewise.
33941 (cosh_test_downward): Likewise.
33942 (cosh_test_upward): Likewise.
33943 (sinh_test_tonearest): Likewise.
33944 (sinh_test_towardzero): Likewise.
33945 (sinh_test_downward): Likewise.
33946 (sinh_test_upward): Likewise.
33947 (main): Call the new functions.
33948 * sysdeps/i386/fpu/libm-test-ulps: Update.
33949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33950
6c6a98c9
TV
339512012-03-05 Tom de Vries <tom@codesourcery.com>
33952
33953 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33954 default stack guard is set in last bytes.
33955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33956
21bb2d2e 339572012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33958
21bb2d2e 33959 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33960
21bb2d2e
AJ
33961 [BZ #13656]
33962 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33963 possibly allocate from heap instead of stack.
33964 * stdio-common/bug-vfprintf-nargs.c: New file.
33965 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33966
c6922934
AS
339672012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33968
33969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33970
bc957d53
MP
339712012-03-03 Marek Polacek <polacek@redhat.com>
33972
33973 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33974 * math/math_private.h: Likewise.
33975 * stdlib/tst-strtod.c: Likewise.
33976 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33977 * sysdeps/x86_64/bits/atomic.h: Likewise.
33978
6358490d
DM
339792012-03-02 David S. Miller <davem@davemloft.net>
33980
33981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33985 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33986 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33987 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33988 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33989
01ae168d
RM
339902012-03-02 Roland McGrath <roland@hack.frob.com>
33991
d9a17c07
RM
33992 [BZ #13792]
33993 * manual/examples/README: New file, says the example source files
33994 can be used under GPL>=2.
33995 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33996 line containing just "*/".
33997 * manual/examples/add.c: Add copyright header (GPL>=2).
33998 * manual/examples/argp-ex1.c: Likewise.
33999 * manual/examples/argp-ex2.c: Likewise.
34000 * manual/examples/argp-ex3.c: Likewise.
34001 * manual/examples/argp-ex4.c: Likewise.
34002 * manual/examples/atexit.c: Likewise.
34003 * manual/examples/db.c: Likewise.
34004 * manual/examples/dir.c: Likewise.
34005 * manual/examples/dir2.c: Likewise.
34006 * manual/examples/execinfo.c: Likewise.
34007 * manual/examples/filecli.c: Likewise.
34008 * manual/examples/filesrv.c: Likewise.
34009 * manual/examples/fmtmsgexpl.c: Likewise.
34010 * manual/examples/genpass.c: Likewise.
34011 * manual/examples/inetcli.c: Likewise.
34012 * manual/examples/inetsrv.c: Likewise.
34013 * manual/examples/isockad.c: Likewise.
34014 * manual/examples/longopt.c: Likewise.
34015 * manual/examples/memopen.c: Likewise.
34016 * manual/examples/memstrm.c: Likewise.
34017 * manual/examples/mkfsock.c: Likewise.
34018 * manual/examples/mkisock.c: Likewise.
34019 * manual/examples/mygetpass.c: Likewise.
34020 * manual/examples/pipe.c: Likewise.
34021 * manual/examples/popen.c: Likewise.
34022 * manual/examples/rprintf.c: Likewise.
34023 * manual/examples/search.c: Likewise.
34024 * manual/examples/select.c: Likewise.
34025 * manual/examples/setjmp.c: Likewise.
34026 * manual/examples/sigh1.c: Likewise.
34027 * manual/examples/sigusr.c: Likewise.
34028 * manual/examples/stpcpy.c: Likewise.
34029 * manual/examples/strdupa.c: Likewise.
34030 * manual/examples/strftim.c: Likewise.
34031 * manual/examples/strncat.c: Likewise.
34032 * manual/examples/subopt.c: Likewise.
34033 * manual/examples/swapcontext.c: Likewise.
34034 * manual/examples/termios.c: Likewise.
34035 * manual/examples/testopt.c: Likewise.
34036 * manual/examples/testpass.c: Likewise.
34037 * manual/examples/timeval_subtract.c: Likewise.
34038
01ae168d
RM
34039 [BZ #13792]
34040 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34041 function to ...
34042 * manual/timeval_subtract.c.texi: ... here, new file.
34043
49efa33d
DM
340442012-03-02 David S. Miller <davem@davemloft.net>
34045
34046 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34047
28afd92d
JM
340482012-03-02 Joseph Myers <joseph@codesourcery.com>
34049
804360ed
JM
34050 [BZ #3976]
34051 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34052 (__sin): Save and restore rounding mode and use round-to-nearest
34053 for all computations.
34054 (__cos): Save and restore rounding mode and use round-to-nearest
34055 for all computations.
34056 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34057 <fenv.h>.
34058 (tan): Save and restore rounding mode and use round-to-nearest for
34059 all computations.
34060 * math/libm-test.inc (cos_test_tonearest): New function.
34061 (cos_test_towardzero): Likewise.
34062 (cos_test_downward): Likewise.
34063 (cos_test_upward): Likewise.
34064 (sin_test_tonearest): Likewise.
34065 (sin_test_towardzero): Likewise.
34066 (sin_test_downward): Likewise.
34067 (sin_test_upward): Likewise.
34068 (tan_test_tonearest): Likewise.
34069 (tan_test_towardzero): Likewise.
34070 (tan_test_downward): Likewise.
34071 (tan_test_upward): Likewise.
34072 (main): Call the new functions.
34073 * sysdeps/i386/fpu/libm-test-ulps: Update.
34074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34075
a6d06d7b
JM
34076 [BZ #10135]
34077 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34078 small n, then large n, before computing and testing k+n.
34079 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34081 Likewise.
34082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34083 Likewise.
34084 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34085 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34086 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34087 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34088 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34089 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34092 * math/libm-test.inc (scalbn_test): Add more tests.
34093 (scalbln_test): Likewise.
34094
07e12bb3
JM
34095 * manual/filesys.texi (mode_t): Describe constraints on size and
34096 signedness, not exact equivalence to a particular type.
34097 (ino_t): Likewise.
34098 (ino64_t): Likewise.
34099 (dev_t): Likewise.
34100 (nlink_t): Likewise.
34101 (blkcnt_t): Likewise.
34102 (blkcnt64_t): Likewise.
34103 * manual/llio.texi (off_t): Likewise.
34104
28afd92d
JM
34105 [BZ #3976]
34106 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34107 (__ieee754_exp): Save and restore rounding mode and use
34108 round-to-nearest for all computations.
34109 * math/libm-test.inc (exp_test_tonearest): New function.
34110 (exp_test_towardzero): Likewise.
34111 (exp_test_downward): Likewise.
34112 (exp_test_upward): Likewise.
34113 (main): Call the new functions.
34114 * sysdeps/i386/fpu/libm-test-ulps: Update.
34115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34116
b1eeb65d
CD
341172012-03-01 Chris Demetriou <cgd@google.com>
34118
34119 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34120 have predictable order.
34121
53362a4b
DM
341222012-03-01 David S. Miller <davem@davemloft.net>
34123
3c969083
DM
34124 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34125
759707de
DM
34126 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34127 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34128 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34129 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34130
dfdb8ff2
DM
34131 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34132 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34133 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34135 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34136 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34137 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34138 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34139 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34140
ead89f96
DM
34141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34142
7f66bd07
DM
34143 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34144 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34145 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34146
53362a4b
DM
34147 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34148 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34149 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34150 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34151 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34152 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34153 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34154 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34155 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34156 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34157 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34158 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34160 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34161 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34163 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34164 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34165 * sysdeps/sparc/elf/configure: Regenerated.
34166
7b1902cb
JM
341672012-03-01 Joseph Myers <joseph@codesourcery.com>
34168
bec039bc
JM
34169 * configure.in (AS, LD): Require binutils 2.20 or later.
34170 * configure: Regenerated.
34171 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34172 as required minimum version.
34173 * INSTALL: Regenerated.
34174
7b1902cb
JM
34175 [BZ #2541]
34176 [BZ #4108]
34177 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34178 before squaring exponent.
34179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34180 bottom long double and 27 bits of top long double before squaring
34181 exponent.
34182 * math/libm-test.inc (erfc_test): Add more tests.
34183 * sysdeps/i386/fpu/libm-test-ulps: Update.
34184 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34186
f775c276
KT
341872012-03-01 Kai Tietz <ktietz@redhat.com>
34188
34189 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34190 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34191 containing bit-fields.
34192 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34193 * soft-fp/single.h (_FP_UNION_S): Likewise.
34194 * soft-fp/double.h (_FP_UNION_D): Likewise.
34195
5b8a4d4a
JM
341962012-02-29 Joseph Myers <joseph@codesourcery.com>
34197
0bab47b6
JM
34198 [BZ #13786]
34199 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34200 not include ../strcmp.S.
34201 [USE_AS_STRNCASECMP_L]: Likewise.
34202 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34203 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34204 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34205 (__strncasecmp_l_ia32): Define as alias to
34206 __strncasecmp_l_nonascii.
34207
0fcad3e2
JM
34208 [BZ #5794]
34209 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34210 * sysdeps/i386/fpu/libm-test-ulps: Update.
34211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34212
5b8a4d4a
JM
34213 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34215
8fdceb2e
JL
342162012-02-29 Jeff Law <law@redhat.com>
34217
34218 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34219 out of bounds read.
34220
1f393a11
MP
342212012-02-29 Marek Polacek <polacek@redhat.com>
34222
34223 [BZ #13706]
34224 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34225 * elf/Makefile: Add rules to run tst-unused-dep.out.
34226
8847f037
DM
342272012-02-28 David S. Miller <davem@davemloft.net>
34228
34229 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34230 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34231 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34232 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34233 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34234 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34235
169d7f11
JM
342362012-02-29 Joseph Myers <joseph@codesourcery.com>
34237
34238 * math/libm-test.inc (llround_test): Move one test from
34239 lround_test. Use TEST_f_L in moved test.
34240 (lround_test): Move misplaced test to llround_test. Add testcase
34241 from bug 2561.
34242
39adf059
UD
342432012-02-28 Ulrich Drepper <drepper@gmail.com>
34244
34245 * sysdeps/x86_64/fpu/e_expf.S: New file.
34246 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34247
71b5d1c5
SB
342482012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34249
34250 [BZ #13637]
34251 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34252 of remain_len that may cause incomplete multi-byte character and
34253 false match.
34254 * posix/bug-regex33.c: New file.
34255 * posix/Makefile (tests): Add bug-regex33.
34256
1f77f049
JM
342572012-02-28 Joseph Myers <joseph@codesourcery.com>
34258
34259 * manual/macros.texi: New file.
34260 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34261 * manual/libc.texinfo: Include macros.texi.
34262 * manual/creatute.texi: Likewise.
34263 * manual/install.texi: Likewise.
34264 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34265 @glibcadj{} in references to the GNU C Library.
34266 * manual/charset.texi: Likewise.
34267 * manual/conf.texi: Likewise.
34268 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34269 when not using those macros.
34270 * manual/creature.texi: Likewise.
34271 * manual/crypt.texi: Likewise.
34272 * manual/errno.texi: Likewise.
34273 * manual/filesys.texi: Likewise.
34274 * manual/header.texi: Likewise.
34275 * manual/install.texi: Likewise.
34276 * manual/intro.texi: Likewise.
34277 * manual/io.texi: Likewise.
34278 * manual/job.texi: Likewise.
34279 * manual/lang.texi: Likewise.
34280 * manual/libc.texiinfo: Likewise.
34281 * manual/llio.texi: Likewise.
34282 * manual/locale.texi: Likewise.
34283 * manual/maint.texi: Likewise.
34284 * manual/math.texi: Likewise.
34285 * manual/memory.texi: Likewise.
34286 * manual/message.texi: Likewise.
34287 * manual/nss.texi: Likewise.
34288 * manual/pattern.texi: Likewise.
34289 * manual/process.texi: Likewise.
34290 * manual/resource.texi: Likewise.
34291 * manual/search.texi: Likewise.
34292 * manual/setjmp.texi: Likewise.
34293 * manual/signal.texi: Likewise.
34294 * manual/socket.texi: Likewise.
34295 * manual/startup.texi: Likewise.
34296 * manual/stdio.texi: Likewise.
34297 * manual/string.texi: Likewise.
34298 * manual/sysinfo.texi: Likewise.
34299 * manual/syslog.texi: Likewise.
34300 * manual/terminal.texi: Likewise.
34301 * manual/time.texi: Likewise.
34302 * manual/users.texi: Likewise.
34303 * INSTALL: Regenerated.
34304 * NOTES: Regenerated.
d40c5d54 34305 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34306
450bf206
AS
343072012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34308
34309 * include/dirent.h: Include <dirstream.h> before
34310 <dirent/dirent.h>.
34311
741a235b
DM
343122012-02-28 David S. Miller <davem@davemloft.net>
34313
34314 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34315 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34316 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34317 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34318
d6b5aa58
DM
343192012-02-27 David S. Miller <davem@davemloft.net>
34320
1aff59a3
DM
34321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34323 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34324 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34325
d6b5aa58
DM
34326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34327 frame pointer instead of stack pointer relative arg slot.
34328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34329 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34330 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34331
433f48bf
CD
343322012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34333
34334 [BZ #3992]
34335 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34336
d674b76d
DM
343372012-02-27 David S. Miller <davem@davemloft.net>
34338
34339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34343 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34344 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34345 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34346 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34347
0e7727f7
JM
343482012-02-27 Joseph Myers <joseph@codesourcery.com>
34349
34350 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34351 later. Allow versions 5-9.
43be4ca2 34352 * configure: Regenerated.
0e7727f7
JM
34353 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34354 required minimum version and 4.6 as recommended version. Do not
34355 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34356 * INSTALL: Regenerated.
0e7727f7 34357
a78bc654
DM
343582012-02-27 David S. Miller <davem@davemloft.net>
34359
428d5830
DM
34360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34364 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34365 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34366 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34367 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34368
a78bc654
DM
34369 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34370 manipulate bits before adding and subtracting TWO112[sx].
34371 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34372
4579f81c
RM
343732012-02-27 Roland McGrath <roland@hack.frob.com>
34374
36c8acb4
RM
34375 [BZ #13775]
34376 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34377 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34378 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34379 being in POSIX, because they are in 1003.1-2008.
34380
84ad622b
RM
34381 * rt/tst-aio.c: Include <fcntl.h>.
34382 * rt/tst-aio7.c: Likewise.
34383 * rt/tst-aio64.c: Likewise.
34384
4579f81c
RM
34385 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34386
abd923db
JM
343872012-02-27 Joseph Myers <joseph@codesourcery.com>
34388
34389 * manual/install.texi (--with-headers): Describe headers as
34390 interface headers, not private headers.
34391 (Specific advice for GNU/Linux systems): Describe use of headers
34392 from "make headers_install", not private headers from older
34393 kernels.
43be4ca2 34394 * INSTALL: Regenerated.
abd923db
JM
34395 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34396 Change to 2.6.19.
34397 * sysdeps/unix/sysv/linux/configure: Regenerated.
34398
6664049b
JM
34399 * manual/llio.texi (fclean): Remove documentation.
34400
bb8b6697
JM
34401 * manual/Makefile (libc-texi-generated): New variable. Include
34402 version.texi.
34403 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34404 $(libc-texi-generated), not duplicated list of files.
34405 (version.texi, stamp-version): New rules.
34406 (realclean): Remove $(libc-texi-generated), not individual files
34407 from that list. Do not remove dir-add.texinfo.
34408 * manual/libc.texinfo: Comment out uses of edition numbers and
34409 references to printed manual. Remove last-updated dates.
34410 (EDITION): Comment out.
34411 (ISBN): Likewise.
34412 (VERSION, UPDATED): Remove.
34413 (version.texi): Include.
34414
12e5c3b9
AS
344152012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34416
34417 * sysdeps/posix/spawni.c: Include <signal.h>.
34418 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34419 * sysdeps/pthread/aio_fsync.c: Likewise.
34420
4efeffc1 344212012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34422
ba63ba08
UD
34423 * conform/Makefile (tests): Run only when not cross-compiling and
34424 when fast-check is not defined.
34425
d94a4670
UD
34426 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34427 * conform/data/limits.h-data: Fixes for POSIX2008.
34428 * conform/run-conformtest.sh: Run all tests.
34429 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34430 headers.
34431 * include/bits/dlfcn.h: Likewise.
34432 * include/langinfo.h: Likewise.
34433 * include/monetary.h: Likewise.
34434 * include/sys/poll.h: Likewise.
34435
34436 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34437 for __USE_GNU.
34438 * posix/spawn.h: Define __need_sigset_t.
34439 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34440 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34441 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34442 to get sigevent_t only.
34443 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34444 only for __USE_GNU.
34445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34446 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34447 process_vm_writev only for __USE_GNU.
34448 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34449
34450 * conform/Makefile: For now ignore errors from run-conformtest.
34451 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34452 POSIX to avoid namespace pollution. Don't prepend headers.
34453 * conform/data/aio.h-data: Fixes for POSIX testing.
34454 * conform/data/fcntl.h-data: Likewise.
34455 * conform/data/glob.h-data: Likewise.
34456 * conform/data/grp.h-data: Likewise.
34457 * conform/data/pthread.h-data: Likewise.
34458 * conform/data/pwd.h-data: Likewise.
34459 * conform/data/signal.h-data: Likewise.
34460 * conform/data/spawn.h-data: Likewise.
34461 * conform/data/stdio.h-data: Likewise.
34462 * conform/data/stdlib.h-data: Likewise.
34463 * conform/data/stropts.h-data: Likewise.
34464 * conform/data/sys/mman.h-data: Likewise.
34465 * conform/data/sys/stat.h-data: Likewise.
34466 * conform/data/sys/types.h-data: Likewise.
34467 * conform/data/sys/wait.h-data: Likewise.
34468 * conform/data/time.h-data: Likewise.
34469 * conform/data/unistd.h-data: Likewise.
34470 * conform/data/utime.h-data: Likewise.
34471
34472 * io/sys/stat.h: fchmod was always in POSIX.
34473 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34474 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34475 * rt/aio.h: Define __need_timespec before including <time.h>.
34476 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34477 struct. Add forward declaration of pthread_attr_t and use it in
34478 sigevent.
34479 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34480 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34481 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34482 always remove CLK_TCK definition.
34483
c20105c3
AS
344842012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34485
34486 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34487
7a270350
UD
344882012-02-25 Ulrich Drepper <drepper@gmail.com>
34489
31341567
UD
34490 * conform/run-conformtest.sh: New file.
34491 * conform/Makefile: Run run-conformtest for tests.
34492 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34493 support.
34494
34495 * conform/data/uchar.h-data: New file.
34496 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34497 * conform/data/arpa/inet.h-data: Likewise.
34498 * conform/data/assert.h-data: Likewise.
34499 * conform/data/complex.h-data: Likewise.
34500 * conform/data/cpio.h-data: Likewise.
34501 * conform/data/ctype.h-data: Likewise.
34502 * conform/data/dirent.h-data: Likewise.
34503 * conform/data/dlfcn.h-data: Likewise.
34504 * conform/data/errno.h-data: Likewise.
34505 * conform/data/fcntl.h-data: Likewise.
34506 * conform/data/float.h-data: Likewise.
34507 * conform/data/fmtmsg.h-data: Likewise.
34508 * conform/data/fnmatch.h-data: Likewise.
34509 * conform/data/ftw.h-data: Likewise.
34510 * conform/data/glob.h-data: Likewise.
34511 * conform/data/grp.h-data: Likewise.
34512 * conform/data/iconv.h-data: Likewise.
34513 * conform/data/inttypes.h-data: Likewise.
34514 * conform/data/langinfo.h-data: Likewise.
34515 * conform/data/libgen.h-data: Likewise.
34516 * conform/data/limits.h-data: Likewise.
34517 * conform/data/locale.h-data: Likewise.
34518 * conform/data/math.h-data: Likewise.
34519 * conform/data/monetary.h-data: Likewise.
34520 * conform/data/mqueue.h-data: Likewise.
34521 * conform/data/ndbm.h-data: Likewise.
34522 * conform/data/net/if.h-data: Likewise.
34523 * conform/data/netdb.h-data: Likewise.
34524 * conform/data/netinet/in.h-data: Likewise.
34525 * conform/data/nl_types.h-data: Likewise.
34526 * conform/data/poll.h-data: Likewise.
34527 * conform/data/pthread.h-data: Likewise.
34528 * conform/data/pwd.h-data: Likewise.
34529 * conform/data/regex.h-data: Likewise.
34530 * conform/data/sched.h-data: Likewise.
34531 * conform/data/search.h-data: Likewise.
34532 * conform/data/semaphore.h-data: Likewise.
34533 * conform/data/setjmp.h-data: Likewise.
34534 * conform/data/signal.h-data: Likewise.
34535 * conform/data/spawn.h-data: Likewise.
34536 * conform/data/stdarg.h-data: Likewise.
34537 * conform/data/stdio.h-data: Likewise.
34538 * conform/data/stdlib.h-data: Likewise.
34539 * conform/data/string.h-data: Likewise.
34540 * conform/data/strings.h-data: Likewise.
34541 * conform/data/stropts.h-data: Likewise.
34542 * conform/data/sys/ipc.h-data: Likewise.
34543 * conform/data/sys/mman.h-data: Likewise.
34544 * conform/data/sys/msg.h-data: Likewise.
34545 * conform/data/sys/resource.h-data: Likewise.
34546 * conform/data/sys/select.h-data: Likewise.
34547 * conform/data/sys/sem.h-data: Likewise.
34548 * conform/data/sys/shm.h-data: Likewise.
34549 * conform/data/sys/socket.h-data: Likewise.
34550 * conform/data/sys/stat.h-data: Likewise.
34551 * conform/data/sys/statvfs.h-data: Likewise.
34552 * conform/data/sys/time.h-data: Likewise.
34553 * conform/data/sys/timeb.h-data: Likewise.
34554 * conform/data/sys/times.h-data: Likewise.
34555 * conform/data/sys/types.h-data: Likewise.
34556 * conform/data/sys/uio.h-data: Likewise.
34557 * conform/data/sys/un.h-data: Likewise.
34558 * conform/data/sys/utsname.h-data: Likewise.
34559 * conform/data/sys/wait.h-data: Likewise.
34560 * conform/data/syslog.h-data: Likewise.
34561 * conform/data/tar.h-data: Likewise.
34562 * conform/data/termios.h-data: Likewise.
34563 * conform/data/utime.h-data: Likewise.
34564 * conform/data/utmpx.h-data: Likewise.
34565 * conform/data/varargs.h-data: Likewise.
34566 * conform/data/wchar.h-data: Likewise.
34567 * conform/data/wctype.h-data: Likewise.
34568 * conform/data/wordexp.h-data: Likewise.
34569
34570 * include/stropts.h: New file.
34571 * include/uchar.h: New file.
34572 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34573 * include/assert.h: Likewise.
34574 * include/ctype.h: Likewise.
34575 * include/dirent.h: Likewise.
34576 * include/dlfcn.h: Likewise.
34577 * include/fcntl.h: Likewise.
34578 * include/fnmatch.h: Likewise.
34579 * include/glob.h: Likewise.
34580 * include/grp.h: Likewise.
34581 * include/libio.h: Likewise.
34582 * include/locale.h: Likewise.
34583 * include/math.h: Likewise.
34584 * include/net/if.h: Likewise.
34585 * include/netdb.h: Likewise.
34586 * include/netinet/in.h: Likewise.
34587 * include/pthread.h: Likewise.
34588 * include/pwd.h: Likewise.
34589 * include/regex.h: Likewise.
34590 * include/sched.h: Likewise.
34591 * include/search.h: Likewise.
34592 * include/setjmp.h: Likewise.
34593 * include/signal.h: Likewise.
34594 * include/stdio.h: Likewise.
34595 * include/stdlib.h: Likewise.
34596 * include/string.h: Likewise.
34597 * include/sys/cdefs.h: Likewise.
34598 * include/sys/mman.h: Likewise.
34599 * include/sys/msg.h: Likewise.
34600 * include/sys/resource.h: Likewise.
34601 * include/sys/select.h: Likewise.
34602 * include/sys/socket.h: Likewise.
34603 * include/sys/stat.h: Likewise.
34604 * include/sys/statvfs.h: Likewise.
34605 * include/sys/time.h: Likewise.
34606 * include/sys/times.h: Likewise.
34607 * include/sys/uio.h: Likewise.
34608 * include/sys/utsname.h: Likewise.
34609 * include/sys/wait.h: Likewise.
34610 * include/termios.h: Likewise.
34611 * include/time.h: Likewise.
34612 * include/ulimit.h: Likewise.
34613 * include/unistd.h: Likewise.
34614 * include/utime.h: Likewise.
34615 * include/wchar.h: Likewise.
34616 * include/wctype.h: Likewise.
34617 * include/wordexp.h: Likewise.
34618
34619 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34620
7a270350
UD
34621 * time/time.h: TIME_UTC must be a macro.
34622 Make timespec_get available for ISO C11 only as well.
34623
7724defc
UD
346242012-02-24 Ulrich Drepper <drepper@gmail.com>
34625
34626 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34627 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34628
6b1d1d46
JM
346292012-02-24 Joseph Myers <joseph@codesourcery.com>
34630
34631 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34632
0f8bbd69
JM
346332012-02-24 Joseph Myers <joseph@codesourcery.com>
34634
34635 * manual/texinfo.tex: Update to version 2012-01-19.16.
34636
66ab80bc
JM
346372012-02-24 Joseph Myers <joseph@codesourcery.com>
34638
34639 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34640
74981cc5
RM
346412012-02-24 Roland McGrath <roland@hack.frob.com>
34642
ee968201
RM
34643 [BZ #13738]
34644 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34645 * manual/fdl-1.3.texi: New file.
34646 * manual/fdl-1.1.texi: File removed.
34647
74981cc5
RM
34648 [BZ #13738]
34649 * manual/libc.texinfo (FDL_VERSION): New @set.
34650 Use it for mention of FDL in cover text.
34651 (Documentation License): Use it in @include file name.
34652
7bb764bc
JM
346532012-02-22 Joseph Myers <joseph@codesourcery.com>
34654 Roland McGrath <roland@hack.frob.com>
34655
34656 [BZ #5461]
34657 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34658 not LONG_LONG_MAX and LONG_LONG_MIN.
34659 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34660 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34661 name.
34662 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34663
6cbeae47
JM
346642012-02-22 Joseph Myers <joseph@codesourcery.com>
34665
34666 [BZ #2547]
34667 [BZ #11365]
34668 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34669 manipulate bits before adding and subtracting TWO23[sx].
34670 * math/libm-test.inc (nearbyint_test): Add more tests.
34671
fe45ce09
JM
346722012-02-22 Joseph Myers <joseph@codesourcery.com>
34673
34674 [BZ #2548]
34675 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34676 bits before adding and subtracting TWO23[sx].
34677 * math/libm-test.inc (rint_test): Add more tests.
34678 (rint_test_tonearest): Likewise.
34679 (rint_test_towardzero): Likewise.
34680 (rint_test_downward): Likewise.
34681 (rint_test_upward: Likewise.
34682
ff3b3d82
JM
346832012-02-22 Joseph Myers <joseph@codesourcery.com>
34684
34685 [BZ #10110]
34686 * include/stdc-predef.h: New file. Extracted from features.h.
34687 * include/features.h: Include stdc-predef.h.
34688 * Makefile (headers): Add stdc-predef.h.
34689 * CONFORMANCE (Compiler limitations): Update.
34690
ef0aab35
JM
346912012-02-22 Joseph Myers <joseph@codesourcery.com>
34692
34693 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34694
58639409
DM
346952012-02-21 David S. Miller <davem@davemloft.net>
34696
34697 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34698 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34699
c0e70b25
DM
347002012-02-20 David S. Miller <davem@davemloft.net>
34701
34702 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34703 using a normal save/restore sequence, rather than allocating a
34704 dummy stack frame just to store a frame pointer and restore.
34705 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34706
fb06851d
JM
347072012-02-21 Joseph Myers <joseph@codesourcery.com>
34708
34709 * manual/install.texi: Fix stray word in line-wrapped comment.
34710
7a8b71c3
DM
347112012-02-20 David S. Miller <davem@davemloft.net>
34712
d510c123
DM
34713 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34714 both binutils and gcc support GOTDATA.
34715
0722d7c2
DM
34716 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34717 "rd %pc" in the PIC register setup sequences.
34718
3d2b3019
DM
34719 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34720 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34721 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34722 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34723 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34724 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34726 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34727 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34728 (SYSCALL_ERROR_HANDLER): Likewise.
34729 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34730 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34731 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34732 (SYSCALL_ERROR_HANDLER): Likewise.
34733
c80098a9
DM
34734 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34735 (HAVE_GCC_GOTDATA): New.
34736 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34737 relocation support in both binutils and gcc.
34738 * sysdeps/sparc/elf/configure: Regenerate.
34739
3a2545a0
DM
34740 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34741 * sysdeps/sparc/sparc32/elf/configure: Delete.
34742 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34743 * sysdeps/sparc/sparc64/elf/configure: Delete.
34744 * sysdeps/sparc/elf/configure.in: New file.
34745 * sysdeps/sparc/elf/configure: Generate.
34746
7a8b71c3
DM
34747 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34748 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34749 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34750 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34751 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34752
f1e86fca
JM
347532012-02-21 Joseph Myers <joseph@codesourcery.com>
34754
34755 * manual/install.texi: Do not mention specific glibc version
34756 numbers.
34757 * manual/libc.texinfo (VERSION, UPDATED): Update.
34758 (@copying): Use @copyright{} and range of years.
34759
0e7dfaef
JM
347602012-02-21 Joseph Myers <joseph@codesourcery.com>
34761
34762 [BZ #13695]
34763 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34764 [crti.S not in sysdirs] (generated): Do not append.
34765 [crti.S not in sysdirs] (omit-deps): Likewise.
34766 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34767 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34768 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34769 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34770 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34771 Likewise.
34772 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34773 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34774 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34775 * csu/defs.awk: Remove file.
34776 * sysdeps/generic/initfini.c: Likewise.
34777 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34778 variable.
34779 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34780 Likewise.
34781
599af3ca
JM
347822012-02-20 Joseph Myers <joseph@codesourcery.com>
34783
34784 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34785 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34786 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34787 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34788 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34789 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34790 <bits/epoll.h>.
34791 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34792 (__EPOLL_PACKED): Define to empty if not defined by
34793 <bits/epoll.h>.
34794 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34796 bits/epoll.h.
34797
0e499750
JM
347982012-02-20 Joseph Myers <joseph@codesourcery.com>
34799
34800 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34801 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34802 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34803 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34804 <bits/timerfd.h>.
34805 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34807 bits/timerfd.h.
34808
5ad91f6e
JM
348092012-02-20 Joseph Myers <joseph@codesourcery.com>
34810
34811 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34812 in C locale.
34813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34814 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34815 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34817
06b99b02
AJ
348182012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34819
34820 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34821 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34822
7638c0fd
AS
348232012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34824
34825 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34826 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34827 defined.
34828 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34829 Likewise.
34830 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34831 entry for 2.16.
34832
92221550
AJ
348332012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34834
34835 * math/w_acos.c: Use non-signaling floating-point comparisons.
34836 * math/w_acosf.c: Likewise.
34837 * math/w_acosh.c: Likewise.
34838 * math/w_acoshf.c: Likewise.
34839 * math/w_acoshl.c: Likewise.
34840 * math/w_acosl.c: Likewise.
34841 * math/w_asin.c: Likewise.
34842 * math/w_asinf.c: Likewise.
34843 * math/w_asinl.c: Likewise.
34844 * math/w_atanh.c: Likewise.
34845 * math/w_atanhf.c: Likewise.
34846 * math/w_atanhl.c: Likewise.
34847 * math/w_exp2.c: Likewise.
34848 * math/w_exp2f.c: Likewise.
34849 * math/w_exp2l.c: Likewise.
34850 * math/w_j0.c: Likewise.
34851 * math/w_j0f.c: Likewise.
34852 * math/w_j0l.c: Likewise.
34853 * math/w_j1.c: Likewise.
34854 * math/w_j1f.c: Likewise.
34855 * math/w_j1l.c: Likewise.
34856 * math/w_jn.c: Likewise.
34857 * math/w_jnf.c: Likewise.
34858 * math/w_log.c: Likewise.
34859 * math/w_log10.c: Likewise.
34860 * math/w_log10f.c: Likewise.
34861 * math/w_log10l.c: Likewise.
34862 * math/w_log2.c: Likewise.
34863 * math/w_log2f.c: Likewise.
34864 * math/w_log2l.c: Likewise.
34865 * math/w_logf.c: Likewise.
34866 * math/w_logl.c: Likewise.
34867 * math/w_sqrt.c: Likewise.
34868 * math/w_sqrtf.c: Likewise.
34869 * math/w_sqrtl.c: Likewise.
34870 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34871 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34872 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34873 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34874 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34875
ebaf36eb
JM
348762012-02-19 Joseph Myers <joseph@codesourcery.com>
34877
34878 [BZ #9739]
34879 * manual/string.texi (strnlen): Use correct parameter name in
34880 equivalent expression.
34881
71c254a6
JM
348822012-02-19 Joseph Myers <joseph@codesourcery.com>
34883
34884 [BZ #11174]
34885 * manual/users.texi (seteuid): Consistently use neweuid for
34886 argument name.
34887
16d2c631
JM
348882012-02-19 Joseph Myers <joseph@codesourcery.com>
34889
34890 [BZ #13704]
34891 * manual/nss.texi (Services in the NSS configuration): Correct
34892 list of services in example configuration file.
34893
cd837b09
NB
348942012-02-19 Nick Bowler <nbowler@draconx.ca>
34895
34896 [BZ #11322]
34897 * manual/arith.texi: Remove statements about negative zero
34898 behaving identically to zero.
34899
02c4bbad
JM
349002012-02-18 Joseph Myers <joseph@codesourcery.com>
34901
34902 [BZ #5993]
34903 * manual/install.texi: Do not document upgrading from libc5.
34904
366842e7
JM
349052012-02-18 Joseph Myers <joseph@codesourcery.com>
34906
34907 [BZ #4596]
34908 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34909
dd54084d
DM
349102012-02-18 David S. Miller <davem@davemloft.net>
34911
34912 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34913 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34914 %o7 across the call.
34915 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34916 instead.
34917 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34918 SETUP_PIC_REG_LEAF.
34919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34920 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34921 * sysdeps/sparc/crtn.S: Likewise.
34922
2bcc53a3
UD
349232012-02-17 Ulrich Drepper <drepper@gmail.com>
34924
34925 * aout/Makefile: Remove.
34926
09c093b5
RK
349272012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34928
34929 [BZ #13058]
34930 * manual/examples/argp-ex1.c (main): Format definition in GNU
34931 style.
34932 * manual/examples/argp-ex2.c (main): Likewise.
34933 * manual/examples/argp-ex3.c (main): Likewise.
34934 * manual/examples/argp-ex4.c (main): Likewise.
34935 * manual/examples/longopt.c (main): Use new-style prototype
34936 definition.
34937 * manual/examples/strncat.c (main): Specify return type and use
34938 (void) for arguments.
34939 * manual/examples/subopt.c (main): Use char **argv argument.
34940
2ee633a2
JM
349412012-02-17 Joseph Myers <joseph@codesourcery.com>
34942
34943 [BZ #5077]
34944 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34945 rounding modes.
34946
0520adde
FB
349472012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34948
34949 [BZ #6907]
34950 * manual/string.texi (strchr): Change when strchrnul is
34951 recommended.
34952
3f4081cd
DGM
349532012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34954
34955 [BZ #174]
34956 * manual/locale.texi (setlocale): Document LOCPATH.
34957
d1b10e78
JM
349582012-02-17 Joseph Myers <joseph@codesourcery.com>
34959
34960 [BZ #10210]
34961 * manual/process.texi (execle): Move @dots{} before last argument.
34962
79c6869c
PB
349632012-02-17 Paul Bolle <pebolle@tiscali.nl>
34964
34965 [BZ #12047]
34966 * manual/charset.texi (Generic Charset Conversion): Fix typo
34967 (LC_TYPE -> LC_CTYPE).
34968
cc6e48bc
NB
349692012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34970
34971 [BZ #5805]
34972 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34973 (scalbnf): Likewise.
34974 (scalbnl): Likewise.
34975 (scalbln): Likewise.
34976 (scalblnf): Likewise.
34977 (scalblnl): Likewise.
34978 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34979 (vwarnx): Likewise.
34980 (verr): Likewise.
34981 (verrx): Likewise.
34982 * manual/filesys.texi (telldir): Use braces around return type.
34983 * manual/llio.texi (mmap): Add space after comma.
34984 (mmap64): Likewise.
34985 * manual/math.texi (jn): Use @var{} on parameter names.
34986 (jnf): Likewise.
34987 (jnl): Likewise.
34988 (yn): Likewise.
34989 (ynf): Likewise.
34990 (ynl): Likewise.
34991 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34992 line.
34993 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34994 "...".
34995 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34996 (sched_get_priority_max): Likewise.
34997 * manual/signal.texi (sigvec): Add space after comma.
34998 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34999 names.
35000 (if_indextoname): Likewise.
35001 (if_freenameindex): Likewise.
35002 (sendto): Use ',' instead of '.' in prototype.
35003 * manual/startup.texi (syscall): Use @dots{} instead of literal
35004 "...".
35005 * manual/stdio.texi (__fpending): Separate initial words of
35006 paragraph from @deftypefun line.
35007 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35008 "...".
35009 (vsyslog): Use @var{} on parameter names.
35010 * manual/terminal.texi (stty): Use @var{} on parameter names.
35011 * manual/users.texi (getutmp): Use @var{} on parameter names.
35012 (getutmpx): Likewise.
35013
5b23062f
JM
350142012-02-17 Joseph Myers <joseph@codesourcery.com>
35015
35016 [BZ #6884]
35017 * manual/stdio.texi (fopen): Fix typos in description of
35018 ",ccs=STRING".
35019
8dee4833
AJ
350202012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35021
35022 [BZ #4026]
35023 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35024 get clock_id definition.
35025
9078ce93
TS
350262012-02-17 Thomas Schwinge <thomas@schwinge.name>
35027
35028 [BZ #4822]
35029 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35030 (madvise): Cast every argument to void on its own.
35031
3835c55f
JM
350322012-02-17 Joseph Myers <joseph@codesourcery.com>
35033
35034 [BZ #9902]
35035 * manual/startup.texi (Exit Status): Fix typo.
35036
35c47e37
JM
350372012-02-17 Joseph Myers <joseph@codesourcery.com>
35038
35039 [BZ #10140]
35040 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35041 * manual/examples/argp-ex2.c: Likewise.
35042 * manual/examples/argp-ex3.c: Likewise.
35043
e3b69ca7
RH
350442012-02-16 Richard Henderson <rth@redhat.com>
35045
35046 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35047 * sysdeps/s390/s390-32/initfini.c: Remove.
35048 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35049 * sysdeps/s390/s390-64/initfini.c: Remove.
35050
df83af67
KK
350512012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35052
35053 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35054 compiler output for sysdeps/generic/initfini.c.
35055 * sysdeps/sh/elf/initfini.c: Remove file.
35056
f63f3380
DM
350572012-02-16 David S. Miller <davem@davemloft.net>
35058
fb59b3a4
DM
35059 [BZ #11494]
35060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35061
f63f3380
DM
35062 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35063 * sysdeps/sparc/crti.S: New file.
35064 * sysdeps/sparc/crtn.S: New file.
35065 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35066 * sysdeps/sparc/sparc64/Makefile: Likewise.
35067
df6a4a4a
MF
350682012-02-15 Mike Frysinger <vapier@gentoo.org>
35069
6dd8f3dc 35070 [BZ #3335]
df6a4a4a
MF
35071 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35072
1cac7236
RM
350732012-02-15 Roland McGrath <roland@hack.frob.com>
35074
d2c736f8
RM
35075 [BZ #4822]
35076 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35077
1cac7236
RM
35078 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35079 (write, read, close): Likewise.
35080 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35081
8e475601
JM
350822012-02-15 Joseph Myers <joseph@codesourcery.com>
35083
35084 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35085 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35086 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35087 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35088 <bits/signalfd.h>.
35089 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35091 bits/signalfd.h.
35092
ed656b40
MP
350932012-02-14 Marek Polacek <polacek@redhat.com>
35094
35095 * sysdeps/x86_64/crti.S: New file.
35096 * sysdeps/x86_64/crtn.S: New file.
35097 * sysdeps/x86_64/elf/initfini.c: Remove file.
35098
2a979d3a
JM
350992012-02-13 Joseph Myers <joseph@codesourcery.com>
35100
35101 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35102 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35103 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35104 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35105 <bits/inotify.h>.
35106 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35108 bits/inotify.h.
35109
2a418ac3
JM
351102012-02-13 Joseph Myers <joseph@codesourcery.com>
35111
35112 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35113 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35114 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35115 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35116 <bits/eventfd.h>.
35117 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35119 bits/eventfd.h.
35120
fb779be7
TS
351212012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35122
e19e83c5
RM
35123 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35124 __feraiseexcept instead of feraiseexcept.
7c35ffed 35125
fb779be7
TS
35126 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35127 nanosleep invocations.
35128 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35129 strings, and add error checking for a nanosleep invocations.
35130
59ba27a6
PE
351312012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35132
35133 Replace FSF snail mail address with URLs, as per GNU coding standards.
35134 Most of the snail mail addresses were wrong anyway, and omitting
35135 them makes the source code easier to maintain. Almost all of the
35136 changes are to license notices and to locale LC_IDENTIFICATION
35137 addresses, except for this one:
35138 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35139 not its snail mail address.
35140
57b957eb
RH
351412012-02-09 Richard Henderson <rth@twiddle.net>
35142
af850b1c
RH
35143 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35144 of kernel-features.h.
35145
57b957eb
RH
35146 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35147
6b73181a
MP
351482012-02-08 Marek Polacek <polacek@redhat.com>
35149
35150 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35151 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35152 * sysdeps/gnu/_G_config.h: Likewise.
35153 * sysdeps/generic/_G_config.h: Likewise.
35154
26ecc33a
AS
351552012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35156
6c6dbc63
AS
35157 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35158 tests.
35159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35160
e216c012
AS
35161 * sysdeps/powerpc/powerpc32/crti.S: New file.
35162 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35163 * sysdeps/powerpc/powerpc64/crti.S: New file.
35164 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35165
26ecc33a
AS
35166 * Makeconfig (have-initfini): Don't set.
35167 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35168 * configure.in (nopic_initfini): Don't substitute.
35169 * config.h.in (HAVE_INITFINI): Don't #undef.
35170 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35171 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35172
3add8e13
JM
351732012-02-08 Joseph Myers <joseph@codesourcery.com>
35174
35175 Support crti.S and crtn.S provided directly by architectures.
35176 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35177 [crti.S in sysdirs] (omit-deps): Likewise.
35178 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35179 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35180 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35181 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35182 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35183 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35184 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35185 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35186 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35187 compiler output for sysdeps/generic/initfini.c.
35188 * sysdeps/i386/elf/Makefile: Remove file.
35189 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35190
a22f12b4
MP
351912012-02-07 Marek Polacek <polacek@redhat.com>
35192
35193 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35194 * sysdeps/gnu/_G_config.h: Likewise.
35195 * sysdeps/mach/hurd/_G_config.h: Likewise.
35196
148cf100
MP
351972012-02-07 Marek Polacek <polacek@redhat.com>
35198
35199 * math/Makefile (tests): Add tst-CMPLX2.
35200 * math/tst-CMPLX2.c: New file.
35201
cfdc0dd7
AS
352022012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35203
84ba42c4
AS
35204 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35205
cfdc0dd7
AS
35206 * math/libm-test.inc (jn_test): Add missing L suffix.
35207
622c86f4
MP
352082012-02-06 Marek Polacek <polacek@redhat.com>
35209
35210 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35211 * sysdeps/i386/fpu/e_powf.S: Likewise.
35212 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35213 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35214 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35215 * sysdeps/i386/fpu/e_pow.S: Likewise.
35216 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35217 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35218 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35219 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35220 * sysdeps/i386/fpu/e_log2.S: Likewise.
35221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35222 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35223 * sysdeps/i386/fpu/e_powl.S: Likewise.
35224 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35225 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35226 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35227 * sysdeps/i386/fpu/e_logl.S: Likewise.
35228 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35229 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35230 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35231 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35232 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35233 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35234 * sysdeps/i386/fpu/e_log.S: Likewise.
35235 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35236 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35237 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35238 * sysdeps/i386/fpu/e_logf.S: Likewise.
35239 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35240 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35241 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35242 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35243 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35244 * sysdeps/i386/fpu/e_log10.S: Likewise.
35245 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35246 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35247 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35248 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35249 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35250 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35251 * sysdeps/i386/asm-syntax.h: Likewise.
35252 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35253 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35254 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35255 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35256 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35257 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35258 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35259 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35260 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35261 * sysdeps/powerpc/sysdep.h: Likewise.
35262 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35263 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35264
d4a54ac6
JM
352652012-02-06 Joseph Myers <joseph@codesourcery.com>
35266
35267 [BZ #411]
35268 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35269
314054ea
JM
352702012-02-06 Joseph Myers <joseph@codesourcery.com>
35271
35272 * sysdeps/i386/sysdep.h: Include <features.h>.
35273 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35274 version.
35275
d8e0ca50
JM
352762012-02-05 Joseph Myers <joseph@codesourcery.com>
35277
35278 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35279 Define.
35280 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35281 LOAD_PIC_REG_STR.
35282
b1da7dd9
JM
352832012-02-03 Joseph Myers <joseph@codesourcery.com>
35284
35285 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35286 (SETUP_PIC_REG): Use GET_PC_THUNK.
35287 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35288 macro.
35289
9a1d9254
JM
352902012-02-03 Joseph Myers <joseph@codesourcery.com>
35291
35292 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35293 for non-PIC compilation.
35294 (SETUP_PIC_REG): Add .p2align directive.
35295 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35296 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35297 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35298 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35299 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35300 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35301 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35303 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35304 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35305 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35306 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35307 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35308 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35309 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35310 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35311 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35312 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35313 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35314 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35315 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35316 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35317 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35318 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35321 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35322 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35323 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35324 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35325 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35326 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35327 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35328 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35329 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35330 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35331 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35332 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35333 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35334 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35335 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35336
65dc3b75
JM
353372012-02-03 Joseph Myers <joseph@codesourcery.com>
35338
35339 * math/tst-CMPLX.c: Include <stdio.h>.
35340
d55bf177
JM
353412012-01-31 Joseph Myers <joseph@codesourcery.com>
35342
35343 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35344 float.
35345 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35346 * sysdeps/sparc/bits/mathdef.h: Likewise.
35347
69db4f8f
MP
353482012-01-31 Marek Polacek <polacek@redhat.com>
35349
35350 * libio/libio.h: Don't define _PARAMS.
35351 * locale/programs/config.h: Don't define PARAMS.
35352 * stdlib/strtol_l.c: Likewise.
35353 (__strtol_l): Remove PARAMS from the prototype.
35354
41b81892
UD
353552012-01-31 Ulrich Drepper <drepper@gmail.com>
35356
3b49edc0
UD
35357 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35358 names. Just use the correct names. Remove unnecessary wrapper
35359 functions.
35360 * malloc/arena.c: Likewise.
35361 * malloc/hooks.c: Likewise.
35362
41b81892
UD
35363 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35364 ARENA_TEST says not to. Simplify test for creation of a new arena.
35365 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35366
27a25b6e
UD
353672012-01-30 Ulrich Drepper <drepper@gmail.com>
35368
35369 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35370 into tail calls.
35371 (update_get_addr): New function.
35372 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35373 GET_ADDR_MODULE parameter.
35374
c8a89e7d
JM
353752012-01-30 Joseph Myers <joseph@codesourcery.com>
35376
35377 * crypt/cert.c: Remove __STDC__ conditionals.
35378 * crypt/crypt-entry.c: Likewise.
35379 * crypt/crypt_util.c: Likewise.
35380 * libio/filedoalloc.c: Likewise.
35381 * libio/fileops.c: Likewise.
35382 * libio/genops.c: Likewise.
35383 * libio/iofclose.c: Likewise.
35384 * libio/iofdopen.c: Likewise.
35385 * libio/iofopen.c: Likewise.
35386 * libio/iofopen64.c: Likewise.
35387 * libio/iogetdelim.c: Likewise.
35388 * libio/iopopen.c: Likewise.
35389 * libio/obprintf.c: Likewise.
35390 * libio/oldfileops.c: Likewise.
35391 * libio/oldiofclose.c: Likewise.
35392 * libio/oldiofdopen.c: Likewise.
35393 * libio/oldiofopen.c: Likewise.
35394 * libio/oldiopopen.c: Likewise.
35395 * libio/wfiledoalloc.c: Likewise.
35396 * libio/wgenops.c: Likewise.
35397 * locale/programs/xmalloc.c: Likewise.
35398 * misc/syslog.c: Likewise.
35399 * stdio-common/xbug.c: Likewise.
35400 * string/memchr.c: Likewise.
35401 * string/memcmp.c: Likewise.
35402 * string/memrchr.c: Likewise.
35403 * string/rawmemchr.c: Likewise.
35404 * sysdeps/posix/getcwd.c: Likewise.
35405 * time/strftime_l.c: Likewise.
35406
3b100462
JM
354072012-01-30 Joseph Myers <joseph@codesourcery.com>
35408
35409 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35410 * config.make.in (config-cflags-sse2avx): Define.
35411 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35412 Fix typo.
35413
607998af
CM
354142012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35415
35416 * scripts/config.guess: Update from upstream config git repository.
35417 * scripts/config.sub: Likewise.
35418
3601428f
CM
354192012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35420
3ac8b282
CM
35421 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35422 (EM_NUM): Update.
35423 (R_TILEPRO_*, R_TILEGX_*): New macros.
35424
e034841e
CM
35425 * scripts/firstversions.awk: Fix bug in version range handling.
35426
540d7568
CM
35427 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35428
3601428f
CM
35429 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35430
463de862
CM
35431 * include/sys/epoll.h: New file.
35432 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35433 libc_hidden_def.
35434
73139a76
UD
354352012-01-28 Ulrich Drepper <drepper@gmail.com>
35436
96bc5b45
UD
35437 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35438 Avoid unnecessary __WORDSIZE == 64 test.
35439 (fmaxf): Use VEX format if possible.
35440 (fmax): Likewise.
35441 (fminf): Likewise.
35442 (fmin): Likewise.
35443
56f6f6a2
UD
35444 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35445 * math/math_private.h: Remove libc_fegetround* and
35446 libc_fesetround*.
35447 * sysdeps/i386/configure.in: Check for -msse2avx.
35448 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35449 also if SSE2AVX is defined.
35450 Remove libc_fegetround* and libc_fesetround*.
35451 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35452 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35453 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35454 of HAS_YMM_USABLE.
35455 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35456 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35458 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35460
73139a76
UD
35461 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35462
d73f93a4
AZ
354632012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35464
35465 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35466 size is not set.
35467 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35468
6ee65ed6
UD
354692012-01-27 Ulrich Drepper <drepper@gmail.com>
35470
35471 [BZ #13618]
35472 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35473 relocation.
35474 * Makeconfig (libm): Define.
35475 * elf/Makefile: Add rules to build and run tst-relsort1.
35476 * elf/tst-relsort1.c: New file.
35477 * elf/tst-relsort1mod1.c: New file.
35478 * elf/tst-relsort1mod2.c: New file.
35479
8db21882
JM
354802012-01-27 Joseph Myers <joseph@codesourcery.com>
35481
35482 * math/s_ldexp.c: Remove __STDC__ conditionals.
35483 * math/s_ldexpf.c: Likewise.
35484 * math/s_ldexpl.c: Likewise.
35485 * math/s_nextafter.c: Likewise.
35486 * math/s_nexttowardf.c: Likewise.
35487 * math/s_significand.c: Likewise.
35488 * math/s_significandf.c: Likewise.
35489 * math/s_significandl.c: Likewise.
35490 * math/w_jnl.c: Likewise.
35491 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35492 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35493 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35494 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35495 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35497 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35498 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35499 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35501 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35503 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35504 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35505 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35506 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35507 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35508 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35510 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35511 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35512 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35513 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35514 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35515 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35516 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35517 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35518 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35519 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35520 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35521 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35522 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35523 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35524 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35525 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35526 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35527 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35528 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35529 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35530 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35531 * sysdeps/ieee754/k_standard.c: Likewise.
35532 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35533 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35534 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35535 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35536 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35537 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35538 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35539 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35540 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35541 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35542 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35543 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35544 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35545 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35547 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35548 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35549 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35550 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35551 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35553 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35554 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35556 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35558 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35559 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35561 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35562 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35564 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35569 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35570 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35571 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35572 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35574 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35575 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35576 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35577 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35578 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35579 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35580 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35581 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35582 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35583 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35587 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35593 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35594 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35595 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35596 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35598 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35599 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35601 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35605 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35606 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35607 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35609 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35611 * sysdeps/ieee754/s_matherr.c: Likewise.
35612 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35613 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35615 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35616
965a54a4
JM
356172012-01-26 Joseph Myers <joseph@codesourcery.com>
35618
35619 * crypt/md5.h: Remove __STDC__ conditionals.
35620 * libio/libioP.h: Likewise.
35621 * locale/programs/config.h: Likewise.
35622 * sysdeps/generic/sysdep.h: Likewise.
35623 * sysdeps/i386/asm-syntax.h: Likewise.
35624 * sysdeps/s390/asm-syntax.h: Likewise.
35625 * sysdeps/unix/sysdep.h: Likewise.
35626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35628
7071ad79
JM
356292012-01-26 Joseph Myers <joseph@codesourcery.com>
35630
35631 * libio/libio.h: Remove __STDC__ conditionals.
35632 * malloc/obstack.h: Likewise.
35633 * math/complex.h: Likewise.
35634 * math/math.h: Likewise.
35635 * sysdeps/generic/_G_config.h: Likewise.
35636 * sysdeps/gnu/_G_config.h: Likewise.
35637 * sysdeps/mach/hurd/_G_config.h: Likewise.
35638 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35639 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35640 * sysdeps/sparc/bits/mathdef.h: Likewise.
35641
afc5ed09
UD
356422012-01-26 Ulrich Drepper <drepper@gmail.com>
35643
35644 [BZ #13583]
35645 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35646 Clean up HAS_* macros.
afc5ed09 35647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35648 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35649 possible.
35650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35651 HAS_AVX.
35652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35653 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35654 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35657
bdb6de1d
JM
356582012-01-25 Joseph Myers <joseph@codesourcery.com>
35659
35660 * elf/tst-unique3.cc (gets): Remove declaration.
35661 * elf/tst-unique3lib.cc (gets): Likewise.
35662 * elf/tst-unique3lib2.cc (gets): Likewise.
35663 * elf/tst-unique4.cc (gets): Likewise.
35664
b15549e6
UD
356652012-01-24 Ulrich Drepper <drepper@gmail.com>
35666
35667 * include/stdio.h: Add C++ protection. Add gets declarations and
35668 definitions.
35669 * debug/tst-chk1.c: Don't declare gets here.
35670 * stdio-common/tst-gets.c: Likewise.
35671
a037381f
JM
356722012-01-24 Joseph Myers <joseph@codesourcery.com>
35673
35674 * posix/glob: Remove directory.
35675
f1d4aa75
JM
356762012-01-24 Joseph Myers <joseph@codesourcery.com>
35677
35678 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35679
81c0c964
PT
356802012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35681
35682 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35683 of the non-standard EPFNOSUPPORT.
35684
0ea698ae
ST
356852011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35686
35687 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35688 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35689 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35690
d220b117
UD
356912012-01-21 Ulrich Drepper <drepper@gmail.com>
35692
35693 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35694
3e1aa84e
UD
356952012-01-20 Ulrich Drepper <drepper@gmail.com>
35696
35697 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35698 transient errors.
35699 * nscd/grpcache.c (cache_addgr): Likewise.
35700 * nscd/hstcache.c (cache_addhst): Likewise.
35701 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35702 * nscd/pwdcache.c (cache_addpw): Likewise.
35703 * nscd/servicescache.c (cache_addserv): Likewise.
35704
400aa020
UD
357052012-01-16 Ulrich Drepper <drepper@gmail.com>
35706
d77e7869
UD
35707 * malloc/malloc.c: Various cleanups.
35708 * malloc/hooks.c: Likewise.
35709
400aa020
UD
35710 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35711 * stdlib/bug-fmtmsg1.c: New file.
35712
35713 * stdlib/fmtmsg.c (init): Add missing unlock.
35714 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35715
e0a309cf
MP
357162012-01-12 Marek Polacek <polacek@redhat.com>
35717
35718 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35719 and _GNU_SOURCE.
35720
929d11c7
WS
357212012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35722
35723 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35724 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35725 macro to ensure uniqueness of label name.
35726 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35727 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35728
41d0e869
UD
357292012-01-11 Ulrich Drepper <drepper@gmail.com>
35730
0cc5ed3b
UD
35731 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35732
41d0e869
UD
35733 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35734 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35735 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35737
a47a831a
UD
357382012-01-10 Ulrich Drepper <drepper@gmail.com>
35739
daa891c0
UD
35740 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35741
35742 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35743 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35744 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35745
e58ef0f2
UD
35746 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35747
a47a831a 35748 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35749 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35750 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35752
35753 * math/bits/math-finite.h: Add ldexp support.
35754
a0bfc9c7
MP
357552012-01-10 Marek Polacek <polacek@redhat.com>
35756
35757 * locale/programs/localedef.h (show_archive_content): Add noreturn
35758 attribute.
35759
d6e97a1d
UD
357602012-01-09 Ulrich Drepper <drepper@gmail.com>
35761
35762 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35763
d5835c26
UD
357642012-01-08 Ulrich Drepper <drepper@gmail.com>
35765
e5f484c6
UD
35766 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35767
d5835c26
UD
35768 * io/Makefile (headers): Add bits/poll2.h.
35769
d1f741e9
WS
357702011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35771
35772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35773 typo #include statement.
35774
ec09c1c4
UD
357752012-01-08 Ulrich Drepper <drepper@gmail.com>
35776
35777 * include/sys/cdefs.h: Define __attribute_alloc_size.
35778 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35779 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35780 * elf/pldd.c: Likewise.
35781 * iconv/iconv_charmap.c: Likewise.
35782 * iconv/iconvconfig.c: Likewise.
35783 * iconv/strtab.c: Likewise.
35784 * locale/programs/locale.c: Likewise.
35785 * locale/programs/localedef.h: Likewise.
35786 * locale/programs/simple-hash.c: Likewise.
35787 * nscd/nscd.h: Likewise.
35788 * nss/makedb.c: Likewise.
35789 * sysdeps/generic/ldconfig.h: Likewise.
35790 * locale/programs/localedef.c: Remove xmalloc prototype.
35791 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35792
20b38e03
PP
357932012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35794
35795 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35796 appropriate.
35797
a0da5fe1
UD
357982012-01-08 Ulrich Drepper <drepper@gmail.com>
35799
1d5a644a 35800 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35801 * math/tst-CMPLX.c: New file.
1d5a644a 35802
8784a6db
UD
35803 * math/complex.h (CMPLXL): Fix typo.
35804
d9a216c0
UD
35805 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35806 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35807 GLIBC_2.16.
35808 * debug/tst-chk1.c: Add poll and ppoll tests.
35809 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35810 * include/sys/poll.h: Add hidden proto for ppoll.
35811 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35812 * sysdeps/mach/hurd/ppoll.c: Likewise.
35813 * io/ppoll.c: Likewise.
35814 * debug/poll_chk.c: New file.
35815 * debug/ppoll_chk.c: New file.
35816 * include/bits/poll2.h: New file.
35817 * io/bits/poll2.h: New file.
35818
ac097f5c
UD
35819 [BZ #1350]
35820 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35821
2119dcfa
UD
35822 * configure.in: static is always set to yes. Remove.
35823 * config.make.in: Don't set build-static.
35824 * Makeconfig: Remove use of build-static.
35825 * dlfcn/Makefile: Likewise.
35826 * elf/Makefile: Likewise.
35827 * math/Makefile: Likewise.
35828 * misc/Makefile: Likewise.
35829 * nptl/Makefile: Likewise.
35830 * sysdeps/mach/hurd/Makefile: Likewise.
35831
121766a9
UD
35832 * configure.in: PWD_P is not used anymore.
35833 * config.make.in: Remove PWD_P entry.
35834
51a1d39c 35835 * configure.in: Remove last remnants of RANLIB.
8720d066 35836 No need to check for signed size_t anymore.
215f4bdc
UD
35837 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35838 and IA-64.
3857022a 35839 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35840 * aclocal.m4: Likewise.
35841
d3ed7225
UD
35842 * wcsmbs/mbrtoc16.c: Implement using towc function.
35843 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35844 * wcsmbs/wcsmbsload.c: Likewise.
35845 * iconv/gconv_simple.c: Likewise.
35846 * iconv/gconv_int.h: Likewise.
35847 * iconv/gconv_builtin.h: Likewise.
35848 * iconv/iconv_prog.c: Remove CHAR16 handling.
35849
35850 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35851
35852 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35853
a0da5fe1
UD
35854 * configure.in: Remove --with-elf and --enable-bounded options.
35855 Dont set base_machine for ia64. More non-ELF conditions removed.
35856 Remove testing and setting of leading underscore information.
35857 * config.make.in (build-bounded): Set to no.
35858 * config.h.in: Remove NO_UNDERSCORES entry.
35859 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35860 them.
35861 * csu/start.c: Remove !NO_UNDERSCORE code.
35862 * locale/localeinfo.h: Likewise.
35863 * sysdeps/generic/machine-gmon.h: Likewise.
35864 * sysdeps/generic/sysdep.h: Likewise.
35865 * sysdeps/i386/sysdep.h: Likewise.
35866 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35867 * sysdeps/mach/sysdep.h: Likewise.
35868 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35869 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35870 * sysdeps/sh/sysdep.h: Likewise.
35871 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35872 * sysdeps/unix/i386/sysdep.S: Likewise.
35873 * sysdeps/unix/sparc/start.c: Likewise.
35874 * sysdeps/unix/sparc/sysdep.S: Likewise.
35875 * sysdeps/unix/sparc/sysdep.h: Likewise.
35876 * sysdeps/unix/start.c: Likewise.
35877 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35878 * sysdeps/x86_64/sysdep.h: Likewise.
35879
df78418a
UD
358802012-01-07 Ulrich Drepper <drepper@gmail.com>
35881
a784e502
UD
35882 [BZ #13553]
35883 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35884 for non-gcc.
35885 * argp/argp-fmtstream.h: Use const instead __const.
35886 * argp/argp.h: Likewise.
35887 * assert/assert.h: Likewise.
35888 * bits/fenv.h: Likewise.
35889 * bits/sched.h: Likewise.
35890 * bits/sigset.h: Likewise.
35891 * bits/sigthread.h: Likewise.
35892 * catgets/nl_types.h: Likewise.
35893 * conform/data/pthread.h-data: Likewise.
35894 * crypt/crypt-private.h: Likewise.
35895 * crypt/crypt.h: Likewise.
35896 * crypt/crypt_util.c: Likewise.
35897 * ctype/ctype.h: Likewise.
35898 * debug/execinfo.h: Likewise.
35899 * debug/mbsnrtowcs_chk.c: Likewise.
35900 * debug/mbsrtowcs_chk.c: Likewise.
35901 * debug/wcsnrtombs_chk.c: Likewise.
35902 * debug/wcsrtombs_chk.c: Likewise.
35903 * debug/wcstombs_chk.c: Likewise.
35904 * dirent/dirent.h: Likewise.
35905 * dlfcn/dlfcn.h: Likewise.
35906 * elf/neededtest4.c: Likewise.
35907 * grp/grp.h: Likewise.
35908 * gshadow/gshadow.h: Likewise.
35909 * iconv/gconv.h: Likewise.
35910 * iconv/gconv_int.h: Likewise.
35911 * iconv/gconv_simple.c: Likewise.
35912 * iconv/iconv.h: Likewise.
35913 * iconv/loop.c: Likewise.
35914 * iconv/skeleton.c: Likewise.
35915 * include/aio.h: Likewise.
35916 * include/aliases.h: Likewise.
35917 * include/argz.h: Likewise.
35918 * include/arpa/inet.h: Likewise.
35919 * include/assert.h: Likewise.
35920 * include/dirent.h: Likewise.
35921 * include/dlfcn.h: Likewise.
35922 * include/execinfo.h: Likewise.
35923 * include/fcntl.h: Likewise.
35924 * include/fenv.h: Likewise.
35925 * include/glob.h: Likewise.
35926 * include/grp.h: Likewise.
35927 * include/libintl.h: Likewise.
35928 * include/mntent.h: Likewise.
35929 * include/netdb.h: Likewise.
35930 * include/pwd.h: Likewise.
35931 * include/rpc/netdb.h: Likewise.
35932 * include/sched.h: Likewise.
35933 * include/search.h: Likewise.
35934 * include/shadow.h: Likewise.
35935 * include/signal.h: Likewise.
35936 * include/stdio.h: Likewise.
35937 * include/stdlib.h: Likewise.
35938 * include/string.h: Likewise.
35939 * include/sys/socket.h: Likewise.
35940 * include/sys/stat.h: Likewise.
35941 * include/sys/statfs.h: Likewise.
35942 * include/sys/statvfs.h: Likewise.
35943 * include/sys/syslog.h: Likewise.
35944 * include/sys/time.h: Likewise.
35945 * include/sys/uio.h: Likewise.
35946 * include/time.h: Likewise.
35947 * include/unistd.h: Likewise.
35948 * include/utmp.h: Likewise.
35949 * include/wchar.h: Likewise.
35950 * include/wctype.h: Likewise.
35951 * inet/aliases.h: Likewise.
35952 * inet/arpa/inet.h: Likewise.
35953 * inet/netinet/ether.h: Likewise.
35954 * inet/netinet/in.h: Likewise.
35955 * intl/libintl.h: Likewise.
35956 * io/bits/fcntl2.h: Likewise.
35957 * io/fcntl.h: Likewise.
35958 * io/ftw.h: Likewise.
35959 * io/sys/poll.h: Likewise.
35960 * io/sys/stat.h: Likewise.
35961 * io/sys/statfs.h: Likewise.
35962 * io/sys/statvfs.h: Likewise.
35963 * io/utime.h: Likewise.
35964 * libio/bits/stdio.h: Likewise.
35965 * libio/bits/stdio2.h: Likewise.
35966 * libio/libio.h: Likewise.
35967 * libio/libioP.h: Likewise.
35968 * libio/stdio.h: Likewise.
35969 * locale/lc-ctype.c: Likewise.
35970 * locale/locale.h: Likewise.
35971 * login/utmp.h: Likewise.
35972 * malloc/arena.c: Likewise.
35973 * malloc/malloc.c: Likewise.
35974 * malloc/malloc.h: Likewise.
35975 * malloc/mcheck.c: Likewise.
35976 * malloc/mtrace.c: Likewise.
35977 * math/bits/mathcalls.h: Likewise.
35978 * math/fenv.h: Likewise.
35979 * math/math_private.h: Likewise.
35980 * misc/bits/error.h: Likewise.
35981 * misc/bits/syslog.h: Likewise.
35982 * misc/err.h: Likewise.
35983 * misc/error.h: Likewise.
35984 * misc/fstab.h: Likewise.
35985 * misc/mntent.h: Likewise.
35986 * misc/regexp.h: Likewise.
35987 * misc/search.h: Likewise.
35988 * misc/sgtty.h: Likewise.
35989 * misc/sys/mman.h: Likewise.
35990 * misc/sys/syslog.h: Likewise.
35991 * misc/sys/uio.h: Likewise.
35992 * misc/sys/xattr.h: Likewise.
35993 * misc/ttyent.h: Likewise.
35994 * nis/rpcsvc/ypclnt.h: Likewise.
35995 * nss/nss.h: Likewise.
35996 * posix/bits/unistd.h: Likewise.
35997 * posix/fnmatch.h: Likewise.
35998 * posix/glob.h: Likewise.
35999 * posix/sched.h: Likewise.
36000 * posix/spawn.h: Likewise.
36001 * posix/sys/wait.h: Likewise.
36002 * posix/unistd.h: Likewise.
36003 * posix/wordexp.h: Likewise.
36004 * pwd/pwd.h: Likewise.
36005 * resolv/netdb.h: Likewise.
36006 * resource/sys/resource.h: Likewise.
36007 * rt/aio.h: Likewise.
36008 * rt/bits/mqueue2.h: Likewise.
36009 * rt/mqueue.h: Likewise.
36010 * shadow/shadow.h: Likewise.
36011 * signal/signal.h: Likewise.
36012 * socket/send.c: Likewise.
36013 * socket/sendto.c: Likewise.
36014 * socket/sys/socket.h: Likewise.
36015 * stdio-common/printf.h: Likewise.
36016 * stdlib/bits/stdlib.h: Likewise.
36017 * stdlib/fmtmsg.h: Likewise.
36018 * stdlib/monetary.h: Likewise.
36019 * stdlib/stdlib.h: Likewise.
36020 * stdlib/ucontext.h: Likewise.
36021 * streams/stropts.h: Likewise.
36022 * string/argz.h: Likewise.
36023 * string/bits/string2.h: Likewise.
36024 * string/string.h: Likewise.
36025 * string/strings.h: Likewise.
36026 * sunrpc/rpc/auth.h: Likewise.
36027 * sunrpc/rpc/auth_des.h: Likewise.
36028 * sunrpc/rpc/clnt.h: Likewise.
36029 * sunrpc/rpc/netdb.h: Likewise.
36030 * sunrpc/rpc/pmap_clnt.h: Likewise.
36031 * sunrpc/rpc/xdr.h: Likewise.
36032 * sysdeps/generic/inttypes.h: Likewise.
36033 * sysdeps/generic/net/if.h: Likewise.
36034 * sysdeps/generic/sys/swap.h: Likewise.
36035 * sysdeps/gnu/net/if.h: Likewise.
36036 * sysdeps/gnu/utmpx.h: Likewise.
36037 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36038 * sysdeps/i386/i486/bits/string.h: Likewise.
36039 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36040 * sysdeps/s390/bits/string.h: Likewise.
36041 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36042 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36043 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36044 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36045 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36046 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36047 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36048 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36049 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36050 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36051 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36052 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36053 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36054 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36055 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36056 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36057 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36059 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36061 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36062 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36063 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36064 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36065 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36066 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36067 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36068 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36069 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36070 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36071 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36072 * sysvipc/sys/ipc.h: Likewise.
36073 * sysvipc/sys/msg.h: Likewise.
36074 * sysvipc/sys/sem.h: Likewise.
36075 * sysvipc/sys/shm.h: Likewise.
36076 * termios/termios.h: Likewise.
36077 * time/sys/time.h: Likewise.
36078 * time/time.h: Likewise.
36079 * wcsmbs/bits/wchar2.h: Likewise.
36080 * wcsmbs/uchar.h: Likewise.
36081 * wcsmbs/wchar.h: Likewise.
36082 * wctype/wctype.h: Likewise.
36083
0269750c
UD
36084 [BZ #13551]
36085 * Makeconfig: Remove all but ELF support including AIX support.
36086 * Makerules: Likewise.
36087 * config.h.in: Likewise.
36088 * config.make.in: Likewise.
36089 * configure: Likewise.
36090 * configure.in: Likewise.
36091 * csu/Makefile: Likewise.
36092 * csu/version.c: Likewise.
36093 * debug/Makefile: Likewise.
36094 * dlfcn/Makefile: Likewise.
36095 * elf/Makefile: Likewise.
36096 * extra-lib.mk: Likewise.
36097 * iconv/Makefile: Likewise.
36098 * include/libc-symbols.h: Likewise.
36099 * include/shlib-compat.h: Likewise.
36100 * resolv/Makefile: Likewise.
36101 * resolv/res_libc.c: Likewise.
36102 * rt/Makefile: Likewise.
36103 * sysdeps/i386/asm-syntax.h: Likewise.
36104 * sysdeps/i386/sysdep.h: Likewise.
36105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36106 * sysdeps/mach/sysdep.h: Likewise.
36107 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36108 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36109 * sysdeps/s390/asm-syntax.h: Likewise.
36110 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36111 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36112 * sysdeps/sh/sysdep.h: Likewise.
36113 * sysdeps/unix/sparc/sysdep.h: Likewise.
36114 * sysdeps/wordsize-32/divdi3.c: Likewise.
36115 * sysdeps/x86_64/sysdep.h: Likewise.
36116
00bbd29b
UD
36117 * argp/Versions: Remove _argp_unlock_xxx.
36118
36119 [BZ #13559]
36120 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36121 * abilist/libBrokenLocale.abilist: Likewise.
36122 * abilist/libanl.abilist: Likewise.
36123 * abilist/libc.abilist: Likewise.
36124 * abilist/libcrypt.abilist: Likewise.
36125 * abilist/libdl.abilist: Likewise.
36126 * abilist/libm.abilist: Likewise.
36127 * abilist/libnsl.abilist: Likewise.
36128 * abilist/libpthread.abilist: Likewise.
36129 * abilist/libresolv.abilist: Likewise.
36130 * abilist/librt.abilist: Likewise.
36131 * abilist/libthread_db.abilist: Likewise.
36132 * abilist/libutil.abilist: Likewise.
36133 * abilist/libnss_db.abilist: New file.
36134
36135 * scripts/abilist.awk: Add support for indirect functions.
36136
a2693a0e
UD
36137 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36138
3f05895f
UD
36139 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36140
ecb6fb48
UD
36141 * shlib-versions: Remove entries for ports architectures.
36142
664f8cb9
UD
36143 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36144 files in ports.
36145 * elf/stackguard-macros.h: Remove support for IA-64.
36146 * elf/tst-auditmod1.c: Likewise.
36147 * sysdeps/generic/ldsodefs.h: Likewise.
36148
7ae81d88
UD
36149 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36150 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36151 configure files.
36152
bdeba135
UD
36153 [BZ #13552]
36154 * configure.in: Remove --enable-omitfp support.
36155 * FAQ.in: Adjust.
36156 * config.make.in: Likewise.
36157 * Makeconfig: Likewise.
36158 * manual/install.texi: Likewise.
36159
d75a0a62
UD
36160 In case anyone cares, the IA-64 architecture could move to ports.
36161 * sysdeps/ia64/*: Removed.
36162 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36163 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36164
dcc9756b
UD
36165 [BZ #13555]
36166 * configure.in: Remove entries for unsupported architectures.
36167
d3761ebc 36168 [BZ #13533]
9954432e
UD
36169 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36170 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36171 routines.
36172 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36173 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36174 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36175 fall back to using wcrtomb.
36176 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36177 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36178 renaming.
36179 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36180 * wcsmbs/tst-c16c32-1.c: New file.
36181
36182 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36183 local variable.
36184
c3a87236
UD
36185 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36186
28926a1b
UD
36187 * elf/tst-unique3.cc: Add explicit declaration of gets.
36188 * elf/tst-unique3lib.cc: Likewise.
36189 * elf/tst-unique3lib2.cc: Likewise.
36190 * elf/tst-unique4.cc: Likewise.
36191
df78418a
UD
36192 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36193
8ecd6b2a
JM
361942012-01-06 Joseph Myers <joseph@codesourcery.com>
36195
36196 [BZ #13566]
36197 * assert/assert.h (static_assert): Don't define for C++.
36198 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36199 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36200
9f115170
UD
362012012-01-03 Ulrich Drepper <drepper@gmail.com>
36202
5e0d0300
UD
36203 * iconv/loop.c (single loop): Fix assertion in storing of
36204 remaining bytes.
36205
9f115170
UD
36206 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36207
81fb02b0
UD
362082012-01-01 Ulrich Drepper <drepper@gmail.com>
36209
36210 * posix/getconf.c: Update copyright year.
36211 * nss/getent.c: Likewise.
a316c1f6 36212 * nss/makedb.c: Likewise.
81fb02b0
UD
36213 * iconv/iconvconfig.c: Likewise.
36214 * iconv/iconv_prog.c: Likewise.
36215 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36216 * elf/pldd.c: Likewise.
36217 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36218 * catgets/gencat.c: Likewise.
36219 * csu/version.c: Likewise.
36220 * elf/ldd.bash.in: Likewise.
36221 * elf/sprof.c (print_version): Likewise.
36222 * locale/programs/locale.c: Likewise.
36223 * locale/programs/localedef.c: Likewise.
a316c1f6 36224 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36225 * nscd/nscd.c (print_version): Likewise.
36226 * debug/xtrace.sh: Likewise.
36227 * malloc/memusage.sh: Likewise.
36228 * malloc/mtrace.pl: Likewise.
36229 * debug/catchsegv.sh: Likewise.
36230
2ba92745
JJ
362312011-12-30 Jakub Jelinek <jakub@redhat.com>
36232
36233 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36234 pure attribute.
36235
dadebdae
UD
362362011-12-24 Ulrich Drepper <drepper@gmail.com>
36237
d3761ebc 36238 [BZ #13533]
db6af3eb
UD
36239 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36240 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36241 transformations.
36242 * iconv/gconv_int.h: Likewise.
36243 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36244 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36245 from libc for GLIBC_2.16.
36246 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36247 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36248 * wcsmbs/uchar.h: Really define mbstate_t.
36249 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36250 * wcsmbs/c16rtomb.c: New file.
36251 * wcsmbs/mbrtoc16.c: New file.
36252 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36253 for C/POSIX locale.
36254 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36255 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36256
dadebdae
UD
36257 * wcsmbs/wchar.h: Add missing __restrict.
36258
67371b56
UD
362592011-12-23 Ulrich Drepper <drepper@gmail.com>
36260
74033a25
UD
36261 [BZ #13532]
36262 * time/Makefile (routines): Add timespec_get.
36263 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36264 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36265 timespec for ISO C11.
36266 * time/timespec_get.c: New file.
36267 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36268 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36269
380d7e87
UD
36270 [BZ #13531]
36271 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36272 * stdlib/stdlib.h: Declare aligned_alloc.
36273 * Versions.def: Add GLIBC_2.16 for libc.
36274 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36275
4e9e7a35
UD
36276 [BZ 13527]
36277 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36278 ISO C11.
36279
380d7e87 36280 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36281 code.
36282
03a71829
UD
36283 [BZ #13528]
36284 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36285
839e283e
UD
36286 [BZ #13529]
36287 * assert/assert.h (static_assert): Define.
36288
ce5294e2 36289 * version.h: Update for 2.16 development version.
90fa7312 36290
8d44e150 36291 [BZ #13526]
d7809905
UD
36292 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36293 _ISOC11_SOURCE.
36294
c0da14cd
UD
36295 * version.h (RELEASE): Bump for 2.15 release.
36296 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36297
530a3249
MP
36298 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36299 Patch by Marek Polacek <mpolacek@redhat.com>.
36300
67371b56
UD
36301 * bits/byteswap.h: Protect long long constants with __extension__.
36302 * sysdeps/i386/bits/byteswap.h: Likewise.
36303 * sysdeps/ia64/bits/byteswap.h: Likewise.
36304 * sysdeps/s390/bits/byteswap.h: Likewise.
36305 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36306
15db4de1
LD
363072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36308
36309 [BZ #13540]
bbe315ea
LD
36310 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36311 destination buffer.
15db4de1
LD
36312 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36313
2b2596b1
MP
363142011-12-23 Marek Polacek <polacek@redhat.com>
36315
36316 * elf/dl-addr.c (determine_info): Add inline keyword.
36317 * elf/tst-auditmod4b.c (check_avx): Likewise.
36318 * elf/tst-auditmod6b.c (check_avx): Likewise.
36319 * elf/tst-auditmod6c.c (check_avx): Likewise.
36320 * elf/tst-auditmod7b.c (check_avx): Likewise.
36321
70c6c246
UD
363222011-12-23 Ulrich Drepper <drepper@gmail.com>
36323
36324 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36325 !__SSE_MATH__.
36326
c044cf14
LD
363272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36328
15db4de1 36329 [BZ #13540]
c044cf14
LD
36330 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36331 processing for last bytes.
36332
6b13d9d9
BH
363332011-08-06 Bruno Haible <bruno@clisp.org>
36334
d455f537
BH
36335 [BZ #13061]
36336 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36337 U+0385, not to U+1FEE.
36338
6b13d9d9
BH
36339 [BZ #13062]
36340 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36341 entry for U+00A5 U+0301.
36342
db910efd
UD
363432011-12-22 Ulrich Drepper <drepper@gmail.com>
36344
27deeafc
UD
36345 [BZ #13166]
36346 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36347 buffer for the output is too small.
36348
aed9d171
UD
36349 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36350 optimization.
36351
db910efd
UD
36352 [BZ #13185]
36353 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36354 SSE flags if possible.
36355
2bd779ae
LD
363562011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36357
e7f9dac3 36358 [BZ #13540]
2bd779ae
LD
36359 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36360 processing for last bytes.
36361
154bfc16
JM
363622011-12-22 Joseph Myers <joseph@codesourcery.com>
36363
36364 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36365 (syscall-list-default-options, syscall-list-default-condition)
36366 (syscall-list-includes): Define.
36367 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36368 list of ABIs and options and #if conditions for each ABI. Do not
36369 handle common syscalls between ABIs specially.
36370 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36371 Remove.
36372 (syscall-list-variants, syscall-list-32bit-options)
36373 (syscall-list-32bit-condition, syscall-list-64bit-options)
36374 (syscall-list-64bit-condition): Define.
36375 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36376 (syscall-list-variants, syscall-list-32bit-options)
36377 (syscall-list-32bit-condition, syscall-list-64bit-options)
36378 (syscall-list-64bit-condition): Define.
36379 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36380 Remove.
36381 (syscall-list-variants, syscall-list-32bit-options)
36382 (syscall-list-32bit-condition, syscall-list-64bit-options)
36383 (syscall-list-64bit-condition): Define.
36384 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36385 Remove.
36386 (syscall-list-variants, syscall-list-32bit-options)
36387 (syscall-list-32bit-condition, syscall-list-64bit-options)
36388 (syscall-list-64bit-condition): Define.
36389
21eaf3a5
UD
363902011-12-22 Ulrich Drepper <drepper@gmail.com>
36391
16c6f992
UD
36392 * locale/iso-639.def: Add brx entry.
36393
41043168
UD
36394 [BZ #13328]
36395 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36396 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36397
21eaf3a5
UD
36398 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36399 __feraiseexcept_renamed.
36400
e3a851a2
UD
364012011-12-21 Ulrich Drepper <drepper@gmail.com>
36402
4920765e
UD
36403 [BZ #13538]
36404 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36405 EPOLLET with unsigned values.
36406 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36408
e3a851a2
UD
36409 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36410 to large cancellation.
36411 * math/s_cacoshf.c: Likewise.
36412 * math/s_cacoshl.c: Likewise.
36413
b27e24b8
RK
364142011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36415
36416 [BZ #13305]
aebefeee 36417 [BZ #12786]
b27e24b8
RK
36418 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36419 * math/s_cacoshf.c: Likewise.
36420 * math/s_cacoshl.c: Likewise.
36421
ee190f67
UD
364222011-12-21 Ulrich Drepper <drepper@gmail.com>
36423
36424 [BZ #13439]
36425 * iconv/gconv.h: Define __GCONV_SWAP.
36426 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36427 * iconvdata/utf-16.c: Likewise.
36428 * iconvdata/utf-32.c: Likewise.
36429
707f25df
AS
364302011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36431
36432 [BZ #13524]
36433 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36434 numerator after shifting it by one limb.
36435
d2daaa1e
RÁE
364362011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36437
36438 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36439 under [__USE_EXTERN_INLINES].
36440
a4647e72
UD
364412011-12-17 Ulrich Drepper <drepper@gmail.com>
36442
36443 [BZ #13446]
36444 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36445
f0b264f1
AZ
364462011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36447
36448 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36449 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36450 optimized code.
36451 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36452 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36453 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36454 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36455 for strncasecmp/strncasecmp_l compilation.
36456 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36457 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36458
8ef4f244
MP
364592011-12-08 Marek Polacek <mpolacek@redhat.com>
36460
36461 [BZ #13484]
36462 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36463 of __asm__.
36464
97ac2654
UD
364652011-12-17 Ulrich Drepper <drepper@gmail.com>
36466
36467 [BZ #13506]
36468 * time/tzfile.c (__tzfile_read): Check values from file header.
36469
91d2a845
WS
364702011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36471
36472 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36473 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36474 * powerpc/powerpc32/dl-start.S: Likewise.
36475 * powerpc/powerpc32/elf/start.S: Likewise.
36476 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36477 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36478 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36479 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36480 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36481 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36482 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36483 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36484 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36485 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36486 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36487 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36488 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36489 * powerpc/powerpc32/memset.S: Likewise.
36490 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36491 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36492 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36493 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36494 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36495 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36496 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36497 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36498 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36499 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36500 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36501 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36502 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36503
a1267ba1
AZ
365042011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36505
36506 * math/libm-test.inc: Added more nearbyint tests.
36507 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36508 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36509 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36511
ad8ac1bd
RL
365122011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36513
36514 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36515 FD_CLOEXEC.
36516
1d3e4b61
UD
365172011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36518
36519 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36520 Add wcscpy-ssse3 wcscpy-c.
36521 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36522 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36523 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36524 * sysdeps/x86_64/wcschr.S: New file.
36525 * sysdeps/x86_64/wcsrchr.S: New file.
36526 * string/test-strcmp.c: Remove checking of wcscmp function for
36527 wrong alignments.
36528 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36529 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36530 wcsrchr-sse2 wcsrchr-c.
36531 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36532 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36533 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36534 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36535 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36536 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36537 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36538 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36539 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36540 * wcsmbc/wcschr.c (WCSCHR): New macro.
36541
5b330a2d
UD
365422011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36543
36544 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36545 * wcsmbs/test-wcsrchr.c: New file.
36546 * string/test-strrchr.c: Add wcsrchr support.
36547 (WIDE): New macro.
36548 * wcsmbs/test-wcscpy.c: New file.
36549 * string/test-strcpy.c: Add wcscpy support.
36550 (WIDE): New macro.
26428b7c 36551
f039c043
UD
365522011-12-10 Ulrich Drepper <drepper@gmail.com>
36553
36554 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36555 the inner loop.
36556
850fb039
AS
365572011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36558
36559 [BZ #13472]
36560 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36561
4efbd5cb
UD
365622011-12-04 Ulrich Drepper <drepper@gmail.com>
36563
52ff5dd0 36564 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36565 Minor optimizations.
52ff5dd0 36566
4efbd5cb
UD
36567 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36568 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36569 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36570
8a426e12
UD
365712011-12-03 Ulrich Drepper <drepper@gmail.com>
36572
aff2453d
UD
36573 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36574 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36575 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36576 for gcc to avoid warnings.
36577 * inet/Makefile (tests): Add tst-checks.
36578 * inet/tst-checks.c: New file.
36579
36580 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36581 warning.
36582
36583 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36584 __wmemcmp_sse2.
36585
36586 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36587 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36588
8a426e12
UD
36589 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36590
9bea3473
UD
365912011-12-02 Ulrich Drepper <drepper@gmail.com>
36592
3a965496
UD
36593 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36594 problem.
36595
9bea3473
UD
36596 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36597
f101631b
UD
365982011-11-29 Joseph Myers <joseph@codesourcery.com>
36599
36600 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36601 conditional on GCC version.
36602 (__arch_compare_and_exchange_val_8_acq)
36603 (__arch_compare_and_exchange_val_16_acq)
36604 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36605 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36606 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36607
a98275aa
UD
366082011-12-02 Joseph Myers <joseph@codesourcery.com>
36609
36610 * sysdeps/sh/backtrace.c: New file.
36611
d4cc29a2
AS
366122011-12-02 Andreas Schwab <schwab@redhat.com>
36613
36614 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36615 parenthesis.
36616
6257af2d
AS
366172011-12-01 Andreas Schwab <schwab@redhat.com>
36618
36619 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36620 falling back to utime.
36621
b5f44c1a
AS
366222011-11-30 Andreas Schwab <schwab@redhat.com>
36623
36624 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36625 expectations for float.
36626
f3a6cc0a
AS
366272011-11-29 Andreas Schwab <schwab@redhat.com>
36628
36629 * locale/weight.h (findidx): Add parameter len.
36630 * locale/weightwc.h (findidx): Likewise.
36631 * posix/fnmatch_loop.c (FCT): Adjust caller.
36632 * posix/regcomp.c (build_equiv_class): Likewise.
36633 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36634 * posix/regexec.c (check_node_accept_bytes): Likewise.
36635 * string/strcoll_l.c (STRCOLL): Likewise.
36636 * string/strxfrm_l.c (STRXFRM): Likewise.
36637
9d65ea3a
UD
366382011-11-17 Ulrich Drepper <drepper@gmail.com>
36639
36640 * Makefile.in: Remove CVSOPT handling.
36641 * configure.in: Remove use of AC_REVISION.
36642 * iconvdata/Makefile (distribute): No need to filter out CVS.
36643 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36644 handling.
36645
5583a086
AS
366462011-11-16 Andreas Schwab <schwab@redhat.com>
36647
36648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36649 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36650 [USE_AS_STRNCASECMP_L]: Likewise.
36651 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36652 NO_TLS_DIRECT_SEG_REFS.
36653 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36654 Fix argument offsets for non-PIC.
36655 [USE_AS_STRNCASECMP_L]: Likewise.
36656 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36657 NO_TLS_DIRECT_SEG_REFS.
36658
d62a8200
UD
366592011-11-15 Ulrich Drepper <drepper@gmail.com>
36660
9d65ea3a 36661 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36662 O_CLOEXEC.
36663 * locale/loadlocale.c (_nl_load_locale): Likewise.
36664
09f93bd3
AS
366652011-11-15 Andreas Schwab <schwab@redhat.com>
36666
446514f9
AS
36667 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36668 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36669 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36670 (SYSCALL_GETTIME): Set errno on error.
36671
09f93bd3
AS
36672 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36673 count references to noai6ai_cached.
36674
312be3f9
UD
366752011-11-15 Ulrich Drepper <drepper@gmail.com>
36676
36677 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36678
36679 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36680 FD_CLOEXEC for /proc/self/maps.
36681
36682 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36683 FD_CLOEXEC for /proc/meminfo.
36684
36685 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36686 gai.conf.
36687
36688 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36689 FD_CLOEXEC for given file.
36690
36691 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36692
36693 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36694 FD_CLOEXEC for /etc/hosts.
36695 (_gethtent): Likewise.
36696
36697 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36698
36699 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36700 cancellation and set FD_CLOEXEC for /etc/netgroup.
36701
36702 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36703 reading /etc/publickey.
36704
36705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36706 allow cancellation when reading /etc/group.
36707
36708 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36709 cancellation.
36710 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36711
36712 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36713 when using data file.
36714
36715 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36716
36717 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36718 (write_nis_obj): Use "c" and "e" in fopen.
36719
36720 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36721
36722 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36723
36724 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36725
36726 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36727
36728 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36729 locale.alias.
36730
36731 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36732
36733 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36734
36735 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36736
36737 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36738 file parsing and set FD_CLOEXEC.
36739
82af0fa8
UD
367402011-11-14 Ulrich Drepper <drepper@gmail.com>
36741
36742 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36743
a5fb313c
AS
367442011-11-14 Andreas Schwab <schwab@redhat.com>
36745
36746 * malloc/arena.c (arena_get2): Don't call reused_arena when
36747 _int_new_arena failed.
36748
6abf3465
UD
367492011-11-14 Ulrich Drepper <drepper@gmail.com>
36750
36751 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36752 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36753 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36754 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36755 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36757 to compile strcasecmp and strncasecmp.
36758 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36759 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36760
36761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36762
76e3966e
UD
367632011-11-13 Ulrich Drepper <drepper@gmail.com>
36764
36765 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36766 locale-defines.sym to gen-as-const-headers.
36767 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36768 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36769 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36770 to compile strcasecmp and strncasecmp.
36771 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36772 strcasecmp_l and strncasecmp_l.
36773 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36774 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36775 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36776 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36777 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36778 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36779 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36780 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36781 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36782 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36783 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36784
ab26144e
UD
367852011-11-12 Ulrich Drepper <drepper@gmail.com>
36786
7edb22ef
UD
36787 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36788 result of SYSDEP_GETTIME_CPU to retval.
36789 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36790 parameter list to macro. Remove trailing semicolon. Adjust users.
36791
9694fc44
UD
36792 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36793 variable.
36794
8ad89ef8
UD
36795 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36796 mantissa words.
36797 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36798
0c822ef9
UD
36799 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36800 from unused variable.
36801
874e0564
UD
36802 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36803 DWARF definitions.
36804 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36805 for assembling.
36806
3a2edc79
UD
36807 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36808 over namespaces.
36809
f3c2577f
UD
36810 * sunrpc/rpc_prot.c (rejected): Fix case value.
36811
294ce126
UD
36812 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36813 unsigned long long int to avoid warnings in shift.
36814
5e2b63c6
UD
36815 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36816 of use of trans.
36817 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36818 variable tmp.
36819
e7f4b08e
UD
36820 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36821 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36822 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36823
ab26144e
UD
36824 * nis/nis_table.c (nis_list): Use variable of correct type for
36825 result of __follow_path call.
36826
8a6d5255
AZ
368272011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36828
36829 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36830 of math functions ceil, trunc, floor, round, and sqrt, when
36831 avaliable on the platform.
36832 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36833 name clash.
36834 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36835 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36836 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36837
aaddc98c
MP
368382011-10-30 Marek Polacek <mpolacek@redhat.com>
36839
36840 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36841 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36842
95b7042b
RM
368432011-11-11 Roland McGrath <roland@hack.frob.com>
36844
36845 * include/unistd.h: Fix __readlink return type.
36846 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36847
57769839
UD
368482011-11-11 Ulrich Drepper <drepper@gmail.com>
36849
36850 * stdlib/ucontext.h: Undo last change for makecontext.
36851
edc5984d
AS
368522011-11-11 Andreas Schwab <schwab@redhat.com>
36853
98591e58
AS
36854 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36855
edc5984d
AS
36856 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36857 * setjmp/setjmp.h: Mark functions as non-leaf.
36858 * setjmp/bits/setjmp2.h: Likewise.
36859 * stdlib/ucontext.h: Likewise.
36860
77cdc054
AS
368612011-11-10 Andreas Schwab <schwab@redhat.com>
36862
36863 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36864 (reused_arena): Don't check arena limit.
36865 (arena_get2): Atomically check arena limit.
36866
fe72eebd
UD
368672011-11-08 Ulrich Drepper <drepper@gmail.com>
36868
5f078c32
UD
36869 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36870 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36871
fe72eebd
UD
36872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36873 instructions.
36874
ae1bc2fa
AS
368752011-11-07 Andreas Schwab <schwab@redhat.com>
36876
7583a88d
AS
36877 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36878 handler when locking.
36879
ae1bc2fa
AS
36880 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36881 Fix size of allocated buffer.
36882
10fb0bfa
AS
368832011-11-04 Andreas Schwab <schwab@redhat.com>
36884
998832a4
AS
36885 [BZ #10103]
36886 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36887 declarations for long double functions.
36888 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36889
10fb0bfa
AS
36890 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36891
3d7ba52b
AS
368922011-11-03 Andreas Schwab <schwab@redhat.com>
36893
a9ae54a1
AS
36894 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36895 installed.
36896
3d7ba52b
AS
36897 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36898 is disabled.
36899
bc8db248
ST
369002011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36901
36902 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36903
45b96dd6
AS
369042011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36905
647776f6
AS
36906 * include/alloca.h (stackinfo_alloca_round): Define.
36907 (extend_alloca): Use it.
36908 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36909 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36910 here.
36911
d91a8b93
AS
36912 * scripts/check-local-headers.sh: Ignore libaudit.h.
36913
45b96dd6
AS
36914 * nscd/Makefile (extra-objs): Make recursively expanded.
36915
432d41ce
UD
369162011-11-01 Ulrich Drepper <drepper@gmail.com>
36917
34372fc6
UD
36918 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36919 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36920
fadb59f8
UD
36921 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36922 * posix/tst-rfc3484-2.c: Likewise.
36923 * posix/tst-rfc3484-3.c: Likewise.
36924
78239589
UD
36925 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36926 process_vm_writev.
36927 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36928 process_vm_writev.
36929 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36930 process_vm_writev from libc using GLIBC_2.15 version.
36931
432d41ce
UD
36932 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36933
02f9c6cf
PP
369342011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36935
36936 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36937 stack usage.
36938
3a2c0242
UD
369392011-10-31 Ulrich Drepper <drepper@gmail.com>
36940
f4ec4833
UD
36941 [BZ #13367]
36942 * nss/getent.c (initgroups_keys): Show error message in case no group
36943 names are given.
36944
3a2c0242
UD
36945 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36946 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36947 __bump_nl_timestamp.
36948 * nscd/connections (nscd_init): When host database is served open
36949 netlink socket and request notification about configuration changes.
36950 (main_loop_poll): Track netlink file descriptor and bump timestamp
36951 in case data becomes available.
36952 (main_loop_epoll): Likewise.
36953 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36954 (database_pers_head): Add extra_data fileds.
36955 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36956 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36957 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36958 Adjust caller.
36959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36960 in6ai data, call __free_in6ai.
36961 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36962 Add -DHAVE_NETLINK.
36963 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36964 interface information. Reuse previous data if netlink timestamp
36965 is not changed.
36966 (__bump_nl_timestamp): New function.
36967 (__free_in6ai): New function.
36968
636064eb
UD
369692011-10-30 Ulrich Drepper <drepper@gmail.com>
36970
36971 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36972 close_not_cancel_no_status here.
36973 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36974
9beb2334
UD
369752011-10-29 Ulrich Drepper <drepper@gmail.com>
36976
6ef76f3b
UD
36977 [BZ #13276]
36978 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36979 return value.
36980
0ffc4f3e 36981 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36982 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36983 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36984
cb95113e
UD
369852011-07-03 Andreas Jaeger <aj@suse.de>
36986
36987 [BZ #10709]
36988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36989 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36990 * math/libm-test.inc (sin_test): Add test case.
36991
a1b560ff
UD
369922011-10-29 Ulrich Drepper <drepper@gmail.com>
36993
c9aaface
UD
36994 [BZ #13337]
36995 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36996 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36997
d272e7f1
UD
36998 * elf/chroot_canon.c (chroot_canon): Cleanups.
36999
1bc33071
UD
37000 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37001
1760874d
TJ
37002 [BZ #13335]
37003 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37004 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37005
51d91b18
UD
37006 * string/test-strchr.c: Make usable for strchrnul testing.
37007 * string/test-strchrnul.c: New file.
37008 * string/Makefile (strop-tests): Add strchrnul.
37009
a1b560ff 37010 * po/it.po: Update from translation team.
b611fb81 37011 * po/es.po: Likewise.
a1b560ff 37012
a5b81e1f
UD
370132011-10-28 Ulrich Drepper <drepper@gmail.com>
37014
fd52bc6d
UD
37015 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37016 the three constants needed as parameters. Drop the others.
37017 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37018 __m128i_strloadu_tolower.
52e4b9eb
UD
37019 Create and initialize variable zero and use it in all the places
37020 where _mm_setzero_si128 was used.
fd52bc6d 37021
a5b81e1f
UD
37022 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37023 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37024 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37025 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37026 anymore.
37027 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37028 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37029 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37030 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37031 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37032 __mpranred, __mptan.
37033 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37034 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37035 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37036 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37037 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37038 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37039 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37040 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37041 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37042
b4343346
AS
370432011-10-28 Andreas Schwab <schwab@redhat.com>
37044
0c92d8a8
AS
37045 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37046 redefine if SHARED.
37047 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37048
b4343346
AS
37049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37050 wide char related routines to wcsmbs subdir.
37051
3871f58f
AS
370522011-10-27 Andreas Schwab <schwab@redhat.com>
37053
37054 [BZ #13344]
37055 * misc/sys/cdefs.h (__THROWNL): Define.
37056 * posix/unistd.h: Use __THREADNL instead of __THREAD
37057 for memory synchronization functions.
37058
94d44d9f
RM
370592011-10-26 Roland McGrath <roland@hack.frob.com>
37060
21b64b15 37061 [BZ #13349]
94d44d9f
RM
37062 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37063 doesn't exist.
37064 * manual/stdio.texi (Obstack Streams): Node removed.
37065
f6ce9294
AS
370662011-10-26 Andreas Schwab <schwab@redhat.com>
37067
80479147
AS
37068 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37069 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37070 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37071
f6ce9294
AS
37072 * math/math_private.h (math_force_eval): Allow non-addressable
37073 arguments.
37074 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37075
618280a1
UD
370762011-10-25 Ulrich Drepper <drepper@gmail.com>
37077
e0016b11
UD
37078 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37079 file is not needed.
37080
37081 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37082 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37084 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37086 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37087 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37088 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37089 Add AVX variants.
37090 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37091 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37092 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37093 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37094 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37095 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37096 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37097 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37098 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37099 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37100 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37101 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37102 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37103 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37104 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37105 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37106 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37107 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37108 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37109
37110 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37111 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37112
618280a1
UD
37113 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37114 place. Use VEX encoding when compiling for AVX.
37115
37822576
AS
371162011-10-25 Andreas Schwab <schwab@redhat.com>
37117
1f1e1947
AS
37118 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37119 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37120
37822576
AS
37121 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37122
31ea014d
UD
371232011-10-25 Ulrich Drepper <drepper@gmail.com>
37124
d7826aa1 37125 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37126 useless if() expression.
d7826aa1
UD
37127 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37136 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37137 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37138 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37139 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37140 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37141 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37142 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37143 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37145 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37146
31ea014d
UD
37147 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37148
16437fec
AS
371492011-10-25 Andreas Schwab <schwab@redhat.com>
37150
37151 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37152 condition.
37153 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37154
31d3cc00
UD
371552011-10-25 Ulrich Drepper <drepper@gmail.com>
37156
37157 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37158 .text section. Avoid duplicate constants.
37159 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37168 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37169 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37170 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37171 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37172 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37173 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37174 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37175 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37176 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37177 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37179 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37180 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37181 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37182 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37183 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37184 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37185 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37186 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37187 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37188 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37189 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37190 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37191 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37192 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37193 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37194 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37195 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37196 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37197 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37198 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37199 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37200 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37201 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37202 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37203 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37204
58985aa9
UD
372052011-10-24 Ulrich Drepper <drepper@gmail.com>
37206
202c9deb
UD
37207 * sysdeps/x86_64/dla.h: Move to ...
37208 * sysdeps/x86_64/fpu/dla.h: ...here.
37209 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37210 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37211
af968f62
UD
37212 * config.make.in: Add have-mfma4 entry.
37213 * configure.in: Substitute libc_cv_cc_fma4.
37214 * math/Makefile (dbl-only-routines): Add sincostab.
37215 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37216 Use __sincostab not sincos.
37217 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37218 name is a macro.
37219 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37220 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37223 using __copysign.
37224 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37225 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37226 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37227 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37228 and __inv.
37229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37230 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37231 __copysign.
37232 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37233 define aliases when function name is a macro.
37234 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37235 sysdeps/ieee754/dbl-64/sincos.tbl.
37236 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37237 fma4-enabled routines.
37238 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37239 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37240 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37241 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37242 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37243 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37244 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37245 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37246 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37247 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37248 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37249 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37250 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37251 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37252 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37253 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37254 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37255 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37256 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37257 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37258 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37259 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37261 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37262 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37263 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37264 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37265 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37266 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37267 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37268
58985aa9
UD
37269 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37270 rename.
37271 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37277 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37279
a201fbcf
AS
372802011-10-24 Andreas Schwab <schwab@redhat.com>
37281
37282 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37283
fc2ee42a
LD
372842011-10-23 Ulrich Drepper <drepper@gmail.com>
37285
bb3129bd
UD
37286 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37287
0275fff8
UD
37288 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37289 prediction.
37290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37291
2fa2ae85
UD
37292 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37293 Remove unused variable magic_bits.
37294 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37295
fc2ee42a
LD
37296 * string/strnlen.c: Define and use STRNLEN macro.
37297 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37298 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37299 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37300 * wcsmbs/wcslen.c: Define and use WCSLEN.
37301 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37302 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37303 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37304 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37305 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37306 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37307 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37308
ce7dd29f
LD
373092011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37310
37311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37312 strnlen-sse2-no-bsf.
37313 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37315 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37316 Add strnlen support.
37317 (USE_AS_STRNLEN): New macro.
37318 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37319 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37320 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37321 * sysdeps/x86_64/wcslen.S: New file.
37322
979c70a3
MZ
373232011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37324
37325 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37326 XMM-moves are used for copying on small sizes.
37327
2d09f82f
LD
373282011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37329
37330 * wcsmbs/Makefile (strop-tests): Add wcschr.
37331 * wcsmbs/test-wcschr.c: New file.
37332 * string/test-strchr.c: Update.
37333 Add wcschr support.
37334 (WIDE): New macro.
37335
619fccca
LD
373362011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37337
2d09f82f 37338 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37339 * wcsmbs/test-wcslen.c: New file.
37340 * string/test-strlen.c: Update.
37341 Add wcslen support.
37342 (WIDE): New macro.
37343
09f699ea
UD
373442011-10-23 Ulrich Drepper <drepper@gmail.com>
37345
37346 * po/it.po: Update from translation team.
37347
95584d3b
LD
373482011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37349
37350 * sysdeps/x86_64/wcscmp.S: Update.
37351 Fix wrong comparison semantics.
37352 wcscmp shall use signed comparison not unsigned.
37353 Don't use substraction to avoid overflow bug.
37354 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37355 * wcsmbc/wcscmp.c: Likewise.
37356 * string/test-strcmp.c: Likewise.
37357 Add new tests to check cases with negative values.
37358
c8b3296b
UD
373592011-10-23 Ulrich Drepper <drepper@gmail.com>
37360
37361 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37362 * sysdeps/x86_64/dla.h: ...here. New file.
37363 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37368 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37370 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37372
246ad57a
AS
373732011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37374
37375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37376 __ynl_finite aliases.
37377
a1a87169
UD
373782011-10-22 Ulrich Drepper <drepper@gmail.com>
37379
0d355eb7
UD
37380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37381
a1a87169
UD
37382 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37383 define DLA_FMA.
37384 [DLA_FMA] (EMULV): Use DLA_FMA.
37385 [DLA_FMA] (MUL12): Use EMULV.
37386 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37387 that are not needed.
37388 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37395
ee2aafe0
AS
373962011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37397
37398 * math/s_nan.c: Undef __nan.
37399 * math/s_nanf.c: Undef __nanf.
37400 * math/s_nanl.c: Undef __nanl.
37401 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37402 "math_private.h".
37403
bc62c2fb
UD
374042011-10-22 Ulrich Drepper <drepper@gmail.com>
37405
77425c63
UD
37406 * math/s_catan.c: Add branch predictions.
37407 * math/s_catanf.c: Likewise.
37408 * math/s_catanh.c: Likewise.
37409 * math/s_catanhf.c: Likewise.
37410 * math/s_catanhl.c: Likewise.
37411 * math/s_catanl.c: Likewise.
37412 * math/s_cexp.c: Likewise.
37413 * math/s_cexpf.c: Likewise.
37414 * math/s_cexpl.c: Likewise.
37415 * math/s_clog.c: Likewise.
37416 * math/s_clog10.c: Likewise.
37417 * math/s_clog10f.c: Likewise.
37418 * math/s_clog10l.c: Likewise.
37419 * math/s_clogf.c: Likewise.
37420 * math/s_clogl.c: Likewise.
37421 * math/s_csqrt.c: Likewise.
37422 * math/s_csqrtf.c: Likewise.
37423 * math/s_csqrtl.c: Likewise.
37424 * math/s_ctanf.c: Likewise.
37425 * math/s_ctanh.c: Likewise.
37426 * math/s_ctanhf.c: Likewise.
37427 * math/s_ctanhl.c: Likewise.
37428 * math/s_ctanl.c: Likewise.
37429
bc62c2fb
UD
37430 * math/math_private.h: Define __nan, __nanf, __nanl.
37431 * math/s_cacosh.c: Include <math_private.h>.
37432 * math/s_cacoshl.c: Likewise.
37433 * math/s_casinh.c: Likewise.
37434 * math/s_casinhf.c: Likewise.
37435 * math/s_casinhl.c: Likewise.
37436 * math/s_ccos.c: Rely entire on ccosh.
37437 * math/s_ccosf.c: Rely entire on ccoshf.
37438 * math/s_ccosl.c: Rely entirely on ccoshl.
37439 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37440 Remove tests for FE_INVALID.
37441 * math/s_ccoshf.c: Likewise.
37442 * math/s_ccoshl.c: Likewise.
37443 * math/s_csin.c: Likewise.
37444 * math/s_csinf.c: Likewise.
37445 * math/s_csinh.c Likewise.
37446 * math/s_csinhf.c: Likewise.
37447 * math/s_csinhl.c: Likewise.
37448 * math/s_csinl.c: Likewise.
37449 * math/s_ctan.c: Likewise.
37450 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37451 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37452 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37453
8ec250a4
UD
374542011-10-21 Ulrich Drepper <drepper@gmail.com>
37455
c196fed8
UD
37456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37457 compilation problems.
37458
8ec250a4
UD
37459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37460 __builtin_expect.
37461
8d4f46c6
UD
374622011-10-20 Ulrich Drepper <drepper@gmail.com>
37463
ed72b654
UD
37464 * sysdeps/i386/configure.in: Test for -mfma4 option.
37465 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37466 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37467 COMMON_CPUID_INDEX_80000001.
37468 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37469 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37470 use it if FMA3 is not supported.
37471 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37472
8d4f46c6
UD
37473 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37474 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37475
d45c60c2
AS
374762011-10-20 Andreas Schwab <schwab@redhat.com>
37477
37478 [BZ #12892]
37479 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37480 it would create a cycle with a link time dependency.
37481
d9a4d2ab
UD
374822011-10-19 Ulrich Drepper <drepper@gmail.com>
37483
855d1560
UD
37484 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37485 instruction.
37486 * string/Makefile (strop-tests): Add rawmemchr.
37487 * string/test-rawmemchr.c: New file.
37488
d9a4d2ab
UD
37489 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37490 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37491 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37492 when compiling str{,n}casecmp and when AVX is available. Hook up
37493 new optimized code in initializers.
37494
8f3b1ffe
AS
374952011-10-19 Andreas Schwab <schwab@redhat.com>
37496
37497 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37498 __feraiseexcept instead of feraiseexcept.
37499
d38f1dba
UD
375002011-10-18 Ulrich Drepper <drepper@gmail.com>
37501
d9a8d0ab
UD
37502 * math/math_private.h: Define defaults for libc_fetestexcept and
37503 libc_feupdateenv.
37504 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37505 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37506 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37507 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37508 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37509 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37510 libc_fetestexcept and libc_feupdateenv.
37511
4855e3dd
UD
37512 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37513 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37514 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37515 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37516 libc_feholdexcept_setround.
37517
581d30e3
UD
37518 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37519 Add s_nearbyint-c and s_nearbyintf-c.
37520 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37521 nearbyintf inlines.
37522 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37523 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37524 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37525 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37526
d38f1dba
UD
37527 * math/math_private.h: Define defaults for libc_fegetround,
37528 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37529 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37530 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37531 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37532 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37533 standard functions.
37534 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37535 Remove comments and hacks for old compiler versions.
37536 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37537 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37538 libc_feholdexceptl.
37539
caa6c9d8
AS
375402011-10-18 Andreas Schwab <schwab@redhat.com>
37541
37542 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37543 (__feraiseexcept_renamed): Add __NTH.
37544 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37545 namespace violations.
37546
97c066e6
UD
375472011-10-17 Ulrich Drepper <drepper@gmail.com>
37548
99ce7b04
UD
37549 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37550
1004d182
UD
37551 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37552
228a984d
UD
37553 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37554 recently added interfaces.
37555 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37556
c8553a6a
UD
37557 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37558 about macro parameter expansion.
37559
ed22dcf6
UD
37560 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37561 __NO_MATH_INLINES is defined. Cleanups.
37562
37563 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37564 and __floorf is target has SSE4.1.
37565 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37566 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37567 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37568 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37569
b171c137
UD
37570 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37571 name.
37572 (floorf): Likewise.
37573
97c066e6
UD
37574 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37575
629f62ef
AS
375762011-10-17 Andreas Schwab <schwab@redhat.com>
37577
49a43d80
AS
37578 * misc/sys/cdefs.h: Fix last change.
37579
629f62ef
AS
37580 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37581 database lookup.
37582
e453f6cd
UD
375832011-10-16 Ulrich Drepper <drepper@gmail.com>
37584
aa78043a
UD
37585 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37586
ad0f5cad
UD
37587 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37588 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37593 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37594 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37595 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37596 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37597 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37598 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37599 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37600 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37601 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37602 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37603 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37604 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37605 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37606 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37607 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37608 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37609
37610 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37611 ceil, ceilf, floor, floorf.
37612
37613 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37614 Perform IRELATIVE relocations last.
37615
e453f6cd
UD
37616 * elf/do-rel.h: Add another parameter nrelative, replacing the
37617 local variable with the same name. Change name of the function
37618 to end in Rel or Rela (uppercase).
37619 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37620 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37621 elf_dynamic_do_##reloc function.
37622
fd5bdc09
UD
376232011-10-15 Ulrich Drepper <drepper@gmail.com>
37624
79b195b5
UD
37625 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37626 is sufficient, at least on modern CPUs.
37627
d4a28569
UD
37628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37629
b61099b5
UD
37630 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37632
bcf01e6d
UD
37633 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37634 __expl_finite.
37635 * math/bits/math-finite.h: Add entries for exp.
37636 * math/e_expl.c: Add __*_finite alias.
37637 * sysdeps/i386/fpu/e_exp.S: Likewise.
37638 * sysdeps/i386/fpu/e_expf.S: Likewise.
37639 * sysdeps/i386/fpu/e_expl.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37641 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37645 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37646 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37647
ba1a0d59
UD
37648 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37649 is sufficient, at least on modern CPUs.
37650
fd5bdc09
UD
37651 * ctype/ctype-info.c (__ctype_init): Define.
37652 * include/ctype.h (__ctype_init): Declare.
37653 (__ctype_b_loc): The variable is always initialized.
37654 (__ctype_toupper_loc): Likewise.
37655 (__ctype_tolower_loc): Likewise.
37656 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37657 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37658
7872cfb0
AS
376592011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37660
b468825a
AS
37661 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37662
7872cfb0
AS
37663 * configure.in: Also look in $cxxmachine/include for C++ system
37664 headers.
37665
be13f7bf
LD
376662011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37667
37668 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37669 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37670 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37671 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37672 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37673 (USE_AS_WMEMCMP): New macro.
37674 Fixing indents.
37675 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37676 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37677 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37678 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37680 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37681 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37682 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37683 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37684 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37685 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37686 (USE_AS_WMEMCMP): New macro.
37687 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37688 * sysdeps/string/test-memcmp.c: Update.
37689 Fix simple_wmemcmp.
37690 Add new tests.
37691 * wcsmbs/wmemcmp.c: Update.
37692 (WMEMCMP): New macro.
37693 Fix overflow bug.
37694
556a2007
AJ
376952011-10-12 Andreas Jaeger <aj@suse.de>
37696
37697 [BZ #13268]
37698 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37699
538faaa7
UD
377002011-10-15 Ulrich Drepper <drepper@gmail.com>
37701
ab6737ff
UD
37702 * libio/iofwide.c (do_length): Avoid warning.
37703
538faaa7
UD
37704 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37705
396a21b1
UD
377062011-10-14 Ulrich Drepper <drepper@gmail.com>
37707
cdf2901f
UD
37708 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37709
38ad40ce
UD
37710 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37711 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37712 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37713 * sysdeps/i386/i686/fpu/e_log.S: New file.
37714 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37715 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37716
396a21b1
UD
37717 * ctype/ctype.h: Add support for inlined isXXX functions when
37718 compiling C++ code.
37719
6b1f68c9
AS
377202011-10-14 Andreas Schwab <schwab@redhat.com>
37721
349290c0
AS
37722 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37723
6b1f68c9
AS
37724 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37725
f2282d42
RM
377262011-10-13 Roland McGrath <roland@hack.frob.com>
37727
37728 [BZ #13291]
37729 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37730
5298ffa8
AS
377312011-10-13 Andreas Schwab <schwab@redhat.com>
37732
714fad23
AS
37733 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37734 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37735 feraiseexcept.
37736
81dcc7fb
AS
37737 * sysdeps/x86_64/memrchr.S: Check for zero size.
37738
5298ffa8
AS
37739 * string/stratcliff.c: Add memrchr tests.
37740
951fbcec
LD
377412011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37742
37743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37744 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37745 rawmemchr-sse2 rawmemchr-sse2-bsf.
37746 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37747 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37748 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37749 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37750 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37751 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37752 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37753 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37754 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37755 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37756 * string/memrchr.c (MEMRCHR): New macro.
37757
0ac5ae23
UD
377582011-10-12 Ulrich Drepper <drepper@gmail.com>
37759
37760 Add integration with gcc's -ffinite-math-only and optimize wrapper
37761 functions in libm.
37762 * Versions.def: Define GLIBC_2.15 version for libm.
37763 * math/Makefile (headers): Add bits/math-finite.h.
37764 * math/bits/math-finite.h: New file.
37765 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37766 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37767 * math/e_acoshl.c: Add __*_finite alias.
37768 * math/e_acosl.c: Likewise.
37769 * math/e_asinl.c: Likewise.
37770 * math/e_atan2l.c: Likewise.
37771 * math/e_atanhl.c: Likewise.
37772 * math/e_coshl.c: Likewise.
37773 * math/e_exp10.c: Likewise.
37774 * math/e_exp10f.c: Likewise.
37775 * math/e_exp10l.c: Likewise.
37776 * math/e_exp2l.c: Likewise.
37777 * math/e_fmodl.c: Likewise.
37778 * math/e_gammal_r.c: Likewise.
37779 * math/e_hypotl.c: Likewise.
37780 * math/e_j0l.c: Likewise.
37781 * math/e_j1l.c: Likewise.
37782 * math/e_jnl.c: Likewise.
37783 * math/e_lgammal_r.c: Likewise.
37784 * math/e_log10l.c: Likewise.
37785 * math/e_log2l.c: Likewise.
37786 * math/e_logl.c: Likewise.
37787 * math/e_powl.c: Likewise.
37788 * math/e_sinhl.c: Likewise.
37789 * math/e_sqrtl.c: Likewise.
37790 * math/e_scalb.c: Completely rewritten and optimized.
37791 * math/e_scalbf.c: Likewise.
37792 * math/e_scalbl.c: Likewise.
37793 * math/w_acos.c: Likewise.
37794 * math/w_acosf.c: Likewise.
37795 * math/w_acosl.c: Likewise.
37796 * math/w_acosh.c: Likewise.
37797 * math/w_acoshf.c: Likewise.
37798 * math/w_acoshl.c: Likewise.
37799 * math/w_asin.c: Likewise.
37800 * math/w_asinf.c: Likewise.
37801 * math/w_asinl.c: Likewise.
37802 * math/w_atan2.c: Likewise.
37803 * math/w_atan2f.c: Likewise.
37804 * math/w_atan2l.c: Likewise.
37805 * math/w_atanh.c: Likewise.
37806 * math/w_atanhf.c: Likewise.
37807 * math/w_atanhl.c: Likewise.
37808 * math/w_exp10.c: Likewise.
37809 * math/w_exp10f.c: Likewise.
37810 * math/w_exp10l.c: Likewise.
37811 * math/w_fmod.c: Likewise.
37812 * math/w_fmodf.c: Likewise.
37813 * math/w_fmodl.c: Likewise.
37814 * math/w_j0.c: Likewise.
37815 * math/w_j0f.c: Likewise.
37816 * math/w_j0l.c: Likewise.
37817 * math/w_j1.c: Likewise.
37818 * math/w_j1f.c: Likewise.
37819 * math/w_j1l.c: Likewise.
37820 * math/w_jn.c: Likewise.
37821 * math/w_jnf.c: Likewise.
37822 * math/w_log.c: Likewise.
37823 * math/w_logf.c: Likewise.
37824 * math/w_logl.c: Likewise.
37825 * math/w_log10.c: Likewise.
37826 * math/w_log10f.c: Likewise.
37827 * math/w_log10l.c: Likewise.
37828 * math/w_log2.c: Likewise.
37829 * math/w_log2f.c: Likewise.
37830 * math/w_log2l.c: Likewise.
37831 * math/w_pow.c: Likewise.
37832 * math/w_powf.c: Likewise.
37833 * math/w_powl.c: Likewise.
37834 * math/w_remainder.c: Likewise.
37835 * math/w_remainderf.c: Likewise.
37836 * math/w_remainderl.c: Likewise.
37837 * math/w_scalb.c: Likewise.
37838 * math/w_scalbf.c: Likewise.
37839 * math/w_scalbl.c: Likewise.
37840 * math/w_sqrt.c: Likewise.
37841 * math/w_sqrtf.c: Likewise.
37842 * math/w_sqrtl.c: Likewise.
37843 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37844 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37845 used.
37846 * math/math_private.h: Declare __kernel_standard_f.
37847 * math/w_cosh.c: Remove cruft and optimize a bit.
37848 * math/w_coshf.c: Likewise.
37849 * math/w_coshl.c: Likewise.
37850 * math/w_exp2.c: Likewise.
37851 * math/w_exp2f.c: Likewise.
37852 * math/w_exp2l.c: Likewise.
37853 * math/w_hypot.c: Likewise.
37854 * math/w_hypotf.c: Likewise.
37855 * math/w_hypotl.c: Likewise.
37856 * math/w_lgamma.c: Likewise.
37857 * math/w_lgamma_r.c: Likewise.
37858 * math/w_lgammaf.c: Likewise.
37859 * math/w_lgammaf_r.c: Likewise.
37860 * math/w_lgammal.c: Likewise.
37861 * math/w_lgammal_r.c: Likewise.
37862 * math/w_sinh.c: Likewise.
37863 * math/w_sinhf.c: Likewise.
37864 * math/w_sinhl.c: Likewise.
37865 * math/w_tgamma.c: Likewise.
37866 * math/w_tgammaf.c: Likewise.
37867 * math/w_tgammal.c: Likewise.
37868 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37869 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37870 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37871 Minor optimizations. Pretty printing. Remove cruft.
37872 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37873 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37874 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37875 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37876 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37877 * sysdeps/i386/fpu/e_asin.S: Likewise.
37878 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37879 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37880 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37881 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37882 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37883 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37884 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37885 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37886 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37887 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37888 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37889 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37890 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37891 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37892 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37893 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37894 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37895 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37896 * sysdeps/i386/fpu/e_log.S: Likewise.
37897 * sysdeps/i386/fpu/e_log10.S: Likewise.
37898 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37899 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37900 * sysdeps/i386/fpu/e_log2.S: Likewise.
37901 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37902 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37903 * sysdeps/i386/fpu/e_logf.S: Likewise.
37904 * sysdeps/i386/fpu/e_logl.S: Likewise.
37905 * sysdeps/i386/fpu/e_pow.S: Likewise.
37906 * sysdeps/i386/fpu/e_powf.S: Likewise.
37907 * sysdeps/i386/fpu/e_powl.S: Likewise.
37908 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37909 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37910 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37911 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37912 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37913 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37914 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37915 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37916 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37922 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37923 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37924 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37925 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37926 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37927 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37928 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37930 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37931 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37937 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37938 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37939 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37940 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37941 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37942 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37943 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37944 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37945 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37946 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37947 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37948 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37949 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37950 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37951 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37952 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37953 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37954 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37955 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37956 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37957 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37958 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37959 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37961 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37963 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37966 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37967 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37968 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37969 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37970 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37971 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37972 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37973 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37974 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37975 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37976 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37977 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37978 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37979 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37980 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37981 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37982 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37983 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37984 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37987 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37988 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37989 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37991 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37992 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37993 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37994 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37995 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37996 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37997 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37998 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37999 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38000 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38001 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38002 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38003 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38004 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38005 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38006 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38007 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38008 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38009 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38010 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38011 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38012 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38013 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38014 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38015 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38016 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38017 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38018 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38019 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38020 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38021 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38022 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38023 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38025 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38026 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38027 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38028 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38029 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38030 (__isnanf): Likewise.
38031 (__isinf_ns): Likewise.
38032 (__isinf_nsf): Likewise.
38033 (__finite): Likewise.
38034 (__finitef): Likewise.
38035 (__ieee754_sqrt): Define as macro.
38036 (__ieee754_sqrtf): Define as macro.
38037 (__ieee754_sqrtl): Define as macro.
38038 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38039 inlined copy.
38040 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38041 __FINITE_MATH_ONLY__ consistent.
38042 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38043
12cc2fcd
AS
380442011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38045
a843a204
AS
38046 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38047 of rawmemchr.
38048
12cc2fcd
AS
38049 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38050
c853acd5
UD
380512011-10-09 Ulrich Drepper <drepper@gmail.com>
38052
38053 * po/ja.po: Update from translation team.
38054
c658d255
RM
380552011-10-08 Roland McGrath <roland@hack.frob.com>
38056
110946e4
RM
38057 * locale/programs/locarchive.c (prepare_address_space): New function.
38058 (create_archive, enlarge_archive, open_archive): Use it.
38059
50604220
RM
38060 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38061 inside [SHARED], where it is used.
38062
c658d255
RM
38063 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38064
38065 * nss/getent.c (netgroup_keys): Remove unused variable.
38066 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38067
6a621eb7
UD
380682011-10-08 Ulrich Drepper <drepper@gmail.com>
38069
7edb55ce
UD
38070 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38071 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38074 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38075 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38076 * math/Makefile (libm-calls): Add s_isinf_ns.
38077 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38078 * math/multc3.c: Likewise.
38079 * math/s_casin.c: Likewise.
38080 * math/s_casinf.c: Likewise.
38081 * math/s_casinl.c: Likewise.
38082 * math/s_ccos.c: Likewise.
38083 * math/s_ccosf.c: Likewise.
38084 * math/s_ccosl.c: Likewise.
38085 * math/s_ctan.c: Likewise.
38086 * math/s_ctanf.c: Likewise.
38087 * math/s_ctanh.c: Likewise.
38088 * math/s_ctanhf.c: Likewise.
38089 * math/s_ctanhl.c: Likewise.
38090 * math/s_ctanl.c: Likewise.
38091 * math/w_fmod.c: Likewise.
38092 * math/w_fmodf.c: Likewise.
38093 * math/w_fmodl.c: Likewise.
38094 * math/w_remainder.c: Likewise.
38095 * math/w_remainderf.c: Likewise.
38096 * math/w_remainderl.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38098 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38099 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38101 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38102 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38103 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38104 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38105
187da0ae
UD
38106 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38107 of the number.
38108 * stdio-common/printf_fphex.c: Likewise.
38109 * stdio-common/printf_size.c: Likewise.
38110
9277c064
UD
38111 * math/e_exp10.c: Include math_private.h using <...> not "...".
38112 * math/e_exp10f.c: Likewise.
38113 * math/e_exp10l.c: Likewise.
38114 * math/e_exp2l.c: Likewise.
38115 * math/e_j0l.c: Likewise.
38116 * math/e_j1l.c: Likewise.
38117 * math/e_jnl.c: Likewise.
38118 * math/e_lgammal_r.c: Likewise.
38119 * math/e_rem_pio2l.c: Likewise.
38120 * math/e_scalb.c: Likewise.
38121 * math/e_scalbf.c: Likewise.
38122 * math/e_scalbl.c: Likewise.
38123 * math/k_cosl.c: Likewise.
38124 * math/k_sinl.c: Likewise.
38125 * math/k_tanl.c: Likewise.
38126 * math/s_cacoshf.c: Likewise.
38127 * math/s_catan.c: Likewise.
38128 * math/s_catanf.c: Likewise.
38129 * math/s_catanh.c: Likewise.
38130 * math/s_catanhf.c: Likewise.
38131 * math/s_catanhl.c: Likewise.
38132 * math/s_catanl.c: Likewise.
38133 * math/s_ccosh.c: Likewise.
38134 * math/s_ccoshf.c: Likewise.
38135 * math/s_ccoshl.c: Likewise.
38136 * math/s_cexp.c: Likewise.
38137 * math/s_cexpf.c: Likewise.
38138 * math/s_cexpl.c: Likewise.
38139 * math/s_clog.c: Likewise.
38140 * math/s_clog10.c: Likewise.
38141 * math/s_clog10f.c: Likewise.
38142 * math/s_clog10l.c: Likewise.
38143 * math/s_clogf.c: Likewise.
38144 * math/s_clogl.c: Likewise.
38145 * math/s_csin.c: Likewise.
38146 * math/s_csinf.c: Likewise.
38147 * math/s_csinh.c: Likewise.
38148 * math/s_csinhf.c: Likewise.
38149 * math/s_csinhl.c: Likewise.
38150 * math/s_csinl.c: Likewise.
38151 * math/s_csqrt.c: Likewise.
38152 * math/s_csqrtf.c: Likewise.
38153 * math/s_csqrtl.c: Likewise.
38154 * math/s_ctan.c: Likewise.
38155 * math/s_ctanf.c: Likewise.
38156 * math/s_ctanh.c: Likewise.
38157 * math/s_ctanhf.c: Likewise.
38158 * math/s_ctanhl.c: Likewise.
38159 * math/s_ctanl.c: Likewise.
38160 * math/s_ldexp.c: Likewise.
38161 * math/s_ldexpf.c: Likewise.
38162 * math/s_ldexpl.c: Likewise.
38163 * math/s_significand.c: Likewise.
38164 * math/s_significandf.c: Likewise.
38165 * math/s_significandl.c: Likewise.
38166 * math/w_acos.c: Likewise.
38167 * math/w_acosf.c: Likewise.
38168 * math/w_acosh.c: Likewise.
38169 * math/w_acoshf.c: Likewise.
38170 * math/w_acoshl.c: Likewise.
38171 * math/w_acosl.c: Likewise.
38172 * math/w_asin.c: Likewise.
38173 * math/w_asinf.c: Likewise.
38174 * math/w_asinl.c: Likewise.
38175 * math/w_atan2.c: Likewise.
38176 * math/w_atan2f.c: Likewise.
38177 * math/w_atan2l.c: Likewise.
38178 * math/w_atanh.c: Likewise.
38179 * math/w_atanhf.c: Likewise.
38180 * math/w_atanhl.c: Likewise.
38181 * math/w_cosh.c: Likewise.
38182 * math/w_coshf.c: Likewise.
38183 * math/w_coshl.c: Likewise.
38184 * math/w_dremf.c: Likewise.
38185 * math/w_exp10.c: Likewise.
38186 * math/w_exp10f.c: Likewise.
38187 * math/w_exp10l.c: Likewise.
38188 * math/w_exp2.c: Likewise.
38189 * math/w_exp2f.c: Likewise.
38190 * math/w_fmod.c: Likewise.
38191 * math/w_fmodf.c: Likewise.
38192 * math/w_fmodl.c: Likewise.
38193 * math/w_hypot.c: Likewise.
38194 * math/w_hypotf.c: Likewise.
38195 * math/w_hypotl.c: Likewise.
38196 * math/w_j0.c: Likewise.
38197 * math/w_j0f.c: Likewise.
38198 * math/w_j0l.c: Likewise.
38199 * math/w_j1.c: Likewise.
38200 * math/w_j1f.c: Likewise.
38201 * math/w_j1l.c: Likewise.
38202 * math/w_jn.c: Likewise.
38203 * math/w_jnf.c: Likewise.
38204 * math/w_jnl.c: Likewise.
38205 * math/w_lgamma.c: Likewise.
38206 * math/w_lgamma_r.c: Likewise.
38207 * math/w_lgammaf.c: Likewise.
38208 * math/w_lgammaf_r.c: Likewise.
38209 * math/w_lgammal.c: Likewise.
38210 * math/w_lgammal_r.c: Likewise.
38211 * math/w_log.c: Likewise.
38212 * math/w_log10.c: Likewise.
38213 * math/w_log10f.c: Likewise.
38214 * math/w_log10l.c: Likewise.
38215 * math/w_log2.c: Likewise.
38216 * math/w_log2f.c: Likewise.
38217 * math/w_log2l.c: Likewise.
38218 * math/w_logf.c: Likewise.
38219 * math/w_logl.c: Likewise.
38220 * math/w_pow.c: Likewise.
38221 * math/w_powf.c: Likewise.
38222 * math/w_powl.c: Likewise.
38223 * math/w_remainder.c: Likewise.
38224 * math/w_remainderf.c: Likewise.
38225 * math/w_remainderl.c: Likewise.
38226 * math/w_scalb.c: Likewise.
38227 * math/w_scalbf.c: Likewise.
38228 * math/w_scalbl.c: Likewise.
38229 * math/w_sinh.c: Likewise.
38230 * math/w_sinhf.c: Likewise.
38231 * math/w_sinhl.c: Likewise.
38232 * math/w_sqrt.c: Likewise.
38233 * math/w_sqrtf.c: Likewise.
38234 * math/w_sqrtl.c: Likewise.
38235 * math/w_tgamma.c: Likewise.
38236 * math/w_tgammaf.c: Likewise.
38237 * math/w_tgammal.c: Likewise.
38238
6a621eb7
UD
38239 * po/ja.po: Update from translation team.
38240
bf582445
AJ
382412011-09-29 Andreas Jaeger <aj@suse.de>
38242
f9efbf3a
AJ
38243 [BZ #13179]
38244 * sunrpc/netname.c (netname2host): Fix logic.
38245
bf582445
AJ
38246 [BZ #6779]
38247 [BZ #6783]
38248 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38249 correctly.
38250 * math/w_remainder.c (__remainder): Likewise.
38251 * math/w_remainderf.c (__remainderf): Likewise.
38252 * math/libm-test.inc (remainder_test): Add test cases.
38253
48693bea
AK
382542011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38255
38256 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38257 sdiv_qrnnd.
38258
42622229
LD
382592011-10-07 Ulrich Drepper <drepper@gmail.com>
38260
38261 * string/test-memcmp.c: Avoid unncessary #defines.
38262 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38263
093ecf92
LD
382642011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38265
38266 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38267 Use new sse2 version for core i3 - i7 as it's faster
38268 than sse42 version.
38269 (bit_Prefer_PMINUB_for_stringop): New.
38270 * sysdeps/x86_64/rawmemchr.S: Update.
38271 Replace with faster SSE2 version.
38272 * sysdeps/x86_64/memrchr.S: New file.
38273 * sysdeps/x86_64/memchr.S: Update.
38274 Replace with faster SSE2 version.
38275
fde56e5c
MP
382762011-09-12 Marek Polacek <mpolacek@redhat.com>
38277
38278 * elf/dl-load.c (lose): Add cast to avoid warning.
38279
21fd49a9
UD
382802011-10-07 Ulrich Drepper <drepper@gmail.com>
38281
5a06e643
UD
38282 * po/ca.po: Update from translation team.
38283
684ae515
UD
38284 * inet/getnetgrent_r.c: Hook up nscd.
38285 * nscd/Makefile (routines): Add nscd_netgroup.
38286 (nscd-modules): Add netgroupcache.
38287 (CFLAGS-netgroupcache.c): Define.
38288 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38289 (cache_search): Add const to second parameter.
38290 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38291 INNETGR.
38292 (dbs): Add netgrdb entry.
38293 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38294 (verify_persistent_db): Handle netgrdb.
38295 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38296 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38297 GETFDNETGR.
38298 (netgroup_response_header): Define.
38299 (innetgroup_response_header): Define.
38300 (datahead): Add netgroup_response_header and innetgroup_response_header
38301 elements.
38302 * nscd/nscd.conf: Add entries for netgroup cache.
38303 * nscd/nscd.h (dbtype): Add netgrdb.
38304 (_PATH_NSCD_NETGROUP_DB): Define.
38305 (netgroup_iov_disabled): Declare.
38306 (xmalloc, xcalloc, xrealloc): Move declarations here.
38307 (cache_search): Adjust prototype.
38308 Add netgroup-related prototypes.
38309 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38310 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38311 (__nscd_innetgr): Declare.
38312 * nscd/selinux.c (perms): Use access_vector_t as element type and
38313 add netgroup-related initializers.
38314 * nscd/netgroupcache.c: New file.
38315 * nscd/nscd_netgroup.c: New file.
38316 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38317 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38318 For four parameters use innetgr.
38319 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38320 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38321 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38322 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38323
21fd49a9
UD
38324 * nscd/connections.c (register_traced_file): Don't register file
38325 for disabled databases.
38326
054c0457
UD
383272011-10-06 Ulrich Drepper <drepper@gmail.com>
38328
32b63198
UD
38329 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38330
054c0457
UD
38331 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38332 from tree and freeing node.
38333
64031225
JO
383342011-09-25 Jiri Olsa <jolsa@redhat.com>
38335
38336 * nss/nsswitch.c (__nss_database_lookup): Handle
38337 nss_parse_service_list out of memory case.
38338
0490345c
JO
383392011-09-15 Jiri Olsa <jolsa@redhat.com>
38340
38341 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38342 out of memory case.
38343
3a62d00d
AS
383442011-10-04 Andreas Schwab <schwab@redhat.com>
38345
38346 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38347 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38348 pass it down.
38349 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38350 elf_machine_rela, elf_machine_lazy_rel.
38351 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38352 (ELF_DYNAMIC_DO_REL): Likewise.
38353 (ELF_DYNAMIC_DO_RELA): Likewise.
38354 (ELF_DYNAMIC_RELOCATE): Likewise.
38355 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38356 to ELF_DYNAMIC_DO_REL.
38357 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38358 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38359 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38360 elf_machine_rela.
38361 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38362 skip_ifunc, don't call ifunc function if non-zero.
38363 (elf_machine_rela): Likewise.
38364 (elf_machine_lazy_rel): Likewise.
38365 (elf_machine_lazy_rela): Likewise.
38366 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38367 (elf_machine_lazy_rel): Likewise.
38368 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38369 Likewise.
38370 (elf_machine_lazy_rel): Likewise.
38371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38372 Likewise.
38373 (elf_machine_lazy_rel): Likewise.
38374 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38375 (elf_machine_lazy_rel): Likewise.
38376 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38377 (elf_machine_lazy_rel): Likewise.
38378 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38379 (elf_machine_lazy_rel): Likewise.
38380 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38381 (elf_machine_lazy_rel): Likewise.
38382 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38383 (elf_machine_lazy_rel): Likewise.
38384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38385 (elf_machine_lazy_rel): Likewise.
38386
68577918
UD
383872011-09-28 Ulrich Drepper <drepper@gmail.com>
38388
38389 * nss/nss_files/files-init.c (_nss_files_init): Use static
38390 initialization for all the *_traced_file variables.
38391
68822d74
AS
383922011-09-28 Andreas Schwab <schwab@redhat.com>
38393
38394 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38395
2056100b
RM
383962011-09-27 Roland McGrath <roland@hack.frob.com>
38397
38398 [BZ #13226]
38399 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38400
32c76b63
AS
384012011-09-27 Andreas Schwab <schwab@redhat.com>
38402
38403 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38404 Reread the line before reparsing it.
38405
bf972c9d
AS
384062011-09-26 Andreas Schwab <schwab@redhat.com>
38407
38408 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38409
e057a1b5
JM
384102011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38411 Maxim Kuvyrkov <maxim@codesourcery.com>
38412 Joseph Myers <joseph@codesourcery.com>
38413
38414 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38415 if needed for __stack_chk_guard.
38416
bc7e1c36
RM
384172011-09-19 Roland McGrath <roland@hack.frob.com>
38418
ecb1482f
RM
38419 * sysdeps/posix/spawni.c (script_execute): Always define it.
38420 It will be optimized away if unused.
38421 (maybe_script_execute): New function.
38422 (__spawni): Call it.
38423
bc7e1c36
RM
38424 * Makerules: Don't include tls.make.
38425 (config-tls): Always set to thread.
38426 * tls.make.c: File removed.
38427
1c3b002b
MF
384282011-09-19 Mike Frysinger <vapier@gentoo.org>
38429
38430 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38431 * config.make.in (CPPFLAGS-config): New substituted variable.
38432
2840865d
UD
384332011-09-15 Ulrich Drepper <drepper@gmail.com>
38434
88738eb6
UD
38435 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38436
cbf645a6 38437 [BZ #13192]
2840865d
UD
38438 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38439 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38440
b402e91a
RM
384412011-09-15 Roland McGrath <roland@hack.frob.com>
38442
38443 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38444 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38446 (CALL_FAIL): Likewise.
38447 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38448 (CALL_FAIL): Macro removed.
38449 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38450
4c1a1f71
UD
384512011-09-15 Ulrich Drepper <drepper@gmail.com>
38452
38453 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38454 for __FINITE_MATH_ONLY__ == 1.
38455
edc121be
AS
384562011-09-15 Andreas Schwab <schwab@redhat.com>
38457
38458 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38459 __ieee754_sqrt instead of sqrt.
38460 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38461 __ieee754_sqrtf instead of sqrtf.
38462 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38463 __floorf instead of floorf.
38464 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38465 __floorf, __truncf instead of floorf, truncf.
38466
cd205654
UD
384672011-09-14 Ulrich Drepper <drepper@gmail.com>
38468
ee4d0315
UD
38469 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38470
cd205654
UD
38471 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38472 __extern_always_inline.
38473 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38474 32-bit.
38475
48b67d71
AS
384762011-09-14 Andreas Schwab <schwab@redhat.com>
38477
38478 * elf/rtld.c (dl_main): Also relocate in dependency order when
38479 doing symbol dependency testing.
38480
1ae12c75
AS
384812011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38482
38483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38484 Always define `refsym'.
38485
995a80df
AS
384862011-09-13 Andreas Schwab <schwab@redhat.com>
38487
e529793b
AS
38488 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38489 (__FD_ELT): Renamed from __FDELT.
38490 * misc/bits/select2.h (__FD_ELT): Likewise.
38491 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38492 __FD_MASK instead of __FDELT, __FDMASK.
38493 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38494 Likewise.
38495 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38496 Likewise.
38497
52d4fef8
AS
38498 * elf/Makefile (gen-ldd): Fix pattern.
38499
995a80df
AS
38500 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38501 (init_tls): Likewise.
38502
8682f8b0
UD
385032011-09-12 Ulrich Drepper <drepper@gmail.com>
38504
38505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38506
de82006d
AS
385072011-09-12 Andreas Schwab <schwab@redhat.com>
38508
a7c8e6a1
AS
38509 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38510 `struct cmsghdr *' instead of `void *'.
38511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38512 Likewise.
38513
0f31fe77
AS
385142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38515
38516 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38517 if non-absolute.
38518 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38519 ldd_rewrite_script.
0f31fe77 38520
32b4c839
UD
385212011-09-11 Ulrich Drepper <drepper@gmail.com>
38522
83cd1420
UD
38523 * configure.in: Remove --with-tls option.
38524 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38525 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38526 out in case it is missing.
38527 * sysdeps/ia64/elf/configure.in: Likewise.
38528 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38529 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38530 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38531 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38532 * sysdeps/sh/elf/configure.in: Likewise.
38533 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38534 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38535 * sysdeps/x86_64/elf/configure.in: Likewise.
38536 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38537 * sysdeps/mach/hurd/tls.h: Likewise.
38538
633f745d
UD
38539 [BZ #13067]
38540 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38541
f318beb8
UD
38542 [BZ #13090]
38543 * configure.in: Fix use of AC_INIT.
38544
32b4c839
UD
38545 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38546
3ce1f295
UD
385472011-09-10 Ulrich Drepper <drepper@gmail.com>
38548
bb016596
UD
38549 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38550 __set_errno.
8e58439c
UD
38551 * malloc/hooks.c: Likewise.
38552
aebae053 38553 [BZ #11929]
02d46fc4
UD
38554 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38555 variables statically.
38556 (narenas): Initialize.
38557 (list_lock): Initialize.
bb016596
UD
38558 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38559 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38560 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38561 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38562 Add initializers to main_arena and mp_.
38563 (malloc_state): Remove pagesize member. Change all users to use
38564 GLRO(dl_pagesize).
38565
38566 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38567 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38568 is always initialized.
38569
22a89187
UD
38570 * malloc/malloc.c: Removed unused configurations and dead code.
38571 * malloc/arena.c: Likewise.
38572 * malloc/hooks.c: Likewise.
02d46fc4 38573 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38574
d063d164
UD
38575 * include/tls.h: Removed. USE___THREAD must always be defined.
38576 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38577 * elf/dl-libc.c: Likewise.
38578 * elf/dl-tsd.c: Likewise.
38579 * include/errno.h: Likewise.
38580 * include/netdb.h: Likewise.
38581 * include/resolv.h: Likewise.
38582 * inet/herrno-loc.c: Likewise.
38583 * inet/herrno.c: Likewise.
38584 * malloc/arena.c: Likewise.
38585 * malloc/hooks.c: Likewise.
38586 * malloc/malloc.c: Likewise.
38587 * resolv/res-state.c: Likewise.
38588 * resolv/res_libc.c: Likewise.
38589 * sysdeps/i386/dl-machine.h: Likewise.
38590 * sysdeps/ia64/dl-machine.h: Likewise.
38591 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38592 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38593 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38594 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38595 * sysdeps/sh/dl-machine.h: Likewise.
38596 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38597 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38598 * sysdeps/unix/i386/sysdep.S: Likewise.
38599 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38600 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38601 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38604 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38605 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38606 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38609 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38610 * sysdeps/x86_64/dl-machine.h: Likewise.
38611 * tls.make.c: Likewise.
38612
3ce1f295
UD
38613 * configure.in: Remove --with-__thread option. Make tests for
38614 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38615 tls_model attribute fail if no support is available. Remove
38616 USE_IN_LIBIO.
38617 * Makeconfig: Adjust for dropped configure option. All features are
38618 now mandatory.
38619 * Makerules: Likewise.
38620 * Versions.def: Likewise.
38621 * argp/argp-fmtstream.c: Likewise.
38622 * argp/argp-fmtstream.h: Likewise.
38623 * argp/argp-help.c: Likewise.
38624 * assert/assert.c: Likewise.
38625 * config.h.in: Likewise.
38626 * config.make.in: Likewise.
38627 * configure: Likewise.
38628 * configure.in: Likewise.
38629 * csu/Versions: Likewise.
38630 * csu/init.c: Likewise.
38631 * elf/tst-audit2.c: Likewise.
38632 * elf/tst-tls10.c: Likewise.
38633 * elf/tst-tls10.h: Likewise.
38634 * elf/tst-tls11.c: Likewise.
38635 * elf/tst-tls12.c: Likewise.
38636 * elf/tst-tls14.c: Likewise.
38637 * elf/tst-tlsmod11.c: Likewise.
38638 * elf/tst-tlsmod12.c: Likewise.
38639 * elf/tst-tlsmod13.c: Likewise.
38640 * elf/tst-tlsmod13a.c: Likewise.
38641 * elf/tst-tlsmod14a.c: Likewise.
38642 * elf/tst-tlsmod15b.c: Likewise.
38643 * elf/tst-tlsmod16a.c: Likewise.
38644 * elf/tst-tlsmod16b.c: Likewise.
38645 * elf/tst-tlsmod7.c: Likewise.
38646 * elf/tst-tlsmod8.c: Likewise.
38647 * elf/tst-tlsmod9.c: Likewise.
38648 * gmon/gmon.c: Likewise.
38649 * grp/fgetgrent_r.c: Likewise.
38650 * grp/putgrent.c: Likewise.
38651 * hurd/fopenport.c: Likewise.
38652 * include/libc-symbols.h: Likewise.
38653 * include/tls.h: Likewise.
38654 * intl/gettextP.h: Likewise.
38655 * intl/loadinfo.h: Likewise.
38656 * locale/global-locale.c: Likewise.
38657 * locale/localeinfo.h: Likewise.
38658 * mach/devstream.c: Likewise.
38659 * malloc/arena.c: Likewise.
38660 * malloc/set-freeres.c: Likewise.
38661 * misc/err.c: Likewise.
38662 * misc/getttyent.c: Likewise.
38663 * misc/mntent_r.c: Likewise.
38664 * posix/getopt.c: Likewise.
38665 * posix/wordexp.c: Likewise.
38666 * pwd/fgetpwent_r.c: Likewise.
38667 * resolv/Versions: Likewise.
38668 * resolv/res_hconf.c: Likewise.
38669 * shadow/fgetspent_r.c: Likewise.
38670 * shadow/putspent.c: Likewise.
38671 * stdio-common/printf_fphex.c: Likewise.
38672 * stdio-common/tmpfile.c: Likewise.
38673 * stdlib/abort.c: Likewise.
38674 * stdlib/fmtmsg.c: Likewise.
38675 * sunrpc/auth_unix.c: Likewise.
38676 * sunrpc/clnt_perr.c: Likewise.
38677 * sunrpc/clnt_tcp.c: Likewise.
38678 * sunrpc/clnt_udp.c: Likewise.
38679 * sunrpc/clnt_unix.c: Likewise.
38680 * sunrpc/openchild.c: Likewise.
38681 * sunrpc/svc_simple.c: Likewise.
38682 * sunrpc/svc_tcp.c: Likewise.
38683 * sunrpc/svc_udp.c: Likewise.
38684 * sunrpc/svc_unix.c: Likewise.
38685 * sunrpc/xdr.c: Likewise.
38686 * sunrpc/xdr_array.c: Likewise.
38687 * sunrpc/xdr_rec.c: Likewise.
38688 * sunrpc/xdr_ref.c: Likewise.
38689 * sunrpc/xdr_stdio.c: Likewise.
38690
1248c1c4
PB
386912011-09-09 Ulrich Drepper <drepper@gmail.com>
38692
38693 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38694
386952011-07-03 Andreas Jaeger <aj@suse.de>
38696
38697 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38698 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38699 regenerate with gen-libm-tests.pl.
38700
387012010-05-12 Petr Baudis <pasky@suse.cz>
38702
38703 [BZ #11589]
38704 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38705 around j0() zero points by switching to j1().
38706 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38707 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38708 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38710
f22e1074
UD
387112011-09-09 Ulrich Drepper <drepper@gmail.com>
38712
f19009c1
UD
38713 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38714 instead of 0.
38715 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38716 instead of 0.
f19009c1
UD
38717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38718 Patch in part by Pavel Roskin <proski@gnu.org>.
38719
3f8cc204
UD
38720 [BZ #13138]
38721 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38722 realloc.
38723 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38724 Free memory block if necessary.
38725
f22e1074
UD
38726 [BZ #12847]
38727 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38728 be NULL. Don't lock in this case.
38729
0a2349f9
RM
387302011-09-09 Roland McGrath <roland@hack.frob.com>
38731
38732 * elf/elf.h (ELFOSABI_GNU): New macro.
38733 (ELFOSABI_LINUX): Define to that.
38734
f3cdd467
DZ
387352011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38736
38737 * string/strncat.c (strncat): Undef the symbol in case it has been
38738 defined in bits/string.h.
38739
74718d13
UD
387402011-09-09 Ulrich Drepper <drepper@gmail.com>
38741
633e9e0f
UD
38742 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38743
0a2349f9 38744 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38745 link map.
38746
f9924780
AJ
387472011-08-17 Andreas Jaeger <aj@suse.de>
38748
38749 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38750
7f5517aa
PP
387512011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38752 Ian Lance Taylor <iant@google.com>
38753
38754 * math/libm-test.inc (lround_test): New testcase.
38755 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38756
762011fe
UD
387572011-09-08 Ulrich Drepper <drepper@gmail.com>
38758
92963737
UD
38759 * Makefile: Remove support for automatic cvs check-ins.
38760 * Makerules: Likewise.
38761 * config.make.in: Likewise.
38762 * configure.in: Likewise.
38763 * intl/Makefile: Likewise.
38764 * locale/Makefile: Likewise.
38765 * po/Makefile: Likewise.
38766 * posix/Makefile: Likewise.
38767 * sysdeps/gnu/Makefile: Likewise.
38768 * sysdeps/mach/hurd/Makefile: Likewise.
38769 * sysdeps/sparc/sparc32/Makefile: Likewise.
38770
b0727fd8
JS
38771 [BZ #13118]
38772 * posix/Makefile (bug-regex32-ENV): Define.
38773 Patch by John Stanley <jpsinthemix@verizon.net>.
38774
a0f33f99
UD
38775 * misc/Makefile (headers): Add bits/select2.h.
38776 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38777 * misc/bits/select2.h: New file.
38778 * include/bits/select2.h: New file.
38779 * debug/Makefile (routines): Add fdelt_chk.
38780 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38781 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38782 FD_ISSET.
38783 * debug/fdelt_chk.c: New file.
38784
762011fe
UD
38785 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38786 * wcsmbs/test-wmemcmp.c: Likewise.
38787 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38788 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38789
387902011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38791
38792 * string/Makefile (strop-tests): Add memcmp.
38793 * string/test-wmemcmp.c: New file.
38794 * string/test-memcmp.c: Add wmemcmp support.
38795
7f513ec8
RM
387962011-09-08 Roland McGrath <roland@hack.frob.com>
38797
0442afb4
RM
38798 [BZ #13153]
38799 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38800 2011-07-19 change.
38801
7f513ec8
RM
38802 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38803 garbage value in a __mach_port_mod_refs call in the cases of the
38804 task-self and thread-self ports.
38805
a12b2239
ST
388062011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38807
38808 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38809
610f9ab4
AS
388102011-09-08 Andreas Schwab <schwab@redhat.com>
38811
7f513ec8 38812 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38813
48882a1a
LD
388142011-09-07 Ulrich Drepper <drepper@gmail.com>
38815
b49865be
UD
38816 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38817
fdc86bc9
UD
38818 * elf/dl-libc.c (dlerror_run): Pass back error code from
38819 dl_catch_error.
38820
c966526a
UD
38821 [BZ #13123]
38822 * elf/dl-load.c (lose): Free l_origin if it is valid.
38823
48882a1a
LD
38824 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38825 names.
38826 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38827 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38828 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38829 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38830 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38831 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38832
77a2a8b4
AZ
388332011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38834
38835 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38836 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38837 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38838 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38839 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38840 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38841 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38842 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38843 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38844 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38845
24f579d8
AM
388462011-08-15 Alan Modra <amodra@gmail.com>
38847
38848 [BZ #13092]
38849 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38850 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38851 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38852 ppc_mcount to static-only-routines.
38853 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38854 __mcount_internal.
38855 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38856 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38857
3d4837df
UD
388582011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38859
38860 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38861 for finite and infinity parameters.
38862
22700377
WS
388632011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38864
38865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38866 and add nop instructions for throughput optimization.
38867 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38868
5025581e
WS
388692011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38870
38871 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38872 aligned copy for power7 with vector-scalar instructions.
38873 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38874
08a300c9
L
388752011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38876
38877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38878 AVX check.
38879
59178ef9
AS
388802011-09-07 Andreas Schwab <schwab@redhat.com>
38881
38882 [BZ #13144]
38883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38884 last change.
38885
e38ba7ab
UD
388862011-09-07 Ulrich Drepper <drepper@gmail.com>
38887
38888 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38889 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38890 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38891 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38892 clock_gettime.
38893
d53a73ac
UD
388942011-09-06 Ulrich Drepper <drepper@gmail.com>
38895
fc8bffcc
UD
38896 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38897 Forgot to demangle the pointer.
38898
ceaa0c5d
UD
38899 * sysdeps/i386/sysdep.h: Define atom_text_section.
38900 * sysdeps/x86_64/sysdep.h: Likewise.
38901 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38902 section with atom_text_section.
38903 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38904 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38905 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38907 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38908
a77d3c17
UD
38909 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38910 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38911 already be defined. Change to take two parameters and don't assign
38912 result to variable. Adjust all users.
38913 Define INTERNAL_GETTIME if not already defined.
38914 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38915 call.
38916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38917 HAVE_CLOCK_GETTIME_VSYSCALL.
38918 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38919
d53a73ac
UD
38920 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38921 gettimeofday vsyscall, just use time.
38922
a8f84144
AS
389232011-09-06 Andreas Schwab <schwab@redhat.com>
38924
38925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38926 <errno.h>.
38927
ef606249
UD
389282011-09-06 Ulrich Drepper <drepper@gmail.com>
38929
38930 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38931 syscall on x86-64.
38932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38933 syscall.
38934 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38936 syscall if possible.
38937
6585cb60
UD
389382011-09-05 Ulrich Drepper <drepper@gmail.com>
38939
38940 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38941 e_ident. Don't pass to find_mapsXX.
38942 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38943
a5f524e4
LD
389442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38945
38946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38947 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38948 * sysdeps/x86_64/multiarch/strchr.S: Update.
38949 Check bit_slow_BSF bit.
38950 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38951 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38952 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38953
554881ef
UD
389542011-09-05 Ulrich Drepper <drepper@gmail.com>
38955
d96de963
UD
38956 [BZ #13134]
38957 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38958 before glibc 2.15.
38959 (tryshell): Define.
38960 (__spawni): Change last parameter to be flag. Test
38961 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38962 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38963 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38964 * posix/spawni.c: Likewise.
38965 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38966 * posix/spawnp.c: Likewise. Change normal version to use
38967 SPAWN_XFLAGS_USE_PATH.
38968 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38969 SPAWN_XFLAGS_TRY_SHELL.
38970
d48e5868
UD
38971 [BZ #13150]
38972 * posix/glob.h: Remove gcc 1.x support.
38973
554881ef
UD
38974 [BZ #13068]
38975 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38976
693fb948
LD
389772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38978
38979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38980 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38981 strrchr-sse2-bsf
38982 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38983 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38984 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38985 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38986 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38987 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38988
1b48c537
UD
389892011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38990
49d42c37
UD
38991 * sysdeps/x86_64/wcscmp.S: New file.
38992
1b48c537
UD
38993 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38994 wcscmp-c wcscmp-sse2
38995 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38996 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38997 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38998 * wcsmbs/wcscmp.c: Allow renaming.
38999
15c95c5d
DM
390002011-09-05 David S. Miller <davem@davemloft.net>
39001
39002 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39003 stack slot, rather than the struct return pointer slot.
39004 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39005 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39007 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39008
2f0ad8f3
UD
390092011-09-05 Ulrich Drepper <drepper@gmail.com>
39010
d88ae418
UD
39011 * po/ja.po: Update from translation team.
39012
2f0ad8f3
UD
39013 [BZ #13144]
39014 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39015 kernel in 64-bit binaries.
39016
5f4318d1
DM
390172011-09-01 David S. Miller <davem@davemloft.net>
39018
39019 * elf/elf.h (HWCAP_SPARC_*): Move to..
39020 * sysdeps/sparc/sysdep.h: this new file and add new values.
39021 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39022 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39023 _DL_HWCAP_COUNT to 24.
39024 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39025 entries.
39026 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39027 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39028 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39030 instead of magic constants.
39031 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39032
3ba57516
DM
390332011-08-31 David S. Miller <davem@davemloft.net>
39034
39035 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39037 Reimplement to do errno handling inline.
39038 (SYSCALL_ERROR_HANDLER): New macro.
39039 (__SYSCALL_STRING): Do not do errno handling in asm.
39040 (__CLONE_SYSCALL_STRING): Delete.
39041 (__INTERNAL_SYSCALL_STRING): Delete.
39042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39043 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39044 (PSEUDO): Reimplement to do errno handling inline.
39045 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39046 (SYSCALL_ERROR_HANDLER): New macro.
39047 (__SYSCALL_STRING): Do not do errno handling in asm.
39048 (__CLONE_SYSCALL_STRING): Delete.
39049 (__INTERNAL_SYSCALL_STRING): Delete.
39050 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39051 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39052 i386.
39053 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39054 (inline_syscall*): Add 'err' argument.
39055 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39056 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39057 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39058 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39059
39060 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39061 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39062
2bc17433
AS
390632011-08-30 Andreas Schwab <schwab@redhat.com>
39064
39065 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39066
fbeb5f4d
JO
390672011-08-29 Jiri Olsa <jolsa@redhat.com>
39068
39069 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39070 directive.
39071
ad69cc26
DM
390722011-08-24 David S. Miller <davem@davemloft.net>
39073
39074 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39075
39dd69df
AS
390762011-08-24 Andreas Schwab <schwab@redhat.com>
39077
39078 * elf/Makefile: Add rules to build and run unload8 test.
39079 * elf/unload8.c: New file.
39080 * elf/unload8mod1.c: New file.
39081 * elf/unload8mod1x.c: New file.
39082 * elf/unload8mod2.c: New file.
39083 * elf/unload8mod3.c: New file.
39084
39085 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39086 it wasn't used.
39087
2c0b250a
DM
390882011-08-23 David S. Miller <davem@davemloft.net>
39089
39090 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39091 subtract stack bias.
39092 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39093 %sp not %fp in calculations.
39094 (_JMPBUF_UNWINDS_ADJ): Likewise.
39095
22044b48
DM
39096 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39097 (aio_suspend): Call it to force an exception region around the
39098 AIO_MISC_WAIT() invocation.
39099
2cae4995
AS
391002011-08-23 Andreas Schwab <schwab@redhat.com>
39101
39102 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39103 backslash.
39104
873a772e
AJ
391052011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39106
39107 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39108 protection macro.
39109 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39110 and <dl-machine.h>.
39111 (Elf64_FuncDesc): Remove.
39112
25ad0df1
DM
391132011-08-22 David S. Miller <davem@davemloft.net>
39114
39115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39116 sigaltstack check, add missing cfi directives.
39117 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39118 missing cfi directives, and sigaltstack handling.
39119
e888bcbe
AS
391202011-08-16 Andreas Schwab <schwab@redhat.com>
39121
39122 [BZ #11724]
39123 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39124 object is seen twice.
39125 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39126
39127 * elf/Makefile (distribute): Add tst-initorder2.c.
39128 (tests): Add tst-initorder2.
39129 (modules-names): Add tst-initorder2a tst-initorder2b
39130 tst-initorder2c tst-initorder2d. Add rules to build them.
39131 ($(objpfx)tst-initorder2.out): New rule.
39132 * elf/tst-initorder2.c: New file.
39133 * elf/tst-initorder2.exp: New file.
39134
87162f46
AS
391352011-08-22 Andreas Schwab <schwab@redhat.com>
39136
70538b7f
AS
39137 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39138
f55ffe58
AS
39139 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39140 dependencies back to end of function.
39141
87162f46
AS
39142 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39143 $(elfobjdir)/ld.so.
39144
91b392a4
UD
391452011-08-21 Ulrich Drepper <drepper@gmail.com>
39146
39147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39148 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39150 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39151 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39152 of __vdso_gettimeofday.
39153 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39154 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39155 attribute_hidden.
39156 (_libc_vdso_platform_setup): Remove initialization of
39157 __vdso_gettimeofday and __vdso_time.
39158
5c43483f
UD
391592011-08-20 Ulrich Drepper <drepper@gmail.com>
39160
775a77e7
UD
39161 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39162 and fgetc_unlocked.
39163 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39164 getc_unlocked.
89f447ed 39165
49c74ba9
UD
39166 * elf/dl-open.c (add_to_global): Report additions to the global scope
39167 for LD_DEBUG=scopes.
39168 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39169 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39170
5c43483f
UD
39171 [BZ #13114]
39172 * stdio-common/Makefile (tests): Add bug24.
39173 * stdio-common/bug24.c: New file.
39174
a101b025
AJ
391752011-08-19 Andreas Jaeger <aj@suse.de>
39176
39177 [BZ #13114]
39178 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39179 non-existant file when using close-on-exec mode.
39180
c88f1766
UD
391812011-08-20 Ulrich Drepper <drepper@gmail.com>
39182
0276a718
UD
39183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39184 the very first instruction.
39185
c88f1766
UD
39186 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39187 the CFI state in the end.
39188 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39189 inclusion of dl-trampoline.h.
39190 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39191
51ccffa0
AS
391922011-08-19 Andreas Schwab <schwab@redhat.com>
39193
94d7165f
AS
39194 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39195 expectations for long double.
39196
51ccffa0
AS
39197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39198 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39199
fd708658 392002011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39201
39202 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39203 artificual limit depends upon the system page size.
39204
44f0a71e
UD
392052011-08-17 Ulrich Drepper <drepper@gmail.com>
39206
39207 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39208 * resolv/Makefile: Define CFLAGS-libresolv.
39209
8de79a24
AS
392102011-08-17 Andreas Schwab <schwab@redhat.com>
39211
39212 * nss/makedb.c (compute_tables): Make variables used in nested
39213 function static.
39214
27724598
UD
392152011-08-17 Ulrich Drepper <drepper@gmail.com>
39216
c5305d88
UD
39217 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39218 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39219 if buffer was too small.
39220
27724598
UD
39221 * elf/pldd.c (main): Attach to all threads in the process.
39222 Rewrite /proc handling to use *at functions.
39223
076fe015
UD
392242011-08-16 Ulrich Drepper <drepper@gmail.com>
39225
174baab3
UD
39226 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39227 specifies first scope to show.
39228 (dl_open_worker): Update callers. Move printing scope of new
39229 object to before the relocation.
44f0a71e 39230 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39231 * sysdeps/generic/ldsodefs.h: Update declaration.
39232
076fe015
UD
39233 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39234 string for the scope number.
39235
a60df2c3
UD
392362011-08-14 Ulrich Drepper <drepper@gmail.com>
39237
39238 * nscd/servicescache.c (cache_addserv): Make sure written is always
39239 initialized.
39240
5e4287d1
RM
392412011-08-14 Roland McGrath <roland@hack.frob.com>
39242
85ae0589
RM
39243 * sysdeps/i386/i486/bits/atomic.h
39244 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39245 statement expression, so as to suppress "set but not used" warning.
39246 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39247
69f63097
RM
39248 * string/strncat.c (STRNCAT): Use prototype definition.
39249
675456ef
RM
39250 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39251 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39252 -Iprograms here.
39253 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39254 (localedef-modules): Add localedef.
39255 (locale-modules): Add locale.
39256
5e4287d1
RM
39257 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39258 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39259 to avoid a warning.
39260
9c96ff23
DM
392612011-08-14 David S. Miller <davem@davemloft.net>
39262
39263 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39264 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39265
f9ddf089
UD
392662011-08-13 Ulrich Drepper <drepper@gmail.com>
39267
44f0a71e 39268 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39269 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39270 * elf/rtld.c (dl_main): Set l_name of vDSO.
39271 Call _dl_show_scope when DL_DEBUG_SCOPES.
39272 (process_dl_debug): Recognize scopes flag and also set it for all.
39273 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39274 Declare _dl_show_scope.
39275
1dc27704
UD
39276 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39277 (do_dlopen): Pass caller_dlopen to dl_open.
39278 (__libc_dlopen_mode): Initialize caller_dlopen.
39279
f9ddf089
UD
39280 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39281 of libc. Make tolower call locale-independent. Optimize a bit by
39282 using isdigit instead of isalnum.
39283 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39284
9ac533d3
UD
392852011-08-12 Ulrich Drepper <drepper@gmail.com>
39286
39287 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39288 was a dependency or dynamically loaded.
39289
89edf2e9
UD
392902011-08-11 Ulrich Drepper <drepper@gmail.com>
39291
8e999d29
UD
39292 * intl/l10nflist.c: Allow architecture-specific pop function.
39293 * sysdeps/x86_64/l10nflist.c: New file.
39294
89edf2e9
UD
39295 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39296 classification.
39297
14d96785
AS
392982011-08-10 Andreas Schwab <schwab@redhat.com>
39299
39300 * include/dirent.h: Add libc_hidden_proto for scandirat and
39301 scandirat64. Don't declare __scandirat64.
39302 * dirent/scandirat.c: Add libc_hidden_def.
39303 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39304 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39305
6761ac04
DM
393062011-08-10 David S. Miller <davem@davemloft.net>
39307
39308 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39309 enum.
39310 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39311 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39312 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39313
c55fbd1e
UD
393142011-08-09 Ulrich Drepper <drepper@gmail.com>
39315
39316 * Versions.def [libc]: Add GLIBC_2.15.
39317 * dirent/Makefile (routines): Add scandirat and scandirat64.
39318 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39319 GLIBC_2.15.
39320 * dirent/dirent.h: Declare scandirat and scandirat64.
39321 * dirent/scandirat.c: New file.
39322 * dirent/scandirat64.c: New file.
39323 * sysdeps/wordsize-64/scandirat.c: New file.
39324 * sysdeps/wordsize-64/scandirat64.c: New file.
39325 * dirent/opendir.c: Define opendirat.
39326 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39327 using scandirat.
39328 * dirent/scandir64.c: Adjust for scandir.c change.
39329 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39330 __scandirat64, and __scandir_cancel_handler.
39331 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39332 additional parameter and use openat instead of open (outside of ld.so).
39333 Add new __opendir as wrapper around __opendirat.
39334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39335 here without requiring old scandirat implementation.
39336
879165f2
UD
393372011-08-08 Ulrich Drepper <drepper@gmail.com>
39338
39339 * dirent/scandir.c (cancel_handler): Renamed to
39340 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39341 defined. Adjust users.
39342 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39343 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39344
cb7e923b
UD
393452011-08-04 Ulrich Drepper <drepper@gmail.com>
39346
16292edd
UD
39347 * string/test-string.h (IMPL): Use __STRING to expand name and then
39348 stringify it.
39349
cb7e923b
UD
39350 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39351 of cleanups.
39352
cff82933
LD
393532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39354
39355 * string/Makefile: Update.
39356 (strop-tests): Append strncat.
39357 * string/test-wcscmp.c: New file.
39358 New comprehensive test for wcscmp.
39359 * string/test-strcmp.c: Update.
39360 (WIDE): New define.
39361
9be9bfcc
AS
393622011-07-22 Andreas Schwab <schwab@redhat.com>
39363
39364 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39365 line.
39366
2e96f1c7
AS
393672011-07-26 Andreas Schwab <schwab@redhat.com>
39368
39369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39370 encoding to ACE if AI_IDN.
39371
85188888
JJ
393722011-08-01 Jakub Jelinek <jakub@redhat.com>
39373
39374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39375 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39376
5fa16e9b
LD
393772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39378
39379 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39380 Fix overflow bug in strncat.
39381 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39382
39383 * string/test-strncat.c: Update.
39384 Add new tests for checking overflow bugs.
39385
393862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39387
39388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39389 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39390 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39391 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39392 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39393 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39394 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39395 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39396 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39397
39398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39399 (USE_AS_STRCAT): Define.
39400 Add strcat and strncat support.
39401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39402
8c1a459f
AS
394032011-07-25 Andreas Schwab <schwab@redhat.com>
39404
39405 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39406 __n bigger than INT_MAX+1.
39407 (__strncmp_g): Likewise.
39408
bba33c28
UD
394092011-07-23 Ulrich Drepper <drepper@gmail.com>
39410
798be72d
UD
39411 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39412 * libio/stido.h: Likewise.
39413
8accd4dc
UD
39414 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39415 (AF_NFC): Define.
39416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39417 (AF_NFC): Define.
39418
cbff0d96
UD
39419 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39420 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39421 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39422 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39424
9191c04a
UD
39425 [BZ #13021]
39426 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39427 installed.
39428
bba33c28
UD
39429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39430 typo.
39431 (_dl_x86_64_save_sse): Likewise.
39432
90f139dd
UD
394332011-07-22 Ulrich Drepper <drepper@gmail.com>
39434
1aae088a
UD
39435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39436 OSXSAVE.
39437 (_dl_x86_64_save_sse): Likewise.
39438
8e2045f5
UD
39439 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39440
90f139dd
UD
39441 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39442
1d002f25
AS
394432011-07-21 Andreas Schwab <schwab@redhat.com>
39444
39445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39446 change.
39447 (_dl_x86_64_save_sse): Use correct AVX check.
39448
21137f89
UD
394492011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39450
39451 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39452 bug in strncpy/strncat.
39453 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39454
a65c0b7a
UD
394552011-07-21 Ulrich Drepper <drepper@gmail.com>
39456
39457 * string/tester.c (test_strcat): Add tests for different alignments
39458 of source and destination.
39459 (test_strncat): Likewise.
39460
6986b98a
UD
394612011-07-20 Ulrich Drepper <drepper@gmail.com>
39462
90bb2039
UD
39463 [BZ #12852]
39464 * posix/glob.c (glob): Check passed in values before using them in
39465 expressions to avoid some overflows.
39466 (glob_in_dir): Likewise.
39467
5644ef54
UD
39468 [BZ #13007]
39469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39470 check for AVX enablement so that we don't crash with old kernels and
39471 new hardware.
39472 * elf/tst-audit4.c: Add same checks here.
39473 * elf/tst-audit6.c: Likewise.
39474
39475 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39476
bfc9dc9b
AS
394772011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39478
39479 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39480
702e64bb
UD
394812011-07-20 Ulrich Drepper <drepper@gmail.com>
39482
39483 * po/cs.po: Update from translation team.
39484 * po/bg.po: Likewise.
39485
295e904f
MP
394862011-07-12 Marek Polacek <mpolacek@redhat.com>
39487
39488 * misc/sys/cdefs.h: Add support for const attribute.
39489 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39490 to gnu_dev_{major,minor,makedev} functions.
39491
3ff94596
MP
394922011-07-20 Marek Polacek <mpolacek@redhat.com>
39493
39494 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39495
28b59fca
AS
394962011-07-20 Andreas Schwab <schwab@redhat.com>
39497
39498 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39499 strlen results.
39500
19df733e
AK
395012011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39502
39503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39504 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39505 register in order to avoid conflicts with the soft frame pointer
39506 being held in r11 when necessary.
39507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39508 (INTERNAL_VSYSCALL_NCS): Likewise.
39509
c8835729
MP
395102011-07-14 Marek Polacek <mpolacek@redhat.com>
39511
39512 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39513 * elf/dl-fini.c (_dl_fini): Adjust caller.
39514 * elf/dl-close.c (_dl_close_worker): Likewise.
39515 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39516
b902330c
MP
395172011-07-15 Marek Polacek <mpolacek@redhat.com>
39518
8991e135
MP
39519 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39520 "aux_cache->nlibs < 0".
39521
b902330c
MP
39522 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39523 in the reload-count case.
39524
99710781
LD
395252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39526
39527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39528 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39529 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39530 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39531 * sysdeps/x86_64/multiarch/strcat.S: New file.
39532 * sysdeps/x86_64/multiarch/strncat.S: New file.
39533 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39534 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39535 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39536 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39537 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39538 (USE_AS_STRCAT): Define.
39539 Add strcat and strncat support.
39540 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39541 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39542 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39543 * string/strncat.c: Update.
39544 (USE_AS_STRNCAT): Define.
39545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39546 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39547 and i7.
39548 * sysdeps/x86_64/multiarch/init-arch.h
39549 (bit_Prefer_PMINUB_for_stringop): New.
39550 (index_Prefer_PMINUB_for_stringop): Likewise.
39551 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39552 bit_Prefer_PMINUB_for_stringop.
39553
7dc6bd90
UD
395542011-07-19 Ulrich Drepper <drepper@gmail.com>
39555
39556 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39557 buffer64.
39558 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39559 of casting of buffer.
39560 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39561 buffer32 and buffer64.
39562 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39563 writes instead of casting of buffer.
39564 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39565 buffer32.
39566 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39567 casting of buffer.
39568
e0e72284
AS
395692011-07-19 Andreas Schwab <schwab@redhat.com>
39570
39571 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39572
feb1eb0b
UD
395732011-07-19 Ulrich Drepper <drepper@gmail.com>
39574
39575 * nscd/nscd.c (termination_handler): Don't do anything for a database
39576 if it has not yet been initialized.
39577
298711ff
UD
395782011-07-18 Ulrich Drepper <drepper@gmail.com>
39579
39580 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39581
395822011-07-15 Marek Polacek <mpolacek@redhat.com>
39583
39584 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39585
f9d68389
UD
395862011-07-18 Ulrich Drepper <drepper@gmail.com>
39587
39588 * po/nl.po: Update from translation team.
39589 * po/sv.po: Likewise.
39590
db290cf5
RM
395912011-07-16 Roland McGrath <roland@hack.frob.com>
39592
39593 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39594 now disallowed by GCC.
5c550700 39595
fd5e21c7
RM
39596 * configure.in (use-default-link): Default to yes if a test -shared
39597 link meets our qualifications.
39598 * configure: Regenerated.
39599
5c550700
RM
39600 * config.make.in (output-format): New variable.
39601 * configure.in: Check for ld --print-output-format support.
39602 * configure: Regenerated.
39603 * Makerules ($(common-objpfx)format.lds)
39604 [$(output-format) != unknown]: Just use $(output-format),
39605 instead of the linker-script munging.
39606
9fa2c032
RM
396072011-07-14 Roland McGrath <roland@hack.frob.com>
39608
a6928d51
RM
39609 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39610 of $(common-objpfx)shlib.lds.
39611 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39612
661607b3
RM
39613 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39614 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39615
9fa2c032
RM
39616 * configure.in (-z relro check): Adjust test code to add a large
39617 writable data section after it.
39618 * configure: Regenerated.
39619
defe9061
RM
396202011-07-11 Roland McGrath <roland@hack.frob.com>
39621
39622 * configure.in (-z relro check): Fix test code to make the variable
39623 truly const.
39624 * configure: Regenerated.
39625
319b9ad4
UD
396262011-07-11 Ulrich Drepper <drepper@gmail.com>
39627
39628 * nscd/nscd.h (struct traced_file): Define.
39629 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39630 elements. Add traced_files.
39631 (inotify_fd): Declare.
39632 (register_traced_file): Declare.
39633 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39634 (inotify_fd): Export.
39635 (resolv_conf_descr): Remove.
39636 (nscd_init): Move inotify descriptor creation to main.
39637 Don't register files for notification here.
39638 (register_traced_file): New function.
39639 (invalidate_cache): Don't use reset_res to determine whether to call
39640 res_init, go through the list of registered files.
39641 (main_loop_poll): The inotify descriptors are now stored in the
39642 structures for the traced files.
39643 (main_loop_epoll): Likewise
39644 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39645 to __nss_disable_nscd.
39646 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39647 for a database anymore. Check the records for all the registered
39648 files instead.
39649 * nss/Makefile (libnss_files-routines): Add files-init.
39650 (libnss_db-routines): Add db-init.
39651 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39652 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39653 * nss/nss_db/db-init.c: New file.
39654 * nss/nss_files/files-init.c: New file.
39655 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39656 __nss_lookup_function.
39657 (__nss_lookup_function): Call nss_load_library.
39658 (nss_load_all_libraries): New function.
39659 (__nss_disable_nscd): Take parameter with callback function for files
39660 to register. Set is_nscd. Load all the DSOs for the NSS modules
39661 used for the cached services.
39662 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39663 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39664 options for features to all the files in nscd.
39665
39666 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39667
23bee3e8
RM
396682011-07-10 Roland McGrath <roland@hack.frob.com>
39669
39670 * csu/elf-init.c (__libc_csu_init): Comment typo.
39671
46a5b7f0
UD
396722011-07-09 Ulrich Drepper <drepper@gmail.com>
39673
39674 * po/pl.po: Update from translation team.
39675 * po/ja.po: Likewise.
39676 * po/ru.po: Likewise.
39677 * po/ko.po: Likewise.
39678 * po/fr.po: Likewise.
39679
d30cf5bb
RM
396802011-07-09 Roland McGrath <roland@hack.frob.com>
39681
113ddea4
RM
39682 * configure.in (.ctors/.dtors header and trailer check):
39683 Use an empirical test on a built program.
39684 * configure: Regenerated.
39685
574920b4
RM
39686 * configure.in (-z relro check): Use an empirical test on a built DSO.
39687 Detect, but do not require, on ia64.
39688 * configure: Regenerated.
39689
d30cf5bb
RM
39690 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39691 Update tests that use readelf to use $READELF instead.
39692 * configure: Regenerated.
39693
8538fdb3
UD
396942011-07-08 Ulrich Drepper <drepper@gmail.com>
39695
39696 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39697 if the result is not used.
39698
04d08991
AJ
396992011-07-05 Andreas Jaeger <aj@suse.de>
39700
39701 [BZ#9696]
39702 * stdlib/tst-strtod.c: Add testcase.
39703
de283087
AD
397042011-07-07 Ulrich Drepper <drepper@gmail.com>
39705
4e5f31c8 39706 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39707 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39708 The latter has a higher limit. Take additional parameter to pass to
39709 the new function.
39710 (__pathconf): Pass file to __statfs_link_max.
39711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39712 __statfs_link_max.
39713 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39714 __statfs_link_max.
39715
de283087
AD
39716 [BZ #12868]
39717 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39718 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39719 Handle Lustre.
39720 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39721 (__statfs_filesize_max): Likewise.
39722 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39723
c75fa153
AJ
397242011-07-05 Andreas Jaeger <aj@suse.de>
39725
39726 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39727
1a544854
UD
397282011-07-06 Marek Polacek <mpolacek@redhat.com>
39729
39730 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39731 `status' variable.
39732 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39733 Likewise.
39734
6f0eec67
UD
397352011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39736
39737 * Makefile (strop-tests): Add strncat.
39738 * string/test-strncat.c: New file.
39739
aae30307
UD
397402011-06-30 Marek Polacek <mpolacek@redhat.com>
39741
39742 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39743
c0cfb5eb
UD
397442011-06-21 Andreas Jaeger <aj@suse.de>
39745
39746 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39747 Copy rule from iconvdata/Makefile.
39748
01636b21
UD
397492011-07-06 Ulrich Drepper <drepper@gmail.com>
39750
39751 [BZ #12922]
39752 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39753 but no long options are defined, just return 'W'.
39754
9895c8bc
UD
397552011-06-22 Marek Polacek <mpolacek@redhat.com>
39756
39757 [BZ #9696]
39758 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39759
5d4cf042
UD
397602011-07-06 Ulrich Drepper <drepper@gmail.com>
39761
39762 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39763 netgroups to read.
960e5535 39764 (innetgr): Likewise.
5d4cf042 39765
751eb97e
RM
397662011-07-05 Roland McGrath <roland@hack.frob.com>
39767
39768 * config.make.in (install_root): Default to $(DESTDIR).
39769
f15f1e45
UD
397702011-07-05 Ulrich Drepper <drepper@gmail.com>
39771
39772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39773
4e34ac6a
RM
397742011-07-02 Roland McGrath <roland@hack.frob.com>
39775
5e9b6af4
RM
39776 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39777
84f9ea0f
RM
39778 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39779 containing directory rather than embedding absolute directory names.
39780
ea5ee9f7
RM
39781 * scripts/check-local-headers.sh: Rewritten using awk.
39782 Match by word, not by line. Print error messages for matches.
39783 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39784
1b74661a
RM
39785 * Makerules [shlib-lds-flags empty]:
39786 ($(common-objpfx)libc_pic.opts): New target.
39787 ($(common-objpfx)libc_pic.os.clean): New target.
39788 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39789
39790 * config.make.in (OBJCOPY): New variable.
39791 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39792 * configure: Regenerated.
39793
f781ef40
RM
39794 * config.make.in (use-default-link): New variable.
39795 * configure.in (use_default_link): Grok --with-default-link to set it.
39796 * configure: Regenerated.
39797 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39798 (shlib-lds, shlib-lds-flags): Define to empty.
39799
2d4fa81e
RM
39800 * Makerules (shlib-lds): New variable.
39801 (shlib-lds-flags): New variable.
39802 (build-shlib, build-moduile, build-module-asneeded): Use it.
39803 ($(common-objpfx)libc.so): Use $(shlib-lds).
39804 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39805 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39806
31fffa6b
RM
39807 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39808 DT_FLAGS/DT_FLAGS_1 with zero flags.
39809
4e34ac6a
RM
39810 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39811 linker script munging.
39812
fcfc776b
UD
398132011-07-02 Ulrich Drepper <drepper@gmail.com>
39814
39815 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39816 as 128-bit value.
39817 * crypt/sha512.c (sha512_process_block): Perform total addition using
39818 128-bit if possible.
39819 (__sha512_finish_ctx): Likewise.
39820 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39821 as 64-bit value.
39822 * crypt/sha256.c (SWAP64): Define.
39823 (sha256_process_block): Perform total addition using 64-bit if
39824 possible.
39825 (__sha256_finish_ctx): Likewise.
39826
99231d9a
UD
398272011-07-01 Ulrich Drepper <drepper@gmail.com>
39828
39829 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39831 * nscd/hstcache.c (cache_addhst): Likewise.
39832 * nscd/grpcache.c (cache_addgr): Likewise.
39833 * nscd/aicache.c (addhstaiX): Likewise
39834 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39835
445b4a53
TK
398362011-07-01 Thorsten Kukuk <kukuk@suse.de>
39837
39838 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39840 * nscd/hstcache.c (cache_addhst): Likewise.
39841 * nscd/grpcache.c (cache_addgr): Likewise.
39842 * nscd/aicache.c (addhstaiX): Likewise
39843
6d4d8e8e
AS
398442011-07-01 Andreas Schwab <schwab@redhat.com>
39845
39846 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39847 domain only when needed.
39848
89f654c5
AS
398492011-06-30 Andreas Schwab <schwab@redhat.com>
39850
39851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39852 is always restored.
39853
cf3b23ff
UD
398542011-06-29 Ulrich Drepper <drepper@gmail.com>
39855
39856 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39857 are re-adding the entry.
39858 * nscd/servicescache.c (cache_addserv): Likewise.
39859
751626f9
AJ
398602011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39861
39862 * sysdeps/generic/dl-irel.h: fix protection against multiple
39863 inclusions.
39864 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39865
9113ea1f
UD
398662011-06-28 Ulrich Drepper <drepper@gmail.com>
39867
5c0b8d90
UD
39868 [BZ #12935]
39869 * malloc/memusage.sh: Fix quoting in message.
39870 * debug/xtrace.sh: Likewise.
39871
9113ea1f
UD
39872 * configure.in: Remove support for --experimental-malloc option, make
39873 it the default.
39874 * config.make.in: Likewise.
39875 * malloc/Makefile: Likewise.
39876
a4172181
AS
398772011-06-27 Andreas Schwab <schwab@redhat.com>
39878
39879 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39880 two-byte characters.
39881
78a7eee7
RM
398822011-06-27 Roland McGrath <roland@hack.frob.com>
39883
62bede13
RM
39884 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39885 AC_CACHE_CHECK invocation.
39886 * configure: Regenerated.
39887
78a7eee7
RM
39888 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39889
5ce33a62
UD
398902011-06-27 Ulrich Drepper <drepper@gmail.com>
39891
034807a9
UD
39892 [BZ #12350]
39893 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39894 bit from old_res_options.
39895
4902da17
UD
39896 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39897
5ce33a62
UD
39898 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39899 value type for setfct.
39900
c2344f56
L
399012011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39902
39903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39904 __gettimeofday instead of gettimeofday.
39905
68468076
UD
399062011-06-26 Ulrich Drepper <drepper@gmail.com>
39907
39908 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39909
acb0d739
L
399102011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39911
39912 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39913
39914 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39915 info.
39916
8912479f
L
399172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39918
39919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39920 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39921 strcpy-sse2-unaligned strncpy-sse2-unaligned
39922 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39923 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39924 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39925 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39926 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39927 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39928 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39929 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39930 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39931 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39932 (STRCPY): Support SSE2 and SSSE3 versions.
39933
d5495a11
UD
399342011-06-24 Ulrich Drepper <drepper@gmail.com>
39935
39936 [BZ #12874]
39937 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39938 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39939 kernels which artificially limit size of requests.
39940
0b1cbaae
L
399412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39942
39943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39944 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39945 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39946 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39947 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39948 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39949 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39950 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39951 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39952 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39953 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39954 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39955 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39956 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39957 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39959 Enable unaligned load optimization for Intel Core i3, i5 and i7
39960 processors.
39961 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39962 Define.
39963 (index_Fast_Unaligned_Load): Define.
39964 (HAS_FAST_UNALIGNED_LOAD): Define.
39965
07f494a0
MP
399662011-06-23 Marek Polacek <mpolacek@redhat.com>
39967
39968 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39969
fa3fc0fe
UD
399702011-06-22 Ulrich Drepper <drepper@gmail.com>
39971
39972 [BZ #12907]
39973 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39974 until it is clear that the information is realy needed.
39975 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39976
e12df166
AS
399772011-06-22 Andreas Schwab <schwab@redhat.com>
39978
39979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39980
852eb34d
UD
399812011-06-22 Ulrich Drepper <drepper@gmail.com>
39982
84e2a551
UD
39983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39984 /sys/devices/system/cpu/online if it is usable.
39985
852eb34d
UD
39986 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39987 reading the information from the /proc filesystem to once a second.
39988
6e502e19
UD
399892011-06-21 Andreas Jaeger <aj@suse.de>
39990
39991 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39992 NULL after inclusion of kernel headers.
39993
75d39ff2
UD
399942011-06-21 Ulrich Drepper <drepper@gmail.com>
39995
51f9aa6a
UD
39996 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39997 calls to internal_setent.
39998
c0244a9d
UD
39999 [BZ #12885]
40000 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40001 addresses using gethostbyname4_r ignore IPv4 addresses.
40002
c5e3c2ae
UD
40003 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40004 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40005
75d39ff2
UD
40006 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40007
42675c6f
DM
400082011-06-20 David S. Miller <davem@davemloft.net>
40009
40010 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40011 inclusions.
40012 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40013
40014 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40015 (elf_irel): Use it.
40016 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40017 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40018 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40019 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40020 * sysdeps/x86_64/dl-irel.h: Likewise.
40021
40022 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40023 * elf/dl-sym.c: Likewise.
40024
57912a71
UD
400252011-06-15 Ulrich Drepper <drepper@gmail.com>
40026
40027 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40028 need to dereference resplen2.
40029
ee22793d
AS
400302011-06-14 Andreas Schwab <schwab@redhat.com>
40031
40032 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40033
a9e836b0
UD
400342011-06-15 Ulrich Drepper <drepper@gmail.com>
40035
77fb9117
UD
40036 * Makeconfig: Define vardbdir and inst_vardbdir.
40037 * nss/Makefile: Add rules to install db-Makefile.
40038
40c1b22c
UD
40039 * nss/nss_db/db-XXX.c: Cleanup.
40040
9f2da732
UD
40041 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40042 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40043 GLIBC_PRIVATE.
40044 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40045 * nss/makedb.c: Implement -g option to specify that value strings
40046 are generated and should not be added to table iterated over for
40047 get*ent calls.
40048 * nss/nss_db/db-initgroups.c: New file.
40049
82e9a1f7
UD
40050 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40051 interface.
40052
c41af17e
UD
40053 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40054 (internal_getgrouplist): Adjust to name change.
40055 Update use_initgroups_entry if this is not the first call.
40056 * nss/databases.def: Add initgroups entry.
40057
a9e836b0
UD
40058 * nss/makedb.c (compute_tables): Check result of multiple hash table
40059 sizes to minimize maximum chain length.
40060
2666d441
UD
400612011-06-14 Ulrich Drepper <drepper@gmail.com>
40062
40063 * Versions.def: Add entry for libnss_db.
40064 * shlib-versions: Likewise.
40065 * nss/Makefile: Add rules to build libnss_db.
40066 * nss/Versions: Add libnss_db information. Organize libnss_files
40067 entries better.
40068 * nss/db-Makefile: Add gshadow support. Change rules for the new
40069 makedb progra. Some minor improvements to generate smaller files.
40070 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40071 here from...
40072 * nss/makedb.c: ...here.
40073 Improve database format to be smaller and require less memory at
40074 runtime.
40075 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40076 db anymore.
40077 * nss/nss_db/db-netgrp.c: Likewise.
40078 * nss/nss_db/db-open.c: Likewise.
40079 * nss/nss_files/flies-XXX.x: Adjust comments.
40080 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40081 * nss/nss_files/files-grp.c: Likewise.
40082 * nss/nss_files/files-hosts.c: Likewise.
40083 * nss/nss_files/files-network.c: Likewise.
40084 * nss/nss_files/files-proto.c: Likewise.
40085 * nss/nss_files/files-pwd.c: Likewise.
40086 * nss/nss_files/files-rpc.c: Likewise.
40087 * nss/nss_files/files-service.c: Likewise.
40088 * nss/nss_files/files-sgrp.c: Likewise.
40089 * nss/nss_files/files-spwd.c: Likewise.
40090 * nss/nss_db/db-alias.c: Removed.
40091 * nss/nss_db/dummy-db.h: Removed.
40092
9ee76b5a
UD
400932011-06-02 Ulrich Drepper <drepper@gmail.com>
40094
40095 * nss/makedb.c: Rewritten to not use database library.
40096 * nss/Makefile: Update to build new makedb program.
40097
c71ca1f8
AJ
400982011-06-14 Andreas Jaeger <aj@suse.de>
40099
40100 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40101 memset declaration.
40102
3154bfb8
UD
401032011-06-10 Andreas Schwab <schwab@redhat.com>
40104
40105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40106 tmpbuf.
40107
b350afab
RM
401082011-06-10 Roland McGrath <roland@hack.frob.com>
40109
decd4e50
RM
40110 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40111 * elf/Makefile ($(objpfx)ld.so): Likewise.
40112
5615eaf2
RM
40113 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40114 Don't list ld.so twice in dependencies.
40115
40116 * posix/bug-regex31.c: Include <stdlib.h>.
40117
40118 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40119
40120 * nis/nss_compat/compat-spwd.c
40121 (getspent_next_nss_netgr): Remove unused variable.
40122 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40123
40124 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40125 nonmembers" output to use the right array.
40126
40127 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40128
40129 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40130
40131 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40132 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40133 * catgets/gencat.c (read_input_file): Likewise.
40134 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40135
40136 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40137 variable definition inside #if's controlling its use.
40138
40139 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40140
40141 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40142
40143 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40144
40145 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40146 unreachable code.
40147
40148 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40149
b68e08db
RM
40150 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40151 * configure: Regenerated.
40152
b350afab
RM
40153 * Makerules: Revert last change.
40154 * elf/Makefile: Likewise.
40155
28368601
RM
401562011-06-09 Roland McGrath <roland@hack.frob.com>
40157
40158 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40159 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40160 (reloc-link): Likewise.
40161
11988f8f
UD
401622011-06-09 Ulrich Drepper <drepper@gmail.com>
40163
40164 * elf/Makefile: Add rules to build pldd.
40165 * elf/pldd.c: New file.
40166 * elf/pldd-xx.c: New file.
40167
e80fab37
UD
401682011-06-07 Ulrich Drepper <drepper@gmail.com>
40169
40170 * version.h: Update for 2.15 development version.
40171
9b849836
DM
401722011-06-07 David S. Miller <davem@davemloft.net>
40173
40174 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40175 ifuncs.
40176 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40177 elf_machine_lazy_rel): Likewise.
40178 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40179 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40180 elf_machine_lazy_rel): Likewise.
40181 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40182 dl_hwcap via passed in argument.
40183 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40184 Likewise.
40185
5a31b283
AK
401862011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40187
40188 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40189
069e52f8
RM
401902011-06-06 Roland McGrath <roland@hack.frob.com>
40191
40192 [BZ #12849]
40193 * manual/fdl-1.1.texi: New file, verbatim from:
40194 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40195 * manual/lgpl-2.1.texi: New file, verbatim from:
40196 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40197 * manual/Makefile (licenses): New variable, list those new file names.
40198 (texis): Use it.
40199 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40200
40201 * manual/fdl.texi: File removed.
40202 * manual/lesser.texi: File removed.
40203 * manual/libc.texinfo (Copying, Documentation License):
40204 Use new @include file names, put @appendix directive before @include.
40205
f16846a5
JJ
402062011-06-04 Jakub Jelinek <jakub@redhat.com>
40207
40208 [BZ #12841]
40209 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40210 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40211 (mq_open): Add __NTH.
40212
3d29045b
L
402132011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40214
40215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40216 Assume Intel Core i3/i5/i7 processor if AVX is available.
40217
8c297311
UD
402182011-05-31 Ulrich Drepper <drepper@gmail.com>
40219
40220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40221 typo.
40222
c8fc0c91
UD
402232011-05-31 Andreas Schwab <schwab@redhat.com>
40224
40225 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40226 memory. Use alloca_account. Fix memory leak when retrying.
40227
5b27a807
UD
402282011-05-31 Ulrich Drepper <drepper@gmail.com>
40229
356f8bc6
UD
40230 * version.h (RELEASE): Bump for 2.14 release.
40231 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40232
5b27a807
UD
40233 * config.make.in (RANLIB): Remove entry.
40234
01f16ab0
UD
402352011-05-30 Ulrich Drepper <drepper@gmail.com>
40236
41fce8bd
UD
40237 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40238 (libc.pot): Work around missing support for .ksh extension in xgettext.
40239
4769ae77
UD
40240 [BZ #12684]
40241 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40242 if both request failed.
40243 (send_dg): In case of server errors clear resplen or *resplen2.
40244
6b1e7d19
UD
40245 [BZ #12454]
40246 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40247 when there are multiple maps.
40248 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40249 (_dl_fini): Remove test here.
40250
01f16ab0
UD
40251 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40252
b1ebd700
UD
402532011-05-29 Ulrich Drepper <drepper@gmail.com>
40254
7ae22829
UD
40255 [BZ #12350]
40256 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40257 bit from old_res_options.
40258 (gaih_inet): Likewise.
40259
553149f6 40260 [BZ #11099]
18a84741 40261 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40262 as signed.
40263
652ffab1
UD
40264 * resolv/res_init.c (res_setoptions): Make the code more compact.
40265
16985fd0
UD
40266 [BZ #11558]
40267 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40268 set RES_USEVC.
40269
0464f746
UD
40270 [BZ #11634]
40271 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40272
7d17596c
UD
40273 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40274
cf6bbbd7
UD
40275 [BZ #11781]
40276 * malloc/malloc.h: Declare malloc hook variables as volatile.
40277
13f1ab36
UD
40278 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40279 in last patch.
40280
b1ebd700
UD
40281 [BZ #11799]
40282 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40283 raise in the comment.
80e2212d
UD
40284 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40286 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40287
ce67228d
UD
402882011-05-28 Ulrich Drepper <drepper@gmail.com>
40289
8887a920
UD
40290 [BZ #12811]
40291 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40292 grow the buffers more if it already has to be sufficient.
40293 (build_wcs_upper_buffer): Likewise.
40294 * posix/regexec.c (check_matching): Likewise.
40295 (clean_state_log_if_needed): Likewise.
40296 (extend_buffers): Don't enlarge buffers beyond size of the input
40297 buffer.
40298 Patches mostly by Emil Wojak <emil@wojak.eu>.
40299 * posix/bug-regex32.c: New file.
40300 * posix/Makefile (tests): Add bug-regex32.
40301
4f031072
UD
40302 * locale/findlocale.c (_nl_find_locale): Return right away if
40303 _nl_explode_name failed.
40304 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40305
d0478f0c
UD
40306 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40307
de81b246
UD
40308 * debug/xtrace.sh: Unify messages.
40309 * malloc/memusage.sh: Likewise.
40310
c738465a
UD
40311 [BZ #12813]
40312 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40313 time symbol from vDSO. Substitute with vsyscall if not available.
40314 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40315 __vdso_time.
40316
f1f929d7
UD
40317 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40318 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40319 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40320 Add sendmmsg and internal_sendmmsg.
40321 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40322 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40323 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40324
ce67228d
UD
40325 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40326 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40328
e57420c6
UD
403292011-05-27 Ulrich Drepper <drepper@gmail.com>
40330
a8509ca5
UD
40331 [BZ #12813]
40332 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40333 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40334 available.
40335 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40336 __vdso_getcpu.
40337
e57420c6
UD
40338 [BZ #12814]
40339 * iconvdata/Makefile (tests): Add bug-iconv9.
40340 * iconvdata/bug-iconv9.c: New file.
40341
4d07db15
AS
403422011-05-27 Andreas Schwab <schwab@redhat.com>
40343
40344 [BZ #12814]
40345 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40346
ea486f69
JJ
403472011-05-25 Jakub Jelinek <jakub@redhat.com>
40348
40349 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40350 (struct user_regs_struct): Change intcs field back to cs.
40351
6f038433
UD
403522011-05-25 Ulrich Drepper <drepper@gmail.com>
40353
40354 * po/ja.po: Update from translation team.
40355
67f86a25
UD
403562011-05-23 Ulrich Drepper <drepper@gmail.com>
40357
40358 [BZ #12795]
40359 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40360 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40361
def7fbd6
AS
403622011-05-20 Andreas Schwab <schwab@redhat.com>
40363
40364 * stdlib/longlong.h: Update from GCC.
40365
f50ef8f1
AS
403662011-05-23 Andreas Schwab <schwab@redhat.com>
40367
40368 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40369 parameter name.
40370 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40371 Add parameter name.
40372 (__sysconf): Pass it down.
40373
de7ce8f1
UD
403742011-05-22 Ulrich Drepper <drepper@gmail.com>
40375
f2962a71
UD
40376 [BZ #12671]
40377 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40378 some situations.
40379 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40380 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40381 add in in __libc_use_alloca calls. Adjust callers.
40382 (glob): Use malloc in some situations.
40383
de7ce8f1
UD
40384 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40385 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40386 pltexit.
40387
aec84f53
UD
403882011-05-21 Ulrich Drepper <drepper@gmail.com>
40389
05bb4a68
UD
40390 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40391 and CLOCK_BOOTTIME_ALARM.
40392
7ea72f99
UD
40393 [BZ #12782]
40394 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40395 is returned.
40396
7e4afad5
UD
40397 * string/_strerror.c (__strerror_r): Print negative errors as signed
40398 numbers.
40399
8e211fec
UD
40400 [BZ #12777]
40401 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40402 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40403 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40404
f7d82dc9
UD
40405 * configure.in: Fix typo in redirection and correct removal of test
40406 files in two cases.
40407
cc9e536d
UD
40408 [BZ #12788]
40409 * locale/setlocale.c (new_composite_name): Fix test to check for
40410 identical name of all categories.
40411
aec84f53
UD
40412 [BZ #12792]
40413 * libio/filedoalloc.c (local_isatty): New function.
40414 (_IO_file_doallocate): Use local_isatty.
40415 * stdio-common/perror.c (perror): In case a new stream is used
40416 forward the stream error.
40417 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40418 error flag.
40419
78e64fdc
RT
404202011-05-20 Ulrich Drepper <drepper@gmail.com>
40421
34a9094f
UD
40422 [BZ #11869]
40423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40424 alloca.
40425 * include/alloca.h (extend_alloca_account): Define.
40426
78e64fdc
RT
40427 [BZ #11857]
40428 * posix/regex.h: Fix comments with documentation of user-accessible
40429 fields after compilation and describe correct free'ing of pattern
40430 after re_compile_pattern.
40431 Patch by Reuben Thomas <rrt@sc3d.org>.
40432
457bddfc
RA
404332011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40434
40435 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40436 and -mno-altivec to prevent the compiler from using Altivec and/or
40437 VSX instructions when the corresponding registers are not available.
40438
a4527b51
AS
404392011-05-19 Andreas Schwab <schwab@redhat.com>
40440
40441 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40442
ed690b2f
UD
404432011-05-19 Ulrich Drepper <drepper@gmail.com>
40444
40445 * libio/freopen.c (freopen): Use __dup2, not dup2.
40446 * libio/freopen64.c (freopen64): Likewise.
40447
8db73634
L
404482011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40449
40450 [BZ #12775]
40451 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40452 * math/Makefile (tests): Add test-powl.
40453 (CFLAGS-test-powl.c): Define.
40454 * math/test-powl.c: New file.
40455
0a197a9d
L
404562011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40457
40458 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40459
ee30c380
UD
404602011-05-17 Ulrich Drepper <drepper@gmail.com>
40461
40462 [BZ #11837]
40463 * iconvdata/gb18030.c: Update to GB18020-2005.
40464
6ce75379
UD
404652011-05-16 Ulrich Drepper <drepper@gmail.com>
40466
a4b89fd8
AR
40467 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40468 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40469 Patch by Aharon Robbins <arnold@skeeve.com>.
40470
ea389b12
UD
40471 [BZ #11892]
40472 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40473 on the stack.
40474
68a3f91f
UD
40475 [BZ #11895]
40476 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40477 through underflows.
40478
15cc7dd1
UD
40479 [BZ #12766]
40480 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40481 point to strings before performing equality test for error_one_per_line
40482 mode.
40483
f3799213
UD
40484 [BZ #11697]
40485 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40486
d79a9c94
UD
40487 [BZ #11820]
40488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40489 (struct user_fpregs_struct): Avoid __uint*_t types.
40490
56e5eb46
UD
40491 [BZ #6420]
40492 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40493 symbol info. Use it instead of calling _dl_addr locally.
40494 (lock_and_info): New function.
40495 (tr_freehook): Call lock_and_info and pass symbol info as additional
40496 parameter to tr_where.
40497 (tr_mallochook): Likewise.
40498 (tr_reallochook): Likewise.
40499 (tr_memalignhook): Likewise.
40500
6ce75379
UD
40501 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40502 used and couldn't be at all thread-safe.
40503
f8a3b5bf
UD
405042011-05-15 Ulrich Drepper <drepper@gmail.com>
40505
94b7cc37
UD
40506 * libio/freopen.c (freopen): Don't close old file descriptor
40507 before the new one is opened. Instead dup the new file descriptor
40508 to the old one after the new stream is created.
40509 * libio/freopen64.c (freopen64): Likewise.
40510 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40511 * libio/fileops.c (_IO_new_file_close_it): Handle new
40512 _IO_FLAGS2_NOCLOSE flag.
40513 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40514 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40515 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40516 _IO_FLAGS2_NOCLOSE flag.
40517 * include/unistd.h: Add hidden_proto for dup3.
40518 Define __have_dup3.
40519 * io/dup3.c: Define hidden symbol.
40520 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40521
bd25564e
UD
40522 [BZ #7101]
40523 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40524 when an incomplete long option is used.
40525 * posix/tst-getopt_long1.c: New file.
40526 * posix/Makefile (tests): Add tst-getopt_long1.
40527
c84cfef4
UD
40528 [BZ #10138]
40529 * scripts/config.guess: Update from autoconf-2.68.
40530 * scripts/config.sub: Likewise.
40531
3b85df27
UD
40532 [BZ #10157]
40533 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40534 tests into ...
40535 (has_cpuclock): ...this. New function.
40536 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40537 macro here based on has_cpuclock code.
40538
15a856b1
UD
40539 [BZ #10149]
40540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40541 First byte (not low byte) is now always NUL.
40542 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40543
05f399e6
UD
40544 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40545 Use non-cancelable interfaces.
40546
10a52685 40547 [BZ #9809]
94ecc67d
UD
40548 * locale/iso-639.def: Add entry for Sorani.
40549
f8a3b5bf
UD
40550 [BZ #11901]
40551 * include/stdlib.h: Move include protection to the right place.
40552 Define abort_msg_s. Declare __abort_msg with it.
40553 * stdlib/abort.c (__abort_msg): Adjust type.
40554 * assert/assert.c (__assert_fail_base): New function. Majority
40555 of code from __assert_fail. Allocate memory for __abort_msg with
40556 mmap.
40557 (__assert_fail): Now call __assert_fail_base.
40558 * assert/assert-perr.c: Remove bulk of implementation. Use
40559 __assert_fail_base.
40560 * include/assert.hL Declare __assert_fail_base.
40561 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40562 mmap.
40563 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40564
1af4e298
UD
405652011-05-14 Ulrich Drepper <drepper@gmail.com>
40566
f8a3b5bf 40567 [BZ #11952]
d26dfc60
MG
40568 [BZ #12453]
40569 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40570 until all modules are registered in the DTV.
40571 * elf/Makefile: Add rules to build and run tst-tls19.
40572 * elf/tst-tls19.c: New file.
40573 * elf/tst-tls19mod1.c: New file.
40574 * elf/tst-tls19mod2.c: New file.
40575 * elf/tst-tls19mod3.c: New file.
40576 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40577
2fc54d6f
UD
40578 [BZ #12083]
40579 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40580 correctly.
40581
98d76b46
UD
40582 [BZ #12601]
40583 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40584 two-byte sequence errors.
40585 * iconvdata/Makefile (tests): Add bug-iconv8.
40586 * iconvdata/bug-iconv8.c: New file.
40587
da3c19ef
UD
40588 [BZ #12626]
40589 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40590 buf2 definition.
40591
ca408c15
UD
40592 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40593
d6f67f7d
UD
40594 [BZ #12432]
40595 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40596 (dummy_getcfa): New function.
40597 (init): Get _Unwind_GetCFA address, use dummy if not found.
40598 (backtrace_helper): In recursion check, also check whether CFA changes.
40599 (__backtrace): Completely initialize arg.
40600
1af4e298 40601 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40602 storing incomplete byte sequence in state object. Avoid testing for
40603 guaranteed too small input if we know there is enough data available.
1af4e298 40604
da62f81b
AS
406052011-05-11 Andreas Schwab <schwab@redhat.com>
40606
40607 * Makeconfig (+link-pie): Indent.
40608 * Rules (binaries-pie): Define if $(have-fpie) and
40609 $(build-shared).
40610 (binaries-shared): Also filter out $(binaries-pie).
40611 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40612 * nscd/Makefile (others-pie): Add nscd.
40613 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40614 ($(objpfx)nscd): Remove command override.
40615 * login/Makefile (others-pie): Add pt_chown.
40616 ($(objpfx)pt_chown): Remove command override.
40617 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40618 remove command overrides.
40619
fcabc0f8
UD
406202011-05-13 Ulrich Drepper <drepper@gmail.com>
40621
20030ae6
UD
40622 * libio/tst_putwc.c: Fix error messages.
40623
fcabc0f8
UD
40624 [BZ #12724]
40625 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40626 currently writing and seek to current position when not.
40627 * libio/Makefile (tests): Add bug-fclose1.
40628 * libio/bug-fclose1.c: New file.
40629
320a5dc0
PB
406302011-05-12 Ulrich Drepper <drepper@gmail.com>
40631
40632 [BZ #12511]
40633 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40634 don't set DF_1_NODELETE here.
40635 (do_lookup_x): When entering new entry test for copy relocation
40636 and if necessary set DF_1_NODELETE flag.
40637 * elf/tst-unique4.cc: New file.
40638 * elf/tst-unique4.h: New file.
40639 * elf/tst-unique4lib.cc: New file.
40640 * elf/Makefile: Add rules to build and run tst-unique4.
40641 Patch by Piotr Bury <pbury@goahead.com>.
40642
22836f52
UD
406432011-05-11 Ulrich Drepper <drepper@gmail.com>
40644
f574184a
UD
40645 [BZ #12052]
40646 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40647
e1fb097f
UD
40648 [BZ #12625]
40649 * misc/mntent_r.c (addmntent): Flush the stream after the output
40650
22836f52
UD
40651 [BZ #12393]
40652 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40653 (is_trusted_path_normalize): Skip initial colon. Append slash
40654 to empty buffer. Duplicate is_trusted_path code but allow
40655 constructed patch to be prefix.
40656 (is_dst): Allow $ORIGIN followed by /.
40657 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40658 Correct testing of result of is_trusted_path_normalize
40659 (decompose_rpath): Fix warning.
40660
7b3b0b2a
UD
406612011-05-10 Ulrich Drepper <drepper@gmail.com>
40662
40663 [BZ #11257]
40664 * grp/initgroups.c (internal_getgrouplist): When we found the service
40665 list through the initgroups entry in nsswitch.conf do not always
40666 continue on a successful lookup. Don't always use the
eac80ce2 40667 __nss_group_database value if it is set.
7b3b0b2a
UD
40668 * nss/nsswitch.conf (initgroups): Change action for successful db
40669 lookup to continue for compatibility.
40670
2a81eaa5
UD
406712011-05-09 Ulrich Drepper <drepper@gmail.com>
40672
be97a69e
UD
40673 [BZ #11532]
40674 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40675 and CP774 modules.
40676 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40677 and CP774 modules.
40678 * iconvdata/tst-tables.sh: Likewise.
40679 * iconvdata/cp770.c: New file.
40680 * iconvdata/cp771.c: New file.
40681 * iconvdata/cp772.c: New file.
40682 * iconvdata/cp773.c: New file.
40683 * iconvdata/cp774.c: New file.
40684 * iconvdata/testdata/CP770: New file.
40685 * iconvdata/testdata/CP770..UTF8: New file.
40686 * iconvdata/testdata/CP771: New file.
40687 * iconvdata/testdata/CP771..UTF8: New file.
40688 * iconvdata/testdata/CP772: New file.
40689 * iconvdata/testdata/CP772..UTF8: New file.
40690 * iconvdata/testdata/CP773: New file.
40691 * iconvdata/testdata/CP773..UTF8: New file.
40692 * iconvdata/testdata/CP774: New file.
40693 * iconvdata/testdata/CP774..UTF8: New file.
40694
40695 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40696 END CHARMAP line.
40697 * iconvdata/gen-8bit-gap.sh: Likewise.
40698 * iconvdata/gen-8bit.sh: Likewise.
40699
c1e9e399
UD
40700 * locale/iso-639.def: Add ary entry.
40701
24c55fb3 40702 [BZ #11258]
96b4b1b0
UD
40703 * locale/C-translit.h.in: Add U20A1 transliteration.
40704
bdc2f971
KB
40705 [BZ #12178]
40706 * locale/iso-639.def: Add wae entry.
40707 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40708
2952b117
UD
40709 [BZ #12545]
40710 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40711 for n.
40712
2a81eaa5
UD
40713 [BZ #12711]
40714 * locale/C-translit.h.in: Add entry for U20B9.
40715 Patch by pravin.d.s@gmail.com.
40716
28377d1b
UD
407172011-05-08 Ulrich Drepper <drepper@gmail.com>
40718
7fb90fb8
UD
40719 [BZ #12713]
40720 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40721 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40722 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40723 in rtld. Use *stat64.
7fb90fb8 40724 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40725 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40726 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40727 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40728 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40729 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40730 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40731 __fstatat64 macros.
7fb90fb8
UD
40732 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40733 * dirent/rewinddir.c: Add libc_hidden_def.
40734 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40735 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40736
28377d1b
UD
40737 * include/dirent.h (__alloc_dir): Add flags parameter.
40738 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40739 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40740 __alloc_dir.
40741 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40742 from fdopendir if O_CLOEXEC is already set.
40743
66bdbaa4
AM
407442011-03-15 Alan Modra <amodra@gmail.com>
40745
40746 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40747 l_tls_firstbyte_offset non-zero. Save padding offset in
40748 l_tls_firstbyte_offset for later use.
40749 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40750 freeing static tls block.
40751
95721191
JN
407522011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40753
40754 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40755 where #ifdef was intended. The intent is to prevent ARG_MAX from
40756 being defined by the kernel headers.
40757
f87dfb1f
UD
407582011-05-07 Ulrich Drepper <drepper@gmail.com>
40759
40760 [BZ #12734]
40761 * resolv/resolv.h: Define RES_NOTLDQUERY.
40762 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40763 no-tld-query and set RES_NOTLDQUERY.
40764 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40765 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40766 modern BIND to search name as TLD unless forbidden.
40767
47c3cd7a
UD
407682011-05-07 Petr Baudis <pasky@suse.cz>
40769 Ulrich Drepper <drepper@gmail.com>
40770
40771 [BZ #12393]
40772 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40773 (is_trusted_path): ...to here.
c1e9ea35 40774 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40775 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40776 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40777
8a35c912
PP
407782011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40779
40780 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40781 __BEGIN/__END_DECLS.
40782
acd41f47
UD
407832011-05-06 Ulrich Drepper <drepper@gmail.com>
40784
40785 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40786 NSS_STATUS_NOTFOUND if no record was found.
40787
597df647
AS
407882011-05-05 Andreas Schwab <schwab@redhat.com>
40789
40790 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40791 (headers-not-in-tirpc): Remove rpc/netdb.h
40792 * resolv/netdb.h: Revert last change.
40793
b9af1301
PP
407942011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40795
40796 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40797 circular dependency between libgcc.a and libc.a.
40798
4e34d5f5
AS
407992011-05-05 Andreas Schwab <schwab@redhat.com>
40800
40801 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40802 * nis/Makefile: Don't install rpcsvc/*.
40803 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40804 instead of <rpc/types.h>.
40805 (MAXHOSTNAMELEN): Define.
40806
00ee369c
AS
408072011-05-03 Andreas Schwab <schwab@redhat.com>
40808
40809 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40810
0b592a30
MB
408112011-04-28 Maciej Babinski <mbabinski@google.com>
40812
40813 [BZ #12714]
40814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40815 gethostbyname4_r when IPv6 results are possible.
40816
6e04cbbe
UD
408172011-05-02 Ulrich Drepper <drepper@gmail.com>
40818
40819 [BZ #12723]
40820 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40821 _PC_PIPE_BUF handling.
40822
e4ecafe0
BH
408232011-04-30 Bruno Haible <bruno@clisp.org>
40824
40825 [BZ #12717]
40826 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40827 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40828 to 'int'.
40829 * inet/getnameinfo.c (getnameinfo): Likewise.
40830
125ee683
UD
408312011-04-29 Ulrich Drepper <drepper@gmail.com>
40832
40833 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40834 to groups setting in database lookup.
40835 * nss/nsswitch.conf: Add initgroups entry.
40836
b722481a
EB
408372011-04-22 Ulrich Drepper <drepper@gmail.com>
40838
40839 [BZ #12685]
40840 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40841 mode string.
40842 Patch by Eric Blake <eblake@redhat.com>.
40843
4df46dbd
L
408442011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40845
40846 * sunrpc/Makefile (need-export-routines): Add svc_run.
40847 (routines): Remove svc_run.
40848 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40849 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40850 * sunrpc/svc_run.c (svc_run): Likewise.
40851 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40852
e84142d2
UD
408532011-04-21 Ulrich Drepper <drepper@gmail.com>
40854
40855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40856 problem in reallocation in last patch.
40857
877175d8
UD
408582011-04-20 Ulrich Drepper <drepper@gmail.com>
40859
40860 * sunrpc/Makefile: Move inclusion of Rules.
40861
ab8eed78
UD
408622011-04-19 Ulrich Drepper <drepper@gmail.com>
40863
40864 * nss/nss_files/files-initgroups.c: New file.
40865 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40866 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40867 _nss_files_initgroups_dyn.
40868
e3d8f584
RS
408692011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40870
40871 * elf/elf.h (R_ARM_IRELATIVE): Define.
40872
af190f45
UD
408732011-04-19 Ulrich Drepper <drepper@gmail.com>
40874
40875 * po/ru.po: Update from translation team.
40876
53cf59ef
UD
408772011-04-17 Ulrich Drepper <drepper@gmail.com>
40878
40879 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40880 dependencies.
40881
4c559bcd
MF
408822011-02-06 Mike Frysinger <vapier@gentoo.org>
40883
40884 [BZ #12653]
40885 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40886 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40887 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40890
4420675c
AS
408912011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40892
40893 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40894 differing bytes.
40895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40897 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40898
75ea32ab
UD
408992011-04-17 Ulrich Drepper <drepper@gmail.com>
40900
40901 [BZ #12420]
40902 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40903 storing it.
40904 * stdlib/bug-getcontext.c: New file.
40905 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40906
27390476
AK
409072011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40908
40909 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40910 instructions into .machine "z9-109".
40911 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40912 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40913
10442705
AK
409142011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40915
40916 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40917 between environment variables and auxiliary vector.
40918
7b57bfe5
UD
409192011-04-16 Ulrich Drepper <drepper@gmail.com>
40920
40921 * Makefile: Add rules to build linkobj/libc.so.
40922 * include/libc-symbols.h: Define libc_hidden_nolink.
40923 * include/rpc/auth.h: Mark functions which are to be hidden.
40924 * include/rpc/auth_des.h: Likewise.
40925 * include/rpc/auth_unix.h: Likewise.
40926 * include/rpc/clnt.h: Likewise.
40927 * include/rpc/des_crypt.h: Likewise.
40928 * include/rpc/key_prot.h: Likewise.
40929 * include/rpc/pmap_clnt.h: Likewise.
40930 * include/rpc/pmap_prot.h: Likewise.
40931 * include/rpc/pmap_rmt.h: Likewise.
40932 * include/rpc/rpc_msg.h: Likewise.
40933 * include/rpc/svc.h: Likewise.
40934 * include/rpc/svc_auth.h: Likewise.
40935 * include/rpc/xdr.h: Likewise.
40936 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40937 * nss/Makefile: Likewise.
40938 * sunrpc/Makefile: Don't install headers. Build library with normal
40939 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40940 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40941 for the compat linking library. Remove use of INTDEF/INTUSE.
40942 * sunrpc/auth_none.c: Likewise.
40943 * sunrpc/auth_unix.c: Likewise.
40944 * sunrpc/authdes_prot.c: Likewise.
40945 * sunrpc/authuxprot.c: Likewise.
40946 * sunrpc/clnt_gen.c: Likewise.
40947 * sunrpc/clnt_perr.c: Likewise.
40948 * sunrpc/clnt_raw.c: Likewise.
40949 * sunrpc/clnt_simp.c: Likewise.
40950 * sunrpc/clnt_tcp.c: Likewise.
40951 * sunrpc/clnt_udp.c: Likewise.
40952 * sunrpc/clnt_unix.c: Likewise.
40953 * sunrpc/des_crypt.c: Likewise.
40954 * sunrpc/des_soft.c: Likewise.
40955 * sunrpc/get_myaddr.c: Likewise.
40956 * sunrpc/key_call.c: Likewise.
40957 * sunrpc/key_prot.c: Likewise.
40958 * sunrpc/netname.c: Likewise.
40959 * sunrpc/pm_getmaps.c: Likewise.
40960 * sunrpc/pm_getport.c: Likewise.
40961 * sunrpc/pmap_clnt.c: Likewise.
40962 * sunrpc/pmap_prot.c: Likewise.
40963 * sunrpc/pmap_prot2.c: Likewise.
40964 * sunrpc/pmap_rmt.c: Likewise.
40965 * sunrpc/publickey.c: Likewise.
40966 * sunrpc/rpc_cmsg.c: Likewise.
40967 * sunrpc/rpc_common.c: Likewise.
40968 * sunrpc/rpc_dtable.c: Likewise.
40969 * sunrpc/rpc_prot.c: Likewise.
40970 * sunrpc/rpc_thread.c: Likewise.
40971 * sunrpc/rtime.c: Likewise.
40972 * sunrpc/svc.c: Likewise.
40973 * sunrpc/svc_auth.c: Likewise.
40974 * sunrpc/svc_authux.c: Likewise.
40975 * sunrpc/svc_raw.c: Likewise.
40976 * sunrpc/svc_run.c: Likewise.
40977 * sunrpc/svc_simple.c: Likewise.
40978 * sunrpc/svc_tcp.c: Likewise.
40979 * sunrpc/svc_udp.c: Likewise.
40980 * sunrpc/svc_unix.c: Likewise.
40981 * sunrpc/svcauth_des.c: Likewise.
40982 * sunrpc/xcrypt.c: Likewise.
40983 * sunrpc/xdr.c: Likewise.
40984 * sunrpc/xdr_array.c: Likewise.
40985 * sunrpc/xdr_float.c: Likewise.
40986 * sunrpc/xdr_intXX_t.c: Likewise.
40987 * sunrpc/xdr_mem.c: Likewise.
40988 * sunrpc/xdr_rec.c: Likewise.
40989 * sunrpc/xdr_ref.c: Likewise.
40990 * sunrpc/xdr_sizeof.c: Likewise.
40991 * sunrpc/xdr_stdio.c: Likewise.
40992
e6c61494
UD
409932011-04-10 Ulrich Drepper <drepper@gmail.com>
40994
40995 [BZ #12650]
40996 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40997 * sysdeps/ia64/dl-tls.h: Likewise.
40998 * sysdeps/powerpc/dl-tls.h: Likewise.
40999 * sysdeps/s390/dl-tls.h: Likewise.
41000 * sysdeps/sh/dl-tls.h: Likewise.
41001 * sysdeps/sparc/dl-tls.h: Likewise.
41002 * sysdeps/x86_64/dl-tls.h: Likewise.
41003 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41004
34fe483e
AS
410052011-03-14 Andreas Schwab <schwab@redhat.com>
41006
41007 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41008 rpath element also skip the following colon.
41009 (expand_dynamic_string_token): Add is_path parameter and pass
41010 down to DL_DST_REQUIRED and _dl_dst_substitute.
41011 (decompose_rpath): Call expand_dynamic_string_token with
41012 non-zero is_path. Ignore empty rpaths.
41013 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41014 with zero is_path.
41015
f12a32e6
AS
410162011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41017
41018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41019 Make cancelable.
41020
38a7d692
UD
410212011-04-09 Ulrich Drepper <drepper@gmail.com>
41022
41023 [BZ #12655]
41024 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41025 Patch by Filipe David Manana <fdmanana@apache.org>.
41026
e451d22b
AS
410272011-04-07 Andreas Schwab <schwab@redhat.com>
41028
41029 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41030 Maintain aligned stack.
41031 (CHECK_RSP): Remove unused macro.
41032
dedc7c7b
UD
410332011-04-03 Ulrich Drepper <drepper@gmail.com>
41034
41035 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41036 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41037
94521213
UD
410382011-04-02 Ulrich Drepper <drepper@gmail.com>
41039
41040 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41041
8cb700c0 41042 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41043
0354e355
L
410442011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41045
41046 [BZ #12518]
41047 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41048 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41049 * sysdeps/x86_64/memmove.c: New file.
41050 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41051 (memcpy): Renamed to ...
41052 (__new_memcpy): This.
41053 (memcpy): Provide GLIBC_2_14 memcpy.
41054 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41055 (memcpy): Provide GLIBC_2_2_5 memcpy.
41056
8593482f
UD
410572011-04-01 Ulrich Drepper <drepper@gmail.com>
41058
41059 [BZ #12631]
41060 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41061
81a5726b
AS
410622011-03-30 Andreas Schwab <schwab@redhat.com>
41063
41064 * misc/syncfs.c: New file.
41065 * misc/Makefile (routines): Add syncfs.
41066 * posix/unistd.h: Declare syncfs.
41067 * sysdeps/unix/syscalls.list: Add syncfs.
41068
00e5419f
AS
410692011-04-01 Andreas Schwab <schwab@redhat.com>
41070
41071 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41072 open_by_handle_at.
41073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41076 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41078 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41080
748876bf
UD
410812011-04-01 Ulrich Drepper <drepper@gmail.com>
41082
658e451d
UD
41083 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41084 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41085 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41089 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41090
748876bf
UD
41091 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41092 sync_file_range.c with -fexceptions.
41093 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41094 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41095 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41096 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41097 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41098 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41100 sync_file_range as cancellation point
41101 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41102 now a wrapper around __call_sync_file_range with cancellation handling.
41103 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41104 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41105 function name to __call_sync_file_range.
41106 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41107 Add call_sync_file_range.
748876bf 41108
6e63d5e1
AS
411092011-04-01 Andreas Schwab <schwab@redhat.com>
41110
41111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41112 bits/timex.h.
6e63d5e1 41113
46998f74
UD
411142011-04-01 Ulrich Drepper <drepper@gmail.com>
41115
4c1423ed
UD
41116 * iconv/iconv.h: Fix typo in comment.
41117 * io/fcntl.h: Likewise.
41118 * libio/stdio.h: Likewise.
41119 * posix/spawn.h: Likewise.
41120 * posix/unistd.h: Likewise.
41121 * stdlib/stdlib.h: Likewise.
41122 * time/time.h: Likewise.
41123 * wcsmbs/wchar.h: Likewise.
41124
158648c0
UD
41125 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41126 open_by_handle): Add.
41127 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41128 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41129 Augment a few comments.
41130 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41135 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41136 open_by_handle.
41137
46998f74
UD
41138 * io/fcntl.h (AT_EMPTY_PATH): Define.
41139
83fe108b
UD
411402011-03-30 Ulrich Drepper <drepper@gmail.com>
41141
41142 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41143 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41144 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41145 to...
41146 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41147 * Versions.def: Add GLIBC_2.14.
41148 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41149 Export.
83fe108b 41150
bb242059
UD
411512011-03-22 Ulrich Drepper <drepper@gmail.com>
41152
41153 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41154 round counter.
41155 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41156
c97a1282
L
411572011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41158
41159 [BZ #12597]
41160 * string/test-strncmp.c (do_page_test): New function.
41161 (check2): Likewise.
41162 (test_main): Call check2.
41163 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41164
2a115601
UD
411652011-03-20 Ulrich Drepper <drepper@gmail.com>
41166
41167 [BZ #12587]
41168 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41169 Handle cache information in CPU leaf 4.
41170 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41171
8126d904
UD
411722011-03-18 Ulrich Drepper <drepper@gmail.com>
41173
042c49c6 41174 [BZ #12583]
8126d904
UD
41175 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41176 character representation.
41177 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41178
ccfe366e
RA
411792011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41180
41181 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41182 END(__isnan) to END(__isnanf) to match function entry point/label
41183 EALIGN(__isnanf,...).
41184
c6e13027
JJ
411852011-03-10 Jakub Jelinek <jakub@redhat.com>
41186
41187 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41188
33f85a3f
UD
411892011-03-10 Ulrich Drepper <drepper@gmail.com>
41190
028478fa
UD
41191 [BZ #12510]
41192 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41193 copy from the symbol referenced in the relocation to initialize the
41194 used variable.
41195 Patch by Piotr Bury <pbury@goahead.com>.
41196 * elf/Makefile: Add rules to build and tst-unique3.
41197 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41198 * elf/tst-unique3.cc: New file.
41199 * elf/tst-unique3.h: New file.
41200 * elf/tst-unique3lib.cc: New file.
41201 * elf/tst-unique3lib2.cc: New file.
41202
33f85a3f
UD
41203 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41204
03592fc7
MF
412052011-03-10 Mike Frysinger <vapier@gentoo.org>
41206
41207 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41208 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41209 to _start.
03592fc7 41210
6a5ee102
UD
412112011-03-06 Ulrich Drepper <drepper@gmail.com>
41212
41213 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41214 to-be-loaded object along a path to loader is ld.so.
41215
7e4ba49c
HJ
412162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41217 Ulrich Drepper <drepper@gmail.com>
41218
41219 * sysdeps/x86_64/memset.S: After aligning destination, code
41220 branches to different locations depending on the value of
41221 misalignment, when multiarch is enabled. Fix this.
41222
412232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41224
41225 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41226 Set _x86_64_preferred_memory_instruction for AMD processsors.
41227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41228 Set bit_Prefer_SSE_for_memop for AMD processors.
41229
13a804de
UD
412302011-03-04 Ulrich Drepper <drepper@gmail.com>
41231
41232 * libio/fmemopen.c (fmemopen): Optimize a bit.
41233
9d25c392
AS
412342011-03-03 Andreas Schwab <schwab@redhat.com>
41235
41236 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41237
a5543c6a
RM
412382011-03-03 Roland McGrath <roland@redhat.com>
41239
41240 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41241
012d35f7
DM
412422011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41243
7e4ba49c 41244 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41245 __bzero_ultra1 instead of __memset_ultra1.
41246
4bff6e01
AS
412472011-02-23 Andreas Schwab <schwab@redhat.com>
41248 Ulrich Drepper <drepper@gmail.com>
41249
41250 [BZ #12509]
41251 * include/link.h (struct link_map): Add l_orig_initfini.
41252 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41253 returning unsuccessfully.
41254 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41255 close of a file loaded at startup, restore the original l_initfini
41256 list.
41257 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41258 list, store the pointer.
41259 * elf/Makefile ($(objpfx)noload-mem): New rule.
41260 (noload-ENV): Define.
41261 (tests): Add $(objpfx)noload-mem.
41262 * elf/noload.c: Include <memcheck.h>.
41263 (main): Call mtrace. Close all opened handles.
41264
f2092faf
AS
412652011-02-17 Andreas Schwab <schwab@redhat.com>
41266
41267 [BZ #12454]
41268 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41269 dependencies are missing.
41270
6c8a2e88
ST
412712011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41272
f2092faf 41273 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41274 Hurd needs munmap.
41275 * sysdeps/mach/hurd/ifreq.h: New file.
41276
84a42118
PB
412772011-01-27 Petr Baudis <pasky@suse.cz>
41278 Ulrich Drepper <drepper@gmail.com>
41279
071f805e 41280 [BZ 12445]#
84a42118
PB
41281 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41282 to extend_alloca().
41283 * stdio-common/bug23.c: New file.
41284 * stdio-common/Makefile (tests): Add bug23.
41285
e23fe25b
AS
412862010-09-28 Andreas Schwab <schwab@redhat.com>
41287 Ulrich Drepper <drepper@gmail.com>
41288
41289 [BZ #12489]
41290 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41291 before performing relro protection. At old place add assertion
41292 to make sure nothing changed.
41293
d3f02e10
NS
412942011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41295 Glauber de Oliveira Costa <glommer@gmail.com>
41296
41297 * elf/elf.h: Add new ARM TLS relocs.
41298
d55fd7a5
RA
412992011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41300
41301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41302 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41303 cast from r3.
41304 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41305 'tests' variable.
41306 * sysdeps/wordsize-64/tst-writev.c: New file.
41307
2206397e
RA
413082011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41309
41310 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41311 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41312 insns in _dl_start to prevent a TOC reference before relocs are
41313 resolved.
41314
e9433893
UD
413152011-02-15 Ulrich Drepper <drepper@gmail.com>
41316
41317 [BZ #12469]
41318 * Makeconfig: Remove RANLIB definition.
41319 * Makerules: Don't use RANLIB.
41320 * aclocal.m4: Remove ranlib test.
41321 * configure.in: No need to check for ranlib.
41322 * elf/rtld-Rules: Don't use RANLIB.
41323
f75286c6
ST
413242011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41325
8e31c82d
ST
41326 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41327 protection macro.
41328 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41329 inclusion protection macro.
41330
f75286c6
ST
41331 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41332 SIGRTMIN and SIGRTMAX and print information in that case only when
41333 SIGRTMIN is defined.
41334
c1d0e639
JJ
413352011-02-11 Jakub Jelinek <jakub@redhat.com>
41336
41337 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41338 arginfo fn returning -1.
41339
41340 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41341 and thousands string is zero terminated.
41342
edf9294e
AS
413432011-02-03 Andreas Schwab <schwab@redhat.com>
41344
41345 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41346 sysdeps/unix/sysv/linux/bits/socket.h.
41347
2b7e92df
ST
413482011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41349
edf9294e
AS
41350 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41351 (__CPU_COUNT): Remove old macros.
41352 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41353 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41354 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41355 (__sched_cpualloc, __sched_cpufree): Add declarations.
41356
a4c7ea7b
UD
413572011-02-05 Ulrich Drepper <drepper@gmail.com>
41358
41359 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41360 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41361 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41362 (readdhstai): Return value of addhstaiX call.
41363 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41364 (addgrbyX): Return value returned by cache_addgr.
41365 (readdgrbyname): Return value returned by addgrbyX.
41366 (readdgrbygid): Likewise.
41367 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41368 (addpwbyX): Return value returned by cache_addpw.
41369 (readdpwbyname): Return value returned by addhstbyX.
41370 (readdpwbyuid): Likewise.
41371 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41372 (addservbyX): Return value returned by cache_addserv.
41373 (readdservbyname): Return value returned by addservbyX:
41374 (readdservbyport): Likewise.
41375 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41376 (addhstbyX): Return value returned by cache_addhst.
41377 (readdhstbyname): Return value returned by addhstbyX.
41378 (readdhstbyaddr): Likewise.
41379 (readdhstbynamev6): Likewise.
41380 (readdhstbyaddrv6): Likewise.
41381 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41382 (readdinitgroups): Return value returned by addinitgroupsX.
41383 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41384 (prune_cache): Keep track of timeout value of re-added entries.
41385 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41386 * nscd/nscd.h: Adjust prototypes of readd* functions.
41387
a0bf67cc
RM
413882011-02-04 Roland McGrath <roland@redhat.com>
41389
41390 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41391 (nis_stats): Likewise.
41392 * nis/nis_modify.c (nis_modify): Likewise.
41393 * nis/nis_remove.c (nis_remove): Likewise.
41394 * nis/nis_add.c (nis_add): Likewise.
41395
41396 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41397
41398 * posix/fnmatch_loop.c: Add some consts.
41399
41400 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41401
435b95eb
L
414022011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41403
41404 [BZ #12460]
41405 * config.make.in (config-cflags-novzeroupper): Define.
41406 * configure.in: Substitute libc_cv_cc_novzeroupper.
41407 * elf/Makefile (AVX-CFLAGS): Define.
41408 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41409 (CFLAGS-tst-auditmod4a.c): Likewise.
41410 (CFLAGS-tst-auditmod4b.c): Likewise.
41411 (CFLAGS-tst-auditmod6b.c): Likewise.
41412 (CFLAGS-tst-auditmod6c.c): Likewise.
41413 (CFLAGS-tst-auditmod7b.c): Likewise.
41414 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41415
8517b15e
UD
414162011-02-02 Ulrich Drepper <drepper@gmail.com>
41417
41418 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41419 function to the callback.
41420 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41421
10a656fe
AS
414222011-02-02 Andreas Schwab <schwab@redhat.com>
41423
41424 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41425 of errno.
41426
968dad0a
UD
414272011-01-19 Ulrich Drepper <drepper@gmail.com>
41428
9f94d2ea 41429 [BZ #11724]
968dad0a
UD
41430 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41431 of constructors.
41432 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41433 of destructors.
41434 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41435
41436 [BZ #11724]
41437 * elf/Makefile: Add rules to build and run new test.
41438 * elf/tst-initorder.c: New file.
41439 * elf/tst-initorder.exp: New file.
41440 * elf/tst-initordera1.c: New file.
41441 * elf/tst-initordera2.c: New file.
41442 * elf/tst-initordera3.c: New file.
41443 * elf/tst-initordera4.c: New file.
41444 * elf/tst-initorderb1.c: New file.
41445 * elf/tst-initorderb2.c: New file.
41446 * elf/tst-order-a1.c: New file.
41447 * elf/tst-order-a2.c: New file.
41448 * elf/tst-order-a3.c: New file.
41449 * elf/tst-order-a4.c: New file.
41450 * elf/tst-order-b1.c: New file.
41451 * elf/tst-order-b2.c: New file.
41452 * elf/tst-order-main.c: New file.
41453 New test case by George Gensure <werkt0@gmail.com>.
41454
86e92359
UD
414552010-10-01 Andreas Schwab <schwab@redhat.com>
41456
41457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41458 decoding ACE if AI_CANONIDN.
41459
5d5732b0
UD
414602011-01-18 Ulrich Drepper <drepper@gmail.com>
41461
41462 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41463
a77e8cbc
UD
414642011-01-17 Ulrich Drepper <drepper@gmail.com>
41465
6392473f
UD
41466 * version.h (RELEASE): Bump for 2.13 release.
41467 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41468
620a0529
UD
41469 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41470
18ba70a5
UD
41471 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41472 MADV_NOHUGEPAGE.
32465c3e
UD
41473 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41474 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41475 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41476 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41477 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41478 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41479
c0dafcf1
UD
41480 * posix/getconf.c: Update copyright year.
41481 * catgets/gencat.c: Likewise.
41482 * csu/version.c: Likewise.
41483 * debug/catchsegv.sh: Likewise.
41484 * debug/xtrace.sh: Likewise.
41485 * elf/ldconfig.c: Likewise.
41486 * elf/ldd.bash.in: Likewise.
41487 * elf/sprof.c (print_version): Likewise.
41488 * iconv/iconv_prog.c: Likewise.
41489 * iconv/iconvconfig.c: Likewise.
41490 * locale/programs/locale.c: Likewise.
41491 * locale/programs/localedef.c: Likewise.
41492 * malloc/memusage.sh: Likewise.
41493 * malloc/mtrace.pl: Likewise.
41494 * nscd/nscd.c (print_version): Likewise.
41495 * nss/getent.c: Likewise.
41496
a77e8cbc
UD
41497 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41498 PF_CAIF, and PF_ALG.
41499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41500
77e8bddf
AS
415012011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41502
1f20b93a
AS
41503 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41504 (modules-names): Use them.
41505 (ifunc-test-modules, ifunc-pie-tests): Define.
41506 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41507 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41508 (test-extras): Likewise.
41509 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41510 $(compile-command.c).
41511 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41512 (all-built-dso): Define.
41513 (check-textrel.out, check-execstack.out): Depend on it.
41514
77e8bddf
AS
41515 * configure.in: Don't override --enable-multi-arch.
41516
bc425b33
UD
415172011-01-15 Ulrich Drepper <drepper@gmail.com>
41518
41519 [BZ #6812]
41520 * nscd/hstcache.c (tryagain): Define.
41521 (cache_addhst): Return tryagain not notfound for temporary errors.
41522 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41523 failed.
41524
794c3ad3
UD
415252011-01-14 Ulrich Drepper <drepper@gmail.com>
41526
70181fdd
UD
41527 [BZ #10563]
41528 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41529 to make the syscall.
41530 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41531
794c3ad3
UD
41532 [BZ #12378]
41533 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41534 and fall back to matching as normal character if the string ends before
41535 the matching ']' is found. This is what POSIX requires.
41536 * posix/testfnm.c: Adjust test result.
41537 * posix/globtest.sh: Adjust test result. Add new test.
41538 * posix/tst-fnmatch.input: Likewise.
41539 * posix/tst-fnmatch2.c: Add new test.
41540
68dc9497
AS
415412010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41542
41543 * elf/Makefile (check-execstack): Revert last change. Depend on
41544 check-execstack.h.
41545 (check-execstack.h): New target.
41546 (generated): Add check-execstack.h.
41547 * elf/check-execstack.c: Include "check-execstack.h".
41548 (main): Revert last change.
41549 (handle_file): Return zero if GNU_STACK is absent and
41550 DEFAULT_STACK_PERMS doesn't include PF_X.
41551
451f001b
UD
415522011-01-13 Ulrich Drepper <drepper@gmail.com>
41553
cfa28e56
UD
41554 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41555 in child fails because the descriptor is already closed.
8cf8ce17
UD
41556 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41557 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41558 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41559
1086d70d
UD
41560 [BZ #12397]
41561 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41562 syscall.
41563
451f001b
UD
41564 [BZ #10484]
41565 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41566 temporary buffer used to handle multi lookups locally.
a85b5cb4 41567 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41568
08769175
UD
415692011-01-12 Ulrich Drepper <drepper@gmail.com>
41570
41571 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41572 loader is ld.so.
41573
5e49c52e
UD
415742011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41575
41576 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41577 alignment for SSE2.
41578
60522a5f
UD
415792011-01-12 Ulrich Drepper <drepper@gmail.com>
41580
41581 [BZ #12394]
41582 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41583 characters. When rounding increased number of integer digits recompute
41584 number of groups.
41585 * stdio-common/tst-grouping.c: New file.
41586 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41587
f257bbd7
UD
415882011-01-09 Ulrich Drepper <drepper@gmail.com>
41589
41590 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41591 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41592
41593 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41594 void.
41595 * bits/select.h: Likewise.
41596
fa9c15cb
UD
415972011-01-08 Ulrich Drepper <drepper@gmail.com>
41598
41599 * po/ja.po: Update from translation team.
41600
16c2895f
DM
416012011-01-04 David S. Miller <davem@sunset.davemloft.net>
41602
41603 [BZ #11155]
41604 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41605 implementation just like for lxstat, fxstatat, et al.
41606
2543fef2
JM
416072010-12-27 Jim Meyering <meyering@redhat.com>
41608
41609 [BZ #12348]
41610 * posix/regexec.c (build_trtable): Return failure indication upon
41611 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41612
98727dbe
UD
416132010-12-25 Ulrich Drepper <drepper@gmail.com>
41614
5bd6dc5c
UD
41615 [BZ #12201]
41616 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41617 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41618 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41619 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41620
97983464
UD
41621 [BZ #12207]
41622 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41623
98727dbe
UD
41624 [BZ #12204]
41625 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41626 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41627
4a531bb0
L
416282010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41629
41630 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41631 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41632 script has SORT_BY_INIT_PRIORITY.
41633 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41634 NO_CTORS_DTORS_SECTIONS is defined.
41635 * elf/soinit.c: Likewise.
41636 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41637 NO_CTORS_DTORS_SECTIONS is defined.
41638 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41639 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41640 * sysdeps/sh/init-first.c: Likewise.
41641 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41642
07eb4b71
UD
416432010-12-24 Ulrich Drepper <drepper@gmail.com>
41644
41645 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41646 always use the slow path.
41647
30950a5f
RA
416482010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41649
41650 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41651 similar rule which adds the sysdep directories to the header search in
41652 order to pick up the correct platform stackinfo.h.
41653 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41654 perform test if it is, otherwise return successfully without testing.
41655 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41656 DEFAULT_STACK_PERMS define in stackinfo.h.
41657 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41658 defined in stackinfo.h.
41659 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41660 DEFAULT_STACK_PERMS defined in stackinfo.h.
41661 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41662 * sysdeps/ia64/stackinfo.h: Likewise.
41663 * sysdeps/s390/stackinfo.h: Likewise.
41664 * sysdeps/sh/stackinfo.h: Likewise.
41665 * sysdeps/sparc/stackinfo.h: Likewise.
41666 * sysdeps/x86_64/stackinfo.h: Likewise.
41667 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41668 PF_X for powerpc64. Retain PF_X for powerpc32.
41669
db753e2c
UD
416702010-12-19 Ulrich Drepper <drepper@gmail.com>
41671
14b697f7
UD
41672 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41673 accurately.
db753e2c
UD
41674 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41675 GETDENTS_64BIT_ALIGNED.
41676
28300719
UD
416772010-12-14 Ulrich Drepper <dreper@gmail.com>
41678
14b697f7 41679 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41680
4f197237
AS
416812010-12-10 Andreas Schwab <schwab@redhat.com>
41682
dbb0472f
AS
41683 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41684 _GNU_SOURCE.
41685
4f197237
AS
41686 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41687 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41688 Remove __restrict.
41689 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41690 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41691
fb88ac72
UD
416922010-12-09 Ulrich Drepper <drepper@gmail.com>
41693
41694 [BZ #11655]
41695 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41696 are initialized.
41697
42acbb92
JJ
416982010-12-09 Jakub Jelinek <jakub@redhat.com>
41699
41700 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41701
c038d98d
UD
417022010-12-03 Ulrich Drepper <drepper@gmail.com>
41703
41704 * po/it.po: Update from translation team.
41705
3a4a2499
L
417062010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41707
41708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41709 unused codes.
41710
1e24cf6e
UD
417112010-11-30 Ulrich Drepper <drepper@gmail.com>
41712
41713 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41714
a7690819
AS
417152010-11-24 Andreas Schwab <schwab@redhat.com>
41716
41717 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41718 specially.
41719 (gaih_getanswer_slice): Likewise.
41720
3bf8d1b1
JJ
417212010-10-20 Jakub Jelinek <jakub@redhat.com>
41722
41723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41724
6db52fbb
PB
417252010-05-31 Petr Baudis <pasky@suse.cz>
41726
41727 [BZ #11149]
41728 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41729 silently even in the chroot mode.
41730
eaca7569
UD
417312010-11-22 Ulrich Drepper <drepper@gmail.com>
41732
41733 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41734 last patch a bit. Pretty printing
41735
3056dcdb
UD
417362010-05-31 Petr Baudis <pasky@suse.cz>
41737
41738 [BZ #10085]
41739 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41740 initialization of skip_initgroups_dyn.
41741
cf7c9078
UD
417422010-11-19 Ulrich Drepper <drepper@gmail.com>
41743
41744 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41745 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41746
a1fb5e3e
UD
417472010-11-16 Ulrich Drepper <drepper@gmail.com>
41748
41749 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41750
3540d66b
AS
417512010-11-11 Andreas Schwab <schwab@redhat.com>
41752
41753 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41754 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41755 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41756 ($(objpfx)tst-fnmatch-mem): New rule.
41757 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41758 * posix/tst-fnmatch.c (main): Call mtrace.
41759
13b69574
L
417602010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41761
41762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41763 Support Intel processor model 6 and model 0x2c.
41764
da93d214
LM
417652010-11-10 Luis Machado <luisgpm@br.ibm.com>
41766
41767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41768 signed comparison.
41769
8ca52c6e
L
417702010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41771
41772 [BZ #12205]
41773 * string/test-strncasecmp.c (check_result): New function.
41774 (do_one_test): Use it.
41775 (check1): New function.
41776 (test_main): Use it.
41777 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41778 Support strcasecmp and strncasecmp.
41779
69da074d
UD
417802010-11-08 Ulrich Drepper <drepper@gmail.com>
41781
41782 [BZ #12194]
41783 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41784 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41785
ff02d528
L
417862010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41787
41788 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41789 IFUNC support.
41790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41791 memset-x86-64.
41792 * sysdeps/x86_64/multiarch/bzero.S: New file.
41793 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41794 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41795 * sysdeps/x86_64/multiarch/memset.S: New file.
41796 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41798 Set bit_Prefer_SSE_for_memop for Intel processors.
41799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41800 Define.
41801 (index_Prefer_SSE_for_memop): Define.
41802 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41803
344d0b54
LM
418042010-11-04 Luis Machado <luisgpm@br.ibm.com>
41805
41806 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41807 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41808
c0dde15b
UD
418092010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41810
41811 [BZ #12191]
41812 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41813 (__x86_64_raw_data_cache_size_half): Likewise.
41814 (__x86_64_raw_shared_cache_size): Likewise.
41815 (__x86_64_raw_shared_cache_size_half): Likewise.
41816
41817 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41818 (__x86_64_raw_data_cache_size_half): Likewise.
41819 (__x86_64_raw_shared_cache_size): Likewise.
41820 (__x86_64_raw_shared_cache_size_half): Likewise.
41821 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41822 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41823 and __x86_64_raw_shared_cache_size_half. Round
41824 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41825 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41826 to multiple of 256 bytes.
41827
0e516e0e
MS
418282010-11-03 Ulrich Drepper <drepper@gmail.com>
41829
41830 [BZ #12167]
41831 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41832 of inacessible symlinks. Verify result of symlink before returning it.
41833 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41834 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41835
0e012e87
ER
418362010-10-28 Erich Ritz <erichritz@gmail.com>
41837
41838 * math/math.h (isinf): Fix typo in comment.
41839
de0ff7bc
UD
418402010-11-01 Ulrich Drepper <drepper@gmail.com>
41841
41842 * po/da.po: Update from translation team.
41843
fa41c84d
UD
418442010-10-26 Ulrich Drepper <drepper@gmail.com>
41845
41846 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41847 is added to the list.
41848
f0967738
AK
418492010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41850 Ulrich Drepper <drepper@gmail.com>
41851
41852 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41853 the global list here. Move code to...
41854 (_dl_add_to_namespace_list): ...here. New function.
41855 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41856 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41857 * elf/dl-load.c (lose): Don't remove the element from the list.
41858 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41859 (_dl_map_object): Likewise.
41860
418612010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41862
41863 [BZ #12159]
41864 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41865 into all bytes of SSE register.
41866 Patch by Richard Li <richardpku@gmail.com>.
41867
f0967738 418682010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41869
41870 [BZ #12140]
41871 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41872 perturbing.
41873
d0b9e94f
MB
418742010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41875
41876 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41877 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41878 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41879 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41881 submachine.
41882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41883
8e9f92e9
AS
418842010-10-22 Andreas Schwab <schwab@redhat.com>
41885
41886 * include/dlfcn.h (__RTLD_SECURE): Define.
41887 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41888 mode & __RTLD_SECURE instead.
41889 (open_path): Rename preloaded parameter to secure.
41890 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41891 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41892 * elf/dl-deps.c (openaux): Likewise.
41893 * elf/rtld.c (struct map_args): Remove is_preloaded.
41894 (map_doit): Don't use it.
41895 (dl_main): Likewise.
41896 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41897 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41898
bc96fbda
AS
418992010-09-09 Andreas Schwab <schwab@redhat.com>
41900
41901 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41902 (sysd-rules-targets): Remove duplicates.
41903 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41904 rtld-%.$o dependency.
41905
22cd1c9b
AS
419062010-10-18 Andreas Schwab <schwab@redhat.com>
41907
41908 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41909 _dl_map_object do it.
41910
18edac48
UD
419112010-10-19 Ulrich Drepper <drepper@gmail.com>
41912
41913 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41914 fast fma builtins, define the macros in the C99 standard.
41915 (FP_FAST_FMAF): Likewise.
41916 (FP_FAST_FMAL): Likewise.
41917 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41918
41919 * bits/mathdef.h: Update copyright year.
41920 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41921
d2050124
MM
419222010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41923
41924 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41925 builtins, define the macros in the C99 standard.
41926 (FP_FAST_FMAF): Likewise.
41927 (FP_FAST_FMAL): Likewise.
41928 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41929 multiply/add.
41930 (FP_FAST_FMAF): Likewise.
41931
475facd1
JJ
419322010-10-15 Jakub Jelinek <jakub@redhat.com>
41933
41934 [BZ #3268]
41935 * math/libm-test.inc (fma_test): Some new testcases.
41936 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41937 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41938 y and infinite z. Do multiplication by C already in long double.
41939 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41941 y and infinite z. Do bitwise or of inexact bit into u.d.
41942 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41943 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41944 * sysdeps/i386/fpu/s_fma.S: Removed.
41945 * sysdeps/i386/fpu/s_fmal.S: Removed.
41946
7c08a05c
JJ
419472010-10-16 Jakub Jelinek <jakub@redhat.com>
41948
41949 [BZ #3268]
41950 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41952 computation is not scheduled after fetestexcept. Fix value
41953 of minimum denormal long double.
41954
f3f7372d
JJ
419552010-10-14 Jakub Jelinek <jakub@redhat.com>
41956
41957 [BZ #3268]
41958 * math/libm-test.inc (fma_test): Add some more tests.
41959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41960 correctly.
41961
14d43591
AS
419622010-10-15 Andreas Schwab <schwab@redhat.com>
41963
41964 * scripts/data/localplt-s390-linux-gnu.data: New file.
41965 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41966
5e908464
JJ
419672010-10-13 Jakub Jelinek <jakub@redhat.com>
41968
41969 [BZ #3268]
41970 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41971 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41972 instead of dbl-64.
41973 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41974 inlines.
41975 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41977 if one of x and y is very large and the other is subnormal.
41978 * sysdeps/s390/fpu/s_fmaf.c: New file.
41979 * sysdeps/s390/fpu/s_fma.c: New file.
41980 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41981 * sysdeps/powerpc/fpu/s_fma.S: New file.
41982 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41983 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41984 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41985
419862010-10-12 Jakub Jelinek <jakub@redhat.com>
41987
41988 [BZ #3268]
41989 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41990 fma tests.
41991 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41992 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41993 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41994 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41995 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41996 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41997 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41998
b833d51f
UD
419992010-10-12 Ulrich Drepper <drepper@redhat.com>
42000
42001 [BZ #12078]
42002 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42003 * posix/bug-regex31.input: Add test case.
42004
1751705d
UD
420052010-10-11 Ulrich Drepper <drepper@gmail.com>
42006
e9b9cbf5
UD
42007 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42008 * posix/bug-regex31.input: New file.
42009
42010 [BZ #12078]
42011 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42012 (parse_sub_exp): Fix last change, use postorder.
42013
ef06edbe
UD
42014 * posix/bug-regex31.c: New file.
42015 * posix/Makefile: Add rules to build and run bug-regex31.
42016
a129c80d
UD
42017 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42018
42019 [BZ #12078]
42020 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42021
b76b818e
UD
42022 [BZ #12108]
42023 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42024 to have entries in sys_siglist.
42025
1751705d
UD
42026 [BZ #12093]
42027 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42028 be NULL.
42029
9ff8d36f
JJ
420302010-10-07 Jakub Jelinek <jakub@redhat.com>
42031
42032 [BZ #3268]
42033 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42034 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42035 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42036 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42037 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42038 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42039 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42040 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42041 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42042 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42043 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42044 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42045 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42046 * math/ftestexcept.c (fetestexcept): Likewise.
42047 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42048 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42049 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42050 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42051 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42052 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42053 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42054
af325969
UD
420552010-10-11 Ulrich Drepper <drepper@gmail.com>
42056
c579b202 42057 [BZ #12107]
af325969
UD
42058 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42059 newline.
42060
67a67b95
UD
420612010-10-06 Ulrich Drepper <drepper@gmail.com>
42062
42063 * string/bug-strstr1.c: New file.
42064 * string/Makefile: Add rules to build and run bug-strstr1.
42065
5fb308bc
EB
420662010-10-05 Eric Blake <eblake@redhat.com>
42067
42068 [BZ #12092]
42069 * string/str-two-way.h (two_way_long_needle): Always clear memory
42070 when skipping input due to the shift table.
42071
45db99c7
UD
420722010-10-03 Ulrich Drepper <drepper@gmail.com>
42073
3b111893
UD
42074 [BZ #12005]
42075 * malloc/mcheck.c: Handle large requests.
42076
45db99c7
UD
42077 [BZ #12077]
42078 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42079 for strncmp and strncasecmp.
42080 * string/stratcliff.c: Add tests for strcmp and strncmp.
42081 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42082
cf7a1eb8
NI
420832010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42084
42085 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42086 __set_fpscr.
42087
6484ba5e
AJ
420882010-09-30 Andreas Jaeger <aj@suse.de>
42089
42090 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42091 (CGROUP_SUPER_MAGIC): Define.
42092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42093 Handle btrfs and cgroup file systems.
42094 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42095 Likewise.
42096
91c42559
LM
420972010-09-27 Luis Machado <luisgpm@br.ibm.com>
42098
42099 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42100 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42101
87a97932
AK
421022010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42103
42104 [BZ #12067]
42105 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42106 trying to locate the ELF header.
42107
c21cc9bc
AS
421082010-09-27 Andreas Schwab <schwab@redhat.com>
42109
42110 [BZ #11611]
42111 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42112 Mask out sign-bit copies when constructing f_fsid.
42113
315970f6
PB
421142010-09-24 Petr Baudis <pasky@suse.cz>
42115
42116 * debug/stack_chk_fail_local.c: Add missing licence exception.
42117 * debug/warning-nop.c: Likewise.
42118
1ac7a2c7
JM
421192010-09-15 Joseph Myers <joseph@codesourcery.com>
42120
42121 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42122 implementing getdents64 using getdents syscall, set d_type if
42123 __ASSUME_GETDENTS32_D_TYPE.
42124
56801c50
AS
421252010-09-16 Andreas Schwab <schwab@redhat.com>
42126
42127 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42128 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42129
dda51327
UD
421302010-09-21 Ulrich Drepper <drepper@redhat.com>
42131
42132 [BZ #12037]
42133 * posix/unistd.h: Undo change of feature selection for ftruncate from
42134 2010-01-11.
42135
8ffcee4a
UD
421362010-09-20 Ulrich Drepper <drepper@redhat.com>
42137
a545ecd9 42138 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42139 detection.
42140
e24f0a8b
AS
421412010-09-20 Andreas Schwab <schwab@redhat.com>
42142
42143 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42144 fanotify_mark.
42145 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42146
7291c56f
AS
421472010-09-14 Andreas Schwab <schwab@redhat.com>
42148
42149 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42150 variables after CHECK_SP call.
42151 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42152
bc5fb037
AS
421532010-09-13 Andreas Schwab <schwab@redhat.com>
42154 Ulrich Drepper <drepper@redhat.com>
42155
42156 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42157 re-relocationg ld.so.
42158 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42159 _dl_init_paths call.
42160 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42161 here anymore.
42162
e66e7419
UD
421632010-09-14 Ulrich Drepper <drepper@redhat.com>
42164
42165 * resolv/res_init.c (__res_vinit): Count the default server we added.
42166
c044aa75
CLT
421672010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42168 Ulrich Drepper <drepper@redhat.com>
42169
42170 [BZ #11968]
42171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42172 (____longjmp_chk): Use %ebx for saving value across system call.
42173 Add unwind info.
42174
32cf4069
AS
421752010-09-06 Andreas Schwab <schwab@redhat.com>
42176
42177 * manual/Makefile: Don't mix pattern rules with normal rules.
42178
817328ee
AS
421792010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42180
42181 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42182 operation.
42183 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42184 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42185 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42186 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42187 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42188 Likewise.
42189
29fddf61
UD
421902010-09-04 Ulrich Drepper <drepper@redhat.com>
42191
42192 [BZ #11979]
42193 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42194 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42195
0959ffc9
UD
421962010-09-02 Ulrich Drepper <drepper@redhat.com>
42197
42198 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42199 * sysdeps/x86_64/addmul_1.S: Likewise.
42200 * sysdeps/x86_64/lshift.S: Likewise.
42201 * sysdeps/x86_64/mul_1.S: Likewise.
42202 * sysdeps/x86_64/rshift.S: Likewise.
42203 * sysdeps/x86_64/sub_n.S: Likewise.
42204 * sysdeps/x86_64/submul_1.S: Likewise.
42205
ece29840
ST
422062010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42207
0959ffc9
UD
42208 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42209 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42210 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42211 * bits/sched.h [__need_schedparam]
ece29840 42212 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42213 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42214 (__defined_schedparam): Define to 1.
ece29840
ST
42215 (__sched_param): New structure, identical to sched_param.
42216 (__need_schedparam): Undefine.
42217
e53a31fe
MF
422182010-08-31 Mike Frysinger <vapier@gentoo.org>
42219
fdc0c10d
MF
42220 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42221 (epoll_create1): Declare.
42222
e53a31fe
MF
42223 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42224
a726d796
AS
422252010-08-31 Andreas Schwab <schwab@redhat.com>
42226
42227 [BZ #7066]
42228 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42229 shifting retval into place.
42230
2f3e3dc7
UD
422312010-09-01 Ulrich Drepper <drepper@redhat.com>
42232
f2933da9
UD
42233 * nis/rpcsvc/nis.h: Update copyright notice.
42234 * nis/rpcsvc/nis.x: Likewise.
42235 * nis/rpcsvc/nis_callback.h: Likewise.
42236 * nis/rpcsvc/nis_callback.x: Likewise.
42237 * nis/rpcsvc/nis_object.x: Likewise.
42238 * nis/rpcsvc/nis_tags.h: Likewise.
42239 * nis/rpcsvc/yp.h: Likewise.
42240 * nis/rpcsvc/yp.x: Likewise.
42241 * nis/rpcsvc/ypupd.h: Likewise.
42242 * nis/yp_xdr.c: Likewise.
42243 * nis/ypupdate_xdr.c: Likewise.
42244
2f3e3dc7
UD
42245 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42246 mainly the body of pmap_getport. Add parameters to specify timeouts.
42247 (pmap_getport): Use __libc_rpc_getport.
42248 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42249 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42250 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42251
f3dcc2f9
AS
422522010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42253
42254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42255 fanotify_mark.
42256
6d34eb5b
RM
422572010-08-27 Roland McGrath <roland@redhat.com>
42258
42259 * sysdeps/i386/i686/multiarch/Makefile
42260 (CFLAGS-varshift.c): New variable.
42261
9ea3de11
UD
422622010-08-27 Ulrich Drepper <drepper@redhat.com>
42263
c96d23fc
UD
42264 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42265 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42266
9ea3de11
UD
42267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42268
42269 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42270
623aac7f
L
422712010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42272
42273 * sysdeps/x86_64/strlen.S: Unroll the loop.
42274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42275 strlen-sse2 strlen-sse2-bsf.
42276 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42277 __strlen_no_bsf if bit_Slow_BSF is set.
42278 (__strlen_sse42): Removed.
42279 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42280 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42281
8b2b7715
RM
422822010-08-25 Roland McGrath <roland@redhat.com>
42283
42284 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42285 * sysdeps/x86_64/multiarch/varshift.c: New file.
42286 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42287 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42288 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42289 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42290
e73015f2
L
422912010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42292
42293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42294 strlen-sse2 strlen-sse2-bsf.
42295 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42296 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42297 (__strlen_sse2): Removed.
42298 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42299 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42301 bit_Slow_BSF for Atom.
42302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42303 (index_Slow_BSF): Define.
42304 (HAS_SLOW_BSF): Define.
42305
df24a73e
UD
423062010-08-25 Ulrich Drepper <drepper@redhat.com>
42307
42308 [BZ #10851]
42309 * resolv/res_init.c (__res_vinit): When no server address at all
42310 is given default to loopback.
42311
f2ac4868
RM
423122010-08-24 Roland McGrath <roland@redhat.com>
42313
09055553
RM
42314 * configure.in: Remove config-name.h generation.
42315 * configure: Regenerated.
42316 * config-name.in: File removed.
42317 * scripts/config-uname.sh: New file.
42318 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42319 ($(objdir)config-name.h): New target.
42320
f2ac4868
RM
42321 * sunrpc/rpc_parse.h: Avoid nested comment.
42322
73f27d5e
RH
423232010-08-24 Richard Henderson <rth@redhat.com>
42324 Ulrich Drepper <drepper@redhat.com>
42325 H.J. Lu <hongjiu.lu@intel.com>
42326
42327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42329 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42330 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42331 _mm_alignr_epi8 with _mm_loadu_si128.
42332 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42333 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42334 (__m128i_shift_right): Removed.
42335 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42336 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42337 * sysdeps/x86_64/multiarch/varshift.h: New file.
42338 * sysdeps/x86_64/multiarch/varshift.S: New file.
42339
84b9230c
MF
423402010-08-21 Mike Frysinger <vapier@gentoo.org>
42341
42342 * configure.in: Move assembler checks to before sysdep dir checking.
42343
9bbd0ddc
PB
423442010-08-20 Petr Baudis <pasky@suse.cz>
42345
42346 * LICENSES: Sync the sunrpc license.
42347
9da4bb31
UD
423482010-08-19 Ulrich Drepper <drepper@redhat.com>
42349
a7ab6ec8
UD
42350 * sunrpc/auth_des.c: Update copyright notice once again.
42351 * sunrpc/auth_none.c: Likewise.
42352 * sunrpc/auth_unix.c: Likewise.
42353 * sunrpc/authdes_prot.c: Likewise.
42354 * sunrpc/authuxprot.c: Likewise.
42355 * sunrpc/bindrsvprt.c: Likewise.
42356 * sunrpc/clnt_gen.c: Likewise.
42357 * sunrpc/clnt_perr.c: Likewise.
42358 * sunrpc/clnt_raw.c: Likewise.
42359 * sunrpc/clnt_simp.c: Likewise.
42360 * sunrpc/clnt_tcp.c: Likewise.
42361 * sunrpc/clnt_udp.c: Likewise.
42362 * sunrpc/clnt_unix.c: Likewise.
42363 * sunrpc/des_crypt.c: Likewise.
42364 * sunrpc/des_soft.c: Likewise.
42365 * sunrpc/get_myaddr.c: Likewise.
42366 * sunrpc/getrpcport.c: Likewise.
42367 * sunrpc/key_call.c: Likewise.
42368 * sunrpc/key_prot.c: Likewise.
42369 * sunrpc/openchild.c: Likewise.
42370 * sunrpc/pm_getmaps.c: Likewise.
42371 * sunrpc/pm_getport.c: Likewise.
42372 * sunrpc/pmap_clnt.c: Likewise.
42373 * sunrpc/pmap_prot.c: Likewise.
42374 * sunrpc/pmap_prot2.c: Likewise.
42375 * sunrpc/pmap_rmt.c: Likewise.
42376 * sunrpc/rpc/auth.h: Likewise.
42377 * sunrpc/rpc/auth_unix.h: Likewise.
42378 * sunrpc/rpc/clnt.h: Likewise.
42379 * sunrpc/rpc/des_crypt.h: Likewise.
42380 * sunrpc/rpc/key_prot.h: Likewise.
42381 * sunrpc/rpc/netdb.h: Likewise.
42382 * sunrpc/rpc/pmap_clnt.h: Likewise.
42383 * sunrpc/rpc/pmap_prot.h: Likewise.
42384 * sunrpc/rpc/pmap_rmt.h: Likewise.
42385 * sunrpc/rpc/rpc.h: Likewise.
42386 * sunrpc/rpc/rpc_des.h: Likewise.
42387 * sunrpc/rpc/rpc_msg.h: Likewise.
42388 * sunrpc/rpc/svc.h: Likewise.
42389 * sunrpc/rpc/svc_auth.h: Likewise.
42390 * sunrpc/rpc/types.h: Likewise.
42391 * sunrpc/rpc/xdr.h: Likewise.
42392 * sunrpc/rpc_clntout.c: Likewise.
42393 * sunrpc/rpc_cmsg.c: Likewise.
42394 * sunrpc/rpc_common.c: Likewise.
42395 * sunrpc/rpc_cout.c: Likewise.
42396 * sunrpc/rpc_dtable.c: Likewise.
42397 * sunrpc/rpc_hout.c: Likewise.
42398 * sunrpc/rpc_main.c: Likewise.
42399 * sunrpc/rpc_parse.c: Likewise.
42400 * sunrpc/rpc_parse.h: Likewise.
42401 * sunrpc/rpc_prot.c: Likewise.
42402 * sunrpc/rpc_sample.c: Likewise.
42403 * sunrpc/rpc_scan.c: Likewise.
42404 * sunrpc/rpc_scan.h: Likewise.
42405 * sunrpc/rpc_svcout.c: Likewise.
42406 * sunrpc/rpc_tblout.c: Likewise.
42407 * sunrpc/rpc_util.c: Likewise.
42408 * sunrpc/rpc_util.h: Likewise.
42409 * sunrpc/rpcinfo.c: Likewise.
42410 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42411 * sunrpc/rpcsvc/key_prot.x: Likewise.
42412 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42413 * sunrpc/rpcsvc/mount.x: Likewise.
42414 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42415 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42416 * sunrpc/rpcsvc/rex.x: Likewise.
42417 * sunrpc/rpcsvc/rstat.x: Likewise.
42418 * sunrpc/rpcsvc/rusers.x: Likewise.
42419 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42420 * sunrpc/rpcsvc/spray.x: Likewise.
42421 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42422 * sunrpc/rtime.c: Likewise.
42423 * sunrpc/svc.c: Likewise.
42424 * sunrpc/svc_auth.c: Likewise.
42425 * sunrpc/svc_authux.c: Likewise.
42426 * sunrpc/svc_raw.c: Likewise.
42427 * sunrpc/svc_run.c: Likewise.
42428 * sunrpc/svc_simple.c: Likewise.
42429 * sunrpc/svc_tcp.c: Likewise.
42430 * sunrpc/svc_udp.c: Likewise.
42431 * sunrpc/svc_unix.c: Likewise.
42432 * sunrpc/svcauth_des.c: Likewise.
42433 * sunrpc/xcrypt.c: Likewise.
42434 * sunrpc/xdr.c: Likewise.
42435 * sunrpc/xdr_array.c: Likewise.
42436 * sunrpc/xdr_float.c: Likewise.
42437 * sunrpc/xdr_mem.c: Likewise.
42438 * sunrpc/xdr_rec.c: Likewise.
42439 * sunrpc/xdr_ref.c: Likewise.
42440 * sunrpc/xdr_sizeof.c: Likewise.
42441 * sunrpc/xdr_stdio.c: Likewise.
42442
9da4bb31
UD
42443 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42444 handling.
42445
bdaa77bc
AS
424462010-08-19 Andreas Schwab <schwab@redhat.com>
42447
42448 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42449
fe2f79db
LM
424502010-08-19 Luis Machado <luisgpm@br.ibm.com>
42451
42452 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42453 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42454 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42455 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42456 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42457 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42458 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42459 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42460 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42461 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42462 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42463 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42464 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42465 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42466
b9b42ee0
AB
424672010-07-26 Anton Blanchard <anton@samba.org>
42468
42469 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42470 * malloc/arena.c (heap_trim): Likewise.
42471
1c06ba31
UD
424722010-08-16 Ulrich Drepper <drepper@redhat.com>
42473
42474 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42475 here. Not...
42476 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42477 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42478
f8392f40
L
424792010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42480
42481 * sysdeps/i386/elf/Makefile: New file.
42482
3162f12e
AS
424832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42484
42485 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42486 from fanotify_init.
42487 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42489
28c90b2c
UD
424902010-08-15 Ulrich Drepper <drepper@redhat.com>
42491
42492 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42493 of strncasecmp_l.
1feccb6c 42494 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42495
ca6bb004
UD
424962010-08-14 Ulrich Drepper <drepper@redhat.com>
42497
e9f82e0d
UD
42498 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42499 strncase_l-nonascii.
42500 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42501 Add strncase_l-ssse3.
42502 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42503 * sysdeps/x86_64/strcmp.S: Likewise.
42504 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42505 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42506 * sysdeps/x86_64/strncase.S: New file.
42507 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42508 * sysdeps/x86_64/strncase_l.S: New file.
42509 * string/Makefile (strop-tests): Add strncasecmp.
42510 * string/test-strncasecmp.c: New file.
42511
42512 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42513 warning.
42514
ca6bb004
UD
42515 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42516 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42517
052fa7b3
AS
425182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42519
42520 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42521
962dba78
UD
425222010-08-12 Ulrich Drepper <drepper@redhat.com>
42523
42524 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42525 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42526 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42527
bebff237
AM
425282010-05-01 Alan Modra <amodra@gmail.com>
42529
42530 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42531 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42532 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42533 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42534 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42535 tidying. Don't tail-call __sigjmp_save for static lib.
42536 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42537 save location.
42538 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42539 (CALL_MCOUNT): Add eh info, and nop after bl.
42540 (TAIL_CALL_SYSCALL_ERROR): New macro.
42541 (PSEUDO_RET): Use it.
42542 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42543 Correct save location of integer regs and cr.
42544 (_dl_profile_resolve): Correct cr save location. Delete nops
42545 after bl when SHARED. Reduce cfi size a little by better
42546 placement of cfi directives.
42547 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42548 make a stack frame. Instead use parm save area as a temp.
42549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42550 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42552 Don't make a stack frame for parent, use parm save area.
42553 Increase child stack frame to 112 bytes. Don't save unused reg,
42554 and adjust reg usage. Set up cfi on error recovery and
42555 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42557 (__makecontext): Add dummy nop after jump to exit.
42558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42559 Use correct parm save area and cr save, reduce stack frame.
42560 Correct cfi for possible PSEUDO_RET frame setup.
42561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42562 Branch to local label emitted by PSEUDO_RET rather than
42563 __syscall_error.
42564
02637374
AS
425652010-08-12 Andreas Schwab <schwab@redhat.com>
42566
42567 [BZ #11904]
42568 * locale/programs/locale.c (print_assignment): New function.
42569 (show_locale_vars): Use it.
42570
c3e2f19b
UD
425712010-08-11 Ulrich Drepper <drepper@redhat.com>
42572
3cdaa6ad
UD
42573 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42574 field.
42575 (struct statfs64): Likewise.
42576 (_STATFS_F_FLAGS): Define.
42577 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42579 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42580 (ST_VALID): Define locally.
42581 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42582 __statvfs_getflags, use the provided value.
42583 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42584 __ASSUME_STATFS_F_FLAGS.
42585
754f7da3
UD
42586 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42587
10b3bedc
UD
42588 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42589 Add sys/fanotify.h.
42590 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42591 fanotify_mask for GLIBC_2.13.
42592 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42593 fanotify_init and fanotify_mark.
42594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42595 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42596
c08fb0d7
UD
42597 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42598 Add prlimit.
42599 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42600 prlimit64 for GLIBC_2.13.
42601 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42602 prlimit64.
42603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42604 syscall.
42605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42606 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42607 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42608 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42610 add prlimit alias.
42611 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42612
15bac72b
UD
42613 [BZ #11903]
42614 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42615 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42616
c3e2f19b
UD
42617 * nss/Makefile: Add rules to build and run tst-nss-test1.
42618 * shlib-versions: Add entry for libnss_test1.
42619 * nss/nss_test1.c: New file.
42620 * nss/tst-nss-test1.c: New file.
42621
42622 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42623 (__nss_configure_lookup): Set appropriate entry in
42624 __nss_configure_lookup to true.
42625 * nss/nsswitch.h: Define enum with indeces of databases in
42626 databases and __nss_database_custom arrays. Declare
42627 __nss_database_custom.
42628 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42629 to avoid using nscd when custom rules are installed.
42630 * nss/getXXbyYY_r.c: Likewise.
42631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42632
42633 * nss/nss_files/files-parse.c: Whitespace fixes.
42634
f15ce4d8
UD
426352010-08-09 Ulrich Drepper <drepper@redhat.com>
42636
42637 [BZ #11883]
42638 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42639 * posix/fnmatch_loop.c: Likewise.
42640
d22e4cc9
AK
426412010-07-17 Andi Kleen <ak@linux.intel.com>
42642
42643 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42644 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42645 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42646 * Versions.def [GLIBC_2.13]: Add.
42647
805bc17d
UD
426482010-08-06 Ulrich Drepper <drepper@redhat.com>
42649
42650 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42651 Also fail if tpwd after pwuid call is NULL.
42652
5a42321d
ST
426532010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42654
42655 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42656 when converting to ms.
42657
fd3ebeda
ST
426582010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42659
42660 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42661 EOPNOTSUPP errors with ENOTTY.
42662 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42663 EOPNOTSUPP errors with ENOTTY.
42664
73507d3a
UD
426652010-07-31 Ulrich Drepper <drepper@redhat.com>
42666
42667 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42668 Add strcasecmp_l-ssse3.
42669 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42670 strcasecmp.
42671 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42672 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42673 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42674
fe36dd02
UD
426752010-07-30 Ulrich Drepper <drepper@redhat.com>
42676
66f6765a
UD
42677 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42678
42e08a54
UD
42679 * string/Makefile (strop-tests): Add strcasecmp.
42680 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42681 strcasecmp_l-nonascii.
42682 (gen-as-const-headers): Add locale-defines.sym.
42683 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42684 * sysdeps/x86_64/strcasecmp.S: New file.
42685 * sysdeps/x86_64/strcasecmp_l.S: New file.
42686 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42687 * sysdeps/x86_64/locale-defines.sym: New file.
42688 * string/test-strcasecmp.c: New file.
42689
fe36dd02
UD
42690 * string/test-strcasestr.c: Test both ends of the range of characters.
42691 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42692
48cbc0d6
RM
426932010-07-29 Roland McGrath <roland@redhat.com>
42694
76e6d6bc 42695 [BZ #11856]
48cbc0d6
RM
42696 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42697
880113d9
UD
426982010-07-27 Ulrich Drepper <drepper@redhat.com>
42699
42700 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42701 for ld.so.
42702
deb9cabb
AS
427032010-07-27 Andreas Schwab <schwab@redhat.com>
42704
42705 * manual/memory.texi (Malloc Tunable Parameters): Document
42706 M_PERTURB.
42707
1c7570ff
RM
427082010-07-26 Roland McGrath <roland@redhat.com>
42709
42710 [BZ #11840]
42711 * configure.in (-fgnu89-inline check): Set and substitute
42712 gnu89_inline, not libc_cv_gnu89_inline.
42713 * configure: Regenerated.
42714 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42715
24fb0f88
UD
427162010-07-26 Ulrich Drepper <drepper@redhat.com>
42717
42718 * string/test-strnlen.c: New file.
42719 * string/Makefile (strop-tests): Add strnlen.
42720 * string/tester.c (test_strnlen): Add a few more test cases.
42721 * string/tst-strlen.c: Better error reporting.
42722
42723 * sysdeps/x86_64/strnlen.S: New file.
42724
8e96b93a
UD
427252010-07-24 Ulrich Drepper <drepper@redhat.com>
42726
42727 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42728 lower-latency instructions.
42729
dbc676d4
UD
427302010-07-23 Ulrich Drepper <drepper@redhat.com>
42731
42732 * string/test-strcasestr.c: New file.
42733 * string/test-strstr.c: New file.
42734 * string/Makefile (strop-tests): Add strstr and strcasestr.
42735 * string/str-two-way.h: Don't undefine MAX.
42736 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42737
f6a31e0e
AS
427382010-07-21 Andreas Schwab <schwab@redhat.com>
42739
42740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42741 strcasestr-nonascii.
42742 (CFLAGS-strcasestr-nonascii.c): Define.
42743 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42744 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42745 Remove unused attribute.
42746
5dbc3b6c
RM
427472010-07-20 Roland McGrath <roland@redhat.com>
42748
42749 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42750 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42751 ld.so.cache was broken. With it, there is no way to disable dsocaps
42752 like LD_HWCAP_MASK can disable hwcaps.
42753
23d101d8
EPM
427542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42755
42756 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42757
cc9f2e47
UD
427582010-07-16 Ulrich Drepper <drepper@redhat.com>
42759
42760 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42761 call in strcasestr.
42762 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42763 __strcasestr_sse42_nonascii.
42764 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42765 strcasestr-nonascii.c.
42766 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42767
77c1b069
LM
427682010-06-15 Luis Machado <luisgpm@br.ibm.com>
42769
42770 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42771 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42772 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42773 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42774
440566c3
UD
427752010-07-09 Ulrich Drepper <drepper@redhat.com>
42776
42777 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42778 fcntl.
42779
5be9d05d
AS
427802010-07-06 Andreas Schwab <schwab@redhat.com>
42781
c30b7ee2 42782 [BZ #11577]
5be9d05d
AS
42783 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42784 dl_signal_cerror.
42785
8a492a67
UD
427862010-07-06 Ulrich Drepper <drepper@redhat.com>
42787
42788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42789 _PC_PIPE_BUF using F_GETPIPE_SZ.
42790
713df3d5
RM
427912010-07-05 Roland McGrath <roland@redhat.com>
42792
42793 * manual/arith.texi (Rounding Functions): Fix rint description
42794 implicit in round description.
42795
702e8f14
UD
427962010-07-02 Ulrich Drepper <drepper@redhat.com>
42797
42798 * elf/Makefile: Fix linking for a few tests to make recent linker
42799 happy.
42800
52ed8be9
AS
428012010-06-30 Andreas Schwab <schwab@redhat.com>
42802
42803 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42804 $(common-objpfx)libc_nonshared.a.
42805
f47c9a11
LM
428062010-06-21 Luis Machado <luisgpm@br.ibm.com>
42807
42808 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42809 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42810 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42811 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42812 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42813 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42814 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42815 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42830 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42831 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42832 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42833 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42834 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42835 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42836 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42837 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42838 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42839 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42840 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42841 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42856
6fb8cbcb
L
428572010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42858
42859 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42860 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42861 * string/memmove.c (memmove): Renamed to ...
42862 (MEMMOVE): ...this. Default to memmove.
42863 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42864 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42865 (END_CHK): Define.
42866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42867 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42868 mempcpy-ssse3-back memmove-ssse3-back.
42869 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42870 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42871 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42872 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42873 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42874 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42875 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42876 * sysdeps/x86_64/multiarch/memmove.c: New file.
42877 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42878 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42879 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42880 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42881 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42883 Define.
42884 (index_Fast_Copy_Backward): Define.
42885 (HAS_ARCH_FEATURE): Define.
42886 (HAS_FAST_REP_STRING): Define.
42887 (HAS_FAST_COPY_BACKWARD): Define.
42888
4e733bac 428892010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42890
42891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42892 Restore proper fallback handling.
42893
63c4ed22
UD
428942010-06-19 Ulrich Drepper <drepper@redhat.com>
42895
ac2b484c
UD
42896 [BZ #11701]
42897 * posix/group_member.c (__group_member): Correct checking loop.
42898
63c4ed22
UD
42899 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42900 OOM in getpwuid_r correctly. Return error number when the caller
42901 should return, otherwise -1.
42902 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42903 call returning > 0 value.
42904 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42905
765ade4b
AS
429062010-06-07 Andreas Schwab <schwab@redhat.com>
42907
42908 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42909 libc_nonshared.a from targets in modules-names.
42910
80da2e09
KS
429112010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42912
42913 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42914 requires it.
42915
158db122
LM
429162010-06-10 Luis Machado <luisgpm@br.ibm.com>
42917
42918 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42919 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42920 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42921 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42922
caa78cf8
AS
429232010-06-02 Andreas Schwab <schwab@redhat.com>
42924
42925 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42926
b2ef2c01
UD
429272010-06-14 Ulrich Drepper <drepper@redhat.com>
42928
42929 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42930 and F_GETPIPE_SZ.
42931 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42932 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42936 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42937
fbd643b6
RM
429382010-06-14 Roland McGrath <roland@redhat.com>
42939
42940 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42941
f32f2869
JJ
429422010-06-07 Jakub Jelinek <jakub@redhat.com>
42943
42944 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42945 __REDIRECT followed by __THROW.
42946 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42947 * posix/getopt.h (getopt): Likewise.
42948
2a50c078
EPM
429492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42950
42951 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42952 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42953 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42954 in AT_FLAGS.
42955 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42956 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42957
eb5ad2eb
LM
429582010-05-28 Luis Machado <luisgpm@br.ibm.com>
42959
42960 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42961
3c88fe1e
L
429622010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42963
42964 [BZ #11640]
42965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42966 Properly check family and model.
42967
d2f73151
TY
429682010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42969
42970 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42971
ebd2e13d
LM
429722010-05-24 Luis Machado <luisgpm@br.ibm.com>
42973
42974 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42975
b32b8b45
UD
429762010-05-21 Ulrich Drepper <drepper@redhat.com>
42977
42978 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42979 symbol reference.
42980
9acbe24d
AS
429812010-05-19 Andreas Schwab <schwab@redhat.com>
42982
42983 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42984 symbol reference.
42985
f0ccf6ea
AS
429862010-05-21 Andreas Schwab <schwab@redhat.com>
42987
3d04ff3a
AS
42988 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42989 and internal_recvmmsg.
42990 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42991 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42992 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42993 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42994
f0ccf6ea
AS
42995 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42996 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42997 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42998
5b08ac57
AS
429992010-05-20 Andreas Schwab <schwab@redhat.com>
43000
43001 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43002
4828935d
LM
430032010-05-17 Luis Machado <luisgpm@br.ibm.com>
43004
43005 POWER7 optimizations.
43006 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43007 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43008
373d545e
UD
430092010-05-19 Ulrich Drepper <drepper@redhat.com>
43010
43011 * version.h: Update for 2.13 development version.
43012
21a2b1ae
AS
430132010-05-12 Andrew Stubbs <ams@codesourcery.com>
43014
43015 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43016 exceptions. Return 0.
43017
3f7dcb2b
RM
430182010-05-07 Roland McGrath <roland@redhat.com>
43019
43020 * elf/ldconfig.c (main): Add a const.
43021
5f24d53a 430222010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43023
a160f8d8
UD
43024 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43025 (args_options): Add no-idn option.
43026 (ahosts_keys_int): Add idn_flags to ai_flags.
43027 (parse_option): Handle 'i' option to clear idn_flags.
43028
5f24d53a
UD
43029 * malloc/malloc.c (_int_free): Possible race in the most recently
43030 added check. Only act on the data if no current modification
43031 happened.
265bb1ce
UD
43032
43033See ChangeLog.17 for earlier changes.
This page took 5.54893 seconds and 5 git commands to generate.