]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
malloc: Fix MALLOC_DEBUG -Wundef warning
[thirdparty/glibc.git] / ChangeLog
CommitLineData
439bda32
WN
12014-04-11 Will Newton <will.newton@linaro.org>
2
3 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4 to zero if it is not defined elsewhere. (mtrim): Test
5 the value of MALLOC_DEBUG with #if rather than #ifdef.
6
6a5d6ea1
TR
72014-04-10 Torvald Riegel <triegel@redhat.com>
8
9 * benchtests/pthread_once-inputs: New file.
10 * benchtests/pthread_once-source.c: New file.
11 * benchtests/README: Update documentation.
12
a4c75cfd
IZ
132014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14 H.J. Lu <hongjiu.lu@intel.com>
15
16 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18 * sysdeps/x86_64/configure: Regenerated.
19 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20 macro.
21 (REGISTER_SAVE_RAX): Likewise.
22 (REGISTER_SAVE_RCX): Likewise.
23 (REGISTER_SAVE_RDX): Likewise.
24 (REGISTER_SAVE_RSI): Likewise.
25 (REGISTER_SAVE_RDI): Likewise.
26 (REGISTER_SAVE_R8): Likewise.
27 (REGISTER_SAVE_R9): Likewise.
28 (REGISTER_SAVE_BND0): Likewise.
29 (REGISTER_SAVE_BND1): Likewise.
30 (REGISTER_SAVE_BND2): Likewise.
31 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
32 bound registers when calling _dl_fixup.
33
27822ce6
AZ
342014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
38 definition.
39 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
41 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
45 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46
a88ddc90
PTB
472014-04-09 Peter Brett <peter@peter-b.co.uk>
48
49 [BZ #15514]
50 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
51 pathconf(_PC_NAME_MAX).
52
01f8eac2
AZ
532014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54
55 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
56 Remove macro usage.
57 (__PTHREAD_SPINS): Move definition to ...
58 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
59 (__PTHREAD_SPINS): ... here.
60 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
61 (__PTHREAD_SPIN): Likewise.
62 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
63 (__PTHREAD_SPIN): Likewise.
64 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
65 (__PTHREAD_SPIN): Likewise.
66 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
67 (__PTHREAD_SPIN): Likewise.
68 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
69 (__PTHREAD_SPIN): Likewise.
70 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
71 (__PTHREAD_SPIN): Likewise.
72 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
73 (__PTHREAD_SPIN): Likewise.
74 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
75 (__PTHREAD_SPIN): Likewise.
76 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
77 (__PTHREAD_SPIN): Likewise.
78 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
79 (__PTHREAD_SPIN): Likewise.
80 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
81 (__PTHREAD_SPIN): Likewise.
82 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
83 (__PTHREAD_SPIN): Likewise.
84
de21c33c
AZ
852014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86
87 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
88 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
89 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
90 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
91 imply folder.
92 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
93 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
94 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
95 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
96 correct imply path.
97 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
98 strlen symbol for non multi-arch builds.
99 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
100 missing hidden_def and weak_alias.
101
862c472e
CD
1022014-04-08 Carlos O'Donell <carlos@redhat.com>
103
104 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
105
8667f90e
WN
1062014-04-07 Will Newton <will.newton@linaro.org>
107
108 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
109 and contents. [!_LIBC] Remove #ifndef and contents.
110 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
111 * string/memccpy.c (__memccpy): Use ANSI prototype.
112 * string/memfrob.c (memfrob): Likewise.
113 * string/strcoll.c (STRCOLL): Likewise.
114 * string/strlen.c (strlen): Likewise.
115 * string/strtok.c (STRTOK): Likewise.
116 * string/strcat.c: Remove unused #include of memcopy.h.
117 (strcat): Use ANSI prototype.
118 * string/strchr.c: Remove unused #include of memcopy.h.
119 (strchr): Use ANSI prototype.
120 * string/strcmp.c: Remove unused #include of memcopy.h.
121 (strcmp): Use ANSI prototype.
122 * string/strcpy.c: Remove unused #include of memcopy.h.
123 (strcpy): Use ANSI prototype.
124
7ffa9423
AZ
1252014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
126
127 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
128 * config.make.in (config-extra-cppflags): Set it from
129 libc_extra_cppflags.
130 * configure.ac (libc_extra_cflags): Make it accumulate over
131 configure fragments.
132 (libc_extra_cppflags): New flag.
133 * configure. Regenerate.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
135 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
136 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
138
8bd70862
AZ
1392014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140
141 [BZ #16815]
142 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
143 result for FE_DOWNWARD rounding mode.
144 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
145 Likewise.
146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
147
d42f3448
CM
1482014-04-04 Chris Metcalf <cmetcalf@tilera.com>
149
150 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
151 in function argument name.
152
1c21d115
DS
1532014-04-03 David Svoboda <svoboda@cert.org>
154
155 [BZ #5666]
156 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
157 explicitly.
158
fcccd512
RM
1592014-04-03 Roland McGrath <roland@hack.frob.com>
160
161 * elf/dl-unmap-segments.h: New file.
162 * sysdeps/generic/ldsodefs.h
163 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
164 * elf/dl-close.c: Include <dl-unmap-segments.h>.
165 * elf/dl-fptr.c: Likewise.
166 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
167 * sysdeps/aarch64/tlsdesc.c: Likewise.
168 * sysdeps/arm/tlsdesc.c: Likewise.
169 * sysdeps/i386/tlsdesc.c: Likewise.
170 * sysdeps/tile/dl-runtime.c: Likewise.
171 * sysdeps/x86_64/tlsdesc.c: Likewise.
172 * elf/dl-load.h: New file.
173 * elf/dl-load.c: Include it.
174 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
175 Macros moved to dl-load.h.
176 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
177 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
178 Use _dl_unmap_segments in place of __munmap.
179 Break out segment-mapping loop into ...
180 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
181
f6488e2b
WN
1822014-04-03 Will Newton <will.newton@linaro.org>
183
184 * elf/dl-lookup.c (do_lookup_x): Remove comment
185 referring to nested function and move variable
186 declarations down to before first use.
187
6f05bafe
JM
1882014-04-02 Joseph Myers <joseph@codesourcery.com>
189
a84e78c8
JM
190 [BZ #16799]
191 [BZ #16800]
192 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
193 with 0 numerator.
194 * math/s_catanf.c (__catanf): Likewise.
195 * math/s_catanh.c (__catanh): Likewise.
196 * math/s_catanhf.c (__catanhf): Likewise.
197 * math/s_catanhl.c (__catanhl): Likewise.
198 * math/s_catanl.c (__catanl): Likewise.
199 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
200 by positive zero when computing -Inf result.
201 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
202 (catanh_test): Likewise.
203 * sysdeps/i386/fpu/libm-test-ulps: Update.
204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
205
6f05bafe
JM
206 [BZ #16789]
207 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
208 instead of using underflowing value in computing result.
209 * math/s_clog10.c (__clog10): Likewise.
210 * math/s_clog10f.c (__clog10f): Likewise.
211 * math/s_clog10l.c (__clog10l): Likewise.
212 * math/s_clogf.c (__clogf): Likewise.
213 * math/s_clogl.c (__clogl): Likewise.
214 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
215 (clog10_test): Likewise.
216 * sysdeps/i386/fpu/libm-test-ulps: Update.
217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
218
b0abbc21
AM
2192014-04-02 Alan Modra <amodra@gmail.com>
220
221 [BZ #16739]
222 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
223 output when value is near a power of two. Use int64_t for lx and
224 remove casts. Use decimal rather than hex exponent constants.
225 Don't use long double multiplication when double will suffice.
226 * math/libm-test.inc (nextafter_test_data): Add tests.
227 * NEWS: Add 16739 and 16786 to bug list.
228
af6b1797
AM
2292014-04-02 Alan Modra <amodra@gmail.com>
230
231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
232
483818d7
AM
2332014-04-02 Alan Modra <amodra@gmail.com>
234
235 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
236
f6c55796
WN
2372014-04-01 Will Newton <will.newton@linaro.org>
238
239 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
240 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
241
13f7fe35
FW
2422014-04-01 Florian Weimer <fweimer@redhat.com>
243
244 [BZ #13347]
245 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
246 * nptl/tst-setuid2.c: New file.
247 * nptl/Makefile (xtests): Add tst-setuid2.
248
c859b32e
AM
2492014-04-01 Alan Modra <amodra@gmail.com>
250
251 [BZ #16786]
252 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
253
54fa2475
JM
2542014-03-31 Joseph Myers <joseph@codesourcery.com>
255
8795b4a4
JM
256 [BZ #6803]
257 [BZ #6804]
258 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
259 set errno as appropriate.
260 * math/w_scalbf.c (__scalbf): Likewise.
261 * math/w_scalbl.c (__scalbl): Likewise.
262 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
263 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
264 * math/libm-test.inc (scalb_test_data): Add errno expectations.
265 Add more NaN tests.
266
54fa2475
JM
267 [BZ #16349]
268 * math/w_atan2.c: Include <errno.h>.
269 (__atan2): Set errno for result underflowing to zero.
270 * math/w_atan2f.c: Include <errno.h>.
271 (__atan2f): Set errno for result underflowing to zero.
272 * math/w_atan2l.c: Include <errno.h>.
273 (__atan2l): Set errno for result underflowing to zero.
274 * math/auto-libm-test-in: Don't allow missing errno for some atan2
275 tests.
276 * math/auto-libm-test-out: Regenerated.
277
757d9dd5
AZ
2782014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
279
280 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
281 Encode instruction correctly in little endian.
282 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
283 Likewise.
284 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
285 Likewise.
286 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
287 Likewise.
288 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
289 Likewise.
290
d7a68734
JM
2912014-03-31 Joseph Myers <joseph@codesourcery.com>
292
47c5adeb
JM
293 [BZ #9894]
294 * sysdeps/unix/sysv/linux/kernel-features.h
295 [__sparc__ && !__arch64__ && !__sparc_v9__]
296 (__ASSUME_SET_ROBUST_LIST): Do not define.
297 [__sparc__ && !__arch64__ && !__sparc_v9__]
298 (__ASSUME_FUTEX_LOCK_PI): Likewise.
299 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
300 Likewise.
301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
302 (__ASSUME_FUTEX_LOCK_PI): Undefine.
303 (__ASSUME_REQUEUE_PI): Likewise.
304 (__ASSUME_SET_ROBUST_LIST): Likewise.
305 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
306 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
307 Undefine.
308 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
309 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
310 Likewise.
311 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
312 Likewise.
313 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
314 Likewise.
315 * sysdeps/unix/sysv/linux/mips/kernel-features.h
316 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
317 Undefine.
318 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
319 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
320 Likewise.
321
d7a68734
JM
322 [BZ #16648]
323 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
324 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
325 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
326
c760f5c2
WN
3272014-03-31 Will Newton <will.newton@linaro.org>
328
329 * benchtests/Makefile (bench): Add ffs and ffsll to list
330 of tests.
331 * benchtests/ffs-inputs: New file.
332 * benchtests/ffsll-inputs: Likewise.
333
ea6029b1
JM
3342014-03-29 Joseph Myers <joseph@codesourcery.com>
335
336 [BZ #16770]
337 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
338 too large before casting to int.
339 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
340 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
341 * math/libm-test.inc (scalb_test_data): Add more tests.
342
cf806aff
SP
3432014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
344
56737508
SP
345 * benchtests/Makefile (DETAILED_OPT): New make option.
346 (bench-func): Run benchmark program with -d if DETAILED_OPT is
347 set.
348 * benchtests/bench-skeleton.c: Include stdbool.h.
349 (main): Store and print timings per input.
350 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
351 member to each argument value.
352 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
353 (_print_arg_data): Initialize per-input timing to 0.
354
cb5e4aad
SP
355 * benchtests/Makefile (timing-type): New binary.
356 (bench-clean): Also remove bench-timing-type.
357 (bench): New target for timing-type.
358 (bench-func): Print output in JSON format.
359 * benchtests/bench-skeleton.c (main): Print output in JSON
360 format.
361 * benchtests/bench-timing-type.c: New file.
362 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
363 (TIMING_PRINT_STATS): Remove.
364 * benchtests/scripts/bench.py (_print_arg_data): Store variant
365 name separately.
366
cf806aff
SP
367 * benchtests/bench-modf.c: Remove.
368 * benchtests/modf-inputs: New inputs file.
369
289e0779
JM
3702014-03-28 Joseph Myers <joseph@codesourcery.com>
371
372 [BZ #16362]
373 * math/s_clog10.c (M_PI_LOG10E): New macro.
374 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
375 imaginary parts are 0.
376 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
377 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
378 imaginary parts are 0.
379 * math/s_clog10l.c (M_PI_LOG10El): New macro.
380 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
381 imaginary parts are 0.
382 * math/libm-test.inc (clog10_test_data): Update expected results
383 for when real and imaginary parts are 0.
384
277ae3f1
PP
3852014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
386
387 * elf/dl-load.c: Finish conversion of __builtin_expect into
388 __glibc_{un}likely.
389
03a7091f
JM
3902014-03-27 Joseph Myers <joseph@codesourcery.com>
391
392 [BZ #16348]
393 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
394 1+x for argument with exponent below -67.
395 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
396 Likewise.
397 * math/auto-libm-test-in: Add more tests of exp.
398 * math/auto-libm-test-out: Regenerated.
399
ea7d8b95
SP
4002014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
401
dd3022d7
SP
402 [BZ #16759]
403 * inet/getnetgrent_r.c (get_nonempty_val): New function.
404 (nscd_getnetgrent): Use it.
405
ea7d8b95
SP
406 [BZ #16760]
407 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
408 of stpcpy.
409
df5b85da
AK
4102014-03-27 Andi Kleen <ak@linux.intel.com>
411
412 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
413 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
414 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
415 Remove out of line section. Use cfi intrinsics.
416 (LLL_STUB_UNWIND_INFO*): Remove.
417 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
418 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
419 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
420 Remove out of line section. Use cfi intrinsics.
421 (LLL_STUB_UNWIND_INFO*): Remove.
422
fbd6b5a4
SP
4232014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
424
425 [BZ #16758]
426 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
427 blank values.
428
1b26b855
PP
4292014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
430
431 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
432
9be36fb8
JM
4332014-03-26 Joseph Myers <joseph@codesourcery.com>
434
435 [BZ #16198]
436 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
437 fnstenv.
438 * math/test-fenv-preserve.c: New file.
439 * math/Makefile (tests): Add test-fenv-preserve.
440
60a2f3c1
WN
4412014-03-26 Will Newton <will.newton@linaro.org>
442
443 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
444
a5e5f1e2
RM
4452014-03-25 Roland McGrath <roland@hack.frob.com>
446
447 * scripts/versionlist.awk: Partition the version sets and emit all
448 GLIBC_* (sorted) before all others (sorted).
449
00f4012a
JM
4502014-03-25 Joseph Myers <joseph@codesourcery.com>
451
452 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
453 GLIBC_2.2.5 version.
454
7bc5a741
AZ
4552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456
457 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
458 calls.
459
7578473b
AZ
4602014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
461
462 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
463 previous change.
464
f3f1dab3
AZ
4652014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
466
467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
468
6da36183
AS
4692014-03-25 Andreas Schwab <schwab@suse.de>
470
471 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
472 label to be used after in6ailist is initialized.
473
f3f1dab3 4742014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 475
7578473b 476 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
477 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
478
046651c1
JM
4792014-03-25 Joseph Myers <joseph@codesourcery.com>
480
481 [BZ #16357]
482 [BZ #16599]
483 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
484 min_plus_half.
485 (fp_formats): Update initializers.
486 (init_fp_formats): Initialize new field.
487 (output_for_one_input_case): Allow underflow for results up to
488 min_plus_half.
489 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
490 * math/auto-libm-test-in: Don't mark some underflows from asin and
491 atanh as spurious.
492 * math/auto-libm-test-out: Regenerated.
493 * sysdeps/i386/fpu/libm-test-ulps: Update.
494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
495
003e49ed
AS
4962014-03-25 Andreas Schwab <schwab@suse.de>
497
498 * libio/Makefile (tst-ftell-partial-wide-ENV)
499 (tst-ftell-active-handler-ENV): Define.
500
de031874
SL
5012014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
502
503 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
504
55a81e3b
PP
5052014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
506
507 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
508
f3426898
JM
5092014-03-24 Joseph Myers <joseph@codesourcery.com>
510
511 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
512 * sysdeps/x86_64/fpu/multiarch/e_exp.c
513 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
514
a42faf59
PP
5152014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
516
517 [BZ #16634]
a42faf59 518 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
519 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
520 (open_path): Change from boolean 'secure' to complete flag 'mode'
521 (_dl_map_object): Adjust.
a42faf59
PP
522 * elf/Makefile (tests): Add tst-dlopen-aout.
523 * elf/tst-dlopen-aout.c: New test.
524
50936127
SL
5252014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
526
527 [BZ #16714]
528 * sysdeps/unix/sysv/linux/s390/bits/stat.h
529 (struct stat): Rename member pad0 to __glibc_reserved0.
530
26011b5c
SL
5312014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
532
533 [BZ #16712]
534 * sysdeps/s390/s390-32/bits/wordsize.h
535 (__WORDSIZE32_SIZE_ULONG): New define.
536 * sysdeps/s390/s390-64/bits/wordsize.h
537 (__WORDSIZE32_SIZE_ULONG): Likewise.
538 * sysdeps/generic/stdint.h (SIZE_MAX):
539 Define as UL if __WORDSIZE32_SIZE_ULONG.
540
a2d86bf1
SL
5412014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
542
543 [BZ #16713]
544 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
545 (__glibc_reserved0): New variable.
546 (sa_flags): Change type to int.
547
78b6eebc
SL
5482014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
549
550 * posix/Makefile (before-compile): Use += before-compile instead
551 of a :=.
552
f1399b5a
SL
5532014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
554
555 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
556 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
557
a071766e
AS
5582014-03-20 Andreas Schwab <schwab@suse.de>
559
560 [BZ #16743]
561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
562 non-matching result from nscd.
563
27c673b8
SP
5642014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
565
566 * scripts/bench.py: Moved to ...
567 * benchtests/scripts/bench.py: ... here.
568 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
569
44152e4b
AS
5702014-03-24 Andreas Schwab <schwab@suse.de>
571
572 [BZ #16002]
573 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
574 alloca_account and account alloca use for struct in6ailist.
575
b376a11a
JM
5762014-03-24 Joseph Myers <joseph@codesourcery.com>
577
578 [BZ #16284]
579 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
580 rounding mode to recompute results that overflow to infinity or
581 underflow to zero.
582 * math/auto-libm-test-in: Don't mark tests as expected to fail for
583 bug 16284.
584 * math/auto-libm-test-out: Regenerated.
585 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
586 (ccosh_test): Likewise.
587 (csin_test_data): Use plus_oflow.
588 (csin_test): Use ALL_RM_TEST.
589 (csinh_test_data): Use plus_oflow.
590 (csinh_test): Use ALL_RM_TEST.
591 * sysdeps/i386/fpu/libm-test-ulps: Update.
592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
593
f7be7376
JM
5942014-03-21 Joseph Myers <joseph@codesourcery.com>
595
1ca2d03e
JM
596 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
597 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
598 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
599
f7be7376
JM
600 [BZ #16731]
601 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
602 when x - 1 is zero.
603 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
604 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
605 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
606 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
607 argument is 1.
608 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
609 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
610 zero.
611 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
612 * sysdeps/i386/fpu/libm-test-ulps: Update.
613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
614
fdf4534d
SP
6152014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
616
df26ea53
SP
617 * scripts/bench.pl: Remove file.
618 * scripts/bench.py: New benchmark script.
619 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
620 * benchtests/README: Mention python dependency.
621 * scripts/pylintrc: New file.
622 * scripts/pylint: New file.
623
fdf4534d
SP
624 * bits/mathdef.h: Use #ifdef instead of #if.
625 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
626 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
627 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
628 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
629 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
630 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
631
6f23d093
AZ
6322014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
633 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
634
635 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
637 and strpbrk-ppc64 objects.
638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
639 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
640 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
641 multiarch strpbrk for POWER7.
642 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
643 multiarch strpbrk for PPC64.
644 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
645 ifunc selector.
646 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
647 strpbrk for POWER7.
648
8c92dfff
JM
6492014-03-20 Joseph Myers <joseph@codesourcery.com>
650
651 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
652 (atan_test): Likewise.
653 (atanh_test_data): Use NO_TEST_INLINE for two tests.
654 (atanh_test): Use ALL_RM_TEST.
655 (atan2_test_data): Likewise.
656 (cabs_test): Likewise.
657 (cacosh_test): Likewise.
658 (carg_test): Likewise.
659 (casin_test): Likewise.
660 (casinh_test): Likewise.
661 (cbrt_test): Likewise.
662 (csqrt_test): Likewise.
663 (erf_test): Likewise.
664 (erfc_test): Likewise.
665 (pow10_test): Likewise.
666 (exp2_test): Likewise.
667 (hypot_test): Likewise.
668 (j0_test): Likewise.
669 (j1_test): Likewise.
670 (lgamma_test): Likewise.
671 (gamma_test): Likewise.
672 (sincos_test): Likewise.
673 (tanh_test): Likewise.
674 (y0_test): Likewise.
675 (y1_test): Likewise.
676 * sysdeps/i386/fpu/libm-test-ulps: Update.
677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
678
6eaf95cb
AZ
6792014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
680
a387428c
SP
681 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
683 and strcspn-ppc64 objects.
684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
685 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
686 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
687 multiarch strcspn for POWER7.
688 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
689 multiarch strcspn for PPC64.
690 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
691 ifunc selector.
692 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
693 strcspn for POWER7.
694
ae3a5dff
JM
6952014-03-20 Joseph Myers <joseph@codesourcery.com>
696
697 * math/gen-libm-test.pl (generate_testfile): Expect only function
698 name as argument to AUTO_TESTS_* and pass results for all rounding
699 modes to parse_args.
700 (parse_auto_input): Separate inputs of automatic tests from
701 outputs before storing in %auto_tests.
702 * math/libm-test.inc (acos_test_data): Update call to
703 AUTO_TESTS_f_f.
704 (acos_test): Use ALL_RM_TEST.
705 (acos_tonearest_test_data): Remove.
706 (acos_test_tonearest): Likewise.
707 (acos_towardzero_test_data): Likewise.
708 (acos_test_towardzero): Likewise.
709 (acos_downward_test_data): Likewise.
710 (acos_test_downward): Likewise.
711 (acos_upward_test_data): Likewise.
712 (acos_test_upward): Likewise.
713 (acosh_test_data): Update call to AUTO_TESTS_f_f.
714 (asin_test_data): Likewise.
715 (asin_test): Use ALL_RM_TEST.
716 (asin_tonearest_test_data): Remove.
717 (asin_test_tonearest): Likewise.
718 (asin_towardzero_test_data): Likewise.
719 (asin_test_towardzero): Likewise.
720 (asin_downward_test_data): Likewise.
721 (asin_test_downward): Likewise.
722 (asin_upward_test_data): Likewise.
723 (asin_test_upward): Likewise.
724 (asinh_test_data): Update call to AUTO_TESTS_f_f.
725 (atan_test_data): Likewise.
726 (atanh_test_data): Likewise.
727 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
728 (cabs_test_data): Update call to AUTO_TESTS_c_f.
729 (carg_test_data): Likewise.
730 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
731 (ccos_test_data): Update call to AUTO_TESTS_c_c.
732 (ccosh_test_data): Likewise.
733 (cexp_test_data): Likewise.
734 (clog_test_data): Likewise.
735 (clog10_test_data): Likewise.
736 (cos_test_data): Update call to AUTO_TESTS_f_f.
737 (cos_test): Use ALL_RM_TEST.
738 (cos_tonearest_test_data): Remove.
739 (cos_test_tonearest): Likewise.
740 (cos_towardzero_test_data): Likewise.
741 (cos_test_towardzero): Likewise.
742 (cos_downward_test_data): Likewise.
743 (cos_test_downward): Likewise.
744 (cos_upward_test_data): Likewise.
745 (cos_test_upward): Likewise.
746 (cosh_test_data): Update call to AUTO_TESTS_f_f.
747 (cosh_test): Use ALL_RM_TEST.
748 (cosh_tonearest_test_data): Remove.
749 (cosh_test_tonearest): Likewise.
750 (cosh_towardzero_test_data): Likewise.
751 (cosh_test_towardzero): Likewise.
752 (cosh_downward_test_data): Likewise.
753 (cosh_test_downward): Likewise.
754 (cosh_upward_test_data): Likewise.
755 (cosh_test_upward): Likewise.
756 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
757 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
758 (ctan_test_data): Likewise.
759 (ctan_test): Use ALL_RM_TEST.
760 (ctan_tonearest_test_data): Remove.
761 (ctan_test_tonearest): Likewise.
762 (ctan_towardzero_test_data): Likewise.
763 (ctan_test_towardzero): Likewise.
764 (ctan_downward_test_data): Likewise.
765 (ctan_test_downward): Likewise.
766 (ctan_upward_test_data): Likewise.
767 (ctan_test_upward): Likewise.
768 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
769 (ctanh_test): Use ALL_RM_TEST.
770 (ctanh_tonearest_test_data): Remove.
771 (ctanh_test_tonearest): Likewise.
772 (ctanh_towardzero_test_data): Likewise.
773 (ctanh_test_towardzero): Likewise.
774 (ctanh_downward_test_data): Likewise.
775 (ctanh_test_downward): Likewise.
776 (ctanh_upward_test_data): Likewise.
777 (ctanh_test_upward): Likewise.
778 (erf_test_data): Update call to AUTO_TESTS_f_f.
779 (erfc_test_data): Likewise.
780 (exp_test_data): Likewise.
781 (exp_test): Use ALL_RM_TEST.
782 (exp_tonearest_test_data): Remove.
783 (exp_test_tonearest): Likewise.
784 (exp_towardzero_test_data): Likewise.
785 (exp_test_towardzero): Likewise.
786 (exp_downward_test_data): Likewise.
787 (exp_test_downward): Likewise.
788 (exp_upward_test_data): Likewise.
789 (exp_test_upward): Likewise.
790 (exp10_test_data): Update call to AUTO_TESTS_f_f.
791 (exp10_test): Use ALL_RM_TEST.
792 (exp10_tonearest_test_data): Remove.
793 (exp10_test_tonearest): Likewise.
794 (exp10_towardzero_test_data): Likewise.
795 (exp10_test_towardzero): Likewise.
796 (exp10_downward_test_data): Likewise.
797 (exp10_test_downward): Likewise.
798 (exp10_upward_test_data): Likewise.
799 (exp10_test_upward): Likewise.
800 (exp2_test_data): Update call to AUTO_TESTS_f_f.
801 (expm1_test_data): Likewise.
802 (expm1_test): Use ALL_RM_TEST.
803 (expm1_tonearest_test_data): Remove.
804 (expm1_test_tonearest): Likewise.
805 (expm1_towardzero_test_data): Likewise.
806 (expm1_test_towardzero): Likewise.
807 (expm1_downward_test_data): Likewise.
808 (expm1_test_downward): Likewise.
809 (expm1_upward_test_data): Likewise.
810 (expm1_test_upward): Likewise.
811 (fma_test_data): Update call to AUTO_TESTS_fff_f.
812 (fma_test): Use ALL_RM_TEST.
813 (fma_towardzero_test_data): Remove.
814 (fma_test_towardzero): Likewise.
815 (fma_downward_test_data): Likewise.
816 (fma_test_downward): Likewise.
817 (fma_upward_test_data): Likewise.
818 (fma_test_upward): Likewise.
819 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
820 (j0_test_data): Update call to AUTO_TESTS_f_f.
821 (j1_test_data): Likewise.
822 (jn_test_data): Update call to AUTO_TESTS_if_f.
823 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
824 (log_test_data): Update call to AUTO_TESTS_f_f.
825 (log10_test_data): Likewise.
826 (log1p_test_data): Likewise.
827 (log2_test_data): Likewise.
828 (pow_test_data): Update call to AUTO_TESTS_ff_f.
829 (pow_tonearest_test_data): Likewise.
830 (sin_test_data): Update call to AUTO_TESTS_f_f.
831 (sin_test): Use ALL_RM_TEST.
832 (sin_tonearest_test_data): Remove.
833 (sin_test_tonearest): Likewise.
834 (sin_towardzero_test_data): Likewise.
835 (sin_test_towardzero): Likewise.
836 (sin_downward_test_data): Likewise.
837 (sin_test_downward): Likewise.
838 (sin_upward_test_data): Likewise.
839 (sin_test_upward): Likewise.
840 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
841 (sinh_test_data): Update call to AUTO_TESTS_f_f.
842 (sinh_test): Use ALL_RM_TEST.
843 (sinh_tonearest_test_data): Remove.
844 (sinh_test_tonearest): Likewise.
845 (sinh_towardzero_test_data): Likewise.
846 (sinh_test_towardzero): Likewise.
847 (sinh_downward_test_data): Likewise.
848 (sinh_test_downward): Likewise.
849 (sinh_upward_test_data): Likewise.
850 (sinh_test_upward): Likewise.
851 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
852 (sqrt_test): Use ALL_RM_TEST.
853 (sqrt_tonearest_test_data): Remove.
854 (sqrt_test_tonearest): Likewise.
855 (sqrt_towardzero_test_data): Likewise.
856 (sqrt_test_towardzero): Likewise.
857 (sqrt_downward_test_data): Likewise.
858 (sqrt_test_downward): Likewise.
859 (sqrt_upward_test_data): Likewise.
860 (sqrt_test_upward): Likewise.
861 (tan_test_data): Update call to AUTO_TESTS_f_f.
862 (tan_test): Use ALL_RM_TEST.
863 (tan_tonearest_test_data): Remove.
864 (tan_test_tonearest): Likewise.
865 (tan_towardzero_test_data): Likewise.
866 (tan_test_towardzero): Likewise.
867 (tan_downward_test_data): Likewise.
868 (tan_test_downward): Likewise.
869 (tan_upward_test_data): Likewise.
870 (tan_test_upward): Likewise.
871 (tanh_test_data): Update call to AUTO_TESTS_f_f.
872 (tgamma_test_data): Likewise.
873 (y0_test_data): Likewise.
874 (y1_test_data): Likewise.
875 (yn_test_data): Update call to AUTO_TESTS_if_f.
876 (main): Do not call removed functions.
877
d71aeee8
JM
8782014-03-19 Joseph Myers <joseph@codesourcery.com>
879
880 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
881 (ldexp_test_data): Remove.
882 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
883 scalbn_test_data.
884 (scalb_test): Use ALL_RM_TEST.
885
baaf1ded
AS
8862014-03-19 Andreas Schwab <schwab@suse.de>
887
888 * nscd/nscd.service: Also invalidate netgroup cache on reload.
889
b1115e91
JM
8902014-03-19 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #16649]
893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
894 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
895 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
896 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
897 (__ASSUME_PREADV): Undefine.
898 (__ASSUME_PWRITEV): Likewise.
899
0283ecca
RM
9002014-03-18 Roland McGrath <roland@hack.frob.com>
901
7d375303
RM
902 * bits/mman-linux.h: Add comment about non-Linux use.
903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
904 bits/mman-linux.h resting place.
905
0283ecca
RM
906 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
907 * bits/mman-linux.h: ... here.
908
aebe1003
AZ
9092014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
910
911 * conform/conformtest.pl: Add standard definition when calling C
912 preprocessor on data files.
913 (checknamespace): Remove unused variable.
914
b29b6bb8
JM
9152014-03-18 Joseph Myers <joseph@codesourcery.com>
916
917 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
918 minus_oflow, plus_uflow and minus_uflow in expected results.
919 * math/libm-test.inc (scalbn_test_data): Add more tests of
920 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
921 minus_uflow.
922 (scalbn_test): Use ALL_RM_TEST.
923 (scalbln_test_data): Add more tests of negative arguments. Use
924 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
925 (scalbln_test): Use ALL_RM_TEST.
926
c8f8fa15
RM
9272014-03-18 Roland McGrath <roland@hack.frob.com>
928
929 * scripts/abilist.awk: Ignore symbols marked with .hidden.
930
fede7a5f
WN
9312014-03-18 Will Newton <will.newton@linaro.org>
932
933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
934 inaccurate comment.
935
80cf0a58
JM
9362014-03-18 Joseph Myers <joseph@codesourcery.com>
937
938 * Makerules [!subdir] (check-abi): Exit with error status if a
939 test failed.
940
b3620862
JM
9412014-03-17 Joseph Myers <joseph@codesourcery.com>
942
943 * math/libm-test.inc (nearbyint_test_data): Include all tests used
944 for rint. Include results for all rounding modes.
945 (nearbyint_test): Use ALL_RM_TEST.
946 (rint_test_data): Include all tests used for nearbyint.
947
788bba36
WN
9482014-03-17 Will Newton <will.newton@linaro.org>
949
04ec140a
WN
950 * nptl/sysdeps/pthread/pthread.h: Revert previous
951 change.
952
7579d8d5
WN
953 * sysdeps/generic/ldsodefs.h: Revert previous
954 change.
955
c15cf13a
WN
956 * libio/genops.c: Revert previous change.
957 * libio/libioP.h: Likewise.
958 * stdio-common/vfprintf.c: Likewise.
959
d0ac1324
WN
960 * sysdeps/generic/math_private.h: Revert previous
961 change.
962
9290130a
WN
963 * sysdeps/generic/math_private.h: Check whether
964 HAVE_RM_CTX is defined with #ifdef rather
965 than #if.
966
afb466fc
WN
967 * argp/argp-fmtstream.h: Check whether
968 __STRICT_ANSI__ is defined with #ifdef rather
969 than #if.
970 * argp/argp.h: Likewise.
971
f7efd7c3
WN
972 * libio/genops.c: Check whether
973 _IO_JUMPS_OFFSET is defined with #ifdef rather
974 than #if.
975 * libio/libioP.h: Likewise.
976 * stdio-common/vfprintf.c: Likewise.
977
53f1bed3
WN
978 * sysdeps/generic/ldsodefs.h: Check whether
979 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
980 than #if.
981
788bba36
WN
982 * nptl/sysdeps/pthread/pthread.h: Check
983 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
984 its value.
985
fcd89ebe
SP
9862014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
987
ae42bbc5
SP
988 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
989 setting O_APPEND.
990 * libio/tst-ftell-active-handler.c (do_append_test): Add a
991 test case.
992
ea33158c
SP
993 [BZ #16680]
994 * libio/fileops.c (_IO_file_open): Seek to end of file but
995 don't cache the offset.
996 (get_file_offset): Remove function.
997 (do_ftell): Use cached offset when available.
998 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
999 don't cache the offset.
1000 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1001 case.
1002 (do_one_test): Call it.
1003 (do_ftell_test): Fix up expected old offset for a+ mode.
1004 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1005 available.
1006
b1dbb426
SP
1007 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1008 up test status with function return status.
1009 (do_write_test): Likewise.
1010 (do_append_test): Likewise.
1011
fcd89ebe
SP
1012 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1013 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1014 Remove.
1015
9962a2d3
JM
10162014-03-17 Joseph Myers <joseph@codesourcery.com>
1017
1018 * math/gen-libm-test.pl (parse_args): Handle results specified for
1019 each rounding mode separately.
1020 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1021 tests and results from lrint_tonearest_test_data,
1022 lrint_towardzero_test_data, lrint_downward_test_data and
1023 lrint_upward_test_data.
1024 (lrint_test): Use ALL_RM_TEST.
1025 (lrint_tonearest_test_data): Remove.
1026 (lrint_test_tonearest): Likewise.
1027 (lrint_towardzero_test_data): Likewise.
1028 (lrint_test_towardzero): Likewise.
1029 (lrint_downward_test_data): Likewise.
1030 (lrint_test_downward): Likewise.
1031 (lrint_upward_test_data): Likewise.
1032 (lrint_test_upward): Likewise.
1033 (llrint_test_data): Merge in per-rounding-mode tests and results
1034 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1035 llrint_downward_test_data and llrint_upward_test_data.
1036 (llrint_test): Use ALL_RM_TEST.
1037 (llrint_tonearest_test_data): Remove.
1038 (llrint_test_tonearest): Likewise.
1039 (llrint_towardzero_test_data): Likewise.
1040 (llrint_test_towardzero): Likewise.
1041 (llrint_downward_test_data): Likewise.
1042 (llrint_test_downward): Likewise.
1043 (llrint_upward_test_data): Likewise.
1044 (llrint_test_upward): Likewise.
1045 (rint_test_data): Merge in per-rounding-mode tests and results
1046 from rint_tonearest_test_data, rint_towardzero_test_data,
1047 rint_downward_test_data and rint_upward_test_data. Add
1048 per-rounding-mode results for tests not in those arrays.
1049 (rint_test): Use ALL_RM_TEST.
1050 (rint_tonearest_test_data): Remove.
1051 (rint_test_tonearest): Likewise.
1052 (rint_towardzero_test_data): Likewise.
1053 (rint_test_towardzero): Likewise.
1054 (rint_downward_test_data): Likewise.
1055 (rint_test_downward): Likewise.
1056 (rint_upward_test_data): Likewise.
1057 (rint_test_upward): Likewise.
1058 (main): Don't call removed functions.
1059
5006148e
RM
10602014-03-14 Roland McGrath <roland@hack.frob.com>
1061
1062 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1063 "Compiled on ..." crapola. It is anti-useful.
1064
d6fe5e58
JM
10652014-03-14 Joseph Myers <joseph@codesourcery.com>
1066
1067 * scripts/evaluate-test.sh: Handle fourth argument to determine
1068 whether test run should stop on failure.
1069 * Makeconfig (stop-on-test-failure): New variable.
1070 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1071 $(stop-on-test-failure).
1072 * Makefile (tests): Give a summary of results from testing and
1073 exit with failure status if they include an ERROR or FAIL.
1074 (xtests): Likewise.
1075 * manual/install.texi (Configuring and compiling): Mention
1076 stop-on-test-failure=y.
1077 * INSTALL: Regenerated.
1078
498a2233
RM
10792014-03-14 Roland McGrath <roland@hack.frob.com>
1080
22dbc19d
RM
1081 * scripts/versionlist.awk: New file.
1082 * Makerules [$(build-shared) = yes]
1083 (postclean-generated): Add Versions.def, not Versions.def.v and
1084 Versions.def.v.i.
1085 ($(common-objpfx)Versions.def.v.i): Target removed.
1086 ($(common-objpfx)Versions.def): New target.
1087 ($(common-objpfx)Versions.all): Depend on that rather that
1088 $(common-objpfx)Versions.def.v.
1089 * Versions.def: File removed.
1090
498a2233
RM
1091 * Makeconfig (+gccwarn): Add -Wundef.
1092 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1093 a dl-sysdep.h breaking its contract.
1094 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1095 * include/stackinfo.h: New file.
1096 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1097 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1098 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1099 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1100 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1101 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1102 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1103 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1104 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1105 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1106 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1107 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1108 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1109 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1110 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1111
c7de5025
AZ
11122014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1113
1114 [BZ #16707]
1115 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1116 implementation.
1117 * math/libm-test.inc (round_test_data): Add more tests.
1118
98fb27a3
AZ
11192014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120
1121 [BZ #16706]
1122 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1123 implementation.
1124 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1125
374f7f61
AZ
11262014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127
1128 [BZ #16701]
1129 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1130 implementation.
1131 * math/libm-test.inc (ceil_test_data): Add more tests.
1132
4655c291
AZ
11332014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134
1135 * math/libm-test.inc (trunc_test_data): Add more tests related to
1136 BZ#16414.
1137
d7329d4b
RM
11382014-03-14 Roland McGrath <roland@hack.frob.com>
1139
1140 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1141 with #if rather than #ifdef.
1142 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1143
aa4de9ce
L
11442014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1145
1146 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1147 first. Disable AVX-512 GCC support if assembler doesn't support
1148 it.
1149 * sysdeps/x86_64/configure: Regenerated.
1150
2e03fae7
CD
11512014-03-13 Carlos O'Donell <carlos@redhat.com>
1152
1153 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1154 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1155 (__old_pthread_attr_setstack): Likewise.
1156 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1157 [!_STACK_GROWS_DOWN]: Likewise.
1158
43ca83ec
MF
11592014-03-13 Mike Frysinger <vapier@gentoo.org>
1160
1161 * config.make.in (have-bash2): Delete.
1162 * configure.ac (libc_cv_have_bash2): Delete.
1163 * configure: Regenerate.
1164 * elf/Makefile (common-ldd-rewrite): Rename to ...
1165 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1166 (sh-ldd-rewrite): Delete.
1167 (bash-ldd-rewrite): Delete.
1168 (have-bash2): Delete checks.
1169 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1170
c66e48b4
MF
11712014-03-13 Mike Frysinger <vapier@gentoo.org>
1172
1173 * config.make.in (have-ksh): Delete.
1174 (KSH): Delete.
1175 * configure.ac (libc_cv_have_ksh): Delete.
1176 * configure: Regenerate.
1177
b93834ef
MF
11782014-03-13 Mike Frysinger <vapier@gentoo.org>
1179
1180 * elf/Makefile: Delete $(have-ksh) check.
1181 ($(objpfx)sotruss): Change KSH to BASH.
1182 * elf/sotruss.ksh: Rename to ...
1183 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1184 function style to match POSIX. Drop ksh vim mode setting.
1185
f3a4632a
MF
11862014-03-13 Mike Frysinger <vapier@gentoo.org>
1187
1188 * manual/time.texi (Specifying the Time Zone with TZ): Change
1189 Tuesday to Thursday.
1190
5896c8bd
MF
11912014-03-13 Mike Frysinger <vapier@gentoo.org>
1192
1193 * debug/tst-longjmp_chk2.c: Update header comment.
1194 (stackoverflow_handler): Add comment. Call assert on pass value.
1195
2d63a517
IZ
11962014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1197
1198 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1199 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1200 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1201 (La_x86_64_vector): Add zmm.
1202 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1203 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1204 ($(objpfx)tst-audit10): New target.
1205 ($(objpfx)tst-audit10.out): Likewise.
1206 (tst-audit10-ENV): New.
1207 (AVX512-CFLAGS): Likewise.
1208 (CFLAGS-tst-audit10.c): Likewise.
1209 (CFLAGS-tst-auditmod10a.c): Likewise.
1210 (CFLAGS-tst-auditmod10b.c): Likewise.
1211 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1212 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1213 * sysdeps/x86_64/configure: Regenerated.
1214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1215 AVX-512 zmm register support.
1216 (_dl_x86_64_save_sse): Likewise.
1217 (_dl_x86_64_restore_sse): Likewise.
1218 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1219 size vector registers.
1220 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1221 (ZMM_SIZE): Likewise.
1222 * sysdeps/x86_64/tst-audit10.c: New file.
1223 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1224 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1225
44c4e5d5
RM
12262014-03-13 Roland McGrath <roland@hack.frob.com>
1227
1228 * configure.ac (HAVE_EHDR_START): New check.
1229 * configure: Regenerated.
1230 * config.h.in (HAVE_EHDR_START): New #undef.
1231 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1232 assuming the lowest-addressed segment maps the start of the file.
1233
acd6e389
JM
12342014-03-13 Joseph Myers <joseph@codesourcery.com>
1235
1236 * INSTALL: Regenerated.
1237
6f918f36
WN
12382014-03-13 Will Newton <will.newton@linaro.org>
1239
1240 * manual/setjmp.texi (System V contexts): Improve
1241 clarity and grammar of documentation.
1242
798212a0
PP
12432014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1244
1245 [BZ #16381]
798212a0 1246 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1247 (tests-pie): Add tst-pie2.
798212a0
PP
1248 * elf/tst-pie2.c: New file.
1249 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1250 for ET_EXEC.
1251 * elf/rtld.c (map_doit): Load executable as lt_executable.
1252 (dl_main): Likewise.
1253
abe6d90c
JM
12542014-03-12 Joseph Myers <joseph@codesourcery.com>
1255
1256 [BZ #16642]
1257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1258 (__ASSUME_PSELECT): Undefine.
1259
dd3946c6
AZ
12602014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1261
1262 [BZ #16689]
1263 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1264 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1265 static build.
1266 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1267 selector for static builds.
1268
c44496df
SP
12692014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1270
1271 [BZ #16695]
1272 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1273 key in the buffer.
1274
27c7220a
AZ
12752014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1276
1277 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1278 selector for static builds.
1279
600fa361
JM
12802014-03-11 Joseph Myers <joseph@codesourcery.com>
1281
76c96cf7
JM
1282 * sysdeps/mips/math_private.h [__mips_hard_float]
1283 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1284 libc_feresetround_mips_ctx.
1285 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1286 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1287 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1288
600fa361
JM
1289 [BZ #16677]
1290 * math/s_nextafter.c (__nextafter): Do not return value from
1291 overflowing computation.
1292 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1293 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1295 Likewise.
1296 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1297 Likewise.
1298 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1299 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1300
d7706c32
RM
13012014-03-11 Roland McGrath <roland@hack.frob.com>
1302
1303 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1304 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1305 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1306 the new mov targetting sp.
1307
4facea47
AZ
13082014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1309
1310 [BZ #16683]
1311 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1312 Define it for static builds as well.
1313 (NO_BZERO_IMPL): Likewise.
1314
e65caf1f
VR
13152014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1316
1317 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1318 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1319 multiarch strspn for PPC64.
1320 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1321 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1323 (__libc_ifunc_impl_list): Likewise.
1324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1325 multiarch optimizations
1326 * string/strspn.c (strspn): Using macro to redefine symbol name.
1327
ba9cc071
AZ
13282014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1329 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1330
1331 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1332 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1333 multiarch strncat for PPC64.
1334 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1335 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1337 (__libc_ifunc_impl_list): Likewise.
1338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1339 multiarch optimizations
1340
8b4ff974
SP
13412014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1342
1343 [BZ #16639]
1344 * nscd/nscd.service: Make service type forking.
1345
54b46a4b
AZ
13462014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1349 sign in non default rounding modes.
1350 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1351
e9996ef7
JM
13522014-03-08 Joseph Myers <joseph@codesourcery.com>
1353
1354 * math/libm-test.inc (ALL_RM_TEST): New macro.
1355 (ceil_test): Use ALL_RM_TEST.
1356 (cimag_test): Likewise.
1357 (conj_test): Likewise.
1358 (copysign_test): Likewise.
1359 (cproj_test): Likewise.
1360 (creal_test): Likewise.
1361 (fabs_test): Likewise.
1362 (floor_test): Likewise.
1363 (fmax_test): Likewise.
1364 (fmin_test): Likewise.
1365 (fmod_test): Likewise.
1366 (fpclassify_test): Likewise.
1367 (frexp_test): Likewise.
1368 (ilogb_test): Likewise.
1369 (isfinite_test): Likewise.
1370 (finite_test): Likewise.
1371 (isgreater_test): Likewise.
1372 (isgreaterequal_test): Likewise.
1373 (isinf_test): Likewise.
1374 (isless_test): Likewise.
1375 (islessequal_test): Likewise.
1376 (islessgreater_test): Likewise.
1377 (isnan_test): Likewise.
1378 (isnormal_test): Likewise.
1379 (issignaling_test): Likewise.
1380 (isunordered_test): Likewise.
1381 (logb_test): Likewise.
1382 (logb_downward_test_data): Remove.
1383 (logb_test_downward): Likewise.
1384 (lround_test): Use ALL_RM_TEST.
1385 (llround_test): Likewise.
1386 (modf_test): Likewise.
1387 (nexttoward_test): Likewise.
1388 (remainder_test): Likewise.
1389 (drem_test): Likewise.
1390 (remainder_tonearest_test_data): Likewise.
1391 (remainder_test_tonearest): Likewise.
1392 (drem_test_tonearest): Likewise.
1393 (remainder_towardzero_test_data): Likewise.
1394 (remainder_test_towardzero): Likewise.
1395 (drem_test_towardzero): Likewise.
1396 (remainder_downward_test_data): Likewise.
1397 (remainder_test_downward): Likewise.
1398 (drem_test_downward): Likewise.
1399 (remainder_upward_test_data): Likewise.
1400 (remainder_test_upward): Likewise.
1401 (drem_test_upward): Likewise.
1402 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1403 (round_test): Use ALL_RM_TEST.
1404 (signbit_test): Likewise.
1405 (trunc_test): Likewise.
1406 (significand_test): Likewise.
1407 (main): Don't call removed functions.
1408
bc61d27c
JM
14092014-03-07 Joseph Myers <joseph@codesourcery.com>
1410
5c780849
JM
1411 [BZ #16674]
1412 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1413 || __USE_XOPEN2K8].
1414 (ILL_ILLOPN): Likewise.
1415 (ILL_ILLADR): Likewise.
1416 (ILL_ILLTRP): Likewise.
1417 (ILL_PRVOPC): Likewise.
1418 (ILL_PRVREG): Likewise.
1419 (ILL_COPROC): Likewise.
1420 (ILL_BADSTK): Likewise.
1421 (FPE_INTDIV): Likewise.
1422 (FPE_INTOVF): Likewise.
1423 (FPE_FLTDIV): Likewise.
1424 (FPE_FLTOVF): Likewise.
1425 (FPE_FLTUND): Likewise.
1426 (FPE_FLTRES): Likewise.
1427 (FPE_FLTINV): Likewise.
1428 (FPE_FLTSUB): Likewise.
1429 (SEGV_MAPERR): Likewise.
1430 (SEGV_ACCERR): Likewise.
1431 (BUS_ADRALN): Likewise.
1432 (BUS_ADRERR): Likewise.
1433 (BUS_OBJERR): Likewise.
1434 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1435 (TRAP_TRACE): Likewise.
1436 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1437 __USE_XOPEN2K8].
1438 (CLD_KILLED): Likewise.
1439 (CLD_DUMPED): Likewise.
1440 (CLD_TRAPPED): Likewise.
1441 (CLD_STOPPED): Likewise.
1442 (CLD_CONTINUED): Likewise.
1443 (POLL_IN): Likewise.
1444 (POLL_OUT): Likewise.
1445 (POLL_MSG): Likewise.
1446 (POLL_ERR): Likewise.
1447 (POLL_PRI): Likewise.
1448 (POLL_HUP): Likewise.
1449 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1450 Likewise.
1451 (ILL_ILLOPN): Likewise.
1452 (ILL_ILLADR): Likewise.
1453 (ILL_ILLTRP): Likewise.
1454 (ILL_PRVOPC): Likewise.
1455 (ILL_PRVREG): Likewise.
1456 (ILL_COPROC): Likewise.
1457 (ILL_BADSTK): Likewise.
1458 (FPE_INTDIV): Likewise.
1459 (FPE_INTOVF): Likewise.
1460 (FPE_FLTDIV): Likewise.
1461 (FPE_FLTOVF): Likewise.
1462 (FPE_FLTUND): Likewise.
1463 (FPE_FLTRES): Likewise.
1464 (FPE_FLTINV): Likewise.
1465 (FPE_FLTSUB): Likewise.
1466 (SEGV_MAPERR): Likewise.
1467 (SEGV_ACCERR): Likewise.
1468 (BUS_ADRALN): Likewise.
1469 (BUS_ADRERR): Likewise.
1470 (BUS_OBJERR): Likewise.
1471 (BUS_MCEERR_AR): Likewise.
1472 (BUS_MCEERR_AO): Likewise.
1473 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1474 (TRAP_TRACE): Likewise.
1475 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1476 __USE_XOPEN2K8].
1477 (CLD_KILLED): Likewise.
1478 (CLD_DUMPED): Likewise.
1479 (CLD_TRAPPED): Likewise.
1480 (CLD_STOPPED): Likewise.
1481 (CLD_CONTINUED): Likewise.
1482 (POLL_IN): Likewise.
1483 (POLL_OUT): Likewise.
1484 (POLL_MSG): Likewise.
1485 (POLL_ERR): Likewise.
1486 (POLL_PRI): Likewise.
1487 (POLL_HUP): Likewise.
1488 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1489 (ILL_ILLOPN): Likewise.
1490 (ILL_ILLADR): Likewise.
1491 (ILL_ILLTRP): Likewise.
1492 (ILL_PRVOPC): Likewise.
1493 (ILL_PRVREG): Likewise.
1494 (ILL_COPROC): Likewise.
1495 (ILL_BADSTK): Likewise.
1496 (FPE_INTDIV): Likewise.
1497 (FPE_INTOVF): Likewise.
1498 (FPE_FLTDIV): Likewise.
1499 (FPE_FLTOVF): Likewise.
1500 (FPE_FLTUND): Likewise.
1501 (FPE_FLTRES): Likewise.
1502 (FPE_FLTINV): Likewise.
1503 (FPE_FLTSUB): Likewise.
1504 (SEGV_MAPERR): Likewise.
1505 (SEGV_ACCERR): Likewise.
1506 (BUS_ADRALN): Likewise.
1507 (BUS_ADRERR): Likewise.
1508 (BUS_OBJERR): Likewise.
1509 (BUS_MCEERR_AR): Likewise.
1510 (BUS_MCEERR_AO): Likewise.
1511 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1512 (TRAP_TRACE): Likewise.
1513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1514 __USE_XOPEN2K8].
1515 (CLD_KILLED): Likewise.
1516 (CLD_DUMPED): Likewise.
1517 (CLD_TRAPPED): Likewise.
1518 (CLD_STOPPED): Likewise.
1519 (CLD_CONTINUED): Likewise.
1520 (POLL_IN): Likewise.
1521 (POLL_OUT): Likewise.
1522 (POLL_MSG): Likewise.
1523 (POLL_ERR): Likewise.
1524 (POLL_PRI): Likewise.
1525 (POLL_HUP): Likewise.
1526 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1527 Likewise.
1528 (ILL_ILLOPN): Likewise.
1529 (ILL_ILLADR): Likewise.
1530 (ILL_ILLTRP): Likewise.
1531 (ILL_PRVOPC): Likewise.
1532 (ILL_PRVREG): Likewise.
1533 (ILL_COPROC): Likewise.
1534 (ILL_BADSTK): Likewise.
1535 (ILL_BADIADDR): Likewise.
1536 (ILL_BREAK): Likewise.
1537 (FPE_INTDIV): Likewise.
1538 (FPE_INTOVF): Likewise.
1539 (FPE_FLTDIV): Likewise.
1540 (FPE_FLTOVF): Likewise.
1541 (FPE_FLTUND): Likewise.
1542 (FPE_FLTRES): Likewise.
1543 (FPE_FLTINV): Likewise.
1544 (FPE_FLTSUB): Likewise.
1545 (FPE_DECOVF): Likewise.
1546 (FPE_DECDIV): Likewise.
1547 (FPE_DECERR): Likewise.
1548 (FPE_INVASC): Likewise.
1549 (FPE_INVDEC): Likewise.
1550 (SEGV_MAPERR): Likewise.
1551 (SEGV_ACCERR): Likewise.
1552 (SEGV_PSTKOVF): Likewise.
1553 (BUS_ADRALN): Likewise.
1554 (BUS_ADRERR): Likewise.
1555 (BUS_OBJERR): Likewise.
1556 (BUS_MCEERR_AR): Likewise.
1557 (BUS_MCEERR_AO): Likewise.
1558 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1559 (TRAP_TRACE): Likewise.
1560 (TRAP_BRANCH): Likewise.
1561 (TRAP_HWBKPT): Likewise.
1562 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1563 __USE_XOPEN2K8].
1564 (CLD_KILLED): Likewise.
1565 (CLD_DUMPED): Likewise.
1566 (CLD_TRAPPED): Likewise.
1567 (CLD_STOPPED): Likewise.
1568 (CLD_CONTINUED): Likewise.
1569 (POLL_IN): Likewise.
1570 (POLL_OUT): Likewise.
1571 (POLL_MSG): Likewise.
1572 (POLL_ERR): Likewise.
1573 (POLL_PRI): Likewise.
1574 (POLL_HUP): Likewise.
1575 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1576 (ILL_ILLOPN): Likewise.
1577 (ILL_ILLADR): Likewise.
1578 (ILL_ILLTRP): Likewise.
1579 (ILL_PRVOPC): Likewise.
1580 (ILL_PRVREG): Likewise.
1581 (ILL_COPROC): Likewise.
1582 (ILL_BADSTK): Likewise.
1583 (FPE_INTDIV): Likewise.
1584 (FPE_INTOVF): Likewise.
1585 (FPE_FLTDIV): Likewise.
1586 (FPE_FLTOVF): Likewise.
1587 (FPE_FLTUND): Likewise.
1588 (FPE_FLTRES): Likewise.
1589 (FPE_FLTINV): Likewise.
1590 (FPE_FLTSUB): Likewise.
1591 (SEGV_MAPERR): Likewise.
1592 (SEGV_ACCERR): Likewise.
1593 (BUS_ADRALN): Likewise.
1594 (BUS_ADRERR): Likewise.
1595 (BUS_OBJERR): Likewise.
1596 (BUS_MCEERR_AR): Likewise.
1597 (BUS_MCEERR_AO): Likewise.
1598 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1599 (TRAP_TRACE): Likewise.
1600 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1601 __USE_XOPEN2K8].
1602 (CLD_KILLED): Likewise.
1603 (CLD_DUMPED): Likewise.
1604 (CLD_TRAPPED): Likewise.
1605 (CLD_STOPPED): Likewise.
1606 (CLD_CONTINUED): Likewise.
1607 (POLL_IN): Likewise.
1608 (POLL_OUT): Likewise.
1609 (POLL_MSG): Likewise.
1610 (POLL_ERR): Likewise.
1611 (POLL_PRI): Likewise.
1612 (POLL_HUP): Likewise.
1613 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1614 (ILL_ILLOPN): Likewise.
1615 (ILL_ILLADR): Likewise.
1616 (ILL_ILLTRP): Likewise.
1617 (ILL_PRVOPC): Likewise.
1618 (ILL_PRVREG): Likewise.
1619 (ILL_COPROC): Likewise.
1620 (ILL_BADSTK): Likewise.
1621 (FPE_INTDIV): Likewise.
1622 (FPE_INTOVF): Likewise.
1623 (FPE_FLTDIV): Likewise.
1624 (FPE_FLTOVF): Likewise.
1625 (FPE_FLTUND): Likewise.
1626 (FPE_FLTRES): Likewise.
1627 (FPE_FLTINV): Likewise.
1628 (FPE_FLTSUB): Likewise.
1629 (SEGV_MAPERR): Likewise.
1630 (SEGV_ACCERR): Likewise.
1631 (BUS_ADRALN): Likewise.
1632 (BUS_ADRERR): Likewise.
1633 (BUS_OBJERR): Likewise.
1634 (BUS_MCEERR_AR): Likewise.
1635 (BUS_MCEERR_AO): Likewise.
1636 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1637 (TRAP_TRACE): Likewise.
1638 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1639 __USE_XOPEN2K8].
1640 (CLD_KILLED): Likewise.
1641 (CLD_DUMPED): Likewise.
1642 (CLD_TRAPPED): Likewise.
1643 (CLD_STOPPED): Likewise.
1644 (CLD_CONTINUED): Likewise.
1645 (POLL_IN): Likewise.
1646 (POLL_OUT): Likewise.
1647 (POLL_MSG): Likewise.
1648 (POLL_ERR): Likewise.
1649 (POLL_PRI): Likewise.
1650 (POLL_HUP): Likewise.
1651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1652 (ILL_ILLOPN): Likewise.
1653 (ILL_ILLADR): Likewise.
1654 (ILL_ILLTRP): Likewise.
1655 (ILL_PRVOPC): Likewise.
1656 (ILL_PRVREG): Likewise.
1657 (ILL_COPROC): Likewise.
1658 (ILL_BADSTK): Likewise.
1659 (FPE_INTDIV): Likewise.
1660 (FPE_INTOVF): Likewise.
1661 (FPE_FLTDIV): Likewise.
1662 (FPE_FLTOVF): Likewise.
1663 (FPE_FLTUND): Likewise.
1664 (FPE_FLTRES): Likewise.
1665 (FPE_FLTINV): Likewise.
1666 (FPE_FLTSUB): Likewise.
1667 (SEGV_MAPERR): Likewise.
1668 (SEGV_ACCERR): Likewise.
1669 (BUS_ADRALN): Likewise.
1670 (BUS_ADRERR): Likewise.
1671 (BUS_OBJERR): Likewise.
1672 (BUS_MCEERR_AR): Likewise.
1673 (BUS_MCEERR_AO): Likewise.
1674 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1675 (TRAP_TRACE): Likewise.
1676 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1677 __USE_XOPEN2K8].
1678 (CLD_KILLED): Likewise.
1679 (CLD_DUMPED): Likewise.
1680 (CLD_TRAPPED): Likewise.
1681 (CLD_STOPPED): Likewise.
1682 (CLD_CONTINUED): Likewise.
1683 (POLL_IN): Likewise.
1684 (POLL_OUT): Likewise.
1685 (POLL_MSG): Likewise.
1686 (POLL_ERR): Likewise.
1687 (POLL_PRI): Likewise.
1688 (POLL_HUP): Likewise.
1689 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1690 (ILL_ILLOPN): Likewise.
1691 (ILL_ILLADR): Likewise.
1692 (ILL_ILLTRP): Likewise.
1693 (ILL_PRVOPC): Likewise.
1694 (ILL_PRVREG): Likewise.
1695 (ILL_COPROC): Likewise.
1696 (ILL_BADSTK): Likewise.
1697 (ILL_DBLFLT): Likewise.
1698 (ILL_HARDWALL): Likewise.
1699 (FPE_INTDIV): Likewise.
1700 (FPE_INTOVF): Likewise.
1701 (FPE_FLTDIV): Likewise.
1702 (FPE_FLTOVF): Likewise.
1703 (FPE_FLTUND): Likewise.
1704 (FPE_FLTRES): Likewise.
1705 (FPE_FLTINV): Likewise.
1706 (FPE_FLTSUB): Likewise.
1707 (SEGV_MAPERR): Likewise.
1708 (SEGV_ACCERR): Likewise.
1709 (BUS_ADRALN): Likewise.
1710 (BUS_ADRERR): Likewise.
1711 (BUS_OBJERR): Likewise.
1712 (BUS_MCEERR_AR): Likewise.
1713 (BUS_MCEERR_AO): Likewise.
1714 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1715 (TRAP_TRACE): Likewise.
1716 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1717 __USE_XOPEN2K8].
1718 (CLD_KILLED): Likewise.
1719 (CLD_DUMPED): Likewise.
1720 (CLD_TRAPPED): Likewise.
1721 (CLD_STOPPED): Likewise.
1722 (CLD_CONTINUED): Likewise.
1723 (POLL_IN): Likewise.
1724 (POLL_OUT): Likewise.
1725 (POLL_MSG): Likewise.
1726 (POLL_ERR): Likewise.
1727 (POLL_PRI): Likewise.
1728 (POLL_HUP): Likewise.
1729 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1730 (ILL_ILLOPN): Likewise.
1731 (ILL_ILLADR): Likewise.
1732 (ILL_ILLTRP): Likewise.
1733 (ILL_PRVOPC): Likewise.
1734 (ILL_PRVREG): Likewise.
1735 (ILL_COPROC): Likewise.
1736 (ILL_BADSTK): Likewise.
1737 (FPE_INTDIV): Likewise.
1738 (FPE_INTOVF): Likewise.
1739 (FPE_FLTDIV): Likewise.
1740 (FPE_FLTOVF): Likewise.
1741 (FPE_FLTUND): Likewise.
1742 (FPE_FLTRES): Likewise.
1743 (FPE_FLTINV): Likewise.
1744 (FPE_FLTSUB): Likewise.
1745 (SEGV_MAPERR): Likewise.
1746 (SEGV_ACCERR): Likewise.
1747 (BUS_ADRALN): Likewise.
1748 (BUS_ADRERR): Likewise.
1749 (BUS_OBJERR): Likewise.
1750 (BUS_MCEERR_AR): Likewise.
1751 (BUS_MCEERR_AO): Likewise.
1752 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1753 (TRAP_TRACE): Likewise.
1754 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1755 __USE_XOPEN2K8].
1756 (CLD_KILLED): Likewise.
1757 (CLD_DUMPED): Likewise.
1758 (CLD_TRAPPED): Likewise.
1759 (CLD_STOPPED): Likewise.
1760 (CLD_CONTINUED): Likewise.
1761 (POLL_IN): Likewise.
1762 (POLL_OUT): Likewise.
1763 (POLL_MSG): Likewise.
1764 (POLL_ERR): Likewise.
1765 (POLL_PRI): Likewise.
1766 (POLL_HUP): Likewise.
1767 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1768 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1769
bc61d27c
JM
1770 [BZ #16670]
1771 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1772 before #include of <time.h>.
1773 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1774 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1775 (test-xfail-UNIX98/sched.h/conform): Likewise.
1776
302949e2
MS
17772014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1778
1779 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1780 error absence of trapping exception support.
1781 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1782
a00f522a
JM
17832014-03-07 Joseph Myers <joseph@codesourcery.com>
1784
6f99f280
JM
1785 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1786 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1787 * timezone/Makefile (testdata): Move definition above include of
1788 Rules.
1789 (test-zones): New variable.
1790 (tests-special): Add zone files.
1791 (build-testdata): Use $(evaluate-test).
1792
0b20a9e8
JM
1793 * elf/Makefile (tests-special): Rename tests to end with .out.
1794 ($(objpfx)noload-mem): Likewise.
1795 ($(objpfx)tst-leaks1-mem): Likewise.
1796 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1797 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1798 $(objpfx)test-iconvconfig.out.
1799 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1800 set -e inside subshell and redirect output to file.
1801 * iconvdata/Makefile (generated): Rename tests to end with .out.
1802 Correct type.
1803 (tests-special): Rename tests to end with .out.
1804 ($(objpfx)mtrace-tst-loading): Likewise.
1805 * intl/Makefile (generated): Likewise.
1806 (tests-special): Likewise.
1807 ($(objpfx)mtrace-tst-gettext): Likewise.
1808 * misc/Makefile (generated): Likewise.
1809 (tests-special): Likewise.
1810 ($(objpfx)tst-error1-mem): Likewise.
1811 * nptl/Makefile (tests-special): Likewise.
1812 ($(objpfx)tst-stack3-mem): Likewise.
1813 (generated): Likewise.
1814 * posix/Makefile (generated): Likewise.
1815 (tests-special): Likewise.
1816 (xtests-special): Likewise.
1817 ($(objpfx)tst-fnmatch-mem): Likewise.
1818 ($(objpfx)bug-regex2-mem): Likewise.
1819 ($(objpfx)bug-regex14-mem): Likewise.
1820 ($(objpfx)bug-regex21-mem): Likewise.
1821 ($(objpfx)bug-regex31-mem): Likewise.
1822 ($(objpfx)tst-vfork3-mem): Likewise.
1823 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1824 ($(objpfx)tst-pcre-mem): Likewise.
1825 ($(objpfx)tst-boost-mem): Likewise.
1826 ($(objpfx)bug-ga2-mem): Likewise.
1827 ($(objpfx)bug-glob2-mem): Likewise.
1828 * resolv/Makefile (generate): Likewise.
1829 (tests-special): Likewise.
1830 (xtests-special): Likewise.
1831 (generated): Likewise.
1832 ($(objpfx)mtrace-tst-leaks): Likewise.
1833 ($(objpfx)mtrace-tst-leaks2): Likewise.
1834
265d52ab
JM
1835 * scripts/merge-test-results.sh: New file.
1836 * Makefile (tests-special-notdir): New variable.
1837 (tests): Run merge-test-results.sh.
1838 (xtests): Likewise.
1839 * Rules (tests-special-notdir): New variable.
1840 (xtests-special-notdir): Likewise.
1841 (tests): Run merge-test-results.sh
1842 (xtests): Likewise.
1843
54ee292d
JM
1844 * Makeconfig (test-xfail-name): New variable.
1845 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1846 compute variable name for expected failures.
1847 * conform/Makefile (conformtest-headers-data): New variable.
1848 (conformtest-standards): Likewise.
1849 (conformtest-headers-ISO): Likewise.
1850 (conformtest-headers-ISO99): Likewise.
1851 (conformtest-headers-ISO11): Likewise.
1852 (conformtest-headers-POSIX): Likewise.
1853 (conformtest-headers-XPG3): Likewise.
1854 (conformtest-headers-XPG4): Likewise.
1855 (conformtest-headers-UNIX98): Likewise.
1856 (conformtest-headers-XOPEN2K): Likewise.
1857 (conformtest-headers-POSIX2008): Likewise.
1858 (conformtest-headers-XOPEN2K8): Likewise.
1859 (conformtest-header-list-base): Likewise.
1860 (conformtest-header-list-tests): Likewise.
1861 (conformtest-header-base): Likewise.
1862 (conformtest-header-tests): Likewise.
1863 (tests-special): Add $(conformtest-header-list-tests). If
1864 [$(fast-check) && !$(cross-compiling)], add
1865 $(conformtest-header-tests) instead of
1866 $(objpfx)run-conformtest.out.
1867 (generated): Add $(conformtest-header-list-base). If
1868 [$(fast-check) && !$(cross-compiling)], add
1869 $(conformtest-header-base). Remove previous setting.
1870 ($(conformtest-header-list-tests)): New target.
1871 (test-xfail-run-conformtest): Remove variable.
1872 ($(objpfx)run-conformtest.out): Remove target.
1873 (test-xfail-ISO11/complex.h/conform): New variable.
1874 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1875 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1876 (test-xfail-XPG3/varargs.h/conform): Likewise.
1877 (test-xfail-XPG4/varargs.h/conform): Likewise.
1878 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1879 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1880 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1881 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1882 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1883 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1884 (test-xfail-XPG3/ftw.h/conform): Likewise.
1885 (test-xfail-XPG3/grp.h/conform): Likewise.
1886 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1887 (test-xfail-XPG3/limits.h/conform): Likewise.
1888 (test-xfail-XPG3/pwd.h/conform): Likewise.
1889 (test-xfail-XPG3/search.h/conform): Likewise.
1890 (test-xfail-XPG3/signal.h/conform): Likewise.
1891 (test-xfail-XPG3/stdio.h/conform): Likewise.
1892 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1893 (test-xfail-XPG3/string.h/conform): Likewise.
1894 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1895 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1896 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1897 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1898 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1899 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1900 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1901 (test-xfail-XPG3/termios.h/conform): Likewise.
1902 (test-xfail-XPG3/time.h/conform): Likewise.
1903 (test-xfail-XPG3/unistd.h/conform): Likewise.
1904 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1905 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1906 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1907 (test-xfail-XPG4/netdb.h/conform): Likewise.
1908 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1909 (test-xfail-XPG4/signal.h/conform): Likewise.
1910 (test-xfail-XPG4/stdio.h/conform): Likewise.
1911 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1912 (test-xfail-XPG4/stropts.h/conform): Likewise.
1913 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1914 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1915 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1916 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1917 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1918 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1919 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1920 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1921 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1922 (test-xfail-XPG4/termios.h/conform): Likewise.
1923 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1924 (test-xfail-XPG4/unistd.h/conform): Likewise.
1925 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1926 (test-xfail-POSIX/sched.h/conform): Likewise.
1927 (test-xfail-POSIX/signal.h/conform): Likewise.
1928 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1929 (test-xfail-POSIX/tar.h/conform): Likewise.
1930 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1931 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1932 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1933 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1934 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1935 (test-xfail-UNIX98/sched.h/conform): Likewise.
1936 (test-xfail-UNIX98/signal.h/conform): Likewise.
1937 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1938 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1939 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1940 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1941 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1942 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1943 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1944 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1945 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1946 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1947 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1948 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1949 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1950 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1951 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1952 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1953 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1954 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1955 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1956 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1957 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1958 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1959 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1960 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1961 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1962 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1963 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1964 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1965 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1966 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1967 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1968 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1969 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1970 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1971 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1972 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1973 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1974 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1975 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1976 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1977 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1978 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1979 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1980 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1981 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1982 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1983 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1984 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1985 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1986 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1987 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1988 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1989 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1990 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1991 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1992 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1993 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1994 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1995 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1996 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1997 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1998 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1999 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2000 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2001 (conformtest-cc-flags): Likewise.
2002 ($(conformtest-header-tests): New target.
2003 * conform/check-header-lists.sh: New file.
2004 * conform/run-conformtest.sh: Remove.
2005
a00f522a
JM
2006 * conform/conformtest.pl: Allow ' and \ in values given for
2007 constants.
2008 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2009 inclusion.
2010 [POSIX] (sys/types.h): Likewise.
2011 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2012 inclusion.
2013 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2014 inclusion.
2015 * conform/data/signal.h-data (SIGIO): Remove expectation.
2016 [XPG3] (SIGBUS): Do not expect.
2017 [POSIX || XPG3] (SIGPOLL): Likewise.
2018 [POSIX || XPG3] (SIGPROF): Likewise.
2019 [POSIX || XPG3] (SIGSYS): Likewise.
2020 [XPG3] (SIGTRAP): Likewise.
2021 [POSIX || XPG3] (SIGURG): Likewise.
2022 [POSIX || XPG3] (SIGVTALRM): Likewise.
2023 [POSIX || XPG3] (SIGXCPU): Likewise.
2024 [POSIX || XPG3] (SIGXFSZ): Likewise.
2025 [POSIX] (SA_SIGINFO): Expect.
2026 [XPG3] (siginfo_t): Do not expect type or contents.
2027 [POSIX] (si_pid): Do not expect element.
2028 [POSIX] (si_uid): Likewise.
2029 [POSIX] (si_addr): Likewise.
2030 [POSIX] (si_status): Likewise.
2031 [POSIX] (si_band): Likewise.
2032 [XPG4] (si_value): Likewise.
2033 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2034 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2035 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2036 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2037 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2038 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2039 [POSIX || XPG3] (ILL_COPROC): Likewise.
2040 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2041 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2042 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2043 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2044 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2045 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2046 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2047 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2048 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2049 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2050 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2051 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2052 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2053 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2054 [POSIX || XPG3] (CLD_EXITED): Likewise.
2055 [POSIX || XPG3] (CLD_KILLED): Likewise.
2056 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2057 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2058 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2059 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2060 [POSIX || XPG3] (POLL_IN): Likewise.
2061 [POSIX || XPG3] (POLL_OUT): Likewise.
2062 [POSIX || XPG3] (POLL_MSG): Likewise.
2063 [POSIX || XPG3] (POLL_ERR): Likewise.
2064 [POSIX || XPG3] (POLL_PRI): Likewise.
2065 [POSIX || XPG3] (POLL_HUP): Likewise.
2066 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2067 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2068 (SIG*): Do not allow.
2069 [XPG3] (si_*): Likewise.
2070 [XPG3] (SI_*): Likewise.
2071 [XPG3 || XPG4] (sigev_*): Likewise.
2072 [XPG3 || XPG4] (SIGEV_*): Likewise.
2073 [XPG3 || XPG4] (sival_*): Likewise.
2074 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2075 [POSIX || XPG3] (BUS_*): Likewise.
2076 [POSIX || XPG3] (CLD_*): Likewise.
2077 [POSIX || XPG3] (FPE_*): Likewise.
2078 [POSIX || XPG3] (ILL_*): Likewise.
2079 [POSIX || XPG3] (POLL_*): Likewise.
2080 [POSIX || XPG3] (SEGV_*): Likewise.
2081 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2082 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2083 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2084 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2085 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2086 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2087 Specify type and value.
2088 (TVERSLEN): Likewise.
2089 (REGTYPE): Likewise.
2090 (AREGTYPE): Likewise.
2091 (LNKTYPE): Likewise.
2092 (SYMTYPE): Likewise.
2093 (CHRTYPE): Likewise.
2094 (BLKTYPE): Likewise.
2095 (DIRTYPE): Likewise.
2096 (FIFOTYPE): Likewise.
2097 (CONTTYPE): Likewise.
2098 (TSUID): Likewise.
2099 (TSGID): Likewise.
2100 (TSVTX): Likewise.
2101 (TUREAD): Likewise.
2102 (TUWRITE): Likewise.
2103 (TUEXEC): Likewise.
2104 (TGREAD): Likewise.
2105 (TGWRITE): Likewise.
2106 (TGEXEC): Likewise.
2107 (TOREAD): Likewise.
2108 (TOWRITE): Likewise.
2109 (TOEXEC): Likewise.
2110 [POSIX] (TSVTX): Expect constant.
2111
aa97dee1
JM
21122014-03-06 Joseph Myers <joseph@codesourcery.com>
2113
f214606a
JM
2114 * Makefile (tests): Change dependencies to ....
2115 (tests-special): ... additions to this variable.
2116 (tests): Depend on $(tests-special).
2117 * Makerules (check-abi-list): New variable.
2118 (check-abi): Depend on $(check-abi-list).
2119 [$(subdir) = elf] (tests-special): Add
2120 $(objpfx)check-abi-libc.out.
2121 [$(build-shared) = yes && subdir] (tests-special): Add
2122 $(check-abi-list).
2123 [$(build-shared) = yes && subdir] (tests): Do not depend on
2124 check-abi.
2125 * Rules (tests): Depend on $(tests-special).
2126 (xtests): Depend on $(xtests-special).
2127 * catgets/Makefile (tests): Change dependencies to ....
2128 (tests-special): ... additions to this variable.
2129 * conform/Makefile (tests): Change dependencies to ....
2130 (tests-special): ... additions to this variable.
2131 * elf/Makefile (tests): Change dependencies to ....
2132 (tests-special): ... additions to this variable.
2133 * grp/Makefile (tests): Change dependencies to ....
2134 (tests-special): ... additions to this variable.
2135 * iconv/Makefile (xtests): Change dependencies to ....
2136 (xtests-special): ... additions to this variable.
2137 * iconvdata/Makefile (tests): Change dependencies to ....
2138 (tests-special): ... additions to this variable.
2139 * intl/Makefile (tests): Change dependencies to ....
2140 (tests-special): ... additions to this variable. Also add
2141 $(objpfx)tst-gettext.out.
2142 * io/Makefile (tests): Change dependencies to ....
2143 (tests-special): ... additions to this variable.
2144 * libio/Makefile (tests): Change dependencies to ....
2145 (tests-special): ... additions to this variable.
2146 * malloc/Makefile (tests): Change dependencies to ....
2147 (tests-special): ... additions to this variable.
2148 * misc/Makefile (tests): Change dependencies to ....
2149 (tests-special): ... additions to this variable.
2150 * nptl/Makefile (tests): Change dependencies to ....
2151 (tests-special): ... additions to this variable.
2152 * nptl_db/Makefile (tests): Change dependencies to ....
2153 (tests-special): ... additions to this variable.
2154 * posix/Makefile (tests): Change dependencies to ....
2155 (tests-special): ... additions to this variable.
2156 (xtests): Change dependencies to ....
2157 (xtests-special): ... additions to this variable.
2158 * resolv/Makefile (tests): Change dependencies to ....
2159 (tests-special): ... additions to this variable.
2160 (xtests): Change dependencies to ....
2161 (xtests-special): ... additions to this variable.
2162 * stdio-common/Makefile (tests): Change dependencies to ....
2163 (tests-special): ... additions to this variable.
2164 (do-tst-unbputc): Remove target.
2165 (do-tst-printf): Likewise.
2166 * stdlib/Makefile (tests): Change dependencies to ....
2167 (tests-special): ... additions to this variable.
2168 * string/Makefile (tests): Change dependencies to ....
2169 (tests-special): ... additions to this variable.
2170 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2171 (tests-special): ... additions to this variable.
2172
81700b53
JM
2173 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2174 whole file.
2175 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2176 whole file.
2177 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2178 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2179
2ea18461
JM
2180 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2181 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2182 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2183 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2184 * conform/data/libgen.h-data [XPG3]: Likewise.
2185 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2186 * conform/data/ndbm.h-data [XPG3]: Likewise.
2187 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2188 * conform/data/netdb.h-data [XPG3]: Likewise.
2189 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2190 * conform/data/poll.h-data [XPG3]: Likewise.
2191 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2192 * conform/data/strings.h-data [XPG3]: Likewise.
2193 * conform/data/stropts.h-data [XPG3]: Likewise.
2194 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2195 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2196 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2197 Likewise.
2198 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2199 * conform/data/sys/time.h-data [XPG3]: Likewise.
2200 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2201 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2202 * conform/data/sys/un.h-data [XPG3]: Likewise.
2203 * conform/data/syslog.h-data [XPG3]: Likewise.
2204 * conform/data/ucontext.h-data [XPG3]: Likewise.
2205 * conform/data/utmpx.h-data [XPG3]: Likewise.
2206 * conform/data/varargs.h-data [UNIX98]: Enable file.
2207
355bc986
JM
2208 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2209
215db402
JM
2210 * math/libm-test.inc (struct test_f_f_data): Move expected results
2211 into structure for each rounding mode.
2212 (struct test_ff_f_data): Likewise.
2213 (struct test_ff_f_data_nexttoward): Likewise.
2214 (struct test_fi_f_data): Likewise.
2215 (struct test_fl_f_data): Likewise.
2216 (struct test_if_f_data): Likewise.
2217 (struct test_fff_f_data): Likewise.
2218 (struct test_c_f_data): Likewise.
2219 (struct test_f_f1_data): Likewise.
2220 (struct test_fF_f1_data): Likewise.
2221 (struct test_ffI_f1_data): Likewise.
2222 (struct test_c_c_data): Likewise.
2223 (struct test_cc_c_data): Likewise.
2224 (struct test_f_i_data): Likewise.
2225 (struct test_ff_i_data): Likewise.
2226 (struct test_f_l_data): Likewise.
2227 (struct test_f_L_data): Likewise.
2228 (struct test_fFF_11_data): Likewise.
2229 (RM_): New macro.
2230 (RM_FE_DOWNWARD): Likewise.
2231 (RM_FE_TONEAREST): Likewise.
2232 (RM_FE_TOWARDZERO): Likewise.
2233 (RM_FE_UPWARD): Likewise.
2234 (RUN_TEST_LOOP_f_f): Update references to expected results.
2235 (RUN_TEST_LOOP_2_f): Likewise.
2236 (RUN_TEST_LOOP_fff_f): Likewise.
2237 (RUN_TEST_LOOP_c_f): Likewise.
2238 (RUN_TEST_LOOP_f_f1): Likewise.
2239 (RUN_TEST_LOOP_fF_f1): Likewise.
2240 (RUN_TEST_LOOP_fI_f1): Likewise.
2241 (RUN_TEST_LOOP_ffI_f1): Likewise.
2242 (RUN_TEST_LOOP_c_c): Likewise.
2243 (RUN_TEST_LOOP_cc_c): Likewise.
2244 (RUN_TEST_LOOP_f_i): Likewise.
2245 (RUN_TEST_LOOP_f_i_tg): Likewise.
2246 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2247 (RUN_TEST_LOOP_f_b): Likewise.
2248 (RUN_TEST_LOOP_f_b_tg): Likewise.
2249 (RUN_TEST_LOOP_f_l): Likewise.
2250 (RUN_TEST_LOOP_f_L): Likewise.
2251 (RUN_TEST_LOOP_fFF_11): Likewise.
2252 * math/gen-libm-test.pl (parse_args): Output four copies of
2253 expected results for each test.
2254
67737b8f
JM
2255 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2256 (__ASSUME_UTIMES): Remove.
2257 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2258 (__ASSUME_UTIMES): Likewise.
2259
aa97dee1
JM
2260 * math/gen-auto-libm-tests.c: Update comment on output format.
2261 (output_for_one_input_case): Generate before-rounding and
2262 after-rounding information as conditions on output flags not
2263 floating-point format.
2264 * math/auto-libm-test-out: Regenerated.
2265 * math/gen-libm-test.pl (cond_value): New function.
2266 (or_cond_value): Use cond_value.
2267 (generate_testfile): Handle conditional exceptions.
2268
e6b6a857
JM
22692014-03-05 Joseph Myers <joseph@codesourcery.com>
2270
2f0a0f44
JM
2271 * math/libm-test.inc (max_valid_error): New variable.
2272 (init_max_error): Take new argument specifying whether function
2273 results are exactly determined. Set max_valid_error and bound
2274 other variables for errors based on this argument.
2275 (set_max_error): Do not record results above max_valid_error.
2276 (check_float_internal): Only accept errors of up to 0.5ulps if
2277 also at most max_valid_error.
2278 (START): Take new argument EXACT and pass it to init_max_error.
2279 (acos_test): Update call to START.
2280 (acos_test_tonearest): Likewise.
2281 (acos_test_towardzero): Likewise.
2282 (acos_test_downward): Likewise.
2283 (acos_test_upward): Likewise.
2284 (acosh_test): Likewise.
2285 (asin_test): Likewise.
2286 (asin_test_tonearest): Likewise.
2287 (asin_test_towardzero): Likewise.
2288 (asin_test_downward): Likewise.
2289 (asin_test_upward): Likewise.
2290 (asinh_test): Likewise.
2291 (atan_test): Likewise.
2292 (atanh_test): Likewise.
2293 (atan2_test): Likewise.
2294 (cabs_test): Likewise.
2295 (cacos_test): Likewise.
2296 (cacosh_test): Likewise.
2297 (carg_test): Likewise.
2298 (casin_test): Likewise.
2299 (casinh_test): Likewise.
2300 (catan_test): Likewise.
2301 (catanh_test): Likewise.
2302 (cbrt_test): Likewise.
2303 (ccos_test): Likewise.
2304 (ccosh_test): Likewise.
2305 (ceil_test): Likewise.
2306 (cexp_test): Likewise.
2307 (cimag_test): Likewise.
2308 (clog_test): Likewise.
2309 (clog10_test): Likewise.
2310 (conj_test): Likewise.
2311 (copysign_test): Likewise.
2312 (cos_test): Likewise.
2313 (cos_test_tonearest): Likewise.
2314 (cos_test_towardzero): Likewise.
2315 (cos_test_downward): Likewise.
2316 (cos_test_upward): Likewise.
2317 (cosh_test): Likewise.
2318 (cosh_test_tonearest): Likewise.
2319 (cosh_test_towardzero): Likewise.
2320 (cosh_test_downward): Likewise.
2321 (cosh_test_upward): Likewise.
2322 (cpow_test): Likewise.
2323 (cproj_test): Likewise.
2324 (creal_test): Likewise.
2325 (csin_test): Likewise.
2326 (csinh_test): Likewise.
2327 (csqrt_test): Likewise.
2328 (ctan_test): Likewise.
2329 (ctan_test_tonearest): Likewise.
2330 (ctan_test_towardzero): Likewise.
2331 (ctan_test_downward): Likewise.
2332 (ctan_test_upward): Likewise.
2333 (ctanh_test): Likewise.
2334 (ctanh_test_tonearest): Likewise.
2335 (ctanh_test_towardzero): Likewise.
2336 (ctanh_test_downward): Likewise.
2337 (ctanh_test_upward): Likewise.
2338 (erf_test): Likewise.
2339 (erfc_test): Likewise.
2340 (exp_test): Likewise.
2341 (exp_test_tonearest): Likewise.
2342 (exp_test_towardzero): Likewise.
2343 (exp_test_downward): Likewise.
2344 (exp_test_upward): Likewise.
2345 (exp10_test): Likewise.
2346 (exp10_test_tonearest): Likewise.
2347 (exp10_test_towardzero): Likewise.
2348 (exp10_test_downward): Likewise.
2349 (exp10_test_upward): Likewise.
2350 (pow10_test): Likewise.
2351 (exp2_test): Likewise.
2352 (expm1_test): Likewise.
2353 (expm1_test_tonearest): Likewise.
2354 (expm1_test_towardzero): Likewise.
2355 (expm1_test_downward): Likewise.
2356 (expm1_test_upward): Likewise.
2357 (fabs_test): Likewise.
2358 (fdim_test): Likewise.
2359 (floor_test): Likewise.
2360 (fma_test): Likewise.
2361 (fma_test_towardzero): Likewise.
2362 (fma_test_downward): Likewise.
2363 (fma_test_upward): Likewise.
2364 (fmax_test): Likewise.
2365 (fmin_test): Likewise.
2366 (fmod_test): Likewise.
2367 (fpclassify_test): Likewise.
2368 (frexp_test): Likewise.
2369 (hypot_test): Likewise.
2370 (ilogb_test): Likewise.
2371 (isfinite_test): Likewise.
2372 (finite_test): Likewise.
2373 (isgreater_test): Likewise.
2374 (isgreaterequal_test): Likewise.
2375 (isinf_test): Likewise.
2376 (isless_test): Likewise.
2377 (islessequal_test): Likewise.
2378 (islessgreater_test): Likewise.
2379 (isnan_test): Likewise.
2380 (isnormal_test): Likewise.
2381 (issignaling_test): Likewise.
2382 (isunordered_test): Likewise.
2383 (j0_test): Likewise.
2384 (j1_test): Likewise.
2385 (jn_test): Likewise.
2386 (ldexp_test): Likewise.
2387 (lgamma_test): Likewise.
2388 (gamma_test): Likewise.
2389 (lrint_test): Likewise.
2390 (lrint_test_tonearest): Likewise.
2391 (lrint_test_towardzero): Likewise.
2392 (lrint_test_downward): Likewise.
2393 (lrint_test_upward): Likewise.
2394 (llrint_test): Likewise.
2395 (llrint_test_tonearest): Likewise.
2396 (llrint_test_towardzero): Likewise.
2397 (llrint_test_downward): Likewise.
2398 (llrint_test_upward): Likewise.
2399 (log_test): Likewise.
2400 (log10_test): Likewise.
2401 (log1p_test): Likewise.
2402 (log2_test): Likewise.
2403 (logb_test): Likewise.
2404 (logb_test_downward): Likewise.
2405 (lround_test): Likewise.
2406 (llround_test): Likewise.
2407 (modf_test): Likewise.
2408 (nearbyint_test): Likewise.
2409 (nextafter_test): Likewise.
2410 (nexttoward_test): Likewise.
2411 (pow_test): Likewise.
2412 (pow_test_tonearest): Likewise.
2413 (pow_test_towardzero): Likewise.
2414 (pow_test_downward): Likewise.
2415 (pow_test_upward): Likewise.
2416 (remainder_test): Likewise.
2417 (drem_test): Likewise.
2418 (remainder_test_tonearest): Likewise.
2419 (drem_test_tonearest): Likewise.
2420 (remainder_test_towardzero): Likewise.
2421 (drem_test_towardzero): Likewise.
2422 (remainder_test_downward): Likewise.
2423 (drem_test_downward): Likewise.
2424 (remainder_test_upward): Likewise.
2425 (drem_test_upward): Likewise.
2426 (remquo_test): Likewise.
2427 (rint_test): Likewise.
2428 (rint_test_tonearest): Likewise.
2429 (rint_test_towardzero): Likewise.
2430 (rint_test_downward): Likewise.
2431 (rint_test_upward): Likewise.
2432 (round_test): Likewise.
2433 (scalb_test): Likewise.
2434 (scalbn_test): Likewise.
2435 (scalbln_test): Likewise.
2436 (signbit_test): Likewise.
2437 (sin_test): Likewise.
2438 (sin_test_tonearest): Likewise.
2439 (sin_test_towardzero): Likewise.
2440 (sin_test_downward): Likewise.
2441 (sin_test_upward): Likewise.
2442 (sincos_test): Likewise.
2443 (sinh_test): Likewise.
2444 (sinh_test_tonearest): Likewise.
2445 (sinh_test_towardzero): Likewise.
2446 (sinh_test_downward): Likewise.
2447 (sinh_test_upward): Likewise.
2448 (sqrt_test): Likewise.
2449 (sqrt_test_tonearest): Likewise.
2450 (sqrt_test_towardzero): Likewise.
2451 (sqrt_test_downward): Likewise.
2452 (sqrt_test_upward): Likewise.
2453 (tan_test): Likewise.
2454 (tan_test_tonearest): Likewise.
2455 (tan_test_towardzero): Likewise.
2456 (tan_test_downward): Likewise.
2457 (tan_test_upward): Likewise.
2458 (tanh_test): Likewise.
2459 (tgamma_test): Likewise.
2460 (trunc_test): Likewise.
2461 (y0_test): Likewise.
2462 (y1_test): Likewise.
2463 (yn_test): Likewise.
2464 (significand_test): Likewise.
2465
e6b6a857
JM
2466 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2467 individual tests in comment.
2468 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2469 (prev_max_error): New variable.
2470 (prev_real_max_error): Likewise.
2471 (prev_imag_max_error): Likewise.
2472 (compare_ulp_data): Don't refer to test names in comment.
2473 (find_test_ulps): Remove function.
2474 (find_function_ulps): Likewise.
2475 (find_complex_function_ulps): Likewise.
2476 (init_max_error): Take function name as argument. Look up ulps
2477 for that function.
2478 (print_ulps): Remove function.
2479 (print_max_error): Use prev_max_error instead of calling
2480 find_function_ulps.
2481 (print_complex_max_error): Use prev_real_max_error and
2482 prev_imag_max_error instead of calling find_complex_function_ulps.
2483 (check_float_internal): Take max_ulp parameter instead of calling
2484 find_test_ulps. Don't call print_ulps.
2485 (check_float): Update call to check_float_internal.
2486 (check_complex): Update calls to check_float_internal.
2487 (START): Pass argument to init_max_error.
2488 * math/gen-libm-test.pl (%results): Don't include "kind"
2489 information.
2490 (parse_ulps): Don't handle ulps of individual tests.
2491 (print_ulps_file): Likewise.
2492 (output_ulps): Likewise.
2493 * math/README.libm-test: Update.
2494 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2495 individual tests.
2496 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2497 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2498 * sysdeps/arm/libm-test-ulps: Likewise.
2499 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2500 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2501 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2502 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2503 * sysdeps/microblaze/libm-test-ulps: Likewise.
2504 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2505 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2506 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2507 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2508 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2509 * sysdeps/sh/libm-test-ulps: Likewise.
2510 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2511 * sysdeps/tile/libm-test-ulps: Likewise.
2512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2513
45adef3c
JM
25142014-03-04 Joseph Myers <joseph@codesourcery.com>
2515
2516 * math/libm-test.inc (print_complex_max_error): Check separately
2517 whether real and imaginary errors are within allowed range and
2518 pass 0 to print_complex_function_ulps instead of value within
2519 allowed range.
2520
000232b9
SP
25212014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2522
d4b17258
SP
2523 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2524 formatting.
2525 (get_handles_fopen): Likewise.
2526 (do_write_test): Likewise.
2527
091eff71
SP
2528 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2529
fa3cd248
SP
2530 * libio/fileops.c (do_ftell): Use cached offset when
2531 available.
2532 * libio/iofwide.c (do_ftell_wide): Likewise.
2533 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2534 _IO_file_attach.
2535 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2536
000232b9
SP
2537 [BZ #16532]
2538 * libio/libioP.h (get_file_offset): New function.
2539 * libio/fileops.c (get_file_offset): Likewise.
2540 (do_ftell): Likewise.
2541 (_IO_new_file_seekoff): Split out ftell logic.
2542 * libio/wfileops.c (do_ftell_wide): Likewise.
2543 (_IO_wfile_seekoff): Split out ftell logic.
2544 * libio/tst-ftell-active-handler.c: New test case.
2545 * libio/Makefile (tests): Add it.
2546
116f4d1a
RM
25472014-03-03 Roland McGrath <roland@hack.frob.com>
2548
2549 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2550 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2551
532a6035
SP
25522014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2553
2554 [BZ #16639]
2555 * nscd/connections.c (nscd_init): Call do_exit.
2556 (start_threads): Call do_exit and notify_parent.
2557 (begin_drop_privileges): Call do_exit.
2558 (finish_drop_privileges): Likewise.
2559 * nscd/selinux.c (preserve_capabilities): Likewise.
2560 (install_real_capabilities): Likewise.
2561 (nscd_selinux_enabled): Likewise.
2562 (avc_create_thread): Likewise.
2563 (avc_alloc_lock): Likewise.
2564 (nscd_avc_init): Likewise.
2565 * nscd/nscd.c (parent_fd): New static variable.
2566 (main): Create a pipe between parent and child processes.
2567 Skip closing parent_fd.
2568 (monitor_child): New function.
2569 (do_exit): Likewise.
2570 (notify_parent): Likewise.
2571 * nscd/nscd.h (notify_parent): Likewise.
2572 (do_exit): Likewise.
2573
d6285c9f
CD
25742014-03-03 Carlos O'Donell <carlos@redhat.com>
2575
2576 * malloc/malloc.c (__libc_calloc): Revert last change.
2577
2b85d2a0
AZ
25782014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579
2580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2581
c7debbdf
RS
25822014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2583
2584 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2586 implementation.
2587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2588 (__libc_ifunc_impl_list): Likewise.
2589 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2590 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2591 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2592 * string/strrchr.c: Define STRRCHR.
2593
235eed86
OB
25942014-02-28 Ondřej Bílka <neleai@seznam.cz>
2595
2596 * benchtest/bench-strtok.c (simple_strtok): Delete.
2597 (strtok_string): Use as benchmark.
2598 * string/strtok (STRTOK): New macro.
2599
8e25d1e7
CD
26002014-02-28 Carlos O'Donell <carlos@redhat.com>
2601
ef563f92
CD
2602 * manual/threads.texi: Add header and standard comments to all
2603 functions.
2604
8e25d1e7
CD
2605 * elf/dl-lookup.c (check_match): New function.
2606 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2607 (do_lookup_x): Remove nested function check_match. Use non-nested
2608 function check_match.
2609
ff71cc37
RM
26102014-02-28 Roland McGrath <roland@hack.frob.com>
2611
f08e9a26
RM
2612 * csu/Makefile (generated, before-compile): Use += rather than =.
2613 * catgets/Makefile (generated, generated-dirs): Likewise.
2614 * debug/Makefile (generated): Likewise.
2615 * dlfcn/Makefile (generated): Likewise.
2616 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2617 * iconvdata/Makefile (before-compile, generated): Likewise.
2618 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2619 * libio/Makefile (generated): Likewise.
2620 * malloc/Makefile (generated): Likewise.
2621 * manual/Makefile (generated, generated-dirs): Likewise.
2622 * misc/Makefile (generated): Likewise.
2623 * posix/Makefile (generated): Likewise.
2624 * resolv/Makefile (generated): Likewise.
2625 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2626 * timezone/Makefile (generated, generated-dirs): Likewise.
2627
ff71cc37
RM
2628 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2629
fe13a20c
AZ
26302014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2631
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2633 implementation.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2635 POWER8 llround ifunc implementation.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2637 POWER8 implementation.
2638 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2639 POWER8 llround implementation.
2640
1ad8950a
AZ
26412014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2642
2643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2644 implementation.
2645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2646 POWER8 llrint ifunc implementation.
2647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2648 POWER8 implementation.
2649 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2650 POWER8 llrint implementation.
2651
cac626d6
AZ
26522014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2653
2654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2655 implementation.
2656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2657 POWER8 finite ifunc implementation.
2658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2659 POWER8 implementation.
2660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2661 Likewise.
2662 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2663 POWER8 finite implementation.
2664 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2665
4393fc11
AZ
26662014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2667
2668 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2669 implementation.
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2671 POWER8 isinf ifunc implementation.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2673 POWER8 implementation.
2674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2675 Likewise.
2676 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2677 POWER8 isinf implementation.
2678 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2679
487972ae
AZ
26802014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2681
2682 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2683 Add hwcap2 initialization.
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2685 implementation.
2686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2687 POWER8 isnan ifunc implementation.
2688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2689 POWER8 implementation.
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2691 Likewise.
2692 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2693 POWER8 isnan implementation.
2694 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2695
7d92b787
JY
26962014-02-27 Joey Ye <joey.ye@arm.com>
2697
2698 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2699 (_FP_NANFRAC_Q): Set to zero.
2700
1cadc858
SP
27012014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2702
2703 [BZ #16623]
2704 * math/auto-libm-test-in: New test inputs.
2705 * math/auto-libm-test-out: Regenerate.
2706 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2707 and DA.
2708 (__cos): Likewise.
2709 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2710
f8c17e79
JM
27112014-02-27 Joseph Myers <joseph@codesourcery.com>
2712
2713 * scripts/evaluate-test.sh: Take new argument indicating whether
2714 failure is expected.
2715 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2716 indicating whether failure is expected.
2717 * conform/Makefile (test-xfail-run-conformtest): New variable.
2718 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2719 level.
2720 * posix/Makefile (test-xfail-annexc): New variable.
2721 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2722
a5f891ac
JM
27232014-02-26 Joseph Myers <joseph@codesourcery.com>
2724
2725 * argp/Makefile: Include Makeconfig immediately after defining
2726 subdir.
2727 * assert/Makefile: Likewise.
2728 * benchtests/Makefile: Likewise.
2729 * catgets/Makefile: Likewise.
2730 * conform/Makefile: Likewise.
2731 * crypt/Makefile: Likewise.
2732 * csu/Makefile: Likewise.
2733 (all): Remove target.
2734 * ctype/Makefile: Include Makeconfig immediately after defining
2735 subdir.
2736 * debug/Makefile: Likewise.
2737 * dirent/Makefile: Likewise.
2738 * dlfcn/Makefile: Likewise.
2739 * gmon/Makefile: Likewise.
2740 * gnulib/Makefile: Likewise.
2741 * grp/Makefile: Likewise.
2742 * gshadow/Makefile: Likewise.
2743 * hesiod/Makefile: Likewise.
2744 * hurd/Makefile: Likewise.
2745 (all): Remove target.
2746 * iconvdata/Makefile: Include Makeconfig immediately after
2747 defining subdir.
2748 * inet/Makefile: Likewise.
2749 * intl/Makefile: Likewise.
2750 * io/Makefile: Likewise.
2751 * libio/Makefile: Likewise.
2752 (all): Remove target.
2753 * locale/Makefile: Include Makeconfig immediately after defining
2754 subdir.
2755 * login/Makefile: Likewise.
2756 * mach/Makefile: Likewise.
2757 (all): Remove target.
2758 * malloc/Makefile: Include Makeconfig immediately after defining
2759 subdir.
2760 (all): Remove target.
2761 * manual/Makefile: Include Makeconfig immediately after defining
2762 subdir.
2763 * math/Makefile: Likewise.
2764 * misc/Makefile: Likewise.
2765 * nis/Makefile: Likewise.
2766 * nss/Makefile: Likewise.
2767 * po/Makefile: Likewise.
2768 (all): Remove target.
2769 * posix/Makefile: Include Makeconfig immediately after defining
2770 subdir.
2771 * pwd/Makefile: Likewise.
2772 * resolv/Makefile: Likewise.
2773 * resource/Makefile: Likewise.
2774 * rt/Makefile: Likewise.
2775 * setjmp/Makefile: Likewise.
2776 * shadow/Makefile: Likewise.
2777 * signal/Makefile: Likewise.
2778 * socket/Makefile: Likewise.
2779 * soft-fp/Makefile: Likewise.
2780 * stdio-common/Makefile: Likewise.
2781 * stdlib/Makefile: Likewise.
2782 * streams/Makefile: Likewise.
2783 * string/Makefile: Likewise.
2784 * sunrpc/Makefile: Likewise.
2785 (all): Remove target.
2786 * sysvipc/Makefile: Include Makeconfig immediately after defining
2787 subdir.
2788 * termios/Makefile: Likewise.
2789 * time/Makefile: Likewise.
2790 * timezone/Makefile: Likewise.
2791 (all): Remove target.
2792 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2793 subdir.
2794 * wctype/Makefile: Likewise.
2795
5b456e9d
SE
27962014-02-26 Steve Ellcey <sellcey@mips.com>
2797
2798 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2799 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2800 (libc_feholdexcept_setround_mips): Ditto.
2801 (libc_feholdsetround): New.
2802 (libc_feholdsetroundf): New.
2803 (libc_feholdsetroundl): New.
2804 (libc_feupdateenv_test_mips): New.
2805 (libc_feupdateenv_test): New.
2806 (libc_feupdateenv_testf): New.
2807 (libc_feupdateenv_testl): New.
2808 (libc_feresetround): New.
2809 (libc_feresetroundf): New.
2810 (libc_feresetroundl): New.
2811 (libc_fetestexcept_mips): New.
2812 (libc_fetestexcept): New.
2813 (libc_fetestexceptf): New.
2814 (libc_fetestexceptl): New.
2815 (HAVE_RM_CTX): New.
2816 (libc_feholdexcept_setround_mips_ctx): New.
2817 (libc_feholdexcept_setround_ctx): New.
2818 (libc_feholdexcept_setroundf_ctx): New.
2819 (libc_feholdexcept_setroundl_ctx): New.
2820 (libc_fesetenv_mips_ctx): New.
2821 (libc_fesetenv_ctx): New.
2822 (libc_fesetenv_ctxf): New.
2823 (libc_fesetenv_ctxl): New.
2824 (libc_feupdateenv_mips_ctx): New.
2825 (libc_feupdateenv_ctx): New.
2826 (libc_feupdateenvf_ctx): New.
2827 (libc_feupdateenvl_ctx): New.
2828 (libc_feholdsetround_mips_ctx): New.
2829 (libc_feholdsetround_ctx): New.
2830 (libc_feholdsetroundf_ctx): New.
2831 (libc_feholdsetroundl_ctx): New.
2832 (libc_feresetround_mips_ctx): New.
2833 (libc_feresetround_ctx): New.
2834 (libc_feresetroundf_ctx): New.
2835 (libc_feresetroundl_ctx): New.
2836
085d0e35
CD
28372014-02-26 Carlos O'Donell <carlos@redhat.com>
2838
f067bf1f
CD
2839 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2840
085d0e35
CD
2841 * manual/ipc.texi: New file.
2842 * manual/Makefile (chapters): Add ipc.
2843 * manual/job.texi: Add "Inter-Process Communication" to next.
2844 * manual/process.texi: Add "Inter-Process Communication" to prev.
2845
86e58c08
AZ
28462014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2847
2848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2849
4248f0da
OB
28502014-02-26 Ondřej Bílka <neleai@seznam.cz>
2851
2852 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2853
cf822e3c
OB
2854 * manual/arith.texi: Fix spaces after sentences.
2855 * manual/charset.texi: Likewise.
2856 * manual/errno.texi: Likewise.
2857 * manual/install.texi: Likewise.
2858 * manual/llio.texi: Likewise.
2859 * manual/locale.texi: Likewise.
2860 * manual/maint.texi: Likewise.
2861 * manual/math.texi: Likewise.
2862 * manual/memory.texi: Likewise.
2863 * manual/message.texi: Likewise.
2864 * manual/probes.texi: Likewise.
2865 * manual/resource.texi: Likewise.
2866 * manual/signal.texi: Likewise.
2867 * manual/socket.texi: Likewise.
2868 * manual/stdio.texi: Likewise.
2869 * manual/string.texi: Likewise.
2870 * manual/time.texi: Likewise.
2871 * manual/users.texi: Likewise.
2872
ade40b10
CD
28732014-02-25 Carlos O'Donell <carlos@redhat.com>
2874
2875 [BZ #16632]
2876 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2877 _DEFAULT_SOURCE is defined.
2878
d0503676
CD
28792014-02-25 Ulrich Drepper <drepper@gmail.com>
2880 Carlos O'Donell <carlos@redhat.com>
2881
2882 [BZ #16613]
2883 * elf/dl-tls.c (_dl_count_modids): New function.
2884 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2885 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2886 audit library and increment generation counter.
2887 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2888 * elf/tst-audit9.c: New file.
2889 * elf/tst-auditmod9a.c: New file.
2890 * elf/tst-auditmod9b.c: New file.
2891 * elf/Makefile: Add rules to build and run tst-audit9.
2892
4cbf380c
FW
28932014-02-25 Florian Weimer <fweimer@redhat.com>
2894
2895 [BZ #15347]
2896 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2897
80a56cc3
WN
28982014-02-25 Will Newton <will.newton@linaro.org>
2899
2900 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2901 (__longjmp): Restore sp and lr before restoring callee
2902 saved registers. Add longjmp and longjmp_target
2903 SystemTap probe point.
2904 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2905 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2906 Define to zero to match jmpbuf layout.
2907 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2908 (__sigsetjmp): Save sp and lr before saving callee
2909 saved registers. Add setjmp SystemTap probe point.
2910
3ea0f74e
SL
29112014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2912
2913 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2914
b04acb26
AS
29152014-02-24 Andreas Schwab <schwab@suse.de>
2916
2917 [BZ #15804]
2918 * elf/pldd.c (wait_for_ptrace_stop): New function.
2919 (main): Call it after attaching.
2920
098ad55c
RM
29212014-02-22 Roland McGrath <roland@hack.frob.com>
2922
d4ec6ae1
RM
2923 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2924 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2925 Versions files is now verboten.
2926 * hurd/Versions (libc: GLIBC_2.0):
2927 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2928 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2929 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2930 * mach/Versions: Likewise.
2931
098ad55c
RM
2932 * csu/Versions: Remove unused %include.
2933 * resolv/Versions: Likewise.
2934
acd7f096
JM
29352014-02-21 Joseph Myers <joseph@codesourcery.com>
2936
f0881698
JM
2937 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2938 ($(objpfx)check-local-headers.out): Likewise.
2939 ($(objpfx)begin-end-check.out): Likewise.
2940 * Makerules (check-abi-%.out): Likewise.
2941 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2942 ($(objpfx)test2.cat): Likewise.
2943 ($(objpfx)de/libc.cat): Likewise.
2944 ($(objpfx)test-gencat.out): Likewise.
2945 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2946 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2947 ($(objpfx)noload-mem): Likewise.
2948 ($(objpfx)tst-pathopt.out): Likewise.
2949 ($(objpfx)tst-rtld-load-self.out): Likewise.
2950 ($(objpfx)tst-array1-cmp.out): Likewise.
2951 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2952 ($(objpfx)tst-array2-cmp.out): Likewise.
2953 ($(objpfx)tst-array3-cmp.out): Likewise.
2954 ($(objpfx)tst-array4-cmp.out): Likewise.
2955 ($(objpfx)tst-array5-cmp.out): Likewise.
2956 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2957 ($(objpfx)check-textrel.out): Likewise.
2958 ($(objpfx)check-execstack.out): Likewise.
2959 ($(objpfx)check-localplt.out): Likewise.
2960 ($(objpfx)order2-cmp.out): Likewise.
2961 ($(objpfx)tst-leaks1-mem): Likewise.
2962 ($(objpfx)tst-leaks1-static-mem): Likewise.
2963 ($(objpfx)tst-initorder-cmp.out): Likewise.
2964 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2965 ($(objpfx)tst-unused-dep.out): Likewise.
2966 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2967 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2968 * iconv/Makefile (test-iconvconfig): Likewise.
2969 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2970 ($(objpfx)iconv-test.out): Likewise.
2971 ($(objpfx)tst-tables.out): Likewise.
2972 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2973 ($(objpfx)tst-gettext.out): Likewise.
2974 ($(objpfx)tst-translit.out): Likewise.
2975 ($(objpfx)tst-gettext2.out): Likewise.
2976 ($(objpfx)tst-gettext4.out): Likewise.
2977 ($(objpfx)tst-gettext6.out): Likewise.
2978 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2979 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2980 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2981 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2982 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2983 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2984 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2985 ($(objpfx)wordexp-tst.out): Likewise.
2986 ($(objpfx)annexc.out): Likewise.
2987 ($(objpfx)tst-fnmatch-mem): Likewise.
2988 ($(objpfx)bug-regex2-mem): Likewise.
2989 ($(objpfx)bug-regex14-mem): Likewise.
2990 ($(objpfx)bug-regex21-mem): Likewise.
2991 ($(objpfx)bug-regex31-mem): Likewise.
2992 ($(objpfx)tst-vfork3-mem): Likewise.
2993 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2994 ($(objpfx)tst-pcre-mem): Likewise.
2995 ($(objpfx)tst-boost-mem): Likewise.
2996 ($(objpfx)tst-getconf.out): Likewise.
2997 ($(objpfx)bug-ga2-mem): Likewise.
2998 ($(objpfx)bug-glob2-mem): Likewise.
2999 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3000 ($(objpfx)mtrace-tst-leaks2): Likewise.
3001 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3002 ($(objpfx)tst-printf.out): Likewise.
3003 ($(objpfx)tst-setvbuf1.out): Likewise.
3004 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3005 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3006 ($(objpfx)tst-fmtmsg.out): Likewise.
3007 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3008 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3009
acd7f096
JM
3010 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3011 * bits/sigaction.h [__USE_MISC]: Likewise.
3012 * bits/waitstatus.h: Update #endif comments.
3013 * ctype/ctype.h: Likewise.
3014 * dirent/dirent.h: Likewise.
3015 [__USE_MISC]: Remove redundant conditionals.
3016 * grp/grp.h: Update #endif comments.
3017 [__USE_GNU]: Remove redundant conditionals.
3018 [__USE_MISC]: Likewise.
3019 * inet/netinet/in.h [__USE_GNU]: Likewise.
3020 * io/sys/stat.h [__USE_MISC]: Likewise.
3021 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3022 * libio/bits/stdio.h: Update #endif comments.
3023 [__USE_MISC]: Remove redundant conditionals.
3024 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3025 * libio/stdio.h: Update #endif comments.
3026 [__USE_MISC]: Remove redundant conditionals.
3027 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3028 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3029 * math/math.h: Update #else and #endif comments.
3030 [__USE_MISC]: Remove redundant conditionals.
3031 * misc/sys/uio.h: Update #endif comments.
3032 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3033 * posix/glob.h [__USE_MISC]: Likewise.
3034 * posix/sys/types.h: Update #endif comments.
3035 [__USE_MISC]: Remove redundant conditionals.
3036 * posix/sys/wait.h: Update #endif comments.
3037 [__USE_MISC]: Remove redundant conditionals.
3038 * posix/unistd.h: Update #endif comments.
3039 [__USE_MISC]: Remove redundant conditionals.
3040 * pwd/pwd.h [__USE_GNU]: Likewise.
3041 [__USE_MISC]: Likewise.
3042 * resolv/netdb.h [__USE_GNU]: Likewise.
3043 * signal/signal.h: Update #endif comments.
3044 [__USE_MISC]: Remove redundant conditionals.
3045 * stdlib/stdlib.h: Update #else and #endif comments.
3046 [__USE_MISC]: Remove redundant conditionals.
3047 [__USE_GNU]: Likewise.
3048 * string/bits/string2.h [__USE_MISC]: Likewise.
3049 * string/string.h: Update #endif comments.
3050 [__USE_MISC]: Remove redundant conditionals.
3051 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3052 Likewise.
3053 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3054 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3055 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3056 Likewise.
3057 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3058 Likewise.
3059 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3060 comments.
3061 [__USE_MISC]: Remove redundant conditionals.
3062 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3063 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3064 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3065 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3066 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3067 Likewise.
3068 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3069 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3070 Likewise.
3071 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3072 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3073 Likewise.
3074 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3075 Likewise.
3076 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3077 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3078 Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3080 Likewise.
3081 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3082 * sysdeps/x86/bits/string.h: Update #endif comments.
3083 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3084 conditionals.
3085 * time/sys/time.h: Update #endif comments.
3086 * time/time.h: Likewise.
3087 [__USE_MISC]: Remove redundant conditionals.
3088
a5d82e4e
YG
30892014-02-21 Yury Gribov <y.gribov@samsung.com>
3090
3091 [BZ #16600]
3092 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3093
9a80491d
AS
30942014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3095
3096 * Versions.def (librt): Add GLIBC_2.17.
3097
105fa381
AC
30982014-02-21 Adam Conrad <adconrad@0c3.net>
3099
3100 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3101 synonym for _SYS_AUXV_H to allow direct inclusion.
3102 * sysdeps/sparc/bits/hwcap.h: Likewise.
3103 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3104 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3105 * sysdeps/sparc/sysdep.h: Likewise.
3106
b8cd1c4e
SP
31072014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3108
3109 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3110
bd939d23
RS
31112014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3112
3113 * benchtests/bench-strrchr.c: Print length instead of position.
3114
5d7b57ca
JM
31152014-02-20 Joseph Myers <joseph@codesourcery.com>
3116
bc688c10
JM
3117 [BZ #16611]
3118 * sysdeps/unix/sysv/linux/kernel-features.h
3119 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3120 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3121 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3122 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3123 Likewise.
3124 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3125 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3126 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3127 (__ASSUME_SENDMMSG): Define instead of using previous
3128 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3129 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3130 (__ASSUME_SENDMMSG_SYSCALL): Define.
3131 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3132 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3133 Likewise.
3134 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3135 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3136 Likewise.
3137 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3138 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3139 Likewise.
3140 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3141 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3142 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3143 [__ASSUME_SENDMMSG]: Change conditionals to
3144 [__ASSUME_SENDMMSG_SOCKETCALL].
3145 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3146 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3147 Define.
3148 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3149 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3150 Likewise.
3151 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3152 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3153 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3154 [!__ASSUME_SENDMMSG]: Change conditional to
3155 [!__ASSUME_SENDMMSG_SOCKETCALL].
3156 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3157 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3158 Define.
3159
0e31b18c
JM
3160 [BZ #16610]
3161 * sysdeps/unix/sysv/linux/kernel-features.h
3162 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3163 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3164 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3165 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3166 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3167 [__i386__ || __sparc__]
3168 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3169 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3170 (__ASSUME_RECVMMSG): Define instead of using previous
3171 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3172 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3173 (__ASSUME_RECVMMSG_SYSCALL): Define.
3174 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3175 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3176 Likewise.
3177 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3178 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3179 Likewise.
3180 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3181 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3182 Likewise.
3183 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3184 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3185 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3186 [__ASSUME_RECVMMSG]: Change condition to
3187 [__ASSUME_RECVMMSG_SOCKETCALL].
3188 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3189 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3190 Define.
3191 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3192 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3193 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3194 Likewise.
3195 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3196 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3197 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3198 [!__ASSUME_RECVMMSG]: Change condition to
3199 [!__ASSUME_RECVMMSG_SOCKETCALL].
3200 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3201 (__ASSUME_RECVMMSG_SYSCALL): Define.
3202
dd481ccf
JM
3203 [BZ #16609]
3204 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3205 __powerpc__ || __s390__ || __sh__ || __sparc__]
3206 (__ASSUME_SOCKETCALL): Define.
3207 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3208 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3209 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3210 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3211 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3212 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3213 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3214 (__ASSUME_ACCEPT4): Define instead of using previous
3215 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3216 __powerpc__ || __sparc__ || __s390__)] condition.
3217 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3218 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3219 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3220 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3221 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3222 [!__ASSUME_ACCEPT4]: Change condition to
3223 [!__ASSUME_ACCEPT4_SOCKETCALL].
3224 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3225 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3226 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3227 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3228 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3229 __ASSUME_ACCEPT4_SYSCALL.
3230 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3231 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3232 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3233 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3234 __ASSUME_ACCEPT4_SYSCALL.
3235 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3236 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3237 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3238 [__ASSUME_ACCEPT4]: Change condition to
3239 [__ASSUME_ACCEPT4_SOCKETCALL].
3240 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3241 (__ASSUME_SOCKETCALL): Define.
3242 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3243 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3244 (__ASSUME_SOCKETCALL): Define.
3245 (__ASSUME_ACCEPT4): Remove.
3246 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3247 Define.
3248 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3249 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3250 Likewise.
3251 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3252 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3253
5d7b57ca
JM
3254 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3255 macro.
3256 (HWCAP_ARM_LPAE): Likewise.
3257 (HWCAP_ARM_EVTSTRM): Likewise.
3258 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3259 Add vpfd32, lpae and evtstrm.
3260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3261 Increase to 22.
3262
63689d61
JM
32632014-02-19 Joseph Myers <joseph@codesourcery.com>
3264
3265 * math/auto-libm-test-in: Add tests of clog10.
3266 * math/auto-libm-test-out: Regenerated.
3267 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3268 * sysdeps/i386/fpu/libm-test-ulps: Update.
3269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3270
ab09bf61
AS
32712014-02-18 Andreas Schwab <schwab@suse.de>
3272
3273 [BZ #16574]
3274 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3275 Store non-zero if the second buffer was newly allocated.
3276 (send_dg): Likewise.
3277 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3278 to send_vc and send_dg.
3279 (res_nsend): Pass NULL for ansp2_malloced.
3280 * resolv/res_query.c (__libc_res_nquery): Add parameter
3281 answerp2_malloced and pass it down to __libc_res_nsend.
3282 (res_nquery): Pass additional NULL to __libc_res_nquery.
3283 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3284 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3285 second answer buffer if answerp2_malloced was set.
3286 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3287 (__libc_res_nquerydomain): Add parameter
3288 answerp2_malloced and pass it down to __libc_res_nquery.
3289 (res_nquerydomain): Pass additional NULL to
3290 __libc_res_nquerydomain.
3291 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3292 additional NULL to __libc_res_nsend and __libc_res_nquery.
3293 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3294 additional NULL to __libc_res_nsearch.
3295 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3296 parameter of __libc_res_nsearch to check for separately allocated
3297 second buffer.
3298 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3299 __libc_res_nquery.
3300 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3301 additional NULL to __libc_res_nquery.
3302 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3303 __libc_res_nsearch.
3304 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3305 * include/resolv.h: Update prototypes of __libc_res_nquery,
3306 __libc_res_nsearch, __libc_res_nsend.
3307
a4fb7861
JM
33082014-02-18 Joseph Myers <joseph@codesourcery.com>
3309
c6af2d89
JM
3310 * math/auto-libm-test-in: Add tests of fma.
3311 * math/auto-libm-test-out: Regenerated.
3312 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3313 (fma_towardzero_test_data): Likewise.
3314 (fma_downward_test_data): Likewise.
3315 (fma_upward_test_data): Likewise.
3316 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3317 mpc_mode.
3318 (rounding_modes): Add values for new field.
3319 (func_calc_method): Add value mpfr_fff_f.
3320 (func_calc_desc): Add mpfr_fff_f union field.
3321 (test_function): Add field exact_args.
3322 (FUNC): Add macro argument EXACT_ARGS.
3323 (FUNC_mpfr_f_f): Update call to FUNC.
3324 (FUNC_mpfr_f_f): Likewise.
3325 (FUNC_mpfr_ff_f): Likewise.
3326 (FUNC_mpfr_if_f): Likewise.
3327 (FUNC_mpc_c_f): Likewise.
3328 (FUNC_mpc_c_c): Likewise.
3329 (test_functions): Add fma. Update calls to FUNC.
3330 (handle_input_arg): Add argument exact_args.
3331 (add_test): Update call to handle_input_arg.
3332 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3333 (output_for_one_input_case): Update call to calc_generic_results.
3334 Recalculate exact zero results in each rounding mode.
3335
a4fb7861
JM
3336 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3337 non-negative before setting low bit.
3338 * math/auto-libm-test-in: Mark one asin test possibly having
3339 spurious underflow.
3340 * math/auto-libm-test-out: Regenerated.
3341 * sysdeps/i386/fpu/libm-test-ulps: Update.
3342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3343
ef114eaf
DH
33442014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3345
2b7f4f2c
SP
3346 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3347 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3348 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3349 * README: Add missing listing for microblaze*-*-linux-gnu.
3350
c70a4b1d
MF
33512014-02-16 Mike Frysinger <vapier@gentoo.org>
3352
3353 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3354 * sysdeps/unix/sysv/linux/ia64: Move directory from
3355 ports/sysdeps/unix/sysv/linux/ia64.
3356 * README: Update listing for ia64-*-linux-gnu.
3357
591aeaf7
TD
33582014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3359 Joseph Myers <joseph@codesourcery.com>
3360
3361 * Makeconfig (test-name): New variable.
3362 (evaluate-test): Likewise.
3363 * Makerules (do-test-clean): Remove .test-result files.
3364 (common-mostlyclean): Likewise.
3365 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3366 * scripts/evaluate-test.sh: New file.
3367
6e89caf1
JM
33682014-02-14 Joseph Myers <joseph@codesourcery.com>
3369
7f98f180
JM
3370 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3371 separate $(objpfx)tst-fopenloc-cmp.out and
3372 $(objpfx)tst-fopenloc-mem.out targets.
3373 (tests): Update dependencies.
3374 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3375 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3376 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3377 (tst-rxspencer-no-utf8-ARGS): New variable.
3378 (tst-rxspencer-no-utf8-ENV): Likewise.
3379 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3380 instead of $(objpfx)tst-rxspencer-mem.
3381 ($(objpfx)tst-rxspencer-mem): Change target to
3382 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3383 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3384 * posix/tst-rxspencer-no-utf8.c: New file.
3385
6e89caf1
JM
3386 * elf/Makefile ($(objpfx)order.out): Remove rule.
3387 [$(run-built-tests) = yes] (tests): Depend on
3388 $(objpfx)order-cmp.out.
3389 ($(objpfx)order-cmp.out): New rule.
3390 [$(run-built-tests) = yes] (tests): Depend on
3391 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3392 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3393 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3394 $(objpfx)tst-array5-static-cmp.out.
3395 ($(objpfx)tst-array1.out): Remove rule.
3396 ($(objpfx)tst-array1-cmp.out): New rule.
3397 ($(objpfx)tst-array1-static.out): Remove rule.
3398 ($(objpfx)tst-array1-static-cmp.out): New rule.
3399 ($(objpfx)tst-array2.out): Remove rule.
3400 ($(objpfx)tst-array2-cmp.out): New rule.
3401 ($(objpfx)tst-array3.out): Remove rule.
3402 ($(objpfx)tst-array3-cmp.out): New rule.
3403 ($(objpfx)tst-array4.out): Remove rule.
3404 ($(objpfx)tst-array4-cmp.out): New rule.
3405 ($(objpfx)tst-array5.out): Remove rule.
3406 ($(objpfx)tst-array5-cmp.out): New rule.
3407 ($(objpfx)tst-array5-static.out): Remove rule.
3408 ($(objpfx)tst-array5-static-cmp.out): New rule.
3409 [$(run-built-tests) = yes] (tests): Depend on
3410 $(objpfx)order2-cmp.out.
3411 ($(objpfx)order2.out): Remove rule.
3412 ($(objpfx)order2-cmp.out): New rule.
3413 ($(objpfx)tst-initorder.out): Remove rule.
3414 [$(run-built-tests) = yes] (tests): Depend on
3415 $(objpfx)tst-initorder-cmp.out.
3416 ($(objpfx)tst-initorder-cmp.out): New rule.
3417 ($(objpfx)tst-initorder2.out): Remove rule.
3418 [$(run-built-tests) = yes] (tests): Depend on
3419 $(objpfx)tst-initorder2-cmp.out.
3420 ($(objpfx)tst-initorder2-cmp.out): New rule.
3421 [$(run-built-tests) = yes] (tests): Depend on
3422 $(objpfx)tst-unused-dep-cmp.out.
3423 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3424 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3425 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3426 on $(objpfx)tst-setvbuf1-cmp.out.
3427 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3428 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3429 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3430 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3431 ($(objpfx)tst-svc.out): Remove rule.
3432 ($(objpfx)tst-svc-cmp.out): New rule.
3433
ed9a38e2
JM
34342014-02-13 Joseph Myers <joseph@codesourcery.com>
3435
3436 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3437 * ctype/ctype.h [__USE_MISC]: Likewise.
3438 * dirent/dirent.h [__USE_MISC]: Likewise.
3439 * grp/grp.h [__USE_MISC]: Likewise.
3440 * io/fcntl.h [__USE_MISC]: Likewise.
3441 * io/sys/stat.h [__USE_MISC]: Likewise.
3442 * libio/stdio.h [__USE_MISC]: Likewise.
3443 * posix/unistd.h [__USE_MISC]: Likewise.
3444 * pwd/pwd.h [__USE_MISC]: Likewise.
3445 * stdlib.h [__USE_MISC]: Likewise.
3446 * string/bits/string2.h [__USE_MISC]: Likewise.
3447 * string/string.h [__USE_MISC]: Likewise.
3448 * time/time.h [__USE_MISC]: Likewise.
3449
d6680619
AS
34502014-02-13 Andreas Schwab <schwab@suse.de>
3451
3452 [BZ #16574]
3453 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3454 second answer buffer if it was separately allocated.
3455
ace614b8
JM
34562014-02-12 Joseph Myers <joseph@codesourcery.com>
3457
743151ae
JM
3458 * sysdeps/mips/math-tests.h: Include <features.h>.
3459 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3460 (ROUNDING_TESTS_long_double): Do not define.
3461 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3462 (EXCEPTION_TESTS_long_double): Likewise.
3463 * sysdeps/mips/mips64/libm-test-ulps: Update.
3464
498afc54
JM
3465 * include/features.h (__USE_BSD): Remove macro definitions.
3466 (__USE_SVID): Likewise.
3467 (_BSD_SOURCE): Likewise.
3468 (_SVID_SOURCE): Likewise.
3469 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3470 from definition of _DEFAULT_SOURCE.
3471 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3472 [_DEFAULT_SOURCE].
3473 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3474 * bits/mman.h [__USE_BSD]: Likewise.
3475 * bits/termios.h [__USE_BSD]: Likewise.
3476 * bits/waitstatus.h [__USE_BSD]: Likewise.
3477 * ctype/ctype.h [__USE_SVID]: Likewise.
3478 * dirent/dirent.h [__USE_BSD]: Likewise.
3479 * grp/grp.h [__USE_SVID]: Likewise.
3480 [__USE_BSD]: Likewise.
3481 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3482 * io/fcntl.h [__USE_BSD]: Likewise.
3483 * io/ftw.h [__USE_BSD]: Likewise.
3484 * io/sys/stat.h [__USE_BSD]: Likewise.
3485 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3486 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3487 * libio/stdio.h [__USE_SVID]: Likewise.
3488 [__USE_BSD]: Likewise.
3489 * math/math.h [__USE_SVID]: Likewise.
3490 [__USE_BSD]: Likewise.
3491 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3492 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3493 * misc/search.h [__USE_SVID]: Likewise.
3494 * misc/sys/mman.h [__USE_BSD]: Likewise.
3495 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3496 * misc/sys/uio.h [__USE_BSD]: Likewise.
3497 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3498 * posix/glob.h [__USE_BSD]: Likewise.
3499 * posix/regex.h [__USE_BSD]: Likewise.
3500 * posix/sys/types.h [__USE_BSD]: Likewise.
3501 [__USE_SVID]: Likewise.
3502 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3503 * posix/sys/wait.h [__USE_BSD]: Likewise.
3504 [__USE_SVID]: Likewise.
3505 * posix/unistd.h [__USE_BSD]: Likewise.
3506 [__USE_SVID]: Likewise.
3507 * pwd/pwd.h [__USE_SVID]: Likewise.
3508 * resolv/netdb.h [__USE_BSD]: Likewise.
3509 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3510 * signal/signal.h [__USE_BSD]: Likewise.
3511 [__USE_SVID]: Likewise.
3512 * socket/sys/socket.h [__USE_BSD]: Likewise.
3513 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3514 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3515 [__USE_SVID]: Likewise.
3516 * string/bits/string2.h [__USE_BSD]: Likewise.
3517 [__USE_SVID]: Likewise.
3518 * string/bits/string3.h [__USE_BSD]: Likewise.
3519 * string/endian.h [__USE_BSD]: Likewise.
3520 * string/string.h [__USE_SVID]: Likewise.
3521 [__USE_BSD]: Likewise.
3522 * string/strings.h [__USE_BSD]: Likewise.
3523 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3524 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3525 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3526 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3527 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3528 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3529 Likewise.
3530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3531 Likewise.
3532 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3533 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3534 Likewise.
3535 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3536 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3537 Likewise.
3538 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3539 Likewise.
3540 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3541 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3542 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3543 Likewise.
3544 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3545 Likewise.
3546 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3547 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3548 * termios/termios.h [__USE_BSD]: Likewise.
3549 * time/sys/time.h [__USE_BSD]: Likewise.
3550 * time/time.h [__USE_BSD]: Likewise.
3551 [__USE_SVID]: Likewise.
3552
dd7b064c
JM
3553 * Makefile (subdir_targets): Remove subdir_lint.out.
3554
a2c4c199
JM
3555 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3556 (do-tst-printf): Likewise.
3557 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3558 $(objpfx)tst-printf.out.
3559
8756f740
JM
3560 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3561
1b6dd3f1
JM
3562 * Makerules (check-abi-%): Change target to
3563 $(objpfx)check-abi-%.out.
3564 (check-abi target): Update dependencies.
3565 (check-abi-pattern variable): Redirect output of diff to $@.
3566 (check-abi variable): Likewise.
3567 * elf/Makefile (check-abi): Update dependencies.
3568
ace614b8
JM
3569 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3570 unused.
3571 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3572 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3573 subnormal range.
3574 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3575 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3576 value has largest subnormal exponent.
3577 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3578 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3579 * sysdeps/aarch64/soft-fp/sfp-machine.h
3580 (_FP_TININESS_AFTER_ROUNDING): New macro.
3581 * sysdeps/alpha/soft-fp/sfp-machine.h
3582 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3583 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3584 Likewise.
3585 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3586 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3587 * sysdeps/mips/soft-fp/sfp-machine.h
3588 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3589 * sysdeps/powerpc/soft-fp/sfp-machine.h
3590 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3591 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3592 Likewise.
3593 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3594 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3596 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3597 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3598 Likewise.
3599
fbfdf9cb
DAS
36002014-02-12 Dylan Alex Simon <dylan@dylex.net>
3601
3602 [BZ #16545]
3603 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3604 model 1.
3605
68b7efaa
RH
36062014-02-12 Richard Henderson <rth@redhat.com>
3607
c70a4b1d 3608 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3609 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3610 * sysdeps/unix/sysv/linux/alpha: Move directory from
3611 ports/sysdeps/unix/sysv/linux/alpha.
3612 * README: Update listing for alpha-*-linux-gnu.
3613
cb4a2928
JM
36142014-02-11 Joseph Myers <joseph@codesourcery.com>
3615
c941736c
JM
3616 * include/features.h: Update comment documenting feature test
3617 macros.
3618 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3619 _DEFAULT_SOURCE.
3620 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3621 (_SVID_SOURCE): Likewise.
3622 (_DEFAULT_SOURCE): Update description of default features.
3623 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3624 with _GNU_SOURCE.
3625 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3626 (S_ISVTX): Likewise.
3627 * manual/math.texi (Mathematical Constants): Likewise.
3628 * manual/signal.texi (Interrupted Primitives): Likewise.
3629 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3630 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3631 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3632 Don't refer to _SVID_SOURCE in warning text.
3633
e8d8d7ec
JM
3634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3635
cb4a2928
JM
3636 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3637 already defined.
3638 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3639 * sysdeps/mips/dl-lookup.c: Remove.
3640 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3641
7e6424e3
AK
36422014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3643
3644 [BZ #16447]
3645 * math/auto-libm-test-in: Add testcase for expl.
3646 * math/auto-libm-test-out: Regenerate.
3647 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3648 calculation of unsafe.
3649 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3650
75eff3fe
MS
36512014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3652
3653 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3654 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3655 ports/sysdeps/unix/sysv/linux/aarch64.
3656 * README: Update listing for aarch64*-*-linux-gnu.
3657
d35f1e80
WN
36582014-02-11 Will Newton <will.newton@linaro.org>
3659
3660 * manual/probes.texi (Mathematical Function Probes): Use
3661 "triggered" instead of "hit".
3662
7b3436d4
WN
36632014-02-11 Will Newton <will.newton@linaro.org>
3664
3665 * manual/probes.texi (Internal Probes): Add documentation
3666 of setjmp, longjmp and longjmp_target probes.
3667
b4f12ca3
WN
36682014-02-11 Will Newton <will.newton@linaro.org>
3669
3670 * include/stap-probe.h: Add comment about probe argument
3671 format.
3672
c13a72b7
WN
36732014-02-11 Will Newton <will.newton@linaro.org>
3674
3675 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3676 definition. (tr_where, tr_freehook, tr_mallochook,
3677 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3678
195b8165
DM
36792014-02-11 David S. Miller <davem@davemloft.net>
3680
3681 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3682 processing int_tests.
3683
2ad7600b
JM
36842014-02-10 Joseph Myers <joseph@codesourcery.com>
3685
3686 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3687 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3688 * sysdeps/unix/sysv/linux/mips: Move directory from
3689 ports/sysdeps/unix/sysv/linux/mips.
3690 * README: Update listing for mips-*-linux-gnu and
3691 mips64-*-linux-gnu.
3692
73588a72
AS
36932014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3694
3695 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3696 * sysdeps/unix/sysv/linux/m68k: Move directory from
3697 ports/sysdeps/unix/sysv/linux/m68k.
3698 * README: Update listing for m68k-*-linux-gnu.
3699
4372980f
CM
37002014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3701
3702 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3703 * sysdeps/unix/sysv/linux/generic: Move directory from
3704 ports/sysdeps/unix/sysv/linux/generic.
3705 * sysdeps/unix/sysv/linux/tile: Move directory from
3706 ports/sysdeps/unix/sysv/linux/tile.
3707 * README: Update listing for tile*-*-linux-gnu.
3708
a1ffb40e
OB
37092014-02-10 Ondřej Bílka <neleai@seznam.cz>
3710
3711 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3712 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3713 * catgets/open_catalog.c (__open_catalog): Likewise.
3714 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3715 * debug/confstr_chk.c: Likewise.
3716 * debug/fread_chk.c (__fread_chk): Likewise.
3717 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3718 * debug/getgroups_chk.c: Likewise.
3719 * debug/mbsnrtowcs_chk.c: Likewise.
3720 * debug/mbsrtowcs_chk.c: Likewise.
3721 * debug/mbstowcs_chk.c: Likewise.
3722 * debug/memcpy_chk.c: Likewise.
3723 * debug/memmove_chk.c: Likewise.
3724 * debug/mempcpy_chk.c: Likewise.
3725 * debug/memset_chk.c: Likewise.
3726 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3727 * debug/strcat_chk.c (__strcat_chk): Likewise.
3728 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3729 * debug/strncat_chk.c (__strncat_chk): Likewise.
3730 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3731 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3732 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3733 * debug/wcpncpy_chk.c: Likewise.
3734 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3735 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3736 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3737 * debug/wcsncpy_chk.c: Likewise.
3738 * debug/wcsnrtombs_chk.c: Likewise.
3739 * debug/wcsrtombs_chk.c: Likewise.
3740 * debug/wcstombs_chk.c: Likewise.
3741 * debug/wmemcpy_chk.c: Likewise.
3742 * debug/wmemmove_chk.c: Likewise.
3743 * debug/wmempcpy_chk.c: Likewise.
3744 * debug/wmemset_chk.c: Likewise.
3745 * dirent/scandirat.c (SCANDIRAT): Likewise.
3746 * dlfcn/dladdr1.c (dladdr1): Likewise.
3747 * dlfcn/dladdr.c (dladdr): Likewise.
3748 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3749 * dlfcn/dlerror.c (__dlerror): Likewise.
3750 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3751 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3752 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3753 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3754 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3755 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3756 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3757 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3758 Likewise.
3759 * elf/dl-conflict.c: Likewise.
3760 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3761 * elf/dl-dst.h: Likewise.
3762 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3763 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3764 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3765 * elf/dl-init.c (call_init, _dl_init): Likewise.
3766 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3767 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3768 _dl_map_object_from_fd, open_verify, open_path,
3769 _dl_map_object): Likewise.
3770 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3771 Likewise.
3772 * elf/dl-minimal.c (__libc_memalign): Likewise.
3773 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3774 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3775 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3776 * elf/dl-sym.c (do_sym): Likewise.
3777 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3778 _dl_tls_get_addr_soft): Likewise.
3779 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3780 * elf/dl-writev.h (_dl_writev): Likewise.
3781 * elf/ldconfig.c (search_dir): Likewise.
3782 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3783 dl_main): Likewise.
3784 * elf/setup-vdso.h (setup_vdso): Likewise.
3785 * grp/compat-initgroups.c (compat_call): Likewise.
3786 * grp/fgetgrent.c (fgetgrent): Likewise.
3787 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3788 * grp/putgrent.c (putgrent): Likewise.
3789 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3790 Likewise.
3791 * hurd/hurdinit.c: Likewise.
3792 * iconvdata/8bit-gap.c (struct): Likewise.
3793 * iconvdata/ansi_x3.110.c : Likewise.
3794 * iconvdata/big5.c : Likewise.
3795 * iconvdata/big5hkscs.c : Likewise.
3796 * iconvdata/cp1255.c: Likewise.
3797 * iconvdata/cp1258.c : Likewise.
3798 * iconvdata/cp932.c : Likewise.
3799 * iconvdata/euc-cn.c: Likewise.
3800 * iconvdata/euc-jisx0213.c : Likewise.
3801 * iconvdata/euc-jp.c: Likewise.
3802 * iconvdata/euc-jp-ms.c : Likewise.
3803 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3804 * iconvdata/gb18030.c : Likewise.
3805 * iconvdata/gbbig5.c (const): Likewise.
3806 * iconvdata/gbgbk.c: Likewise.
3807 * iconvdata/gbk.c : Likewise.
3808 * iconvdata/ibm1364.c : Likewise.
3809 * iconvdata/ibm930.c : Likewise.
3810 * iconvdata/ibm932.c: Likewise.
3811 * iconvdata/ibm933.c : Likewise.
3812 * iconvdata/ibm935.c : Likewise.
3813 * iconvdata/ibm937.c : Likewise.
3814 * iconvdata/ibm939.c : Likewise.
3815 * iconvdata/ibm943.c: Likewise.
3816 * iconvdata/iso_11548-1.c: Likewise.
3817 * iconvdata/iso-2022-cn.c : Likewise.
3818 * iconvdata/iso-2022-cn-ext.c : Likewise.
3819 * iconvdata/iso-2022-jp-3.c: Likewise.
3820 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3821 * iconvdata/iso-2022-kr.c : Likewise.
3822 * iconvdata/iso646.c (gconv_end): Likewise.
3823 * iconvdata/iso_6937-2.c : Likewise.
3824 * iconvdata/iso_6937.c : Likewise.
3825 * iconvdata/iso8859-1.c: Likewise.
3826 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3827 * iconvdata/shift_jisx0213.c : Likewise.
3828 * iconvdata/sjis.c : Likewise.
3829 * iconvdata/t.61.c : Likewise.
3830 * iconvdata/tcvn5712-1.c : Likewise.
3831 * iconvdata/tscii.c: Likewise.
3832 * iconvdata/uhc.c : Likewise.
3833 * iconvdata/unicode.c (gconv_end): Likewise.
3834 * iconvdata/utf-16.c (gconv_end): Likewise.
3835 * iconvdata/utf-32.c (gconv_end): Likewise.
3836 * iconvdata/utf-7.c (base64): Likewise.
3837 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3838 * iconv/gconv_close.c (__gconv_close): Likewise.
3839 * iconv/gconv_open.c (__gconv_open): Likewise.
3840 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3841 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3842 internal_ucs4le_loop_single, ucs4le_internal_loop,
3843 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3844 * iconv/iconv.c (iconv): Likewise.
3845 * iconv/iconv_close.c: Likewise.
3846 * iconv/loop.c (SINGLE): Likewise.
3847 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3848 * include/atomic.h: Likewise.
3849 * inet/inet6_option.c (option_alloc): Likewise.
3850 * intl/bindtextdom.c (set_binding_values): Likewise.
3851 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3852 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3853 * intl/localealias.c (read_alias_file): Likewise.
3854 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3855 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3856 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3857 * libio/fmemopen.c (fmemopen): Likewise.
3858 * libio/iofgets.c (_IO_fgets): Likewise.
3859 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3860 * libio/iofgetws.c (fgetws): Likewise.
3861 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3862 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3863 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3864 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3865 * locale/findlocale.c (_nl_find_locale): Likewise.
3866 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3867 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3868 Likewise.
3869 * locale/setlocale.c (setlocale): Likewise.
3870 * login/programs/pt_chown.c (main): Likewise.
3871 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3872 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3873 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3874 mmap, mmap64, mremap, munmap): Likewise.
3875 * math/e_exp2l.c: Likewise.
3876 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3877 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3878 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3879 * math/s_catan.c (__catan): Likewise.
3880 * math/s_catanf.c (__catanf): Likewise.
3881 * math/s_catanh.c (__catanh): Likewise.
3882 * math/s_catanhf.c (__catanhf): Likewise.
3883 * math/s_catanhl.c (__catanhl): Likewise.
3884 * math/s_catanl.c (__catanl): Likewise.
3885 * math/s_ccosh.c (__ccosh): Likewise.
3886 * math/s_ccoshf.c (__ccoshf): Likewise.
3887 * math/s_ccoshl.c (__ccoshl): Likewise.
3888 * math/s_cexp.c (__cexp): Likewise.
3889 * math/s_cexpf.c (__cexpf): Likewise.
3890 * math/s_cexpl.c (__cexpl): Likewise.
3891 * math/s_clog10.c (__clog10): Likewise.
3892 * math/s_clog10f.c (__clog10f): Likewise.
3893 * math/s_clog10l.c (__clog10l): Likewise.
3894 * math/s_clog.c (__clog): Likewise.
3895 * math/s_clogf.c (__clogf): Likewise.
3896 * math/s_clogl.c (__clogl): Likewise.
3897 * math/s_csin.c (__csin): Likewise.
3898 * math/s_csinf.c (__csinf): Likewise.
3899 * math/s_csinh.c (__csinh): Likewise.
3900 * math/s_csinhf.c (__csinhf): Likewise.
3901 * math/s_csinhl.c (__csinhl): Likewise.
3902 * math/s_csinl.c (__csinl): Likewise.
3903 * math/s_csqrt.c (__csqrt): Likewise.
3904 * math/s_csqrtf.c (__csqrtf): Likewise.
3905 * math/s_csqrtl.c (__csqrtl): Likewise.
3906 * math/s_ctan.c (__ctan): Likewise.
3907 * math/s_ctanf.c (__ctanf): Likewise.
3908 * math/s_ctanh.c (__ctanh): Likewise.
3909 * math/s_ctanhf.c (__ctanhf): Likewise.
3910 * math/s_ctanhl.c (__ctanhl): Likewise.
3911 * math/s_ctanl.c (__ctanl): Likewise.
3912 * math/w_pow.c: Likewise.
3913 * math/w_powf.c: Likewise.
3914 * math/w_powl.c: Likewise.
3915 * math/w_scalb.c (sysv_scalb): Likewise.
3916 * math/w_scalbf.c (sysv_scalbf): Likewise.
3917 * math/w_scalbl.c (sysv_scalbl): Likewise.
3918 * misc/error.c (error_tail): Likewise.
3919 * misc/pselect.c (__pselect): Likewise.
3920 * nis/nis_callback.c (__nis_create_callback): Likewise.
3921 * nis/nis_call.c (__nisfind_server): Likewise.
3922 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3923 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3924 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3925 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3926 * nis/nis_lookup.c (nis_lookup): Likewise.
3927 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3928 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3929 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3930 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3931 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3932 internal_getgrgid_r): Likewise.
3933 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3934 Likewise.
3935 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3936 internal_getpwuid_r): Likewise.
3937 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3938 internal_getspnam_r): Likewise.
3939 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3940 _nss_nis_getaliasbyname_r): Likewise.
3941 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3942 _nss_nis_getntohost_r): Likewise.
3943 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3944 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3945 Likewise.
3946 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3947 internal_nis_gethostent_r, internal_gethostbyname2_r,
3948 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3949 _nss_nis_gethostbyname4_r): Likewise.
3950 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3951 initgroups_netid): Likewise.
3952 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3953 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3954 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3955 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3956 _nss_nis_getprotobynumber_r): Likewise.
3957 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3958 _nss_nis_getsecretkey): Likewise.
3959 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3960 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3961 Likewise.
3962 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3963 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3964 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3965 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3966 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3967 _nss_nis_getspnam_r): Likewise.
3968 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3969 Likewise.
3970 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3971 _nss_nisplus_getntohost_r): Likewise.
3972 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3973 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3974 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3975 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3976 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3977 Likewise.
3978 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3979 _nss_nisplus_getnetbyaddr_r): Likewise.
3980 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3981 _nss_nisplus_getprotobynumber_r): Likewise.
3982 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3983 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3984 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3985 Likewise.
3986 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3987 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3988 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3989 _nss_nisplus_getspnam_r): Likewise.
3990 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3991 * nscd/aicache.c (addhstaiX): Likewise.
3992 * nscd/cache.c (cache_search, prune_cache): Likewise.
3993 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3994 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3995 * nscd/grpcache.c (addgrbyX): Likewise.
3996 * nscd/hstcache.c (addhstbyX): Likewise.
3997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3998 * nscd/mem.c (gc, mempool_alloc): Likewise.
3999 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4000 Likewise.
4001 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4002 Likewise.
4003 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4004 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4005 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4006 Likewise.
4007 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4008 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4009 * nscd/nscd_helper.c (__readvall, open_socket,
4010 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4011 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4012 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4013 * nscd/pwdcache.c (addpwbyX): Likewise.
4014 * nscd/selinux.c (preserve_capabilities): Likewise.
4015 * nscd/servicescache.c (addservbyX): Likewise.
4016 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4017 * posix/fnmatch.c (fnmatch): Likewise.
4018 * posix/getopt.c (_getopt_internal_r): Likewise.
4019 * posix/glob.c (glob, glob_in_dir): Likewise.
4020 * posix/wordexp.c (exec_comm_child): Likewise.
4021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4022 gaih_getanswer_slice): Likewise.
4023 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4024 * resolv/res_init.c: Likewise.
4025 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4026 * resolv/res_query.c (__libc_res_nquery): Likewise.
4027 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4028 Likewise.
4029 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4030 * stdio-common/perror.c (perror): Likewise.
4031 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4032 * stdio-common/tmpnam.c (tmpnam): Likewise.
4033 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4034 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4035 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4036 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4037 * stdlib/putenv.c (putenv): Likewise.
4038 * stdlib/setenv.c (__add_to_environ): Likewise.
4039 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4040 * stdlib/strtol_l.c (INTERNAL): Likewise.
4041 * string/memmem.c (memmem): Likewise.
4042 * string/strerror.c (strerror): Likewise.
4043 * string/strnlen.c (__strnlen): Likewise.
4044 * string/test-memmem.c (simple_memmem): Likewise.
4045 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4046 * sunrpc/pm_getport.c (__get_socket): Likewise.
4047 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4048 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4049 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4050 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4051 Likewise.
4052 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4053 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4054 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4055 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4056 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4057 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4058 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4059 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4060 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4061 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4062 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4063 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4065 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4066 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4067 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4068 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4069 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4070 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4071 Likewise.
4072 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4073 Likewise.
4074 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4075 Likewise.
4076 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4078 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4079 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4080 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4081 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4082 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4085 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4086 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4088 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4089 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4091 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4092 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4093 Likewise.
4094 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4095 Likewise.
4096 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4097 Likewise.
4098 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4100 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4101 Likewise.
4102 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4103 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4104 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4105 * sysdeps/posix/sleep.c: Likewise.
4106 * sysdeps/posix/tempname.c: Likewise.
4107 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4108 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4109 Likewise.
4110 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4111 elf_machine_rela): Likewise.
4112 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4114 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4115 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4116 Likewise.
4117 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4118 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4119 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4120 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4121 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4122 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4123 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4124 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4125 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4126 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4127 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4128 elf_machine_lazy_rel): Likewise.
4129 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4131 elf_machine_lazy_rel): Likewise.
4132 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4133 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4134 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4135 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4136 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4137 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4138 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4139 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4140 Likewise.
4141 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4142 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4143 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4144 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4145 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4146 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4147 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4148 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4149 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4150 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4151 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4152 Likewise.
4153 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4154 (__posix_fallocate64_l64): Likewise.
4155 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4156 (posix_fallocate): Likewise.
4157 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4158 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4159 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4160 getifaddrs_internal): Likewise.
4161 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4162 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4163 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4164 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4165 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4166 (__posix_fallocate64_l64): Likewise.
4167 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4168 Likewise.
4169 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4170 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4171 Likewise.
4172 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4173 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4174 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4175 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4177 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4178 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4179 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4180 Likewise.
4181 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4182 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4183 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4184 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4185 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4186 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4187 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4188 Likewise.
4189 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4190 (posix_fallocate): Likewise.
4191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4192 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4193 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4194 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4195 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4196 Likewise.
4197 * time/asctime.c (asctime_internal): Likewise.
4198 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4199 * time/tzset.c (__tzset_parse_tz): Likewise.
4200 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4201 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4202 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4203 * wcsmbs/wcsmbsload.h: Likewise.
4204
f3d338c9
OB
42052014-02-10 Ondřej Bílka <neleai@seznam.cz>
4206
4207 [BZ #15894]
4208 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4209
bdfe308a
OB
42102014-02-10 Ondřej Bílka <neleai@seznam.cz>
4211
4212 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4213 arena_get2): Remove THREAD_STATS conditionals.
4214 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4215 __malloc_stats, int): Likewise.
4216
d674667c
MF
42172014-02-08 Mike Frysinger <vapier@gentoo.org>
4218
4219 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4220 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4221
6349768c
MF
42222014-02-08 Mike Frysinger <vapier@gentoo.org>
4223
4224 * manual/setjmp.texi: Fix typos/grammar errors.
4225
0b7c7473
MF
42262014-02-08 Mike Frysinger <vapier@gentoo.org>
4227
4228 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4229 Only return early when n is <= 0. Delete unused return statement.
4230
ac8cc9e3
MF
42312014-02-08 Mike Frysinger <vapier@gentoo.org>
4232
4233 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4234 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4235 * debug/tst-longjmp_chk3.c: New file.
4236
c5bb8e23
MF
42372014-02-08 Mike Frysinger <vapier@gentoo.org>
4238
4239 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4240 (test_main): Replace code with set_fortify_handler call.
4241 * debug/test-strcpy_chk.c: Likewise.
4242 * debug/tst-chk1.c: Likewise.
4243 * debug/tst-longjmp_chk.c: Likewise.
4244 * test-skeleton.c: Include fcntl.h & paths.h
4245 (set_fortify_handler): Define.
4246
10444e42
MF
42472014-02-08 Mike Frysinger <vapier@gentoo.org>
4248
4249 * debug/tst-longjmp_chk.c: Add header comment and include
4250 ../test-skeleton.c.
4251 (do_test): Mark static.
4252 (TEST_FUNCTION): Define.
4253
1e805e8d
MF
42542014-02-08 Mike Frysinger <vapier@gentoo.org>
4255
4256 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4257 (IP_PMTUDISC_INTERFACE): Likewise.
4258 (IP_MULTICAST_IF): Likewise.
4259 (IP_MULTICAST_TTL): Likewise.
4260 (IP_MULTICAST_LOOP): Likewise.
4261 (IP_ADD_MEMBERSHIP): Likewise.
4262 (IP_DROP_MEMBERSHIP): Likewise.
4263 (IP_UNBLOCK_SOURCE): Likewise.
4264 (IP_BLOCK_SOURCE): Likewise.
4265 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4266 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4267 (IP_MSFILTER): Likewise.
4268 (MCAST_JOIN_GROUP): Likewise.
4269 (MCAST_BLOCK_SOURCE): Likewise.
4270 (MCAST_UNBLOCK_SOURCE): Likewise.
4271 (MCAST_LEAVE_GROUP): Likewise.
4272 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4273 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4274 (MCAST_MSFILTER): Likewise.
4275 (IP_MULTICAST_ALL): Likewise.
4276 (IP_UNICAST_IF): Likewise.
4277
73f79bb7
MF
42782014-02-08 Mike Frysinger <vapier@gentoo.org>
4279
4280 * timezone/Makefile: Delete $(have-ksh) check.
4281 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4282 * timezone/tzselect.ksh: Add +x mode bits.
4283
8da79b60
MF
42842014-02-08 Mike Frysinger <vapier@gentoo.org>
4285
4286 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4287 (ANON_INODE_FS_MAGIC): Likewise.
4288 (BDEVFS_MAGIC): Likewise.
4289 (BINFMTFS_MAGIC): Likewise.
4290 (BTRFS_TEST_MAGIC): Likewise.
4291 (CRAMFS_MAGIC_WEND): Likewise.
4292 (DEBUGFS_MAGIC): Likewise.
4293 (ECRYPTFS_SUPER_MAGIC): Likewise.
4294 (EXT3_SUPER_MAGIC): Likewise.
4295 (EXT4_SUPER_MAGIC): Likewise.
4296 (FUTEXFS_SUPER_MAGIC): Likewise.
4297 (HOSTFS_SUPER_MAGIC): Likewise.
4298 (HUGETLBFS_MAGIC): Likewise.
4299 (MINIX3_SUPER_MAGIC): Likewise.
4300 (MTD_INODE_FS_MAGIC): Likewise.
4301 (NILFS_SUPER_MAGIC): Likewise.
4302 (OPENPROM_SUPER_MAGIC): Likewise.
4303 (PIPEFS_MAGIC): Likewise.
4304 (PSTOREFS_MAGIC): Likewise.
4305 (QNX6_SUPER_MAGIC): Likewise.
4306 (RAMFS_MAGIC): Likewise.
4307 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4308 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4309 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4310 (SECURITYFS_MAGIC): Likewise.
4311 (SELINUX_MAGIC): Likewise.
4312 (SMACK_MAGIC): Likewise.
4313 (SOCKFS_MAGIC): Likewise.
4314 (SQUASHFS_MAGIC): Likewise.
4315 (STACK_END_MAGIC): Likewise.
4316 (TMPFS_MAGIC): Likewise.
4317 (USBDEVICE_SUPER_MAGIC): Likewise.
4318 (V9FS_MAGIC): Likewise.
4319 (XENFS_SUPER_MAGIC): Likewise.
4320 (CRAMFS_MAGIC): Fix typo in comment.
4321 (EXT2_SUPER_MAGIC): Update comment.
4322 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4323
464263cc
JM
43242014-02-08 Joseph Myers <joseph@codesourcery.com>
4325
c6bfe5c4
JM
4326 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4327 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4328 * sysdeps/unix/sysv/linux/arm: Move directory from
4329 ports/sysdeps/unix/sysv/linux/arm.
4330 * README: Update listing for arm-*-linux-gnueabi.
4331
464263cc
JM
4332 * README: Remove mention of am33.
4333
32749f6c
RM
43342014-02-07 Roland McGrath <roland@hack.frob.com>
4335
4336 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4337 than the comma operator, to avoid "rhs of comma has no effect"
4338 compiler warnings.
4339 (__sigfillset, __sigandset, __sigorset): Likewise.
4340 * include/signal.h (__sigemptyset): Likewise.
4341 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4342
d5b396c1
AM
43432014-02-07 Allan McRae <allan@archlinux.org>
4344
4345 * version.h (RELEASE): Set to "development".
4346 (VERSION): Set to "2.19.90"
4347 * NEWS: Add 2.20 section.
4348
3bfff2ed
CD
43492014-02-06 Carlos O'Donell <carlos@redhat.com>
4350
4351 [BZ #16529]
4352 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4353
ee7cc385
SP
43542014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4355
4356 * manual/contrib.texi: Update entry for Carlos O'Donell,
4357 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4358
f877c4f2
CD
43592014-02-05 Carlos O'Donell <carlos@rehdat.com>
4360
27e839f6
CD
4361 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4362
f877c4f2
CD
4363 * sysdeps/unix/sysv/linux/kernel-features.h
4364 [__LINUX_KERNEL_VERSION >= 0x020621]
4365 (__ASSUME_PROC_PID_TASK_COMM): Define.
4366
68159946
SP
43672014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4368
ba17cdbd
SP
4369 [BZ #16398]
4370 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4371 conversion when destination buffer does not have enough space.
4372 * libio/tst-ftell-partial-wide.c: New test case.
4373 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4374
68159946
SP
4375 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4376 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4377 Leonard and Allan McRae.
4378
2b528732
DM
43792014-02-04 David S. Miller <davem@davemloft.net>
4380
4381 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4382 32-bit.
4383
0ff82463
AZ
43842014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4385
c01603f7
AZ
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4387 file
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4389 New file
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4391 file.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4393 file.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4395 New file.
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4397 file.
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4399 file.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4401 New file.
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4403 New file.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4405 New file.
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4407 New file.
4408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4409 New file.
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4411 New file.
4412
44132014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4414
0ff82463
AZ
4415 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4416 * shlib-versions: Likewise.
4417
1695c773
AZ
44182014-02-04 Roland McGrath <roland@hack.frob.com>
4419 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4420
4421 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4422 (abilist-pattern): New variable, set to %-le.abilist.
4423
4424 * Makerules (abilist-pattern): New variable.
4425 (vpath): Use $(abilist-pattern) in place of %.abilist.
4426 (check-abi-% pattern rule): Likewise.
4427 (check-abi, update-abi): Likewise.
4428
6c0ce4b4
EW
44292014-02-04 Eric Wong <normalperson@yhbt.net>
4430
4431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4432
dc98b8f5
EW
44332014-02-04 Eric Wong <normalperson@yhbt.net>
4434
4435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4436
481e3524
CD
44372014-02-03 Carlos O'Donell <carlos@redhat.com>
4438
4439 * manual/startup.texi: Add next, previous, and top entries for
4440 the `Program Arguments' and `Environment Variables' nodes.
4441
375592d3
AO
44422014-02-03 Alexandre Oliva <aoliva@redhat.com>
4443
4444 * manual/macros.texi: Add comments before MTASC-safety macros.
4445
f54838ba
AO
4446 * manual/users.texi: Document MTASC-safety properties.
4447
909e12ad
AO
4448 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4449 pthread_getspecific, pthread_setspecific): Format with
4450 @deftypefun, and add @safety note.
4451 * manual/signal.texi: Move comments that analyze the above
4452 functions to their home place.
4453
fd3daba4
AM
44542014-02-03 Allan McRae <allan@archlinux.org>
4455
4456 * po/sl.po: Update Slovenian translation from translation project.
4457
597636d7
AO
44582014-02-02 Alexandre Oliva <aoliva@redhat.com>
4459
4460 * manual/time.texi (timegm): Add missing blank after @c.
4461 Reported by Joseph Myers <joseph@codesourcery.com>.
4462
ee196e3c
AO
44632014-02-01 Alexandre Oliva <aoliva@redhat.com>
4464
4465 * manual/check-safety.sh: New.
4466 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4467
f8d529d5
AO
4468 * manual/terminal.texi: Document MTASC-safety properties.
4469
de55fdf4
AO
4470 * manual/filesys.texi: Document MTASC-safety properties.
4471
c3299c08
AO
4472 * manual/errno.texi: Document MTASC-safety properties.
4473
06e90b14
AO
4474 * manual/intro.texi: Document safety identifiers and
4475 conditionals.
4476
1acd4371
AO
4477 * manual/string.texi (wcstok): Fix prototype.
4478 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4479
23e5b8cb
AO
4480 * manual/time.texi: Document MTASC-safety properties.
4481
11087373
AO
4482 * manual/string.texi: Document MTASC-safety properties.
4483
5da2c93d
AO
4484 * manual/threads.texi: Document MTASC-safety properties.
4485
171e9210
AO
4486 * manual/stdio.texi: Document MTASC-safety properties.
4487
d9e02532
AO
4488 * manual/syslog.texi: Document MTASC-safety properties.
4489
6af8bab7
AO
4490 * manual/sysinfo.texi: Document MTASC-safety properties.
4491
663b02d7
AO
4492 * manual/startup.texi: Document MTASC-safety properties.
4493
973f180b
AO
4494 * manual/socket.texi: Document MTASC-safety properties.
4495
8f3c25c8
AO
4496 * manual/signal.texi: Document MTASC-safety properties.
4497
542210fb
AO
44982014-01-31 Alexandre Oliva <aoliva@redhat.com>
4499
4500 * manual/setjmp.texi: Document MTASC-safety properties.
4501
433c45a2
AO
4502 * manual/search.texi: Document MTASC-safety properties.
4503
c8ce789c
AO
4504 * manual/resource.texi: Document MTASC-safety properties.
4505
19f5d29c
AO
4506 * manual/process.texi: Document MTASC-safety properties.
4507
e2dfb7f4
AO
4508 * manual/platform.texi: Document MTASC-safety properties.
4509
8c1413f5
AO
4510 * manual/pipe.texi: Document MTASC-safety properties.
4511
03483ada
AO
4512 * manual/pattern.texi: Document MTASC-safety properties.
4513
29e7e2df
AO
4514 * manual/message.texi: Document MTASC-safety properties.
4515
9f529d7c
AO
4516 [BZ #12751]
4517 * manual/memory.texi: Document MTASC-safety properties.
4518
27aaa791
AO
4519 * manual/math.texi: Document MTASC-safety properties.
4520
f2d58726
AO
4521 * manual/locale.texi: Document MTASC-safety properties.
4522
2cc3615c
AO
4523 * manual/llio.texi: Document MTASC-safety properties.
4524
d9f0ec97
AO
4525 * manual/libdl.texi: New.
4526
e7c4409a
AO
4527 * manual/lang.texi: Document MTASC-safety properties.
4528
27bdc63c
AO
4529 * manual/job.texi: Document MTASC-safety properties.
4530
a7b90ea9
AO
4531 * manual/getopt.texi: Document MTASC-safety properties.
4532
c49130e3
AO
4533 * manual/ctype.texi: Document MTASC-safety properties.
4534
0d23a5c1
MR
45352014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4536
4537 [BZ #16046]
4538 * csu/libc-tls.c (static_map): Remove variable.
4539 (__libc_setup_tls): Use main executable's link map for TLS data.
4540 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4541 casing for LM_ID_BASE and GL(dl_nns).
4542 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4543 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4544 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4545 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4546 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4547 member.
4548 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4549 l_phnum members.
4550
0037bb60
AO
45512014-01-30 Alexandre Oliva <aoliva@redhat.com>
4552
4553 * manual/debug.texi: Document MTASC-safety properties.
4554
409e00bd
L
45552014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4556
4557 [BZ #16510]
4558 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4559 of __x86_64__ when disabling x87 inline functions.
4560
86e60666
AO
45612014-01-29 Alexandre Oliva <aoliva@redhat.com>
4562
4563 * manual/charset.texi: Document MTASC-safety properties.
4564
76167637
AO
4565 * manual/crypt.texi: Document MTASC-safety properties.
4566
e567f2a0
AO
4567 * manual/conf.texi: Document MTASC-safety properties.
4568
b719dafd
AO
4569 * manual/arith.texi: Document MTASC-safety properties.
4570
4a16c662
AO
4571 * manual/argp.texi: Document MTASC-safety properties.
4572
0a57b83e
AO
4573 * manual/macros.texi: Introduce macros to document multi
4574 thread, asynchronous signal and asynchronous cancellation
4575 safety properties.
4576 * manual/intro.texi: Introduce the properties themselves.
4577
feab2397
KK
45782014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4579
4580 * sysdeps/sh/sh4/Makefile: New file.
4581
1c0d11bc
AS
45822014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4583
4584 * math/gen-libm-test.pl ($srcdir): New variable.
4585 ($auto_input): Use it.
4586
af37a8a3
SP
45872014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4588
d7b00f98
SP
4589 [BZ #16506]
4590 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4591 access beyond array bounds when parsing netgroups file.
4592
af37a8a3
SP
4593 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4594 the old buffer before realloc.
4595
0c00f062
AM
45962014-01-27 Allan McRae <allan@archlinux.org>
4597
4598 * po/fr.po: Update French translation from translation project.
4599
7d69a1b0
KK
46002014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4601
4602 * sysdeps/sh/libm-test-ulps: Regenerate.
4603
6e697ff7
DM
46042014-01-24 David S. Miller <davem@davemloft.net>
4605
4606 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4607
9cadb35c
KK
46082014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4609
4610 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4611 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4612
5d41dadf
SP
46132013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4614
4615 [BZ #16474]
4616 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4617 string pointers after reallocation.
4618
0bad441c
KK
46192014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4620
4621 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4622 __SH4A__ instead of __SH_FPU_ANY__.
4623
7007c661
KK
46242014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4625
4626 * sysdeps/sh/fpu_control.h: New file.
4627 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4628 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4629 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4630 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4631 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4632 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4633 * sysdeps/sh/sys/ucontext.h: Remove.
4634 * sysdeps/sh/sys: Remove directory.
4635
0f0c35e4
AK
46362014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4637
4638 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4639 s390/sys/ucontext.h.
4640 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4641 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4642
4959e284
L
46432014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4644
4645 [BZ #15605]
4646 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4647
d98720e0
AZ
46482014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649
4650 [BZ#16431]
4651 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4652 Adjust the vDSO correctly for internal calls.
4653 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4654
91cbd0bc
AM
46552014-01-20 Allan McRae <allan@archlinux.org>
4656
4657 * po/ca.po: Update Catalan translation from translation project.
4658
7a02cfad
MF
46592014-01-16 Mike Frysinger <vapier@gentoo.org>
4660
4661 * sysdeps/s390/sotruss-lib.c: New file.
4662
736c304a
AZ
46632014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664
4665 [BZ#16430]
6e077ee5 4666 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4667 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4668 local calls issues by not having a PLT stub required for IFUNC calls.
4669 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4670
94d0cea0
JM
46712014-01-16 Joseph Myers <joseph@codesourcery.com>
4672
4673 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4674 * math/test-fpucw-static.c: Likewise.
4675
980cb518
SP
46762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4677
4678 [BZ #16453]
4679 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4680
2393fc01
AZ
46812014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4682
4683 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4684 implementation for powerpc.
4685
d359bcc2
OB
46862014-01-15 Ondřej Bílka <neleai@seznam.cz>
4687
4688 [BZ #14782]
4689 * sysdeps/posix/system.c (__libc_system): Do not enable
4690 asynchronous cancellation.
4691
7beb48cb
AK
46922014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4693
4694 [BZ #16427]
4695 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4696 handling only for numbers special also in the IEEE case.
4697
c20d5bf5
AK
46982014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4699
4700 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4701
e83bd4ee
AM
47022014-01-11 Allan McRae <allan@archlinux.org>
4703
76d0ea69
AM
4704 * po/bg.po: Update Bulgarian translation from translation project.
4705
e83bd4ee
AM
4706 * po/de.po: Update German translation from translation project.
4707
bc2ba20a
RM
47082014-01-10 Roland McGrath <roland@hack.frob.com>
4709
4710 * sysdeps/generic/gcc-compat.h: New file.
4711
649ecea2
SP
47122014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4713
4714 * benchtests/asin-inputs: Correct slow inputs.
4715 * benchtests/acos-inputs: Likewise.
4716
1b19c006
AM
47172014-01-10 Allan McRae <allan@archlinux.org>
4718
a46dab08
AM
4719 * po:sv.po: Update Swedish translation from translation project.
4720
421df74a
AM
4721 * po/vi.po: Update Vietnamese translation from translation project.
4722
d61c51a7
AM
4723 * po/eo.po: Update Esperanto translation from translation project.
4724
0339a319
AM
4725 * po/cs.po: Update Czech translation from translation project.
4726
94ad3e99
AM
4727 * po/nl.po: Update Dutch translation from translation project.
4728
e349ca71
AM
4729 * po/pl.po: Update Polish translation from translation project.
4730
ddf930c1
AM
4731 * po/ru.po: Update Russian translation from translation project.
4732
1b19c006
AM
4733 * po/uk.po: Update Ukrainian translation from translation project.
4734
9f236c49
BM
47352014-01-08 Brooks Moses <bmoses@google.com>
4736
4737 * elf/dl-load.c: Fix comment typo.
4738
cd6701cf
CD
47392014-01-08 Carlos O'Donell <carlos@redhat.com>
4740
4741 * po/header.pot: Rename to...
4742 * po/pot.header: ... this.
4743 * po/Makefile: Use pot.header.
4744
66671c84
YK
47452014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4746 Maxim Kuvyrkov <maxim@kugelworks.com>
4747
4748 [BZ #16394]
cd6701cf
CD
4749 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4750 SRC and DEST against LEN.
66671c84 4751
38f34581
AZ
47522014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4753
4754 [BZ #16414]
4755 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4756 implementation.
4757 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4758
47592014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4760
4761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4762
4c327f2a
JM
47632014-01-08 Joseph Myers <joseph@codesourcery.com>
4764
4765 [BZ #16408]
4766 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4767 for large positive arguments.
4768
b821f414
JM
47692014-01-07 Joseph Myers <joseph@codesourcery.com>
4770
1f0f2067
JM
4771 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4772
a5a326f6
JM
4773 * math/auto-libm-test-in: Mark various tests with
4774 xfail-rounding:ldbl-128ibm.
4775 * math/auto-libm-test-out: Regenerated.
4776
b821f414
JM
4777 [BZ #16407]
4778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4779 Increase overflow threshold.
4780
94c8a4bc
OB
47812014-01-07 Ondřej Bílka <neleai@seznam.cz>
4782
4783 [BZ #14286]
4784 * stdio-common/vfprintf.c: Check for integer overflow.
4785
87ded0c3
AK
47862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4787
4788 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4789 the first argument and return value of __tls_get_addr_internal.
4790
c5eebdd0
AK
47912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4792
4793 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4794 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4795
05d138ef
AK
47962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4797
4798 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4799 * sysdeps/s390/rtld-global-offsets.sym: New file.
4800 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4801 GLIBC_2.19 symbol.
4802 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4803 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4804 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4805 ... this.
4806 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4807 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4808 ... this.
4809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4810 Regenerate.
4811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4812 Regenerate.
4813 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4814 halfs of GPRs for high_gprs contexts.
4815 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4816 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4817 field.
4818 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4819 uc_flags field.
4820 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4821 64 bit versions:
4822 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4823 for high GPRs (uc_high_gprs) and for future extensions
4824 (__reserved).
4825 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4826 for future extensions (__reserved).
4827 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4828 64 bit versions:
4829 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4830 SC_HIGHGPRS offset definition.
4831 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4832 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4833
93a45ff1
AK
48342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4835
4836 * Versions.def: Add GLIBC_2.19 for libpthread.
4837 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4838 siglongjmp for libpthread with GLIBC_2.19 symver.
4839 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4840 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4841 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4842 * sysdeps/s390/__longjmp.c: New file.
4843 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4844 * sysdeps/s390/longjmp.c: New file.
4845 * sysdeps/s390/setjmp.S: New file.
4846 * sysdeps/s390/sigjmp.S: New file.
4847 * sysdeps/s390/v1-longjmp.c: New file.
4848 * sysdeps/s390/v1-setjmp.h: New file.
4849 * sysdeps/s390/v1-sigjmp.c: New file.
4850 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4851 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4852 GLIBC_2.19 version.
4853 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4854 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4855 versioned symbols for ____longjmp_chk.
4856 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4857 Likewise.
4858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4859 Regenerate.
4860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4861 Regenerate.
4862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4863 Regenerate.
4864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4865 Regenerate.
4866 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4867 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4868 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4869 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4870 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4871 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4872 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4873 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4874 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4875 * sysdeps/s390/rtld-__longjmp.c: New file.
4876 * sysdeps/s390/rtld-setjmp.S: New file.
4877
eb3fc44b
JM
48782014-01-06 Joseph Myers <joseph@codesourcery.com>
4879
4880 [BZ #16400]
4881 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4882 Return -__logl (x) for small positive arguments without evaluating
4883 a polynomial.
4884
9341dde4
MF
48852014-01-06 Mike Frysinger <vapier@gentoo.org>
4886
4887 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4888 Rename to ...
4889 (__ptrace_peeksiginfo_args): ... this.
4890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4893
4cff0293
AM
48942014-01-06 Allan McRae <allan@archlinux.org>
4895
4896 * inet/netinet/in.h: Fix typo in comment.
4897
75595dcf
AJ
48982014-01-05 Andreas Jaeger <aj@suse.de>
4899
4900 * sysdeps/i386/fpu/libm-test-ulps: Update.
4901
79c1e109
AM
49022014-01-05 Allan McRae <allan@archlinux.org>
4903
dd804818
AM
4904 * po/libc.pot: Regenerated.
4905
79c1e109
AM
4906 * malloc/memusagestat.c: Fix gettext call formatting.
4907
0c813d1f
SK
49082014-01-04 Sami Kerola <kerolasa@iki.fi>
4909
4910 * nscd/nscd.c: Improve usage() output.
4911
20f4a8d9
MF
49122014-01-04 Mike Frysinger <vapier@gentoo.org>
4913
4914 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4915 * sysdeps/unix/sysv/linux/configure: Regenerated.
4916 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4917 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4918
22562bb2
JM
49192014-01-03 Joseph Myers <joseph@codesourcery.com>
4920
4921 [BZ #16390]
4922 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4923 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4924
d7ad2d9b
AZ
49252014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926
4927 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4928 extra tokens at end of #undef directive.
4929 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4930 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4931 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4932
7dd009d8
JM
49332014-01-03 Joseph Myers <joseph@codesourcery.com>
4934
24db925a
JM
4935 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4936
7dd009d8
JM
4937 * math/auto-libm-test-in: Mark various tests with
4938 xfail-rounding:ldbl-128ibm.
4939 * math/auto-libm-test-out: Regenerated.
4940
396e3ecf
JM
49412014-01-02 Joseph Myers <joseph@codesourcery.com>
4942
819e5d50
JM
4943 [BZ #16386]
4944 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4945 numbers with subnormal high part when calculating exponent.
4946
90b6a1e5
JM
4947 [BZ #16385]
4948 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4949 fabs.
4950
396e3ecf
JM
4951 [BZ #16384]
4952 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4953 M_LN2l.
4954 (__ieee754_acoshl): Use __log1pl not __log1p.
4955
6c8dbf00
OB
49562013-01-02 Ondřej Bílka <neleai@seznam.cz>
4957
4958 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4959 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4960 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4961 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4962 Convert to GNU style.
4963 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4964 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4965 memalign_check, __malloc_set_state): Likewise.
4966 * malloc/mallocbug.c (main): Likewise.
4967 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4968 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4969 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4970 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4971 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4972 * malloc/malloc.h: Likewise.
4973 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4974 memalignhook, reallochook, mabort): Likewise.
4975 * malloc/mcheck.h: Likewise.
4976 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4977 mmap64, mremap, munmap, dest): Likewise.
4978 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4979 * malloc/morecore.c (__default_morecore): Likewise.
4980 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4981 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4982 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4983 print_and_abort): Likewise.
4984 * malloc/obstack.h: Likewise.
4985 * malloc/set-freeres.c (__libc_freeres): Likewise.
4986 * malloc/tst-mallocstate.c (main): Likewise.
4987 * malloc/tst-mtrace.c (main): Likewise.
4988 * malloc/tst-realloc.c (do_test): Likewise.
4989
d4124212
SP
49902013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4991
9a3c6a6f
SP
4992 [BZ #16366]
4993 * nscd/netgroupcache.c (do_notfound): New function.
4994 (addgetnetgrentX): Use it.
4995
d4124212
SP
4996 [BZ # 16365]
4997 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4998 NSS_STATUS_NOTFOUND.
4999
97b9a009
JM
50002014-01-01 Joseph Myers <joseph@codesourcery.com>
5001
5002 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5004
d4697bc9
AM
50052014-01-01 Allan McRae <allan@archlinux.org>
5006
ddb3687f
AM
5007 * scripts/update-copyrights: Update configure input file suffix.
5008
88726d48
AM
5009 * NEWS: Update copyright year.
5010 * catgets/gencat.c: Likewise.
5011 * csu/version.c: Likewise.
5012 * debug/catchsegv.sh: Likewise.
5013 * debug/pcprofiledump.c: Likewise.
5014 * debug/xtrace.sh: Likewise.
5015 * elf/ldconfig.c: Likewise.
5016 * elf/ldd.bash.in: Likewise.
5017 * elf/pldd.c: Likewise.
5018 * elf/sotruss.ksh: Likewise.
5019 * elf/sprof.c: Likewise.
5020 * iconv/iconv_prog.c: Likewise.
5021 * iconv/iconvconfig.c: Likewise.
5022 * locale/programs/locale.c: Likewise.
5023 * locale/programs/localedef.c: Likewise.
5024 * login/programs/pt_chown.c: Likewise.
5025 * malloc/memusage.sh: Likewise.
5026 * malloc/memusagestat.c: Likewise.
5027 * malloc/mtrace.pl: Likewise.
5028 * manual/libc.texinfo: Likewise.
5029 * nscd/nscd.c: Likewise.
5030 * nss/getent.c: Likewise.
5031 * nss/makedb.c: Likewise.
5032 * posix/getconf.c: Likewise.
5033 * scripts/test-installation.pl: Likewise.
5034
d4697bc9
AM
5035 * All files with FSF copyright notices: Update copyright dates
5036 using scripts/update-copyrights.
5037 * intl/plural.c: Regenerated.
5038 * locale/programs/charmap-kw.h: Likewise.
5039 * locale/programs/locfile-kw.h: Likewise.
5040
c8590f9d
MF
50412013-12-31 Mike Frysinger <vapier@gentoo.org>
5042
5043 * sysdeps/unix/sysv/linux/configure: Regenerated.
5044 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5045 the linux/fanotify.h header.
5046 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5047 HAVE_LINUX_FANOTIFY_H is defined.
5048
b19221b9
SP
50492013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5050
dd1d85e5
SP
5051 * benchtests/cos-inputs: New inputs.
5052 * benchtests/sin-inputs: Likewise.
5053
1acbb90f
SP
5054 * benchtests/atan-inputs: New inputs. Fix name of multiple
5055 precision fallback inputs.
5056
4c012ed3
SP
5057 * benchtests/atanh-inputs: New inputs.
5058 * benchtests/tanh-inputs: Likewise.
5059
eff98324
SP
5060 * benchtests/acosh-inputs: New inputs.
5061 * benchtests/asinh-inputs: Likewise.
5062
ce641152
SP
5063 * benchtests/cosh-inputs: New inputs.
5064 * benchtests/sinh-inputs: Likewise.
5065
b19221b9
SP
5066 * benchtests/acos-inputs: Add more inputs.
5067 * benchtests/asin-inputs: Likewise.
5068
030a4976 50692013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5070
030a4976 5071 [BZ #16375]
9dcc8f11
VS
5072 * manual/arith.texi: Fix spelling.
5073 * manual/charset.texi: Likewise.
5074 * manual/errno.texi: Likewise.
5075 * manual/filesys.texi: Likewise.
5076 * manual/lang.texi: Likewise.
5077 * manual/llio.texi: Likewise.
5078 * manual/locale.texi: Likewise.
5079 * manual/message.texi: Likewise.
5080 * manual/resource.texi: Likewise.
5081 * manual/search.texi: Likewise.
5082 * manual/setjmp.texi: Likewise.
5083 * manual/stdio.texi: Likewise.
5084 * manual/string.texi: Likewise.
5085 * manual/sysinfo.texi: Likewise.
5086 * manual/time.texi: Likewise.
5087
11520a57
CD
50882013-12-27 Carlos O'Donell <carlos@redhat.com>
5089
5090 * po/sl.po: New file.
5091
471103ae
MF
50922013-12-27 Mike Frysinger <vapier@gentoo.org>
5093
5094 * .gitignore: Add core/.gdbinit/.gdb_history.
5095
6c9642ed
AM
50962013-12-27 Allan McRae <allan@archlinux.org>
5097
5098 [BZ #16369]
5099 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5100 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5101
3f637079
BM
51022013-12-24 Brooks Moses <bmoses@google.com>
5103
5104 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5105 all compilers that claim C++98 compliance, not just GCC.
5106 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5107 Likewise.
5108
abc26e99
MK
51092013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5110
5111 * NEWS: Restore accidentally deleted bug-fix entries.
5112
362b47fe
MK
51132013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5114 Ondřej Bílka <neleai@seznam.cz>
5115
5116 [BZ #15073]
5117 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5118 have_lock.
362b47fe 5119
b9bcbbcb
OB
51202013-12-23 Ondřej Bílka <neleai@seznam.cz>
5121
5122 [BZ #12986]
5123 * manual/stdio.texi (String Input Conversions): Clarify that character
5124 classes are not supported.
5125
fb55fcd2
AZ
51262013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5127
5128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5129
ef7344f0
JM
51302013-12-22 Joseph Myers <joseph@codesourcery.com>
5131
4f40e4b3
JM
5132 [BZ #16337]
5133 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5134 Calculate results for small negative arguments directly rather
5135 than using reflection formula with special underflow handling.
5136
ef7344f0
JM
5137 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5138 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5139 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5140 (fchflags): Likewise.
5141 (revoke): Likewise.
5142 (setlogin): Likewise.
5143 (sigaltstack): Likewise.
5144 (wait4): Likewise.
5145 (sigblock): Remove.
5146 (sigsetmask): Likewise.
5147 (wait3): Likewise.
5148 (waitpid): Likewise.
5149 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5150 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5151 file.
5152 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5153 * sysdeps/unix/bsd/Makefile: ... here.
5154 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5155 * sysdeps/unix/bsd/Versions: ... here.
5156 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5157 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5158 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5159 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5160 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5161 * sysdeps/unix/bsd/sigblock.c: ... here.
5162 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5163 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5164 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5165 * sysdeps/unix/bsd/sigvec.c: ... here.
5166 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5167 * sysdeps/unix/bsd/tcdrain.c: ... here.
5168 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5169 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5170 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5171 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5172 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5173 * sysdeps/unix/bsd/wait.c: ... here.
5174 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5175 * sysdeps/unix/bsd/wait3.c: ... here.
5176 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5177 * sysdeps/unix/bsd/waitpid.c: ... here.
5178
5b0626b9
JM
51792013-12-21 Joseph Myers <joseph@codesourcery.com>
5180
5181 [BZ #16356]
5182 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5183 round-to-nearest for [!USE_AS_EXPM1L].
5184 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5185 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5186 more tests of exp and exp10. Expect some exp10 tests to miss
5187 exceptions or fail in directed rounding modes.
5188 * math/auto-libm-test-out: Regenerated.
5189 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5190 (exp10_test_tonearest): New function.
5191 (exp10_towardzero_test_data): New array.
5192 (exp10_test_towardzero): New function.
5193 (exp10_downward_test_data): New array.
5194 (exp10_test_downward): New function.
5195 (exp10_upward_test_data): New array.
5196 (exp10_test_upward): New function.
5197 (main): Call the new functions.
5198 * sysdeps/i386/fpu/libm-test-ulps: Update.
5199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5200
7fda5682
JM
52012013-12-20 Joseph Myers <joseph@codesourcery.com>
5202
31e3a405
JM
5203 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5204 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5205 * math/auto-libm-test-out: Regenerated.
5206 * math/libm-test.inc (acosh_test_data): Add more tests.
5207 (atanh_test_data): Likewise.
5208 (ceil_test_data): Likewise.
5209 (copysign_test_data): Likewise.
5210 * sysdeps/i386/fpu/libm-test-ulps: Update.
5211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5212
85bff96a
JM
5213 * timezone/checktab.awk: Update from tzcode 2013i.
5214 * timezone/private.h: Likewise.
5215 * timezone/scheck.c: Likewise.
5216 * timezone/tzfile.h: Likewise.
5217 * timezone/tzselect.ksh: Likewise.
5218 * timezone/zdump.c: Likewise.
5219 * timezone/zic.c: Likewise.
5220
b7867a3b
JM
5221 * math/auto-libm-test-in: Add tests of cpow.
5222 * math/auto-libm-test-out: Regenerated.
5223 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5224 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5225 mpc_cc_c.
5226 (func_calc_desc): Add mpc_cc_c union field.
5227 (test_functions): Add cpow.
5228 (special_fill_2pi): New function.
5229 (special_real_inputs): Add 2pi.
5230 (calc_generic_results): Handle mpc_cc_c.
5231 * sysdeps/i386/fpu/libm-test-ulps: Update.
5232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5233
7fda5682
JM
5234 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5235 csqrt, ctan and ctanh.
5236 * math/auto-libm-test-out: Regenerated.
5237 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5238 (TEST_COND_x86): Likewise.
5239 (ccos_test_data): Use AUTO_TESTS_c_c.
5240 (ccosh_test_data): Likewise.
5241 (cexp_test_data): Likewise.
5242 (clog_test_data): Likewise.
5243 (csqrt_test_data): Likewise.
5244 (ctan_test_data): Likewise.
5245 (ctan_tonearest_test_data): Likewise.
5246 (ctan_towardzero_test_data): Likewise.
5247 (ctan_downward_test_data): Likewise.
5248 (ctan_upward_test_data): Likewise.
5249 (ctanh_test_data): Likewise.
5250 (ctanh_tonearest_test_data): Likewise.
5251 (ctanh_towardzero_test_data): Likewise.
5252 (ctanh_downward_test_data): Likewise.
5253 (ctanh_upward_test_data): Likewise.
5254 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5255 mpc_c_c.
5256 (func_calc_desc): Add mpc_c_c union field.
5257 (FUNC_mpc_c_c): New macro.
5258 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5259 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5260 ctanh.
5261 (special_fill_min_subnorm_p120): New function.
5262 (special_real_inputs): Add min_subnorm_p120.
5263 (calc_generic_results): Handle mpc_c_c.
5264 * sysdeps/i386/fpu/libm-test-ulps: Update.
5265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5266
5ff8d60e
SP
52672013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5268
392dd2de
SP
5269 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5270 do_sin_slow): New functions.
5271 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5272 cslow2, csloww1, csloww2): Use the new functions.
5273
84ba214c
SP
5274 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5275 Use M to change sign of result instead of X. Assume X is
5276 positive.
5277 (csloww1): Likewise.
5278 (__sin): Adjust.
5279 (__cos): Adjust.
5280
975195e4
SP
5281 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5282 arguments A and DA.
5283 (__sin): Adjust.
5284 (__cos): Likewise.
5285
5ff8d60e
SP
5286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5287 (__cos): Likewise.
5288 (sloww1): Don't adjust sign of DX.
5289 (csloww1): Likewise.
5290 (sloww2): Use X directly and don't adjust sign of DX.
5291 (csloww2): Likewise.
5292
eb983568
JM
52932013-12-19 Joseph Myers <joseph@codesourcery.com>
5294
64a17f1a
JM
5295 * math/auto-libm-test-in: Add tests of cabs and carg.
5296 * math/auto-libm-test-out: Regenerated.
5297 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5298 (carg_test_data): Likewise.
5299 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5300 mpc_c_f.
5301 (func_calc_desc): Add mpc_c_f union field.
5302 (test_functions): Add cabs and carg.
5303 (calc_generic_results): Handle mpc_c_f.
5304
eb983568
JM
5305 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5306 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5307 as a macro and a compat symbol.
5308 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5309 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5310 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5311 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5312 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5313 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5314 not use .hidden.
5315 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5316 Likewise.
5317 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5318 Likewise.
5319 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5320 Likewise.
5321 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5322 Likewise.
5323 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5324 Likewise.
5325 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5326 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5327 from GLIBC_2.3.2.
5328
6eeb678a
AZ
53292013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5330
5331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5332
6f6fc482
JM
53332013-12-19 Joseph Myers <joseph@codesourcery.com>
5334
21fea2e2
JM
5335 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5336 trailing whitespace removed.
5337 * scripts/config.guess: Update to version 2013-11-29.
5338 * scripts/config.sub: Update to version 2013-10-01.
5339
6f6fc482
JM
5340 * math/auto-libm-test-in: Add tests of sincos.
5341 * math/auto-libm-test-out: Regenerated.
5342 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5343 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5344 mpfr_f_11.
5345 (func_calc_desc): Add mpfr_f_11 union field.
5346 (test_functions): Add sincos.
5347 (calc_generic_results): Handle mpfr_f_11.
5348 * sysdeps/i386/fpu/libm-test-ulps: Update.
5349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5350
83f5c32d
AS
53512013-12-19 Andreas Schwab <schwab@suse.de>
5352
5353 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5354 CALL_MCOUNT.
5355 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5356 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5357 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5358
c688b419
JM
53592013-12-19 Joseph Myers <joseph@codesourcery.com>
5360
335ee092
JM
5361 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5362 * sysdeps/i386/fpu/libm-test-ulps: Update.
5363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5364
f88acd39
JM
5365 [BZ #16293]
5366 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5367 round-to-nearest mode when using frndint.
5368 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5369 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5370 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5371 Likewise.
5372 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5373 sinh test to fail.
5374 * math/auto-libm-test-out: Regenerated.
5375 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5376 (TEST_COND_x86): Likewise.
5377 (expm1_tonearest_test_data): New array.
5378 (expm1_test_tonearest): New function.
5379 (expm1_towardzero_test_data): New array.
5380 (expm1_test_towardzero): New function.
5381 (expm1_downward_test_data): New array.
5382 (expm1_test_downward): New function.
5383 (expm1_upward_test_data): New array.
5384 (expm1_test_upward): New function.
5385 (main): Run the new test functions.
5386 * sysdeps/i386/fpu/libm-test-ulps: Update.
5387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5388
c688b419
JM
5389 * include/features.h: Update comment documenting feature test
5390 macros. Mention _DEFAULT_SOURCE in comment.
5391 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5392 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5393 _BSD_SOURCE and _SVID_SOURCE.
5394 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5395 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5396 !_SVID_SOURCE]: Likewise.
5397 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5398 (__USE_POSIX_IMPLICITLY): Define.
5399 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5400 (_POSIX_SOURCE): Undefine and redefine.
5401 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5402 (_POSIX_C_SOURCE): Likewise.
5403 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5404 (Feature Test Macros): Update documentation of default features.
5405
9f6e964c
RS
54062013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5407
5408 * benchtests/Makefile: Add bench-strtok.
5409 * benchtests/bench-strtok.c: New file: strtok benchtest.
5410
ee0a148a
AM
54112013-12-19 Allan McRae <allan@archlinux.org>
5412
5413 * manual/install.texi: Suppress menu for plain text output.
5414 * INSTALL: Regenerated.
5415
b9ab448f
BM
54162013-12-18 Brooks Moses <bmoses@google.com>
5417
5418 [BZ #15846]
5419 * misc/getauxval.c: Include errno.h.
5420 (__getauxval): Set errno to ENOENT if the requested type is not
5421 found.
5422 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5423 don't declare with __attribute_const__.
5424 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5425 * manual/startup.texi: Document that getauxval sets errno.
5426
23776487
JM
54272013-12-18 Joseph Myers <joseph@codesourcery.com>
5428
f889953b
JM
5429 * math/auto-libm-test-in: Add tests of jn and yn.
5430 * math/auto-libm-test-out: Regenerated.
5431 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5432 (yn_test_data): Likewise.
5433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5434 mpfr_if_f.
5435 (func_calc_desc): Add mpfr_if_f union field.
5436 (FUNC_mpfr_if_f): New macro.
5437 (test_functions): Add jn and yn.
5438 (calc_generic_results): Assert type of second input for
5439 mpfr_ff_f. Handle mpfr_if_f.
5440 (output_for_one_input_case): Disable all checking for arguments
5441 fitting floating-point types in case of an integer argument.
5442 * sysdeps/i386/fpu/libm-test-ulps: Update.
5443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5444
23776487
JM
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5446 Don't expect fegetround reference in libm.so.
5447
cb756c6d
MS
54482013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5449
5450 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5451 $(config-cflags-nofma).
5452
2dec468f
JM
54532013-12-18 Joseph Myers <joseph@codesourcery.com>
5454
5953eb3a
JM
5455 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5456 * math/auto-libm-test-out: Regenerated.
5457
2dec468f
JM
5458 [BZ #16338]
5459 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5460 to determine exponent and adjust argument to have exponent of -1.
5461 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5462 log2.
5463 * math/auto-libm-test-out: Regenerated.
5464 * sysdeps/i386/fpu/libm-test-ulps: Update.
5465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5466
4d84e6ad
OB
54672013-12-18 Ondřej Bílka <neleai@seznam.cz>
5468
5469 * manual/probes.texi: Remove cases when per-thread arenas are
5470 disabled.
5471
1818483b
AS
54722013-12-18 Andreas Schwab <schwab@suse.de>
5473
5474 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5475 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5476 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5477 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5478 * sysdeps/i386/i686/multiarch/Makefile: Update.
5479 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5480
25de95bf
JM
54812013-12-17 Joseph Myers <joseph@codesourcery.com>
5482
5483 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5484 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5485
674762d9
PE
54862013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5487
ed27ed83 5488 [BZ #15968]
0748546f
PE
5489 Support TZ transition times < 00:00:00.
5490 This is needed for version-3 tz-format files; it supports time
5491 stamps past 2037 for America/Godthab (the only entry in the tz
5492 database for which this change is relevant).
5493 * manual/time.texi (TZ Variable): Document transition times
5494 from -167:59:59 through -00:00:01.
5495 * time/tzset.c (tz_rule): Time of day is now signed.
5496 (__tzset_parse_tz): Parse negative time of day.
5497
4480e934
PE
5498 Document TZ transition times >= 25:00:00.
5499 * manual/time.texi (TZ Variable): Document transition times from
5500 25:00:00 through 167:59:59. These are already supported, and this
5501 support will help with version-3 tz-format files.
5502
69947401
PE
5503 * manual/time.texi (TZ Variable): Modernize North America example
5504 to reflect current (i.e., 2007-and-later) daylight saving rules.
5505
674762d9
PE
5506 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5507
7011c262
JM
55082013-12-17 Joseph Myers <joseph@codesourcery.com>
5509
2fc6557e
JM
5510 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5511 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5514 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5515 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5516 * sysdeps/unix/bsd/clock.c: Likewise.
5517 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5518 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5519 * sysdeps/unix/bsd/init-posix.c: Likewise.
5520 * sysdeps/unix/bsd/poll.c: Likewise.
5521 * sysdeps/unix/bsd/ptsname.c: Likewise.
5522 * sysdeps/unix/bsd/seekdir.c: Likewise.
5523 * sysdeps/unix/bsd/setegid.c: Likewise.
5524 * sysdeps/unix/bsd/seteuid.c: Likewise.
5525 * sysdeps/unix/bsd/setgid.c: Likewise.
5526 * sysdeps/unix/bsd/setrgid.c: Likewise.
5527 * sysdeps/unix/bsd/setruid.c: Likewise.
5528 * sysdeps/unix/bsd/setsid.c: Likewise.
5529 * sysdeps/unix/bsd/setuid.c: Likewise.
5530 * sysdeps/unix/bsd/sigaction.c: Likewise.
5531 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5532 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5533 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5534 * sysdeps/unix/bsd/telldir.c: Likewise.
5535 * sysdeps/unix/bsd/times.c: Likewise.
5536 * sysdeps/unix/bsd/usleep.c: Likewise.
5537
029c7b25
JM
5538 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5539 ($(objpfx)libbsd-compat.a): Remove rule.
5540
7011c262
JM
5541 * include/features.h (__FAVOR_BSD): Do not define.
5542 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5543 features conflicting with POSIX.
5544 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5545 (_BSD_SOURCE): Remove description of not being a subset of other
5546 feature test macros.
5547 * manual/job.texi (getpgrp): Do not document BSD version.
5548 (getpgid): Do not document by reference to BSD getpgrp.
5549 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5550 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5551 * signal/signal.h [__FAVOR_BSD]: Likewise.
5552 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5553 instead of making contents conditional on [__FAVOR_BSD].
5554 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5555
affb6f78
AZ
55562013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557
5558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5559
c88769dd
JM
55602013-12-17 Joseph Myers <joseph@codesourcery.com>
5561
6432a540
JM
5562 [BZ #16314]
5563 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5564 values below 2**-450, not 2**-500.
5565 * math/auto-libm-test-in: Don't allow spurious underflow from
5566 hypot.
5567 * math/auto-libm-test-out: Regenerated.
5568
c88769dd
JM
5569 [BZ #16316]
5570 [BZ #16330]
5571 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5572 values of ha and hb and sort them after adjusting subnormal
5573 arguments.
5574 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5575 Likewise.
5576 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5577 values of ea and eb and sort them after adjusting subnormal
5578 arguments.
5579 * math/auto-libm-test-in: Do not expect some hypot tests of
5580 subnormals to fail. Add more hypot tests.
5581 * math/auto-libm-test-out: Regenerated.
5582
29618f6b
KK
55832013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5584
5585 [BZ #13304]
5586 * sysdeps/sh/s_fma.c: New file.
5587 * sysdeps/sh/s_fmaf.c: New file.
5588 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5589 version.
5590 * sysdeps/sh/Implies: Add sh/soft-fp.
5591
eacfdfbf
RM
55922013-12-16 Roland McGrath <roland@hack.frob.com>
5593
5594 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5595 level of indirection to members `objname', `errstring', `malloced'.
5596 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5597 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5598 it as the __longjmp argument (just pass 1 instead).
5599 (_dl_catch_error): Initialize C with argument pointers and address of
5600 volatile local ERRCODE rather than copying values out of C at return.
5601
ff362e5b
JM
56022013-12-16 Joseph Myers <joseph@codesourcery.com>
5603
5604 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5605 * math/auto-libm-test-out: Regenerated.
5606 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5607 (hypot_test_data): Likewise.
5608 (pow_test_data): Likewise.
5609 (pow_tonearest_test_data): Likewise.
5610 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5611 mpfr_ff_f.
5612 (func_calc_desc): Add mpfr_ff_f union field.
5613 (FUNC_mpfr_ff_f): New macro.
5614 (test_functions): Add atan2, hypot and pow.
5615 (special_fill_min): New function.
5616 (special_fill_minus_min): Likewise.
5617 (special_fill_min_subnorm): Likewise.
5618 (special_fill_minus_min_subnorm): Likewise.
5619 (special_real_inputs): Add min, -min, min_subnorm and
5620 -min_subnorm.
5621 (calc_generic_results): Handle mpfr_ff_f.
5622 * sysdeps/i386/fpu/libm-test-ulps: Update.
5623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5624
5764c27f
WN
56252013-12-16 Will Newton <will.newton@linaro.org>
5626
5627 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5628 (Aligned Memory Blocks): Add documentation for aligned_alloc
5629 and suggest it as an alternative to posix_memalign.
5630 (Hooks for Malloc): Document __memalign_hook is also called
5631 for aligned_alloc. (Summary of Malloc): Add summary for
5632 aligned alloc. Document __memalign_hook is also called
5633 for aligned_alloc.
5634
0a096e44
WN
56352013-12-16 Will Newton <will.newton@linaro.org>
5636
5637 * manual/memory.texi (Malloc Examples): Clarify default
5638 alignment documentation. Suggest posix_memalign rather
5639 than memalign or valloc.
5640 (Aligned Memory Blocks): Remove suggestion to use memalign
5641 or valloc. Remove obsolete comment about BSD.
5642 Document memalign errno values and mark the function obsolete.
5643 Document posix_memalign returned error codes. Mark valloc
5644 as obsolete. (Hooks for Malloc): __memalign_hook is also
5645 called for posix_memalign and valloc.
5646 (Summary of Malloc): Add posix_memalign to function summary.
5647 __memalign_hook is also called for posix_memalign and valloc.
5648
8d561986
SP
56492013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5650
5651 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5652 TAYLOR_SIN.
5653 (__sin): Adjust.
5654 (__cos): Likewise.
5655 (sloww): Use mynumber union. Expand ternary operator into
5656 if-else statements.
5657 (cslow): use mynumber union.
5658
73616a74
AM
56592013-12-16 Allan McRae <allan@archlinux.org>
5660
9e8ac24b
AM
5661 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5662 * configure: Regenerated.
5663
6f8e37eb
AM
5664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5665
8894bad3
AM
5666 [BZ #14120]
5667 * configure.ac: Added --enable-maintainer-mode. Check for
5668 autoconf when enabled.
5669 * configure: Regenerated.
5670
73616a74
AM
5671 * nscd/nscd.service: New file.
5672 * nscd/nscd.tmpfiles: New file.
5673
584b18eb
OB
56742013-12-14 Ondřej Bílka <neleai@seznam.cz>
5675
5676 [BZ #12100]
5677 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5678 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5679 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5680 (strstr): Add __strstr_sse2_unaligned ifunc.
5681 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5682 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5683 (strcasestr): Remove __strcasestr_sse42 ifunc.
5684 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5685 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5687
8a5c7897
KK
56882013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5689
5690 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5691 * sysdeps/sh/bits/fenv.h: ... here.
5692 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5693
fd712ef3
AZ
56942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5695
5696 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5697
42fcb46c
AZ
56982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5699
5700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5701 hypotf multiarch implementations.
5702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5703 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5704 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5705 multiarch hypot for PPC64.
5706 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5707 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5708 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5709 multiarch hypotf for PPC64.
5710
83efded4
AZ
57112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5712
5713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5714 modff multiarch implementations.
5715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5718 multiarch modf for PPC64.
5719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5722 multiarch modff for PPC64.
5723
43e246d2
AZ
57242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725
5726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5727 and logl multiarch implementations.
5728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5731 multiarch logb for PPC64.
5732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5735 multiarch logb for PPC64.
5736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5739 multiarch logb for PPC64.
5740
8fdad123
AZ
57412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5742
5743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5744 isinff multiarch implementation.
5745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5746 file.
5747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5749 multiarch isinf for PPC64.
5750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5751 file.
5752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5753 multiarch isinff for PPC64.
5754
1481d706
AZ
57552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5756
5757 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5758 finitef multiarch implementation.
5759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5760 file.
5761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5763 multiarch finite for PPC64.
5764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5765 file.
5766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5767 multiarch finitef for PPC64.
5768
5ccd5fc8
AZ
57692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770
5771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5772 lrint multiarch implementation.
5773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5774 file.
5775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5777 multiarch llrint for PPC64.
5778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5779 multiarch lrint for PPC64.
5780
2568f3fa
AZ
57812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782
5783 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5784 copysignf multiarch implementation.
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5786 file.
5787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5788 file.
5789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5790 multiarch copysign for PPC64.
5791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5792 multiarch copysignf for PPC64.
5793
1cb341fd
AZ
57942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5795
5796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5797 multiarch implementation.
5798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5799 file.
5800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5801 file.
5802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5803 file.
5804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5805 file.
5806 multiarch llround for PPC64.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5808 multiarch trunc for PPC64.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5810 multiarch truncf for PPC64.
5811
59a3e194
AZ
58122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5813
5814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5815 multiarch implementation.
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5817 file.
5818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5819 file.
5820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5821 file.
5822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5823 file.
5824 multiarch llround for PPC64.
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5826 multiarch round for PPC64.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5828 multiarch roundf for PPC64.
5829
357fd3b4
AZ
58302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5833 multiarch implementation.
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5835 file.
5836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5837 file.
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5839 file.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5841 file.
5842 multiarch llround for PPC64.
5843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5844 multiarch floor for PPC64.
5845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5846 multiarch floorf for PPC64.
5847
96770f12
AZ
58482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5849
5850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5851 multiarch implementation.
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5853 file.
5854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5855 file.
5856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5857 file.
5858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5859 file.
5860 multiarch llround for PPC64.
5861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5862 multiarch ceil for PPC64.
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5864 multiarch ceilf for PPC64.
5865
c3627f6e
AZ
58662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5867
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5869 multiarch implementation.
5870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5871 file.
5872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5873 file.
5874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5875 file.
5876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5877 multiarch llround for PPC64.
5878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5879 multiarch lround for PPC64.
5880
b2284ad7
AZ
58812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882
5883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5884 multiarch implementation.
5885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5888 file.
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5892 multiarch isnan for PPC64.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5894 multiarch isnanf for PPC64.
5895
69bbc63d
AZ
58962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5897
5898 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5899 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5900 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5901 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5902 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5904
c24517c9
AZ
59052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5908 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5911
a52374e8
AZ
59122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5913
5914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5915 multiarch implementations.
5916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5917 (__libc_ifunc_impl_list): Likewise.
5918 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5919 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5920 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5921 multiarch stpcpy for PPC64.
5922
7f5ec113
AZ
59232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5926 multiarch implementations.
5927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5928 (__libc_ifunc_impl_list): Likewise.
5929 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5930 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5931 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5932 multiarch strcpy for PPC64.
5933
e28bcd42
AZ
59342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935
5936 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5937 redefine function name.
5938 (_wordcopy_fwd_dest_aligned): Likewise.
5939 (_wordcopy_bwd_aligned): Likewise.
5940 (_wordcopy_bwd_dest_aligned): Likewise.
5941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5942 multiarch implementations.
5943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5944 (__libc_ifunc_impl_list): Likewise.
5945 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5946 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5947 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5948 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5949 multiarch wcscpy for PPC64.
5950
92cacfce
AZ
59512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5952
5953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5954 multiarch implementations.
5955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5956 (__libc_ifunc_impl_list): Likewise.
5957 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5958 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5959 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5960 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5961 multiarch wcscpy for PPC64.
5962
7b714620
AZ
59632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5964
5965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5966 multiarch implementations.
5967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5968 (__libc_ifunc_impl_list): Likewise.
5969 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5970 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5971 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5972 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5973 multiarch wcsrchr for PPC64.
5974
16fd2ae3
AZ
59752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5976
5977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5978 multiarch implementations.
5979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5980 (__libc_ifunc_impl_list): Likewise.
5981 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5982 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5983 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5984 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5985 multiarch wcschr for PPC64.
5986
9ee2969b
AZ
59872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5988
5989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5990 multiarch implementations.
5991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5992 (__libc_ifunc_impl_list): Likewise.
5993 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5994 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5995 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5996 multiarch strchrnul for PPC64.
5997
372dc060
AZ
59982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5999
6000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6001 implementations.
6002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6003 (__libc_ifunc_impl_list): Likewise.
6004 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6005 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6006 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6007 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6008 strchr for PPC64.
6009
24c2c3b9
AZ
60102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011
6012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6013 implementations.
6014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6015 (__libc_ifunc_impl_list): Likewise.
6016 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6017 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6018 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6019 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6020 strncmp for PPC64.
6021
1c92d9a0
AZ
60222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023
6024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6025 multiarch implementations.
6026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6027 (__libc_ifunc_impl_list): Likewise.
6028 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6029 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6030 strncasecmp for PPC64.
6031 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6032 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6033 multiarch strncasecmp_l for PPC64.
6034
17de3ee3
AZ
60352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6036
6037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6038 multiarch implementations.
6039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6040 (__libc_ifunc_impl_list): Likewise.
6041 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6042 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6043 multiarch strcasecmp for PPC64.
6044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6045 file.
6046 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6047 multiarch strcasecmp_l for PPC64.
6048
62982bf9
AZ
60492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6050
6051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6052 implementations.
6053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6054 (__libc_ifunc_impl_list): Likewise.
6055 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6056 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6057 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6058 strnlen for PPC64.
6059
a65f4904
AZ
60602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6061
6062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6063 implementations.
6064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6065 (__libc_ifunc_impl_list): Likewise.
6066 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6067 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6068 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6069 strlen for PPC64.
6070
1fd005ad
AZ
60712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072
6073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6074 implementations.
6075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6076 (__libc_ifunc_impl_list): Likewise.
6077 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6078 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6079 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6080 rawmemrchr for PPC64.
6081
cd05ba91
AZ
60822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6083
6084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6085 implementation.
6086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6087 (__libc_ifunc_impl_list): Likewise.
6088 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6089 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6090 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6091 memrchr for PPC64.
6092
870f8676
AZ
60932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094
6095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6096 implementation.
6097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6098 (__libc_ifunc_impl_list): Likewise.
6099 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6100 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6101 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6102 memchr for PPC64.
6103
f00be62b
AZ
61042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6105
6106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6107 implementation.
6108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6109 (__libc_ifunc_impl_list): Likewise.
6110 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6111 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6112 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6113 mempcpy for PPC64.
6114
8a29a3d0
AZ
61152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6116
6117 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6118 avoid cretion of __bzero symbol.
6119 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6120 Likewise.
6121 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6122 Likewise.
6123 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6124 Likewise.
6125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6126 multiarch implementations.
6127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6128 (__libc_ifunc_impl_list): Likewise.
6129 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6130 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6131 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6132 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6133 bzero for PPC32.
6134 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6135 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6136 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6137 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6139 memset for PPC64.
6140 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6141
07253fcf
AZ
61422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6143
6144 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6146 implementations.
6147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6148 (__libc_ifunc_impl_list): Likewise.
6149 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6150 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6151 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6152 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6153 memcmp for PPC64.
6154
b5beafbc
AZ
61552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6156
6157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6158 multiarch for POWER/PPC64.
6159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6160 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6161 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6162 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6163 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6164 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6165 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6166 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6167 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6168 memcpy for PPC64.
6169
5e6a4d4b
AZ
61702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6171
6172 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6173 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6174 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6175 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6176 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6177 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6178 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6179 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6180 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6181 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6182 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6183 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6184 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6185 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6186 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6194
ddfab6dc
KK
61952013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6196
6197 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6198
19b5525e
SP
61992013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6200
6201 * benchtests/Makefile (bench): Add exp2 and log2.
6202 (LDLIBS-bench-exp2): Add -lm.
6203 (LDLIBS-bench-log2): Likewise.
6204 * benchtests/exp2-inputs: New inputs file.
6205 * benchtests/log2-inputs: New inputs file.
6206 * benchtests/log-inputs: Add new inputs.
6207 * benchtests/tan-inputs: Likewise.
6208
196f7f5d
SP
62092013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6210
7a74607f
SP
6211 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6212 definition...
6213 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6214 csloww1, csloww2): ... from here.
6215
196f7f5d
SP
6216 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6217 instead of structures.
6218 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6219 (POLYNOMIAL): Likewise.
6220 (TAYLOR_SLOW): Likewise.
6221 (__sin): Likewise.
6222 (__cos): Likewise.
6223 (slow1): Likewise.
6224 (slow2): Likewise.
6225 (sloww): Likewise.
6226 (sloww1); Likewise.
6227 (sloww2): Likewise.
6228 (bsloww1): Likewise.
6229 (bsloww2): Likewise.
6230 (cslow2): Likewise.
6231 (csloww): Likewise.
6232 (csloww1): Likewise.
6233 (csloww2): Likewise.
6234
0dfa665c
OB
62352013-12-10 Ondřej Bílka <neleai@seznam.cz>
6236
6237 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6238 (__malloc_assert, __libc_realloc, __libc_calloc,
6239 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6240 memcpy and memset.
6241 * malloc/hooks.c (realloc_check): Likewise.
6242
5782a80f
OB
62432013-12-10 Ondřej Bílka <neleai@seznam.cz>
6244
6245 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6246 * malloc/arena.c: Remove PER_THREAD conditional.
6247 [!PER_THREAD]: Remove code.
6248 (ptmalloc_unlock_all2): Likewise.
6249 (ptmalloc_init): Likewise.
6250 (_int_new_arena): Likewise.
6251 (arena_get2): Likewise.
6252 * malloc/hooks.c (__malloc_get_state): Likewise.
6253 (__malloc_set_state): Likewise.
6254 * malloc/malloc.c: Likewise.
6255 (struct malloc_state): Likewise.
6256 (struct malloc_par): Likewise.
6257 (__libc_realloc): Likewise.
6258 (__libc_mallopt): Likewise.
6259
aeb95445
AZ
62602013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6261
6262 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6263
e8349efd
OB
62642013-12-09 Ondřej Bílka <neleai@seznam.cz>
6265
6266 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6267 macro to a function. Check for zero perturb_byte.
6268 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6269
f3eeb3fc
OB
62702013-12-09 Ondřej Bílka <neleai@seznam.cz>
6271
6272 * malloc/malloc.c: (force_reg): Remove.
6273 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6274 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6275 force_reg by atomic_forced_read.
6276 * malloc/arena.c (ptmalloc_init): Likewise.
6277 * malloc/hooks.c (top_check): Likewise.
6278
be2f9009
AZ
62792013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280
6281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6282
e7b914bd
MT
62832013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6284
6285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6286
9f0be4f8
JM
62872013-12-08 Joseph Myers <joseph@codesourcery.com>
6288
6289 * math/auto-libm-test-in: Add tests of lgamma.
6290 * math/auto-libm-test-out: Regenerated.
6291 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6292 (M_LOG_2_SQRT_PIl): Likewise.
6293 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6294 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6295 mpfr_f_f1.
6296 (func_calc_desc): Add mpfr_f_f1 union field.
6297 (ARGS1): New macro.
6298 (ARGS2): Likewise.
6299 (ARGS3): Likewise.
6300 (ARGS4): Likewise.
6301 (RET1): Likewise.
6302 (RET2): Likewise.
6303 (CALC): Likewise.
6304 (FUNC): Likewise.
6305 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6306 (test_functions): Add lgamma.
6307 (calc_generic_results): Handle mpfr_f_f1.
6308 * sysdeps/i386/fpu/libm-test-ulps: Update.
6309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6310
24eeafdb
AZ
63112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312
6313 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6314 __mpn_add_n for PowerPC64/POWER7.
6315 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6316 __mpn_sub_n for PowerPC64/POWER7.
6317
4a2c0fd4
AZ
63182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6319
6320 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6321 __mpn_addmul_1 for PowerPC64.
6322 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6323 __mpn_submul_1 for PowerPC64.
6324 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6325 for PowerPC64.
6326 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6327 for PowerPC64.
6328
4b5b548c
FS
63292013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6330
6331 [BZ #15089]
6332 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6333
0a3ac0aa
AZ
63342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335
6336 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6337
ccdc8438
AZ
63382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
6340 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6341 add multiarch folders.
6342 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6343 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6344 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6345 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6346 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6347 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6348 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6349 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6350 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6351 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6352 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6359
2e973d99
AZ
63602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6361
6362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6363 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6365 New file.
6366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6367 New file.
6368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6369 multiarch __ieee754_hypot for PowerPC32.
6370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6371 New file.
6372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6373 New file.
6374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6375 multiarch __ieee754_hypotf for PowerPC32.
6376
2d9470b2
AZ
63772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378
6379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6380 long_double_symbol only if __logbl is defined.
6381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6382 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6384 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6385 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6386 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6387 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6388 path for implementation.
6389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6390 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6392 logb, and logbl multiarch implementations for PowerPC32.
6393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6394 file.
6395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6396 file.
6397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6398 multiarch logb for PowerPC32.
6399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6400 file.
6401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6402 file.
6403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6404 multiarch logbf for PowerPC32.
6405 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6407 file.
6408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6409 multiarch logbl implementation for PowerPC32.
6410
5212ffce
AZ
64112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6412
6413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6414 and modff multiarch implementations.
6415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6416 New file.
6417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6418 New file.
6419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6420 multiarch modf for PowerPC32.
6421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6422 New file.
6423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6424 New file.
6425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6426 multiarch modff for PowerPC32.
6427
79dccf31
AZ
64282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429
6430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6431 and lrintf multiarch implementations.
6432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6433 New file.
6434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6435 New file.
6436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6437 multiarch lrint for PowerPC32.
6438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6439 file: multiarch lrintf for PowerPC32.
6440
deb66480
AZ
64412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6442
6443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6444 and lroundf multiarch implementations.
6445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6446 New file.
6447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6448 New file.
6449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6450 New file.
6451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6452 multiarch lround for PowerPC32.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6454 file: multiarch lroundf for PowerPC32.
6455
264b036b
AZ
64562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6457
6458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6459 copysign and copysignf multiarch implementations.
6460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6461 New file.
6462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6463 New file.
6464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6465 file: multiarch copysign for PowerPC32.
6466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6467 file: multiarch copysignf for PowerPC32.
6468
d47db6c9
AZ
64692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6470
6471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6472 and truncf multiarch implementations.
6473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6474 New file.
6475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6476 file.
6477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6478 multiarch trunc for PowerPC32.
6479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6480 New file.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6482 New file.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6484 multiarch truncf for PowerPC32.
6485
ddb60b5a
AZ
64862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6487
6488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6489 and roundf multiarch implementations.
6490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6491 New file.
6492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6493 file.
6494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6495 multiarch round for PowerPC32.
6496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6497 New file.
6498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6499 New file.
6500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6501 multiarch roundf for PowerPC32.
6502
bedcf49b
AZ
65032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6504
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6506 and floorf multiarch implementations.
6507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6508 New file.
6509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6510 file.
6511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6512 multiarch floor for PowerPC32.
6513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6514 New file.
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6516 New file.
6517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6518 multiarch floorf for PowerPC32.
6519
35ae5b40
AZ
65202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6521
6522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6523 and ceilf multiarch implementations.
6524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6525 New file.
6526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6527 file.
6528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6529 multiarch ceil for PowerPC32.
6530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6531 New file.
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6533 file.
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6535 multiarch ceilf for PowerPC32.
6536
ae1a4cd9
AZ
65372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6538
6539 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6540 is defined.
6541 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6542 FINITEF is defined.
6543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6544 and finitef multiarch implementations.
6545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6546 New file.
6547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6548 file.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6550 multiarch finite for PowerPC32.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6552 New file.
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6554 file: multiarch finitef for PowerPC32.
6555
64fffd65
AZ
65562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6557
6558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6559 and isinff multiarch implementations.
6560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6561 file.
6562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6563 file.
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6565 multiarch isinf for PowerPC32.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6567 New file.
6568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6569 multiarch isinff for PowerPC32.
6570
8e4e7ba2
AZ
65712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6572
6573 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6574 alias when __isnan is defined.
6575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6576 and isnanf multiarch implementations.
6577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6578 file.
6579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6580 file.
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6582 file.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6584 file.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6586 multiarch isnan for PowerPC32.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6588 New file.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6590 New file.
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6592 multiarch isnanf for PowerPC32.
6593
ddba588e
AZ
65942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6595
6596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6597 and sqrtf multiarch implementations.
6598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6599 file.
6600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6601 file.
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6603 multiarch sqrt for PowerPC32.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6605 file.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6607 file.
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6609 multiarch sqrtf for PowerPC32.
6610
0f96a2f0
AZ
66112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6612
6613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6614 and llroundf multiarch implementations.
6615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6616 New file.
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6618 New file.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6620 New file.
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6622 file: multiarch llround for PowerPC32.
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6624 file: multiarch llroundf for PowerPC32.
6625
c9b5d79e
AZ
66262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6627
6628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6629 multiarch PowerPC32 fpu implementations.
6630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6631 New file.
6632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6633 New file.
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6635 multiarch llrint for PowerPC32.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6637 New file.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6639 New file.
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6641 file.
6642
9cbb3aab
AZ
66432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6644
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6646
ea5a72f8
AZ
66472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648
6649 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6650 file.
6651 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6652 file.
6653 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6654 file.
6655 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6656 multiarch wordcopy for PPC32.
6657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6658 wordcopy objects.
6659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6660 (__libc_ifunc_impl_list): Likewise.
6661 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6662 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6663 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6664 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6665 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6666 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6667
93be09e7
AZ
66682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6669
6670 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6671 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6672 file.
6673 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6674 file.
6675 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6676 file.
6677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6678 multiarch wcscpy for PPC32.
6679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6680 multiarch objects.
6681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6682 (__libc_ifunc_impl_list): Likewise.
6683 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6684 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6685 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6686 sysdeps/powerpc/power6/wcscpy.c.
6687
bb04e529
AZ
66882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6689
6690 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6692 file.
6693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6694 file.
6695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6696 file.
6697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6698 multiarch wcsrchr for PPC32.
6699 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6700 multiarch objects.
6701 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6702 (__libc_ifunc_impl_list): Likewise.
6703 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6704 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6705 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6706 sysdeps/powerpc/power6/wcsrchr.c.
6707
05b5cd1c
AZ
67082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6709
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6711 file.
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6713 file.
6714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6716 multiarch wcschr for PPc32.
6717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6718 multiarch objects.
6719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6720 (__libc_ifunc_impl_list): Likewise.
6721 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6722 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6723 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6724 sysdeps/powerpc/power6/wcschr.c.
6725
ba964147
AZ
67262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727
6728 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6730 file.
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6732 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6733 file: multiarch strchr for PPC32.
6734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6735 multiarch objects.
6736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6737 (__libc_ifunc_impl_list): Likewise.
6738
31c81aaa
AZ
67392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6740
6741 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6742 name.
6743 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6744 file.
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6746 file.
6747 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6748 multiarch strchrnul for PPC32.
6749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6750 multiarch objects.
6751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6752 (__libc_ifunc_impl_list): Likewise.
6753
0d0607d9
AZ
67542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6757 file.
6758 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6759 multiarch strncasecmp for PPC32.
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6761 file.
6762 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6763 multiarch strncasecmp_l for PPC32.
6764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6765 strncasecmp multiarch objects.
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6767 (__libc_ifunc_impl_list): Likewise.
6768
4dfd5c86
AZ
67692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770
6771 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6772 file.
6773 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6774 multiarch strncasecmp for PPC32.
6775 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6776 New file.
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6778 multiarch strcasecmp_l for PPC32.
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6780 multiarch objects.
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6782 (__libc_ifunc_impl_list): Likewise.
6783
a19e01a3
AZ
67842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785
6786 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6787 file.
6788 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6789 file.
6790 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6791 multiarch strncmp for PPC32.
6792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6793 multiarch objects.
6794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6795 (__libc_ifunc_impl_list): Likewise.
6796
ae9cf7a2
AZ
67972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6798
6799 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6800 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6801 file.
6802 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6803 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6805 multiarch objects.
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6807 (__libc_ifunc_impl_list): Likewise.
6808
3148bb7d
AZ
68092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6810
6811 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6812 file.
6813 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6814 file.
6815 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6817 multiarch objects.
6818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6819 (__libc_ifunc_impl_list): Likewise.
6820
7af8b946
AZ
68212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6822
6823 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6824 file.
6825 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6826 file.
6827 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6828 multiarch rawmemchr for PPC32.
6829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6830 multiarch objects.
6831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6832 (__libc_ifunc_impl_list): Likewise.
6833
03a6aa6a
AZ
68342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835
6836 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6837 file.
6838 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6839 file.
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6841 file: memrchr multiarch for PPC32.
6842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6843 multiarch objects.
6844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6845 (__libc_ifunc_impl_list): Likewise.
6846
1c62e6d9
AZ
68472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6848
6849 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6851 file.
6852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6854 multiarch memchr for PPC32.
6855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6856 multiarch objects.
6857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6858 (__libc_ifunc_impl_list): Likewise.
6859
87da8bdb
AZ
68602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6861
6862 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6864 file.
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6866 file.
6867 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6868 file: multiarch mempcpy for PPC32.
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6870 multiarch objects.
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6872 (__libc_ifunc_impl_list): Likewise.
6873
20ed4714
AZ
68742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6880 multiarch bzero for PPC32.
6881 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6882 file.
6883 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6884 file.
6885 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6886 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6887 file: multiarch memset for PPC32.
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6890 memset multiarch objects.
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6892 (__libc_ifunc_impl_list): Likewise.
6893
ab3e3a46
AZ
68942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895
6896 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6897 file.
6898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6900 memcmp for PPC32.
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6903 multiarch objects.
6904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6905 (__libc_ifunc_impl_list): Likewise.
6906
930de6f0
AZ
69072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6908
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6912 file.
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6914 file.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6916 file.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6918 multiarch memcpy for PPC32.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6920 multiarch objects.
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6922 (__libc_ifunc_impl_list): Likewise.
6923
4c628e00
AZ
69242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6925
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6927 support multiarch for POWER/PPC32.
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6929 Likewise.
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6932 Implies file to make multiarch folder appers before the fpu and
6933 default folder for power4 configuration.
6934
f4479220
SP
69352013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6936
6937 * scripts/bench.pl: Append volatile keyword to type.
6938
8517800f
KK
69392013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6940
6941 * sysdeps/sh/sotruss-lib.c: New file.
6942 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6943
180138f1
AZ
69442013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6945
6946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6947
bbf37bdc
JM
69482013-12-05 Joseph Myers <joseph@codesourcery.com>
6949
e47cc4e0
JM
6950 [BZ #6810]
6951 * math/w_tgamma.c: Include <errno.h>.
6952 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6953 * math/w_tgammaf.c: Include <errno.h>.
6954 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6955 * math/w_tgammal.c: Include <errno.h>.
6956 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6957 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6958 underflow. Add more tgamma tests.
6959 * math/auto-libm-test-out: Regenerated.
6960 * sysdeps/i386/fpu/libm-test-ulps: Update.
6961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6962
bbf37bdc
JM
6963 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6964 sin, sinh, tan, tanh, tgamma, y0 and y1.
6965 * math/auto-libm-test-out: Regenerated.
6966 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6967 (TEST_COND_x86): Likewise.
6968 (M_E2l): Remove macro.
6969 (M_E3l): Likewise.
6970 (M_2_SQRT_PIl): Likewise.
6971 (M_SQRT_PIl): Likewise.
6972 (M_1_DIV_El): Likewise.
6973 (log_test_data): Use AUTO_TESTS_f_f.
6974 (log10_test_data): Likewise.
6975 (log1p_test_data): Likewise.
6976 (log2_test_data): Likewise.
6977 (sin_test_data): Likewise.
6978 (sin_tonearest_test_data): Likewise.
6979 (sin_towardzero_test_data): Likewise.
6980 (sin_downward_test_data): Likewise.
6981 (sin_upward_test_data): Likewise.
6982 (sinh_test_data): Likewise.
6983 (sinh_tonearest_test_data): Likewise.
6984 (sinh_towardzero_test_data): Likewise.
6985 (sinh_downward_test_data): Likewise.
6986 (sinh_upward_test_data): Likewise.
6987 (tan_test_data): Likewise.
6988 (tan_tonearest_test_data): Likewise.
6989 (tan_towardzero_test_data): Likewise.
6990 (tan_downward_test_data): Likewise.
6991 (tan_upward_test_data): Likewise.
6992 (tanh_test_data): Likewise.
6993 (tgamma_test_data): Likewise.
6994 (y0_test_data): Likewise.
6995 (y1_test_data): Likewise.
6996 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6997 (special_real_inputs): Add pi/4.
6998 * sysdeps/i386/fpu/libm-test-ulps: Update.
6999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7000
eb5ad6b9
AZ
70012013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7002
7003 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7004 "longjmp_target" static probes.
7005 (__longjmp): Rename to __longjmp_symbol.
7006 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7007 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7008 on which longjmp to generate.
7009 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7010 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7011 probe.
7012 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7013 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7014 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7015 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7016 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7017 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7019 __longjmp_symbol based on which __longjmp to generate.
7020 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7021 probe.
7022 (setjmp): Rename to setjmp_symbol.
7023 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7024 (_setjmp): Rename to _setjmp_symbol.
7025 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7026 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7027 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7028 which setjmp to generate.
7029 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7030 "longjmp_target" static probes.
7031
d136c6dc
SP
70322013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7033
9298ecba
SP
7034 * benchtests/README: Add note about output arguments.
7035 * benchtests/bench-sincos.c: Remove file.
7036 * benchtests/sincos-inputs: New file.
7037 * scripts/bench.pl: Identify output arguments and define
7038 static variables for them.
7039
232983e9
SP
7040 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7041
d136c6dc
SP
7042 [BZ #15941]
7043 * Makefile (INSTALL): Add install-plain.texi as the primary
7044 dependency.
7045 * manual/install-plain.texi: New file.
7046 * manual/install.texi: Include node directive only for
7047 non-plaintext output.
7048
699ff837
JM
70492013-12-04 Joseph Myers <joseph@codesourcery.com>
7050
ab07cea8
JM
7051 * stdlib/longlong.h: Update from GCC.
7052
699ff837
JM
7053 [BZ #6807]
7054 [BZ #15901]
7055 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7056 * math/w_j0f.c (y0f): Likewise.
7057 * math/w_j0l.c (__y0l): Likewise.
7058 * math/w_j1.c (y1): Likewise.
7059 * math/w_j1f.c (y1f): Likewise.
7060 * math/w_j1l.c (__y1l): Likewise
7061 * math/w_jn.c (yn): Likewise.
7062 * math/w_jnf.c (ynf): Likewise.
7063 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7064 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7065 value for Bessel function domain errors outside _SVID_ mode.
7066 Adjust sign of return value for yn (negative integer, 0).
7067 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7068 by zero in return for negative x and set sign appropriately for
7069 negative n.
7070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7071 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7072 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7073 expectations in error cases.
7074 (y1_test_data): Likewise.
7075 (yn_test_data): Likewise.
7076 * sysdeps/i386/fpu/libm-test-ulps: Update.
7077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7078
5b118558
UW
70792013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7080
7081 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7082 "64" to "64-v1". Add "64-v2".
7083 (abi-64-options): Rename to ...
7084 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7085 (abi-64-condition): Rename to ...
7086 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7087 (abi-64-ld-soname): Rename to ...
7088 (abi-64-v1-ld-soname): ... this.
7089 (abi-64-v2-options): Define.
7090 (abi-64-v2-condition): Likewise.
7091 (abi-64-v2-ld-soname): Likewise.
7092 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7093 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7097
61cd8fe4
UW
70982013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7099 Alan Modra <amodra@gmail.com>
7100
7101 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7102 New versions for use with the ELFv2 ABI.
7103 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7104 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7105 declaration.
7106 (struct La_ppc64v2_retval): Likewise.
7107 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7108 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7109 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7110 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7111 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7112 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7113 Do not save or restore CR.
7114 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7115 (_dl_profile_resolve): Do no save or restore CR. Support extended
7116 return values for ELFv2 ABI. Fix location of FPR return registers.
7117 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7118 updated values for _CALL_ELF == 2.
7119 (La_regs, La_retval, int_retval): Likewise.
7120
8b8a692c
UW
71212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7122
7123 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7124 (FRAME_MIN_SIZE_PARM): Likewise.
7125 (FRAME_BACKCHAIN): Likewise.
7126 (FRAME_CR_SAVE): Likewise.
7127 (FRAME_LR_SAVE): Likewise.
7128 (FRAME_TOC_SAVE): Likewise.
7129 (FRAME_PARM_SAVE): Likewise.
7130 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7131 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7132 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7133 (call_mcount_parm_offset): New macro.
7134 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7135 (PROF): Use symbolic stack frame offsets.
7136 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7137 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7138 Redefine in terms of FRAME_MIN_SIZE.
7139 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7140 (_dl_profile_resolve): Likewise. Update comment.
7141 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7142 symbols stack frame offsets.
7143 (__sigsetjmp): Likewise.
7144 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7145 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7146 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7147 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7148
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7150 (FRAME_BACKCHAIN): Remove.
7151 (FRAME_CR_SAVE): Likewise.
7152 (FRAME_LR_SAVE): Likewise.
7153 (FRAME_COMPILER_DW): Likewise.
7154 (FRAME_LINKER_DW): Likewise.
7155 (FRAME_TOC_SAVE): Likewise.
7156 (FRAME_PARM_SAVE): Likewise.
7157 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7158 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7159 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7161 (CHECK_SP): Use symbolic stack frame offsets.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7163 zone" instead of caller's parameter save area for temp storage.
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7165 Likewise. Also, use symbolic stack frame offsets.
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7167 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7168 our own stack frame instead of the caller's.
7169 (__socket): Use symbolic stack frame offsets.
7170
122b66de
UW
71712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7172 Alan Modra <amodra@gmail.com>
7173
7174 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7175 Define.
7176 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7177 PPC64_LOCAL_ENTRY_OFFSET): Define.
7178 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7179 New function.
7180 (elf_machine_fixup_plt): Call it.
7181 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7182 reloc arguments.
7183 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7184 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7185 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7186 r2 before calling target.
7187
696caf1d
UW
71882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7189 Alan Modra <amodra@gmail.com>
7190
7191 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7192 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7193 versions of macros to support ELFv2 ABI.
7194 (LOCALENTRY): New macro.
7195 (ENTRY, EALIGN): Use it.
7196 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7197 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7198 fall through into ENTRY entry point.
7199 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7200 Only define if _CALL_ELF != 2.
7201
7202 (elf_machine_matches_host): Verify ABI version matches.
7203 (RTLD_START): Use LOCALENTRY.
7204 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7205 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7206 (PLT_ENTRY_WORDS): New macro.
7207 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7208 (elf_machine_runtime_setup): Support ELFv2 ABI.
7209 (elf_machine_fixup_plt): Likewise.
7210 (elf_machine_plt_conflict): Likewise.
7211 (resolve_ifunc): Likewise.
7212 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7214 Likewise.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7216 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7218 (makecontext): Support ELFv2 ABI.
7219 * elf/elf.h (EF_PPC64_ABI): Define.
7220
d31beafa
UW
72212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7222
7223 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7224 New assembler macro.
7225 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7226 [ASSEMBLER] (ENTRY): ... but instead here ...
7227 [ASSEMBLER] (EALIGN): ... and here.
7228 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7229 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7230 [!ASSEMBLER] (ENTRY_2): Use it.
7231 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7232 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7233 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7234 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7235 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7237 Use PPC64_LOAD_FUNCPTR.
7238
b525166b
UW
72392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7240
7241 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7242
7ec07d9a
AM
72432013-12-04 Alan Modra <amodra@gmail.com>
7244
7245 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7246 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7247 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7248 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7249
7250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7251 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7252 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7253 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7254 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7255 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7256
5162e7dd
UW
72572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7258
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7260 (__makecontext): Fix incorrect CFI when backtracing out of
7261 context created via makecontext.
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7263 (__setcontext): Fix incorrect CFI during switch to new context.
7264 (__novec_setcontext): Likewise.
7265
19e3372b
OB
72662013-12-04 Ondřej Bílka <neleai@seznam.cz>
7267
7268 [BZ #4772]
7269 * time/strptime_l.c (__strptime_internal): Allow modifiers
7270 in strptime.
7271 * time/tst-strptime.c (day_tests): Add testcase.
7272
7273
ecaf142d
SP
72742013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7275
7276 * scripts/bench.pl: Skip over blank lines.
7277
fbf964ae
PE
72782013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7279
7280 [BZ #926]
7281 * manual/time.texi (Calendar Time): Clarify what timezone functions
7282 use.
7283
fa60a674
AZ
72842013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7285
7286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7287
d674f0ef
OB
72882013-12-04 Ondřej Bílka <neleai@seznam.cz>
7289
7290 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7291 implementation.
7292 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7293 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7294 * debug/memset_chk.c (__memset_chk): Likewise.
7295 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7296 * debug/strncpy_chk.c: Likewise.
7297
17dea188
JM
72982013-12-03 Joseph Myers <joseph@codesourcery.com>
7299
749008ff
JM
7300 [BZ #15268]
7301 [BZ #15425]
7302 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7303 (__ieee754_exp): For possibly underflowing results, check size of
7304 result and force underflow exception if required.
7305 * math/auto-libm-test-in: Add more tests of exp.
7306 * math/auto-libm-test-out: Regenerated.
7307 * sysdeps/i386/fpu/libm-test-ulps: Update.
7308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7309
17dea188
JM
7310 [BZ #16283]
7311 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7312 * math/w_exp2f.c (__exp2f): Likewise.
7313 * math/w_exp2l.c (__exp2l): Likewise.
7314 * math/auto-libm-test-in: Do not allow missing errno on exp2
7315 underflow.
7316 * math/auto-libm-test-out: Regenerated.
7317
b20de2c3
OB
73182013-12-03 Ondřej Bílka <neleai@seznam.cz>
7319
7320 [BZ #16274]
7321 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7322 handle filename validation.
7323 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7324 (do_open): Delete.
7325
d8e2dbe3
JM
73262013-12-03 Joseph Myers <joseph@codesourcery.com>
7327
34e16df5
JM
7328 [BZ #6786]
7329 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7330 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7331 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7332 <float.h>.
7333 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7335 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7337 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7338 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7339 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7340 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7341 Add more erfc tests.
7342 * math/auto-libm-test-out: Regenerated.
7343 * sysdeps/i386/fpu/libm-test-ulps: Update.
7344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7345
d8e2dbe3
JM
7346 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7347 exp2, expm1, j0 and j1.
7348 * math/auto-libm-test-out: Regenerated.
7349 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7350 (erfc_test_data): Likewise.
7351 (exp_test_data): Likewise.
7352 (exp_tonearest_test_data): Likewise.
7353 (exp_towardzero_test_data): Likewise.
7354 (exp_downward_test_data): Likewise.
7355 (exp_upward_test_data): Likewise.
7356 (exp10_test_data): Likewise.
7357 (exp2_test_data): Likewise.
7358 (expm1_test_data): Likewise.
7359 (j0_test_data): Likewise.
7360 (j1_test_data): Likewise.
7361 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7362 (input_flag_type): Add flag_xfail_rounding.
7363 (input_flags): Add xfail-rounding.
7364 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7365 (output_for_one_input_case): Handle flag_xfail_rounding.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7368
18d14251
AJ
73692013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7370
3d2e6075 7371 [BZ #16289]
18d14251
AJ
7372 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7373 division by 0.
7374
520d437b
SP
73752013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7376
7377 [BZ #16195]
7378 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7379 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7380 (STAP_PROBE0): New macro.
7381 (STAP_PROBE1): Likewise.
7382 (STAP_PROBE2): Likewise.
7383 (STAP_PROBE3): Likewise.
7384 (STAP_PROBE4): Likewise.
7385
416e0145
OB
73862013-12-02 Ondřej Bílka <neleai@seznam.cz>
7387
7388 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7389
9d17796a
SE
73902013-12-02 Steve Ellcey <sellcey@mips.com>
7391
7392 * benchtests/Makefile (bench): Add sqrt.
7393 (LDLIBS-bench-sqrt): New.
7394 * benchtests/sqrt-input: New.
7395
f524d6a8
PS
73962013-12-02 Pavel Simerda <psimerda@redhat.com>
7397
639a0ef8
PS
7398 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7399 (GAIH_EAI): Likewise.
7400 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7401 (gaih_inet): Likewise.
7402 (getaddrinfo): Don't use GAIH_EAI.
7403
f524d6a8
PS
7404 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7405 (struct gaih): Remove definition.
7406
df3aedaf
SP
74072013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7408
7409 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7410 Use HERRNOP directly.
7411
1ab19dec
AZ
74122013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7413
b42ad38d 7414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7415
176b0c79
JM
74162013-11-30 Joseph Myers <joseph@codesourcery.com>
7417
7418 * math/gen-auto-libm-tests.c (test_functions): Add more
7419 single-argument functions.
7420 (special_fill_pi_2): New function.
7421 (special_fill_minus_pi_2): Likewise.
7422 (special_fill_pi_6): Likewise.
7423 (special_fill_minus_pi_6): Likewise.
7424 (special_fill_pi_3): Likewise.
7425 (special_fill_2pi_3): Likewise.
7426 (special_fill_e): Likewise.
7427 (special_fill_1_e): Likewise.
7428 (special_fill_e_minus_1): Likewise.
7429 (special_real_inputs): Add more special inputs.
7430 (output_for_one_input_case): Do not require ERANGE on underflow to
7431 zero if round-to-nearest result does not underflow to zero, unless
7432 exact results required.
7433 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7434 atan, atanh, cbrt, cos and cosh.
7435 * math/auto-libm-test-out: Regenerated.
7436 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7437 (acos_tonearest_test_data): Likewise.
7438 (acos_towardzero_test_data): Likewise.
7439 (acos_downward_test_data): Likewise.
7440 (acos_upward_test_data): Likewise.
7441 (acosh_test_data): Likewise.
7442 (asin_test_data): Likewise.
7443 (asin_tonearest_test_data): Likewise.
7444 (asin_towardzero_test_data): Likewise.
7445 (asin_upward_test_data): Likewise.
7446 (asinh_test_data): Likewise.
7447 (atan_test_data): Likewise.
7448 (atanh_test_data): Likewise.
7449 (cbrt_test_data): Likewise.
7450 (cos_test_data): Likewise.
7451 (cos_tonearest_test_data): Likewise.
7452 (cos_towardzero_test_data): Likewise.
7453 (cos_downward_test_data): Likewise.
7454 (cos_upward_test_data): Likewise.
7455 (cosh_test_data): Likewise.
7456 (cosh_tonearest_test_data): Likewise.
7457 (cosh_towardzero_test_data): Likewise.
7458 (cosh_downward_test_data): Likewise.
7459 (cosh_upward_test_data): Likewise.
7460 * sysdeps/i386/fpu/libm-test-ulps: Update.
7461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7462
ffb536d0
JM
74632013-11-29 Joseph Myers <joseph@codesourcery.com>
7464
2a77a467
JM
7465 [BZ #6787]
7466 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7467 * math/w_exp10f.c (__exp10f): Likewise.
7468 * math/w_exp10l.c (__exp10l): Likewise.
7469 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7470 errno settings in existing tests.
7471
ea3bc4e8
JM
7472 [BZ #14032]
7473 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7474 precision control set to double precision.
7475 * sysdeps/i386/fpu/w_sqrt.c: New file.
7476 * math/auto-libm-test-in: Add more tests.
7477 * math/auto-libm-test-out: Update.
7478
0712c9d8
JM
7479 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7480 (sqrt_test_tonearest): New function.
7481 (sqrt_towardzero_test_data): New variable.
7482 (sqrt_test_towardzero): New function.
7483 (sqrt_downward_test_data): New variable.
7484 (sqrt_test_downward): New function.
7485 (sqrt_upward_test_data): New variable.
7486 (sqrt_test_upward): New function.
7487 (main): Call the new functions.
7488
ffb536d0
JM
7489 * math/gen-auto-libm-tests.c: New file.
7490 * math/auto-libm-test-in: Likewise.
7491 * math/auto-libm-test-out: New generated file.
7492 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7493 variables.
7494 (%beautify): Add generated representations of zero.
7495 (top level): Set $auto_input and call parse_auto_input.
7496 (beautify): Remove trailing "f" from hex float constants.
7497 (parse_args): Handle XFAIL_TEST.
7498 (convert_condition): New function.
7499 (or_value): Likewise.
7500 (or_cond_value): Likewise.
7501 (generate_testfile): Handle AUTO_TESTS_* lines.
7502 (parse_auto_input): New function.
7503 * math/libm-test.inc (XFAIL_TEST): New macro.
7504 (ERRNO_UNCHANGED): Update value.
7505 (ERRNO_EDOM): Likewise.
7506 (ERRNO_ERANGE): Likewise.
7507 (IGNORE_RESULT): Likewise.
7508 (TEST_COND_flt_32): New macro.
7509 (TEST_COND_dbl_64): Likewise.
7510 (TEST_COND_ldbl_96_intel): Likewise.
7511 (TEST_COND_ldbl_96_m68k): Likewise.
7512 (TEST_COND_ldbl_128): Likewise.
7513 (TEST_COND_ldbl_128ibm): Likewise.
7514 (TEST_COND_long32): Likewise.
7515 (TEST_COND_long64): Likewise.
7516 (TEST_COND_before_rounding): Likewise.
7517 (TEST_COND_after_rounding): Likewise.
7518 (enable_test): Handle XFAIL_TEST flag.
7519 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7520 with finite results.
7521 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7522 auto-libm-test-out.
7523
acd98a8e
AK
75242013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7525 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7526
7527 [BZ #16214]
7528 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7529 __tls_get_addr_internal instead of __tls_get_offset in order to
7530 avoid GOT pointer dependency. Make rtld export
7531 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7532 __tls_get_addr since we are a __tls_get_offset platform.
7533 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7534 GOT pointer being set up before.
7535 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7536
3c1c46a6
JM
75372013-11-28 Joseph Myers <joseph@codesourcery.com>
7538
7475aef5
JM
7539 * manual/math.texi (Errors in Math Functions): Document accuracy
7540 goals.
7541
8bca7cd8
JM
7542 [BZ #15004]
7543 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7544 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7547 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7549 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7559
91a1f3fe
JM
7560 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7561 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7562 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7563 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7564 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7565 Likewise.
7566 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7567 Likewise.
7568 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7569 Likewise.
7570 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7571 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7572 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7573 atomic-feupdateenv and flt-rounds.
7574 * sysdeps/powerpc/nofpu/Versions (libc): Add
7575 __atomic_feholdexcept, __atomic_feclearexcept,
7576 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7577 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7578 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7579 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7580 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7581 here.
7582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7583 Update.
7584
c5df7609
JM
7585 * manual/arith.texi (FP Exceptions): Document that exceptions may
7586 not be raised when matherr is used.
7587 (Math Error Reporting): Document overflow in directed rounding
7588 modes. Document that errno may not be set when finite values are
7589 returned on overflow. Document intent to set errno on underflow
7590 only for underflow to zero.
7591
3c1c46a6
JM
7592 [BZ #16271]
7593 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7594 round-to-nearest then adjust result for other rounding modes.
7595 * include/fenv.h (fegetround): Use libm_hidden_proto.
7596 * math/fegetround.c (fegetround): Use libm_hidden_def.
7597 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7598 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7599 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7600 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7601 Likewise.
7602 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7603 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7604 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7605 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7606
5a4c6d53
SP
76072013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7608
7609 [BZ #16077]
7610 * nss/Versions (libnss_files): Add
7611 _nss_files_gethostbyname3_r.
7612 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7613 New function.
7614 (HOST_DB_LOOKUP): Remove macro.
7615 (_nss_files_gethostbyname_r): Implement function without the
7616 HOST_DB_LOOKUP macro.
7617 (_nss_files_gethostbyname2_r): Likewise.
7618
897b98ba
OB
76192013-11-28 Ondřej Bílka <neleai@seznam.cz>
7620
7621 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7622
6f476861
UB
76232013-11-26 Uros Bizjak <ubizjak@gmail.com>
7624
7625 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7626 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7627 warning.
7628
bd12ab55
AZ
76292013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630
7631 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7632 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7633 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7634 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7635 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7636 __fe_nomask_env_priv and attribute_hidden.
7637 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7638 (libc_feupdateenv_test_ppc): Likewise.
7639 (libc_feresetround_ppc): Likewise.
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7641 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7642 compat_symbol macro.
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7644 (__fe_nomask_env): Likewise.
7645 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7646
52bb6543
OB
76472013-11-26 Ondřej Bílka <neleai@seznam.cz>
7648
7649 * string/Makefile: Remove ifunc tests.
7650 * string/test-string.h: Define TEST_IFUNC.
7651 * string/test-bcopy-ifunc.c: Remove.
7652 * string/test-bzero-ifunc.c: Likewise.
7653 * string/test-memccpy-ifunc.c: Likewise.
7654 * string/test-memchr-ifunc.c: Likewise.
7655 * string/test-memcmp-ifunc.c: Likewise.
7656 * string/test-memcpy-ifunc.c: Likewise.
7657 * string/test-memmem-ifunc.c: Likewise.
7658 * string/test-memmove-ifunc.c: Likewise.
7659 * string/test-mempcpy-ifunc.c: Likewise.
7660 * string/test-memrchr-ifunc.c: Likewise.
7661 * string/test-memset-ifunc.c: Likewise.
7662 * string/test-rawmemchr-ifunc.c: Likewise.
7663 * string/test-stpcpy-ifunc.c: Likewise.
7664 * string/test-stpncpy-ifunc.c: Likewise.
7665 * string/test-strcasecmp-ifunc.c: Likewise.
7666 * string/test-strcasestr-ifunc.c: Likewise.
7667 * string/test-strcat-ifunc.c: Likewise.
7668 * string/test-strchr-ifunc.c: Likewise.
7669 * string/test-strchrnul-ifunc.c: Likewise.
7670 * string/test-strcmp-ifunc.c: Likewise.
7671 * string/test-strcpy-ifunc.c: Likewise.
7672 * string/test-strcspn-ifunc.c: Likewise.
7673 * string/test-strlen-ifunc.c: Likewise.
7674 * string/test-strncasecmp-ifunc.c: Likewise.
7675 * string/test-strncat-ifunc.c: Likewise.
7676 * string/test-strncmp-ifunc.c: Likewise.
7677 * string/test-strncpy-ifunc.c: Likewise.
7678 * string/test-strnlen-ifunc.c: Likewise.
7679 * string/test-strpbrk-ifunc.c: Likewise.
7680 * string/test-strrchr-ifunc.c: Likewise.
7681 * string/test-strspn-ifunc.c: Likewise.
7682 * string/test-strstr-ifunc.c: Likewise.
7683
ab260039 76842013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7685
7686 * benchtests/Makefile: Remove ifunc tests.
7687 * benchtests/bench-string.h: Define TEST_IFUNC.
7688 * benchtests/bench-bcopy-ifunc.c: Remove.
7689 * benchtests/bench-bzero-ifunc.c: Likewise.
7690 * benchtests/bench-memccpy-ifunc.c: Likewise.
7691 * benchtests/bench-memchr-ifunc.c: Likewise.
7692 * benchtests/bench-memcmp-ifunc.c: Likewise.
7693 * benchtests/bench-memcpy-ifunc.c: Likewise.
7694 * benchtests/bench-memmem-ifunc.c: Likewise.
7695 * benchtests/bench-memmove-ifunc.c: Likewise.
7696 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7697 * benchtests/bench-memrchr-ifunc.c: Likewise.
7698 * benchtests/bench-memset-ifunc.c: Likewise.
7699 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7700 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7701 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7702 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7703 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7704 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7705 * benchtests/bench-strcat-ifunc.c: Likewise.
7706 * benchtests/bench-strchr-ifunc.c: Likewise.
7707 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7708 * benchtests/bench-strcmp-ifunc.c: Likewise.
7709 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7710 * benchtests/bench-strcpy-ifunc.c: Likewise.
7711 * benchtests/bench-strcspn-ifunc.c: Likewise.
7712 * benchtests/bench-strlen-ifunc.c: Likewise.
7713 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7714 * benchtests/bench-strncat-ifunc.c: Likewise.
7715 * benchtests/bench-strncmp-ifunc.c: Likewise.
7716 * benchtests/bench-strncpy-ifunc.c: Likewise.
7717 * benchtests/bench-strnlen-ifunc.c: Likewise.
7718 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7719 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7720 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7721 * benchtests/bench-strspn-ifunc.c: Likewise.
7722 * benchtests/bench-strstr-ifunc.c: Likewise.
7723
77242013-11-26 Ondřej Bílka <neleai@seznam.cz>
7725
ab260039
OB
7726 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7727
d1d9eaf4 77282013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7729
d1d9eaf4
OB
7730 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7731 * rt/aio.h: Likewise.
7732 * sysdeps/gnu/bits/utmp.h: Likewise.
7733 * sysdeps/gnu/bits/utmpx.h: Likewise.
7734 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7735 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7736 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7737 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7738 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7739 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7740 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7741 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7742 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7743 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7745 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7746 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7748 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7749 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7750 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7751 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7752 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7753 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7754 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7755 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7756 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7757 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7758 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7760 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7761 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7762 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7763 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7764 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7765 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7766 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7767 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7768 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7769 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7770 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7771 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7772 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7773 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7774 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7775 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7776
a7624ed9
CD
77772013-11-25 Carlos O'Donell <carlos@redhat.com>
7778
7779 [BZ #16245]
7780 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7781 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7782
63cfe52b
JM
77832013-11-25 Joseph Myers <joseph@codesourcery.com>
7784
7785 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7786 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7787 Likewise.
7788
41e8926a
AZ
77892013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7790
7791 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7792 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7793 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7794 (__fesetround): Remove define.
7795 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7796 rounding and exceptions handling.
7797 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7798 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7799 (__fe_nomask_env): Likewise.
7800 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7801 __fegetround instead of fegetround.
7802 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7803 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7804
6851bd4d
RM
78052013-11-21 Roland McGrath <roland@hack.frob.com>
7806
070906ff
RM
7807 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7808 it's there.
7809
6851bd4d
RM
7810 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7811
84ae135d
MI
78122013-11-21 Meador Inge <meadori@codesourcery.com>
7813
7814 [BZ #11157]
7815 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7816 (encrypt_r): Likewise.
7817 * malloc/obstack.h (obstack_free): Likewise.
7818 * posix/unistd.h (encrypt): Likewise.
7819
daf75146
GM
78202013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7821
7822 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7823 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7824 DL_CALL_DT_FINI() that call the functions directly.
7825 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7826 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7827 * elf/dl-fini.c: Likewise.
7828
10ad46bc
OB
78292013-11-20 Ondřej Bílka <neleai@seznam.cz>
7830
7831 * malloc/hooks.c (memalign_check): Add alignment rounding.
7832 * malloc/malloc.c (_mid_memalign): New function.
7833 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7834 Implement by calling _mid_memalign.
7835 * manual/probes.texi (Memory Allocation Probes): Remove
7836 memory_valloc_retry and memory_pvalloc_retry.
7837
f3fd2628
SP
78382013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7839
4712799f
SP
7840 * locale/programs/locarchive.c (open_archive): Add const
7841 qualifier to ARCHIVEFNAME and copy default fname to
7842 DEFAULT_FNAME.
7843
0417b20f
SP
7844 [BZ #15601]
7845 * libio/tst-widetext.input: Rename Oriya to Odia.
7846 * locale/iso-639.def: Likewise.
7847
f3fd2628
SP
7848 * manual/probes.texi (Mathematical Function Probes): Add
7849 documentation for sin, cos, asin and acos probes.
7850 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7851 (__sin32): Add slowasin probe.
7852 (__cos32): Add slowacos probe.
7853 (__mpsin): Add slowsin probe.
7854 (__mpcos): Add slowcos probe.
7855
73c1ce4f
JM
78562013-11-19 Joseph Myers <joseph@codesourcery.com>
7857
7858 [BZ #15483]
7859 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7860 thread-local __sim_exceptions_thread and global
7861 __sim_exceptions_global.
7862 (__sim_disabled_exceptions): Change to thread-local
7863 __sim_disabled_exceptions_thread and global
7864 __sim_disabled_exceptions_global.
7865 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7866 and global __sim_round_mode_global.
7867 (__simulate_exceptions): Use thread-local floating-point state and
7868 set global state from it as needed.
7869 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7870 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7871 __sim_round_mode_thread.
7872 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7873 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7874 and global __sim_exceptions_global.
7875 (__sim_disabled_exceptions): Change to thread-local
7876 __sim_disabled_exceptions_thread and global
7877 __sim_disabled_exceptions_global.
7878 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7879 and global __sim_round_mode_global.
7880 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7881 (SIM_SET_GLOBAL): Likewise.
7882 * sysdeps/powerpc/soft-fp/sfp-machine.h
7883 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7884 __sim_round_mode_thread.
7885 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7886 __sim_disabled_exceptions_thread.
7887 (__sim_exceptions): Change to __sim_exceptions_thread.
7888 (__sim_disabled_exceptions): Change to
7889 __sim_disabled_exceptions_thread.
7890 (__sim_round_mode): Change to __sim_round_mode_thread.
7891 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7892 thread-local floating-point state and set global state from it as
7893 needed.
7894 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7895 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7896 (__sim_disabled_exceptions): Remove extern declaration.
7897 (feenableexcept): Use thread-local floating-point state and set
7898 global state from it as needed.
7899 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7900 extern declaration.
7901 (__sim_disabled_exceptions): Likewise.
7902 (__sim_round_mode): Likewise.
7903 (__fegetenv): Use thread-local floating-point state.
7904 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7905 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7906 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7907 floating-point state and set global state from it as needed.
7908 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7909 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7910 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7911 Likewise.
7912 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7913 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7914 Likewise.
7915 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7916 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7917 Use __sim_round_mode_thread.
7918 * math/test-fenv-tls.c: New file.
7919 * math/Makefile (tests): Add test-fenv-tls.
7920 ($(objpfx)test-fenv-tls): Depend on
7921 $(common-objpfx)nptl/libpthread.so.
7922
b5449b12
AS
79232013-11-19 Andreas Schwab <schwab@suse.de>
7924
7925 * locale/programs/locale.c (show_info): Decode wordarray elements.
7926 * locale/categories.def (LC_MONETARY): Add element for
7927 _NL_MONETARY_CRNCYSTR.
7928 * locale/C-monetary.c (conversion_rate): New variable.
7929 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7930 element.
7931
e186536b
CM
79322013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7933
7934 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7935 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7936
5c349950
PP
79372013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7938
7939 * elf/Makefile (tst-auxv): New test.
7940 * elf/tst-auxv.c: New
7941 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7942
699df45b
JM
79432013-11-18 Joseph Myers <joseph@codesourcery.com>
7944
7945 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7946 (hidden_proto): Caller changed.
7947 (hidden_tls_proto): New macro.
7948 (libc_hidden_tls_proto): Likewise.
7949 (rtld_hidden_tls_proto): Likewise.
7950 (libm_hidden_tls_proto): Likewise.
7951 (libresolv_hidden_tls_proto): Likewise.
7952 (librt_hidden_tls_proto): Likewise.
7953 (libdl_hidden_tls_proto): Likewise.
7954 (libnss_files_hidden_tls_proto): Likewise.
7955 (libnsl_hidden_tls_proto): Likewise.
7956 (libnss_nisplus_hidden_tls_proto): Likewise.
7957 (libutil_hidden_tls_proto): Likewise.
7958
b7589107
OB
79592013-11-18 Ondřej Bílka <neleai@seznam.cz>
7960
7961 [BZ #10253]
7962 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7963 (decompose_rpath): Defer expansion to fillin_rpath.
7964 (_dl_init_paths): Pass linkmap to fillin_rpath.
7965
250c23bd
RS
79662013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7967
7968 * benchtests/Makefile: Add strsep.
7969 * benchtests/bench-strsep.c: New file: strsep benchtest.
7970 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7971
a7931fcf
AS
79722013-11-18 Andreas Schwab <schwab@suse.de>
7973
7974 * locale/programs/locale.c (show_info) [case byte]: Check for
7975 '\377' instead of '\177'.
7976 * locale/C-monetary.c (not_available): Always use "\377".
7977 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7978 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7979 detect unavailable sign_posn locale elements.
7980 * locale/localeconv.c (__localeconv): For grouping and
7981 mon_grouping handle "\177" and "\377" like no grouping.
7982 (INT_ELEM): New macro. Use it to set all numeric members.
7983 * locale/programs/ld-monetary.c (monetary_read)
7984 <tok_mon_grouping>: Normalize single -1 to the empty string.
7985 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7986 Likewise.
7987
728dab0e
OB
79882013-11-07 Ondřej Bílka <neleai@seznam.cz>
7989
7990 [BZ #16055]
7991 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7992 when we match (nil).
7993 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7994
66294491
JM
79952013-11-16 Joseph Myers <joseph@codesourcery.com>
7996
ce665817
JM
7997 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7998 (NO_TEST_INLINE): Update value.
7999 (ERRNO_UNCHANGED): Likewise.
8000 (ERRNO_EDOM): Likewise.
8001 (ERRNO_ERANGE): Likewise.
8002 (IGNORE_RESULT): Likewise.
8003 (check_float_internal): Check signs of NaN results if
8004 TEST_NAN_SIGN used.
8005 (check_complex): Pass TEST_NAN_SIGN flag through to second
8006 check_float_internal call.
8007 (copysign_test_data): Add tests with quiet NaNs as second
8008 argument. Use TEST_NAN_SIGN.
8009 (fabs_test_data): Add test of negative quiet NaN argument. Use
8010 TEST_NAN_SIGN.
8011 (signbit_test_data): Add tests of quiet NaN argument.
8012 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8013
ee1466a9
JM
8014 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8015 $ignore_result.
8016 (parse_args): Handle function results specified as IGNORE.
8017 * math/libm-test.inc (IGNORE_RESULT): New macro.
8018 (check_float_internal): Do not check numerical result if flag
8019 IGNORE_RESULT set.
8020 (check_complex): Pass through IGNORE_RESULT to second
8021 check_float_internal call.
8022 (check_int): Do not check numerical result if flag IGNORE_RESULT
8023 set.
8024 (check_long): Likewise.
8025 (check_bool): Likewise.
8026 (check_longlong): Likewise.
8027 (lrint_test_data): Add tests of infinite and NaN arguments.
8028 (lrint_tonearest_test_data): Likewise.
8029 (lrint_towardzero_test_data): Likewise.
8030 (lrint_downward_test_data): Likewise.
8031 (lrint_upward_test_data): Likewise.
8032 (llrint_test_data): Likewise.
8033 (llrint_tonearest_test_data): Likewise.
8034 (llrint_towardzero_test_data): Likewise.
8035 (llrint_downward_test_data): Likewise.
8036 (llrint_upward_test_data): Likewise.
8037 (lround_test_data): Likewise.
8038 (llround_test_data): Likewise.
8039
14407b7e
JM
8040 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8041 (ERRNO_UNCHANGED): Update value.
8042 (ERRNO_EDOM): Likewise.
8043 (ERRNO_ERANGE): Likewise.
8044 (NO_TEST_INLINE_FLOAT): New macro.
8045 (NO_TEST_INLINE_DOUBLE): Likewise.
8046 (enable_test): New function.
8047 (RUN_TEST_f_f): Check enable_test before running test.
8048 (RUN_TEST_2_f): Likewise.
8049 (RUN_TEST_fff_f): Likewise.
8050 (RUN_TEST_c_f): Likewise.
8051 (RUN_TEST_f_f1): Likewise.
8052 (RUN_TEST_fF_f1): Likewise.
8053 (RUN_TEST_fI_f1): Likewise.
8054 (RUN_TEST_ffI_f1): Likewise.
8055 (RUN_TEST_c_c): Likewise.
8056 (RUN_TEST_cc_c): Likewise.
8057 (RUN_TEST_f_i): Likewise.
8058 (RUN_TEST_f_i_tg): Likewise.
8059 (RUN_TEST_ff_i_tg): Likewise.
8060 (RUN_TEST_f_b): Likewise.
8061 (RUN_TEST_f_b_tg): Likewise.
8062 (RUN_TEST_f_l): Likewise.
8063 (RUN_TEST_f_L): Likewise.
8064 (RUN_TEST_fFF_11): Likewise.
8065 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8066 conditionals.
8067 (cosh_test_data): Likewise.
8068 (exp_test_data): Likewise.
8069 (expm1_test_data): Likewise.
8070 (hypot_test_data): Likewise.
8071 (pow_test_data): Likewise.
8072 (sinh_test_data): Likewise.
8073 (tanh_test_data): Likewise.
8074 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8075 flags argument.
8076
ca07f197
JM
8077 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8078 tests with quiet NaN input and output.
8079 (acosh_test_data): Likewise.
8080 (asin_test_data): Likewise.
8081 (asinh_test_data): Likewise.
8082 (atan_test_data): Likewise.
8083 (atanh_test_data): Likewise.
8084 (atan2_test_data): Likewise.
8085 (cbrt_test_data): Likewise.
8086 (cos_test_data): Likewise.
8087 (cosh_test_data): Likewise.
8088 (erf_test_data): Likewise.
8089 (erfc_test_data): Likewise.
8090 (exp_test_data): Likewise.
8091 (exp10_test_data): Likewise.
8092 (exp2_test_data): Likewise.
8093 (expm1_test_data): Likewise.
8094 (hypot_test_data): Likewise.
8095 (j0_test_data): Likewise.
8096 (j1_test_data): Likewise.
8097 (jn_test_data): Likewise.
8098 (lgamma_test_data): Likewise.
8099 (log_test_data): Likewise.
8100 (log10_test_data): Likewise.
8101 (log1p_test_data): Likewise.
8102 (log2_test_data): Likewise.
8103 (pow_test_data): Likewise.
8104 (scalb_test_data): Likewise.
8105 (sin_test_data): Likewise.
8106 (sincos_test_data): Likewise.
8107 (sinh_test_data): Likewise.
8108 (tan_test_data): Likewise.
8109 (tanh_test_data): Likewise.
8110 (tgamma_test_data): Likewise.
8111 (y0_test_data): Likewise.
8112 (y1_test_data): Likewise.
8113 (yn_test_data): Likewise.
8114
66294491
JM
8115 [BZ #16167]
8116 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8117 argument being NaN and avoid computations with second argument in
8118 that case.
8119 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8120 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8121 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8122
1820b143
CL
81232013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8124
8125 * locale/iso-639.def: Add Chitwani Tharu (the).
8126
714bd261
AS
81272013-11-14 Andreas Schwab <schwab@suse.de>
8128
8129 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8130 word instead of empty string.
8131
7ab44563
AZ
81322013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8133
8134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8135 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8137 (__fe_nomask_env): Likewise.
8138
e8470ea2
SE
81392013-11-13 Steve Ellcey <sellcey@mips.com>
8140
8141 * benchtests/bench-timing.h: Include time.h.
8142
17c1d9f0
L
81432013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8144
8145 [BZ #15997]
8146 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8147 to 3.4.0 for x32.
8148 * sysdeps/unix/sysv/linux/configure: Regenerated.
8149
9310c284
JM
81502013-11-13 Joseph Myers <joseph@codesourcery.com>
8151
8152 [BZ #16151]
8153 * stdlib/strtod_l.c (round_and_return): Do not consider
8154 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8155 exponent one less than half the least subnormal exponent.
8156 * stdlib/test-strtod-round-data: Add more tests.
8157 * stdlib/tst-strtod-round.c (tests): Regenerated.
8158
7a2ad8cf
AZ
81592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8160
8161 [BZ #14143]
8162 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8163 (__fe_mask_env): Likewise.
8164 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8165 libm_hidden_proto and add function prototype.
8166 (__fe_mask_env): Add function prototype.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8168 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8170 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8172 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8173
50727aa7
MS
81742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8175
b2f386c1 8176 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8177 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8178
a615be46
MS
81792013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8180
8181 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8182 of htab_find_slot().
8183
7ddace62
DM
81842013-11-11 David S. Miller <davem@davemloft.net>
8185
8186 [BZ #16150]
8187 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8188 symbol in the non-vis3 case in static builds.
8189 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8190 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8191 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8192 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8193
9182aa67
JK
81942013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8195
8196 [BZ #387]
8197 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8198 it is empty.
8199
450a2e2d
AZ
82002013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8201
b2f386c1
SP
8202 * benchtests/Makefile: Add bench-strtod.
8203 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8204
8ec3f656
AS
82052013-11-11 Andreas Schwab <schwab@suse.de>
8206
8207 [BZ #16153]
8208 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8209 terminating NUL in key length.
8210
76a9b998
AZ
82112013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8212
8213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8214 Add artificial ODP entry for vDSO symbol for PPC64.
8215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8216 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8217
e4368156
OB
82182013-11-07 Ondřej Bílka <neleai@seznam.cz>
8219
8220 [BZ #15374]
8221 * nss/getent.c (services_keys): Recognize services starting with digit.
8222
8d6bb57c
DM
82232013-11-06 David S. Miller <davem@davemloft.net>
8224
8225 [BZ #15985]
8226 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8227 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8228
e256c421
WN
82292013-11-06 Will Newton <will.newton@linaro.org>
8230
8231 * manual/memory.texi (Malloc Examples): Remove register
8232 keyword from examples.
8233
f6e12daa 82342013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8235
f6e12daa 8236 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8237
9d880655
AS
82382013-11-04 Joseph Myers <joseph@codesourcery.com>
8239
fd2f9486 8240 [BZ #6981]
9d880655
AS
8241 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8242 depending on [__GCC_IEC_559 > 0].
8243 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8244 depending on [__GCC_IEC_559_COMPLEX > 0].
8245
ae129d3c
CL
82462013-11-03 Chris Leonard <cjl@sugarlabs.org>
8247
8248 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8249 to iso-639.def.
8250
4a15c2a4 82512013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8252
8253 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8254
8b35e35d
OB
82552013-11-01 Ondřej Bílka <neleai@seznam.cz>
8256
8257 [BZ #16112]
8258 * malloc/malloc (malloc_info): Do not handle first bin as
8259 special case.
8260
1d70fd6c
CL
82612013-11-01 Chris Leonard <cjl@sugarlabs.org>
8262
8263 * locale/iso-639.def: Add Central Nahuatl (nhn).
8264
8c5c2600
BH
82652013-11-01 Bruno Haible <bruno@clisp.org>
8266
8267 [BZ #7003]
8268 * manual/math.texi (BSD Random): Specify range upper bound as
8269 in POSIX.
8270
da5579c2
CL
82712013-10-31 Chris Leonard <cjl@sugarlabs.org>
8272
8273 * locale/iso-639.def: Add Meadow Mari (mhr).
8274
5d30d853
OB
82752013-10-31 Ondřej Bílka <neleai@seznam.cz>
8276
8277 [BZ #14752], [BZ #15763]
8278 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8279 Validate name.
8280 * rt/tst_shm.c: Add test for escaping directory.
8281
a4966c61
AS
82822013-10-31 Andreas Schwab <schwab@suse.de>
8283
8a43e768 8284 [BZ #15917]
a4966c61
AS
8285 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8286 followed by 'x' as part of digit sequence.
8287 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8288
28d708c4
MAP
82892013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8290
8291 [BZ #16037]
8292 * configure.ac: allow GNU Make 4.0 and greater.
8293 * configure: Regenerated.
8294
a56ee40b
WN
82952013-10-30 Will Newton <will.newton@linaro.org>
8296
8297 [BZ #16038]
8298 * malloc/hooks.c (memalign_check): Limit alignment to the
8299 maximum representable power of two.
8300 * malloc/malloc.c (__libc_memalign): Likewise.
8301 * malloc/tst-memalign.c (do_test): Add test for very
8302 large alignment values.
8303 * malloc/tst-posix_memalign.c (do_test): Likewise.
8304
c6e4925d
OB
83052013-10-30 Ondřej Bílka <neleai@seznam.cz>
8306
8307 [BZ #11087]
8308 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8309 (munmap_chunk): Likewise.
8310 (mremap_chunk): Likewise.
8311
83122013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8313
8a43e768 8314 [BZ #15799]
bbea82f7
OB
8315 * stdlib/div.c (div): Remove obsolete code.
8316 * stdlib/ldiv.c (ldiv): Likewise.
8317 * stdlib/lldiv.c (lldiv): Likewise.
8318
977f4b31
SP
83192013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8320
8321 [BZ #16071]
8322 * nss/nss_files/files-XXX.c (get_contents_ret): New
8323 enumerator.
8324 (get_contents): New function.
8325 (internal_getent): Use it. Expand size of LINEBUFLEN.
8326
cb8a6dbd
MF
83272013-10-30 Mike Frysinger <vapier@gentoo.org>
8328
8329 * configure.in: Moved to ...
8330 * configure.ac: ... here. Change reference to configure.in
8331 to configure.ac.
8332 * sysdeps/arm/preconfigure.ac: ... here.
8333 configure.in to configure.ac.
8334 * sysdeps/gnu/configure.in: Moved to ...
8335 * sysdeps/gnu/configure.ac: ... here.
8336 * sysdeps/i386/configure.in: Moved to ...
8337 * sysdeps/i386/configure.ac: ... here.
8338 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8339 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8340 * sysdeps/mach/configure.in: Moved to ...
8341 * sysdeps/mach/configure.ac: ... here.
8342 * sysdeps/mach/hurd/configure.in: Moved to ...
8343 * sysdeps/mach/hurd/configure.ac: ... here.
8344 * sysdeps/powerpc/configure.in: Moved to ...
8345 * sysdeps/powerpc/configure.ac: ... here.
8346 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8347 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8348 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8349 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8350 * sysdeps/s390/s390-32/configure.in: Moved to ...
8351 * sysdeps/s390/s390-32/configure.ac: ... here.
8352 * sysdeps/s390/s390-64/configure.in: Moved to ...
8353 * sysdeps/s390/s390-64/configure.ac: ... here.
8354 * sysdeps/sh/configure.in: Moved to ...
8355 * sysdeps/sh/configure.ac: ... here.
8356 * sysdeps/sparc/configure.in: Moved to ...
8357 * sysdeps/sparc/configure.ac: ... here.
8358 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8359 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8360 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8361 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8362 * sysdeps/x86_64/configure.in: Moved to ...
8363 * sysdeps/x86_64/configure.ac: ... here.
8364 * sysdeps/x86_64/preconfigure.in: Moved to ...
8365 * sysdeps/x86_64/preconfigure.ac: ... here.
8366 * aclocal.m4: Change reference to configure.in to configure.ac.
8367 * config.h.in: Likewise.
8368 * manual/install.texi: Likewise.
8369 * manual/maint.texi: Likewise.
8370 * Makefile: Likewise.
8371 * malloc/Makefile: Likewise.
8372 * nscd/Makefile: Likewise.
8373 * Makeconfig: Change reference to configure.in and
8374 preconfigure.in to configure.ac and preconfigure.ac
8375 respectively.
8376 * INSTALL: Regenerated.
8377 * configure: Likewise.
8378 * sysdeps/gnu/configure: Likewise.
8379 * sysdeps/i386/configure: Likewise.
8380 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8381 * sysdeps/mach/configure: Likewise.
8382 * sysdeps/mach/hurd/configure: Likewise.
8383 * sysdeps/powerpc/configure: Likewise.
8384 * sysdeps/powerpc/powerpc32/configure: Likewise.
8385 * sysdeps/powerpc/powerpc64/configure: Likewise.
8386 * sysdeps/s390/s390-32/configure: Likewise.
8387 * sysdeps/s390/s390-64/configure: Likewise.
8388 * sysdeps/sh/configure: Likewise.
8389 * sysdeps/sparc/configure: Likewise.
8390 * sysdeps/unix/sysv/linux/configure: Likewise.
8391 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8392 * sysdeps/x86_64/configure: Likewise.
8393 * sysdeps/x86_64/preconfigure: Likewise.
8394
36a4953a
AS
83952013-10-29 Andreas Schwab <schwab@suse.de>
8396
8397 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8398
c79a1204
SP
83992013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8400
dfa1b402
SP
8401 * benchtests/pow-inputs: Add new inputs.
8402
54f73d9c
SP
8403 * benchtests/exp-inputs: Add new inputs.
8404
c79a1204
SP
8405 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8406 conditional check for return value.
8407 (__cos32): Likewise.
8408
67beb545 84092013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8410
8411 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8412 to provide a boost for large inputs with word alignment.
8413 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8414 implementation based on optimized PPC64 strcpy.
8415 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8416 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8417 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8418 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8419
151659f6
OB
84202013-10-25 Ondřej Bílka <neleai@seznam.cz>
8421
482a077e 8422 [BZ #2801]
151659f6
OB
8423 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8424
10b0f26b
OB
84252013-10-25 Ondřej Bílka <neleai@seznam.cz>
8426
8427 [BZ #14876]
8428 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8429 * time/tst-strptime.c (day_tests): Add testcase.
8430
ca42d35e
OB
84312013-10-25 Ondřej Bílka <neleai@seznam.cz>
8432
482a077e 8433 [BZ #14029]
ca42d35e
OB
8434 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8435
52e6d801
FB
84362013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8437
8438 [BZ #16074]
8439 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8440 MAP_FAILED on error.
8441
7cbcdb36
SP
84422013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8443
8444 [BZ #16072]
8445 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8446 heap for large requests.
8447
894f3f10
AM
84482013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8449
8450 [BZ #9954]
8451 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8452 result if the result has no associated interface.
8453 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8454 interface for all 127.X.Y.Z addresses.
8455
b85545a6
CL
84562013-10-24 Chris Leonard <cjl@sugarlabs.org>
8457
8458 * locale/iso-639.def: Add Ligurian (lij)
8459
d1f23d46
OB
84602013-10-21 Ondřej Bílka <neleai@seznam.cz>
8461
8462 [BZ #15825]
8463 * sunrpc/rpc_main.c: Document rpcgen -5.
8464
4db5b08f
MS
84652013-10-19 Michael Stahl <mstahl@redhat.com>
8466
8467 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8468
a471e96a
OB
84692013-10-19 Ondřej Bílka <neleai@seznam.cz>
8470
d1f23d46 8471 [BZ #10278]
a471e96a
OB
8472 * posix/glob.c: Match only directories when trailing slash is present.
8473 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8474 (main): Add testcase.
8475
45c30c61
OB
84762013-10-19 Ondřej Bílka <neleai@seznam.cz>
8477
8478 [BZ #15670]
8479 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8480
484c12fb
CD
84812013-10-18 Carlos O'Donell <carlos@redhat.com>
8482
3d7dc513
CD
8483 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8484 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8485 AUTH_DES and cindex for FIPS 140-2.
8486 (DES Encryption): Add cindex FIPS 46-3.
8487
484c12fb
CD
8488 * locale/locarchive.h (struct locarhandle): Add fname.
8489 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8490 if an optional argument was specified to --list-archive,
8491 otherwise NULL.
8492 * locale/programs/locarchive.c (show_archive_content): Take new
8493 argument fname and pass it via ah.fname to open_archive.
8494 * locale/programs/localedef.h: Update decl.
8495 (open_archive): If AH->fname is non-null, open that file
8496 rather than the default file name, and don't ignore ENOENT.
8497 (create_archive): Set AH.fname to NULL.
8498 (delete_locales_from_archive): Likewise.
8499 (add_locales_to_archive): Likewise.
8500 * locale/programs/locfile.c (write_all_categories): Likewise.
8501
3c8325fb
JM
85022013-10-18 Joseph Myers <joseph@codesourcery.com>
8503 Aldy Hernandez <aldyh@redhat.com>
8504
8505 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8506 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8507 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8508 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8509 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8510 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8511 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8512 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8513 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8514 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8515 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8516 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8517 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8518 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8519 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8520 Likewise.
8521 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8522 Likewise.
8523 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8524 Likewise.
8525 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8526 Likewise.
8527 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8528 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8529 Likewise.
8530 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8531 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8532 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8533 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8534 Likewise.
8535 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8536 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8537 * sysdeps/powerpc/preconfigure: Likewise.
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8539 Likewise.
8540 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8541 Replace contents of file by #include of <fenv_libc.h>.
8542 * sysdeps/powerpc/soft-fp/sfp-machine.h
8543 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8544 and <sys/prctl.h>.
8545 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8546 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8556 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8558 Allow copysignl PLT reference to be missing.
8559
5abe0682
RS
85602013-10-18 Richard Sandiford <richard@codesourcery.com>
8561 Joseph Myers <joseph@codesourcery.com
8562
8563 [BZ #15948]
8564 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8565 single character.
8566 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8567
c7738d08
SP
85682013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8569
8570 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8571 * elf/tst-tls1.c: Likewise.
8572 * elf/tst-tls10.h: Likewise.
8573 * elf/tst-tls14.c: Likewise.
8574 * elf/tst-tls2.c: Likewise.
8575 * elf/tst-tls3.c: Likewise.
8576 * elf/tst-tls4.c: Likewise.
8577 * elf/tst-tls5.c: Likewise.
8578 * elf/tst-tls6.c: Likewise.
8579 * elf/tst-tls7.c: Likewise.
8580 * elf/tst-tls8.c: Likewise.
8581 * elf/tst-tls9.c: Likewise.
8582 * elf/tst-tlsmod1.c: Likewise.
8583 * elf/tst-tlsmod13.c: Likewise.
8584 * elf/tst-tlsmod13a.c: Likewise.
8585 * elf/tst-tlsmod14a.c: Likewise.
8586 * elf/tst-tlsmod16a.c: Likewise.
8587 * elf/tst-tlsmod16b.c: Likewise.
8588 * elf/tst-tlsmod2.c: Likewise.
8589 * elf/tst-tlsmod3.c: Likewise.
8590 * elf/tst-tlsmod4.c: Likewise.
8591 * elf/tst-tlsmod5.c: Likewise.
8592 * elf/tst-tlsmod6.c: Likewise.
8593
0bfcf2c7
OB
85942013-10-18 Ondřej Bílka <neleai@seznam.cz>
8595
8596 [BZ #12486]
8597 * malloc/malloc.c: remove checks for statistics.
8598
264aad1e
OB
85992013-10-17 Ondřej Bílka <neleai@seznam.cz>
8600
8601 [BZ #15277]
8602 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8603 * inet/tst-network.c: Add testcase.
8604
b957ced8
AS
86052013-10-17 Andreas Schwab <schwab@suse.de>
8606
8607 [BZ #15218]
8608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8609 to determine canonical name.
8610
c5d5d574
OB
86112013-10-17 Ondřej Bílka <neleai@seznam.cz>
8612
8613 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8614 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8637 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8638 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8671
e5c2c2d0
JM
86722013-10-17 Joseph Myers <joseph@codesourcery.com>
8673
8674 [BZ #16041]
8675 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8676 make result into a quiet NaN.
8677
51ca9e29
JM
86782013-10-16 Joseph Myers <joseph@codesourcery.com>
8679
8680 * soft-fp/adddf3.c: Fix horizontal whitespace.
8681 * soft-fp/addsf3.c: Likewise.
8682 * soft-fp/addtf3.c: Likewise.
8683 * soft-fp/divdf3.c: Likewise.
8684 * soft-fp/divsf3.c: Likewise.
8685 * soft-fp/divtf3.c: Likewise.
8686 * soft-fp/double.h: Likewise.
8687 * soft-fp/eqdf2.c: Likewise.
8688 * soft-fp/eqsf2.c: Likewise.
8689 * soft-fp/eqtf2.c: Likewise.
8690 * soft-fp/extenddftf2.c: Likewise.
8691 * soft-fp/extended.h: Likewise.
8692 * soft-fp/extendsfdf2.c: Likewise.
8693 * soft-fp/extendsftf2.c: Likewise.
8694 * soft-fp/extendxftf2.c: Likewise.
8695 * soft-fp/fixdfdi.c: Likewise.
8696 * soft-fp/fixdfsi.c: Likewise.
8697 * soft-fp/fixdfti.c: Likewise.
8698 * soft-fp/fixsfdi.c: Likewise.
8699 * soft-fp/fixsfsi.c: Likewise.
8700 * soft-fp/fixsfti.c: Likewise.
8701 * soft-fp/fixtfdi.c: Likewise.
8702 * soft-fp/fixtfsi.c: Likewise.
8703 * soft-fp/fixtfti.c: Likewise.
8704 * soft-fp/fixunsdfdi.c: Likewise.
8705 * soft-fp/fixunsdfsi.c: Likewise.
8706 * soft-fp/fixunsdfti.c: Likewise.
8707 * soft-fp/fixunssfdi.c: Likewise.
8708 * soft-fp/fixunssfsi.c: Likewise.
8709 * soft-fp/fixunssfti.c: Likewise.
8710 * soft-fp/fixunstfdi.c: Likewise.
8711 * soft-fp/fixunstfsi.c: Likewise.
8712 * soft-fp/fixunstfti.c: Likewise.
8713 * soft-fp/floatdidf.c: Likewise.
8714 * soft-fp/floatdisf.c: Likewise.
8715 * soft-fp/floatditf.c: Likewise.
8716 * soft-fp/floatsidf.c: Likewise.
8717 * soft-fp/floatsisf.c: Likewise.
8718 * soft-fp/floatsitf.c: Likewise.
8719 * soft-fp/floattidf.c: Likewise.
8720 * soft-fp/floattisf.c: Likewise.
8721 * soft-fp/floattitf.c: Likewise.
8722 * soft-fp/floatundidf.c: Likewise.
8723 * soft-fp/floatundisf.c: Likewise.
8724 * soft-fp/floatunditf.c: Likewise.
8725 * soft-fp/floatunsidf.c: Likewise.
8726 * soft-fp/floatunsisf.c: Likewise.
8727 * soft-fp/floatunsitf.c: Likewise.
8728 * soft-fp/floatuntidf.c: Likewise.
8729 * soft-fp/floatuntisf.c: Likewise.
8730 * soft-fp/floatuntitf.c: Likewise.
8731 * soft-fp/fmadf4.c: Likewise.
8732 * soft-fp/fmasf4.c: Likewise.
8733 * soft-fp/fmatf4.c: Likewise.
8734 * soft-fp/gedf2.c: Likewise.
8735 * soft-fp/gesf2.c: Likewise.
8736 * soft-fp/getf2.c: Likewise.
8737 * soft-fp/ledf2.c: Likewise.
8738 * soft-fp/lesf2.c: Likewise.
8739 * soft-fp/letf2.c: Likewise.
8740 * soft-fp/muldf3.c: Likewise.
8741 * soft-fp/mulsf3.c: Likewise.
8742 * soft-fp/multf3.c: Likewise.
8743 * soft-fp/negdf2.c: Likewise.
8744 * soft-fp/negsf2.c: Likewise.
8745 * soft-fp/negtf2.c: Likewise.
8746 * soft-fp/op-1.h: Likewise.
8747 * soft-fp/op-2.h: Likewise.
8748 * soft-fp/op-4.h: Likewise.
8749 * soft-fp/op-8.h: Likewise.
8750 * soft-fp/op-common.h: Likewise.
8751 * soft-fp/quad.h: Likewise.
8752 * soft-fp/single.h: Likewise.
8753 * soft-fp/soft-fp.h: Likewise.
8754 * soft-fp/sqrtdf2.c: Likewise.
8755 * soft-fp/sqrtsf2.c: Likewise.
8756 * soft-fp/sqrttf2.c: Likewise.
8757 * soft-fp/subdf3.c: Likewise.
8758 * soft-fp/subsf3.c: Likewise.
8759 * soft-fp/subtf3.c: Likewise.
8760 * soft-fp/truncdfsf2.c: Likewise.
8761 * soft-fp/trunctfdf2.c: Likewise.
8762 * soft-fp/trunctfsf2.c: Likewise.
8763 * soft-fp/trunctfxf2.c: Likewise.
8764 * soft-fp/unorddf2.c: Likewise.
8765 * soft-fp/unordsf2.c: Likewise.
8766 * soft-fp/unordtf2.c: Likewise.
8767
9ebb0332
JM
87682013-10-15 Joseph Myers <joseph@codesourcery.com>
8769
8770 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8771 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8772
4b1a6d8b
OB
87732013-10-15 Ondřej Bílka <neleai@seznam.cz>
8774
8775 * elf/dl-libc.c: Clear initfini list after freeing.
8776
1e145589
JM
87772013-10-14 Joseph Myers <joseph@codesourcery.com>
8778
8779 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8780 * soft-fp/addsf3.c: Likewise.
8781 * soft-fp/addtf3.c: Likewise.
8782 * soft-fp/divdf3.c: Likewise.
8783 * soft-fp/divsf3.c: Likewise.
8784 * soft-fp/divtf3.c: Likewise.
8785 * soft-fp/double.h: Likewise.
8786 * soft-fp/eqdf2.c: Likewise.
8787 * soft-fp/eqsf2.c: Likewise.
8788 * soft-fp/eqtf2.c: Likewise.
8789 * soft-fp/extenddftf2.c: Likewise.
8790 * soft-fp/extended.h: Likewise.
8791 * soft-fp/extendsfdf2.c: Likewise.
8792 * soft-fp/extendsftf2.c: Likewise.
8793 * soft-fp/extendxftf2.c: Likewise.
8794 * soft-fp/fixdfdi.c: Likewise.
8795 * soft-fp/fixdfsi.c: Likewise.
8796 * soft-fp/fixdfti.c: Likewise.
8797 * soft-fp/fixsfdi.c: Likewise.
8798 * soft-fp/fixsfsi.c: Likewise.
8799 * soft-fp/fixsfti.c: Likewise.
8800 * soft-fp/fixtfdi.c: Likewise.
8801 * soft-fp/fixtfsi.c: Likewise.
8802 * soft-fp/fixtfti.c: Likewise.
8803 * soft-fp/fixunsdfdi.c: Likewise.
8804 * soft-fp/fixunsdfsi.c: Likewise.
8805 * soft-fp/fixunsdfti.c: Likewise.
8806 * soft-fp/fixunssfdi.c: Likewise.
8807 * soft-fp/fixunssfsi.c: Likewise.
8808 * soft-fp/fixunssfti.c: Likewise.
8809 * soft-fp/fixunstfdi.c: Likewise.
8810 * soft-fp/fixunstfsi.c: Likewise.
8811 * soft-fp/fixunstfti.c: Likewise.
8812 * soft-fp/floatdidf.c: Likewise.
8813 * soft-fp/floatdisf.c: Likewise.
8814 * soft-fp/floatditf.c: Likewise.
8815 * soft-fp/floatsidf.c: Likewise.
8816 * soft-fp/floatsisf.c: Likewise.
8817 * soft-fp/floatsitf.c: Likewise.
8818 * soft-fp/floattidf.c: Likewise.
8819 * soft-fp/floattisf.c: Likewise.
8820 * soft-fp/floattitf.c: Likewise.
8821 * soft-fp/floatundidf.c: Likewise.
8822 * soft-fp/floatundisf.c: Likewise.
8823 * soft-fp/floatunsidf.c: Likewise.
8824 * soft-fp/floatunsisf.c: Likewise.
8825 * soft-fp/floatuntidf.c: Likewise.
8826 * soft-fp/floatuntisf.c: Likewise.
8827 * soft-fp/floatuntitf.c: Likewise.
8828 * soft-fp/fmadf4.c: Likewise.
8829 * soft-fp/fmasf4.c: Likewise.
8830 * soft-fp/fmatf4.c: Likewise.
8831 * soft-fp/gedf2.c: Likewise.
8832 * soft-fp/gesf2.c: Likewise.
8833 * soft-fp/getf2.c: Likewise.
8834 * soft-fp/ledf2.c: Likewise.
8835 * soft-fp/lesf2.c: Likewise.
8836 * soft-fp/letf2.c: Likewise.
8837 * soft-fp/muldf3.c: Likewise.
8838 * soft-fp/mulsf3.c: Likewise.
8839 * soft-fp/multf3.c: Likewise.
8840 * soft-fp/negdf2.c: Likewise.
8841 * soft-fp/negsf2.c: Likewise.
8842 * soft-fp/negtf2.c: Likewise.
8843 * soft-fp/op-1.h: Likewise.
8844 * soft-fp/op-2.h: Likewise.
8845 * soft-fp/op-4.h: Likewise.
8846 * soft-fp/op-8.h: Likewise.
8847 * soft-fp/op-common.h: Likewise.
8848 * soft-fp/quad.h: Likewise.
8849 * soft-fp/single.h: Likewise.
8850 * soft-fp/soft-fp.h: Likewise.
8851 * soft-fp/sqrtdf2.c: Likewise.
8852 * soft-fp/sqrtsf2.c: Likewise.
8853 * soft-fp/sqrttf2.c: Likewise.
8854 * soft-fp/subdf3.c: Likewise.
8855 * soft-fp/subsf3.c: Likewise.
8856 * soft-fp/subtf3.c: Likewise.
8857 * soft-fp/truncdfsf2.c: Likewise.
8858 * soft-fp/trunctfdf2.c: Likewise.
8859 * soft-fp/trunctfsf2.c: Likewise.
8860 * soft-fp/trunctfxf2.c: Likewise.
8861 * soft-fp/unorddf2.c: Likewise.
8862 * soft-fp/unordsf2.c: Likewise.
8863 * soft-fp/unordtf2.c: Likewise.
8864
17c48a60
OB
88652013-10-14 Ondřej Bílka <neleai@seznam.cz>
8866
8867 [BZ #15672]
8868 * misc/error.c (error_tail): Fix possible buffer overflow.
8869
cabba934
OB
88702013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8871
8872 [BZ #13028]
8873 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8874 address.
8875
94bf958a
PM
88762013-10-14 P. J. McDermott <pj@pehjota.net>
8877
8878 [BZ #832]
8879 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8880 testing pipefail option.
8881
71b4dea7
JM
88822013-10-12 Joseph Myers <joseph@codesourcery.com>
8883
8884 * soft-fp/double.h: Indent preprocessor directives inside #if.
8885 * soft-fp/extended.h: Likewise.
8886 * soft-fp/op-2.h: Likewise.
8887 * soft-fp/op-4.h: Likewise.
8888 * soft-fp/op-common.h: Likewise.
8889 * soft-fp/quad.h: Likewise.
8890 * soft-fp/single.h: Likewise.
8891 * soft-fp/soft-fp.h: Likewise.
8892
55602758
YC
88932013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8894
8895 * iconv/iconv_prog.c: Fix typos.
8896 * stdio-common/psiginfo-data.h: Likewise.
8897
9cd83302
RT
88982013-10-12 Reuben Thomas <rrt@sc3d.org>
8899
8900 [BZ #15764]
8901 * locale/setlocale.c: Fix typo.
8902
99fd9f47
JM
89032013-10-12 Joseph Myers <joseph@codesourcery.com>
8904
b7ea74f0
JM
8905 [BZ #16036]
8906 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8907 signaling NaN arguments.
8908 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8909 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8910
8a509447
JM
8911 [BZ #14910]
8912 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8913 unordered operands.
8914 * soft-fp/gesf2.c (__gesf2): Likewise.
8915 * soft-fp/getf2.c (__getf2): Likewise.
8916 * soft-fp/ledf2.c (__ledf2): Likewise.
8917 * soft-fp/lesf2.c (__lesf2): Likewise.
8918 * soft-fp/letf2.c (__letf2): Likewise.
8919
98998e9f
JM
8920 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8921 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8922 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8923 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8924 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8925 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8926 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8927 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8928 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8929 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8930 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8931 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8932 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8933 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8934 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8935 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8936 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8937 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8938 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8939 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8940 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8941 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8942 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8943 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8944 * soft-fp/floattidf.c (__floattidf): Likewise.
8945 * soft-fp/floattisf.c (__floattisf): Likewise.
8946 * soft-fp/floattitf.c (__floattitf): Likewise.
8947 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8948 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8949 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8950 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8951 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8952 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8953 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8954 * soft-fp/gesf2.c (__gesf2): Likewise.
8955 * soft-fp/getf2.c (__getf2): Likewise.
8956 * soft-fp/ledf2.c (__ledf2): Likewise.
8957 * soft-fp/lesf2.c (__lesf2): Likewise.
8958 * soft-fp/letf2.c (__letf2): Likewise.
8959
8edc4a11
JM
8960 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8961 Undefine and redefine.
8962 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8963 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8964 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8965 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8966 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8967 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8968 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8969 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8970 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8971 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8972 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8973 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8974 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8975 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8976 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8977
8399acaf
JM
8978 [BZ #16032]
8979 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8980 without decrementing exponent if mantissa >= that for the
8981 denominator, not >.
8982 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8983 denominator, not >. Decrement exponent in < case instead of
8984 incrementing in >= case.
8985 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8986 without decrementing exponent if mantissa >= that for the
8987 denominator, not >.
8988
99fd9f47
JM
8989 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8990 computing saturated result for unsigned overflow.
8991
10e1cf6b
SP
89922013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8993 Jeff Law <law@redhat.com>
8994
8995 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8996 (atan2Mp): Add systemtap probe marker.
8997 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8998 (__ieee754_log): Add systemtap probe marker.
8999 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9000 (atanMp): Add systemtap probe marker.
9001 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9002 (tanMp): Add systemtap probe marker.
9003 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9004 (__slowexp): Add systemtap probe marker.
9005 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9006 (__slowpow): Add systemtap probe marker.
9007 * manual/probes.texi: Document probes.
9008
3d110c7c
EB
90092013-10-11 Eric Biggers <ebiggers3@gmail.com>
9010
9011 [BZ #15362]
9012 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9013 written.
9014 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9015 written.
9016 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9017 written to buffer but not flushed.
9018 * libio/iofwrite_u.c: Likewise.
9019 * libio/iopadn.c: Return bytes returned even if EOF was
9020 encountered.
9021 * libio/iowpadn.c: Likewise.
9022 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9023 if _IO_padn does not write the whole buffer.
9024 [!COMPILE_WPRINTF] (PAD): Likewise.
9025
75b4202a
DM
90262013-10-10 David S. Miller <davem@davemloft.net>
9027
9028 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9029 directory block.
9030
6c6352e6
JM
90312013-10-10 Joseph Myers <joseph@codesourcery.com>
9032
33b853c3
JM
9033 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9034 instead of FSF address.
9035 * soft-fp/fixdfti.c: Likewise.
9036 * soft-fp/fixsfti.c: Likewise.
9037 * soft-fp/fixtfti.c: Likewise.
9038 * soft-fp/fixunsdfti.c: Likewise.
9039 * soft-fp/fixunssfti.c: Likewise.
9040 * soft-fp/fixunstfti.c: Likewise.
9041 * soft-fp/floattidf.c: Likewise.
9042 * soft-fp/floattisf.c: Likewise.
9043 * soft-fp/floattitf.c: Likewise.
9044 * soft-fp/floatuntidf.c: Likewise.
9045 * soft-fp/floatuntisf.c: Likewise.
9046 * soft-fp/floatuntitf.c: Likewise.
9047 * soft-fp/trunctfxf2.c: Likewise.
9048
6c6352e6
JM
9049 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9050 * soft-fp/fixdfti.c: Likewise.
9051 * soft-fp/fixsfti.c: Likewise.
9052 * soft-fp/fixtfti.c: Likewise.
9053 * soft-fp/fixunsdfti.c: Likewise.
9054 * soft-fp/fixunssfti.c: Likewise.
9055 * soft-fp/fixunstfti.c: Likewise.
9056 * soft-fp/floattidf.c: Likewise.
9057 * soft-fp/floattisf.c: Likewise.
9058 * soft-fp/floattitf.c: Likewise.
9059 * soft-fp/floatuntidf.c: Likewise.
9060 * soft-fp/floatuntisf.c: Likewise.
9061 * soft-fp/floatuntitf.c: Likewise.
9062 * soft-fp/trunctfxf2.c: Likewise.
9063
3bf78b71
DM
90642013-10-10 David S. Miller <davem@davemloft.net>
9065
9066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9067
6f10289e
JM
90682013-10-10 Joseph Myers <joseph@codsourcery.com>
9069
bd878fc0
JM
9070 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9071 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9072 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9073 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9074 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9075 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9076 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9077
6f10289e
JM
9078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9079 for NaNs before doing comparisons on argument.
9080 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9081 Likewise.
9082
321e2684
WN
90832013-10-10 Will Newton <will.newton@linaro.org>
9084
9085 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9086 passed to _int_memalign does not overflow.
9087
40fefba1
TR
90882013-10-10 Torvald Riegel <triegel@redhat.com>
9089
9090 * scripts/bench.pl: Add include-sources directive.
9091 * benchtests/README: Update documentation.
9092
2ae21ed2
JM
90932013-10-10 Joseph Myers <joseph@codesourcery.com>
9094
dcc2dd3f
JM
9095 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9096 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9097 instead of FP_INIT_ROUNDMODE.
9098 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9099 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9100
2ae21ed2
JM
9101 [BZ #16034]
9102 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9103 copy class of input value.
9104 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9105 not handle exceptions.
9106 * soft-fp/negsf2.c (__negsf2): Likewise.
9107 * soft-fp/negtf2.c (__negtf2): Likewise.
9108 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9109
cb8f9562
JM
91102013-10-09 Joseph Myers <joseph@codesourcery.com>
9111
9112 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9113 semicolon. From Linux kernel.
9114
5b60c59d
AB
91152013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9116
9117 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9118
b86835ca
YC
91192013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9120
9121 [BZ #156]
9122 * manual/socket.texi: Added statement about buffer
9123 for gethostbyname2_r.
9124
e7044ea7
OB
91252013-10-08 Ondřej Bílka <neleai@seznam.cz>
9126
9127 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9128 Use .p2align directive instead, throughout.
9129 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9130 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9131 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9132 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9133 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9134 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9135 * sysdeps/x86_64/strchr.S: Likewise.
9136 * sysdeps/x86_64/strrchr.S: Likewise.
9137
09544cbc
SP
91382013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9139
88576635
SP
9140 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9141
e7b2d1dd
SP
9142 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9143
09544cbc
SP
9144 * sysdeps/generic/math_private.h (__mpsin1): Remove
9145 declaration.
9146 (__mpcos1): Likewise.
9147 (__mpsin): New argument __range_reduce.
9148 (__mpcos): Likewise.
9149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9150 (slow): Use __mpsin and __mpcos.
9151 (slow1): Likewise.
9152 (slow2): Likewise.
9153 (sloww): Likewise.
9154 (sloww1): Likewise.
9155 (sloww2): Likewise.
9156 (bsloww): Likewise.
9157 (bsloww1): Likewise.
9158 (bsloww2): Likewise.
9159 (cslow2): Likewise.
9160 (csloww): Likewise.
9161 (csloww1): Likewise.
9162 (csloww2): Likewise.
9163 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9164 range_reduce. Merge in __mpsin1.
9165 (__mpcos): Likewise.
9166 (__mpsin1): Remove.
9167 (__mpcos1): Likewise.
9168
7602d070
JM
91692013-10-07 Joseph Myers <joseph@codesourcery.com>
9170
9171 * locale/loadlocale.c (_nl_intern_locale_data): Use
9172 LOCFILE_ALIGNED_P.
9173 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9174 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9175 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9176 obstack data is appropriately aligned.
9177 (obstack_int32_grow_fast): Likewise.
9178 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9179 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9180 (add_locale_uint32_array): Likewise.
9181
a357259b
SP
91822013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9183
9184 * benchtests/Makefile: Remove ARGLIST and RET variables.
9185 ($(objpfx)bench-%.c): Pass only function name to the script.
9186 * benchtests/README: Update documentation.
9187 * benchtests/acos-inputs: Add new directives.
9188 * benchtests/acosh-inputs: Likewise.
9189 * benchtests/asin-inputs: Likewise.
9190 * benchtests/asinh-inputs: Likewise.
9191 * benchtests/atan-inputs: Likewise.
9192 * benchtests/atanh-inputs: Likewise.
9193 * benchtests/cos-inputs: Likewise.
9194 * benchtests/cosh-inputs: Likewise.
9195 * benchtests/exp-inputs: Likewise.
9196 * benchtests/log-inputs: Likewise.
9197 * benchtests/pow-inputs: Likewise.
9198 * benchtests/rint-inputs: Likewise.
9199 * benchtests/sin-inputs: Likewise.
9200 * benchtests/sinh-inputs: Likewise.
9201 * benchtests/tan-inputs: Likewise.
9202 * benchtests/tanh-inputs: Likewise.
9203 * scripts/bench.pl: Add support for new directives.
9204
9ec1b13d
AM
92052013-10-07 Alan Modra <amodra@gmail.com>
9206
9207 * README: Fix careless merge.
9208
8b7d57cd
AM
92092013-10-05 Alan Modra <amodra@gmail.com>
9210
9211 * NEWS: Mention powerpc64le support and bugs fixed.
9212 * README: Both big-endian and little-endian powerpc64 supported.
9213
7b7bab13
ST
92142013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9215
9216 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9217 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9218 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9219 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9220
d39baad1
RA
92212013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9222
9223 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9224 match prototype.
9225
cd78f7e7
JM
92262013-10-04 Joseph Myers <joseph@codesourcery.com>
9227
29d73d86
JM
9228 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9229 Move -mhard-float appending from
9230 ports/sysdeps/powerpc/powerpc32/Makefile.
9231 [$(with-fp) = yes] (ASFLAGS): Likewise.
9232 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9233 * sysdeps/powerpc/nofpu: Move directory from
9234 ports/sysdeps/powerpc/nofpu.
9235 * sysdeps/powerpc/soft-fp: Move directory from
9236 ports/sysdeps/powerpc/soft-fp.
9237 * sysdeps/powerpc/powerpc32/405: Move directory from
9238 ports/sysdeps/powerpc/powerpc32/405.
9239 * sysdeps/powerpc/powerpc32/440: Move directory from
9240 ports/sysdeps/powerpc/powerpc32/440.
9241 * sysdeps/powerpc/powerpc32/464: Move directory from
9242 ports/sysdeps/powerpc/powerpc32/464.
9243 * sysdeps/powerpc/powerpc32/476: Move directory from
9244 ports/sysdeps/powerpc/powerpc32/476.
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9246 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9248 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9250 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9252 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9254 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9255 * README: Update for powerpc-*-linux-gnu software floating point
9256 support in libc.
9257
e246b347
JM
9258 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9259 case to powerpc/powerpc32*.
9260 * sysdeps/unix/sysv/linux/configure: Regenerated.
9261
89c2003e
JM
9262 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9263 (_FPU_MASK_OM): Define as 0x04.
9264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9266 0x00c10080.
9267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9268 0x0000003c.
9269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9270
cd78f7e7
JM
9271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9272 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9273 getcontext_e500.
9274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9275 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9276 setcontext_e500.
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9278 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9279 and setcontext_e500.
9280
c755294d
CL
92812013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9282
9283 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9284
e16d221c
SP
92852013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9286
9287 * manual/threads.texi (Default Thread Attributes): Fix typo.
9288
215c7d43
WN
92892013-10-04 Will Newton <will.newton@linaro.org>
9290
9291 * malloc/Makefile: Add tst-memalign.
9292 * malloc/tst-memalign.c: New file.
9293
27d0461b
WN
9294 * malloc/tst-posix_memalign.c: Add comments.
9295 (do_test): Add comments and call free on all potentially
9296 allocated pointers. Add space after cast.
9297
1bc92709
WN
9298 * malloc/tst-pvalloc.c: Add comments.
9299 (do_test): Add comments and call free on all potentially
9300 allocated pointers. Remove duplicate check for NULL pointer.
9301 Add space after cast.
9302
66a9be9d
WN
9303 * malloc/tst-valloc.c: Add comments.
9304 (do_test): Add comments and call free on all potentially
9305 allocated pointers. Remove duplicate check for NULL pointer.
9306 Add space after cast.
9307
4cb81307
AM
93082013-10-04 Alan Modra <amodra@gmail.com>
9309
9310 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9311 Use stdint types in rather than __attribute__((mode())).
9312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9313
f8e3e9f3
AM
93142013-10-04 Alan Modra <amodra@gmail.com>
9315
9316 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9317 Correct handling of unaligned relocs for little-endian.
9318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9319
8f9ebb08
AM
93202013-10-04 Alan Modra <amodra@gmail.com>
9321
9322 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9323 * configure: Regenerate.
9324 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9325 * shlib-versions: Likewise.
9326
0edf96c2
AM
93272013-10-04 Alan Modra <amodra@gmail.com>
9328
9329 * string/tester.c (test_memrchr): Increment reported test cycle.
9330
e0f7a380
AM
93312013-10-04 Alan Modra <amodra@gmail.com>
9332
9333 * string/test-memcpy.c (do_one_test): When reporting errors, print
9334 string address and don't overrun end of string.
9335
466b0393
AM
93362013-10-04 Alan Modra <amodra@gmail.com>
9337
9338 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9339 insrdi. Make better use of reg selection to speed exit slightly.
9340 Schedule entry path a little better. Remove useless "are we done"
9341 checks on entry to main loop. Handle wrapping around zero address.
9342 Correct main loop count. Handle single left-over word from main
9343 loop inline rather than by using loop_small. Remove extra word
9344 case in loop_small caused by wrong loop count. Add little-endian
9345 support.
9346 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9347 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9348 cache hint.
9349 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9350 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9351 support. Avoid rlwimi.
9352 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9353
3be87c77
AM
93542013-10-04 Alan Modra <amodra@gmail.com>
9355
9356 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9357 insrdi. Formatting.
3be87c77
AM
9358 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9359 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9360 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9361 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9362 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9364
759cfef3
AM
93652013-10-04 Alan Modra <amodra@gmail.com>
9366
9367 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9368 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9370 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9371 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9372 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9373 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9374 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9375 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9376 use of regs. Use power7 mtocrf. Tidy function tails.
9377
fe6e95d7
AM
93782013-10-04 Alan Modra <amodra@gmail.com>
9379
9380 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9381 Formatting. Consistently use rXXX register defines or rN defines.
9382 Use early exit labels that avoid restoring unused non-volatile regs.
9383 Make cr field use more consistent with rWORDn compares. Rename
9384 regs used as shift registers for unaligned loop, using rN defines
9385 for short lifetime/multiple use regs.
9386 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9387 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9388 addi 1,1,64 to pop stack frame. Simplify return value code.
9389 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9390
664318c3
AM
93912013-10-04 Alan Modra <amodra@gmail.com>
9392
9393 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9394 support. Correct typos, formatting. Optimize tail. Use insrdi
9395 rather than rlwimi.
9396 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9397 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9398 little-endian support. Correct typos.
9399 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9400 rather than rlwimi.
9401 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9402 in loop and entry code to keep "and." results.
9403 (strchr): Add little-endian support. Comment. Move cntlzd
9404 earlier in tail.
9405 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9406
43b84013
AM
94072013-10-04 Alan Modra <amodra@gmail.com>
9408
9409 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9410 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9411 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9412 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9413
8a7413f9
AM
94142013-10-04 Alan Modra <amodra@gmail.com>
9415
9416 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9417 (rTMP): Define as r11.
9418 (strcmp): Add little-endian support. Optimise tail.
9419 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9420 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9421 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9422 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9423 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9426
33ee81de
AM
94272013-10-04 Alan Modra <amodra@gmail.com>
9428
9429 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9430 little-endian support. Remove unnecessary "are we done" tests.
9431 Handle "s" wrapping around zero and extremely large "size".
9432 Correct main loop count. Handle single left-over word from main
9433 loop inline rather than by using small_loop. Correct comments.
9434 Delete "zero" tail, use "end_max" instead.
9435 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9436
db9b4570
AM
94372013-10-04 Alan Modra <amodra@gmail.com>
9438
9439 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9440 support. Don't branch over align.
9441 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9442 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9443 support. Rearrange tmp reg use to suit. Comment.
9444 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9445
f7c399cf
AM
94462013-10-04 Alan Modra <amodra@gmail.com>
9447
9448 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9449
0b2c2ace
AM
94502013-10-04 Alan Modra <amodra@gmail.com>
9451
9452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9453 conditional form of branch and link when obtaining pc.
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9455
02f04a6c
AM
94562013-10-04 Alan Modra <amodra@gmail.com>
9457
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9459 HIWORD/LOWORD.
9460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9462
9b874b2f
AM
94632013-10-04 Alan Modra <amodra@gmail.com>
9464
9465 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9466 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9467 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9468 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9469 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9470 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9471 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9472 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9473 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9474 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9475
be1e5d31
AB
94762013-10-04 Anton Blanchard <anton@au1.ibm.com>
9477 Alistair Popple <alistair@ozlabs.au.ibm.com>
9478 Alan Modra <amodra@gmail.com>
9479
9480 [BZ #15723]
9481 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9482 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9483 _dl_hwcap access for little-endian.
9484 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9485 destroy vmx regs when saving unaligned.
9486 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9487 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9488 destroy vmx regs when saving unaligned.
9489
fef13a78
AM
94902013-10-04 Alan Modra <amodra@gmail.com>
9491
9492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9493 Don't use a union to pack hi/low value.
9494
76a66d51
AB
94952013-10-04 Anton Blanchard <anton@au1.ibm.com>
9496
9497 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9498 for little-endian.
9499 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9502 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9503 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9504
6a31fe7f
AM
95052013-10-04 Alan Modra <amodra@gmail.com>
9506
9507 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9508 constants to usual value for .cst8 section, and remove redundant
9509 high address load.
9510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9511 constant for 0x1p52. Load little-endian words of double from
9512 correct stack offsets.
9513
7b88401f
AM
95142013-10-04 Alan Modra <amodra@gmail.com>
9515
9516 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9517 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9518 words of double from correct stack offsets.
9519 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9520 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9521 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9523 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9524 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9525 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9526 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9527 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9528 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9529 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9530 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9531 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9532 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9533 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9534 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9535 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9536
9c008155
AM
95372013-10-04 Alan Modra <amodra@gmail.com>
9538
9539 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9540 64-bit int/double union.
9541 (_FPU_SETCW): Likewise.
9542 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9543 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9544
da13146d
AM
95452013-10-04 Alan Modra <amodra@gmail.com>
9546
9547 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9548 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9549
603e8410
AM
95502013-10-04 Alan Modra <amodra@gmail.com>
9551
9552 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9553 use vector int constants.
9554 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9555
4a28b3ca
AB
95562013-10-04 Anton Blanchard <anton@au1.ibm.com>
9557
9558 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9559 array with long long.
9560 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9561 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9562 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9563 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9564 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9565 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9566 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9567 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9568 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9569 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9570 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9571 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9572 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9573
2ca85d2b
AB
95742013-10-04 Anton Blanchard <anton@au1.ibm.com>
9575
9576 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9577 (__signbit): Likewise. Correct for little-endian.
9578 (__signbitl): Call __signbit.
9579 (lrint): Correct for little-endian.
9580 (lrintf): Call lrint.
9581
62a728ae
AM
95822013-10-04 Alan Modra <amodra@gmail.com>
9583
9584 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9585 union 32-bit int array member with 64-bit int array.
9586 (t515, tm256): Double rather than long double.
9587 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9588
32c301df
AM
95892013-10-04 Alan Modra <amodra@gmail.com>
9590
9591 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9592 Delete.
9593 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9594 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9595 version of math_ldbl.h.
9596
650ef4bd
AM
95972013-10-04 Alan Modra <amodra@gmail.com>
9598
9599 [BZ #15734], [BZ #15735]
9600 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9601 all uses of ieee875 long double macros and unions. Simplify test
9602 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9603 ldbl_extract_mantissa value for ix,iy exponents. Properly
9604 normalize after ldbl_extract_mantissa, and don't add hidden bit
9605 already handled. Don't treat low word of ieee854 mantissa like
9606 low word of IBM long double and mask off bit when testing for
9607 zero.
9608 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9609 all uses of ieee875 long double macros and unions. Simplify tests
9610 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9611 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9612 two1022, instead use their values. Recognise that tests for large
9613 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9614 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9615 Rewrite all uses of ieee875 long double macros and unions. Simplify
9616 test for 0.0L and nan. Correct negation.
9617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9618 ieee875 long double macros and unions. Correct output for large
9619 magnitude x. Correct absolute value calculation.
9620 (__erfcl): Likewise.
9621 * math/libm-test.inc: Add tests for errors discovered in IBM long
9622 double versions of fmodl, remainderl, erfl and erfcl.
9623
765714ca
AM
96242013-10-04 Alan Modra <amodra@gmail.com>
9625
9626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9627 all uses of ieee854 long double macros and unions. Simplify tests
9628 for long doubles that are fully specified by the high double.
9629 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9630 Likewise.
9631 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9632 Remove dead code too.
9633 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9634 (__ieee754_ynl): Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9638 Remove dead code too.
9639 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9643 Simplify.
9644 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9645 Simplify.
9646 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9649 Comment on variable precision.
9650 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9652 Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9656 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9657 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9658
4ebd120c
AM
96592013-10-04 Alan Modra <amodra@gmail.com>
9660
9661 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9662 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9663 all uses of ieee854 long double macros and unions.
9664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9666 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9670 Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9676 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9677 Simplify sign and nan test too.
9678 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9679 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9680 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9681 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9682 Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9685 Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9692
1b6adf88
AM
96932013-10-04 Alan Modra <amodra@gmail.com>
9694
9695 * stdio-common/printf_size.c (__printf_size): Don't use
9696 union ieee854_long_double in fpnum union.
9697 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9698 signbit macro to retrieve sign from long double.
9699 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9700 retrieve sign from long double.
9701 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9702 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9703 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9704 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9705 * math/test-misc.c (main): Don't use union ieee854_long_double.
9706
4cf69995
AM
97072013-10-04 Alan Modra <amodra@gmail.com>
9708
9709 [BZ #15680]
9710 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9711 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9712 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9713 calculation. Remove unnecessary test for denormal exponent.
9714 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9715 Correct handling of denormals. Avoid undefined shift behaviour.
9716 Correct normalisation of low mantissa when low double is denormal.
9717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9718 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9719 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9720 Correct normalisation of low mantissa. Test for overflow of high
9721 mantissa and normalise.
9722 (ldbl_nearbyint): Use more readable constant for two52.
9723 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9724 (__mpn_construct_long_double): Fix test for overflow of high
9725 mantissa and correct normalisation. Avoid undefined shift.
9726
9605ca6c
AM
97272013-10-04 Alan Modra <amodra@gmail.com>
9728
9729 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9730 (union ibm_extended_long_double): Define as an array of ieee754_double.
9731 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9732 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9733 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9734 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9742
975569d0
JM
97432013-10-03 Joseph Myers <joseph@codesourcery.com>
9744
d3d23756
JM
9745 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9746 page size instead of calling getpagesize.
9747
975569d0
JM
9748 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9749 (LOCFILE_ALIGN_MASK): Likewise.
9750 (LOCFILE_ALIGN_UP): Likewise.
9751 (LOCFILE_ALIGNED_P): Likewise.
9752 * locale/programs/ld-collate.c (collate_output): Use the new
9753 macros instead of __alignof__ (int32_t).
9754 * locale/weight.h (findidx): Likewise.
9755
b1fe1f2b
OB
97562013-10-03 Ondřej Bílka <neleai@seznam.cz>
9757
9758 [BZ #431]
9759 * manual/string.texi: Fix strncat and wcsncat.
9760
5f855e35
BM
97612013-10-03 Brooks Moses <bmoses@google.com>
9762
9763 [BZ #15915]
9764 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9765 * Makerules: ...here, and adjust associated comments.
9766
3cef6009
WN
97672013-10-02 Will Newton <will.newton@linaro.org>
9768
9769 * malloc/Makefile: Add tst-pvalloc.
9770 * malloc/tst-pvalloc.c: New file.
9771
7815420b
WN
97722013-10-02 Will Newton <will.newton@linaro.org>
9773
9774 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9775 improve test coverage.
9776
4868b204
WN
97772013-10-02 Will Newton <will.newton@linaro.org>
9778
9779 * malloc/Makefile: Add tst-posix_memalign.
9780 * malloc/tst-posix_memalign.c: New file.
9781
29c793b3
EB
97822013-10-01 Eric Blake <eblake@redhat.com>
9783
9784 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9785 Use __THROWNL rather than __THROW on static functions.
9786
fd967522
PM
97872013-09-30 Petr Machata <pmachata@redhat.com>
9788
9789 * elf/elf.h (R_AARCH64_ABS16): New macro.
9790 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9791 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9792 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9793 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9794 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9795 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9796 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9797 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9798 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9799 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9800 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9801 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9802 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9803 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9804 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9805 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9806 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9807 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9808 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9809 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9810 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9811 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9812 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9813 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9814 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9815 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9816 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9817 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9818 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9819 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9820 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9821 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9822 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9823 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9824 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9825 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9826 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9827 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9828 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9829 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9830 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9831 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9832 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9833 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9834 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9835 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9836 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9837 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9838 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9839 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9840 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9841 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9842 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9843 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9844 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9845 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9846 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9847 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9848 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9849 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9850 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9851 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9852 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9853 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9854 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9855 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9856 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9857 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9858 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9859 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9860 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9861 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9862 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9863 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9864 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9865 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9866 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9867 (R_AARCH64_TLSDESC_LDR): Likewise.
9868 (R_AARCH64_TLSDESC_ADD): Likewise.
9869 (R_AARCH64_TLSDESC_CALL): Likewise.
9870
b2179107
AS
98712013-09-30 Andreas Schwab <schwab@suse.de>
9872
9873 [BZ #15048]
9874 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9875 the nss database lookup.
9876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9878
47f28d0a
MF
98792013-09-28 Mike Frysinger <vapier@gentoo.org>
9880
9881 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9882
98832013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9884
9885 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9886 ${Bash-specific parameter/pattern/string} parameter expansion.
9887 * sysdeps/unix/make-syscalls.sh: Likewise.
9888
f4518a17
KK
98892013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9890
9891 * sysdeps/sh/stackguard-macros.h: New file.
9892
dc1a95c7
OB
98932013-09-26 Ondřej Bílka <neleai@seznam.cz>
9894
9895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9896 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9897 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9898 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9899 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9900 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9901
5ebbff8f
AZ
99022013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9903
9904 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9905 Fix thread ID register.
9906
4fd2cf9f
JM
99072013-09-25 Joseph Myers <joseph@codesourcery.com>
9908
9909 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9910 [POSIX || UNIX98]: Require rather than permitting all symbols from
9911 <time.h>.
9912 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9913 element of struct sched_param.
9914 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9915 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9916 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9917 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9918 constant.
9919
12c22bc4
OL
99202013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9921
9922 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9923 argument calculation.
9924
a03d8ea7
JM
99252013-09-24 Joseph Myers <joseph@codesourcery.com>
9926
9927 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9928 Expect macro.
9929 [POSIX] (pthread_attr_t): Do not require type.
9930 [POSIX] (pthread_cond_t): Likewise.
9931 [POSIX] (pthread_condattr_t): Likewise.
9932 [POSIX] (pthread_key_t): Likewise.
9933 [POSIX] (pthread_mutex_t): Likewise.
9934 [POSIX] (pthread_mutexattr_t): Likewise.
9935 [POSIX] (pthread_once_t): Likewise.
9936 [POSIX] (pthread_t): Likewise.
9937 [POSIX-based standards] (pthread_atfork): Expect function.
9938
6055173a
JM
99392013-09-24 Joseph Myers <joseph@codesourcery.com>
9940 Richard Sandiford <richard@codesourcery.com>
9941
9942 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9943 (swap_endianness_p): New extern variable.
9944 (set_big_endian): New inline function.
9945 (maybe_swap_uint32): Likewise.
9946 (maybe_swap_uint32_array): Likewise.
9947 (maybe_swap_uint32_obstack): Likewise.
9948 * locale/programs/locfile.c: Include <stdbool.h>.
9949 (swap_endianness_p): New variable.
9950 (add_locale_uint32): Call maybe_swap_uint32.
9951 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9952 (write_locale_data): Call maybe_swap_uint32_array.
9953 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9954 maybe_swap_uint32.
9955 (obstack_int32_grow_fast): Likewise.
9956 (output_weightwc): Call maybe_swap_uint32_obstack.
9957 (collate_output): Likewise.
9958 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9959 (OPT_LITTLE_ENDIAN): Likewise.
9960 (options): Add --little-endian and --big-endian options.
9961 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9962 * locale/programs/locarchive.c: Include "locfile.h".
9963 (GET): New macro.
9964 (SET): Likewise.
9965 (INC): Likewise.
9966 (create_archive): Use the new macros to access fields of
9967 structures directly mapped from or written to locale archives.
9968 (oldlocrecentcmp): Likewise.
9969 (enlarge_archive): Likewise.
9970 (insert_name): Likewise.
9971 (add_alias): Likewise.
9972 (add_locale): Likewise.
9973 (delete_locales_from_archive): Likewise.
9974 (show_archive_content): Likewise.
9975 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9976 locale data.
9977
39bf0bb4
RM
99782013-09-24 Roland McGrath <roland@hack.frob.com>
9979
9980 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9981 http://www.gnu.org/doc/freemanuals.texi.
9982 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9983
f02eed10
WN
99842013-09-24 Will Newton <will.newton@linaro.org>
9985
9986 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9987 macro.
9988
a3a6c312
JM
99892013-09-23 Joseph Myers <joseph@codesourcery.com>
9990
9991 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9992 unsigned char.
9993
107375ac
MR
99942013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9995
9996 * manual/threads.texi (POSIX Threads): Fix a typo.
9997
141f3a77
SP
99982013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9999
303e567a
SP
10000 [BZ #14547]
10001 * string/tst-strcoll-overflow.c: New test case.
10002 * string/Makefile (xtests): Add tst-strcoll-overflow.
10003 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10004 cache if string sizes may cause integer overflow.
10005
141f3a77
SP
10006 [BZ #14547]
10007 * string/strcoll_l.c (coll_seq): New members rule, idx,
10008 save_idx and back_us.
10009 (get_next_seq_nocache): New function.
10010 (do_compare_nocache): New function.
10011 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10012 when malloc fails.
10013
c61b4d41
CD
100142013-09-23 Carlos O'Donell <carlos@redhat.com>
10015
0b1f8e35
CD
10016 [BZ #15754]
10017 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10018 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10019 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10020
c61b4d41
CD
10021 [BZ #15754]
10022 * elf/Makefile (tests): Add tst-ptrguard1.
10023 (tests-static): Add tst-ptrguard1-static.
10024 (tst-ptrguard1-ARGS): Define.
10025 (tst-ptrguard1-static-ARGS): Define.
10026 * elf/tst-ptrguard1.c: New file.
10027 * elf/tst-ptrguard1-static.c: New file.
10028 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10029 * sysdeps/i386/stackguard-macros.h: Likewise.
10030 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10031 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10032 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10033 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10034 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10035 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10036
100372013-09-23 Hector Marco <hecmargi@upv.es>
10038 Ismael Ripoll <iripoll@disca.upv.es>
10039 Carlos O'Donell <carlos@redhat.com>
10040
10041 [BZ #15754]
10042 * sysdeps/generic/stackguard-macros.h: Define
10043 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10044 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10045 Define __pointer_chk_guard_local.
10046 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10047 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10048
f5f4e7b4
VV
100492013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10050
10051 [BZ #15859]
10052 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10053
5bb43a43
AS
100542013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10055
10056 * include/string.h (__ffs): Declare as hidden.
10057 * string/ffs.c (__ffs): Define as hidden.
10058 * sysdeps/i386/ffs.c (__ffs): Likewise.
10059 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10060 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10061 * sysdeps/s390/ffs.c (__ffs): Likewise.
10062 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10063
3ea5be54
AO
100642013-09-20 Alexandre Oliva <aoliva@redhat.com>
10065
ffb89e53
AO
10066 * NEWS: Mention malloc probes.
10067
322dea08
AO
10068 * malloc/arena.c (new_heap): New memory_heap_new probe.
10069 (grow_heap): New memory_heap_more probe.
10070 (shrink_heap): New memory_heap_less probe.
10071 (heap_trim): New memory_heap_free probe.
10072 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10073 (systrim): New memory_sbrk_less probe.
10074 * manual/probes.texi: Document them.
10075
655673f3
AO
10076 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10077 * manual/probes.texi: Document it.
10078
35fed6f1
AO
10079 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10080 (__libc_realloc): Add memory_realloc_retry probe.
10081 (__libc_memalign): Add memory_memalign_retry probe.
10082 (__libc_valloc): Add memory_valloc_retry probe.
10083 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10084 (__libc_calloc): Add memory_calloc_retry probe.
10085 * manual/probes.texi: Document them.
10086
6999d38c
AO
10087 * malloc/arena.c (get_free_list): Add probe
10088 memory_arena_reuse_free_list.
10089 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10090 and memory_arena_reuse.
10091 (arena_get2) [!PER_THREAD]: Likewise.
10092 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10093 memory_arena_reuse_realloc.
10094 * manual/probes.texi: Document them.
10095
0653427f
AO
10096 * malloc/malloc.c (__libc_free): Add
10097 memory_mallopt_free_dyn_thresholds probe.
10098 (__libc_mallopt): Add multiple memory_mallopt probes.
10099 * manual/probes.texi: Document them.
10100
3ea5be54
AO
10101 * malloc/malloc.c: Include stap-probe.h.
10102 (__libc_mallopt): Add memory_mallopt probe.
10103 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10104 * manual/probes.texi: New.
10105 * manual/Makefile (chapters): Add probes.
10106 * manual/threads.texi: Set next node.
10107
e35696c3 101082013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10109
e35696c3
CL
10110 [BZ #15963, #13985]
10111 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10112 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10113 Add `Chinese' to `nan' entry name.
10114
4aafb73c
SP
101152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10116
10117 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10118 (POLYNOMIAL): Likewise.
10119 (TAYLOR_SINCOS): Likewise.
10120 (TAYLOR_SLOW): Likewise.
10121 (__sin): Use TAYLOR_SINCOS.
10122 (__cos): Likewise.
10123 (slow): Use TAYLOR_SLOW.
10124 (sloww): Likewise.
10125 (bsloww): Likewise.
10126 (csloww): Likewise.
10127
d84f25c7
LD
101282013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10129
10130 * stdlib/strtod_l.c: Fix buffer overrun.
10131
5eea0404
SP
101322013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10133
7849ff93
SP
10134 * benchtests/Makefile (bench): Add sincos.
10135 * benchtests/bench-sincos.c: New file.
10136
cfa3c886
SP
10137 * math/libm-test.inc (cos_test_data): New test inputs.
10138 (sin_test_data): Likewise.
10139
b348e1e3
SP
10140 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10141 macro.
10142 (__sin): Use it.
10143 (__cos): Likewise.
10144 (slow1): Likewise.
10145 (slow2): Likewise.
10146 (sloww1): Likewise.
10147 (sloww2): Likewise.
10148 (bsloww1): Likewise.
10149 (bsloww2): Likewise.
10150 (cslow2): Likewise.
10151 (csloww1): Likewise.
10152 (csloww2): Likewise.
10153
6cce25f8
SP
10154 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10155 function.
10156 (__sin): Use it.
10157 (__cos): Likewise.
10158
5eea0404
SP
10159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10160 gotos.
10161 (__cos): Likewise.
10162
9c21573c
MR
101632013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10164
10165 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10166 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10167 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10168 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10169 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10170 * elf/cache.c (print_entry): Handle the new cache flags.
10171
24d22e65
JM
101722013-09-18 Joseph Myers <joseph@codesourcery.com>
10173 Aldy Hernandez <aldyh@redhat.com>
10174
10175 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10176 Change condition to [_SOFT_FLOAT].
10177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10189 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10192 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10193 declaration.
10194
d13ef066
JM
101952013-09-18 Joseph Myers <joseph@codesourcery.com>
10196
2e071de0
JM
10197 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10198 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10199 (__longjmp): Use LOAD_GP to load saved GPRs.
10200 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10201 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10202 (__sigsetjmp): Use SAVE_GP to save GPRs.
10203
d13ef066
JM
10204 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10205 Do not append -msoft-float.
10206 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10207
97a0650b
SP
102082013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10209
10210 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10211
11ca09e9
JM
102122013-09-17 Joseph Myers <joseph@codesourcery.com>
10213
10214 [BZ #15966]
10215 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10216 (_FPU_GETCW): Use initial "__" on variable and field names but not
10217 on macro parameter name.
10218 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10219 parentheses around reference to macro parameter.
10220
08ffcf34
RS
102212013-09-13 Richard Sandiford <richard@codesourcery.com>
10222
10223 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10224 prototype.
10225 (ctype_startup): Use uint32_t in cast and sizeof for
10226 ctype->charnames.
10227
ae7080d3
JL
102282013-09-11 Jia Liu <proljc@gmail.com>
10229
10230 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10231 __daddr_t_defined.
10232 [__FreeBSD__]: Likewise.
10233
5905e7b3
OB
102342013-09-11 Ondřej Bílka <neleai@seznam.cz>
10235
10236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10237 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10238 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10239 (strchr): Remove __strchr_sse42 ifunc selection.
10240 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10241 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10242
b987c776
WN
102432013-09-11 Will Newton <will.newton@linaro.org>
10244
10245 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10246 parameter to RES. Remove hardcoded 1000 value.
10247 * benchtests/bench-skeleton.c (main): Pass RES parameter
10248 to TIMING_INIT and multiply result by 1000.
10249
ddf985af
AZ
102502013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10251
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10253
ffdd3181
AS
102542013-09-11 Andreas Schwab <schwab@suse.de>
10255
10256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10257 if not defined.
10258 (O_TMPFILE) [__USE_GNU]: Define.
10259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10260 Define.
10261
b73ed247
WN
102622013-09-11 Will Newton <will.newton@linaro.org>
10263
10264 [BZ #15857]
10265 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10266 does not overflow.
10267
55e17aad
WN
102682013-09-11 Will Newton <will.newton@linaro.org>
10269
10270 [BZ #15856]
10271 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10272 does not overflow.
10273
1159a193
WN
102742013-09-11 Will Newton <will.newton@linaro.org>
10275
10276 [BZ #15855]
10277 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10278 does not overflow.
10279
5905e7b3 102802013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10281
10282 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10283 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10287
cdfc721b
AM
102882013-09-10 Allan McRae <allan@archlinux.org>
10289
aa04af00
AM
10290 [BZ #15748]
10291 * manual/arith.texi (Parsing of Floats): Clarify
10292 cross-reference.
10293
cdfc721b
AM
10294 [BZ #15849]
10295 * manual/install.texi (Running make install): Mention
10296 --enable-pt-chown.
10297 * INSTALL: Regenerated.
10298
95e7cf29
MR
102992013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10300
10301 * csu/init-first.c (_init): Remove the !SHARED condition around
10302 FPU control word initialization.
10303 * elf/dl-support.c (_dl_fpu_control): New variable.
10304 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10305 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10306 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10307 * math/test-fpucw-static.c: New file.
10308 * math/test-fpucw-ieee.c: New file.
10309 * math/test-fpucw-ieee-static.c: New file.
10310 * math/Makefile (tests): Add `test-fpucw-ieee' and
10311 `$(tests-static)'.
10312 (tests-static): New variable.
10313 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10314 dependency to...
10315 [($(build-shared),yes)]
10316 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10317 ... this.
10318 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10319 New dependency.
10320
83e43bf0
AM
103212013-09-09 Allan McRae <allan@archlinux.org>
10322
a9f5ce09
AM
10323 [BZ #15939]
10324 * manual/string.texi (Collation Functions): Fix typo in
10325 strcoll example.
10326 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10327
34829bc2
AM
10328 [BZ #15893]
10329 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10330
3932737d
AM
10331 [BZ #15892]
10332 * libio/memstream.c (open_memstream): Fix memory leak.
10333 * libio/wmemstream.c (open_wmemstream): Likewise.
10334
83e43bf0
AM
10335 [BZ #15895]
10336 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10337
0c66b8e9
WN
103382013-09-09 Will Newton <will.newton@linaro.org>
10339
10340 * malloc/Makefile: Add tst-realloc to tests.
10341 * malloc/tst-realloc.c: New file.
10342
f6b00fd1
AM
103432013-09-09 Allan McRae <allan@archlinux.org>
10344
10345 [BZ #15844]
10346 * COPYING: Update from GNU website to fix FSF address.
10347 * COPYING.LIB: Likewise.
10348
eec55e16
DM
103492013-09-06 David S. Miller <davem@davemloft.net>
10350
10351 * po/zh_TW.po: Update Chinese (traditional) translation from
10352 translation project.
10353
1ecbb381
RS
103542013-09-06 Richard Sandiford <richard@codesourcery.com>
10355 Joseph Myers <joseph@codesourcery.com>
10356
10357 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10358 "localeinfo.h".
10359 (obstack_chunk_alloc): New macro.
10360 (obstack_chunk_free): Likewise.
10361 (record_offset): New function.
10362 (init_locale_data): Likewise.
10363 (align_locale_data): Likewise.
10364 (add_locale_empty): Likewise.
10365 (add_locale_raw_data): Likewise.
10366 (add_locale_raw_obstack): Likewise.
10367 (add_locale_string): Likewise.
10368 (add_locale_wstring): Likewise.
10369 (add_locale_uint32): Likewise.
10370 (add_locale_uint32_array): Likewise.
10371 (add_locale_char): Likewise.
10372 (start_locale_structure): Likewise.
10373 (end_locale_structure): Likewise.
10374 (start_locale_prelude): Likewise.
10375 (end_locale_prelude): Likewise.
10376 (write_locale_data): Take locale_file structure rather than an
10377 iovec.
10378 * locale/programs/locfile.h: Include "obstack.h".
10379 (struct locale_file): Change to store locale file contents instead
10380 of header.
10381 (init_locale_data): New prototype.
10382 (align_locale_data): Likewise.
10383 (add_locale_empty): Likewise.
10384 (add_locale_raw_data): Likewise.
10385 (add_locale_raw_obstack): Likewise.
10386 (add_locale_string): Likewise.
10387 (add_locale_wstring): Likewise.
10388 (add_locale_uint32): Likewise.
10389 (add_locale_uint32_array): Likewise.
10390 (add_locale_char): Likewise.
10391 (start_locale_structure): Likewise.
10392 (end_locale_structure): Likewise.
10393 (start_locale_prelude): Likewise.
10394 (end_locale_prelude): Likewise.
10395 (write_locale_data): Update prototype.
10396 * locale/programs/3level.h (struct TABLE): Remove result field.
10397 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10398 Use new locale_file interface.
10399 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10400 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10401 * locale/programs/ld-address.c (address_output): Use new
10402 locale_file interface.
10403 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10404 NO_ADD_LOCALE.
10405 (collate_finish): Don't call collseq_table_finalize.
10406 (collate_output): Use new locale_file interface.
10407 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10408 in file.
10409 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10410 (TABLE): Move defines earlier in file.
10411 (ELEMENT): Likewise.
10412 (DEFAULT): Likewise.
10413 (wctrans_table_add): Move macro and inline function earlier in
10414 file.
10415 (struct wctype_table): Move type earlier in file.
10416 (add_locale_wctype_table): New static prototype.
10417 (struct locale_ctype_t): Use logical types instead of struct iovec
10418 pointers for members.
10419 (ctype_output): Use new locale_file interface.
10420 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10421 new locale_file interface.
10422 (allocate_arrays): Update for use of new locale_file interface.
10423 * locale/programs/ld-identification.c (identification_output): Use
10424 new locale_file interface.
10425 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10426 * locale/programs/ld-messages.c (messages_output): Likewise.
10427 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10428 * locale/programs/ld-name.c (name_output): Likewise.
10429 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10430 * locale/programs/ld-paper.c (paper_output): Likewise.
10431 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10432 * locale/programs/ld-time.c (time_output): Likewise.
10433
e029e2e5
AZ
104342013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10435
10436 * benchtests/Makefile: Add memrchr benchmark.
10437 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10438 benchmark as memrchr.
10439 * benchtests/bench-memrchr-ifunc.c: New file.
10440 * benchtests/bench-memrchr.c: New file.
10441
bbf6e8e4
WN
104422013-09-06 Will Newton <will.newton@linaro.org>
10443
10444 * benchtests/Makefile (string-bench): Add memcpy.
10445
6c82a2f8
CD
104462013-09-05 Carlos O'Donell <carlos@redhat.com>
10447 Cong Wang <amwang@redhat.com>
10448
e732c5f0 10449 [BZ #15850]
6c82a2f8
CD
10450 * sysdeps/unix/sysv/linux/bits/in.h
10451 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10452 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10453 before __USE_KERNEL_IPV6_DEFS uses.
10454 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10455 IPPROTO_BEETPH.
10456 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10457 sockaddr_in6, or ipv6_mreq.
10458
5430fc65
AZ
104592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10460
10461 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10462 memory access for final bytes in some large inputs.
10463 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10464
4660856c
AZ
104652013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10466
10467 * string/test-memrchr.c: New file.
10468 * string/test-memrchr-ifunc.c: New file.
10469 * string/Makefile: Add new memrchr testcase.
10470
bb8ea713
MF
104712013-09-05 Mike Frysinger <vapier@gentoo.org>
10472
10473 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10474 fanotify_init returns EPERM.
10475
b92a20b5
JM
104762013-09-04 Joseph Myers <joseph@codesourcery.com>
10477
10478 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10479 errors.
10480 (top level): Treat second token from macro or constant entries for
10481 allowed headers as allowed.
10482 * include/complex.h: Condition internal declarations on
10483 [!_ISOMAC].
10484 * include/fenv.h: Condition include of <stdbool.h> and internal
10485 declarations on [!_ISOMAC].
7447ccd9
CL
10486
104872013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10488
3e181dda 10489 [BZ #15923]
7447ccd9
CL
10490 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10491
3f2e46a4
JM
104922013-09-04 Joseph Myers <joseph@codesourcery.com>
10493
10494 * configure.in (--enable-versioning): Remove configure option.
10495 (libc_cv_asm_symver_directive): Remove configure test.
10496 (libc_cv_ld_version_script_option): Likewise.
10497 (VERSIONING): Remove variable and AC_SUBST.
10498 (DO_VERSIONING): Remove AC_DEFINE.
10499 * configure: Regenerated.
10500 * config.h.in (DO_VERSIONING): Remove macro.
10501 * Makerules [$(versioning) = yes]: Change conditionals to
10502 [$(build-shared) = yes].
10503 * config.make.in (versioning): Remove variable.
10504 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10505 [$(build-shared) = yes].
10506 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10507 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10508 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10509 [$(build-shared) = yes].
10510 * extra-lib.mk [$(versioning) = yes]: Likewise.
10511 * hurd/Makefile [$(versioning) = yes]: Likewise.
10512 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10513 [SHARED].
10514 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10515 [SHARED].
10516 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10517 [SHARED && !NO_HIDDEN].
10518 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10519 [SHARED].
10520 [SHARED && DO_VERSIONING]: Likewise..
10521 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10522 [$(build-shared) = yes].
10523 * manual/install.texi (--disable-versioning): Remove
10524 documentation.
10525 * INSTALL: Regenerated.
10526 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10527 to [SHARED].
10528 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10529 [$(build-shared) = yes].
10530 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10531 * sysdeps/i386/i686/multiarch/strstr-c.c
10532 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10533 [SHARED && !NO_HIDDEN].
10534 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10535 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10536 * sysdeps/powerpc/powerpc32/dl-machine.c
10537 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10538 * sysdeps/powerpc/powerpc32/sysdep.h
10539 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10540 to [SHARED && PIC && !NO_HIDDEN].
10541 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10542 conditional to [SHARED].
10543
44558701
WN
105442013-09-04 Will Newton <will.newton@linaro.org>
10545
10546 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10547 * benchtests/bench-string.h: Include bench-timing.h instead
10548 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10549 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10550 call to HP_TIMING_DIFF_INIT.
10551 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10552 instead of hp-timing.h macros.
10553 * benchtests/bench-memchr.c: Likewise.
10554 * benchtests/bench-memcmp.c: Likewise.
10555 * benchtests/bench-memcpy.c: Likewise.
10556 * benchtests/bench-memmem.c: Likewise.
10557 * benchtests/bench-memmove.c: Likewise.
10558 * benchtests/bench-memset.c: Likewise.
10559 * benchtests/bench-rawmemchr.c: Likewise.
10560 * benchtests/bench-strcasecmp.c: Likewise.
10561 * benchtests/bench-strcasestr.c: Likewise.
10562 * benchtests/bench-strcat.c: Likewise.
10563 * benchtests/bench-strchr.c: Likewise.
10564 * benchtests/bench-strcmp.c: Likewise.
10565 * benchtests/bench-strcpy.c: Likewise.
10566 * benchtests/bench-strcpy_chk.c: Likewise.
10567 * benchtests/bench-strlen.c: Likewise.
10568 * benchtests/bench-strncasecmp.c: Likewise.
10569 * benchtests/bench-strncat.c: Likewise.
10570 * benchtests/bench-strncmp.c: Likewise.
10571 * benchtests/bench-strncpy.c: Likewise.
10572 * benchtests/bench-strnlen.c: Likewise.
10573 * benchtests/bench-strpbrk.c: Likewise.
10574 * benchtests/bench-strrchr.c: Likewise.
10575 * benchtests/bench-strspn.c: Likewise.
10576 * benchtests/bench-strstr.c: Likewise.
10577
cae16d66
WN
105782013-09-04 Will Newton <will.newton@linaro.org>
10579
10580 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10581
ffa3cd7f
JM
105822013-09-03 Joseph Myers <joseph@codesourcery.com>
10583
10584 [BZ #15427]
10585 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10586 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10587 * math/libm-test.inc (lgamma_test_data): Add more tests.
10588 * sysdeps/i386/fpu/libm-test-ulps: Update.
10589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10590
8f02859f
OB
105912013-09-03 Ondřej Bílka <neleai@seznam.cz>
10592
10593 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10594 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10595 Add ifunc.
10596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10597 Add strcmp-sse2-unaligned
10598 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10599
18d43716
MF
106002013-09-02 Mike Frysinger <vapier@gentoo.org>
10601
10602 * Versions.def (libc): Add GLIBC_2.19.
10603
ac444012
MF
106042013-09-02 Mike Frysinger <vapier@gentoo.org>
10605
10606 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10607 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10608
b7835e32
JM
106092013-09-02 Joseph Myers <joseph@codesourcery.com>
10610
10611 [BZ #14155]
10612 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10613 intermediate calculations in recurrence.
10614 (__ieee754_ynf): Likewise.
10615 * math/libm-test.inc (jn_test_data): Do not allow spurious
10616 underflow exception. Add more tests.
10617 (yn_test_data): Add more tests.
10618 * sysdeps/i386/fpu/libm-test-ulps: Update.
10619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620
8220f4f0
OB
106212013-09-02 Ondřej Bílka <neleai@seznam.cz>
10622
10623 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10624
f24a6d08
OB
106252013-08-30 Ondřej Bílka <neleai@seznam.cz>
10626
10627 * csu/init-first.c: Fix then/than typos.
10628 * locale/programs/ld-collate.c: Likewise.
10629 * locale/programs/linereader.h: Likewise.
10630 * manual/charset.texi: Likewise.
10631 * manual/filesys.texi: Likewise.
10632 * manual/stdio.texi: Likewise.
10633 * manual/string.texi: Likewise.
10634 * stdlib/fmtmsg.c: Likewise.
10635 * sysdeps/i386/stpncpy.S: Likewise.
10636 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10637 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10638 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10639 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10640
382466e0
OB
106412013-08-30 Ondřej Bílka <neleai@seznam.cz>
10642
10643 * elf/dl-open.c: Fix typos.
10644 * iconvdata/gbbig5.c: Likewise.
10645 * iconvdata/iso-2022-jp.c: Likewise.
10646 * iconv/gconv_int.h: Likewise.
10647 * iconv/loop.c: Likewise.
10648 * nis/rpcsvc/nis.h: Likewise.
10649 * resolv/ns_name.c: Likewise.
10650 * stdio-common/vfscanf.c: Likewise.
10651 * streams/stropts.h: Likewise.
10652 * sunrpc/rpc_thread.c: Likewise.
10653 * sysdeps/i386/strpbrk.S: Likewise.
10654 * sysdeps/ieee754/k_standard.c: Likewise.
10655 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10657 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10658 * sysdeps/mach/hurd/profil.c: Likewise.
10659 * sysdeps/s390/dl-procinfo.h: Likewise.
10660 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10661 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10662 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10663 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10665
0186c6e9
OB
106662013-08-30 Ondřej Bílka <neleai@seznam.cz>
10667
10668 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10670
d4e16af1
OB
106712013-08-29 Ondřej Bílka <neleai@seznam.cz>
10672
10673 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10674 aix specific files.
10675 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10676 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10677 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10678 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10679 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10680 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10681 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10682 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10683
88335980
TS
106842013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10685 Roland McGrath <roland@hack.frob.com>
10686
10687 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10688 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10689
ed479b02
ST
106902013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10691
10692 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10693 __executable_start symbol instead of _start.
10694
f1cc4c86
TS
106952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10696
d821f07c
TS
10697 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10698 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10699 Move macros to...
10700 * sysdeps/gnu/ldsodefs.h: ... this new file.
10701
c54290cf
TS
10702 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10703 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10704 instead of ELFOSABI_LINUX.
10705
0007fc9b 10706 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10707 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10708 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10709 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10710 Likewise.
10711 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10712 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10714 Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10716 (ibm_extended_long_double): Add ieee_nan member.
10717 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10718 (do_test): New function.
10719
f1cc4c86
TS
10720 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10721 TEST_TRUNC.
10722 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10723 functions, renamed from truncdfsf_test, trunctfsf_test,
10724 trunctfdf_test.
10725 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10726 functions.
10727 (do_test): Run all these.
10728
6f65e668
OB
107292013-08-29 Ondřej Bílka <neleai@seznam.cz>
10730
10731 * argp/argp-help.c: Fix typos.
10732 * argp/argp-parse.c: Likewise.
10733 * debug/backtracesyms.c: Likewise.
10734 * elf/elf.h: Likewise.
10735 * malloc/malloc.c: Likewise.
10736 * nis/nis_print.c: Likewise.
10737 * resolv/res_comp.c: Likewise.
10738 * stdlib/stdlib.h: Likewise.
10739 * sunrpc/clnt_tcp.c: Likewise.
10740 * sunrpc/clnt_udp.c: Likewise.
10741 * sunrpc/clnt_unix.c: Likewise.
10742 * sysdeps/unix/bsd/ptsname.c: Likewise.
10743 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10744 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10746 Likewise.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10748 Likewise.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10750 Likewise.
6f65e668
OB
10751 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10752
3a309239
SP
107532013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10754
10755 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10757
3b813b29
MF
107582013-08-27 Mike Frysinger <vapier@gentoo.org>
10759
10760 [BZ #15897]
10761 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10762 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10763 ($(objpfx)bug-dl-leaf): New rule.
10764 ($(objpfx)bug-dl-leaf.so): Likewise.
10765 ($(objpfx)bug-dl-leaf.out): Likewise.
10766 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10767 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10768 * dlfcn/bug-dl-leaf.c: New test.
10769 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10770 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10771 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10772 (dlclose): Likewise.
10773 (dlmopen): Likewise.
10774
8cc3269f
RM
107752013-08-27 Roland McGrath <roland@hack.frob.com>
10776
7f9d0034
RM
10777 * include/netdb.h [!_ISOMAC]:
10778 Don't include <tls.h>.
10779 (h_errno, __libc_h_errno): Move declaration and macros out of
10780 [_LIBC_REENTRANT].
10781
fb431262
RM
10782 * include/resolv.h [_RESOLV_H_]:
10783 Don't include <tls.h>.
10784 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10785 * resolv/res_libc.c: Don't include <tls.h>.
10786 (_res): Use __attribute__ ((nocommon)) in place of
10787 __attribute__ ((section (".bss"))).
10788
bd81123a
RM
10789 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10790 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10791
c4e42566
RM
10792 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10793
f890a59b
RM
10794 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10795 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10796
10797 * resolv/res_mkquery.c: Include <sys/time.h>.
10798
5d1f0a09
RM
10799 * inet/ifreq.c: Moved to ...
10800 * sysdeps/unix/ifreq.c: ... here.
10801 * inet/ifreq.c: New file, true stub version.
10802
6fcf28b3
RM
10803 * socket/sa_len.c: New file.
10804 * socket/Makefile (aux): Add it.
10805 * sysdeps/unix/sysv/linux/Makefile
10806 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10807 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10808 and #include <socket/sa_len.c>.
10809 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10810 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10811
e041fb8b
RM
10812 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10813 * bits/socket.h: ... here.
10814
8cc3269f
RM
10815 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10816 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10817 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10818
5d228a43
AS
108192013-08-27 Andreas Schwab <schwab@suse.de>
10820
45b8accc
AS
10821 [BZ #15736]
10822 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10823 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10824 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10825 * string/test-strcasecmp.c (test_main): Run tests in several
10826 locales.
10827 * string/test-strncasecmp.c (test_main): Likewise.
10828
5d228a43
AS
10829 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10830 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10831 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10832 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10833 (__strncasecmp_ssse3) [PIC]: Likewise.
10834
59d112a4
RM
108352013-08-26 Roland McGrath <roland@hack.frob.com>
10836
53234cc3
RM
10837 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10838
59d112a4
RM
10839 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10840 instead of explicitly declaring xdecrypt.
10841 * nis/nss_nis/nis-publickey.c: Likewise.
10842
595aba70
SP
108432013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10844
10845 [BZ #15890]
10846 * nscd/aicache.c: Include res_hconf.h.
10847 (addhstaiX): Initialize res_hconf.
10848
ffabd393
AS
108492013-08-26 Andreas Schwab <schwab@suse.de>
10850
10851 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10852 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10853
e0a69f5c
SP
108542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10855
10856 * nscd/aicache.c (addhstaiX): Fix indentation.
10857
8c12f01d
MF
108582013-08-25 Mike Frysinger <vapier@gentoo.org>
10859
10860 * configure.ac: Quote $build_pt_chown test.
10861 * configure: Regenerated.
10862
8fe89494
JM
108632013-08-23 Joseph Myers <joseph@codesourcery.com>
10864
10865 [BZ #15532]
10866 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10867 * math/s_cexpf.c (__cexpf): Likewise.
10868 * math/s_cexpl.c (__cexpl): Likewise.
10869 * math/libm-test.inc (cexp_test_data): Correct expected return
10870 value for NaN + i0. Add another test.
10871
75b181d6
DM
108722013-08-22 David S. Miller <davem@davemloft.net>
10873
10874 * po/ca.po: Update Catalan translation from translation project.
936241e4 10875 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10876
acd06bb1
JM
108772013-08-21 Joseph Myers <joseph@codesourcery.com>
10878
10879 [BZ #15797]
10880 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10881 is infinite, not alongside NaN test.
10882 * math/s_fdimf.c (__fdimf): Likewise.
10883 * math/s_fdiml.c (__fdiml): Likewise.
10884 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10885 errno is unchanged.
10886
c0c3f78a
OB
108872013-08-21 Ondřej Bílka <neleai@seznam.cz>
10888
10889 * argp/argp-help.c: Fix typos.
10890 * crypt/speeds.c: Likewise.
10891 * csu/check_fds.c: Likewise.
10892 * elf/dl-load.c: Likewise.
10893 * elf/dl-open.c: Likewise.
10894 * elf/reldep3.c: Likewise.
10895 * elf/reldep.c: Likewise.
10896 * elf/sprof.c: Likewise.
10897 * iconv/iconv_charmap.c: Likewise.
10898 * iconv/skeleton.c: Likewise.
10899 * iconv/strtab.c: Likewise.
10900 * io/lockf64.c: Likewise.
10901 * libio/libioP.h: Likewise.
10902 * resolv/gai_notify.c: Likewise.
10903 * resolv/ns_name.c: Likewise.
10904 * resolv/ns_samedomain.c: Likewise.
10905 * resolv/res_send.c: Likewise.
10906 * stdlib/random.c: Likewise.
10907 * sunrpc/rpc/xdr.h: Likewise.
10908 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10909 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10910 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10911 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10912 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10913 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10915 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10916 * sysdeps/mach/hurd/check_fds.c: Likewise.
10917 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10918 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10919 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10920 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10921 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10922 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10923 * sysdeps/pthread/aio_notify.c: Likewise.
10924 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10925 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10926 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10927 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10928 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10929
46ed1038
LD
109302013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10931
10932 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10933 version if bit_Slow_SSE4_2 is set.
10934 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10935 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10936
d400dcac
AZ
109372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10938
10939 [BZ #15867]
10940 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10941 trampoline stack frame information.
10942 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10943 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10944 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10945 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10946 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10947 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10948 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10949 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10950 sa_flags value.
10951 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10952 interrupting a syscall and set with option SA_SIGINFO.
10953
42c8fdd8
JM
109542013-08-20 Joseph Myers <joseph@codesourcery.com>
10955
c980f2f4
JM
10956 [BZ #15531]
10957 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10958 argument is infinite.
10959 * math/s_cprojf.c (__cprojf): Likewise.
10960 * math/s_cprojl.c (__cprojl): Likewise.
10961 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10962 * math/libm-test.inc (cproj_test_data): Add more tests.
10963
0716c4fc
JM
10964 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10965
42c8fdd8
JM
10966 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10967 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10968 size. Use __ffs to determine corresponding shift.
10969
b31469d0
JM
109702013-08-20 Joseph Myers <joseph@codesourcery.com>
10971 Roland McGrath <roland@hack.frob.com>
10972
10973 * Makefile (INSTALL): Remove trailing blank lines from output of
10974 makeinfo.
10975
4e39af6e
AK
109762013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10977
10978 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10979 Align 32 bit compat elf_greg to 8 bytes.
10980
f315524e
AA
109812013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10982
10983 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10984
1326ba1a
SP
109852013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10986
10987 * string/strcoll_l.c (coll_seq): New structure.
10988 (get_next_seq_cached): New function.
10989 (get_next_seq): New function.
10990 (do_compare): New function.
10991 (STRCOLL): Use GNU style definition. Simplify implementation
10992 by using get_next_seq, get_next_seq_cached and do_compare.
10993
91ce4085
FW
109942013-08-16 Florian Weimer <fweimer@redhat.com>
10995
10996 [BZ #14699]
10997 CVE-2013-4237
10998 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10999 member.
11000 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11001 member.
11002 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11003 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11004 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11005 conditional.
11006 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11007 GETDENTS_64BIT_ALIGNED.
11008 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11009 * manual/filesys.texi (Reading/Closing Directory): Document
11010 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11011 strongly.
11012 * manual/conf.texi (Limits for Files): Add portability note to
11013 NAME_MAX, PATH_MAX.
11014 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11015
ca0a6bc4
AS
110162013-08-13 Andreas Schwab <schwab@suse.de>
11017
11018 [BZ #15749]
11019 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11020 of fabs.
11021 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11022 LDBL_MAX_EXP >= 16384]: Add tests for it.
11023
6c1fd795
DM
110242013-08-12 David S. Miller <davem@davemloft.net>
11025
11026 * version.h (RELEASE): Set to "development".
11027 (VERSION): Set to "2.18.90".
11028 * NEWS: Add 2.19 section.
11029
31ad488d
DM
110302013-08-03 David S. Miller <davem@davemloft.net>
11031
11032 * po/ko.po: Update Korean translation from translation project.
11033
db24e684
DM
110342013-08-01 David S. Miller <davem@davemloft.net>
11035
11036 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11037 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11038 Bilka.
11039
f723285b
DM
110402013-07-30 David S. Miller <davem@davemloft.net>
11041
11042 * po/fr.po: Update French translation from translation project.
11043
3cbc52db
DM
110442013-07-28 David S. Miller <davem@davemloft.net>
11045
30bbc0cc
DM
11046 * po/cs.po: Update Czech translation from translation project.
11047
3cbc52db
DM
11048 * po/sv.po: Update Swedish translation from translation project.
11049
d492e6d0
DM
110502013-07-27 David S. Miller <davem@davemloft.net>
11051
f1a7f492
DM
11052 * po/eo.po: Update Esperanto translation from translation project.
11053
90e62a4a
DM
11054 * po/vi.po: Update Vietnamese translation from translation project.
11055
d492e6d0
DM
11056 * po/de.po: Update German translation from translation project.
11057
d4baa62d
DM
110582013-07-26 David S. Miller <davem@davemloft.net>
11059
641aa7b4
DM
11060 * po/bg.po: Update Bulgarian translation from translation project.
11061
d4baa62d
DM
11062 * po/nl.po: Update Dutch translation from translation project.
11063 * po/pl.po: Update Polish translation from translation project.
11064 * po/ru.po: Update Russian translation from translation project.
11065
61a9dcb9
DM
110662013-07-24 David S. Miller <davem@davemloft.net>
11067
11068 * po/libc.pot: Update.
11069
7b1f8b58
AZ
110702013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11071
11072 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11073 variable page size.
11074 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11075 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11076 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11077
a8fc7a03
AK
110782013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11079
11080 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11081
e4608715
CD
110822013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11083 Andreas Schwab <schwab@suse.de>
11084 Roland McGrath <roland@hack.frob.com>
11085 Joseph Myers <joseph@codesourcery.com>
11086 Carlos O'Donell <carlos@redhat.com>
11087
11088 [BZ #15755]
11089 * config.h.in: Define HAVE_PT_CHOWN.
11090 * config.make.in (build-pt-chown): New variable.
11091 * configure.in (--enable-pt_chown): New configure option.
11092 * configure: Regenerate.
11093 * login/Makefile: Include Makeconfig. Build pt_chown only if
11094 build-pt-chown is enabled.
11095 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11096 pt_chown to fix pty ownership.
11097 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11098 CLOSE_ALL_FDS.
11099 * manual/install.texi (Configuring and compiling): Mention
11100 --enable-pt_chown. Add @findex for grantpt.
11101 * INSTALL: Regenerate.
11102
da2d62df
DM
111032013-07-20 David S. Miller <davem@davemloft.net>
11104
11105 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11106 difference between 32-bit and 64-bit.
11107
d7e06450
CD
111082013-07-15 Carlos O'Donell <carlos@redhat.com>
11109
11110 [BZ #15711]
11111 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11112 Avoid system header dependency with -ffreestanding.
11113 ($(objpfx)bits/syscall%d): Likewise.
11114
f959cfd7
DM
111152013-07-13 David S. Miller <davem@davemloft.net>
11116
11117 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11118 underflows from atanl/atan2l due to bug 15319.
11119 (casinh_test_data): Likewise.
11120
c61f8513
DM
111212013-07-07 David S. Miller <davem@davemloft.net>
11122
11123 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11124
72c90ed0
JA
111252013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11126
11127 * sysdeps/i386/fpu/libm-test-ulps: Update.
11128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11129
52dfbe13
SP
111302013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11131
11132 * configure.in (--enable-lock-elision): Fix message text.
11133 * INSTALL: Regenerate.
11134 * configure: Regenerate.
11135
3f169543
AZ
111362013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11137
11138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11139
521c6785
AJ
111402013-07-03 Andreas Jaeger <aj@suse.de>
11141
11142 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11143 define.
11144 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11145 (ptrace_peeksiginfo_args): Add.
11146 (__ptrace_peeksiginfo_flags): Add.
11147 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11149 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11150
d2cc15cb
AM
111512013-07-03 Allan McRae <allan@archlinux.org>
11152
11153 * sysdeps/i386/fpu/libm-test-ulps: Update.
11154
3aaeeca7
DM
111552013-07-02 David S. Miller <davem@davemloft.net>
11156
11157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11158
5314ed1a
MT
111592013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11160
11161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11162
67338156
JM
111632013-07-02 Joseph Myers <joseph@codesourcery.com>
11164
11165 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11167
1717da59
AK
111682013-07-02 Andi Kleen <ak@linux.intel.com>
11169
11170 * config.h.in (ENABLE_LOCK_ELISION): Add.
11171 * configure.in (--enable-lock-elision): Add option.
11172 * manual/install.texi: Document --enable lock elision.
11173 * configure: Regenerate
11174 * INSTALL: Regenerate.
11175
1c81621c
L
111762013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11177
11178 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11179 SSE4.2 strcasecmp for libc.a.
11180 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11181
77f01ab5
JM
111822013-07-02 Joseph Myers <joseph@codesourcery.com>
11183
11184 [BZ #13304]
11185 * soft-fp/op-common.h (_FP_FMA): New macro.
11186 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11187 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11188 (_FP_MUL_MEAT_1_imm): ... here.
11189 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11190 (_FP_MUL_MEAT_1_wide): ... here.
11191 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11192 (_FP_MUL_MEAT_1_hard): ... here.
11193 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11194 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11195 (_FP_MUL_MEAT_2_wide): ... here.
11196 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11197 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11198 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11199 (_FP_MUL_MEAT_2_gmp): ... here.
11200 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11201 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11202 (_FP_MUL_MEAT_4_wide): ... here.
11203 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11204 (_FP_MUL_MEAT_4_gmp): ... here.
11205 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11206 (_FP_WFRACBITS_DW_S): Likewise.
11207 (_FP_WFRACXBITS_DW_S): Likewise.
11208 (_FP_HIGHBIT_DW_S): Likewise.
11209 (FP_FMA_S): Likewise.
11210 (_FP_FRAC_HIGH_DW_S): Likewise.
11211 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11212 (_FP_WFRACBITS_DW_D): Likewise.
11213 (_FP_WFRACXBITS_DW_D): Likewise.
11214 (_FP_HIGHBIT_DW_D): Likewise.
11215 (FP_FMA_D): Likewise.
11216 (_FP_FRAC_HIGH_DW_D): Likewise.
11217 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11218 (_FP_WFRACBITS_DW_E): Likewise.
11219 (_FP_WFRACXBITS_DW_E): Likewise.
11220 (_FP_HIGHBIT_DW_E): Likewise.
11221 (FP_FMA_E): Likewise.
11222 (_FP_FRAC_HIGH_DW_E): Likewise.
11223 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11224 (_FP_WFRACBITS_DW_Q): Likewise.
11225 (_FP_WFRACXBITS_DW_Q): Likewise.
11226 (_FP_HIGHBIT_DW_Q): Likewise.
11227 (FP_FMA_Q): Likewise.
11228 (_FP_FRAC_HIGH_DW_Q): Likewise.
11229 * soft-fp/fmasf4.c: New file.
11230 * soft-fp/fmadf4.c: Likewise.
11231 * soft-fp/fmatf4.c: Likewise.
11232
6308fd9a
LD
112332013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11234
11235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11236 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11237 Silvermont.
11238 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11239 macro.
11240 (index_Slow_SSE4_2): Likewise.
11241 (index_Prefer_PMINUB_for_stringop): Likewise.
11242 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11243 bit_Slow_SSE4_2 is set.
11244 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11245 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11246
89cd9569
RA
112472013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11248
11249 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11250 rtld_global._dl_hwcap2.
11251 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11252 POWER8.
11253 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11254 POWER8 feature descriptions defined in _dl_hwcap2.
11255 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11256 string handling for POWER8 feature bits.
11257 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11258 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11259 _dl_powerpc_cap_flags.
11260 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11261 * sysdeps/powerpc/rtld-global-offsets.sym
11262 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11263 _dl_hwcap2 in the rtld_global_ro structure.
11264
1ae8bfe0
RA
112652013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11266
11267 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11268 hardware capabilities in support of AT_HWCAP2.
11269 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11270 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11271 GLRO(dl_hwcap2).
11272 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11273 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11274 explicitly the unknown a_type display mechanism is used.
11275 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11276 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11277 struct member.
11278 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11279 to macro prototype for AT_HWCAP2 support.
11280 * sysdeps/i386/dl-procinfo.h: Likewise.
11281 * sysdeps/s390/dl-procinfo.h: Likewise.
11282 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11283 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11284 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11285 return -1 for unknown a_type display fallback.
11286 * sysdeps/sparc/dl-procinfo.h: Likewise.
11287 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11288 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11289
8fbec010
JM
112902013-06-28 Joseph Myers <joseph@codesourcery.com>
11291
11292 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11293 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11294
0432680e
PY
112952013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11296
11297 [BZ #12492]
11298 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11299 mprotect making __stack_prot writable.
11300
ce61a2ad
NF
113012013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11302 Joseph Myers <joseph@codesourcery.com>
11303
11304 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11305 as being properly aligned.
11306
f91f1c0f
MR
113072013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11308
3d0f5d0c
MR
11309 * dlfcn/modstatic5.c: New file.
11310 * dlfcn/tststatic5.c: New file.
11311 * dlfcn/Makefile (tests): Add tststatic5.
11312 (tests-static): Likewise.
11313 (modules-names): Add modstatic5.
11314 (tststatic5-ENV): New variable.
11315 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11316
f91f1c0f
MR
11317 [BZ #15022]
11318 * elf/dl-support.c (_dl_main_map): New variable.
11319 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11320 (_dl_nns, _dl_load_adds): Set to 1.
11321 (_dl_initial_searchlist): Refer to _dl_main_map.
11322 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11323 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11324 call to _dl_get_origin.
11325 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11326 around call_map.
11327 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11328 * dlfcn/modstatic3.c: New file.
11329 * dlfcn/tststatic3.c: New file.
11330 * dlfcn/tststatic4.c: New file.
11331 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11332 (tests-static): Likewise.
11333 (modules-names): Add modstatic3.
11334 (tststatic3-ENV, tststatic4-ENV): New variables.
11335 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11336 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11337
cbe7d24b
JM
113382013-06-26 Joseph Myers <joseph@codesourcery.com>
11339
11340 * configure.in (CC): Require GCC version 4.4 or later.
11341 * configure: Regenerated.
11342 * manual/install.texi (Tools for Compilation): Update GCC version
11343 requirement.
11344 * INSTALL: Regenerated.
11345
11b8a0e1
LD
113462013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11347
11348 [BZ #15674]
bb5bb87c
L
11349 * string/test-memcmp.c (check2): New.
11350 (main): Call check2.
11351
11b8a0e1
LD
11352 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11353
b0037103
MR
113542013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11355
11356 [BZ #15022]
11357 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11358 over to...
11359 (dl_open_worker) [!SHARED]: ... here.
11360
c18c701d
RA
113612013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11362
11363 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11364
1d17fa5f
RH
113652013-06-25 Richard Henderson <rth@redhat.com>
11366
11367 * locale/programs/locarchive.c: Include <libc-internal.h>
11368
8fcb833a
JM
113692013-06-25 Joseph Myers <joseph@codesourcery.com>
11370
11371 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11372 trailing whitespace removed.
11373
17db6e8d
MF
113742013-06-24 Mike Frysinger <vapier@gentoo.org>
11375
11376 [BZ #10283]
17db6e8d
MF
11377 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11378 * locale/programs/locarchive.c: Include libc-mmap.h.
11379 (prepare_address_space): Take two new outputs (the mmap base and len).
11380 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11381 values.
11382 (create_archive): Declare new mmap base and len values for
11383 prepare_address_space, and store the result in ah.
11384 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11385 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11386 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11387 Declare new mmap base and len values for
11388 prepare_address_space, and store the result in new_ah.
11389 (open_archive): Declare new mmap base and len values for
11390 prepare_address_space, and store the result in ah.
11391 (close_archive): If ah->mmap_base is not NULL, use that and
11392 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11393 * sysdeps/generic/libc-mmap.h: New file.
11394
d605071e
MF
113952013-06-24 Mike Frysinger <vapier@gentoo.org>
11396
11397 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11398 (ALIGN_UP): Likewise.
11399 (PTR_ALIGN_DOWN): Likewise.
11400 (PTR_ALIGN_UP): Likewise.
11401
2f063a6e
RA
114022013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11403
11404 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11405 entry mapped to PPC_PLATFORM_POWER8.
11406 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11407 POWER8.
11408 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11409 (_dl_string_platform): Add case for exporting platform position for
11410 POWER8.
11411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11412 search path to sysdeps/powerpc/powerpc32/power8 directory.
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11414 search path to sysdeps/powerpc/powerpc64/power8 directory.
11415 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11416 power7 directories.
11417 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11418 power7 directories.
11419
a31ee4b3
SP
114202013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11421
a74ca98f
SP
11422 * INSTALL: Regenerate.
11423
a31ee4b3
SP
11424 * nscd/connections.c (nscd_init): Fix comment.
11425
695c378f
JM
114262013-06-22 Joseph Myers <joseph@codesourcery.com>
11427
d8412221
JM
11428 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11429
695c378f
JM
11430 [BZ #15667]
11431 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11432 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11433
d1d54715
MR
114342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11435
11436 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11437 DL_DST_REQ_STATIC.
11438 (DL_DST_REQ_STATIC): Remove macro.
11439
8fdda7af
JM
114402013-06-21 Joseph Myers <joseph@codesourcery.com>
11441
11442 [BZ #7006]
11443 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11444 with a shift of 0 bits.
11445
f3bc5e5a
MR
114462013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11447
11448 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11449 $(tststatic-ENV).
11450
be09e8c9
KK
114512013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11452
11453 [BZ #15655]
11454 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11455
85c2e611
AZ
114562013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11457
11458 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11459 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11460 accepts -fno-tree-loop-distribute-patterns.
11461 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11462 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11463 recursive call.
11464 * string/memset.c (memset): Likewise.
11465 * string/test-memmove.c (simple_memmove): Disable loop transformation
11466 to library calls.
11467 * string/test-memset.c (simple_memset): Likewise.
11468 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11469 * benchtests/bench-memset.c (simple_memset): Likewise.
11470 * configure: Regenerated.
11471
c91e0825
JM
114722013-06-20 Joseph Myers <joseph@codesourcery.com>
11473
b8c792af
JM
11474 * math/test-misc.c (main): Ignore fesetround failure when failures
11475 of subsequent rounding tests would be ignored.
11476
c91e0825
JM
11477 [BZ #15654]
11478 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11479 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11480 * math/fegetenv.c (__fegetenv): Return 0.
11481 * math/fegetexcept.c (fegetexcept): Return 0.
11482 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11483 FE_TONEAREST.
11484 * math/feholdexcpt.c (feholdexcept): Return 0.
11485 * math/fesetenv.c (__fesetenv): Return 0.
11486 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11487 argument FE_TONEAREST.
11488 * math/feupdateenv.c (__feupdateenv): Return 0.
11489 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11490
bfcacbde
RM
114912013-06-18 Roland McGrath <roland@hack.frob.com>
11492
11493 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11494 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11495 ($(objpfx)rtld-%.os rules): Use them.
11496
e55a9b25
AZ
114972013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11498
11499 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11500 fields.
11501
346d65b3
RM
115022013-06-17 Roland McGrath <roland@hack.frob.com>
11503
12086fb4
RM
11504 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11505 length of target pattern, then descending length of dependency pattern.
11506 * configure.in (AWK): Require gawk 3.1.2 or newer.
11507 * manual/install.texi (Tools for Compilation): Say that we do.
11508 * configure: Regenerated.
11509
346d65b3
RM
11510 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11511 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11512 * scripts/sysd-rules.awk: ... this new script.
11513 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11514 than a glob-style pattern.
11515
1a846317
JM
115162013-06-17 Joseph Myers <joseph@codesourcery.com>
11517
11518 * math/test-misc.c (main): Do not treat incorrectly rounded
11519 conversions as failure unless ROUNDING_TESTS passes.
11520
8fc75e6f
JM
115212013-06-15 Joseph Myers <joseph@codesourcery.com>
11522
3711a167
JM
11523 [BZ #15631]
11524 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11525 restore exception state around main square root computation, then
11526 check for inexactness explicitly.
11527
8fc75e6f
JM
11528 * math/libm-test.inc (fma_test_data): Add another test.
11529
61dd6208
SP
115302013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11531
adf23d2c
SP
11532 * manual/threads.texi (Non-POSIX Extensions): New document
11533 node. Document pthread_getattr_default_np and
11534 pthread_setattr_default_np.
11535
61dd6208
SP
11536 * Versions.def (libpthread): Add GLIBC_2.18.
11537 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11539 Likewise.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11541 Likewise.
11542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11543 Likewise.
11544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11545 Likewise.
11546 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11547 Likewise.
11548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11549 Likewise.
11550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11551 Likewise.
11552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11553 Likewise.
11554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11555 Likewise.
11556
d086fc7b
LD
115572013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11558
11559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11560 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11561
747ef469
SP
115622013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11563 H.J. Lu <hjl.tools@gmail.com>
11564
11565 [BZ #15627]
11566 * sysdeps/x86_64/rtld-memset.c: Remove file.
11567 * sysdeps/x86_64/rtld-memset.S: New file.
11568
1b2feed2
JM
115692013-06-14 Joseph Myers <joseph@codesourcery.com>
11570
11571 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11572 (test_in_one_mode): Take arguments for whether the rounding mode
11573 is supported for each floating-point type.
11574 (do_test): Pass new arguments to test_in_one_mode using
11575 ROUNDING_TESTS.
11576
a58ad3f8
RM
115772013-06-13 Roland McGrath <roland@hack.frob.com>
11578
11579 * posix/tst-waitid.c (do_test): Distinguish different instances of
11580 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11581 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11582 before entering the kernel for waitpid.
11583
c204ab28
SP
115842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11585
11586 * NEWS: Fix note on clock function precision. Text by Roland
11587 McGrath.
11588
f4a29fba
RM
115892013-06-13 Roland McGrath <roland@hack.frob.com>
11590
11591 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11592 it into place only when and if the sanity check passes.
11593
1f24b9ad
JM
115942013-06-13 Joseph Myers <joseph@codesourcery.com>
11595
11596 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11597 output for whether conversion result is exact. Take argument
11598 indicating whether type is IBM long double.
11599 (round_for_all): Change need_exact field to ibm_ld.
11600 * stdlib/tst-strtod-round.c (struct exactness): New type.
11601 (struct test): Change bool ld_ok field to struct exactness exact.
11602 (TEST): Update all definitions for change to field.
11603 (tests): Regenerate array contents.
11604 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11605 field value. Check for IBM long double here.
11606 (do_test): Update calls to test_in_one_mode.
11607
58206c68
SP
116082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11609
11610 [BZ #12515]
11611 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11612 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11613
2d6f4c5b 116142013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11615
11616 [BZ #15605]
11617 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11618 generated by the compiler on loop optimizations.
11619 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11620 general definitions.
11621
94f2c076
JM
116222013-06-12 Joseph Myers <joseph@codesourcery.com>
11623
11624 * math/bug-nextafter.c: Include <math-tests.h>.
11625 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11626 the relevant type.
11627 * math/bug-nexttoward.c: Include <math-tests.h>.
11628 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11629 the relevant type.
11630 * math/test-misc.c: Include <math-tests.h>.
11631 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11632 the relevant type.
11633
e0e50a0a
AJ
116342013-06-12 Andreas Jaeger <aj@suse.de>
11635
11636 * po/ia.po: Update Interlingua translation from translation
11637 project.
11638
25061094
SP
116392013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11640
11641 * include/fenv.h: Include stdbool.h.
11642 (struct rm_ctx): New structure.
11643 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11644 Define macro.
11645 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11646 (SET_RESTORE_ROUNDF): Likewise.
11647 (SET_RESTORE_ROUNDL): Likewise.
11648 (SET_RESTORE_ROUND_NOEX): Likewise.
11649 (SET_RESTORE_ROUND_NOEXF): Likewise.
11650 (SET_RESTORE_ROUND_NOEXL): Likewise.
11651 (SET_RESTORE_ROUND_53BIT): Likewise.
11652 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11653 (libc_feresetround_noexf_ctx): Likewise.
11654 (libc_feresetround_noexl_ctx): Likewise.
11655 (libc_feholdsetround_53bit_ctx): Likewise.
11656 (libc_feresetround_53bit_ctx): Likewise.
11657 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11658 (libc_feholdexcept_setround_sse_ctx): New function.
11659 (libc_fesetenv_sse_ctx): Likewise.
11660 (libc_feupdateenv_sse_ctx): Likewise.
11661 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11662 (libc_feholdexcept_setround_387_ctx): Likewise.
11663 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11664 (libc_feholdsetround_387_prec_ctx): Likewise.
11665 (libc_feholdsetround_387_ctx): Likewise.
11666 (libc_feholdsetround_387_53bit_ctx): Likewise.
11667 (libc_feholdsetround_sse_ctx): Likewise.
11668 (libc_feresetround_sse_ctx): Likewise.
11669 (libc_feresetround_387_ctx): Likewise.
11670 (libc_feupdateenv_387_ctx): Likewise.
11671 (libc_feholdexcept_setroundf_ctx): Define macro.
11672 (libc_fesetenvf_ctx): Likewise.
11673 (libc_feupdateenvf_ctx): Likewise.
11674 (libc_feholdsetroundf_ctx): Likewise.
11675 (libc_feresetroundf_ctx): Likewise.
11676 (libc_feholdexcept_setround_ctx): Likewise.
11677 (libc_fesetenv_ctx): Likewise.
11678 (libc_feupdateenv_ctx): Likewise.
11679 (libc_feholdsetround_ctx): Likewise.
11680 (libc_feresetround_ctx): Likewise.
11681 (libc_feholdexcept_setroundl_ctx): Likewise.
11682 (libc_feupdateenvl_ctx): Likewise.
11683 (libc_feholdsetroundl_ctx): Likewise.
11684 (libc_feresetroundl_ctx): Likewise.
11685 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11686 (libc_feresetround_53bit_ctx): Likewise.
11687
59b30555
SP
116882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11689
11690 * locale/iso-639.def: Convert to UTF-8.
11691
f1d73d30
JM
116922013-06-11 Joseph Myers <joseph@codesourcery.com>
11693
11694 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11695 (EXCEPTION_TESTS_double): Likewise.
11696 (EXCEPTION_TESTS_long_double): Likewise.
11697 (EXCEPTION_TESTS): Likewise.
11698 * math/libm-test.inc (test_exceptions): Only test exceptions if
11699 EXCEPTION_TESTS (FLOAT).
11700
94aca5e7
SP
117012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11702
11703 * benchtests/Makefile (string-bench): Add strcpy_chk and
11704 stpcpy_chk.
11705 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11706 * benchtests/bench-stpcpy_chk.c: New file.
11707 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11708 * benchtests/bench-strcpy_chk.c: New file.
11709 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11710 code.
11711 (do_test): Likewise.
11712
fac0c5f2
RA
117132013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11714
11715 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11716 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11717 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11718 with tabs where appropriate.
11719 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11720 dl-procinfo.h.
11721 [PPC_PLATFORM_PPC440]: Likewise.
11722 [PPC_PLATFORM_PPC464]: Likewise.
11723 [PPC_PLATFORM_PPC476]: Likewise.
11724 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11725 ppc464, and ppc476 platform strings merging from ports/
11726 dl-procinfo.h.
11727
f22bc486
AS
117282013-06-11 Andreas Schwab <schwab@suse.de>
11729
11730 [BZ #14991]
11731 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11732 (from_ucs4_idx): Regenerate.
11733 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11734 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11735 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11736 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11737 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11738 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11739 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11740 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11741 from FROM_LOOP and TO_LOOP specific macros.
11742 (BODY): Handle combining characters.
11743 * iconvdata/BIG5HKSCS.irreversible: Update.
11744 * iconvdata/BIG5HKSCS.precomposed: New file.
11745 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11746 characters.
11747 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11748
c1f75dc3
SP
117492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11750
4eacded2
SP
11751 * include/sys/time.h: Fix indentation and add copyright header.
11752
fec799f8
SP
11753 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11754 (do_test): Likewise.
11755 * string/test-memchr.c (do_one_test): Likewise.
11756 (do_test): Likewise.
11757 * string/test-memcmp.c (do_one_test): Likewise.
11758 (do_test): Likewise.
11759 * string/test-memcpy.c (do_one_test): Likewise.
11760 (do_test): Likewise.
11761 * string/test-memmem.c (do_one_test): Likewise.
11762 (do_test): Likewise.
11763 (do_random_tests): Likewise.
11764 * string/test-memmove.c (do_one_test): Likewise.
11765 (do_test): Likewise.
11766 * string/test-memset.c (do_one_test): Likewise.
11767 (do_test): Likewise.
11768 * string/test-rawmemchr.c (do_one_test): Likewise.
11769 (do_test): Likewise.
11770 * string/test-strcasecmp.c (do_one_test): Likewise.
11771 (do_test): Likewise.
11772 * string/test-strcasestr.c (do_one_test): Likewise.
11773 (do_test): Likewise.
11774 * string/test-strcat.c (do_one_test): Likewise.
11775 (do_test): Likewise.
11776 * string/test-strchr.c (do_one_test): Likewise.
11777 (do_test): Likewise.
11778 * string/test-strcmp.c (do_one_test): Likewise.
11779 (do_test): Likewise.
11780 * string/test-strcpy.c (do_one_test): Likewise.
11781 (do_test): Likewise.
11782 * string/test-string.h: Likewise.
11783 (test_init): Likewise.
11784 * string/test-strlen.c (do_one_test): Likewise.
11785 (do_test): Likewise.
11786 * string/test-strncasecmp.c (do_one_test): Likewise.
11787 (do_test): Likewise.
11788 * string/test-strncat.c (do_one_test): Likewise.
11789 (do_test): Likewise.
11790 * string/test-strncmp.c (do_one_test): Likewise.
11791 (do_test_limit): Likewise.
11792 (do_test): Likewise.
11793 * string/test-strncpy.c (do_one_test): Likewise.
11794 (do_test): Likewise.
11795 * string/test-strnlen.c (do_one_test): Likewise.
11796 (do_test): Likewise.
11797 * string/test-strpbrk.c (do_one_test): Likewise.
11798 (do_test): Likewise.
11799 * string/test-strrchr.c (do_one_test): Likewise.
11800 (do_test): Likewise.
11801 * string/test-strspn.c (do_one_test): Likewise.
11802 (do_test): Likewise.
11803 * string/test-strstr.c (do_one_test): Likewise.
11804 (do_test): Likewise.
11805
97020474
SP
11806 * benchtests/Makefile (string-bench): Add string benchmarks.
11807 * benchtests/bench-bcopy-ifunc.c: New file.
11808 * benchtests/bench-bcopy.c: New file.
11809 * benchtests/bench-bzero-ifunc.c: New file.
11810 * benchtests/bench-bzero.c: New file.
11811 * benchtests/bench-memccpy-ifunc.c: New file.
11812 * benchtests/bench-memccpy.c: New file.
11813 * benchtests/bench-memchr-ifunc.c: New file.
11814 * benchtests/bench-memchr.c: New file.
11815 * benchtests/bench-memcmp-ifunc.c: New file.
11816 * benchtests/bench-memcmp.c: New file.
11817 * benchtests/bench-memmem-ifunc.c: New file.
11818 * benchtests/bench-memmem.c: New file.
11819 * benchtests/bench-memmove-ifunc.c: New file.
11820 * benchtests/bench-memmove.c: New file.
11821 * benchtests/bench-mempcpy-ifunc.c: New file.
11822 * benchtests/bench-mempcpy.c: New file.
11823 * benchtests/bench-memset-ifunc.c: New file.
11824 * benchtests/bench-memset.c: New file.
11825 * benchtests/bench-rawmemchr-ifunc.c: New file.
11826 * benchtests/bench-rawmemchr.c: New file.
11827 * benchtests/bench-stpcpy-ifunc.c: New file.
11828 * benchtests/bench-stpcpy.c: New file.
11829 * benchtests/bench-stpncpy-ifunc.c: New file.
11830 * benchtests/bench-stpncpy.c: New file.
11831 * benchtests/bench-strcasecmp-ifunc.c: New file.
11832 * benchtests/bench-strcasecmp.c: New file.
11833 * benchtests/bench-strcasestr-ifunc.c: New file.
11834 * benchtests/bench-strcasestr.c: New file.
11835 * benchtests/bench-strcat-ifunc.c: New file.
11836 * benchtests/bench-strcat.c: New file.
11837 * benchtests/bench-strchr-ifunc.c: New file.
11838 * benchtests/bench-strchr.c: New file.
11839 * benchtests/bench-strchrnul-ifunc.c: New file.
11840 * benchtests/bench-strchrnul.c: New file.
11841 * benchtests/bench-strcmp-ifunc.c: New file.
11842 * benchtests/bench-strcmp.c: New file.
11843 * benchtests/bench-strcpy-ifunc.c: New file.
11844 * benchtests/bench-strcpy.c: New file.
11845 * benchtests/bench-strcspn-ifunc.c: New file.
11846 * benchtests/bench-strcspn.c: New file.
11847 * benchtests/bench-strlen-ifunc.c: New file.
11848 * benchtests/bench-strlen.c: New file.
11849 * benchtests/bench-strncasecmp-ifunc.c: New file.
11850 * benchtests/bench-strncasecmp.c: New file.
11851 * benchtests/bench-strncat-ifunc.c: New file.
11852 * benchtests/bench-strncat.c: New file.
11853 * benchtests/bench-strncmp-ifunc.c: New file.
11854 * benchtests/bench-strncmp.c: New file.
11855 * benchtests/bench-strncpy-ifunc.c: New file.
11856 * benchtests/bench-strncpy.c: New file.
11857 * benchtests/bench-strnlen-ifunc.c: New file.
11858 * benchtests/bench-strnlen.c: New file.
11859 * benchtests/bench-strpbrk-ifunc.c: New file.
11860 * benchtests/bench-strpbrk.c: New file.
11861 * benchtests/bench-strrchr-ifunc.c: New file.
11862 * benchtests/bench-strrchr.c: New file.
11863 * benchtests/bench-strspn-ifunc.c: New file.
11864 * benchtests/bench-strspn.c: New file.
11865 * benchtests/bench-strstr-ifunc.c: New file.
11866 * benchtests/bench-strstr.c: New file.
11867
c1f75dc3
SP
11868 * benchtests/Makefile: Disable parallel execution of targets.
11869 (string-bench): Add memcpy.
11870 (benchset): New variable to store a list of benchmark sets.
11871 (bench-func): Renamed from bench.
11872 (bench-set): New target.
11873 (bench): Depend on bench-func and bench-set.
11874 * benchtests/README: Add section on benchmark sets.
11875 * benchtests/bench-memcpy-ifunc.c: New file.
11876 * benchtests/bench-memcpy.c: New file.
11877 * benchtests/bench-string.h: New file.
11878
50fd745b
AS
118792013-06-11 Andreas Schwab <schwab@suse.de>
11880
11881 [BZ #15577]
11882 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11883 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11884 values in the triple.
11885 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11886 terminator in the group key.
11887
3ee7e9fe
AJ
118882013-06-11 Andreas Jaeger <aj@suse.de>
11889
11890 * po/zh_TW.po: Update Chinese (traditional) translation from
11891 translation project.
11892
89fb6835
SP
118932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11894
11895 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11896 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11897 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11898 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11899 (clock_getcpuclockid): Likewise.
11900 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11901 Add weak_alias and libc_hidden_def.
11902 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11903 * rt/clock_gettime.c (clock_gettime): Rename to
11904 __clock_gettime. Add weak_alias and libc_hidden_def.
11905 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11906 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11907 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11908 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11909 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11910 Likewise.
11911 * rt/clock_settime.c (clock_settime): Rename to
11912 __clock_settime. Add weak_alias and libc_hidden_def.
11913 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11914
0efa6f8b
JM
119152013-06-10 Joseph Myers <joseph@codesourcery.com>
11916
b8c61b4b
JM
11917 * mach/err_boot.sub: Remove trailing whitespace.
11918 * mach/err_ipc.sub: Likewise.
11919 * mach/err_mach.sub: Likewise.
11920
0efa6f8b
JM
11921 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11922 (ROUNDING_TESTS_double): Likewise.
11923 (ROUNDING_TESTS_long_double): Likewise.
11924 (ROUNDING_TESTS): Likewise.
11925 * math/libm-test.inc: Include <math-tests.h>.
11926 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11927 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11928 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11929 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11930
50b818bf
SP
119312013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11932
11933 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11934 of assigning.
11935
60d2f8f3
JM
119362013-06-08 Joseph Myers <joseph@codesourcery.com>
11937
4902d2c3
JM
11938 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11939 otherwise empty TRANS lines.
11940 * sysdeps/gnu/errlist.c: Regenerated.
11941
60d2f8f3
JM
11942 * catgets/gencat.c (error_print): Use (void) in function
11943 definition.
11944 * crypt/crypt_util.c (__init_des): Likewise.
11945 * crypt/speeds.c (Stop): Likewise.
11946 (main): Likewise.
11947 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11948 * inet/ruserpass.c (token): Likewise.
11949 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11950 * intl/localealias.c (extend_alias_table): Likewise.
11951 * intl/plural-exp.c (init_germanic_plural): Likewise.
11952 * libio/fcloseall.c (__fcloseall): Likewise.
11953 * libio/genops.c (_IO_flush_all): Likewise.
11954 (_IO_flush_all_linebuffered): Likewise.
11955 (_IO_cleanup): Likewise.
11956 (_IO_iter_begin): Likewise.
11957 (_IO_iter_end): Likewise.
11958 (_IO_list_lock): Likewise.
11959 (_IO_list_unlock): Likewise.
11960 (_IO_list_resetlock): Likewise.
11961 * libio/getchar.c (getchar): Likewise.
11962 * libio/getchar_u.c (getchar_unlocked): Likewise.
11963 * libio/getwchar.c (getwchar): Likewise.
11964 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11965 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11966 * login/getpt.c (__getpt): Likewise.
11967 * login/tst-utmp.c (main): Likewise.
11968 * malloc/hooks.c (__malloc_check_init): Likewise.
11969 * malloc/malloc.c (__malloc_stats): Likewise.
11970 * malloc/mtrace.c (tr_break): Likewise.
11971 (mtrace): Likewise.
11972 (muntrace): Likewise.
11973 * misc/fstab.c (endfsent): Likewise.
11974 * misc/getclktck.c (__getclktck): Likewise.
11975 * misc/getdtsz.c (__getdtablesize): Likewise.
11976 * misc/gethostid.c (gethostid): Likewise.
11977 * misc/getpagesize.c (__getpagesize): Likewise.
11978 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11979 (__get_nprocs): Likewise.
11980 (__get_phys_pages): Likewise.
11981 (__get_avphys_pages): Likewise.
11982 * misc/getttyent.c (getttyent): Likewise.
11983 (setttyent): Likewise.
11984 (endttyent): Likewise.
11985 * misc/getusershell.c (getusershell): Likewise.
11986 (endusershell): Likewise.
11987 (setusershell): Likewise.
11988 (initshells): Likewise.
11989 * misc/hsearch.c (__hdestroy): Likewise.
11990 * misc/sync.c (sync): Likewise.
11991 * misc/syslog.c (closelog_internal): Likewise.
11992 (closelog): Likewise.
11993 * misc/ttyslot.c (ttyslot): Likewise.
11994 * misc/vhangup.c (vhangup): Likewise.
11995 * posix/fork.c (__fork): Likewise.
11996 * posix/getegid.c (__getegid): Likewise.
11997 * posix/geteuid.c (__geteuid): Likewise.
11998 * posix/getgid.c (__getgid): Likewise.
11999 * posix/getpid.c (__getpid): Likewise.
12000 * posix/getppid.c (__getppid): Likewise.
12001 * posix/getuid.c (__getuid): Likewise.
12002 * posix/pause.c (pause): Likewise.
12003 * posix/setpgrp.c (setpgrp): Likewise.
12004 * posix/setsid.c (__setsid): Likewise.
12005 * posix/test-vfork.c (noop): Likewise.
12006 * resolv/gethnamaddr.c (_endhtent): Likewise.
12007 (_gethtent): Likewise.
12008 (ht_endhostent): Likewise.
12009 (gethostent): Likewise.
12010 (dns_service): Likewise.
12011 * stdlib/drand48.c (drand48): Likewise.
12012 * stdlib/lrand48.c (lrand48): Likewise.
12013 * stdlib/mrand48.c (mrand48): Likewise.
12014 * stdlib/rand.c (rand): Likewise.
12015 * stdlib/random.c (__random): Likewise.
12016 * stdlib/setenv.c (clearenv): Likewise.
12017 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12018 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12019 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12020 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12021 (__get_nprocs): Likewise.
12022 (__get_phys_pages): Likewise.
12023 (__get_avphys_pages): Likewise.
12024 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12025 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12026 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12027 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12028 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12029 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12030 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12031 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12032 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12033 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12034 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12035 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12036 * sysdeps/posix/clock.c (clock): Likewise.
12037 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12038 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12039 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12040 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12041 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12042 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12043 (__get_nprocs_conf): Likewise.
12044 (__get_phys_pages): Likewise.
12045 (__get_avphys_pages): Likewise.
12046 * time/clock.c (clock): Likewise.
12047 * time/tzset.c (__tzname_max): Likewise.
12048
2e09a79a
JM
120492013-06-07 Joseph Myers <joseph@codesourcery.com>
12050
12051 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12052 (__bswap_32): Do not use "register".
12053 * crypt/crypt.c (_ufc_doit_r): Likewise.
12054 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12055 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12056 * gmon/gmon.c (__monstartup): Likewise.
12057 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12058 * hurd/hurdmalloc.c (more_memory): Likewise.
12059 (malloc): Likewise.
12060 (free): Likewise.
12061 (realloc): Likewise.
12062 (malloc_fork_prepare): Likewise.
12063 (malloc_fork_parent): Likewise.
12064 (malloc_fork_child): Likewise.
12065 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12066 (_svcauth_des): Likewise.
12067 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12068 * inet/inet_net.c (inet_network): Likewise.
12069 * inet/inet_netof.c (inet_netof): Likewise.
12070 * inet/rcmd.c (__validuser2_sa): Likewise.
12071 * io/fts.c (fts_open): Likewise.
12072 (fts_load): Likewise.
12073 (fts_close): Likewise.
12074 (fts_read): Likewise.
12075 (fts_children): Likewise.
12076 (fts_build): Likewise.
12077 (fts_stat): Likewise.
12078 (fts_sort): Likewise.
12079 (fts_alloc): Likewise.
12080 (fts_lfree): Likewise.
12081 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12082 (_IO_file_xsgetn): Likewise.
12083 (_IO_file_xsgetn_mmap): Likewise.
12084 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12085 (_IO_cookie_write): Likewise.
12086 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12087 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12088 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12089 * malloc/obstack.c (_obstack_begin): Likewise.
12090 (_obstack_begin_1): Likewise.
12091 (_obstack_newchunk): Likewise.
12092 (_obstack_allocated_p): Likewise.
12093 (obstack_free): Likewise.
12094 (_obstack_memory_used): Likewise.
12095 * misc/getttyent.c (getttynam): Likewise.
12096 (getttyent): Likewise.
12097 (skip): Likewise.
12098 (value): Likewise.
12099 * misc/getusershell.c (initshells): Likewise.
12100 * misc/syslog.c (__vsyslog_chk): Likewise.
12101 * misc/ttyslot.c (ttyslot): Likewise.
12102 * nis/nis_hash.c (__nis_hash): Likewise.
12103 * posix/fnmatch_loop.c (FCT): Likewise.
12104 * posix/getconf.c (print_all): Likewise.
12105 (main): Likewise.
12106 * posix/getopt.c (exchange): Likewise.
12107 * posix/glob.c (globfree): Likewise.
12108 (prefix_array): Likewise.
12109 (__glob_pattern_type): Likewise.
12110 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12111 (NS_GET32): Likewise.
12112 (NS_PUT16): Likewise.
12113 (NS_PUT32): Likewise.
12114 * resolv/gethnamaddr.c (getanswer): Likewise.
12115 (gethostbyname2): Likewise.
12116 (gethostbyaddr): Likewise.
12117 (_gethtent): Likewise.
12118 (_gethtbyname2): Likewise.
12119 (_gethtbyaddr): Likewise.
12120 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12121 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12122 * resolv/res_init.c (__res_vinit): Likewise.
12123 (net_mask): Likewise.
12124 * resolv/res_mkquery.c (outchar): Likewise.
12125 (PRINT): Likewise.
12126 * stdio-common/printf_fp.c (outchar): Likewise.
12127 (PRINT): Likewise.
12128 * stdio-common/printf_fphex.c (outchar): Likewise.
12129 (PRINT): Likewise.
12130 * stdio-common/printf_size.c (outchar): Likewise.
12131 (PRINT): Likewise.
12132 * stdio-common/test_rdwr.c (main): Likewise.
12133 * stdio-common/tfformat.c (matches): Likewise.
12134 * stdio-common/vfprintf.c (outchar): Likewise.
12135 (printf_unknown): Likewise.
12136 (buffered_vfprintf): Likewise.
12137 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12138 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12139 (ReadFile): Likewise.
12140 * stdlib/qsort.c (SWAP): Likewise.
12141 (_quicksort): Likewise.
12142 * stdlib/setenv.c (__add_to_environ): Likewise.
12143 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12144 * stdlib/strtol_l.c (__strtol_l): Likewise.
12145 * stdlib/tst-strtod.c (main): Likewise.
12146 * stdlib/tst-strtol.c (main): Likewise.
12147 * stdlib/tst-strtoll.c (main): Likewise.
12148 * string/bits/string2.h (__strcmp_cc): Likewise.
12149 (__strcmp_cg): Likewise.
12150 (__strcspn_c1): Likewise.
12151 (__strcspn_c2): Likewise.
12152 (__strcspn_c3): Likewise.
12153 (__strspn_c1): Likewise.
12154 (__strspn_c2): Likewise.
12155 (__strspn_c3): Likewise.
12156 (__strsep_1c): Likewise.
12157 (__strsep_2c): Likewise.
12158 (__strsep_3c): Likewise.
12159 * string/memccpy.c (__memccpy): Likewise.
12160 * string/stpcpy.c (__stpcpy): Likewise.
12161 * string/strcmp.c (strcmp): Likewise.
12162 * string/strrchr.c (strrchr): Likewise.
12163 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12164 Likewise.
12165 * sysdeps/mach/hurd/getcwd.c
12166 (_hurd_canonicalize_directory_name_internal): Likewise.
12167 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12168 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12169 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12170 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12171 Likewise, in both definitions.
12172 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12173 definitions.
12174 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12175 64] (__bswap_64): Likewise.
12176 * time/test_time.c (main): Likewise.
12177 * time/tzfile.c (__tzfile_read): Likewise.
12178 (__tzfile_compute): Likewise.
12179 * time/tzset.c (__tzset_parse_tz): Likewise.
12180 (tzset_internal): Likewise.
12181 (compute_change): Likewise.
12182 * wcsmbs/wcscat.c (__wcscat): Likewise.
12183 * wcsmbs/wcschr.c (wcschr): Likewise.
12184 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12185 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12186 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12187 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12188 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12189 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12190 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12191 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12192 * wcsmbs/wmemset.c (wmemset): Likewise.
12193
9e54314b
JM
121942013-06-06 Joseph Myers <joseph@codesourcery.com>
12195
12196 * scripts/config.guess: Update to version 2013-05-16.
12197 * scripts/config.sub: Update to version 2013-04-24.
12198 * scripts/install-sh: Update to version 2011-11-20.07.
12199 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12200 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12201
350635a5
OB
122022013-06-06 Ondřej Bílka <neleai@seznam.cz>
12203
12204 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12205 * elf/sln.c: Likewise.
12206 * hurd/hurd/ioctl.h: Likewise.
12207 * hurd/hurdmalloc.c: Likewise.
12208 * hurd/xattr.c: Likewise.
12209 * include/shlib-compat.h: Likewise.
12210 * inet/ruserpass.c: Likewise.
12211 * libio/iofgets_u.c: Likewise.
12212 * libio/iofgetws_u.c: Likewise.
12213 * locale/programs/ld-identification.c: Likewise.
12214 * locale/programs/ld-time.c: Likewise.
12215 * mach/msg-destroy.c: Likewise.
12216 * nss/nss_files/files-netgrp.c: Likewise.
12217 * resolv/res_data.c: Likewise.
12218 * soft-fp/op-1.h: Likewise.
12219 * soft-fp/op-2.h: Likewise.
12220 * soft-fp/op-4.h: Likewise.
12221 * soft-fp/op-common.h: Likewise.
12222 * stdio-common/printf_fphex.c: Likewise.
12223 * stdlib/strtod_l.c: Likewise.
12224 * sunrpc/rpc/clnt.h: Likewise.
12225 * sysdeps/generic/framestate.c: Likewise.
12226 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12227 * sysdeps/i386/bsd-setjmp.S: Likewise.
12228 * sysdeps/i386/__longjmp.S: Likewise.
12229 * sysdeps/i386/setjmp.S: Likewise.
12230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12231 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12232 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12248 * sysdeps/ieee754/support.c: Likewise.
12249 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12250 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12251 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12252 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12253 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12254 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12255 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12256 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12257 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12258 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12259 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12260 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12261 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12262 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12263 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12264 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12265 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12267
44a988af
OB
122682013-06-05 Ondřej Bílka <neleai@seznam.cz>
12269
25506f09 12270 * posix/transbug.c: Remove executable mode.
44a988af 12271
9c84384c
JM
122722013-06-05 Joseph Myers <joseph@codesourcery.com>
12273
12274 * crypt/speeds.c: Remove trailing whitespace.
12275 * dlfcn/default.c: Likewise.
12276 * elf/ifuncdep2.c: Likewise.
12277 * elf/ifuncmain1.c: Likewise.
12278 * elf/ifuncmain1vis.c: Likewise.
12279 * elf/testobj.h: Likewise.
12280 * elf/tst-stackguard1.c: Likewise.
12281 * gmon/sys/gmon.h: Likewise.
12282 * hurd/hurdmsg.c: Likewise.
12283 * hurd/new-fd.c: Likewise.
12284 * hurd/ports-get.c: Likewise.
12285 * iconvdata/ibm1008_420.c: Likewise.
12286 * inet/tst-getni1.c: Likewise.
12287 * inet/tst-getni2.c: Likewise.
12288 * libio/ioungetc.c: Likewise.
12289 * libio/wfiledoalloc.c: Likewise.
12290 * manual/libm-err-tab.pl: Likewise.
12291 * math/w_dremf.c: Likewise.
12292 * misc/ftruncate.c: Likewise.
12293 * posix/bug-glob2.c: Likewise.
12294 * posix/tst-pcre.c: Likewise.
12295 * posix/wait4.c: Likewise.
12296 * resolv/README: Likewise.
12297 * resolv/res_debug.h: Likewise.
12298 * resolv/tst-inet_ntop.c: Likewise.
12299 * setjmp/bug269-setjmp.c: Likewise.
12300 * soft-fp/extended.h: Likewise.
12301 * soft-fp/op-1.h: Likewise.
12302 * soft-fp/op-2.h: Likewise.
12303 * soft-fp/op-4.h: Likewise.
12304 * soft-fp/op-8.h: Likewise.
12305 * soft-fp/testit.c: Likewise.
12306 * stdio-common/bug16.c: Likewise.
12307 * stdlib/random.c: Likewise.
12308 * sunrpc/rpcsvc/rquota.x: Likewise.
12309 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12310 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12311 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12312 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12313 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12314 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12315 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12316 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12317 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12318 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12319 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12338 * sysdeps/ieee754/s_lib_version.c: Likewise.
12339 * sysdeps/mach/hurd/check_fds.c: Likewise.
12340 * sysdeps/mach/hurd/getsockname.c: Likewise.
12341 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12342 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12343 * sysdeps/powerpc/bits/link.h: Likewise.
12344 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12345 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12346 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12347 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12348 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12349 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12350 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12351 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12352 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12353 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12354 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12355 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12356 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12357 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12358 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12359 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12360 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12361 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12362 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12363 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12364 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12365 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12366 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12367 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12368 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12369 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12370 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12371 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12372 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12373 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12374 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12375 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12376 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12377 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12378 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12379 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12380 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12381 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12382 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12383 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12384 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12385 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12386 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12387 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12388 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12389 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12390 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12391 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12392 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12393 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12395 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12396 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12397 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12398 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12399 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12400 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12401 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12402 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12403 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12404 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12405 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12406 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12407 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12408 * sysdeps/powerpc/sysdep.h: Likewise.
12409 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12410 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12411 * sysdeps/sh/dl-trampoline.S: Likewise.
12412 * sysdeps/sh/memset.S: Likewise.
12413 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12414 * sysdeps/sh/strlen.S: Likewise.
12415 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12416 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12417 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12418 * sysdeps/sparc/sparc32/rem.S: Likewise.
12419 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12420 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12421 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12422 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12423 * sysdeps/sparc/sparc32/urem.S: Likewise.
12424 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12425 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12426 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12427 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12428 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12429 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12430 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12431 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12432 * sysdeps/unix/bsd/times.c: Likewise.
12433 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12434 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12438 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12439 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12440 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12441 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12442 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12443 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12444 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12445 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12446 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12447 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12448 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12449 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12450 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12451 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12452 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12453 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12454 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12455 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12456 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12457 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12458 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12459 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12460 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12461 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12462 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12463 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12464 * sysdeps/x86_64/strcspn.S: Likewise.
12465
869378a5
RA
124662013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12467
12468 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12469 generated file. Regenerate properly from gen-translit.pl.
12470 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12471 locale/C-translit.h.
12472
840e2943
AS
124732013-06-05 Andreas Schwab <schwab@suse.de>
12474
12475 [BZ #15100]
12476 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12477 week as 6 instead of -1.
12478 * time/tst-strptime.c (day_tests): Add test case.
12479
4c60cb0c
SP
124802013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12481
12482 * sysdeps/generic/math_private.h
12483 (libc_feholdexcept_setround_53bit): Replace with
12484 libc_feholdsetround_53bit.
12485 (libc_feupdateenv_53bit): Replace with
12486 libc_feresetround_53bit.
12487 (SET_RESTORE_ROUND_53BIT): Adjust.
12488
d180203e
SP
124892013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12490
96df079a
SP
12491 * string/test-strchrnul.c: Add copyright header.
12492
d180203e
SP
12493 * posix/tst-getaddrinfo4.c: Increase test timeout.
12494
8b0ccb2d
CD
124952013-06-03 Carlos O'Donell <carlos@redhat.com>
12496
12497 [BZ #15536]
12498 * math/libm-test.inc (MAX_EXP): Remove
12499 (MIN_EXP): Define.
12500 (ulp): Use MIN_EXP - MANT_DIG.
12501 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12502
3b3c4d40
CD
125032013-05-31 Carlos O'Donell <carlos@redhat.com>
12504
12505 * po/be.po: Revert last change.
12506 * po/zh_CN.po: Likewise.
12507 * po/header.pot: Likewise.
12508
fab7ce3f
JM
125092013-05-31 Joseph Myers <joseph@codesourcery.com>
12510
12511 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12512 link-libc-deps to empty as target-specific variable.
12513 * Makerules (link-libc-args): New variable.
12514 (libc-for-link): Likewise.
12515 (link-libc-deps): Likewise.
12516 (lib%.so): Depend on $(link-libc-deps). Link with
12517 $(link-libc-args).
12518 (build-module): Link with $(link-libc-args).
12519 (build-module-asneeded): Likewise.
12520 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12521 list of objects.
12522 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12523 target-specific variable.
12524 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12525 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12526 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12527 libc.
12528 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12529 libc and ld.so.
12530 ($(objpfx)libpcprofile.so): Likewise.
12531 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12532 libc_nonshared.a.
12533 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12534 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12535 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12536 $(link-libc-deps).
12537 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12538 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12539 * login/Makefile ($(objpfx)libutil.so): Likewise.
12540 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12541 * math/Makefile ($(objpfx)libm.so): Likewise.
12542 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12543 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12544 variable instead of depending directly on libc.
12545 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12546 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12547 $(link-libc-deps).
12548 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12549 libc.
12550 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12551 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12552 ($(objpfx)libanl.so): Likewise.
12553 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12554 ld.so.
12555 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12556 $(link-libc-deps).
12557 * sysdeps/i386/fpu/Makefile: Remove file.
12558 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12559 ($(objpfx)libm.so): Remove dependency on ld.so.
12560
eca5920c
PF
125612013-05-30 Patsy Franklin <pfrankli@redhat.com>
12562
12563 [BZ # 15553]
12564 * nis/yp_xdr.c (XDRMAXNAME): Define.
12565 (XDRMAXRECORD): Define.
12566 (xdr_domainname): Use XDRMAXNAME.
12567 (xdr_mapname): Likewise.
12568 (xdr_peername): Likewise.
12569 (xdr_keydat): Use XDRMAXRECORD.
12570 (xdr_valdat): Likewise.
12571
125722013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12573
12574 [BZ #14256]
12575 * manual/errno.texi (ESTALE): Update to account for more than
12576 just NFS file systems.
12577 * sysdeps/gnu/errlist.c: Regenerated.
12578
b9375348
SP
125792013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12580
12581 [BZ #15465]
12582 * elf/Makefile (tests): Add tst-null-argv.
12583 (modules-names): Add tst-null-argv-lib.
12584 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12585 (tst-null-argv-ENV): Set environment for tst-null-argv.
12586 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12587 (RTLD_PROGNAME): New macro.
12588 * elf/tst-null-argv.c: New test case.
12589 * elf/tst-null-argv-lib.c: Library for test case.
12590 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12591 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12592 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12593 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12594 * elf/dl-init.c (call_init): Likewise.
12595 (_dl_init): Likewise.
12596 * elf/dl-load.c (print_search_path): Likewise.
12597 (_dl_map_object): Likewise.
12598 * elf/dl-lookup.c (do_lookup_x): Likewise.
12599 (add_dependency): Likewise.
12600 (_dl_lookup_symbol_x): Likewise.
12601 (_dl_debug_bindings): Likewise.
12602 * elf/dl-open.c (_dl_show_scope): Likewise.
12603 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12604 * elf/dl-version.c (match_symbol): Likewise.
12605 (_dl_check_map_versions): Likewise.
12606 * elf/rtld.c (dl_main): Likewise.
12607 (print_unresolved): Use RTLD_PROGNAME.
12608 (print_missing_version): Likewise.
12609 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12610 (elf_machine_rela): Likewise.
12611 * sysdeps/powerpc/powerpc32/dl-machine.c
12612 (__process_machine_rela): Likewise.
12613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12614 Likewise.
12615 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12616 Likewise.
12617 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12618 Likewise.
12619 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12620 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12621 Likewise.
12622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12623 Likewise.
12624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12625
8a9f20c8
CD
126262013-05-28 Carlos O'Donell <carlos@redhat.com>
12627
12628 * po/be.po: Add descriptive title.
12629 * po/zh_CN.po: Likewise.
12630 * po/header.pot: Likewise.
12631
0e60d68e
MF
126322013-05-28 Mike Frysinger <vapier@gentoo.org>
12633
12634 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12635 error message.
12636 (enlarge_archive): Likewise.
12637
56b672e9
BN
126382013-05-28 Ben North <ben@redfrontdoor.org>
12639
12640 * manual/arith.texi (frexp): It is the magnitude of the return
12641 value which lies in [0.5, 1), not the return value itself.
12642
5e056687
AZ
126432013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12644
12645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12646
2b66ef5d
TS
126472013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12648
528c2405
TS
12649 * stdio-common/bug26.c (main): Correct fscanf template.
12650
07b4c13d
TS
12651 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12652 declare _dl_skip_args.
12653
ec9dd97c
TS
12654 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12655 Don't declare.
12656
2b66ef5d
TS
12657 * manual/platform.texi: Add missing @end deftypefun.
12658
4f8dfe27
JM
126592013-05-24 Joseph Myers <joseph@codesourcery.com>
12660
0323d086
JM
12661 [BZ #15529]
12662 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12663 bit of mantissa of 2^16382.
12664 * math/libm-test.inc (hypot_test_data): Add more tests.
12665
dd4259b9
JM
12666 * math/libm-test.inc: Add drem and pow10 to list of tested
12667 functions.
12668 (pow10_test): New function.
12669 (drem_test): Likewise.
12670 (drem_test_tonearest): Likewise.
12671 (drem_test_towardzero): Likewise.
12672 (drem_test_downward): Likewise.
12673 (drem_test_upward): Likewise.
12674 (main): Call the new functions.
12675
4f8dfe27
JM
12676 * math/libm-test.inc (finite_test_data): Remove.
12677 (finite_test): Run tests from isfinite_test_data.
12678 (gamma_test_data): Remove.
12679 (gamma_test): Run tests from lgamma_test_data.
12680 * sysdeps/i386/fpu/libm-test-ulps: Update.
12681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12682
d116b7c4
AZ
126832013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12684
12685 * manual/platform.texi: Add PowerPC PPR function set documentation.
12686 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12687 implementation.
12688
e96e3767
CD
126892013-05-24 Carlos O'Donell <carlos@redhat.com>
12690
12691 * math/libm-test.inc (MAX_EXP): Define.
12692 (ULPDIFF): Define.
12693 (ulp): New function.
12694 (check_float_internal): Use ULPDIFF.
12695 (cpow_test): Disable failing test.
12696 (check_ulp): Test ulp() implemetnation.
12697 (main): Call check_ulp before starting tests.
12698
b679a606
JM
126992013-05-24 Joseph Myers <joseph@codesourcery.com>
12700
e8bdba36
JM
12701 * math/gen-libm-test.pl (generate_testfile): Do not handle
12702 START_DATA and END_DATA.
12703 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12704 END_DATA.
12705 (acos_tonearest_test_data): Likewise.
12706 (acos_towardzero_test_data): Likewise.
12707 (acos_downward_test_data): Likewise.
12708 (acos_upward_test_data): Likewise.
12709 (acosh_test_data): Likewise.
12710 (asin_test_data): Likewise.
12711 (asin_tonearest_test_data): Likewise.
12712 (asin_towardzero_test_data): Likewise.
12713 (asin_downward_test_data): Likewise.
12714 (asin_upward_test_data): Likewise.
12715 (asinh_test_data): Likewise.
12716 (atan_test_data): Likewise.
12717 (atanh_test_data): Likewise.
12718 (atan2_test_data): Likewise.
12719 (cabs_test_data): Likewise.
12720 (cacos_test_data): Likewise.
12721 (cacosh_test_data): Likewise.
12722 (carg_test_data): Likewise.
12723 (casin_test_data): Likewise.
12724 (casinh_test_data): Likewise.
12725 (catan_test_data): Likewise.
12726 (catanh_test_data): Likewise.
12727 (cbrt_test_data): Likewise.
12728 (ccos_test_data): Likewise.
12729 (ccosh_test_data): Likewise.
12730 (ceil_test_data): Likewise.
12731 (cexp_test_data): Likewise.
12732 (cimag_test_data): Likewise.
12733 (clog_test_data): Likewise.
12734 (clog10_test_data): Likewise.
12735 (conj_test_data): Likewise.
12736 (copysign_test_data): Likewise.
12737 (cos_test_data): Likewise.
12738 (cos_tonearest_test_data): Likewise.
12739 (cos_towardzero_test_data): Likewise.
12740 (cos_downward_test_data): Likewise.
12741 (cos_upward_test_data): Likewise.
12742 (cosh_test_data): Likewise.
12743 (cosh_tonearest_test_data): Likewise.
12744 (cosh_towardzero_test_data): Likewise.
12745 (cosh_downward_test_data): Likewise.
12746 (cosh_upward_test_data): Likewise.
12747 (cpow_test_data): Likewise.
12748 (cproj_test_data): Likewise.
12749 (creal_test_data): Likewise.
12750 (csin_test_data): Likewise.
12751 (csinh_test_data): Likewise.
12752 (csqrt_test_data): Likewise.
12753 (ctan_test_data): Likewise.
12754 (ctan_tonearest_test_data): Likewise.
12755 (ctan_towardzero_test_data): Likewise.
12756 (ctan_downward_test_data): Likewise.
12757 (ctan_upward_test_data): Likewise.
12758 (ctanh_test_data): Likewise.
12759 (ctanh_tonearest_test_data): Likewise.
12760 (ctanh_towardzero_test_data): Likewise.
12761 (ctanh_downward_test_data): Likewise.
12762 (ctanh_upward_test_data): Likewise.
12763 (erf_test_data): Likewise.
12764 (erfc_test_data): Likewise.
12765 (exp_test_data): Likewise.
12766 (exp_tonearest_test_data): Likewise.
12767 (exp_towardzero_test_data): Likewise.
12768 (exp_downward_test_data): Likewise.
12769 (exp_upward_test_data): Likewise.
12770 (exp10_test_data): Likewise.
12771 (exp2_test_data): Likewise.
12772 (expm1_test_data): Likewise.
12773 (fabs_test_data): Likewise.
12774 (fdim_test_data): Likewise.
12775 (finite_test_data): Likewise.
12776 (floor_test_data): Likewise.
12777 (fma_test_data): Likewise.
12778 (fma_towardzero_test_data): Likewise.
12779 (fma_downward_test_data): Likewise.
12780 (fma_upward_test_data): Likewise.
12781 (fmax_test_data): Likewise.
12782 (fmin_test_data): Likewise.
12783 (fmod_test_data): Likewise.
12784 (fpclassify_test_data): Likewise.
12785 (frexp_test_data): Likewise.
12786 (gamma_test_data): Likewise.
12787 (hypot_test_data): Likewise.
12788 (ilogb_test_data): Likewise.
12789 (isfinite_test_data): Likewise.
12790 (isgreater_test_data): Likewise.
12791 (isgreaterequal_test_data): Likewise.
12792 (isinf_test_data): Likewise.
12793 (isless_test_data): Likewise.
12794 (islessequal_test_data): Likewise.
12795 (islessgreater_test_data): Likewise.
12796 (isnan_test_data): Likewise.
12797 (isnormal_test_data): Likewise.
12798 (issignaling_test_data): Likewise.
12799 (isunordered_test_data): Likewise.
12800 (j0_test_data): Likewise.
12801 (j1_test_data): Likewise.
12802 (jn_test_data): Likewise.
12803 (ldexp_test_data): Likewise.
12804 (lgamma_test_data): Likewise.
12805 (lrint_test_data): Likewise.
12806 (lrint_tonearest_test_data): Likewise.
12807 (lrint_towardzero_test_data): Likewise.
12808 (lrint_downward_test_data): Likewise.
12809 (lrint_upward_test_data): Likewise.
12810 (llrint_test_data): Likewise.
12811 (llrint_tonearest_test_data): Likewise.
12812 (llrint_towardzero_test_data): Likewise.
12813 (llrint_downward_test_data): Likewise.
12814 (llrint_upward_test_data): Likewise.
12815 (log_test_data): Likewise.
12816 (log10_test_data): Likewise.
12817 (log1p_test_data): Likewise.
12818 (log2_test_data): Likewise.
12819 (logb_test_data): Likewise.
12820 (logb_downward_test_data): Likewise.
12821 (lround_test_data): Likewise.
12822 (llround_test_data): Likewise.
12823 (modf_test_data): Likewise.
12824 (nearbyint_test_data): Likewise.
12825 (nextafter_test_data): Likewise.
12826 (nexttoward_test_data): Likewise.
12827 (pow_test_data): Likewise.
12828 (pow_tonearest_test_data): Likewise.
12829 (pow_towardzero_test_data): Likewise.
12830 (pow_downward_test_data): Likewise.
12831 (pow_upward_test_data): Likewise.
12832 (remainder_test_data): Likewise.
12833 (remainder_tonearest_test_data): Likewise.
12834 (remainder_towardzero_test_data): Likewise.
12835 (remainder_downward_test_data): Likewise.
12836 (remainder_upward_test_data): Likewise.
12837 (remquo_test_data): Likewise.
12838 (rint_test_data): Likewise.
12839 (rint_tonearest_test_data): Likewise.
12840 (rint_towardzero_test_data): Likewise.
12841 (rint_downward_test_data): Likewise.
12842 (rint_upward_test_data): Likewise.
12843 (round_test_data): Likewise.
12844 (scalb_test_data): Likewise.
12845 (scalbn_test_data): Likewise.
12846 (scalbln_test_data): Likewise.
12847 (signbit_test_data): Likewise.
12848 (sin_test_data): Likewise.
12849 (sin_tonearest_test_data): Likewise.
12850 (sin_towardzero_test_data): Likewise.
12851 (sin_downward_test_data): Likewise.
12852 (sin_upward_test_data): Likewise.
12853 (sincos_test_data): Likewise.
12854 (sinh_test_data): Likewise.
12855 (sinh_tonearest_test_data): Likewise.
12856 (sinh_towardzero_test_data): Likewise.
12857 (sinh_downward_test_data): Likewise.
12858 (sinh_upward_test_data): Likewise.
12859 (sqrt_test_data): Likewise.
12860 (tan_test_data): Likewise.
12861 (tan_tonearest_test_data): Likewise.
12862 (tan_towardzero_test_data): Likewise.
12863 (tan_downward_test_data): Likewise.
12864 (tan_upward_test_data): Likewise.
12865 (tanh_test_data): Likewise.
12866 (tgamma_test_data): Likewise.
12867 (trunc_test_data): Likewise.
12868 (y0_test_data): Likewise.
12869 (y1_test_data): Likewise.
12870 (yn_test_data): Likewise.
12871 (significand_test_data): Likewise.
12872
b679a606
JM
12873 * math/gen-libm-test.pl (@functions): Remove variable.
12874 (generate_testfile): Don't handle START and END lines.
12875 * math/libm-test.inc (START): New macro.
12876 (END): Likewise.
12877 (END_COMPLEX): Likewise.
12878 (acos_test): Use END macro without arguments.
12879 (acos_test_tonearest): Likewise.
12880 (acos_test_towardzero): Likewise.
12881 (acos_test_downward): Likewise.
12882 (acos_test_upward): Likewise.
12883 (acosh_test): Likewise.
12884 (asin_test): Likewise.
12885 (asin_test_tonearest): Likewise.
12886 (asin_test_towardzero): Likewise.
12887 (asin_test_downward): Likewise.
12888 (asin_test_upward): Likewise.
12889 (asinh_test): Likewise.
12890 (atan_test): Likewise.
12891 (atanh_test): Likewise.
12892 (atan2_test): Likewise.
12893 (cabs_test): Likewise.
12894 (cacos_test): Use END_COMPLEX macro without arguments.
12895 (cacosh_test): Likewise.
12896 (carg_test): Use END macro without arguments.
12897 (casin_test): Use END_COMPLEX macro without arguments.
12898 (casinh_test): Likewise.
12899 (catan_test): Likewise.
12900 (catanh_test): Likewise.
12901 (cbrt_test): Use END macro without arguments.
12902 (ccos_test): Use END_COMPLEX macro without arguments.
12903 (ccosh_test): Likewise.
12904 (ceil_test): Use END macro without arguments.
12905 (cexp_test): Use END_COMPLEX macro without arguments.
12906 (cimag_test): Use END macro without arguments.
12907 (clog_test): Use END_COMPLEX macro without arguments.
12908 (clog10_test): Likewise.
12909 (conj_test): Likewise.
12910 (copysign_test): Use END macro without arguments.
12911 (cos_test): Likewise.
12912 (cos_test_tonearest): Likewise.
12913 (cos_test_towardzero): Likewise.
12914 (cos_test_downward): Likewise.
12915 (cos_test_upward): Likewise.
12916 (cosh_test): Likewise.
12917 (cosh_test_tonearest): Likewise.
12918 (cosh_test_towardzero): Likewise.
12919 (cosh_test_downward): Likewise.
12920 (cosh_test_upward): Likewise.
12921 (cpow_test): Use END_COMPLEX macro without arguments.
12922 (cproj_test): Likewise.
12923 (creal_test): Use END macro without arguments.
12924 (csin_test): Use END_COMPLEX macro without arguments.
12925 (csinh_test): Likewise.
12926 (csqrt_test): Likewise.
12927 (ctan_test): Likewise.
12928 (ctan_test_tonearest): Likewise.
12929 (ctan_test_towardzero): Likewise.
12930 (ctan_test_downward): Likewise.
12931 (ctan_test_upward): Likewise.
12932 (ctanh_test): Likewise.
12933 (ctanh_test_tonearest): Likewise.
12934 (ctanh_test_towardzero): Likewise.
12935 (ctanh_test_downward): Likewise.
12936 (ctanh_test_upward): Likewise.
12937 (erf_test): Use END macro without arguments.
12938 (erfc_test): Likewise.
12939 (exp_test): Likewise.
12940 (exp_test_tonearest): Likewise.
12941 (exp_test_towardzero): Likewise.
12942 (exp_test_downward): Likewise.
12943 (exp_test_upward): Likewise.
12944 (exp10_test): Likewise.
12945 (exp2_test): Likewise.
12946 (expm1_test): Likewise.
12947 (fabs_test): Likewise.
12948 (fdim_test): Likewise.
12949 (finite_test): Likewise.
12950 (floor_test): Likewise.
12951 (fma_test): Likewise.
12952 (fma_test_towardzero): Likewise.
12953 (fma_test_downward): Likewise.
12954 (fma_test_upward): Likewise.
12955 (fmax_test): Likewise.
12956 (fmin_test): Likewise.
12957 (fmod_test): Likewise.
12958 (fpclassify_test): Likewise.
12959 (frexp_test): Likewise.
12960 (gamma_test): Likewise.
12961 (hypot_test): Likewise.
12962 (ilogb_test): Likewise.
12963 (isfinite_test): Likewise.
12964 (isgreater_test): Likewise.
12965 (isgreaterequal_test): Likewise.
12966 (isinf_test): Likewise.
12967 (isless_test): Likewise.
12968 (islessequal_test): Likewise.
12969 (islessgreater_test): Likewise.
12970 (isnan_test): Likewise.
12971 (isnormal_test): Likewise.
12972 (issignaling_test): Likewise.
12973 (isunordered_test): Likewise.
12974 (j0_test): Likewise.
12975 (j1_test): Likewise.
12976 (jn_test): Likewise.
12977 (ldexp_test): Likewise.
12978 (lgamma_test): Likewise.
12979 (lrint_test): Likewise.
12980 (lrint_test_tonearest): Likewise.
12981 (lrint_test_towardzero): Likewise.
12982 (lrint_test_downward): Likewise.
12983 (lrint_test_upward): Likewise.
12984 (llrint_test): Likewise.
12985 (llrint_test_tonearest): Likewise.
12986 (llrint_test_towardzero): Likewise.
12987 (llrint_test_downward): Likewise.
12988 (llrint_test_upward): Likewise.
12989 (log_test): Likewise.
12990 (log10_test): Likewise.
12991 (log1p_test): Likewise.
12992 (log2_test): Likewise.
12993 (logb_test): Likewise.
12994 (logb_test_downward): Likewise.
12995 (lround_test): Likewise.
12996 (llround_test): Likewise.
12997 (modf_test): Likewise.
12998 (nearbyint_test): Likewise.
12999 (nextafter_test): Likewise.
13000 (nexttoward_test): Likewise.
13001 (pow_test): Likewise.
13002 (pow_test_tonearest): Likewise.
13003 (pow_test_towardzero): Likewise.
13004 (pow_test_downward): Likewise.
13005 (pow_test_upward): Likewise.
13006 (remainder_test): Likewise.
13007 (remainder_test_tonearest): Likewise.
13008 (remainder_test_towardzero): Likewise.
13009 (remainder_test_downward): Likewise.
13010 (remainder_test_upward): Likewise.
13011 (remquo_test): Likewise.
13012 (rint_test): Likewise.
13013 (rint_test_tonearest): Likewise.
13014 (rint_test_towardzero): Likewise.
13015 (rint_test_downward): Likewise.
13016 (rint_test_upward): Likewise.
13017 (round_test): Likewise.
13018 (scalb_test): Likewise.
13019 (scalbn_test): Likewise.
13020 (scalbln_test): Likewise.
13021 (signbit_test): Likewise.
13022 (sin_test): Likewise.
13023 (sin_test_tonearest): Likewise.
13024 (sin_test_towardzero): Likewise.
13025 (sin_test_downward): Likewise.
13026 (sin_test_upward): Likewise.
13027 (sincos_test): Likewise.
13028 (sinh_test): Likewise.
13029 (sinh_test_tonearest): Likewise.
13030 (sinh_test_towardzero): Likewise.
13031 (sinh_test_downward): Likewise.
13032 (sinh_test_upward): Likewise.
13033 (sqrt_test): Likewise.
13034 (tan_test): Likewise.
13035 (tan_test_tonearest): Likewise.
13036 (tan_test_towardzero): Likewise.
13037 (tan_test_downward): Likewise.
13038 (tan_test_upward): Likewise.
13039 (tanh_test): Likewise.
13040 (tgamma_test): Likewise.
13041 (trunc_test): Likewise.
13042 (y0_test): Likewise.
13043 (y1_test): Likewise.
13044 (yn_test): Likewise.
13045 (significand_test): Likewise.
13046
bae143d2
OB
130472013-05-24 Ondřej Bílka <neleai@seznam.cz>
13048
13049 [BZ #15381]
13050 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13051
9323d39b
EM
130522013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13053
d4ea44a0 13054 [BZ #14894]
9323d39b
EM
13055 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13056 __ppc_mdoio and __ppc_mdoom.
13057 * manual/platform.texi: Document new functions __ppc_yield,
13058 __ppc_mdoio and __ppc_mdoom.
13059
13e23af7
CD
130602013-05-22 Carlos O'Donell <carlos@redhat.com>
13061
13062 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13063 (main): Mention "tls" pseudo-hwcap is legacy.
13064 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13065
351fe550
JM
130662013-05-22 Joseph Myers <joseph@codesourcery.com>
13067
13068 * math/gen-libm-test.pl (parse_args): Output only string of
13069 arguments as text for test name, not full call or descriptions of
13070 tests for extra outputs.
13071 (generate_testfile): Do not pass function name to parse_args.
13072 Generate this_func variable from START.
13073 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13074 field to arg_str.
13075 (struct test_ff_f_data): Likewise.
13076 (test_ff_f_data_nexttoward): Likewise.
13077 (struct test_fi_f_data): Likewise.
13078 (struct test_fl_f_data): Likewise.
13079 (struct test_if_f_data): Likewise.
13080 (struct test_fff_f_data): Likewise.
13081 (struct test_c_f_data): Likewise.
13082 (struct test_f_f1_data): Likewise. Remove field extra_name.
13083 (struct test_fF_f1_data): Likewise.
13084 (struct test_ffI_f1_data): Likewise.
13085 (struct test_c_c_data): Rename test_name field to arg_str.
13086 (struct test_cc_c_data): Likewise.
13087 (struct test_f_i_data): Likewise.
13088 (struct test_ff_i_data): Likewise.
13089 (struct test_f_l_data): Likewise.
13090 (struct test_f_L_data): Likewise.
13091 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13092 and extra2_name.
13093 (COMMON_TEST_SETUP): New macro.
13094 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13095 (COMMON_TEST_CLEANUP): Likewise.
13096 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13097 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13098 macros.
13099 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13100 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13101 macros.
13102 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13103 (RUN_TEST_fff_f): Take argument string. Call new setup and
13104 cleanup macros.
13105 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13106 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13107 macros.
13108 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13109 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13110 macros.
13111 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13112 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13113 cleanup macros.
13114 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13115 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13116 cleanup macros.
13117 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13118 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13119 cleanup macros.
13120 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13121 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13122 macros.
13123 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13124 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13125 macros.
13126 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13127 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13128 macros.
13129 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13130 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13131 cleanup macros.
13132 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13133 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13134 cleanup macros.
13135 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13136 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13137 macros.
13138 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13139 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13140 cleanup macros.
13141 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13142 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13143 macros.
13144 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13145 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13146 macros.
13147 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13148 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13149 cleanup macros.
13150 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13151
85118d4d
EBM
131522013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13153
13154 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13155 to _sifields.sigfault.
13156 (si_addr_lsb): Define new macro.
13157 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13159 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13160
7a44c18f
CD
131612013-05-03 Carlos O'Donell <carlos at redhat.com>
13162
13163 [BZ #15441]
13164 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13165 returns -1.
13166 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13167 null return -1.
13168 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13169 loading the domain.
13170
b50a7181
JM
131712013-05-22 Joseph Myers <joseph@codesourcery.com>
13172
13173 * math/gen-libm-test.pl (parse_args): Do not include expected
13174 result in test name.
13175 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13177 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13178 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13179 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13181
051063c8
SP
131822013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13183
3ce9e010
SP
13184 * benchtests/Makefile: Sort function entries.
13185
051063c8
SP
13186 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13187 tanh, asinh, acosh, atanh.
13188 * benchtests/acos-inputs: New file.
13189 * benchtests/acosh-inputs: New file.
13190 * benchtests/asin-inputs: New file.
13191 * benchtests/asinh-inputs: New file.
13192 * benchtests/atanh-inputs: New file.
13193 * benchtests/cosh-inputs: New file.
13194 * benchtests/log-inputs: New file.
13195 * benchtests/sinh-inputs: New file.
13196 * benchtests/tanh-inputs: New file.
13197
47c22455
DL
131982013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13199
13200 [BZ #15339]
13201 * posix/tst-getaddrinfo4.c: New test.
13202 * posix/Makefile (tests): Add it.
13203
3d04f5db
SP
132042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13205
13206 [BZ #15339]
13207 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13208 when no services were used.
13209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13210 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13211
d5dd6189
AS
132122013-05-21 Andreas Schwab <schwab@suse.de>
13213
13214 [BZ #15014]
13215 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13216 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13217 successful.
13218 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13219 redundant variable declarations and reallocation of buffer when
13220 parsing as IPv6 address. Always set NSS status when called from
13221 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13222 buffer too small. Correct computation of needed size.
13223 * nss/Makefile (tests): Add test-digits-dots.
13224 * nss/test-digits-dots.c: New test.
13225
fef94eab
SP
132262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13227
13228 * benchtests/Makefile: Remove instructions for adding
13229 benchmark tests.
13230 * benchtests/README: New file to explain how to execute and
13231 enhance the benchmark tests.
13232
e39adf43
AS
132332013-05-21 Andreas Schwab <schwab@suse.de>
13234
13235 [BZ #15493]
13236 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13237 * setjmp/tst-sigsetjmp.c: New test.
13238
b2b671b6
OB
132392013-05-20 Ondřej Bílka <neleai@seznam.cz>
13240
13241 * sysdeps/x86_64/memset.S (memset): New implementation.
13242 (__bzero): Likewise.
13243 (__memset_tail): New function.
13244
2d48b41c
OB
132452013-05-20 Ondřej Bílka <neleai@seznam.cz>
13246
13247 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13248 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13249 __memcpy_sse2_unaligned ifunc selection.
13250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13251 Add memcpy-sse2-unaligned.S.
13252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13253 Add: __memcpy_sse2_unaligned.
13254
f16cc3eb
JM
132552013-05-19 Joseph Myers <joseph@codesourcery.com>
13256
3e694268
JM
13257 [BZ #15490]
13258 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13259 math_force_eval before restoring floating-point envrionment.
13260 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13261 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13262 Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13264 <math_private.h>.
13265 (__nearbyintl): Use math_force_eval before restoring
13266 floating-point environment.
13267 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13268
db62a907
JM
13269 * math/gen-libm-test.pl (special_functions): Remove.
13270 (parse_args): Don't handle TEST_extra. Handle functions with no
13271 return value.
13272 * math/libm-test.inc (struct test_sincos_data): Replace with
13273 struct test_fFF_11_data.
13274 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13275 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13276 (sincos_test_data): Change element type to struct
13277 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13278 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13279 RUN_TEST_LOOP_sincos.
13280 * math/README.libm-test: Don't mention special handling of
13281 individual functions.
13282 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13285 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13286 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13288
f16cc3eb
JM
13289 * math/gen-libm-test.pl (get_variable): Remove function.
13290 (parse_args): Don't show pointer parameters to call in test
13291 names. Use "extra output N" in test names for extra outputs
13292 rather than naming variables.
13293
3779b5b6
JM
132942013-05-18 Joseph Myers <joseph@codesourcery.com>
13295
2ee094ff
JM
13296 [BZ #15488]
13297 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13298 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13299 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13300 double tests.
13301 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13302 disable.
13303 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13304 check_long_double.
13305
3779b5b6
JM
13306 * math/gen-libm-test.pl (@tests): Remove variable.
13307 ($count): Likewise.
13308 (new_test): Remove function.
13309 (show_exceptions): New function.
13310 (special_functions): Use show_exceptions instead of new_test.
13311 (parse_args): Likewise.
13312 (generate_testfile): Pass only function name in generated call to
13313 print_max_error or print_complex_max_error.
13314 (get_ulps): Do not handle complex tests specially.
13315 (output_test): Rename to ...
13316 (get_all_ulps_for_test): ... this. Return a string rather than
13317 printing to a file. Require ulps to be present.
13318 (output_ulps): Generate arrays rather than #defines.
13319 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13320 (struct ulp_data): New type.
13321 (BUILD_COMPLEX_ULP): Remove macro.
13322 (compare_ulp_data): New function.
13323 (find_ulps): Likewise.
13324 (find_test_ulps): Likewise.
13325 (find_function_ulps): Likewise.
13326 (find_complex_function_ulps): Likewise.
13327 (print_max_error): Determine allowed ulps using
13328 find_function_ulps.
13329 (print_complex_max_error): Determine allowed ulps using
13330 find_complex_function_ulps.
13331 (check_float_internal): Determine max ulps using find_test_ulps.
13332 (check_float): Do not take max_ulp parameter. Update call to
13333 check_float_internal.
13334 (check_complex): Likewise.
13335 (check_int): Do not take max_ulp parameter.
13336 (check_long): Likewise.
13337 (check_bool): Likewise.
13338 (check_longlong): Likewise.
13339 (struct test_f_f_data): Remove max_ulp field.
13340 (struct test_ff_f_data): Likewise.
13341 (struct test_ff_f_data_nexttoward): Likewise.
13342 (struct test_fi_f_data): Likewise.
13343 (struct test_fl_f_data): Likewise.
13344 (struct test_if_f_data): Likewise.
13345 (struct test_fff_f_data): Likewise.
13346 (struct test_c_f_data): Likewise.
13347 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13348 (struct test_fF_f1_data): Likewise.
13349 (struct test_ffI_f1_data): Likewise.
13350 (struct test_c_c_data): Remove max_ulp field.
13351 (struct test_cc_c_data): Likewise.
13352 (struct test_f_i_data): Likewise.
13353 (struct test_ff_i_data): Likewise.
13354 (struct test_f_l_data): Likewise.
13355 (struct test_f_L_data): Likewise.
13356 (struct test_sincos_data): Likewise.
13357 (RUN_TEST_f_f): Do not handle ulps.
13358 (RUN_TEST_LOOP_f_f): Likewise.
13359 (RUN_TEST_2_f): Likewise.
13360 (RUN_TEST_LOOP_2_f): Likewise.
13361 (RUN_TEST_fff_f): Likewise.
13362 (RUN_TEST_LOOP_fff_f): Likewise.
13363 (RUN_TEST_c_f): Likewise.
13364 (RUN_TEST_LOOP_c_f): Likewise.
13365 (RUN_TEST_f_f1): Likewise.
13366 (RUN_TEST_LOOP_f_f1): Likewise.
13367 (RUN_TEST_fF_f1): Likewise.
13368 (RUN_TEST_LOOP_fF_f1): Likewise.
13369 (RUN_TEST_fI_f1): Likewise.
13370 (RUN_TEST_LOOP_fI_f1): Likewise.
13371 (RUN_TEST_ffI_f1): Likewise.
13372 (RUN_TEST_LOOP_ffI_f1): Likewise.
13373 (RUN_TEST_c_c): Likewise.
13374 (RUN_TEST_LOOP_c_c): Likewise.
13375 (RUN_TEST_cc_c): Likewise.
13376 (RUN_TEST_LOOP_cc_c): Likewise.
13377 (RUN_TEST_f_i): Likewise.
13378 (RUN_TEST_LOOP_f_i): Likewise.
13379 (RUN_TEST_f_i_tg): Likewise.
13380 (RUN_TEST_LOOP_f_i_tg): Likewise.
13381 (RUN_TEST_ff_i_tg): Likewise.
13382 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13383 (RUN_TEST_f_b): Likewise.
13384 (RUN_TEST_LOOP_f_b): Likewise.
13385 (RUN_TEST_f_b_tg): Likewise.
13386 (RUN_TEST_LOOP_f_b_tg): Likewise.
13387 (RUN_TEST_f_l): Likewise.
13388 (RUN_TEST_LOOP_f_l): Likewise.
13389 (RUN_TEST_f_L): Likewise.
13390 (RUN_TEST_LOOP_f_L): Likewise.
13391 (RUN_TEST_sincos): Likewise.
13392 (RUN_TEST_LOOP_sincos): Likewise.
13393
8269107f
JM
133942013-05-17 Joseph Myers <joseph@codesourcery.com>
13395
bb38759d
JM
13396 [BZ #15480]
13397 [BZ #15485]
13398 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13399 main case of finite arguments, set rounding mode to FE_TONEAREST
13400 and discard exceptions.
13401 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13402 exceptions.
13403 (remainder_tonearest_test_data): New variable.
13404 (remainder_test_tonearest): New function.
13405 (remainder_towardzero_test_data): New variable.
13406 (remainder_test_towardzero): New function.
13407 (remainder_downward_test_data): New variable.
13408 (remainder_test_downward): New function.
13409 (remainder_upward_test_data): New variable.
13410 (remainder_test_upward): New function.
13411 (main): Call the new test functions.
13412
a00bdcf0
JM
13413 * math/libm-test.inc (struct test_f_f1_data): Remove field
13414 extra_init.
13415 (struct test_fF_f1_data): Likewise.
13416 (struct test_ffI_f1_data): Likewise.
13417 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13418 based on value of EXTRA_EXPECTED.
13419 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13420 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13421 EXTRA_VAR based on value of EXTRA_EXPECTED.
13422 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13423 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13424 EXTRA_VAR based on value of EXTRA_EXPECTED.
13425 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13426 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13427 EXTRA_VAR based on value of EXTRA_EXPECTED.
13428 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13429 * math/gen-libm-test.pl (parse_args): Don't output initializers
13430 for extra output values.
13431
de407f79
JM
13432 * math/libm-test.inc (check_int): Expect result to be exactly
13433 equal to expected value and do not handle ulps.
13434 (check_long): Likewise.
13435 (check_longlong): Likewise.
13436
8269107f
JM
13437 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13438 exceptions.
13439 (cimag_test_data): Likewise.
13440 (conj_test_data): Likewise.
13441 (copysign_test_data): Likewise.
13442 (cproj_test_data): Likewise.
13443 (creal_test_data): Likewise.
13444 (fabs_test_data): Likewise.
13445 (fdim_test_data): Likewise.
13446 (finite_test_data): Likewise.
13447 (floor_test_data): Likewise.
13448 (fmax_test_data): Likewise.
13449 (fmin_test_data): Likewise.
13450 (fmod_test_data): Likewise.
13451 (fpclassify_test_data): Likewise.
13452 (frexp_test_data): Likewise.
13453 (ilogb_test_data): Likewise.
13454 (isfinite_test_data): Likewise.
13455 (isgreater_test_data): Likewise.
13456 (isgreaterequal_test_data): Likewise.
13457 (isinf_test_data): Likewise.
13458 (isless_test_data): Likewise.
13459 (islessequal_test_data): Likewise.
13460 (islessgreater_test_data): Likewise.
13461 (isnan_test_data): Likewise.
13462 (isnormal_test_data): Likewise.
13463 (issignaling_test_data): Likewise.
13464 (isunordered_test_data): Likewise.
13465 (ldexp_test_data): Likewise.
13466 (lrint_test_data): Likewise.
13467 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13468 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13469 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13470 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13471 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13472 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13473 test input.
13474 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13475 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13476 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13477 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13478 that test input.
13479 (lrint_downward_test_data): Test for "inexact" exceptions.
13480 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13481 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13482 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13483 test input.
13484 (lrint_upward_test_data): Test for "inexact" exceptions.
13485 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13486 test input.
13487 (llrint_test_data): Test for "inexact" exceptions.
13488 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13489 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13490 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13491 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13492 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13493 (llrint_downward_test_data): Test for "inexact" exceptions.
13494 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13495 (llrint_upward_test_data): Test for "inexact" exceptions.
13496 (logb_test_data): Likewise.
13497 (logb_downward_test_data): Likewise.
13498 (nextafter_test_data): Likewise.
13499 (nexttoward_test_data): Likewise.
13500 (remainder_test_data): Likewise.
13501 (remquo_test_data): Likewise.
13502 (scalbn_test_data): Likewise.
13503 (scalbln_test_data): Likewise.
13504 (signbit_test_data): Likewise.
13505 (sqrt_test_data): Likewise.
13506 (significand_test_data): Likewise.
13507
48a18de1
SP
135082013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13509
13510 [BZ #15424]
13511 * benchtests/bench-modf.c (struct args): Mark arg0 as
13512 volatile.
13513 * scripts/bench.pl: Mark members of struct args as volatile.
13514
13d3b41a
AZ
135152013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13516
68191c1d 13517 [BZ # 15497]
13d3b41a
AZ
13518 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13519 negative infinity on POWER6 or lower.
13520 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13521
2848b105
MR
135222013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13523
13524 [BZ #15442]
13525 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13526 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13527 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13528 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13529 (_FP_SETQNAN): New macro.
13530 (_FP_SETQNAN_SEMIRAW): Likewise.
13531 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13532 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13533 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13534 (FP_EXTEND): Use _FP_FRAC_SNANP.
13535 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13536 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13537 into account.
13538 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13539 New macro.
13540 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13541 Likewise.
13542
323e5cb7
JM
135432013-05-16 Joseph Myers <joseph@codesourcery.com>
13544
c58b274f
JM
13545 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13546 with DIVIDE_BY_ZERO_EXCEPTION.
13547 (gamma_test_data): Likewise.
13548 (lgamma_test_data): Likewise.
13549 (log_test_data): Likewise.
13550 (log10_test_data): Likewise.
13551 (log2_test_data): Likewise.
13552 (tgamma_test_data): Likewise.
13553
0ab34904
JM
13554 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13555 (acos_test_tonearest): Likewise.
13556 (acos_test_towardzero): Likewise.
13557 (acos_test_downward): Likewise.
13558 (acos_test_upward): Likewise.
13559 (acosh_test): Likewise.
13560 (asin_test): Likewise.
13561 (asin_test_tonearest): Likewise.
13562 (asin_test_towardzero): Likewise.
13563 (asin_test_downward): Likewise.
13564 (asin_test_upward): Likewise.
13565 (asinh_test): Likewise.
13566 (atan_test): Likewise.
13567 (atanh_test): Likewise.
13568 (atan2_test): Likewise.
13569 (cabs_test): Likewise.
13570 (cacos_test): Likewise.
13571 (cacosh_test): Likewise.
13572 (casin_test): Likewise.
13573 (casinh_test): Likewise.
13574 (catan_test): Likewise.
13575 (catanh_test): Likewise.
13576 (cbrt_test): Likewise.
13577 (ccos_test): Likewise.
13578 (ccosh_test): Likewise.
13579 (cexp_test): Likewise.
13580 (clog_test): Likewise.
13581 (clog10_test): Likewise.
13582 (cos_test): Likewise.
13583 (cos_test_tonearest): Likewise.
13584 (cos_test_towardzero): Likewise.
13585 (cos_test_downward): Likewise.
13586 (cos_test_upward): Likewise.
13587 (cosh_test): Likewise.
13588 (cosh_test_tonearest): Likewise.
13589 (cosh_test_towardzero): Likewise.
13590 (cosh_test_downward): Likewise.
13591 (cosh_test_upward): Likewise.
13592 (cpow_test): Likewise.
13593 (csin_test): Likewise.
13594 (csinh_test): Likewise.
13595 (csqrt_test): Likewise.
13596 (ctan_test): Likewise.
13597 (ctan_test_tonearest): Likewise.
13598 (ctan_test_towardzero): Likewise.
13599 (ctan_test_downward): Likewise.
13600 (ctan_test_upward): Likewise.
13601 (ctanh_test): Likewise.
13602 (ctanh_test_tonearest): Likewise.
13603 (ctanh_test_towardzero): Likewise.
13604 (ctanh_test_downward): Likewise.
13605 (ctanh_test_upward): Likewise.
13606 (erf_test): Likewise.
13607 (erfc_test): Likewise.
13608 (exp_test): Likewise.
13609 (exp_test_tonearest): Likewise.
13610 (exp_test_towardzero): Likewise.
13611 (exp_test_downward): Likewise.
13612 (exp_test_upward): Likewise.
13613 (exp10_test): Likewise.
13614 (exp2_test): Likewise.
13615 (expm1_test): Likewise.
13616 (fmod_test): Likewise.
13617 (gamma_test): Likewise.
13618 (hypot_test): Likewise.
13619 (j0_test): Likewise.
13620 (j1_test): Likewise.
13621 (jn_test): Likewise.
13622 (lgamma_test): Likewise.
13623 (log_test): Likewise.
13624 (log10_test): Likewise.
13625 (log1p_test): Likewise.
13626 (log2_test): Likewise.
13627 (logb_test_downward): Likewise.
13628 (pow_test): Likewise.
13629 (pow_test_tonearest): Likewise.
13630 (pow_test_towardzero): Likewise.
13631 (pow_test_downward): Likewise.
13632 (pow_test_upward): Likewise.
13633 (remainder_test): Likewise.
13634 (remquo_test): Likewise.
13635 (sin_test): Likewise.
13636 (sin_test_tonearest): Likewise.
13637 (sin_test_towardzero): Likewise.
13638 (sin_test_downward): Likewise.
13639 (sin_test_upward): Likewise.
13640 (sincos_test): Likewise.
13641 (sinh_test): Likewise.
13642 (sinh_test_tonearest): Likewise.
13643 (sinh_test_towardzero): Likewise.
13644 (sinh_test_downward): Likewise.
13645 (sinh_test_upward): Likewise.
13646 (sqrt_test): Likewise.
13647 (tan_test): Likewise.
13648 (tan_test_tonearest): Likewise.
13649 (tan_test_towardzero): Likewise.
13650 (tan_test_downward): Likewise.
13651 (tan_test_upward): Likewise.
13652 (tanh_test): Likewise.
13653 (tgamma_test): Likewise.
13654 (y0_test): Likewise.
13655 (y1_test): Likewise.
13656 (yn_test): Likewise.
13657
323e5cb7
JM
13658 * math/gen-libm-test.pl (adjust_arg): Remove function.
13659 (special_function): Remove argument $in_func. Only handle
13660 generating output for tables of tests, not inside functions.
13661 (parse_args): Likewise.
13662 (generate_testfile): Remove variable $in_func. Update call to
13663 parse_args.
13664 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13665 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13666 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13667 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13668 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13669 (MAX_VALUE_INIT): Rename macro to max_value.
13670 (MIN_VALUE_INIT): Rename macro to min_value.
13671 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13672 (plus_zero): Remove variable.
13673 (minus_zero): Likewise.
13674 (plus_infty): Likewise.
13675 (minus_infty): Likewise.
13676 (qnan_value): Likewise.
13677 (max_value): Likewise.
13678 (min_value): Likewise.
13679 (min_subnorm_value): Likewise.
13680
e054f494
RA
136812013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13682
13683 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13684 uint64_t or uint32_t usage.
13685 * crypt/sha256-block.c: Likewise.
13686 * crypt/sha256-crypt.c: Likewise.
13687 * crypt/sha256.c: Likewise.
13688 * crypt/sha512-block.c: Likewise.
13689 * crypt/sha512-crypt.c: Likewise.
13690 * crypt/sha512.c: Likewise.
13691 * debug/backtrace-tst.c: Likewise.
13692 * debug/pcprofiledump.c: Likewise.
13693 * elf/cache.c: Likewise.
13694 * elf/dl-cache.c: Likewise.
13695 * elf/dl-misc.c: Likewise.
13696 * elf/dl-profile.c: Likewise.
13697 * elf/dl-support.c: Likewise.
13698 * elf/ldconfig.c: Likewise.
13699 * elf/sprof.c: Likewise.
13700 * iconv/dummy-repertoire.c: Likewise.
13701 * iconv/iconv_charmap.c: Likewise.
13702 * iconv/skeleton.c: Likewise.
13703 * iconvdata/8bit-generic.c: Likewise.
13704 * iconvdata/cp737.h: Likewise.
13705 * iconvdata/cp775.h: Likewise.
13706 * iconvdata/ibm1008.h: Likewise.
13707 * iconvdata/ibm1025.h: Likewise.
13708 * iconvdata/ibm1046.h: Likewise.
13709 * iconvdata/ibm1097.h: Likewise.
13710 * iconvdata/ibm1112.h: Likewise.
13711 * iconvdata/ibm1122.h: Likewise.
13712 * iconvdata/ibm1123.h: Likewise.
13713 * iconvdata/ibm1124.h: Likewise.
13714 * iconvdata/ibm1129.h: Likewise.
13715 * iconvdata/ibm1130.h: Likewise.
13716 * iconvdata/ibm1132.h: Likewise.
13717 * iconvdata/ibm1133.h: Likewise.
13718 * iconvdata/ibm1137.h: Likewise.
13719 * iconvdata/ibm1140.h: Likewise.
13720 * iconvdata/ibm1141.h: Likewise.
13721 * iconvdata/ibm1142.h: Likewise.
13722 * iconvdata/ibm1143.h: Likewise.
13723 * iconvdata/ibm1144.h: Likewise.
13724 * iconvdata/ibm1145.h: Likewise.
13725 * iconvdata/ibm1146.h: Likewise.
13726 * iconvdata/ibm1147.h: Likewise.
13727 * iconvdata/ibm1148.h: Likewise.
13728 * iconvdata/ibm1149.h: Likewise.
13729 * iconvdata/ibm1153.h: Likewise.
13730 * iconvdata/ibm1154.h: Likewise.
13731 * iconvdata/ibm1155.h: Likewise.
13732 * iconvdata/ibm1156.h: Likewise.
13733 * iconvdata/ibm1157.h: Likewise.
13734 * iconvdata/ibm1158.h: Likewise.
13735 * iconvdata/ibm1160.h: Likewise.
13736 * iconvdata/ibm1161.h: Likewise.
13737 * iconvdata/ibm1162.h: Likewise.
13738 * iconvdata/ibm1163.h: Likewise.
13739 * iconvdata/ibm1164.h: Likewise.
13740 * iconvdata/ibm1166.h: Likewise.
13741 * iconvdata/ibm1167.h: Likewise.
13742 * iconvdata/ibm12712.h: Likewise.
13743 * iconvdata/ibm1390.h: Likewise.
13744 * iconvdata/ibm1399.h: Likewise.
13745 * iconvdata/ibm16804.h: Likewise.
13746 * iconvdata/ibm4517.h: Likewise.
13747 * iconvdata/ibm4899.h: Likewise.
13748 * iconvdata/ibm4909.h: Likewise.
13749 * iconvdata/ibm4971.h: Likewise.
13750 * iconvdata/ibm5347.h: Likewise.
13751 * iconvdata/ibm803.h: Likewise.
13752 * iconvdata/ibm856.h: Likewise.
13753 * iconvdata/ibm901.h: Likewise.
13754 * iconvdata/ibm902.h: Likewise.
13755 * iconvdata/ibm9030.h: Likewise.
13756 * iconvdata/ibm9066.h: Likewise.
13757 * iconvdata/ibm921.h: Likewise.
13758 * iconvdata/ibm922.h: Likewise.
13759 * iconvdata/ibm9448.h: Likewise.
13760 * iconvdata/isiri-3342.h: Likewise.
13761 * iconvdata/jis0201.h: Likewise.
13762 * include/link.h: Likewise.
13763 * include/netdb.h: Likewise.
13764 * inet/check_native.c: Likewise.
13765 * inet/check_pf.c: Likewise.
13766 * inet/getipv4sourcefilter.c: Likewise.
13767 * inet/getnameinfo.c: Likewise.
13768 * inet/getsourcefilter.c: Likewise.
13769 * inet/htonl.c: Likewise.
13770 * inet/setipv4sourcefilter.c: Likewise.
13771 * inet/setsourcefilter.c: Likewise.
13772 * inet/test-inet6_opt.c: Likewise.
13773 * inet/tst-network.c: Likewise.
13774 * locale/C-collate.c: Likewise.
13775 * locale/C-ctype.c: Likewise.
13776 * locale/C-time.c: Likewise.
13777 * locale/C-translit.h: Likewise.
13778 * locale/loadarchive.c: Likewise.
13779 * locale/programs/3level.h: Likewise.
13780 * locale/programs/charmap.c: Likewise.
13781 * locale/programs/charmap.h: Likewise.
13782 * locale/programs/ld-address.c: Likewise.
13783 * locale/programs/ld-collate.c: Likewise.
13784 * locale/programs/ld-ctype.c: Likewise.
13785 * locale/programs/ld-identification.c: Likewise.
13786 * locale/programs/ld-measurement.c: Likewise.
13787 * locale/programs/ld-messages.c: Likewise.
13788 * locale/programs/ld-monetary.c: Likewise.
13789 * locale/programs/ld-name.c: Likewise.
13790 * locale/programs/ld-numeric.c: Likewise.
13791 * locale/programs/ld-paper.c: Likewise.
13792 * locale/programs/ld-telephone.c: Likewise.
13793 * locale/programs/ld-time.c: Likewise.
13794 * locale/programs/linereader.c: Likewise.
13795 * locale/programs/locale.c: Likewise.
13796 * locale/programs/locarchive.c: Likewise.
13797 * locale/programs/locfile.h: Likewise.
13798 * locale/programs/repertoire.c: Likewise.
13799 * locale/programs/simple-hash.c: Likewise.
13800 * locale/programs/simple-hash.h: Likewise.
13801 * malloc/memusage.c: Likewise.
13802 * malloc/memusagestat.c: Likewise.
13803 * nis/nis_defaults.c: Likewise.
13804 * nis/nis_hash.c: Likewise.
13805 * nis/nis_print.c: Likewise.
13806 * nis/nis_xdr.c: Likewise.
13807 * nscd/connections.c: Likewise.
13808 * nscd/hstcache.c: Likewise.
13809 * nscd/nscd_gethst_r.c: Likewise.
13810 * nscd/nscd_getserv_r.c: Likewise.
13811 * nscd/nscd_helper.c: Likewise.
13812 * nscd/servicescache.c: Likewise.
13813 * nss/makedb.c: Likewise.
13814 * nss/nss_db/db-XXX.c: Likewise.
13815 * nss/nss_db/db-initgroups.c: Likewise.
13816 * nss/nss_db/db-netgrp.c: Likewise.
13817 * nss/nss_files/files-network.c: Likewise.
13818 * nss/nss_files/files-parse.c: Likewise.
13819 * posix/bug-regex5.c: Likewise.
13820 * posix/fnmatch_loop.c: Likewise.
13821 * posix/regcomp.c: Likewise.
13822 * posix/regexec.c: Likewise.
13823 * posix/tst-rfc3484-2.c: Likewise.
13824 * posix/tst-rfc3484-3.c: Likewise.
13825 * posix/tst-rfc3484.c: Likewise.
13826 * resolv/nss_dns/dns-canon.c: Likewise.
13827 * resolv/nss_dns/dns-network.c: Likewise.
13828 * resolv/res_init.c: Likewise.
13829 * resolv/res_mkquery.c: Likewise.
13830 * resolv/tst-aton.c: Likewise.
13831 * stdlib/cxa_atexit.c: Likewise.
13832 * stdlib/cxa_finalize.c: Likewise.
13833 * stdlib/gen-fpioconst.c: Likewise.
13834 * stdlib/strtol_l.c: Likewise.
13835 * string/tst-endian.c: Likewise.
13836 * sunrpc/auth_des.c: Likewise.
13837 * sunrpc/clnt_udp.c: Likewise.
13838 * sunrpc/rtime.c: Likewise.
13839 * sunrpc/svcauth_des.c: Likewise.
13840 * sunrpc/xdr.c: Likewise.
13841 * sunrpc/xdr_intXX_t.c: Likewise.
13842 * sunrpc/xdr_rec.c: Likewise.
13843 * sysdeps/generic/ldconfig.h: Likewise.
13844 * sysdeps/generic/ldsodefs.h: Likewise.
13845 * sysdeps/generic/memusage.h: Likewise.
13846 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13849 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13856 * sysdeps/posix/getaddrinfo.c: Likewise.
13857 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13858 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13859 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13860 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13861 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13862 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13863 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13864 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13865 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13866 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13867 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13868 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13869 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13870 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13871 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13872 * sysdeps/x86_64/dl-tls.h: Likewise.
13873 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13874 * time/alt_digit.c: Likewise.
13875 * time/era.c: Likewise.
13876 * wcsmbs/tst-c16c32-1.c: Likewise.
13877
8c75f674
JM
138782013-05-16 Joseph Myers <joseph@codesourcery.com>
13879
13880 * math/libm-test.inc (struct test_sincos_data): New type.
13881 (RUN_TEST_LOOP_sincos): New macro.
13882 (sincos_test_data): New variable.
13883 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13884
e6e49e59
RH
138852013-05-16 Richard Henderson <rth@redhat.com>
13886
13887 * math/atest-exp2.c (LIMB64): New macro.
13888 (CONSTSZ): New macro.
13889 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13890 (hexdig): Move ...
13891 (print_mpn_fp): ... to function scope.
13892 (read_mpn_hex): Remove.
13893 (get_log2): Remove.
13894 (exp2_mpn): Use mp_log2.
13895 (main): Use mp_exp1.
13896
15c7c18d
JM
138972013-05-16 Joseph Myers <joseph@codesourcery.com>
13898
105a07df
JM
13899 * math/libm-test.inc: Remove comment about not testing "inexact"
13900 exceptions.
13901 (INEXACT_EXCEPTION): New macro.
13902 (NO_INEXACT_EXCEPTION): Likewise.
13903 (INVALID_EXCEPTION_OK): Update value.
13904 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13905 (OVERFLOW_EXCEPTION_OK): Likewise.
13906 (UNDERFLOW_EXCEPTION_OK): Likewise.
13907 (IGNORE_ZERO_INF_SIGN): Likewise.
13908 (ERRNO_UNCHANGED): Likewise.
13909 (ERRNO_EDOM): Likewise.
13910 (ERRNO_ERANGE): Likewise.
13911 (test_exceptions): Handle testing "inexact" exceptions.
13912 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13913 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13914 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13915 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13916 INEXACT_EXCEPTION.
13917 (rint_towardzero_test_data): Likewise.
13918 (rint_downward_test_data): Likewise.
13919 (rint_upward_test_data): Likewise.
13920
e9eee333
JM
13921 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13922 with OVERFLOW_EXCEPTION.
13923 (exp10_test_data): Likewise.
13924 (exp2_test_data): Likewise.
13925 (expm1_test_data): Likewise.
13926 (lgamma_test_data): Likewise.
13927 (pow_test_data): Likewise.
13928 (tgamma_test_data): Likewise.
13929 (yn_test_data): Remove duplicate test of overflow.
13930
1c38ff73
JM
13931 * math/libm-test.inc (struct test_cc_c_data): New type.
13932 (RUN_TEST_LOOP_cc_c): New macro.
13933 (cpow_test_data): New variable.
13934 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13935
15c7c18d
JM
13936 * math/libm-test.inc (struct test_f_L_data): New type.
13937 (RUN_TEST_LOOP_f_L): New macro.
13938 (llrint_test_data): New variable.
13939 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13940 (llrint_tonearest_test_data): New variable.
13941 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13942 (llrint_towardzero_test_data): New variable.
13943 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13944 (llrint_downward_test_data): New variable.
13945 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13946 (llrint_upward_test_data): New variable.
13947 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13948 (llround_test_data): New variable.
13949 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13950
f137ff13
PC
139512013-05-13 Peter Collingbourne <pcc@google.com>
13952
13953 * math/atest-exp2.c (get_log2): Remove const attribute.
13954
3608cb24
JM
139552013-05-15 Joseph Myers <joseph@codesourcery.com>
13956
13957 * math/libm-test.inc (struct test_f_l_data): New type.
13958 (RUN_TEST_LOOP_f_l): New macro.
13959 (lrint_test_data): New variable.
13960 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13961 (lrint_tonearest_test_data): New variable.
13962 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13963 (lrint_towardzero_test_data): New variable.
13964 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13965 (lrint_downward_test_data): New variable.
13966 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13967 (lrint_upward_test_data): New variable.
13968 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13969 (lround_test_data): New variable.
13970 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13971
39b1f617
PC
139722013-05-15 Peter Collingbourne <pcc@google.com>
13973
1deff3dc
PC
13974 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13975 (EXTRACT_WORDS64) Use where appropriate.
13976 (INSERT_WORDS64) Likewise.
13977
791f3ba0
PC
13978 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13979 constraints with x constraints.
13980 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13981
39b1f617
PC
13982 * malloc/obstack.c (_obstack_compat): Add initializer.
13983
12fba011
EM
139842013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13985
13986 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13987 si_trapno and add si_addr_lsb to _sifields.sigfault.
13988 (si_trapno): Remove macro.
13989 (si_addr_lsb): Define new macro.
13990 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13991
d369f531
JM
139922013-05-15 Joseph Myers <joseph@codesourcery.com>
13993
b861c6c4
JM
13994 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13995 instead of TEST_f_l.
13996 (llrint_test_tonearest): Likewise.
13997 (llrint_test_towardzero): Likewise.
13998 (llrint_test_downward): Likewise.
13999 (llrint_test_upward): Likewise.
14000 (llround_test): Likewise.
14001
7abeee12
JM
14002 * math/libm-test.inc (struct test_f_i_data): Add comment.
14003 (RUN_TEST_LOOP_f_b): New macro.
14004 (RUN_TEST_LOOP_f_b_tg): Likewise.
14005 (finite_test_data): New variable.
14006 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14007 (isfinite_test_data): New variable.
14008 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14009 (isinf_test_data): New variable.
14010 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14011 (isnan_test_data): New variable.
14012 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14013 (isnormal_test_data): New variable.
14014 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14015 (issignaling_test_data): New variable.
14016 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14017 (signbit_test_data): New variable.
14018 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14019
cbe8c4d3
JM
14020 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14021 with INVALID_EXCEPTION.
14022 (acosh_test_data): Likewise.
14023 (asin_test_data): Likewise.
14024 (atanh_test_data): Likewise.
14025 (fmod_test_data): Likewise.
14026 (log_test_data): Likewise.
14027 (log10_test_data): Likewise.
14028 (log2_test_data): Likewise.
14029 (pow_test_data): Likewise.
14030 (sqrt_test_data): Likewise.
14031 (y0_test_data): Likewise.
14032 (y1_test_data): Likewise.
14033 (yn_test_data): Likewise.
14034
5575c0e5
JM
14035 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14036 function contents.
14037
d369f531
JM
14038 * math/libm-test.inc (struct test_ff_i_data): New type.
14039 (RUN_TEST_LOOP_ff_i_tg): New macro.
14040 (isgreater_test_data): New variable.
14041 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14042 (isgreaterequal_test_data): New variable.
14043 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14044 (isless_test_data): New variable.
14045 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14046 (islessequal_test_data): New variable.
14047 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14048 (islessgreater_test_data): New variable.
14049 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14050 (isunordered_test_data): New variable.
14051 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14052
781fd748
DM
140532013-05-14 David S. Miller <davem@davemloft.net>
14054
14055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14056
87aa21df
JM
140572013-05-14 Joseph Myers <joseph@codesourcery.com>
14058
5e908270
JM
14059 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14060
f71172e5
JM
14061 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14062 extra_test to int.
14063 (struct test_f_i_data): Change type of max_ulp to int.
14064
8cfa635a
JM
14065 * math/libm-test.inc (test_ffI_f1_data): New type.
14066 (RUN_TEST_LOOP_ffI_f1): New macro.
14067 (remquo_test_data): New variable.
14068 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14069
2bcb36b2
JM
14070 * setjmp/tst-setjmp-fp.c: New file.
14071 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14072 (link-libm): New variable.
14073 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14074
acbd839a
JM
14075 * math/libm-test.inc (struct test_f_i_data): New type.
14076 (RUN_TEST_LOOP_f_i): New macro.
14077 (RUN_TEST_LOOP_f_i_tg): Likewise.
14078 (fpclassify_test_data): New variable.
14079 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14080 (ilogb_test_data): New variable.
14081 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14082
e414d745
JM
14083 * math/libm-test.inc (scalbln_test): Correct function name in END
14084 call.
14085
d9c2a0fd
JM
14086 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14087 (RUN_TEST_LOOP_fI_f1): New macro.
14088 (frexp_test_data): New variable.
14089 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14090
9dc9095d
JM
14091 * math/libm-test.inc (struct test_fF_f1_data): New type.
14092 (RUN_TEST_LOOP_fF_f1): New macro.
14093 (modf_test_data): New variable.
14094 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14095
87aa21df
JM
14096 * math/libm-test.inc (struct test_f_f1_data): New type.
14097 (RUN_TEST_LOOP_f_f1): New macro.
14098 (gamma_test_data): New variable.
14099 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14100 (lgamma_test_data): New variable.
14101 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14102
141af660
CD
141032013-05-13 Carlos O'Donell <carlos@redhat.com>
14104
14105 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14106 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14107 (main): Comment "tls" pseudo-hwcap.
14108
6d33265c
JM
141092013-05-13 Joseph Myers <joseph@codesourcery.com>
14110
68fc074c
JM
14111 * math/libm-test.inc (struct test_fl_f_data): New type.
14112 (RUN_TEST_LOOP_fl_f): New variable.
14113 (scalbln_test_data): New variable.
14114 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14115
243216e1
JM
14116 * math/libm-test.inc (struct test_fi_f_data): New type.
14117 (RUN_TEST_LOOP_fi_f): New macro.
14118 (ldexp_test_data): New variable.
14119 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14120 (scalbn_test_data): New variable.
14121 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14122
6a1992e2
JM
14123 * math/libm-test.inc (struct test_c_f_data): New type.
14124 (RUN_TEST_LOOP_c_f): New macro.
14125 (cabs_test_data): New variable.
14126 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14127 (carg_test_data): New variable.
14128 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14129 (cimag_test_data): New variable.
14130 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14131 (creal_test_data): New variable.
14132 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14133
0e400df5
JM
14134 * math/libm-test.inc (struct test_if_f_data): New type.
14135 (RUN_TEST_LOOP_if_f): New macro.
14136 (jn_test_data): New variable.
14137 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14138 (yn_test_data): New variable.
14139 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14140
6d33265c
JM
14141 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14142
f98ece5f
AZ
141432013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14144
14145 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14146 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14147
0f7d347b
SP
141482013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14149
43fe811b
SP
14150 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14151 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14152 (bench-deps): Add bench-timing.h.
14153 * benchtests-bench-skeleton.c: Include bench-timing.h.
14154 (main): Use TIMING_* macros instead of clock_gettime.
14155 * benchtests/bench-timing.h: New file.
14156
0f7d347b
SP
14157 [BZ #14582]
14158 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14159 Renamed from _LIB_VERSION.
14160 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14161
601a3a5f
JM
141622013-05-12 Joseph Myers <joseph@codesourcery.com>
14163
4f184d30
JM
14164 * math/libm-test.inc (struct test_fff_f_data): New type.
14165 (RUN_TEST_LOOP_fff_f): New macro.
14166 (fma_test_data): New variable.
14167 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14168 (fma_towardzero_test_data): New variable.
14169 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14170 (fma_downward_test_data): New variable.
14171 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14172 (fma_upward_test_data): New variable.
14173 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14174
08198877
JM
14175 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14176 (struct test_c_c_data): New type.
14177 (RUN_TEST_LOOP_c_c): New macro.
14178 (cacos_test_data): New variable.
14179 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14180 (cacosh_test_data): New variable.
14181 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14182 (casin_test_data): New variable.
14183 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14184 (casinh_test_data): New variable.
14185 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14186 (catan_test_data): New variable.
14187 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14188 (catanh_test_data): New variable.
14189 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14190 (ccos_test_data): New variable.
14191 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14192 (ccosh_test_data): New variable.
14193 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14194 (cexp_test_data): New variable.
14195 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14196 (clog_test_data): New variable.
14197 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14198 (clog10_test_data): New variable.
14199 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14200 (conj_test_data): New variable.
14201 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14202 (cproj_test_data): New variable.
14203 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14204 (csin_test_data): New variable.
14205 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14206 (csinh_test_data): New variable.
14207 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14208 (csqrt_test_data): New variable.
14209 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14210 (ctan_test_data): New variable.
14211 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14212 (ctan_tonearest_test_data): New variable.
14213 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14214 (ctan_towardzero_test_data): New variable.
14215 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14216 (ctan_downward_test_data): New variable.
14217 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14218 (ctan_upward_test_data): New variable.
14219 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14220 (ctanh_test_data): New variable.
14221 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14222 (ctanh_tonearest_test_data): New variable.
14223 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14224 (ctanh_towardzero_test_data): New variable.
14225 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14226 (ctanh_downward_test_data): New variable.
14227 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14228 (ctanh_upward_test_data): New variable.
14229 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14230 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14231 of BUILD_COMPLEX.
14232
601a3a5f
JM
14233 * math/libm-test.inc (struct test_ff_f_data): New type.
14234 (struct test_ff_f_data_nexttoward): Likewise.
14235 (RUN_TEST_LOOP_2_f): New macro.
14236 (RUN_TEST_LOOP_ff_f): Likewise.
14237 (atan2_test_data): New variable.
14238 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14239 (copysign_test_data): New variable.
14240 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14241 (fdim_test_data): New variable.
14242 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14243 (fmax_test_data): New variable.
14244 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14245 (fmin_test_data): New variable.
14246 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14247 (fmod_test_data): New variable.
14248 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14249 (hypot_test_data): New variable.
14250 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14251 (nextafter_test_data): New variable.
14252 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14253 (nexttoward_test_data): New variable.
14254 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14255 (pow_test_data): New variable.
14256 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14257 (pow_tonearest_test_data): New variable.
14258 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14259 (pow_towardzero_test_data): New variable.
14260 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14261 (pow_downward_test_data): New variable.
14262 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14263 (pow_upward_test_data): New variable.
14264 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14265 (remainder_test_data): New variable.
14266 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14267 (scalb_test_data): New variable.
14268 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14269 * sysdeps/i386/fpu/libm-test-ulps: Update.
14270
74c57478
JM
142712013-05-11 Joseph Myers <joseph@codesourcery.com>
14272
8329e4da
JM
14273 * math/libm-test.inc (fma_test): Use max_value instead of local
14274 variable fltmax.
14275 (nextafter_test): Likewise.
14276
74c57478
JM
14277 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14278 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14279 (acos_downward_test_data): New variable.
14280 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14281 (acos_upward_test_data): New variable.
14282 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14283 (acosh_test_data): New variable.
14284 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14285 (asin_test_data): New variable.
14286 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14287 (asin_tonearest_test_data): New variable.
14288 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14289 (asin_towardzero_test_data): New variable.
14290 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14291 (asin_downward_test_data): New variable.
14292 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14293 (asin_upward_test_data): New variable.
14294 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14295 (asinh_test_data): New variable.
14296 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14297 (atan_test_data): New variable.
14298 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14299 (atanh_test_data): New variable.
14300 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14301 (cbrt_test_data): New variable.
14302 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14303 (ceil_test_data): New variable.
14304 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14305 (cos_test_data): New variable.
14306 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14307 (cos_tonearest_test_data): New variable.
14308 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14309 (cos_towardzero_test_data): New variable.
14310 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14311 (cos_downward_test_data): New variable.
14312 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14313 (cos_upward_test_data): New variable.
14314 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14315 (cosh_test_data): New variable.
14316 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14317 (cosh_tonearest_test_data): New variable.
14318 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14319 (cosh_towardzero_test_data): New variable.
14320 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14321 (cosh_downward_test_data): New variable.
14322 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14323 (cosh_upward_test_data): New variable.
14324 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14325 (erf_test_data): New variable.
14326 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14327 (erfc_test_data): New variable.
14328 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14329 (exp_test_data): New variable.
14330 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14331 (exp_tonearest_test_data): New variable.
14332 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14333 (exp_towardzero_test_data): New variable.
14334 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14335 (exp_downward_test_data): New variable.
14336 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14337 (exp_upward_test_data): New variable.
14338 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14339 (exp10_test_data): New variable.
14340 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14341 (exp2_test_data): New variable.
14342 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14343 (expm1_test_data): New variable.
14344 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14345 (fabs_test_data): New variable.
14346 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14347 (floor_test_data): New variable.
14348 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14349 (j0_test_data): New variable.
14350 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14351 (j1_test_data): New variable.
14352 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14353 (log_test_data): New variable.
14354 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14355 (log10_test_data): New variable.
14356 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14357 (log1p_test_data): New variable.
14358 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14359 (log2_test_data): New variable.
14360 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14361 (logb_test_data): New variable.
14362 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14363 (logb_downward_test_data): New variable.
14364 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14365 (nearbyint_test_data): New variable.
14366 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14367 (rint_test_data): New variable.
14368 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14369 (rint_tonearest_test_data): New variable.
14370 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14371 (rint_towardzero_test_data): New variable.
14372 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14373 (rint_downward_test_data): New variable.
14374 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14375 (rint_upward_test_data): New variable.
14376 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14377 (round_test_data): New variable.
14378 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14379 (sin_test_data): New variable.
14380 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14381 (sin_tonearest_test_data): New variable.
14382 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14383 (sin_towardzero_test_data): New variable.
14384 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14385 (sin_downward_test_data): New variable.
14386 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14387 (sin_upward_test_data): New variable.
14388 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14389 (sinh_test_data): New variable.
14390 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14391 (sinh_tonearest_test_data): New variable.
14392 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14393 (sinh_towardzero_test_data): New variable.
14394 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14395 (sinh_downward_test_data): New variable.
14396 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14397 (sinh_upward_test_data): New variable.
14398 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14399 (sqrt_test_data): New variable.
14400 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14401 (tan_test_data): New variable.
14402 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14403 (tan_tonearest_test_data): New variable.
14404 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14405 (tan_towardzero_test_data): New variable.
14406 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14407 (tan_downward_test_data): New variable.
14408 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14409 (tan_upward_test_data): New variable.
14410 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14411 (tanh_test_data): New variable.
14412 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14413 (tgamma_test_data): New variable.
14414 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14415 (trunc_test_data): New variable.
14416 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14417 (y0_test_data): New variable.
14418 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14419 (y1_test_data): New variable.
14420 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14421 (significand_test_data): New variable.
14422 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14423
7187d844
CG
144242013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14425
14426 [BZ #12387]
14427 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14428
f63fae73
PT
144292013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14430
14431 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14432
8a67a4b3
AJ
144332013-05-10 Andreas Jaeger <aj@suse.de>
14434
14435 [BZ #15448]
14436 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14437 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14438
51df539d
JM
144392013-05-10 Joseph Myers <joseph@codesourcery.com>
14440
14441 * math/gen-libm-test.pl (adjust_arg): New function.
14442 (special_functions): Handle generating output in both functions
14443 and arrays.
14444 (parse_args): Likewise.
14445 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14446 $in_func argument to parse_args.
14447 * math/libm-test.inc (struct test_f_f_data): New type.
14448 (IF_ROUND_INIT_): New macro.
14449 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14450 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14451 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14452 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14453 (ROUND_RESTORE_): Likewise.
14454 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14455 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14456 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14457 (ROUND_RESTORE_FE_UPWARD): Likewise.
14458 (RUN_TEST_LOOP_f_f): New macro.
14459 (acos_test_data): New variable.
14460 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14461 (acos_tonearest_test_data): New variable.
14462 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14463
5c637fe5
SP
144642013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14465
14466 * benchtests/bench-skeleton.c (startup): Fix coding style.
14467
ab2b9461
JM
144682013-05-10 Joseph Myers <joseph@codesourcery.com>
14469
14470 [BZ #6809]
14471 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14472 negative infinity argument.
14473 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14474 negative infinity argument.
14475 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14476 negative infinity argument.
14477 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14478 domain errors.
14479
4c0fe6fe
FW
144802013-05-10 Florian Weimer <fweimer@redhat.com>
14481
14482 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14483 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14484 * iconv/iconv_prog.c (main): Likewise.
14485 * locale/programs/charmap-dir.c (charmap_readdir)
14486 (fopen_uncompressed): Likewise.
14487 * locale/programs/locfile.c (siblings_uncached)
14488 (write_locale_data): Use lstat64 instead of lstat.
14489 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14490 stat.
14491
a3375d29
AJ
144922013-05-10 Andreas Jaeger <aj@suse.de>
14493
14494 [BZ #15395]
14495 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14496 localization.
14497 Include <locale.h>.
14498
36129722
CD
144992013-05-09 Carlos O'Donell <carlos@redhat.com>
14500
14501 * elf/dl-close.c (_dl_close_worker): Add comments.
14502
faa7f811
JM
145032013-05-09 Joseph Myers <joseph@codesourcery.com>
14504
ed41ffef
JM
14505 [BZ #15359]
14506 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14507 high part of pi/2.
14508 (__ieee754_rem_pio2l): Update comments.
14509
d0213cd0
JM
14510 [BZ #15429]
14511 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14512 high part of pi/2.
14513 (__ieee754_rem_pio2l): Update comments.
14514
0d3e777a
JM
14515 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14516 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14517
24f56066
JM
14518 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14519 M_PI_4l.
14520
faa7f811
JM
14521 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14522 (M_PI_34_LOG10El): Likewise.
14523 (M_PI2_LOG10El): Likewise.
14524 (M_PI4_LOG10El): Likewise.
14525 (M_PI_LOG10El): Likewise.
14526
e9a5e0fd
AZ
145272013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14528
14529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14530
d8cd06db
JM
145312013-05-08 Joseph Myers <joseph@codesourcery.com>
14532
a0d9f9d7
JM
14533 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14534 (MINUS_ZERO_INIT): Likewise.
14535 (PLUS_INFTY_INIT): Likewise.
14536 (MINUS_INFTY_INIT): Likewise.
14537 (QNAN_VALUE_INIT): Likewise.
14538 (MAX_VALUE_INIT): Likewise.
14539 (MIN_VALUE_INIT): Likewise.
14540 (MIN_SUBNORM_VALUE_INIT): Likewise.
14541 (plus_zero): Initialize with PLUS_ZERO_INIT.
14542 (minus_zero): Initialize with MINUS_ZERO_INIT.
14543 (plus_infty): Initialize with PLUS_INFTY_INIT.
14544 (minus_infty): Initialize with MINUS_INFTY_INIT.
14545 (qnan_value): Initialize with QNAN_VALUE_INIT.
14546 (max_value): Initialize with MAX_VALUE_INIT.
14547 (min_value): Initialize with MIN_VALUE_INIT.
14548 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14549
ae08db3b
JM
14550 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14551 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14552 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14553 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14554
f44bf14a
JM
14555 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14556 (RUN_TEST_2_f): Likewise.
14557 (RUN_TEST_ff_f): Likewise.
14558 (RUN_TEST_fi_f): Likewise.
14559 (RUN_TEST_fl_f): Likewise.
14560 (RUN_TEST_fff_f): Likewise.
14561 (RUN_TEST_c_f): Likewise.
14562 (RUN_TEST_f_f1): Likewise.
14563 (RUN_TEST_fF_f1): Likewise.
14564 (RUN_TEST_fI_f1): Likewise.
14565 (RUN_TEST_ffI_f1): Likewise.
14566 (RUN_TEST_c_c): Likewise.
14567 (RUN_TEST_cc_c): Likewise.
14568 (RUN_TEST_f_i): Likewise.
14569 (RUN_TEST_f_i_tg): Likewise.
14570 (RUN_TEST_ff_i_tg): Likewise.
14571 (RUN_TEST_f_b): Likewise.
14572 (RUN_TEST_f_b_tg): Likewise.
14573 (RUN_TEST_f_l): Likewise.
14574 (RUN_TEST_f_L): Likewise.
14575 (RUN_TEST_sincos): Likewise.
14576 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14577 whether to show exceptions. Do not include ");\n" in return
14578 value.
14579 (special_functions): Output call to RUN_TEST_sincos instead of
14580 check_float calls. Update calls to new_test.
14581 (parse_args): Output call to single RUN_TEST_* macro instead of
14582 check_* calls and other assignments. Update calls to new_test.
14583
d8cd06db
JM
14584 [BZ #2546]
14585 [BZ #2560]
14586 [BZ #5159]
14587 [BZ #15426]
14588 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14589 input to result for tgamma overflow.
14590 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14591 (gamma_coeff): New variable.
14592 (NCOEFF): New macro.
14593 (gamma_positive): New function.
14594 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14595 underflow here. Use gamma_positive instead of exp (lgamma) for
14596 other arguments.
14597 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14598 (gamma_coeff): New variable.
14599 (NCOEFF): New macro.
14600 (gammaf_positive): New function.
14601 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14602 underflow here. Use gamma_positive instead of exp (lgamma) for
14603 other arguments.
14604 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14605 (gamma_coeff): New variable.
14606 (NCOEFF): New macro.
14607 (gammal_positive): New function.
14608 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14609 underflow here. Use gamma_positive instead of exp (lgamma) for
14610 other arguments.
14611 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14612 (gamma_coeff): New variable.
14613 (NCOEFF): New macro.
14614 (gammal_positive): New function.
14615 (__ieee754_gammal_r): Handle positive infinity, overflow and
14616 underflow here. Handle NaN the same as positive infinity. Remove
14617 check x < 0xffffffff for negative integers. Use gamma_positive
14618 instead of exp (lgamma) for other arguments.
14619 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14620 (gamma_coeff): New variable.
14621 (NCOEFF): New macro.
14622 (gammal_positive): New function.
14623 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14624 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14628 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14629 * sysdeps/generic/math_private.h (__gamma_productf): New
14630 prototype.
14631 (__gamma_product): Likewise.
14632 (__gamma_productl): Likewise.
14633 * math/Makefile (libm-calls): Add gamma_product.
14634 * math/libm-test.inc (tgamma_test): Add more tests.
14635 * sysdeps/i386/fpu/libm-test-ulps: Update.
14636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14637
bb7cf681
OB
146382013-05-08 Ondřej Bílka <neleai@seznam.cz>
14639
14640 * benchtests/bench-skeleton.c (main): Preheat CPU.
14641
ba853947
AJ
146422013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14643
14644 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14645
8347c74c
RM
146462013-05-07 Roland McGrath <roland@hack.frob.com>
14647
14648 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14649 and _dl_skip_args_internal.
14650
e8dd4791
CD
146512013-05-07 Carlos O'Donell <carlos@redhat.com>
14652
14653 * manual/message.texi (Message Translation): Talk about users.
14654 Message to key mapping impacts design.
14655
c7405830
RM
146562013-05-06 Roland McGrath <roland@hack.frob.com>
14657
a9173057
RM
14658 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14659
976e2f03
RM
14660 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14661
9723ffc5
RM
14662 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14663 * sysdeps/wordsize-64/glob64.c: ... here.
14664
962e6658
RM
14665 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14666 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14667 New macros.
14668
ee586a6d
RM
14669 * debug/getlogin_r_chk.c: Moved to ...
14670 * login/getlogin_r_chk.c: ... here.
14671 * debug/Makefile (routines): Move getlogin_r_chk to ...
14672 * login/Makefile (routines): ... here.
14673 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14674 * login/Versions (libc: GLIBC_2.4): ... here.
14675
355f9165
RM
14676 * io/poll.c (__poll): Renamed from poll.
14677 Add libc_hidden_def.
14678 (poll): Define as weak alias.
14679
bd9ffde6
RM
14680 * debug/ptsname_r_chk.c: Moved to ...
14681 * login/ptsname_r_chk.c: ... here.
14682 * debug/Makefile (routines): Move ptsname_r_chk to ...
14683 * login/Makefile (routines): ... here.
14684 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14685 * login/Versions (libc: GLIBC_2.4): ... here.
14686
8fb16a04
RM
14687 * posix/getlogin.c: Moved to ...
14688 * login/getlogin.c: ... here.
14689 * posix/getlogin_r.c: Moved to ...
14690 * login/getlogin_r.c: ... here.
14691 * posix/getlogin_r.c: Moved to ...
14692 * login/getlogin_r.c: ... here.
14693 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14694 * login/Makefile (routines): ... here.
14695 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14696 * login/Versions (libc: GLIBC_2.0): ... here.
14697
b99b892f
RM
14698 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14699 (setrlimit): Define as weak alias.
14700
c7405830
RM
14701 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14702 Call __ names for open, ftruncate, and close.
14703 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14704 (truncate): Define as weak alias.
14705
5bf96de5
JM
147062013-05-06 Joseph Myers <joseph@codesourcery.com>
14707
9ea3513c
JM
14708 * math/gen-libm-test.pl (parse_args): Initialize x before each
14709 test of frexp, modf and remquo.
14710
5bf96de5
JM
14711 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14712 test signgam value.
14713
16e616a7
AZ
147142013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14715
14716 [BZ #15418]
14717 [BZ #15419]
14718 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14719 internal tests.
14720 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14721
d5e82754
RM
147222013-05-06 Roland McGrath <roland@hack.frob.com>
14723
14724 * elf/dl-writev.h: New file.
14725 * elf/dl-misc.c: Include it.
14726 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14727 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14728
a7548d41
JM
147292013-05-04 Joseph Myers <joseph@codesourcery.com>
14730
b7dab1e4
JM
14731 * math/libm-test.inc (noXFails): Remove variable.
14732 (noXPasses): Likewise.
14733 (BUILD_COMPLEX_INT): Remove macro.
14734 (print_screen): Remove xfail argument.
14735 (print_screen_max_error): Likewise.
14736 (update_stats): Likewise.
14737 (print_max_error): Likewise. Update calls to other affected
14738 functions.
14739 (print_complex_max_error): Likewise.
14740 (test_single_exception): Update calls to print_screen.
14741 (test_single_errno): Likewise.
14742 (check_float_internal): Remove xfail argument. Update calls to
14743 other affected functions.
14744 (check_float): Likewise.
14745 (check_complex): Likewise.
14746 (check_int): Likewise.
14747 (check_long): Likewise.
14748 (check_bool): Likewise.
14749 (check_longlong): Likewise.
14750 (main): Don't print noXFails and noXPasses.
14751 * math/gen-libm-test.pl (top level): Don't mention expected
14752 failure handling in comment.
14753 (new_test): Don't handle expected failures.
14754 (parse_args): Don't mention expected failure handling in comment.
14755 (generate_testfile): Don't handle expected failures.
14756 (parse_ulps): Likewise.
14757 (print_ulps_file): Likewise.
14758 (get_failure): Remove function.
14759 (output_test): Don't handle expected failures.
14760 * make/README.libm-test: Don't mention expected failure handling.
14761
a7548d41
JM
14762 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14763 (minus_zero): Likewise.
14764 (plus_infty): Likewise.
14765 (minus_infty): Likewise.
14766 (qnan_value): Likewise.
14767 (max_value): Likewise.
14768 (min_value): Likewise.
14769 (min_subnorm_value): Likewise.
14770 (initialize): Do not initialize those variables dynamically.
14771
60bfd54c
RM
147722013-05-03 Roland McGrath <roland@hack.frob.com>
14773
cc0e6ed8
RM
14774 * io/open.c (__open_2): Moved to ...
14775 * io/open_2.c: ... this new file.
14776 * io/open64.c (__open64_2): Moved to ...
14777 * io/open64_2.c: ... this new file.
14778 * io/openat.c (__openat_2): Moved to ...
14779 * io/openat_2.c: ... this new file.
14780 * io/openat64.c (__openat64_2): Moved to ...
14781 * io/openat64_2.c: ... this new file.
14782 * io/Makefile (routines): Add them.
14783 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14784 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14785 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14786 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14787 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14788 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14789 (__openat64): Add hidden_ver.
14790 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14791 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14792
60bfd54c
RM
14793 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14794 Separately conditionalize setting of GLRO(dl_sysinfo) so
14795 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14796 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14797
83e7640f
AZ
147982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14799
14800 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14801 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14802 definition.
14803 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14804 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14805 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14806 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14807 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14808
d5dc2af3
JM
148092013-05-03 Joseph Myers <joseph@codesourcery.com>
14810
c31a5b1e
JM
14811 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14812 test signgam value.
14813
d5dc2af3
JM
14814 * math/libm-test.inc (hypot_test): Do not use
14815 IGNORE_ZERO_INF_SIGN.
14816
164fd39d
AJ
148172013-05-03 Andreas Jaeger <aj@suse.de>
14818
14819 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14820 Linux 3.9.
14821 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14822 (PF_MAX): Adjust for VSOCK change.
14823
8237f48c
AZ
148242013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14825
14826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14827
9df02941
CD
148282013-05-02 Carlos O'Donell <carlos@redhat.com>
14829
14830 [BZ #15264]
14831 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14832 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14833 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14834
d422395e
DM
148352013-05-02 David S. Miller <davem@davemloft.net>
14836
14837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14838
a07c5731
OB
148392013-05-01 Ondřej Bílka <neleai@seznam.cz>
14840
14841 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14842
1324e37f
RM
148432013-05-01 Roland McGrath <roland@hack.frob.com>
14844
14845 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14846
0695940b
RS
148472013-05-01 Richard Smith <richard@metafoo.co.uk>
14848
bb5f27ad 14849 [BZ #14952]
0695940b
RS
14850 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14851 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14852 Use __attribute__ ((__gnu_inline__)).
14853 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14854 Don't use __attribute__ ((__gnu_inline__)).
14855
10de07f5
JM
148562013-05-01 Joseph Myers <joseph@codesourcery.com>
14857
14858 [BZ #15423]
14859 * math/s_catan.c (__catan): Handle small real or imaginary part of
14860 input specially to avoid spurious underflow.
14861 * math/s_catanf.c (__catanf): Likewise.
14862 * math/s_catanh.c (__catanh): Likewise.
14863 * math/s_catanhf.c (__catanhf): Likewise.
14864 * math/s_catanhl.c (__catanhl): Likewise.
14865 * math/s_catanl.c (__catanl): Likewise.
14866 * math/libm-test.inc (catan_test): Add more tests.
14867 (catanh_test): Likewise.
14868 * sysdeps/i386/fpu/libm-test-ulps: Update.
14869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14870
cb4d5414
AZ
148712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14872
14873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14874
caf84319
JM
148752013-04-30 Joseph Myers <joseph@codesourcery.com>
14876
14877 [BZ #15416]
14878 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14879 accurately for denominator in atan2.
14880 * math/s_catanf.c (__catanf): Likewise.
14881 * math/s_catanh.c (__catanh): Likewise.
14882 * math/s_catanhf.c (__catanhf): Likewise.
14883 * math/s_catanhl.c (__catanhl): Likewise.
14884 * math/s_catanl.c (__catanl): Likewise.
14885 * math/libm-test.inc (catan_test): Add more tests.
14886 (catanh_test): Likewise.
14887 * sysdeps/i386/fpu/libm-test-ulps: Update.
14888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14889
d569c6ee
SP
148902013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14891
6dbe713d
SP
14892 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14893
f0ee064b
SP
14894 * benchtests/Makefile (bench): Remove slow benchmarks.
14895 * benchtests/atan-inputs: Add slow benchmark inputs.
14896 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14897 (BENCH_FUNC): Accept variant offset.
14898 (VARIANT): Define.
14899 * benchtests/bench-skeleton.c (main): Run benchmark for each
14900 variant.
14901 * benchtests/cos-inputs: Add slow benchmark inputs.
14902 * benchtests/exp-inputs: Likewise.
14903 * benchtests/pow-inputs: Likewise.
14904 * benchtests/sin-inputs: Likewise.
14905 * benchtests/slowatan-inputs: Remove.
14906 * benchtests/slowatan.c: Remove.
14907 * benchtests/slowcos-inputs: Remove.
14908 * benchtests/slowcos.c: Remove.
14909 * benchtests/slowexp-inputs: Remove.
14910 * benchtests/slowexp.c: Remove.
14911 * benchtests/slowpow-inputs: Remove.
14912 * benchtests/slowpow.c: Remove.
14913 * benchtests/slowsin-inputs: Remove.
14914 * benchtests/slowsin.c: Remove.
14915 * benchtests/slowtan-inputs: Remove.
14916 * benchtests/slowtan.c: Remove.
14917 * benchtests/tan-inputs: Add slow benchmark inputs.
14918 * scripts/bench.pl: Parse comments and directives.
14919
d569c6ee
SP
14920 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14921 in CPPFLAGS.
14922 ($(objpfx)bench-%.c): Remove *-ITER.
14923 * benchtests/bench-modf.c: Remove definition of ITER.
14924 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14925 (main): Loop for DURATION seconds instead of fixed number of
14926 iterations.
14927 * scripts/bench.pl: Don't expect iterations in parameters.
14928
a6a242fe
RM
149292013-04-29 Roland McGrath <roland@hack.frob.com>
14930
14931 * io/fchdir.c (__fchdir): Renamed from fchdir.
14932 (fchdir): Define as weak alias.
14933
f2da7793
JM
149342013-04-29 Joseph Myers <joseph@codesourcery.com>
14935
14936 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14937 (ERRNO_EDOM): Likewise.
14938 (ERRNO_ERANGE): Likewise.
14939 (noErrnoTests): New variable.
14940 (init_max_error): Set errno to 0.
14941 (test_single_errno): New function.
14942 (test_errno): Likewise.
14943 (check_float_internal): Call test_errno. Set errno to 0.
14944 (check_complex): Refer to errno tests in comment.
14945 (check_int): Call test_errno. Set errno to 0.
14946 (check_long): Likewise.
14947 (check_bool): Likewise.
14948 (check_longlong): Likewise.
14949 (cos_test): Use ERRNO_* flags for errno tests instead of
14950 check_int.
14951 (expm1_test): Likewise.
14952 (fmod_test): Likewise.
14953 (ilogb_test): Likewise.
14954 (lgamma_test): Likewise.
14955 (pow_test): Likewise.
14956 (remainder_test): Likewise.
14957 (sin_test): Likewise.
14958 (tan_test): Likewise.
14959 (yn_test): Likewise.
14960 (initialize): Set errno to 0.
14961 (main): Print number of errno tests.
14962 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14963
b1a36ceb
AJ
149642013-04-29 Andreas Jaeger <aj@suse.de>
14965
c3ed8088
AJ
14966 [BZ #15084]
14967 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14968 and RES_USEVC.
14969
f1a24198
AJ
14970 [BZ #15085]
14971 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14972 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14973 unimplemented.
14974
9ce3b2cb
AJ
14975 [BZ #15380]
14976 * stdlib/random.c (__initstate): Return NULL if
14977 __initstate fails.
14978
f1a24198 14979 [BZ #15086]
b1a36ceb
AJ
14980 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14981 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14982 RES_SNGLKUPREOP.
14983
7e7b6f36
AZ
149842013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14985
14986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14987
4d14f449
JM
149882013-04-29 Joseph Myers <joseph@codesourcery.com>
14989
14990 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14991 of individual tests.
14992 (casin_test): Likewise.
14993 (casinh_test): Likewise.
14994
5b4217d7
JM
149952013-04-27 Joseph Myers <joseph@codesourcery.com>
14996
14997 [BZ #15409]
14998 * math/s_catan.c (__catan): Handle arguments with large real or
14999 imaginary part separately without squaring.
15000 * math/s_catanf.c (__catanf): Likewise.
15001 * math/s_catanh.c (__catanh): Likewise.
15002 * math/s_catanhf.c (__catanhf): Likewise.
15003 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15004 and redefine.
15005 (__catanhl): Handle arguments with large real or imaginary part
15006 separately without squaring.
15007 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15008 and redefine.
15009 (__catanl): Handle arguments with large real or imaginary part
15010 separately without squaring.
15011 * math/libm-test.inc (catan_test): Add more tests.
15012 (catanh_test): Likewise.
15013 * sysdeps/i386/fpu/libm-test-ulps: Update.
15014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15015
4220c3ef
AJ
150162013-04-27 Andreas Jaeger <aj@suse.de>
15017
15018 [BZ #15007]
15019 * stdlib/stdlib.h: Update guards for qecvt.
15020 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15021 <stdlib.h>.
15022
4721b2d1
AM
150232013-04-27 Allan McRae <allan@archlinux.org>
15024
15025 * sysdeps/i386/fpu/libm-test-ulps: Update.
15026
f0302940
JM
150272013-04-26 Joseph Myers <joseph@codesourcery.com>
15028
9457fd95
JM
15029 [BZ #15406]
15030 * math/s_catan.c: Include <float.h>.
15031 (__catan): Ensure underflow exception occurs for underflowed
15032 result.
15033 * math/s_catanf.c: Include <float.h>.
15034 (__catanf): Ensure underflow exception occurs for underflowed
15035 result.
15036 * math/s_catanh.c: Include <float.h>.
15037 (__catanh): Ensure underflow exception occurs for underflowed
15038 result.
15039 * math/s_catanhf.c: Include <float.h>.
15040 (__catanhf): Ensure underflow exception occurs for underflowed
15041 result.
15042 * math/s_catanhl.c: Include <float.h>.
15043 (__catanhl): Ensure underflow exception occurs for underflowed
15044 result.
15045 * math/s_catanl.c: Include <float.h>.
15046 (__catanl): Ensure underflow exception occurs for underflowed
15047 result.
15048 * math/libm-test.inc (catan_test): Add more tests.
15049 (catanh_test): Likewise.
15050
f0302940
JM
15051 [BZ #15405]
15052 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15053 underflowed result.
15054 * math/s_ccoshf.c (__ccoshf): Likewise.
15055 * math/s_ccoshl.c (__ccoshl): Likewise.
15056 * math/s_csin.c (__csin): Likewise.
15057 * math/s_csinf.c (__csinf): Likewise.
15058 * math/s_csinh.c (__csinh): Likewise.
15059 * math/s_csinhf.c (__csinhf): Likewise.
15060 * math/s_csinhl.c (__csinhl): Likewise.
15061 * math/s_csinl.c (__csinl): Likewise.
15062 * math/libm-test.inc (ccos_test): Add more tests.
15063 (ccosh_test): Likewise.
15064 (csin_test): Likewise.
15065 (csinh_test): Likewise.
15066
aa630f59
AZ
150672013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15068
15069 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15070 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15071 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15072 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15073 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15074 powerpc/power5+/fpu folders.
15075 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15076
15077
1b835983
MT
150782013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15079
15080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15081
73709b26
JM
150822013-04-25 Joseph Myers <joseph@codesourcery.com>
15083
15084 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15085 additions to variable.
15086 [$(config-machine) = x86_64] (modules-names): Likewise.
15087 ($(objpfx)tst-audit3): Remove dependency.
15088 ($(objpfx)tst-audit3.out): Likewise.
15089 ($(objpfx)tst-audit4): Likewise.
15090 ($(objpfx)tst-audit4.out): Likewise.
15091 ($(objpfx)tst-audit5): Likewise.
15092 ($(objpfx)tst-audit5.out): Likewise.
15093 ($(objpfx)tst-audit6): Likewise.
15094 ($(objpfx)tst-audit6.out): Likewise.
15095 ($(objpfx)tst-audit7): Likewise.
15096 ($(objpfx)tst-audit7.out): Likewise.
15097 (tst-audit3-ENV): Remove variable.
15098 (tst-audit4-ENV): Likewise.
15099 (tst-audit5-ENV): Likewise.
15100 (tst-audit6-ENV): Likewise.
15101 (tst-audit7-ENV): Likewise.
15102 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15103 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15104 addition to variable.
15105 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15106 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15107 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15108 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15109 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15110 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15111 tst-audit3, tst-audit4 and tst-audit5.
15112 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15113 tst-audit6 and tst-audit7.
15114 [$(subdir) = elf] (modules-names): Add audit modules for those
15115 tests.
15116 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15117 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15118 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15119 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15120 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15121 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15122 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15123 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15124 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15125 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15126 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15127 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15128 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15129 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15130 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15131 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15132 Likewise.
15133 [$(subdir) = elf && $(config-cflags-avx) = yes]
15134 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15135 [$(subdir) = elf && $(config-cflags-avx) = yes]
15136 (CFLAGS-tst-auditmod4a.c): Likewise.
15137 [$(subdir) = elf && $(config-cflags-avx) = yes]
15138 (CFLAGS-tst-auditmod4b.c): Likewise.
15139 [$(subdir) = elf && $(config-cflags-avx) = yes]
15140 (CFLAGS-tst-auditmod6b.c): Likewise.
15141 [$(subdir) = elf && $(config-cflags-avx) = yes]
15142 (CFLAGS-tst-auditmod6c.c): Likewise.
15143 [$(subdir) = elf && $(config-cflags-avx) = yes]
15144 (CFLAGS-tst-auditmod7b.c): Likewise.
15145 * elf/tst-audit3.c: Move to ...
15146 * sysdeps/x86_64/tst-audit3.c: ... here.
15147 * elf/tst-audit4.c: Move to ...
15148 * sysdeps/x86_64/tst-audit4.c: ... here.
15149 * elf/tst-audit5.c: Move to ...
15150 * sysdeps/x86_64/tst-audit5.c: ... here.
15151 * elf/tst-audit6.c: Move to ...
15152 * sysdeps/x86_64/tst-audit6.c: ... here.
15153 * elf/tst-audit7.c: Move to ...
15154 * sysdeps/x86_64/tst-audit7.c: ... here.
15155 * elf/tst-auditmod3a.c: Move to ...
15156 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15157 * elf/tst-auditmod3b.c: Move to ...
15158 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15159 * elf/tst-auditmod4a.c: Move to ...
15160 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15161 * elf/tst-auditmod4b.c: Move to ...
15162 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15163 * elf/tst-auditmod5a.c: Move to ...
15164 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15165 * elf/tst-auditmod5b.c: Move to ...
15166 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15167 * elf/tst-auditmod6a.c: Move to ...
15168 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15169 * elf/tst-auditmod6b.c: Move to ...
15170 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15171 * elf/tst-auditmod6c.c: Move to ...
15172 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15173 * elf/tst-auditmod7a.c: Move to ...
15174 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15175 * elf/tst-auditmod7b.c: Move to ...
15176 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15177
1ef74943
PP
151782013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15179
15180 [BZ #15366]
15181 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15182 define unconditionally.
15183 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15184 define unconditionally.
15185 (INT8_C, INT16_C, etc.): Likewise.
15186
93fd48c5
MR
151872013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15188
ae9552cf
MR
15189 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15190 __ehdr_start with hidden visibility.
15191
93fd48c5
MR
15192 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15193
418601aa
CD
151942013-04-24 Carlos O'Donell <carlos@redhat.com>
15195
15196 * math/libm-test.inc (cos_test): Use accurate hex constants.
15197 (sincost_test): Likewise.
15198
2f38fbfe
JM
151992013-04-24 Joseph Myers <joseph@codesourcery.com>
15200
5e221800
JM
15201 * math/libm-test.inc (catan_test): Add more tests.
15202 (catanh_test): Likewise.
15203
77f143fd
JM
15204 * math/s_catanf.c (__catanf): Use suffixed floating-point
15205 constants.
15206 * math/s_catanhf.c (__catanhf): Likewise.
15207 * math/s_catanhl.c (__catanhl): Likewise.
15208 * math/s_catanl.c (__catanl): Likewise.
15209
2f38fbfe
JM
15210 [BZ #15394]
15211 * math/s_catan.c (__catan): Calculate imaginary part of result
15212 with log1p not log unless computing log of number close to 0.
15213 * math/s_catanf.c (__catanf): Likewise.
15214 * math/s_catanl.c (__catanl): Likewise.
15215 * math/s_catanh.c (__catanh): Calculate real part of result with
15216 log1p not log unless computing log of number close to 0.
15217 * math/s_catanhf.c (__catanhf): Likewise.
15218 * math/s_catanhl.c (__catanhl): Likewise.
15219 * math/libm-test.inc (catan_test): Add more tests.
15220 (catanh_test): Likewise.
15221 * sysdeps/i386/fpu/libm-test-ulps: Update.
15222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15223
45d69176
SP
152242013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15225
15226 * benchtests/Makefile: Mention files in which fast and slow
15227 paths of math functions are implemented.
15228
87f51853
RM
152292013-04-23 Roland McGrath <roland@hack.frob.com>
15230
15231 * sysdeps/posix/timespec_get.c: New file.
15232
3c026539
AZ
152332013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15234
15235 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15236 POWER.
15237 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15238 for POWER.
15239 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15240 powerpc/power5/fpu folders.
15241 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15242 * benchtests/Makefile: Add modf testcase.
15243 * benchtests/bench-modf.c: New file: Benchmark test for mo
15244
ff491d14
SP
152452013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15246
15247 [BZ #14888]
15248 * time/Makefile (tests): Add tst-strptime-whitespace.
15249 * time/strptime_l.c (get_number): Use ISSPACE.
15250 (__strptime_internal): Likewise.
15251 * time/tst-strptime-whitespace.c: New test case.
15252
7ed3f4e8
AS
152532013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15254
15255 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15256 member.
15257 (_nss_files_init): Set it here.
15258
5c95f7b6
HC
152592013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15260
15261 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15262 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15263 unsigned.
15264
d34c9158
JBG
152652013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15266
15267 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15268
2169712d
SP
152692013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15270
15271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15272 size just once.
15273
29c5de99
DM
152742013-04-21 David S. Miller <davem@davemloft.net>
15275
15276 * po/ru.po: Update Russion translation from translation project.
15277
ccdad15d
AC
152782013-04-17 Adam Conrad <adconrad@0c3.net>
15279
15280 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15281 and setfsgid.
15282
0f122b8d
CD
152832013-04-17 Carlos O'Donell <carlos@redhat.com>
15284
5c5b07da 15285 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15286 * configure: Regenerate.
5c5b07da 15287 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15288 Add example to error message.
15289 * sysdeps/i386/configure: Regenerate.
15290
037714dd
SP
152912013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15292
15293 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15294 slowtan.
15295 * benchtests/cos-inputs: New file.
15296 * benchtests/slowcos-inputs: New file.
15297 * benchtests/slowcos.c: New file.
15298 * benchtests/slowtan-inputs: New file.
15299 * benchtests/slowtan.c: New file.
15300 * benchtests/tan-inputs: New file.
15301
e913141d
RM
153022013-04-16 Roland McGrath <roland@hack.frob.com>
15303
15304 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15305 considered kosher.
15306
a2964074
SP
153072013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15308
4856bcd2
SP
15309 * benchtests/Makefile: Include cppflags-iterator.mk to add
15310 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15311
a2964074
SP
15312 * Makefile.in (bench-clean): New target.
15313 * benchtests/Makefile (bench-clean): Likewise.
15314
9fbf9aca
DH
153152013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15316
15317 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15318
207d1e2a
TS
153192013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15320
15321 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15322
306dfba9
AS
153232013-04-15 Andreas Schwab <schwab@suse.de>
15324
15325 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15326 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15327 * nscd/pwdcache.c (cache_addpw): Likewise.
15328 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15329 more than recsize.
15330
206a6699
SP
153312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15332
15333 * benchtests/Makefile (bench): Write all output to
15334 bench-out.tmp together.
15335
0582f6b3
AS
153362013-04-15 Andreas Schwab <schwab@suse.de>
15337
15338 * nscd/nscd.c (main): Don't fork again after closing files.
15339
acb4325f
SP
153402013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15341
5cb26d0a
SP
15342 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15343
acb4325f
SP
15344 * benchtests/Rules (bench-deps): Collect dependencies into a
15345 single variable. Add Makefile to dependencies.
15346 ($(objpfx)bench-%.c): Depend on bench-deps.
15347
47792506
RM
153482013-04-12 Roland McGrath <roland@hack.frob.com>
15349 Xavier Roche <roche+kml2@exalead.com>
15350
15351 [BZ #15361]
15352 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15353 just that it's a file descriptor.
15354 * manual/llio.texi (Synchronizing AIO Operations): Update description
15355 for EBADF error from aio_fsync.
15356
8fc1bee5
SP
153572013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15358
15359 * Rules (bench): Move target definition...
15360 * benchtests/Makefile: ... here.
15361
aba5e333
CD
153622013-04-11 Carlos O'Donell <carlos@redhat.com>
15363
15364 * math/libm-test.inc (cos_test): Fix PI/2 test.
15365 (sincos_test): Likewise.
15366 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15367 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15368
273cdee8
AS
153692013-04-11 Andreas Schwab <schwab@suse.de>
15370
6ecec3b6
AS
15371 [BZ #13988]
15372 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15373 accept exponent character only when digits were seen.
15374 * stdio-common/Makefile (tests): Add bug26.
15375 * stdio-common/bug26.c: New file.
15376
273cdee8
AS
15377 [BZ #14293]
15378 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15379 non-freeable.
15380
8da491f5
SP
153812013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15382
01dc6df9
SP
15383 * Makeconfig (rtld-prefix): Define built linker prefix.
15384 * Rules (run-bench): Use it.
15385 * math/Makefile (run-regen-ulps): Likewise.
15386
8da491f5
SP
15387 * Rules (bench): Remove eval.
15388
abe7f530
SP
153892013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15390 Roland McGrath <roland@hack.frob.com>
15391 Ondrej Bilka <neleai@seznam.cz>
15392
15393 [BZ #15346]
15394 * time/getdate.c: Include ctype.h and alloca.h.
15395 (__getdate_r): Trim leading and trailing spaces of input.
15396 * time/tst-getdate.c (tests): Add tests with leading and
15397 trailing spaces.
15398
61c23e62
RM
153992013-04-08 Roland McGrath <roland@hack.frob.com>
15400
15401 [BZ #14280]
15402 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15403 when computing value.
15404
7208a313
CD
154052013-04-06 Carlos O'Donell <carlos@redhat.com>
15406
085b2d41
CD
15407 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15408 Use testrun.sh to run libm tests.
15409
7208a313
CD
15410 [BZ #15309]
15411 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15412
872c0acd
MM
154132013-04-06 Marko Myllynen <myllynen@redhat.com>
15414
15415 [BZ #15264]
15416 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15417
26510bdd
CD
154182013-04-06 Carlos O'Donell <carlos@redhat.com>
15419
15420 * Makefile.in (regen-ulps): New target.
15421 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15422 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15423 [ifneq (no,$(PERL)] (regen-ulps): New target.
15424 [ifeq (no,$(PERL)] (regen-ulps): New target.
15425 * math/libm-test.inc (ulps_file_name): Define.
15426 (output_dir): New variable.
15427 (options): Add "output-dir" option.
15428 (parse_opt): Handle 'o' case.
15429 (main): If output_dir is non-NULL use it as a prefix
15430 otherwise use "".
15431 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15432
a01f19c8
CD
154332013-04-06 Carlos O'Donell <carlos@redhat.com>
15434
15435 [BZ #10060, #10062]
15436 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15437 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15438 fail configure if __sync_val_compare_and_swap is not inlined.
15439 * sysdeps/i386/configure: Regenerate.
15440 * configure.in: Build for i686 when configured for i386.
15441 * configure: Regenerate.
15442 * README: Remove i386 reference.
15443
b7a329a5
CD
154442013-04-06 Carlos O'Donell <carlos@redhat.com>
15445
15446 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15447 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15448
bf0f50df
TS
154492013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15450
ee091edf
TS
15451 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15452 (lmsnanval): New variables.
15453 (F): Add conversion tests.
15454 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15455 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15456
a8b792d6
TS
15457 * stdio-common/tstdiomisc.c (F): Properly collect individual
15458 tests' results.
15459
a1cbf437
TS
15460 [BZ #14686, #15336]
15461 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15462 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15463 Instead, use input NaN values or generate a qNaN by arithmetic
15464 operation. Also fix bugs to comply with the standard.
15465 * math/libm-test.inc (remainder_test): Add more tests.
15466
8b43a0c9
TS
15467 [BZ #15335, #15342]
15468 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15470 input NaN values or generate a qNaN by arithmetic operation.
15471
d91da4ce
TS
15472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15473 unreachable code.
15474
bf0f50df
TS
15475 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15476 definitions.
15477
05e166c8
JM
154782013-04-03 Joseph Myers <joseph@codesourcery.com>
15479
15480 [BZ #14478]
15481 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15482 underflowed result.
15483 * math/s_cexpf.c (__cexpf): Likewise.
15484 * math/s_cexpl.c (__cexpl): Likewise.
15485 * math/libm-test.inc (cexp_test): Add more tests.
15486
1cef1b19
AS
154872013-04-03 Andreas Schwab <schwab@suse.de>
15488
15489 [BZ #15330]
15490 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15491 order arrays from heap if bigger than alloca cutoff.
15492
74d87055
TS
154932013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15494
15495 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15496 (SNAN_TESTS_double): Refer to GCC PR56831.
15497 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15498 GCC PR56828.
15499
d755bba4
SP
155002013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15501
90d5d5bb
SP
15502 * Rules (bench): Move bench.out after the run is complete.
15503
73e0cd5d
SP
15504 * Rules (bench): Echo currently running benchmark.
15505
64aabd4b
SP
15506 * benchtests/Makefile (bench): Add atan and slowatan.
15507 * benchtests/atan-inputs: New file.
15508 * benchtests/slowatan-inputs: New file.
15509 * benchtests/slowatan.c: New file.
15510
c871eccd
SP
15511 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15512 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15513 its value.
15514
d755bba4
SP
15515 [BZ #15305]
15516 * sysdeps/unix/sysv/linux/kernel-features.h
15517 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15518 __ASSUME_XFS_RESTRICTED_CHOWN.
15519 * sysdeps/unix/sysv/linux/pathconf.c
15520 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15521 Save and restore errno.
15522
52ce4860
JM
155232013-04-02 Joseph Myers <joseph@codesourcery.com>
15524
15525 [BZ #15327]
15526 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15527 arguments using __kernel_casinh.
15528 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15529 arguments using __kernel_casinhf.
15530 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15531 arguments using __kernel_casinhl.
15532 * math/libm-test.inc (cacosh_test): Add more tests.
15533 * sysdeps/i386/fpu/libm-test-ulps: Update.
15534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15535
81f311c2
SP
155362013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15537
e7906a47
SP
15538 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15540
92e3664b
SP
15541 * bench/Makefile (bench): Add sin and slowsin.
15542 * benchtests/sin-inputs: New file.
15543 * benchtests/slowsin-inputs: New file.
15544 * benchtests/slowsin.c: New file.
15545
81f311c2
SP
15546 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15547 (bench): Add slowexp and slowpow.
15548 (exp-ITER): Increase iterations.
15549 (pow-ITER): Likewise.
15550 * benchtests/exp-inputs: Change input.
15551 * benchtests/pow-inputs: Likewise.
15552 * benchtests/slowexp-inputs: New file.
15553 * benchtests/slowexp.c: New file.
15554 * benchtests/slowpow-inputs: New file.
15555 * benchtests/slowpow.c: New file.
15556
ab0f1aa9
AZ
155572013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15558
15559 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15560 instructions.
15561 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15562 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15563 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15564 * benchtests/Makefile: Add rint benchtest.
15565 * benchtests/rint-inputs: Input for rint benchtest.
15566
57267616
TS
155672013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15568
15569 * Versions.def (libm): Add GLIBC_2.18.
15570 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15571 hidden libm prototypes.
15572 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15573 * math/Makefile (libm-calls): Add s_issignaling.
15574 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15575 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15576 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15577 declaration.
15578 * math/math.h [__USE_GNU] (issignaling): New macro.
15579 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15580 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15581 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15585 * manual/arith.texi (issignaling): New section.
15586 * manual/libm-err-tab.pl (@all_functions): Update comment.
15587 * math/gen-libm-test.pl (parse_args): Apply special handling for
15588 issignaling.
15589 * math/libm-test.inc (print_float, issignaling_test): New
15590 functions.
15591 (check_float_internal): Add issignaling checks.
15592 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15593 default definition.
15594 * sysdeps/powerpc/math-tests.h: New file.
15595 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15596 tests.
15597 * math/test-snan.c (TEST_FUNC): Likewise.
15598
6142896d
DM
155992013-03-30 David S. Miller <davem@davemloft.net>
15600
15601 * po/de.po: Update from translation team.
15602
ccc8cadf
JM
156032013-03-30 Joseph Myers <joseph@codesourcery.com>
15604
15605 [BZ #10357]
15606 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15607 imaginary part less than 1.0 and real part less than 0.5
15608 specially.
15609 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15610 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15611 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15612 (cacos_test): Add more tests.
15613 (casin_test): Likewise.
15614 (casinh_test): Likewise.
15615 * sysdeps/i386/fpu/libm-test-ulps: Update.
15616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15617
0f6a8d4b
SP
156182013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15619
0d1029de
SP
15620 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15621 ONE with its value.
15622
c2d94018
SP
15623 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15624 (__pow_mp): Replace ONE and MONE with their values.
15625 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15626 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15627 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15628 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15629 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15630 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15631
27ec37f1
SP
15632 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15633
a64d7e0e
SP
15634 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15635 (__pow_mp): Replace ZERO and MZERO with their values.
15636 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15637 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15638 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15640 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15641 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15642 (__sqr): Likewise.
15643
d26dd3eb
SP
15644 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15645
0f6a8d4b
SP
15646 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15647
e57b0c61
RM
156482013-03-28 Roland McGrath <roland@hack.frob.com>
15649
15650 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15651 Declare with __attribute__ ((weak)).
15652 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15653 Call __call_tls_dtors only if it's not NULL.
15654
356b3480
RM
156552013-03-28 Roland McGrath <roland@hack.frob.com>
15656
288f7d79
RM
15657 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15658 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15659 magic __ehdr_start linker symbol if it's defined.
15660 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15661 them up here if it was already done.
15662
dc0a0263
RM
15663 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15664 (_dl_aux_init): Use const in cast when setting it.
15665 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15666 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15667 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15668
3d3436ae
RM
15669 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15670 Declare them here.
15671 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15672 * csu/libc-tls.c: Nor here.
15673 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15674
356b3480
RM
15675 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15676 (__libc_message): Never call vsyslog.
15677
b0f1246a
AM
156782013-03-28 Alan Modra <amodra@gmail.com>
15679
15680 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15681 Define as empty.
15682 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15683 Likewise.
15684
fbbe2b9a
AZ
156852013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15686
15687 [BZ #15214]
15688 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15689 underflow.
15690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15691
1728ab37
SP
156922013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15693
7a86be6e
SP
15694 [BZ #15304]
15695 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15696 Don't add gid passed as argument.
15697
1728ab37
SP
15698 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15699
3a7182a1
JM
157002013-03-27 Joseph Myers <joseph@codesourcery.com>
15701
15702 [BZ #15307]
15703 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15704 imaginary part between 1.0 and 1.5 and real part less than 0.5
15705 specially.
15706 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15707 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15708 * math/libm-test.inc (cacos_test): Add more tests.
15709 (casin_test): Likewise.
15710 (casinh_test): Likewise.
15711 * sysdeps/i386/fpu/libm-test-ulps: Update.
15712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15713
6f2e90e7
SP
157142013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15715
5739f705
SP
15716 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15717 constants.
15718 (norm): Likewise.
15719 (denorm): Likewise.
15720 (__dbl_mp): Likewise.
15721 (add_magnitudes): Likewise.
15722 (sub_magnitudes): Likewise.
15723 (__add): Likewise.
15724 (__sub): Likewise.
15725 (__mul): Likewise.
15726 (__sqr): Likewise.
15727 (__inv): Likewise.
15728 (__dvd): Likewise.
15729
e375e83d
SP
15730 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15731 commented code.
15732 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15733 (__dubcos): Likewise.
15734 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15735 (__ieee754_acos): Likewise.
15736 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15737 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15738 (__exp1): Likewise.
15739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15741 (log1): Likewise.
15742 (my_log2): Likewise.
15743 (checkint): Likewise.
15744 * sysdeps/ieee754/dbl-64/e_remainder.c
15745 (__ieee754_remainder): Likewise.
15746 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15748 (bsloww): Likewise.
15749 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15750
6f2e90e7
SP
15751 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15752 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15753 MANTISSA_STORE_T to store computations on mantissa. Use
15754 macros for rounding and division.
15755 (denorm): Likewise.
15756 (__dbl_mp): Likewise.
15757 (add_magnitudes): Likewise.
15758 (sub_magnitudes): Likewise.
15759 (__mul): Likewise.
15760 (__sqr): Likewise.
15761 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15762 powers of two in terms of TWOPOW macro.
15763 (mp_no): Make type of mantissa as MANTISSA_T.
15764 [!RADIXI]: Define RADIXI.
15765 [!TWO52]: Define TWO52.
15766 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15767
fce14d4e
AZ
157682013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15769
15770 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15771 llroundl symbol when building for PPC32.
15772
9ad027fb
MW
157732013-03-24 Mark H Weaver <mhw@netris.org>
15774
15775 * manual/arith.texi (Normalization Functions): Fix prototypes for
15776 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15777
e42a38dd
AZ
157782013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15779
15780 [BZ #13889]
15781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15782 high value to check if expl overflow.
15783 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15784 to check for underflow and overflow.
15785 * math/libm-test.inc: Add exp test.
15786
2e0fb521
DL
157872013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15788
15789 [BZ #11120]
15790 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15791 with NOT_IN_libc.
15792
b5784d95
AZ
157932013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15794
15795 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15796 symbol.
15797
5aa4a1a1
TS
157982013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15799
bdef0be7
TS
15800 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15801 wrap blocks consisting of several statements.
15802
5aa4a1a1
TS
15803 * sysdeps/generic/math-tests.h: New file.
15804 * sysdeps/i386/fpu/math-tests.h: Likewise.
15805 * math/test-snan.c: Include it.
15806 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15807
98c48fe5
JM
158082013-03-21 Joseph Myers <joseph@codesourcery.com>
15809
15810 [BZ #15285]
15811 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15812 (__ieee754_j0l): Do not improve calculations using cos of twice
15813 input for inputs above LDBL_MAX / 2.0L.
15814 (__ieee754_y0l): Likewise.
15815 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15816 (__ieee754_j1l): Do not improve calculations using cos of twice
15817 input for inputs above LDBL_MAX / 2.0L.
15818 (__ieee754_y1l): Likewise.
15819 * math/libm-test.inc (j0_test): Add another test.
15820 (j1_test): Likewise.
15821 (y0_test): Likewise.
15822 (y1_test): Likewise.
15823 * sysdeps/i386/fpu/libm-test-ulps: Update.
15824
3775a8bc
SP
158252013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15826
15827 * Rules ($(objpfx)bench-%.c): Include code from a C source
15828 file.
15829
0a1b2ae6
JM
158302013-03-21 Joseph Myers <joseph@codesourcery.com>
15831
15832 [BZ #15287]
15833 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15834 imaginary part 1.0 and real part less than 0.5 specially.
15835 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15836 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15837 * math/libm-test.inc (cacos_test): Add more tests.
15838 (casin_test): Likewise.
15839 (casinh_test): Likewise.
15840 * sysdeps/i386/fpu/libm-test-ulps: Update.
15841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15842
b33d4ce4
SP
158432013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15844
15845 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15846 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15847
bef0b507
JM
158482013-03-20 Joseph Myers <joseph@codesourcery.com>
15849
15850 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15851 * config.make.in (config-cflags-sse4): Remove variable.
15852 (config-cflags-avx): Likewise.
15853 (config-cflags-sse2avx): Likewise.
15854 (config-cflags-novzeroupper): Likewise.
15855 (config-asflags-i686): Likewise.
15856 (have-mfma4): Likewise.
15857 (have-as-vis3): Likewise.
15858 (MIG): Likewise.
15859 * configure.in (MIG): Do not AC_SUBST.
15860 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15861 (libc_cv_cc_sse4): Do not AC_SUBST.
15862 (libc_cv_cc_avx): Likewise.
15863 (libc_cv_cc_sse2avx): Likewise.
15864 (libc_cv_cc_novzeroupper): Likewise.
15865 (libc_cv_cc_fma4): Likewise.
15866 (libc_cv_as_i686): Likewise.
15867 (libc_cv_sparc_as_vis3): Likewise.
15868 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15869 LIBC_CONFIG_VAR.
15870 (config-asflags-i686): Likewise.
15871 (config-cflags-avx): Likewise.
15872 (config-cflags-sse2avx): Likewise.
15873 (have-mfma4): Likewise.
15874 (config-cflags-novzeroupper): Likewise.
15875 * sysdeps/mach/configure.in (MIG): Likewise.
15876 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15877 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15878 LIBC_CONFIG_VAR.
15879 (config-cflags-avx): Likewise.
15880 (config-cflags-sse2avx): Likewise.
15881 (have-mfma4): Likewise.
15882 (config-cflags-novzeroupper): Likewise.
15883 * configure: Regenerated.
15884 * sysdeps/i386/configure: Likewise.
15885 * sysdeps/mach/configure: Likewise.
15886 * sysdeps/sparc/configure: Likewise.
15887 * sysdeps/x86_64/configure: Likewise.
15888
912cc4b3
RM
158892013-03-20 Roland McGrath <roland@hack.frob.com>
15890
15891 [BZ #14812]
15892 * locale/programs/localedef.c (options): Put N_ translation marker
15893 on argument names, not just descriptions.
15894
04eed2b0
MS
158952013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15896
15897 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15898
a065ceff
OB
158992013-03-20 Ondřej Bílka <neleai@seznam.cz>
15900
9bb2a810 15901 [BZ #14176]
a065ceff
OB
15902 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15903
a600e5ce
RM
159042013-03-19 Roland McGrath <roland@hack.frob.com>
15905
15906 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15907 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15908 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15909 [!BEFORE_ABORT] (before_abort): New function.
15910 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15911 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15912 (writev_for_fatal): New function.
15913 (WRITEV_FOR_FATAL): New macro; call that.
15914 (backtrace_and_maps): New function.
15915 (BEFORE_ABORT): New macro; call that.
15916 (struct str_list): Type removed.
15917 (__libc_message, __libc_fatal): Functions removed.
15918 Include <sysdeps/posix/libc_fatal.c> instead.
15919
6b18bea6
JM
159202013-03-19 Joseph Myers <joseph@codesourcery.com>
15921
15922 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15923 constants.
15924 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15925 double constants.
15926
aaa8cb4b
AS
159272013-03-19 Andreas Schwab <schwab@suse.de>
15928
44673770
AS
15929 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15930 * sysdeps/gnu/configure: Regenerate.
15931
aaa8cb4b
AS
15932 * configure.in: Substitute libc_cv_rtlddir.
15933 * configure: Regenerate.
15934 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15935 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15936 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15937 * elf/Makefile (install-others, CFLAGS-interp.c)
15938 (ldso_install, common-ldd-rewrite): Likewise.
15939 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15940 $(inst_slibdir)/$(rtld-installed-name).
15941 * scripts/rellns-sh: Add -p option.
15942 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15943 for source.
15944
d3cfc668
SP
159452013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15946
15947 * manual/nptl.texi: Renamed to ...
15948 * manual/threads.texi: ... this.
15949 * manual/Makefile (chapters): Update.
15950
0e2b9cdd
RM
159512013-03-18 Roland McGrath <roland@hack.frob.com>
15952
15953 [BZ #14812]
15954 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15955 on argument names, not just descriptions.
0e2b9cdd
RM
15956 * malloc/memusagestat.c (options): Likewise.
15957 * nss/getent.c (options): Likewise.
63270c24
RM
15958
159592013-03-18 Benno Schulenberg <bensberg@justemail.net>
15960
15961 [BZ #14812]
15962 * iconv/iconv_prog.c (options): Put N_ translation marker
15963 on argument names, not just descriptions.
15964 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15965
b2e1393c
OB
159662013-03-18 Ondrej Bilka <neleai@seznam.cz>
15967
15968 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15969 implementation which is faster on all x86_64 architectures.
15970 Tested on AMD, Intel Nehalem, SNB, IVB.
15971 * sysdeps/x86_64/strnlen.S: Likewise.
15972
15973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15974 Remove all multiarch strlen and strnlen versions.
15975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15976 Remove strlen and strnlen related parts.
15977
15978 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15979 Inline strlen part.
15980 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15981
15982 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15983 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15984 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15985 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15986 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15987 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15988
ec4ff04d
CD
159892013-03-17 Carlos O'Donell <carlos@redhat.com>
15990
15991 * manual/memory.texi (Malloc Tunable Parameters):
15992 Sort parameters alphabetically. Add comments for missing entries.
15993
cd18e90a
DM
159942013-03-17 David S. Miller <davem@davemloft.net>
15995
15996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15997
2a185d32
JM
159982013-03-16 Joseph Myers <joseph@codesourcery.com>
15999
d2f9799e
JM
16000 [BZ #15283]
16001 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16002 for arguments at most half maximum finite value.
16003 * math/libm-test.inc (j0_test): Add more tests.
16004 (j1_test): Likewise.
16005 (y0_test): Likewise.
16006 (y1_test): Likewise.
16007 * sysdeps/i386/fpu/libm-test-ulps: Update.
16008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16009
2a185d32
JM
16010 [BZ #14155]
16011 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16012 1 / x and functions P and Q for arguments above 0x1p256L.
16013 (__ieee754_y0l): Likewise.
16014 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16015 (__ieee754_y1l): Likewise.
16016 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16017 (j1_test): Likewise.
16018 (y0_test): Likewise.
16019 (y1_test): Likewise.
16020
6cbec759
TS
160212013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16022
16023 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16024 variable.
16025
bc16e260
RM
160262013-03-15 Roland McGrath <roland@hack.frob.com>
16027
aefc9b8c
RM
16028 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16029 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16030 zero since it's initialized to EXEC_PAGESIZE.
16031
bc16e260
RM
16032 * sysdeps/unix/sysv/linux/ldsodefs.h
16033 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16034 * sysdeps/generic/ldsodefs.h: ... here.
16035
a57da955
TS
160362013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16037
af00a34d
TS
16038 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16039
495ded2c
TS
16040 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16041 math/test-snan.c.
16042 * math/test-snan.c: Renamed from
16043 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16044 * math/Makefile (tests): Add test-snan.
16045 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16046 test-powerpc-snan.
16047
777b0332
TS
16048 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16049 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16050 functions.
16051 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16052 __builtin_nan family of functions.
16053 * math/libm-test.inc (initialize): Initialize qnan_value with
16054 __builtin_nan family of functions.
16055 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16056 Remove variables.
16057 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16058 Remove functions.
16059 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16060 storage class. Initialize qNaN_var and sNaN_var with
16061 __builtin_nan and __builtin_nans families of functions,
16062 respectively.
16063
64d063b8
TS
16064 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16065 (sqrt_test): Remove duplicate test with qNaN input.
16066 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16067 (round_test, signbit_test, significand_test): Note missing +/-Inf
16068 as well as qNaN tests.
16069
67e971f1
TS
16070 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16071 qNaN_var. Fix a few strings, too.
16072 * math/libm-test.inc (nan_value): Rename to qnan_value.
16073 * math/gen-libm-test.pl (%beautify): Adjust to that.
16074 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16075 * math/test-misc.c (main): Likewise.
16076 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16077 to __qnan_bytes, and __qnan_union, respectively.
16078 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16079 Likewise.
16080 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16081 and lqnanval, respectively.
16082 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16083 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16084 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16085 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16086
64487e12
TS
16087 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16088 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16089 doubles.
16090
e015e27b
TS
16091 * math/test-misc.c (main): Fix copy'n'pastos.
16092 * misc/tst-efgcvt.c (special): Likewise.
16093
a57da955
TS
16094 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16095 Remove declarations.
16096
1e380345
SP
160972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16098
16099 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16100 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16101 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16102 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16103
ef26eece
AZ
161042013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16105
16106 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16107 macro to return vdso values correctly in IFUNC implementations.
16108 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16109 Optimization by using IFUNC.
16110
8cfdb7e0
SP
161112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16112 Richard Henderson <rth@redhat.com>
16113 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16114
16115 * Makefile.in (bench): New target.
16116 * NEWS: Mention the benchmark framework.
16117 * Rules (bench): Likewise.
16118 (binaries-bench): Generate binaries for functions to
16119 benchmark.
16120 * benchtests/Makefile: New makefile for benchmark tests.
16121 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16122 programs.
16123 * benchtests/exp-inputs: New input file for EXP function.
16124 * benchtests/pow-inputs: New input file for POW function.
16125 * scripts/bench.pl: New script to generate source files for
16126 benchmark programs.
16127
bcda9880
SP
161282013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16129
d22ca8cd
SP
16130 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16131 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16132 computations on mantissa. Use macros for rounding and
16133 division.
16134 (denorm): Likewise.
16135 (__dbl_mp): Likewise.
16136 (add_magnitudes): Likewise.
16137 (sub_magnitudes): Likewise.
16138 (__mul): Likewise.
16139 (__sqr): Likewise.
16140 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16141 powers of two in terms of TWOPOW macro.
16142 (mp_no): Make type of mantissa as MANTISSA_T.
16143 [!RADIXI]: Define RADIXI.
16144 [!TWO52]: Define TWO52.
16145 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16146
bcda9880
SP
16147 * manual/nptl.texi (cindex): Modify threads to pthreads.
16148
06d5adfb
JM
161492013-03-15 Joseph Myers <joseph@codesourcery.com>
16150
16151 * sysdeps/x86_64/preconfigure: Regenerated.
16152
41c7328e
JM
161532013-03-14 Joseph Myers <joseph@codesourcery.com>
16154
16155 [BZ #14155]
16156 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16157 0x1p28 and above.
16158 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16159 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16160 0x1p28 and above.
16161 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16162 * math/libm-test.inc (j0_test): Do not allow one spurious
16163 underflow exception.
16164 (y1_test): Likewise.
16165
e25cfa60
SP
161662013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16167
0409959c
SP
16168 * manual/Makefile (chapters): Add nptl.
16169 * manual/debug.texi (Debugging Support): Add link to Threads
16170 chapter.
16171 * manual/nptl.texi: New file.
16172
e25cfa60
SP
16173 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16174
58a1335e
PB
161752013-03-14 Petr Baudis <pasky@ucw.cz>
16176
16177 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16178 for non-NULL pointer before the memory validity test. Pointed
16179 out by Holger Brunck <holger.brunck@keymile.com>.
16180
9dc7c64f
AS
161812013-03-13 Andreas Schwab <schwab@suse.de>
16182
16183 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16184 instead of .os.
16185
54206aa6
JM
161862013-03-13 Joseph Myers <joseph@codesourcery.com>
16187
16188 * timezone/zic.c: Update from tzcode 2013b.
16189
e98cdb38
CD
161902013-03-12 Carlos O'Donell <carlos@redhat.com>
16191
16192 * manual/install.texi (Configuring and compiling):
16193 Mention i686 and i586.
16194 * INSTALL: Regenerate.
16195
9967e003
RM
161962013-03-12 Roland McGrath <roland@hack.frob.com>
16197
16198 * sysdeps/init_array/elf-init.c: New file.
16199 * csu/elf-init.c
16200 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16201 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16202
16203 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16204 __gmon_start__ as global, but as static with a .preinit_array pointer.
16205 * sysdeps/init_array/gmon-start.c: New file. Use that.
16206 * sysdeps/init_array/crti.S: New file, empty except for comments.
16207 * sysdeps/init_array/crtn.S: Likewise.
16208
e6b5a293 162092013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16210
16211 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16212 definining bcopy.
80f844c9
OB
16213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16214 Remove Prefer_SSE_for_memop.
16215 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16216 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16217 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16219 memset-x86-64.
80f844c9 16220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16221 Remove bzero, memset ifunc support.
80f844c9
OB
16222 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16223 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16224 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16225 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16226
fb6b0fcb
AS
162272013-03-11 Andreas Schwab <schwab@suse.de>
16228
16229 [BZ #15234]
16230 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16231 by SHLIB_COMPAT.
16232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16233 (GLIBC_2.16): Remove pthread_atfork.
16234
3e6bd4b1
PP
162352013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16236
16237 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16238 (ptestcases.h): Likewise.
16239
222d7f00
RM
162402013-03-08 Roland McGrath <roland@hack.frob.com>
16241
16242 * Makeconfig ($(common-objpfx)config.status): Depend on
16243 sysdeps/*/preconfigure{,.in} too.
16244
1ba4f030
JM
162452013-03-08 Joseph Myers <joseph@codesourcery.com>
16246
a222d91a
JM
16247 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16248 (__free_hook): Use void * instead of __malloc_ptr_t.
16249 (__malloc_hook): Likewise.
16250 (__realloc_hook): Likewise.
16251 (__memalign_hook): Likewise.
16252 (__after_morecore_hook): Likewise.
16253 * malloc/arena.c (save_malloc_hook): Likewise.
16254 (save_free_hook): Likewise.
16255 * malloc/hooks.c (malloc_hook_ini): Likewise.
16256 (realloc_hook_ini): Likewise.
16257 (memalign_hook_ini): Likewise.
16258 * malloc/malloc.c (malloc_hook_ini): Likewise.
16259 (realloc_hook_ini): Likewise.
16260 (memalign_hook_ini): Likewise.
16261 (__free_hook): Likewise.
16262 (__malloc_hook): Likewise.
16263 (__realloc_hook): Likewise.
16264 (__memalign_hook): Likewise.
16265 (__libc_malloc): Likewise.
16266 (__libc_free): Likewise.
16267 (__libc_realloc): Likewise.
16268 (__libc_memalign): Likewise.
16269 (__libc_valloc): Likewise.
16270 (__libc_pvalloc): Likewise.
16271 (__libc_calloc): Likewise.
16272 (__posix_memalign): Likewise.
16273 * malloc/morecore.c (__sbrk): Likewise.
16274 (__default_morecore): Likewise.
16275
5cc45e10
JM
16276 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16277
dd54b864
JM
16278 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16279 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16280 __malloc_ptrdiff_t.
16281
1ba4f030
JM
16282 * malloc/malloc.h (__malloc_size_t): Remove macro.
16283 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16284 __malloc_size_t.
16285 (old_memalign_hook): Likewise.
16286 (old_realloc_hook): Likewise.
16287 (struct hdr): Likewise.
16288 (flood): Likewise.
16289 (mallochook): Likewise.
16290 (memalignhook): Likewise.
16291 (reallochook): Likewise.
16292 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16293 (tr_old_realloc_hook): Likewise.
16294 (tr_old_memalign_hook): Likewise.
16295 (tr_mallochook): Likewise.
16296 (tr_reallochook): Likewise.
16297 (tr_memalignhook): Likewise.
16298
edf66e57
AZ
162992013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16300
16301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16302 default_ldbl_pack and using as default implementation.
16303 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16304 implementation.
16305 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16306 redundant definition.
16307 (ldbl_insert_mantissa): Likewise.
16308 (ldbl_canonicalize): Likewise.
16309 (ldbl_nearbyint): Likewise.
16310 (ldbl_pack): Rename to ldbl_pack_ppc.
16311 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16312 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16313 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16314
6d9145d8
SP
163152013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16316
16317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16318 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16319 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16320 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16322 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16323 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16324 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16325
4dd4e157
AJ
163262013-03-07 Andreas Jaeger <aj@suse.de>
16327
16328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16329 bits/mman-linux.h.
16330
adbb8027
SP
163312013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16332
ce544b5b
SP
16333 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16334 Include mpa.h and declare __MPEXP.
16335 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16336 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16337 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16338 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16339 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16340 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16341 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16342
4cc149fd
SP
16343 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16344 (__slowpow): Use long double EXPL and LOGL functions to
16345 compute POW.
16346 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16347 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16348 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16349 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16350 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16351 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16352
e6ebd4a7
SP
16353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16354 intermediate variable to calculate exponent.
16355 (__sqr): Likewise.
16356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16357 Likewise.
16358 (__sqr): Likewise.
16359
82a9811d
SP
16360 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16361 [!NO__SQR]: Define __sqr.
16362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16363 and NO__SQR. Remove all code except __mul and __sqr. Include
16364 sysdeps/ieee754/dbl-64/mpa.c.
16365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16366
adbb8027
SP
16367 [BZ #12723]
16368 * posix/Makefile (tests): Add tst-pathconf.
16369 * posix/tst-pathconf.c: New test case.
16370 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16371 _PC_PIPE_BUF.
16372 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16373
39120df9
PF
163742013-03-06 Patsy Franklin <pfrankli@redhat.com>
16375
16376 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16377
67525cb8
AJ
163782013-03-06 Andreas Jaeger <aj@suse.de>
16379
664a9ce4
AJ
16380 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16381 definition via __MAP_ANONYMOUS.
16382
8e39047d
AJ
16383 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16384 it's not part of Linux headers.
16385
67525cb8
AJ
16386 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16387 (MAP_HUGE_MASK): Define.
16388
16389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16390 Define.
16391 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16392 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16393 Define.
16394 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16395 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16396 Define.
16397 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16398 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16399 Define.
16400 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16401
16402 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16403 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16404 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16405 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16406 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16407 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16408
16409 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16410 Handle f2fs.
16411
16412 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16413 Handle f2fs and efivarfs.
16414
16415 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16416 f2fs.
16417
16418 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16419 (EFIVARFS_MAGIC): Add.
16420 (F2FS_LINK_MAX): Add.
16421
e1b42695
PP
164222013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16423
16424 * stdio-common/vfprintf.c: Replace __builtin_expect with
16425 __glibc_unlikely.
16426
2d67d91a
JM
164272013-03-06 Joseph Myers <joseph@codesourcery.com>
16428
16429 [BZ #13550]
16430 * sysdeps/generic/bp-sym.h: Remove file.
16431 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16432 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16433 <bp-sym.h> and <bp-asm.h>.
16434 (__longjmp): Don't use BP_SYM.
16435 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16436 and <bp-asm.h>.
16437 (memcpy): Don't use BP_SYM.
16438 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16439 <bp-sym.h> and <bp-asm.h>.
16440 (memcpy): Don't use BP_SYM.
16441 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16442 <bp-asm.h>.
16443 (memcpy): Don't use BP_SYM.
16444 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16445 <bp-asm.h>.
16446 (memset): Don't use BP_SYM.
16447 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16448 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16449 (__bzero): Don't use BP_SYM.
16450 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16451 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16452 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16453 <bp-sym.h> and <bp-asm.h>.
16454 (memcmp): Don't use BP_SYM. Remove comment about bounded
16455 pointers.
16456 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16457 <bp-sym.h> and <bp-asm.h>.
16458 (memcpy): Don't use BP_SYM.
16459 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16460 <bp-sym.h> and <bp-asm.h>.
16461 (memset): Don't use BP_SYM.
16462 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16463 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16464 (__bzero): Don't use BP_SYM.
16465 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16466 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16467 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16468 <bp-sym.h> and <bp-asm.h>.
16469 (strncmp): Don't use BP_SYM. Remove comment about bounded
16470 pointers.
16471 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16472 <bp-sym.h> and <bp-asm.h>.
16473 (memcpy): Don't use BP_SYM.
16474 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16475 <bp-sym.h> and <bp-asm.h>.
16476 (memset): Don't use BP_SYM.
16477 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16478 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16479 (__bzero): Don't use BP_SYM.
16480 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16481 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16482 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16483 <bp-sym.h> and <bp-asm.h>.
16484 (__memchr): Don't use BP_SYM.
16485 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16486 <bp-sym.h> and <bp-asm.h>.
16487 (memcmp): Don't use BP_SYM. Remove comment about bounded
16488 pointers.
16489 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16490 <bp-sym.h> and <bp-asm.h>.
16491 (memcpy): Don't use BP_SYM.
16492 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16493 <bp-sym.h> and <bp-asm.h>.
16494 (__mempcpy): Don't use BP_SYM.
16495 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16496 <bp-sym.h> and <bp-asm.h>.
16497 (__memrchr): Don't use BP_SYM.
16498 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16499 <bp-sym.h> and <bp-asm.h>.
16500 (memset): Don't use BP_SYM.
16501 (__bzero): Likewise.
16502 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16503 <bp-sym.h> and <bp-asm.h>.
16504 (__rawmemchr): Don't use BP_SYM.
16505 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16506 <bp-sym.h> and <bp-asm.h>.
16507 (__STRCMP): Don't use BP_SYM.
16508 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16509 <bp-sym.h> and <bp-asm.h>.
16510 (strchr): Don't use BP_SYM.
16511 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16512 <bp-sym.h> and <bp-asm.h>.
16513 (__strchrnul): Don't use BP_SYM.
16514 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16515 <bp-sym.h> and <bp-asm.h>.
16516 (strlen): Don't use BP_SYM.
16517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16518 <bp-sym.h> and <bp-asm.h>.
16519 (strncmp): Don't use BP_SYM. Remove comment about bounded
16520 pointers.
16521 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16522 <bp-sym.h> and <bp-asm.h>.
16523 (__strnlen): Don't use BP_SYM.
16524 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16525 <bp-sym.h> and <bp-asm.h>.
16526 (__GI__setjmp): Don't use BP_SYM.
16527 (_setjmp): Likewise.
16528 (__sigsetjmp): Likewise.
16529 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16530 (L(start_addresses)): Don't use BP_SYM.
16531 (_start): Likewise.
16532 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16533 <bp-asm.h>.
16534 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16535 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16536 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16537 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16538 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16539 <bp-asm.h>.
16540 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16541 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16542 about bounded pointers.
16543 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16544 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16545 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16546 <bp-asm.h>.
16547 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16548 about bounded pointers. Remove GKM FIXME comments.
16549 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16550 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16551 <bp-asm.h>.
16552 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16553 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16554 Remove GKM FIXME comments.
16555 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16556 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16557 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16558 <bp-asm.h>.
16559 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16560 about bounded pointers. Remove GKM FIXME comment.
16561 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16562 and <bp-asm.h>.
16563 (strncmp): Don't use BP_SYM. Remove comment about bounded
16564 pointers.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16566 <bp-sym.h> and <bp-asm.h>.
16567 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16569 <bp-sym.h> and <bp-asm.h>.
16570 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16571 comment.
16572
cdcf361f
PP
165732013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16574
16575 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16576 call free(NULL).
16577
3c4a2b15
DM
165782013-03-05 David S. Miller <davem@davemloft.net>
16579
16580 * po/es.po: Update from translation team.
16581
cdcf361f 165822013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16583
16584 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16585 <bits/mman-linux.h>.
16586 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16587 is fine.
16588 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16589 <bits/mman-linux.h> to end of file.
16590 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16591 is fine.
16592 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16593 <bits/mman-linux.h> to end of file.
16594 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16595 is fine.
16596 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16597 <bits/mman-linux.h> to end of file.
16598
16599 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16600 (MCL_CURRENT, MCL_FUTURE): Define here.
16601
5f67c04f
AK
166022013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16603
8a4473cc 16604 [BZ #15232]
5f67c04f
AK
16605 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16606 attribute_hidden.
16607 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16608
c3e94a95
AK
166092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16610
16611 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16612 fourth parameter needed for rt_sigprocmask syscall.
16613 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16614 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16615 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16616 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16617 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16618 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16619
cfb6382a
JM
166202013-03-04 Joseph Myers <joseph@codesourcery.com>
16621
16622 [BZ #13550]
16623 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16624 comment about bounded pointers.
16625 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16626 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16627
539d8e01
AJ
166282013-03-04 Andreas Jaeger <aj@suse.de>
16629
16630 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16631 common definitions.
16632
16633 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16634 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16635 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16636 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16637 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16638 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16639
2e167a70 166402013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16641
16642 [BZ #15055]
16643 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16644 __ieee754_sqrl instead of __sqrl.
16645
68508633
JM
166462013-03-01 Joseph Myers <joseph@codesourcery.com>
16647
16648 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16649 * sysdeps/powerpc/fpu_control.h: ... here.
16650 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16651 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16652 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16653 * sysdeps/powerpc/bits/mathinline.h: ... here.
16654
7775448e
RM
166552013-03-01 Roland McGrath <roland@hack.frob.com>
16656
16657 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16658 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16659 to just [NEED_DL_SYSINFO_DSO].
16660 * elf/dl-support.c: Likewise.
16661 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16662 * elf/rtld.c (dl_main): Likewise.
16663 * elf/setup-vdso.h (setup_vdso): Likewise.
16664 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16665 * sysdeps/unix/sysv/linux/dl-sysdep.c
16666 (_dl_discover_osversion): Likewise.
16667
4e9b5995
CD
166682013-03-01 Carlos O'Donell <carlos@redhat.com>
16669
16670 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16671 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16672
e23872c8
SP
166732013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16674
e5c74c63
SP
16675 * NEWS: Mention libm performance improvements and non-x86 PI
16676 futex support.
16677
e23872c8
SP
16678 * csu/libc-start.c (__pthread_initialize_minimal): Change
16679 function arguments.
16680 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16681
b5510883
JM
166822013-02-28 Joseph Myers <joseph@codesourcery.com>
16683
16684 [BZ #13550]
16685 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16686 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16687 <bp-sym.h> and <bp-asm.h>.
16688 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16689 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16690 and <bp-asm.h>.
16691 (memcpy): Don't use BP_SYM.
16692 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16693 <bp-asm.h>.
16694 (__mpn_add_n): Don't use BP_SYM.
16695 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16696 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16697 and <bp-asm.h>.
16698 (__mpn_addmul_1): Don't use BP_SYM.
16699 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16700 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16701 <bp-sym.h>.
16702 (_setjmp): Don't use BP_SYM.
16703 (__novmx_setjmp): Likewise.
16704 (__GI__setjmp): Likewise.
16705 (__vmx_setjmp): Likewise.
16706 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16707 <bp-sym.h>.
16708 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16709 (__bzero): Don't use BP_SYM.
16710 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16711 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16712 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16713 <bp-sym.h> and <bp-asm.h>.
16714 (memcpy): Don't use BP_SYM.
16715 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16716 <bp-sym.h> and <bp-asm.h>.
16717 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16718 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16719 <bp-sym.h> and <bp-asm.h>.
16720 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16721 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16722 <bp-asm.h>.
16723 (__mpn_lshift): Don't use BP_SYM.
16724 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16725 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16726 <bp-asm.h>.
16727 (memset): Don't use BP_SYM.
16728 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16729 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16730 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16731 <bp-asm.h>.
16732 (__mpn_mul_1): Don't use BP_SYM.
16733 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16734 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16735 <bp-sym.h> and <bp-asm.h>.
16736 (memcmp): Don't use BP_SYM.
16737 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16738 <bp-sym.h> and <bp-asm.h>.
16739 (memcpy): Don't use BP_SYM.
16740 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16741 <bp-sym.h> and <bp-asm.h>.
16742 (memset): Don't use BP_SYM.
16743 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16744 <bp-sym.h> and <bp-asm.h>.
16745 (strncmp): Don't use BP_SYM.
16746 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16747 <bp-sym.h> and <bp-asm.h>.
16748 (memcpy): Don't use BP_SYM.
16749 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16750 <bp-sym.h> and <bp-asm.h>.
16751 (memset): Don't use BP_SYM.
16752 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16753 <bp-sym.h> and <bp-asm.h>.
16754 (__memchr): Don't use BP_SYM.
16755 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16756 <bp-sym.h> and <bp-asm.h>.
16757 (memcmp): Don't use BP_SYM.
16758 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16759 <bp-sym.h> and <bp-asm.h>.
16760 (memcpy): Don't use BP_SYM.
16761 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16762 <bp-sym.h> and <bp-asm.h>.
16763 (__mempcpy): Don't use BP_SYM.
16764 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16765 <bp-sym.h> and <bp-asm.h>.
16766 (__memrchr): Don't use BP_SYM.
16767 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16768 <bp-sym.h> and <bp-asm.h>.
16769 (memset): Don't use BP_SYM.
16770 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16771 <bp-sym.h> and <bp-asm.h>.
16772 (__rawmemchr): Don't use BP_SYM.
16773 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16774 <bp-sym.h> and <bp-asm.h>.
16775 (__STRCMP): Don't use BP_SYM.
16776 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16777 <bp-sym.h> and <bp-asm.h>.
16778 (strchr): Don't use BP_SYM.
16779 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16780 <bp-sym.h> and <bp-asm.h>.
16781 (__strchrnul): Don't use BP_SYM.
16782 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16783 <bp-sym.h> and <bp-asm.h>.
16784 (strlen): Don't use BP_SYM.
16785 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16786 <bp-sym.h> and <bp-asm.h>.
16787 (strncmp): Don't use BP_SYM.
16788 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16789 <bp-sym.h> and <bp-asm.h>.
16790 (__strnlen): Don't use BP_SYM.
16791 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16792 <bp-asm.h>.
16793 (__mpn_rshift): Don't use BP_SYM.
16794 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16795 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16796 <bp-sym.h> and <bp-asm.h>.
16797 (__sigsetjmp): Don't use BP_SYM.
16798 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16799 (L(start_addresses)): Don't use BP_SYM.
16800 (_start): Likewise.
16801 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16802 <bp-asm.h>.
16803 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16804 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16805 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16806 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16807 <bp-asm.h>.
16808 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16809 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16810 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16811 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16812 <bp-asm.h>.
16813 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16814 comments.
16815 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16816 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16817 <bp-asm.h>.
16818 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16819 FIXME comments.
16820 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16821 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16822 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16823 <bp-asm.h>.
16824 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16825 comment.
16826 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16827 and <bp-asm.h>.
16828 (strncmp): Don't use BP_SYM,
16829 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16830 <bp-asm.h>.
16831 (__mpn_sub_n): Don't use BP_SYM.
16832 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16833 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16834 and <bp-asm.h>.
16835 (__mpn_submul_1): Don't use BP_SYM.
16836 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16838 <bp-sym.h> and <bp-asm.h>.
16839 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16841 <bp-sym.h> and <bp-asm.h>.
16842 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16843 comment.
16844
8d19fe64
SP
168452013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16846
16847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16848 Use ZK to minimize writes to Z.
16849 (sub_magnitudes): Simplify code a bit.
16850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16851 Use ZK to minimize writes to Z.
16852 (sub_magnitudes): Simplify code a bit.
16853
85bd816a
RM
168542013-02-27 Roland McGrath <roland@hack.frob.com>
16855
16856 * csu/gmon-start.c: Add special exception to license text.
16857
b5977bf2
RH
168582013-02-27 Richard Henderson <rth@redhat.com>
16859
16860 * scripts/config.guess: Update from config.git.
16861 * scripts/config.sub: Likewise.
16862
11d6e2f2
SP
168632013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16864
09c14ed2
SP
16865 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16866
a688864e
SP
16867 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16868
6295157a
SP
16869 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16870
b8de2202
SP
16871 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16872
11d6e2f2
SP
16873 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16874
7e80ddb8
RM
168752013-02-26 Roland McGrath <roland@hack.frob.com>
16876
16877 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16878 [$(build-shared = yes].
7e80ddb8 16879
7da6d9ed
SP
168802013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16881
45f05884
SP
16882 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16883 (__mul): Reduce iterations for calculating mantissa.
16884
2236d359
SP
16885 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16886 MPTWO.
16887 (__mpranred): Likewise.
16888
7da6d9ed
SP
16889 [BZ #15160]
16890 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16891 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16892
b7688c42
PE
168932013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16894
16895 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16896 Define __attribute__.
16897
53a5c423
SP
168982013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16899
16900 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16901 unused.
16902 * posix/regex_internal.h (__attribute): Remove.
16903 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16904 (re_string_context_at): Likewise.
16905 (bitset_not): Use __attribute__ and mark function as possibly
16906 unused.
16907 (bitset_merge): Likewise.
16908 (bitset_mask): Likewise.
16909 (re_string_char_size_at): Likewise.
16910 (re_string_wchar_at): Likewise.
16911 (re_string_elem_size_at): Likewise.
16912
60f5a8b5
SP
169132013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16914
2a983a2e
SP
16915 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16916 code.
16917 (cc32): Likewise.
16918
e69804d1
SP
16919 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16920 (__acr): Likewise.
16921 (__cpy): Likewise.
16922 (norm): Likewise.
16923 (denorm): Likewise.
16924 (__dbl_mp): Likewise.
16925 (add_magnitudes): Likewise.
16926 (sub_magnitudes): Likewise.
16927 (__mul): Likewise.
16928 (__inv): Likewise.
16929
2f22a1e8
SP
16930 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16931 style.
16932
8930ddc7
SP
16933 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16934 style.
16935
dc60cb11
SP
16936 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16937 code.
16938
60f5a8b5
SP
16939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16940 up changes with default code.
16941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16942 Likewise.
16943
b4d1fd33
AM
169442013-02-24 Allan McRae <allan@archlinux.org>
16945
faf6f8bc
AM
16946 * manual/socket.texi (The Internet Namespace): Order menu items
16947 to match that in the file.
16948
b4d1fd33
AM
16949 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16950 node listing of the info page menu.
16951
2366713d
JM
169522013-02-21 Joseph Myers <joseph@codesourcery.com>
16953
16954 [BZ #13550]
16955 * sysdeps/i386/bp-asm.h: Remove file.
16956 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16957 (PARMS): Do not use macros from bp-asm.h.
16958 (S1): Likewise.
16959 (S2): Likewise.
16960 (SIZE): Likewise.
16961 (__mpn_add_n): Do not use BP_SYM
16962 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16963 "bp-asm.h".
16964 (PARMS): Do not use macros from bp-asm.h.
16965 (S1): Likewise.
16966 (SIZE): Likewise.
16967 (__mpn_addmul_1): Do not use BP_SYM
16968 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16969 "bp-asm.h".
16970 (PARMS): Do not use macros from bp-asm.h.
16971 (SIGMSK): Likewise.
16972 (_setjmp): Likewise. Do not use BP_SYM.
16973 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16974 "bp-asm.h".
16975 (PARMS): Do not use macros from bp-asm.h.
16976 (SIGMSK): Likewise.
16977 (setjmp): Likewise. Do not use BP_SYM.
16978 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16979 "bp-asm.h".
16980 (PARMS): Do not use macros from bp-asm.h.
16981 (__frexp): Do not use BP_SYM.
16982 (frexp): Likewise.
16983 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16984 "bp-asm.h".
16985 (PARMS): Do not use macros from bp-asm.h.
16986 (__frexpf): Do not use BP_SYM.
16987 (frexpf): Likewise.
16988 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16989 "bp-asm.h".
16990 (PARMS): Do not use macros from bp-asm.h.
16991 (__frexpl): Do not use BP_SYM.
16992 (frexpl): Likewise.
16993 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16994 "bp-asm.h".
16995 (PARMS): Do not use macros from bp-asm.h.
16996 (__remquo): Do not use BP_SYM.
16997 (remquo): Likewise.
16998 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16999 "bp-asm.h".
17000 (PARMS): Do not use macros from bp-asm.h.
17001 (__remquof): Do not use BP_SYM.
17002 (remquof): Likewise.
17003 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17004 "bp-asm.h".
17005 (PARMS): Do not use macros from bp-asm.h.
17006 (__remquol): Do not use BP_SYM.
17007 (remquol): Likewise.
17008 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17009 "bp-asm.h".
17010 (PARMS): Do not use macros from bp-asm.h.
17011 (DEST): Likewise.
17012 (SRC): Likewise.
17013 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17014 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17015 "bp-asm.h".
17016 (PARMS): Do not use macros from bp-asm.h.
17017 (strlen): Do not use BP_SYM.
17018 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17019 "bp-asm.h".
17020 (PARMS): Do not use macros from bp-asm.h.
17021 (S1): Likewise.
17022 (S2): Likewise.
17023 (SIZE): Likewise.
17024 (__mpn_add_n): Do not use BP_SYM.
17025 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17026 "bp-asm.h".
17027 (PARMS): Do not use macros from bp-asm.h.
17028 (S1): Likewise.
17029 (SIZE): Likewise.
17030 (__mpn_addmul_1): Do not use BP_SYM.
17031 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17032 weak_alias.
17033 (bzero): Likewise.
17034 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17035 "bp-asm.h".
17036 (PARMS): Do not use macros from bp-asm.h.
17037 (S): Likewise.
17038 (SIZE): Likewise.
17039 (__mpn_lshift): Do not use BP_SYM.
17040 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17041 "bp-asm.h".
17042 (PARMS): Do not use macros from bp-asm.h.
17043 (DEST): Likewise.
17044 (SRC): Likewise.
17045 (LEN): Likewise.
17046 (memcpy): Likewise. Do not use BP_SYM.
17047 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17048 libc_hidden_def and weak_alias.
17049 (mempcpy): Do not use BP_SYM in weak_alias.
17050 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17051 "bp-asm.h".
17052 (PARMS): Do not use macros from bp-asm.h.
17053 (DEST): Likewise.
17054 (LEN): Likewise.
17055 [!BZERO_P] (CHR): Likewise.
17056 (memset): Likewise. Do not use BP_SYM.
17057 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17058 "bp-asm.h".
17059 (PARMS): Do not use macros from bp-asm.h.
17060 (S1): Likewise.
17061 (SIZE): Likewise.
17062 (__mpn_mul_1): Do not use BP_SYM.
17063 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17064 "bp-asm.h".
17065 (PARMS): Do not use macros from bp-asm.h.
17066 (S): Likewise.
17067 (SIZE): Likewise.
17068 (__mpn_rshift): Do not use BP_SYM.
17069 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17070 "bp-asm.h".
17071 (PARMS): Do not use macros from bp-asm.h.
17072 (STR): Likewise.
17073 (CHR): Likewise.
17074 (strchr): Likewise. Do not use BP_SYM.
17075 (index): Do not use BP_SYM in weak_alias.
17076 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17077 "bp-asm.h".
17078 (PARMS): Do not use macros from bp-asm.h.
17079 (DEST): Likewise.
17080 (SRC): Likewise.
17081 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17082 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17083 "bp-asm.h".
17084 (PARMS): Do not use macros from bp-asm.h.
17085 (strlen): Do not use BP_SYM.
17086 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17087 "bp-asm.h".
17088 (PARMS): Do not use macros from bp-asm.h.
17089 (S1): Likewise.
17090 (S2): Likewise.
17091 (SIZE): Likewise.
17092 (__mpn_sub_n): Do not use BP_SYM.
17093 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17094 "bp-asm.h".
17095 (PARMS): Do not use macros from bp-asm.h.
17096 (S1): Likewise.
17097 (SIZE): Likewise.
17098 (__mpn_submul_1): Do not use BP_SYM.
17099 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17100 "bp-asm.h".
17101 (PARMS): Do not use macros from bp-asm.h.
17102 (S1): Likewise.
17103 (S2): Likewise.
17104 (SIZE): Likewise.
17105 (__mpn_add_n): Do not use BP_SYM.
17106 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17107 weak_alias.
17108 (bzero): Likewise.
17109 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17110 "bp-asm.h".
17111 (PARMS): Do not use macros from bp-asm.h.
17112 (BLK2): Likewise.
17113 (LEN): Likewise.
17114 (memcmp): Do not use BP_SYM.
17115 (bcmp): Do not use BP_SYM in weak_alias.
17116 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17117 "bp-asm.h".
17118 (PARMS): Do not use macros from bp-asm.h.
17119 (DEST): Likewise.
17120 (SRC): Likewise.
17121 (LEN): Likewise.
17122 (memcpy): Likewise. Do not use BP_SYM.
17123 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17124 "bp-asm.h".
17125 (PARMS): Do not use macros from bp-asm.h.
17126 (DEST): Likewise.
17127 (SRC): Likewise.
17128 (LEN): Likewise.
17129 (memmove): Likewise. Do not use BP_SYM.
17130 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17131 "bp-asm.h".
17132 (PARMS): Do not use macros from bp-asm.h.
17133 (DEST): Likewise.
17134 (SRC): Likewise.
17135 (LEN): Likewise.
17136 (__mempcpy): Likewise. Do not use BP_SYM.
17137 (mempcpy): Do not use BP_SYM in weak_alias.
17138 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17139 "bp-asm.h".
17140 (PARMS): Do not use macros from bp-asm.h.
17141 (DEST): Likewise.
17142 (LEN): Likewise.
17143 [!BZERO_P] (CHR): Likewise.
17144 (memset): Likewise. Do not use BP_SYM.
17145 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17146 "bp-asm.h".
17147 (PARMS): Do not use macros from bp-asm.h.
17148 (STR2): Likewise.
17149 (strcmp): Do not use BP_SYM.
17150 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17151 "bp-asm.h".
17152 (PARMS): Do not use macros from bp-asm.h.
17153 (STR): Likewise.
17154 (DELIM): Likewise.
17155 [USE_AS_STRTOK_R] (SAVE): Likewise.
17156 (FUNCTION): Likewise. Do not use BP_SYM.
17157 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17158 aliases.
17159 (strtok_r): Likewise.
17160 (__GI___strtok_r): Likewise.
17161 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17162 (PARMS): Do not use macros from bp-asm.h.
17163 (S): Likewise.
17164 (SIZE): Likewise.
17165 (__mpn_lshift): Do not use BP_SYM.
17166 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17167 (PARMS): Do not use macros from bp-asm.h.
17168 (STR): Likewise.
17169 (CHR): Likewise.
17170 (__memchr): Do not use BP_SYM.
17171 (memchr): Do not use BP_SYM in weak_alias.
17172 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17173 (PARMS): Do not use macros from bp-asm.h.
17174 (BLK2): Likewise.
17175 (LEN): Likewise.
17176 (memcmp): Do not use BP_SYM.
17177 (bcmp): Do not use BP_SYM in weak_alias.
17178 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17179 (PARMS): Do not use macros from bp-asm.h.
17180 (S1): Likewise.
17181 (SIZE): Likewise.
17182 (__mpn_mul_1): Do not use BP_SYM.
17183 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17184 "bp-asm.h".
17185 (PARMS): Do not use macros from bp-asm.h.
17186 (STR): Likewise.
17187 (CHR): Likewise.
17188 (__rawmemchr): Do not use BP_SYM.
17189 (rawmemchr): Do not use BP_SYM in weak_alias.
17190 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17191 (PARMS): Do not use macros from bp-asm.h.
17192 (S): Likewise.
17193 (SIZE): Likewise.
17194 (__mpn_rshift): Do not use BP_SYM.
17195 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17196 (PARMS): Do not use macros from bp-asm.h.
17197 (SIGMSK): Likewise.
17198 (__sigsetjmp): Likewise. Do not use BP_SYM.
17199 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17200 (_start): Do not use BP_SYM.
17201 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17202 (PARMS): Do not use macros from bp-asm.h.
17203 (DEST): Likewise.
17204 (SRC): Likewise.
17205 (__stpcpy): Likewise. Do not use BP_SYM.
17206 (stpcpy): Do not use BP_SYM in weak_alias.
17207 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17208 "bp-asm.h".
17209 (PARMS): Do not use macros from bp-asm.h.
17210 (DEST): Likewise.
17211 (SRC): Likewise.
17212 (LEN): Likewise.
17213 (__stpncpy): Likewise. Do not use BP_SYM.
17214 (stpncpy): Do not use BP_SYM in weak_alias.
17215 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17216 (PARMS): Do not use macros from bp-asm.h.
17217 (STR): Likewise.
17218 (CHR): Likewise.
17219 (strchr): Likewise. Do not use BP_SYM.
17220 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17221 "bp-asm.h".
17222 (PARMS): Do not use macros from bp-asm.h.
17223 (STR): Likewise.
17224 (CHR): Likewise.
17225 (__strchrnul): Likewise. Do not use BP_SYM.
17226 (strchrnul): Do not use BP_SYM in weak_alias.
17227 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17228 "bp-asm.h".
17229 (PARMS): Do not use macros from bp-asm.h.
17230 (STOP): Likewise.
17231 (strcspn): Do not use BP_SYM.
17232 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17233 "bp-asm.h".
17234 (PARMS): Do not use macros from bp-asm.h.
17235 (STR): Likewise.
17236 (STOP): Likewise.
17237 (strpbrk): Likewise. Do not use BP_SYM.
17238 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17239 "bp-asm.h".
17240 (PARMS): Do not use macros from bp-asm.h.
17241 (STR): Likewise.
17242 (CHR): Likewise.
17243 (strrchr): Likewise. Do not use BP_SYM.
17244 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17245 (PARMS): Do not use macros from bp-asm.h.
17246 (SKIP): Likewise.
17247 (strspn): Do not use BP_SYM.
17248 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17249 (PARMS): Do not use macros from bp-asm.h.
17250 (STR): Likewise.
17251 (DELIM): Likewise.
17252 (SAVE): Likewise.
17253 (FUNCTION): Likewise. Do not use BP_SYM.
17254 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17255 aliases.
17256 (strtok_r): Likewise.
17257 (__GI___strtok_r): Likewise.
17258 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17259 (PARMS): Do not use macros from bp-asm.h.
17260 (S1): Likewise.
17261 (S2): Likewise.
17262 (SIZE): Likewise.
17263 (__mpn_sub_n): Do not use BP_SYM.
17264 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17265 "bp-asm.h".
17266 (PARMS): Do not use macros from bp-asm.h.
17267 (S1): Likewise.
17268 (SIZE): Likewise.
17269 (__mpn_submul_1): Do not use BP_SYM.
17270 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17271 <bp-sym.h>.
17272 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17273 and <bp-asm.h>.
17274 (PARMS): Do not use macros from bp-asm.h.
17275 (FLAGS): Likewise.
17276 (PTID): Likewise.
17277 (TLS): Likewise.
17278 (CTID): Likewise.
17279 (__clone): Do not use BP_SYM.
17280 (clone): Do not use BP_SYM in weak_alias.
17281 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17282 and <bp-asm.h>.
17283 (PARMS): Do not use macros from bp-asm.h.
17284 (LEN): Likewise.
17285 (__mmap64): Do not use BP_SYM.
17286 (mmap64): Do not use BP_SYM in weak_alias.
17287 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17288 <bp-sym.h> and <bp-asm.h>.
17289 (PARMS): Do not use macros from bp-asm.h.
17290 (__posix_fadvise64_l64): Do not use BP_SYM.
17291 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17292 (PARMS): Do not use macros from bp-asm.h.
17293 (NSOPS): Likewise.
17294 (semtimedop): Do not use BP_SYM.
17295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17296 and <bp-asm.h>.
17297
582a3cff
AM
172982013-02-21 Allan McRae <allan@archlinux.org>
17299
17300 * manual/message.texi (Charset conversion in gettext):
17301 Move @end statement to beginning of line.
17302
bab8a695
SP
173032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17304
80945231
SP
17305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17306 static.
17307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17308 Likewise.
17309
bab8a695
SP
17310 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17311 (denorm): Likewise.
17312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17314
e21d7aa7
AK
173152013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17316
17317 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17318 tail-call to the resolved function if pltexit isn't needed.
17319
4c7a4263
SP
173202013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17321
17322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17323 or Y being zero as being unlikely.
17324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17325 Likewise.
17326
41f49342
CD
173272013-02-20 Carlos O'Donell <carlos@redhat.com>
17328
17329 * manual/nss.texi (System Databases and Name Service Switch):
17330 Remove frobnicate @pxref.
17331
50022a93
TS
173322013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17333
17334 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17335 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17336
08cbd996
PM
173372013-02-20 Petr Machata <pmachata@redhat.com>
17338
17339 * elf/elf.h (R_ARM_TARGET1): New macro.
17340 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17341 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17342 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17343 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17344 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17345 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17346 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17347 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17348 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17349 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17350 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17351 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17352 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17353 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17354 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17355 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17356 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17357 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17358 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17359 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17360 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17361 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17362 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17363 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17364 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17365 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17366 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17367 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17368 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17369 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17370 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17371 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17372 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17373 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17374 (R_ARM_THM_GOT_BREL12): Likewise.
17375 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17376 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17377 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17378 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17379 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17380 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17381 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17382 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17383 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17384
c7b275d6
TS
173852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17386
17387 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17388 __attribute_used__ to __attribute__ ((unused)).
17389
20cd7fb3
SP
173902013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17391
17392 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17393 powerpc mpa.c.
17394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17395 comment formatting.
17396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17397
92945b52
JM
173982013-02-19 Joseph Myers <joseph@codesourcery.com>
17399
17400 [BZ #13550]
17401 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17402 Remove macro.
17403 (ENTER): Remove both macro definitions.
17404 (LEAVE): Likewise.
17405 (CHECK_BOUNDS_LOW): Likewise.
17406 (CHECK_BOUNDS_HIGH): Likewise.
17407 (CHECK_BOUNDS_BOTH): Likewise.
17408 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17409 (RETURN_BOUNDED_POINTER): Likewise.
17410 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17411 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17412 (POP_ERRNO_LOCATION_RETURN): Likewise.
17413 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17414 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17415 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17416 macros.
17417 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17418 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17419 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17420 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17421 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17422 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17423 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17424 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17425 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17426 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17427 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17428 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17429 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17430 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17431 removed macros.
17432 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17433 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17434 macros.
17435 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17436 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17437 * sysdeps/i386/i586/memset.S (memset): Likewise.
17438 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17439 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17440 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17441 macros.
17442 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17443 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17444 Change uses of L(2) to L(out).
17445 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17446 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17447 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17448 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17449 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17450 removed macros.
17451 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17452 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17453 macros.
17454 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17455 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17456 (RETURN): Do not use macro LEAVE.
17457 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17458 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17459 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17460 * sysdeps/i386/i686/memset.S (memset): Likewise.
17461 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17462 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17463 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17464 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17465 Likewise.
17466 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17467 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17468 L(1_2) and L(1_3) into L(1).
17469 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17470 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17471 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17472 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17473 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17474 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17475 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17476 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17477 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17478 macros.
17479 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17480 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17481 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17482 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17483 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17484 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17485 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17486 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17487 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17488 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17489 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17490 * sysdeps/i386/strspn.S (strspn): Likewise.
17491 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17492 conditional code.
17493 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17494 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17495 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17496 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17497 L(1_3) into L(1_1).
17498 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17499 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17500 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17501 macros.
17502 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17503
2389741a
JJ
175042013-02-19 Jakub Jelinek <jakub@redhat.com>
17505
17506 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17507 macro.
17508
2016b3cd
SP
175092013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17510
e4f22324
SP
17511 * math/atest-exp.c (exp_mpn): Remove ROUND.
17512 * math/atest-exp2.c (exp_mpn): Likewise.
17513 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17514
2016b3cd
SP
17515 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17516 * stdlib/tst-tls-atexit-lib.c: Likewise.
17517 * stdlib/tst-tls-atexit.c: Likewise.
17518
4be9b544
MF
175192013-02-18 Mike Frysinger <vapier@gentoo.org>
17520
17521 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17522 and __attribute_alloc_size__.
17523
2f62b9ee
MF
175242013-02-18 Mike Frysinger <vapier@gentoo.org>
17525
17526 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17527 __attribute_alloc_size__.
17528 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17529 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17530
6ff444c4
MF
175312013-02-18 Mike Frysinger <vapier@gentoo.org>
17532
17533 * include/programs/xmalloc.h: New file.
17534 * catgets/gencat.c: Include it.
17535 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17536 * elf/pldd.c: Likewise.
17537 * iconv/iconv_charmap.c: Likewise.
17538 * iconv/iconvconfig.c: Likewise.
17539 * iconv/strtab.c: Likewise.
17540 * locale/programs/locale.c: Likewise.
17541 * locale/programs/localedef.h: Likewise.
17542 * locale/programs/simple-hash.c: Likewise.
17543 * nscd/nscd.h: Likewise.
17544 * nss/makedb.c: Likewise.
17545 * sysdeps/generic/ldconfig.h: Likewise.
17546
be179c8a
SP
175472013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17548
ba384f6e
SP
17549 * Versions.def: Add GLIBC_2.18.
17550 * include/link.h (struct link_map): New member l_tls_dtor_count.
17551 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17552 (__call_tls_dtors): Likewise.
17553 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17554 __cxa_thread_atexit_impl.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17556 Likewise.
17557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17558 Likewise.
17559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17560 Likewise.
17561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17562 Likewise.
17563 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17565 Likewise.
17566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17567 Likewise.
17568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17570 Likewise.
17571 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17572 (tests): Add test case tst-tls-atexit.
17573 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17574 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17575 (GLIBC_PRIVATE): Add __call_tls_dtors.
17576 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17577 for libstdc++.
17578 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17579 * stdlib/tst-tls-atexit.c: New test case.
17580 * stdlib/tst-tls-atexit-lib.c: New test case.
17581
ffaa74cf 17582 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17583
be179c8a
SP
17584 * elf/Versions (ld): Add _dl_find_dso_for_object.
17585 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17586 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17587 (dl_open_worker): Use _dl_find_dso_for_object.
17588 * elf/dl-sym.c (do_sym): Likewise.
17589 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17590
f78b5caa
AK
175912013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17592
17593 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17594 Syntactic changes only.
17595 (_dl_runtime_profile): Do a tail-call to the resolved function.
17596
29691210
JM
175972013-02-17 Joseph Myers <joseph@codesourcery.com>
17598
17599 [BZ #13550]
17600 * sysdeps/x86_64/bp-asm.h: Remove file.
17601 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17602 <bp-sym.h> and <bp-asm.h>.
17603 (__clone): Do not use BP_SYM.
17604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17605 <bp-sym.h> and <bp-asm.h>.
17606 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17607 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17608 "bp-asm.h".
17609 (_setjmp): Do not use BP_SYM.
17610 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17611 "bp-asm.h".
17612 (setjmp): Do not use BP_SYM.
17613 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17614 libc_hidden_def.
17615 (mempcpy): Do not use BP_SYM in weak_alias.
17616 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17617 "bp-asm.h".
17618 (strchr): Do not use BP_SYM.
17619 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17620 "bp-asm.h".
17621 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17622 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17623 (_start): Do not use BP_SYM.
17624 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17625 "bp-asm.h".
17626 (strcat): Do not use BP_SYM.
17627 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17628 "bp-asm.h".
17629 (STRCMP): Do not use BP_SYM.
17630 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17631 "bp-asm.h".
17632 (STRCPY): Do not use BP_SYM.
17633 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17634 "bp-asm.h".
17635 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17636 "bp-asm.h".
17637 (FUNCTION): Do not use BP_SYM.
17638 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17639 weak_alias.
17640 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17641
f238fd19
AJ
176422013-02-17 Andreas Jaeger <aj@suse.de>
17643
17644 * time/Versions: Sort entries.
17645 * string/Versions: Likewise.
17646 * resolv/Versions: Likewise.
17647 * posix/Versions: Likewise.
17648 * iconv/Versions: Likewise.
17649 * elf/Versions: Likewise.
17650 * wcsmbs/Versions: Likewise.
17651
bd07f23c 176522013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17653
22af19f9
SP
17654 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17655 loop termination condition.
17656
4709fe76
SP
17657 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17658 variable to calculate EZ.
17659 (__sqr): Likewise.
2d0e0f29
SP
17660
17661 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17662 the lower precision input.
17663
daaa7713
JM
176642013-02-15 Joseph Myers <joseph@codesourcery.com>
17665
17666 [BZ #13550]
17667 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17668 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17669 (run-via-rtld-prefix): Do not handle %-bp tests.
17670 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17671 (all-object-suffixes): Remove .ob.
17672 (bppfx): Remove variable.
17673 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17674 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17675 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17676 [$(build-bounded) = yes] (libtype.ob): Likewise.
17677 * Makerules (elide-routines.ob): Remove variable.
17678 (do-tests-clean): Do not handle *-bp.out.
17679 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17680 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17681 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17682 (tests): Do not include $(tests-bp.out).
17683 (xtests): Do not include $(xtests-bp.out).
17684 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17685 [$(build-bounded) = yes] ($(addprefix
17686 $(objpfx),$(binaries-bounded))): Remove rule.
17687 ($(objpfx)%-bp.out): Remove rule.
17688 * config.make.in (build-bounded): Remove variable.
17689 * crypt/Makefile [$(build-bounded) = yes]
17690 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17691 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17692 append to variable.
17693 [$(build-bounded) = yes] (install-lib): Likewise.
17694 [$(build-bounded) = yes] (generated): Likewise.
17695 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17696 Remove rule.
17697 * intl/Makefile [$(build-bounded) = yes]
17698 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17699 * math/Makefile [$(build-bounded) = yes]
17700 ($(tests:%=$(objpfx)%-bp): Likewise.
17701 * misc/Makefile [$(build-bounded) = yes]
17702 ($(objpfx)tst-tsearch-bp): Likewise.
17703 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17704 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17705 Remove dependency.
17706 * string/Makefile (o-objects.ob): Remove variable.
17707 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17708 (CFLAGS-.ob): Remove variable.
17709 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17710 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17711 both definitions of variable.
17712 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17713 (ASFLAGS-.ob): Remove variable.
17714
e97ed6dd
JM
177152013-02-14 Joseph Myers <joseph@codesourcery.com>
17716
2bdd4ca6
JM
17717 [BZ #13550]
17718 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17719 Remove __BOUNDED_POINTERS__ from condition.
17720 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17721 * string/bits/string2.h [!__NO_STRING_INLINES &&
17722 !__BOUNDED_POINTERS__]: Likewise.
17723 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17724 Likewise.
17725 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17726 Remove conditional code.
17727 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17728 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17729 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17730 condition.
17731
e97ed6dd
JM
17732 [BZ #13550]
17733 * csu/libc-start.c: Do not include <bp-sym.h>.
17734 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17735 * elf/dl-open.c: Do not include <bp-sym.h>.
17736 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17737 * math/fegetenv.c: Do not include <bp-sym.h>.
17738 (fegetenv): Do not use BP_SYM in versioned symbols.
17739 * nptl/sysdeps/pthread/bits/libc-lockP.h
17740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17741 <bp-sym.h>.
17742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17743 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17745 (__pthread_mutex_destroy): Likewise.
17746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17747 (__pthread_mutex_lock): Likewise.
17748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17749 (__pthread_mutex_trylock): Likewise.
17750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17751 (__pthread_mutex_unlock): Likewise.
17752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17753 (__pthread_mutexattr_init): Likewise.
17754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17755 (__pthread_mutexattr_destroy): Likewise.
17756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17757 (__pthread_mutexattr_settype): Likewise.
17758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17759 (__pthread_rwlock_init): Likewise.
17760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17761 (__pthread_rwlock_destroy): Likewise.
17762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17763 (__pthread_rwlock_rdlock): Likewise.
17764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17765 (__pthread_rwlock_tryrdlock): Likewise.
17766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17767 (__pthread_rwlock_wrlock): Likewise.
17768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17769 (__pthread_rwlock_trywrlock): Likewise.
17770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17771 (__pthread_rwlock_unlock): Likewise.
17772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17773 (__pthread_key_create): Likewise.
17774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17775 (__pthread_setspecific): Likewise.
17776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17777 (__pthread_getspecific): Likewise.
17778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17779 Likewise.
17780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17781 (_pthread_cleanup_push_defer): Likewise.
17782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17783 (_pthread_cleanup_pop_restore): Likewise.
17784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17785 (pthread_setcancelstate): Likewise.
17786 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17787 <bp-sym.h>.
17788 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17789 (memchr): Do not use BP_SYM in weak_alias.
17790 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17791 (fegetenv): Do not use BP_SYM in versioned symbols.
17792 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17793 (fesetenv): Do not use BP_SYM in versioned symbols.
17794 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17795 (feupdateenv): Do not use BP_SYM in versioned symbols.
17796 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17797 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17798 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17799 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17800 (open64): Do not use BP_SYM in weak_alias.
17801 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17802 (fegetenv): Do not use BP_SYM in versioned symbols.
17803 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17804 (fesetenv): Do not use BP_SYM in versioned symbols.
17805 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17806 (feupdateenv): Do not use BP_SYM in versioned symbols.
17807 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17808 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17809 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17810 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17811 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17812 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17813 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17814 <bp-sym.h>.
17815 (__libc_start_main): Do not use BP_SYM.
17816
d6752ccd
SP
178172013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17818
cb57ce60
SP
17819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17820 redundant return line.
17821 (norm): Likewise.
17822 (denorm): Likewise.
17823 (dbl_mp): Likewise.
17824 (sub_magnitudes): Likewise.
17825 (__add): Likewise.
17826 (__sub): Likewise.
17827 (__mul): Likewise.
17828 (__inv): Likewise.
17829 (__dvd): Likewise.
17830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17831 (norm): Likewise.
17832 (denorm): Likewise.
17833 (dbl_mp): Likewise.
17834 (sub_magnitudes): Likewise.
17835 (__add): Likewise.
17836 (__sub): Likewise.
17837 (__mul): Likewise.
17838 (__inv): Likewise.
17839 (__dvd): Likewise.
17840
f414520d
SP
17841 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17842 instead of __mul.
17843 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17844 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17845 (cc32): Likewise.
17846
d6752ccd
SP
17847 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17848 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17850 of __mul for squares.
17851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17852 function
17853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17854 Likewise.
17855 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17856 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17857
70d9946a
JM
178582013-02-13 Joseph Myers <joseph@codesourcery.com>
17859
17860 [BZ #13550]
17861 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17862 code.
17863 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17864 prototype or function definition. Rename ubp_* variables and
17865 parameters. Remove argv definitions conditional on
17866 [__BOUNDED_POINTERS__].
17867 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17868 * elf/dl-runtime.c (_dl_fixup): Likewise.
17869 * include/set-hooks.h (RUN_HOOK): Likewise.
17870 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17871 definition.
17872 * string/strcpy.c (strcpy): Do not use __unbounded.
17873 * sysdeps/generic/frame.h (struct layout): Likewise.
17874 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17875 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17876 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17877 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17878 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17879 (__backtrace): Likewise.
17880 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17881 use __ptrvalue.
17882 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17883 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17884 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17885 Likewise.
17886 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17887 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17888 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17889 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17890 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17891 Do not use __unbounded.
17892 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17893 Rename __unboundedrlimits parameter to rlimits in prototype.
17894 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17895 Do not use __unbounded.
17896 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17897 not use __ptrvalue.
17898 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17899 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17900 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17901 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17902 __ptrvalue or __unbounded.
17903 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17904 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17905 use __unbounded.
17906 (__new_msgctl): Do not use __ptrvalue.
17907 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17908 __unbounded.
17909 (__libc_msgrcv): Do not use __ptrvalue.
17910 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17911 startup_info): Do not use __unbounded.
17912 (__libc_start_main): Likewise. Rename ubp_* variables and
17913 parameters. Remove argv definitions conditional on
17914 [__BOUNDED_POINTERS__].
17915 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17916 __ptrvalue.
17917 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17918 use __unbounded.
17919 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17920 or __ptrvalue.
17921 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17922 use __unbounded.
17923 (__new_shmctl): Do not use __ptrvalue.
17924 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17925 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17926 Likewise.
17927 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17928 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17929 (__libc_sigaction): Likewise.
17930 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17931 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17932 Likewise.
17933 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17934
cc7834d6
OB
179352013-02-13 Ondřej Bílka <neleai@seznam.cz>
17936
ffb1ec7b 17937 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17938
17939 * string/mempcpy.c: Implement by calling memcpy.
17940
bdf02814
SP
179412013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17942
c2af38aa
SP
17943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17944
4e92d59e
SP
17945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17946 evaluation.
17947
909279a5
SP
17948 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17949 values in the mantissa.
17950
bdf02814
SP
17951 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17952 minimize writes to Z.
17953 (sub_magnitudes): Simplify code a bit.
17954
cd525923
RM
179552013-02-12 Roland McGrath <roland@hack.frob.com>
17956
17957 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17958 from the message. The linker prefixes all warnings with that already.
17959
7e2f0d2d
AS
179602013-02-12 Andreas Schwab <schwab@suse.de>
17961
a445af0b
AS
17962 [BZ #15078]
17963 * posix/regexec.c (extend_buffers): Add parameter min_len.
17964 (check_matching): Pass minimum needed length.
17965 (clean_state_log_if_needed): Likewise.
17966 (get_subexp): Likewise.
17967 * posix/Makefile (tests): Add bug-regex34.
17968 (bug-regex34-ENV): Define.
17969 * posix/bug-regex34.c: New file.
17970
7e2f0d2d
AS
17971 [BZ #11561]
17972 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17973 elements compare against the byte sequence of it, not its name.
17974 * posix/Makefile (tests): Add bug-regex35.
17975 (bug-regex35-ENV): Define.
17976 * posix/bug-regex35.c: New file.
17977
a175b684
TV
179782013-02-11 Tom de Vries <tom@codesourcery.com>
17979
17980 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17981 comment.
17982 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17983 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17984 (CHECK_EOL): Add undef.
17985
310998fe 179862013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17987
17988 * bits/stdlib-bsearch.h: New file.
17989 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17990 * stdlib/stdlib.h: Likewise.
41eda41d 17991
8ded91fb
RM
179922013-02-11 Roland McGrath <roland@hack.frob.com>
17993
17994 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17995 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17996 declaration.
17997 * manual/search.texi (Array Search Function): Add missing const in
17998 lfind prototype.
17999 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18000 declaration to use rlim_t.
18001 (Basic Scheduling Functions): Remove erroneous const from
18002 sched_getparam prototype. Remove erroneous * from
18003 sched_get_priority_max and sched_get_priority_min prototypes.
18004 (Resource Usage): Fix summary @comment on vtimes to refer to
18005 sys/vtimes.h rather than vtimes.h.
18006 Add missing *s in vtimes prototype.
18007 (Limits on Resources): Fix ulimit prototype to return long int.
18008 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18009 prototypes to use long int rather than double.
18010 (BSD Random): Fix initstate and setstate to use char *, not void *.
18011 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18012 prototype to make second argument 'struct aiocb64 *const[]'.
18013 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18014 (Status of AIO Operations): Remove erroneous const in aio_return and
18015 aio_return64 prototypes.
18016 (Synchronizing I/O): Fix sync prototype to return void.
18017 * manual/startup.texi (Suboptions): Remove an erroneous const in
18018 getsubopt prototype.
18019 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18020 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18021 use size_t rather than int.
18022 (Scanning All Users): Likewise for getpwent_r.
18023 (Setting Groups): Add missing const to setgroups prototype.
18024 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18025 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18026 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18027 'const void *' rather than 'const char *'.
18028 (Host Address Functions): Likewise for inet_ntop.
18029 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18030 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18031 ssize_t for return value.
18032 (Sending Data): Likewise for send, sendto, sendmsg.
18033 (Socket Option Functions): Add a missing const in setsockopt prototype.
18034 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18035 use wchar_t for the argument.
18036 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18037 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18038 take no arguments.
18039 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18040 double/float/long double for second argument.
18041 Fix return types of significand, significandf, significandl.
18042 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18043 argument in fchmod prototype.
18044 (File Owner): Use uid_t and gid_t in fchown prototype.
18045 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18046 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18047 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18048 use 'const struct dirent **' as argument types to CMP function pointer
18049 argument.
18050 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18051 (File Times): Fix summary magic @comment for struct utimbuf and utime
18052 to refer to utime.h, not time.h.
18053 * manual/string.texi (Argz Functions): Add missing const in
18054 argz_extract and argz_next prototypes.
18055 (Finding Tokens in a String): Likewise for basename.
18056 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18057 (Copying and Concatenation): Fix typo in wmemmove prototype.
18058 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18059 (Signal Stack): Remove erroneous const in sigstack prototype.
18060 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18061 prototype.
18062 (Simple Calendar Time): Likewise for stime.
18063 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18064 prototype.
18065 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18066 say sys/sysctl.h instead.
18067 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18068 and vsyslog prototypes.
18069
fe77fe6d
TV
180702013-02-11 Tom de Vries <tom@codesourcery.com>
18071
18072 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18073 Remove.
18074
3a09b620
RM
180752013-02-11 Roland McGrath <roland@hack.frob.com>
18076
18077 * misc/sys/mman.h: Fix typo in mremap comment.
18078
550a0b89
RM
180792013-02-08 Roland McGrath <roland@hack.frob.com>
18080
18081 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18082 the '\0' terminator.
18083
a2da1673
JM
180842013-02-08 Joseph Myers <joseph@codesourcery.com>
18085
18086 [BZ #13550]
18087 * debug/segfault.c: Don't include <bp-checks.h>.
18088 * sysdeps/generic/bp-checks.h: Remove file.
18089 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18090 (__GETDENTS): Don't use CHECK_N.
18091 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18092 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18093 (__getgroups): Don't use CHECK_N.
18094 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18095 (setgroups): Don't use CHECK_N.
18096 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18097 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18098 (__libc_msgrcv): Don't use CHECK_N.
18099 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18100 (__libc_msgsnd): Don't use CHECK_N.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18102 <bp-checks.h>.
18103 (__libc_pread): Don't use CHECK_N.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18105 include <bp-checks.h>.
18106 (__libc_pread64): Don't use CHECK_N.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18108 include <bp-checks.h>.
18109 (__libc_pwrite): Don't use CHECK_N.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18111 include <bp-checks.h>.
18112 (__libc_pwrite64): Don't use CHECK_N.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18114 <bp-checks.h>.
18115 (__libc_pread): Don't use CHECK_N.
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18117 include <bp-checks.h>.
18118 (__libc_pread64): Don't use CHECK_N.
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18120 include <bp-checks.h>.
18121 (__libc_pwrite): Don't use CHECK_N.
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18123 include <bp-checks.h>.
18124 (__libc_pwrite64): Don't use CHECK_N.
18125 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18126 (do_pread): Don't use CHECK_N.
18127 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18128 (do_pread64): Don't use CHECK_N.
18129 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18130 (do_pwrite): Don't use CHECK_N.
18131 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18132 (do_pwrite64): Don't use CHECK_N.
18133 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18134 (__libc_readv): Don't use CHECK_N.
18135 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18136 (semop): Don't use CHECK_N.
18137 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18138 <bp-checks.h>.
18139 (semtimedop): Don't use CHECK_N.
18140 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18141 (__libc_pread): Don't use CHECK_N.
18142 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18143 <bp-checks.h>.
18144 (__libc_pread64): Don't use CHECK_N.
18145 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18146 <bp-checks.h>.
18147 (__libc_pwrite): Don't use CHECK_N.
18148 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18149 <bp-checks.h>.
18150 (__libc_pwrite64): Don't use CHECK_N.
18151 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18152 <bp-checks.h>.
18153 (__libc_msgrcv): Don't use CHECK_N.
18154 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18155 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18156 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18157 (__libc_writev): Don't use CHECK_N.
18158
b84660a8
RM
181592013-02-08 Roland McGrath <roland@hack.frob.com>
18160
7f3e75f8
RM
18161 * string/strcpy.c: Removed unused variable.
18162
b84660a8
RM
18163 * Makeconfig (+sysdep-includes): Define with := rather than =.
18164 Use an existing include/ subdir of each sysdeps dir before it.
18165
471514d3
CD
181662013-02-08 Carlos O'Donell <carlos@redhat.com>
18167
18168 * nscd/connection.c (register_traced_file): Comment function.
18169 [HAVE_INOTIFY] (union __inev): Define.
18170 [HAVE_INOTIFY] (inotify_check_files): New function.
18171 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18172 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18173 clear_db_cache.
18174 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18175
b2d3c3be
CD
181762013-02-08 Carlos O'Donell <carlos@redhat.com>
18177
18178 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18179 loaded if not already and that a failure is permanent.
18180
b39949d2
CD
181812013-02-08 Carlos O'Donell <carlos@redhat.com>
18182
ddacd1db 18183 [BZ #15006]
b39949d2
CD
18184 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18185 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18186
b2c9eff4
JM
181872013-02-08 Joseph Myers <joseph@codesourcery.com>
18188
f3aae3f3
JM
18189 [BZ #13550]
18190 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18191 (CHECK_1_NULL_OK): Likewise.
18192 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18193 (__fxstat): Do not use CHECK_1.
18194 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18195 <bp-checks.h>.
18196 (___fxstat64): Do not use CHECK_1.
18197 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18198 <bp-checks.h>.
18199 (__fxstatat): Do not use CHECK_1.
18200 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18201 <bp-checks.h>.
18202 (__fxstatat64): Do not use CHECK_1.
18203 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18204 <bp-checks.h>.
18205 (__fxstat): Do not use CHECK_1.
18206 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18207 <bp-checks.h>.
18208 (__fxstatat): Do not use CHECK_1.
18209 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18210 <bp-checks.h>.
18211 (__getresgid): Do not use CHECK_1.
18212 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18213 <bp-checks.h>.
18214 (__getresuid): Do not use CHECK_1.
18215 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18216 <bp-checks.h>.
18217 (__lxstat): Do not use CHECK_1.
18218 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18219 <bp-checks.h>.
18220 (__old_msgctl): Do not use CHECK_1.
18221 (__new_msgctl): Likewise.
18222 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18223 <bp-checks.h>.
18224 (__new_setrlimit): Do not use CHECK_1.
18225 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18226 <bp-checks.h>.
18227 (__old_shmctl): Do not use CHECK_1.
18228 (__new_shmctl): Likewise.
18229 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18230 <bp-checks.h>.
18231 (__xstat): Do not use CHECK_1.
18232 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18233 (__lxstat): Do not use CHECK_1.
18234 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18235 <bp-checks.h>.
18236 (___lxstat64): Do not use CHECK_1.
18237 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18238 (__old_msgctl): Do not use CHECK_1.
18239 (__new_msgctl): Likewise.
18240 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18241 <bp-checks.h>.
18242 (__gettimeofday): Do not use CHECK_1.
18243 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18244 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18245 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18246 <bp-checks.h>.
18247 (__gettimeofday): Do not use CHECK_1.
18248 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18249 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18250 (__new_shmctl): Do not use CHECK_1.
18251 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18252 <bp-checks.h>.
18253 (do_sigtimedwait): Do not use CHECK_1.
18254 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18255 <bp-checks.h>.
18256 (do_sigwaitinfo): Do not use CHECK_1.
18257 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18258 <bp-checks.h>.
18259 (msgctl): Do not use CHECK_1.
18260 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18261 <bp-checks.h>.
18262 (shmctl): Do not use CHECK_1.
18263 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18264 (ustat): Do not use CHECK_1.
18265 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18266 <bp-checks.h>.
18267 (__fxstat): Do not use CHECK_1.
18268 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18269 <bp-checks.h>.
18270 (__fxstatat): Do not use CHECK_1.
18271 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18272 <bp-checks.h>.
18273 (__lxstat): Do not use CHECK_1.
18274 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18275 <bp-checks.h>.
18276 (__xstat): Do not use CHECK_1.
18277 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18278 (__xstat): Do not use CHECK_1.
18279 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18280 (___xstat64): Do not use CHECK_1.
18281
b2c9eff4
JM
18282 [BZ #13550]
18283 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18284 definitions.
18285 (CHECK_BOUNDS_HIGH): Likewise.
18286 * string/strcpy.c: Do not include <bp-checks.h>.
18287 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18288
f1d70dad
RM
182892013-02-07 Roland McGrath <roland@hack.frob.com>
18290
18291 * nscd/nscd-client.h (__nscd_drop_map_ref):
18292 Add __attribute__ ((unused)).
18293 * nis/nss-nisplus.h (niserr2nss): Likewise.
18294
18295 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18296 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18297
18298 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18299 Remove inline keyword.
18300 * include/rounding-mode.h (round_away): Likewise.
18301 * libio/wfileops.c (adjust_wide_data): Likewise.
18302 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18303 (__m128i_strloadu_tolower): Likewise.
18304 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18305 (__m128i_strloadu_tolower): Likewise.
18306 * time/mktime.c (ydhms_diff): Likewise.
18307 * locale/elem-hash.h (elem_hash): Likewise.
18308 * locale/setlocale.c (setdata): Likewise.
18309 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18310 (re_string_wchar_at): Likewise.
18311 (bitset_not, bitset_merge, bitset_mask): Likewise.
18312 [!(__GNUC__ > 3)] (inline): Remove macro.
18313 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18314 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18315 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18316 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18317 * string/memcmp.c (memcmp_bytes): Likewise.
18318 * locale/programs/locarchive.c (compute_hashval): Likewise.
18319 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18320 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18321 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18322 * nss/getent.c (print_rpc, print_protocols): Likewise.
18323 (print_passwd, print_group, print_aliases): Likewise.
18324 * nis/nss-nisplus.h (niserr2nss): Likewise.
18325 * nscd/connections.c (restart_p): Likewise.
18326 Change return type to bool.
18327
eab55bfb
RM
183282013-02-05 Roland McGrath <roland@hack.frob.com>
18329
7bd642f5
RM
18330 * Makeconfig (all-Depend-files): Add existing
18331 $(sorted-subdirs:=/Depend) files.
18332 (all-subdirs): Remove nss.
18333 * sysdeps/unix/inet/Subdirs: Add it here instead.
18334 * hesiod/Depend: New file.
18335
573c29b2
RM
18336 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18337 instead of calling alloca.
18338
b2e25af0
RM
18339 * io/lseek.c (__lseek): Rename to __libc_lseek.
18340 Define __lseek as an alias.
18341
eab55bfb
RM
18342 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18343
9a0d1941
CD
183442013-02-04 Carlos O'Donell <carlos@redhat.com>
18345
18346 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18347 else clause and remove check for non-standard endianness.
18348
b83bbec4
DM
183492013-02-04 David S. Miller <davem@davemloft.net>
18350
18351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18352
6277fdab
JM
183532013-02-04 Joseph Myers <joseph@codesourcery.com>
18354
18355 [BZ #13550]
18356 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18357 (__ubp_memchr): Remove prototype.
18358 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18359 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18360 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18361 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18362 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18363 Remove alias.
18364 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18365 (__ubp_memchr): Likewise.
18366 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18367 (__ubp_memchr): Likewise.
18368 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18369 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18370 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18371 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18372 CHECK_STRING.
18373 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18374 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18375 (__getcwd): Do not use CHECK_STRING.
18376 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18377 <bp-checks.h>.
18378 (__real_chown): Do not use CHECK_STRING.
18379 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18380 <bp-checks.h>.
18381 (fchownat): Do not use CHECK_STRING.
18382 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18383 CHECK_STRING.
18384 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18385 <bp-checks.h>.
18386 (__lchown): Do not use CHECK_STRING.
18387 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18388 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18389 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18390 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18392 include <bp-checks.h>.
18393 (truncate64): Do not use CHECK_STRING.
18394 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18395 <bp-checks.h>.
18396 (__real_chown): Do not use CHECK_STRING.
18397 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18398 <bp-checks.h>.
18399 (__lchown): Do not use CHECK_STRING.
18400 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18401 <bp-checks.h>.
18402 (__chown): Do not use CHECK_STRING.
18403 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18404 <bp-checks.h>.
18405 (truncate64): Do not use CHECK_STRING.
18406 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18407 Likewise.
18408 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18409 (__xmknod): Do not use CHECK_STRING.
18410 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18411 <bp-checks.h>.
18412 (__xmknodat): Do not use CHECK_STRING.
18413 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18414 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18415
903ae060
AS
184162013-02-04 Andreas Schwab <schwab@suse.de>
18417
18418 [BZ #14142]
18419 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18420 * include/netdb.h: Likewise for h_errno.
18421 * elf/tst-stackguard1.c: Include <tls.h>.
18422
542f9466
JK
184232013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18424
18425 * elf/link.h (struct link_map): Extend the l_addr comment.
18426 * include/link.h (struct link_map): Likewise.
18427
e782a927
JM
184282013-02-01 Joseph Myers <joseph@codesourcery.com>
18429
18430 [BZ #13550]
18431 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18432 (BOUNDED_1): Remove macro.
18433 * debug/backtrace.c: Don't include <bp-checks.h>.
18434 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18435 (__backtrace): Likewise.
18436 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18437 <bp-checks.h>.
18438 (__backtrace): Don't use BOUNDED_1.
18439 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18440 <bp-checks.h>.
18441 (__backtrace): Don't use BOUNDED_1.
18442 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18443 (__backtrace): Don't use BOUNDED_1.
18444 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18445 (shmat): Don't use BOUNDED_N.
18446
8cf28c5e
JM
184472013-01-31 Joseph Myers <joseph@codesourcery.com>
18448
3a7ac8a0
JM
18449 [BZ #13550]
18450 * sysdeps/generic/bp-start.h: Remove file.
18451 * csu/libc-start.c: Don't include <bp-start.h>.
18452 (LIBC_START_MAIN): Set up __environ directly instead of using
18453 INIT_ARGV_and_ENVIRON.
18454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18455 <bp-start.h>.
18456
f3499f95
JM
18457 [BZ #13550]
18458 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18459 definitions.
18460 (CHECK_FCNTL): Likewise.
18461 (CHECK_N_PAGES): Likewise.
18462
32a45bea
JM
18463 [BZ #13550]
18464 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18465 definitions.
18466 (CHECK_SIGSET_NULL_OK): Likewise.
18467 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18468 <bp-checks.h>.
18469 (sigpending): Don't use CHECK_SIGSET.
18470 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18471 <bp-checks.h>.
18472 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18473 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18474 <bp-checks.h>.
18475 (do_sigsuspend): Don't use CHECK_SIGSET.
18476 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18477 use CHECK_SIGSET.
18478 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18479 (do_sigwait): Don't use CHECK_SIGSET.
18480 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18481 use CHECK_SIGSET.
18482 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18483 include <bp-checks.h>.
18484 (sigpending): Don't use CHECK_SIGSET.
18485 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18486 include <bp-checks.h>.
18487 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18488 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18489 <bp-checks.h>.
18490 (sigpending): Don't use CHECK_SIGSET.
18491 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18492 <bp-checks.h>.
18493 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18494
2e8a5c8c
JM
18495 [BZ #13550]
18496 * sysdeps/generic/bp-semctl.h: Remove file.
18497 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18498 <bp-checks.h> and <bp-semctl.h>.
18499 (__old_semctl): Don't use CHECK_SEMCTL.
18500 (__new_semctl): Likewise.
18501 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18502 and <bp-semctl.h>.
18503 (__old_semctl): Don't use CHECK_SEMCTL.
18504 (__new_semctl): Likewise.
18505 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18506 <bp-checks.h> and <bp-semctl.h>.
18507 (__old_semctl): Don't use CHECK_SEMCTL.
18508 (__new_semctl): Likewise.
18509 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18510 <bp-checks.h> and <bp-semctl.h>.
18511 (semctl): Don't use CHECK_SEMCTL.
18512
c2d54929
JM
18513 [BZ #13550]
18514 * Makerules (elide-bp-thunks): Remove variable.
18515 (elide-routines.oS): Don't use $(elide-bp-thunks).
18516 (elide-routines.os): Likewise.
18517 (elide-routines.o): Likewise.
18518 (elide-routines.op): Likewise.
18519 (elide-routines.og): Likewise.
18520 (objects): Don't use $(bp-thunks).
18521 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18522 include.
18523 (common-generated): Do not add s-proto-bp.d.
18524 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18525 (int): Likewise.
18526 (typ): Likewise.
18527 Do not generate makefile rules for bounded-pointer thunks.
18528 * sysdeps/generic/bp-thunks.h: Remove file.
18529 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18530 * sysdeps/unix/s-proto-bp.S: Likewise.
18531
8cf28c5e
JM
18532 [BZ #15062]
18533 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18534 parts of result separately when argument is not close to line from
18535 -i to i and one part of argument is small.
18536 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18537 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18538 * math/libm-test.inc (cacos_test): Add more tests.
18539 (casin_test): Likewise.
18540 (casinh_test): Likewise.
18541 * sysdeps/i386/fpu/libm-test-ulps: Update.
18542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18543
c4e33b8d
DM
185442013-01-31 David S. Miller <davem@davemloft.net>
18545
18546 * po/de.po: Update from translation team.
18547
3b60b421
MK
185482013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18549
18550 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18551
bb931195
TS
185522013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18553
b5a5da23
TS
18554 * configure.in (_AC_PROG_CC_C89): New definition.
18555 * configure: Regenerate.
18556
bb931195
TS
18557 * configure.in (AC_PROG_CPP): New definition.
18558 * configure: Regenerate.
18559
8c53a12c
JM
185602013-01-23 Joseph Myers <joseph@codesourcery.com>
18561
18562 * debug/tst-backtrace.h: New file.
18563 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18564 (ret): Remove variable.
18565 (x): Likewise.
18566 (FAIL): Remove macro.
18567 (NO_INLINE): Likewise.
18568 (fn1): Use match function instead of strstr.
18569 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18570 (ret): Remove variable.
18571 (x): Likewise.
18572 (FAIL): Remove macro.
18573 (NO_INLINE): Likewise.
18574 (fn): Use match function instead of strstr.
18575 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18576 (ret): Remove variable.
18577 (x): Likewise.
18578 (FAIL): Remove macro.
18579 (NO_INLINE): Likewise.
18580 (handle_signal): Use match function instead of strstr.
18581 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18582 (ret): Remove variable.
18583 (x): Likewise.
18584 (FAIL): Remove macro.
18585 (NO_INLINE): Likewise.
18586 (handle_signal): Use match function instead of strstr.
18587
4858fa2a
RM
185882013-01-23 Roland McGrath <roland@hack.frob.com>
18589
18590 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18591
bae8e7f5
DM
185922013-01-23 David S. Miller <davem@davemloft.net>
18593
18594 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18595 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18596 argument of CAS if possible.
18597 * sysdeps/sparc/sparc64/bits/atomic.h
18598 (__arch_compare_and_exchange_val_32_acq): Likewise.
18599 (__arch_compare_and_exchange_val_64_acq): Likewise.
18600
9cbbc4ae
PT
186012013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18602
18603 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18604 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18605 Include <limits.h>.
67b3f58c 18606 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18607
5655a0b5
AC
186082013-01-23 Adam Conrad <adconrad@0c3.net>
18609
18610 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18611 (LDFLAGS-tst-array5): Likewise.
18612
052aff95
JM
186132013-01-23 Joseph Myers <joseph@codesourcery.com>
18614
18615 [BZ #15036]
18616 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18617 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18618 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18619 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18620
7c1e01aa
DM
186212013-01-21 David S. Miller <davem@davemloft.net>
18622
18623 * sysdeps/sparc/backtrace.c: New file.
18624 * sysdeps/sparc/sparc32/backtrace.h: New file.
18625 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18626 * sysdeps/sparc/sparc64/backtrace.h: New file.
18627 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18628 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18629 -funwind-tables.
18630
ab087e0a
AS
186312013-01-21 Andreas Schwab <schwab@suse.de>
18632
18633 [BZ #15020]
18634 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18635 closed its stdout.
18636
ed689c2f
AS
186372013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18638
18639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18640 "mpa2.h".
18641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18642
31d470ac
JM
186432013-01-18 Joseph Myers <joseph@codesourcery.com>
18644 Mark Mitchell <mark@codesourcery.com>
18645 Tom de Vries <tom@codesourcery.com>
18646 Paul Pluzhnikov <ppluzhnikov@google.com>
18647
18648 * debug/tst-backtrace2.c: New file.
18649 * debug/tst-backtrace3.c: Likewise.
18650 * debug/tst-backtrace4.c: Likewise.
18651 * debug/tst-backtrace5.c: Likewise.
18652 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18653 (CFLAGS-tst-backtrace3.c): Likewise.
18654 (CFLAGS-tst-backtrace4.c): Likewise.
18655 (CFLAGS-tst-backtrace5.c): Likewise.
18656 (LDFLAGS-tst-backtrace2): Likewise.
18657 (LDFLAGS-tst-backtrace3): Likewise.
18658 (LDFLAGS-tst-backtrace4): Likewise.
18659 (LDFLAGS-tst-backtrace5): Likewise.
18660 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18661 tst-backtrace4 and tst-backtrace5.
18662
90567f30 186632013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18664 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18665
18666 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18667 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18668 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18669 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18671 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18672 "+r" and remove output regs list as redundant. Add explicit inline
18673 asm to specify register of return val to work around compiler codegen
18674 bug. Remove (int) cast on return value. Add return type parameter to
18675 use in macro so that this macro does not truncate return value for
18676 64-bit values.
18677 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18678 pass to INTERNAL_VSYSCALL_NCS.
18679 (INLINE_VSYSCALL): Add 'long int' as return type to
18680 INTERNAL_VSYSCALL_NCS macro invocation.
18681 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18682 INTERNAL_VSYSCALL_NCS macro invocation.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18684
d3b9ea61
SP
186852013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18686
0b57daeb
SP
18687 [BZ #14496]
18688 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18689 Fix application of SIMD FP exception mask.
18690
caa99d06
SP
18691 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18692 mp_no from a power of two.
18693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18694 __mpexp_twomm1. Use __pow_mp.
18695
d3b9ea61
SP
18696 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18697 multiplication.
18698
1dbaee3c
DM
186992013-01-17 David S. Miller <davem@davemloft.net>
18700
18701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18702
728d7b43
JM
187032013-01-17 Joseph Myers <joseph@codesourcery.com>
18704
18705 [BZ #15023]
18706 * include/complex.h: Condition contents on [!_COMPLEX_H].
18707 (__kernel_casinhf): New prototype.
18708 (__kernel_casinh): Likewise.
18709 (__kernel_casinhl): Likewise.
18710 * math/Makefile (libm_calls): Add k_casinh.
18711 * math/k_casinh.c: New file.
18712 * math/k_casinhf.c: Likewise.
18713 * math/k_casinhl.c: Likewise.
18714 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18715 finite nonzero arguments.
18716 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18717 finite nonzero arguments.
18718 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18719 finite nonzero arguments.
18720 * math/s_casinh.c: Do not include <float.h>.
18721 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18722 * math/s_casinhf.c: Do not include <float.h>.
18723 (__casinhf): Move code for finite nonzero arguments to
18724 k_casinhf.c.
18725 * math/s_casinhl.c: Do not include <float.h>.
18726 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18727 redefine.
18728 (__casinhl): Move code for finite nonzero arguments to
18729 k_casinhl.c.
18730 * math/libm-test.inc (cacos_test): Add more tests.
18731 * sysdeps/i386/fpu/libm-test-ulps: Update.
18732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18733
2a26ef3a
PT
187342013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18735
18736 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18737 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18738 [!HAVE_MREMAP]: Remove [defined linux] case.
18739 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18740
a897655d
SP
187412013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18742
18743 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18744
881ebe89 187452013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18746
18747 * elf/elf.h (R_386_SIZE32): New relocation.
18748 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18749 R_386_SIZE32.
18750 (elf_machine_rela): Likewise.
18751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18752 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18753
59981e9b
JM
187542013-01-17 Joseph Myers <joseph@codesourcery.com>
18755
18756 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18757 (FP_FAST_FMA): Do not define.
18758 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18759 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18760 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18761 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18762 !_SOFT_FLOAT]: Likewise.
18763 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18764 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18765 value.
18766 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18767 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18768 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18769 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18770 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18771 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18772 file.
18773
cfa8054f
AS
187742013-01-16 Andreas Schwab <schwab@suse.de>
18775
18776 [BZ #14327]
18777 * include/stdlib.h (__mktemp): Add declaration.
18778 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18779 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18780
dd930cc5
SP
187812013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18782
881ebe89
SP
18783 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18784 definitions.
18785 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18786 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18787 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18788 definitions here.
18789 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18790 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18791 definitions.
18792 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18793 and ONE.
18794 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18795 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18796 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18797 definitions.
18798 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18799 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18800 definitions.
18801 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18802
dd930cc5
SP
18803 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18804
c19a9f89
DM
188052013-01-15 David S. Miller <davem@davemloft.net>
18806
1aa61767
DM
18807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18808 trunc{,f} to libm-sysdep_routes.
18809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18811 file.
18812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18814 file.
18815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18816 file.
18817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18819 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18820 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18821 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18822 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18823 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18824 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18825
c42d5e98
DM
18826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18827 nearbyint{,f} to libm-sysdep_routes.
18828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18830 New file.
18831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18832 file.
18833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18834 New file.
18835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18836 file.
18837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18840 file.
18841 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18842 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18843 file.
18844 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18845 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18846 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18847
c19a9f89
DM
18848 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18849 libc_feholdexcept and libc_fesetenv.
18850
357679d2
MF
188512013-01-15 Mike Frysinger <vapier@gentoo.org>
18852
18853 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18854
65a82e3d
DM
188552013-01-14 David S. Miller <davem@davemloft.net>
18856
8b954ab9
DM
18857 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18858 (SPARC_ASM_VIS2_IFUNC): Likewise.
18859 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18861 use of 'siam' instruction.
18862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18863 Likewise.
18864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18865 Likewise.
18866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18867 Likewise.
18868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18873 file.
18874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18875 file.
18876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18877 file.
18878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18879 file.
18880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18885 new VIS2 routines.
18886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18889 Likewise.
18890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18895 routines to libm-sysdep_routines.
18896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18897
65a82e3d
DM
18898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18899 fdim/fdimf to libm-sysdep_routines.
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18901 file.
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18904 file.
18905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18908 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18909 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18910 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18911 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18912
e34ab705
SP
189132013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18914
2a91b573
SP
18915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18916 to optimize copies.
18917
1066a534
SP
18918 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18921
e34ab705
SP
18922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18923 local variable MPTWO.
18924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18925 Likewise.
18926
aba5e596
MF
189272013-01-13 Mike Frysinger <vapier@gentoo.org>
18928
18929 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18930 GLOB_NOESCAPE.
18931
e557e9e5
MF
189322013-01-13 Mike Frysinger <vapier@gentoo.org>
18933
18934 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18935
0428cec9
MF
189362013-01-13 Mike Frysinger <vapier@gentoo.org>
18937
18938 * manual/pattern.texi (glob_t): Document gl_flags.
18939 (glob64_t): Likewise.
18940
8794a964
DM
189412013-01-11 David S. Miller <davem@davemloft.net>
18942
66438c3f
RM
18943 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18944 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18945 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18946 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18947 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18948 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18949 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18950 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18951 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18952 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18953 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18954 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18955 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18956
4ae4244d
DM
18957 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18958 sparc V9 rather than using V8 code.
18959 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18960 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18961
8794a964
DM
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18963 Move to...
18964 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18965 Here.
18966
6270516e
RM
189672013-01-11 Roland McGrath <roland@hack.frob.com>
18968
18969 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18970 not in the main loop.
18971 * configure: Regenerated.
18972
6a57d931
JM
189732013-01-11 Joseph Myers <joseph@codesourcery.com>
18974
18975 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18976 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18977 to just #else.
18978 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18979 [!__GLIBC_HAVE_LONG_LONG] case.
18980 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18981 condition to just #else.
18982 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18983 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18984 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18985 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18986 unconditional.
18987 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18988 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18989 #elif condition to just #else.
18990 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18991 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18992 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18993 #elif condition to just #else.
18994
0e8529e9
SE
189952013-01-11 Steve Ellcey <sellcey@mips.com>
18996
18997 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18998 (EF_MIPS_ARCH_64): Fix value.
18999 (EF_MIPS_ARCH_32R2): New.
19000 (EF_MIPS_ARCH_64R2): New.
19001
740b3dbe
L
190022013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19003
19004 * Makeconfig (+link-pie-before-libc): New.
19005 (+link-pie-after-libc): Likewise.
19006 (+link-pie-tests): Likewise.
19007 (+link-pie): Rewritten.
19008 (link-before-libc): Remove $(config-LDFLAGS).
19009 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19010 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19011 (config-LDFLAGS): Renamed to ...
19012 (rtld-LDFLAGS): This.
19013 (rtld-tests-LDFLAGS): New macro.
19014 (link-libc-rpath-link): Likewise.
19015 (link-libc-tests-rpath-link): Likewise.
19016 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19017 (link-libc): Prepand $(link-libc-rpath-link).
19018 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19019 (test-program-prefix): New macro.
19020 (test-via-rtld-prefix): Likewise.
19021 (test-program-cmd): Likewise.
19022 (host-test-program-cmd): Likewise.
19023 * Makefile ($(common-objpfx)testrun.sh): Replace
19024 $(run-program-prefix) with $(test-program-prefix).
19025 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19026 $(rtld-LDFLAGS).
19027 ($(common-objpfx)shlib.lds): Likewise.
19028 (build-module-helper): Likewise.
19029 ($(common-objpfx)format.lds): Likewise.
19030 * Rules (binaries-pie-tests): New.
19031 (binaries-pie-notests): Likewise.
19032 (binaries-pie): Rewritten.
19033 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19034 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19035 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19036 (make-test-out): Replace $(host-built-program-cmd) with
19037 $(host-test-program-cmd).
19038 * config.make.in (build-hardcoded-path-in-tests): New variable.
19039 * configure.in (--enable-hardcoded-path-in-tests): New configure
19040 option.
19041 (hardcoded_path_in_tests): New AC_SUBST.
19042 * configure: Regenerated.
19043 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19044 $(built-program-cmd) with $(test-program-cmd).
19045 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19046 (test_program_cmd): This.
19047 * elf/Makefile ($(objpfx)order.out): Run test with
19048 $(test-program-prefix).
19049 ($(objpfx)order2.out): Likewise.
19050 ($(objpfx)tst-initorder.out): Likewise.
19051 ($(objpfx)tst-initorder2.out): Likewise.
19052 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19053 $(test-program-cmd).
19054 ($(objpfx)tst-array1-static.out): Likewise.
19055 ($(objpfx)tst-array2.out): Likewise.
19056 ($(objpfx)tst-array3.out): Likewise.
19057 ($(objpfx)tst-array4.out): Likewise.
19058 ($(objpfx)tst-array5.out): Likewise.
19059 ($(objpfx)tst-array5-static.out): Likewise.
19060 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19061 $(test-program-cmd).
19062 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19063 $(run-program-prefix) with $(test-program-prefix).
19064 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19065 (test_program_prefix): This.
19066 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19067 $(run-program-prefix) with $(test-program-prefix).
19068 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19069 (test_program_prefix): This.
19070 * iconvdata/tst-tables.sh: Likewise.
19071 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19072 $(run-program-prefix) with $(test-program-prefix).
19073 ($(objpfx)tst-translit.out): Likewise.
19074 ($(objpfx)tst-gettext2.out): Likewise.
19075 ($(objpfx)tst-gettext4.out): Likewise.
19076 ($(objpfx)tst-gettext6.out): Likewise.
19077 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19078 (test_program_prefix): This.
19079 * intl/tst-gettext2.sh: Likewise.
19080 * intl/tst-gettext4.sh Likewise.
19081 * intl/tst-gettext6.sh: Likewise.
19082 * intl/tst-translit.sh: Likewise.
19083 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19084 with $(test-program-cmd).
19085 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19086 $(run-program-prefix) with $(test-program-prefix).
19087 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19088 (test_program_prefix): This.
19089 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19090 $(run-program-prefix) with $(test-program-prefix).
19091 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19092 (test_program_prefix): This.
19093 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19094 * posix/Makefile ($(objpfx)globtest.out): Replace
19095 $(run-via-rtld-prefix) and $(test-wrapper) with
19096 $(test-program-prefix) and $(test-via-rtld-prefix).
19097 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19098 $(test-program-prefix).
19099 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19100 $(host-test-program-cmd).
19101 (tst-spawn-ARGS): Likewise.
19102 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19103 $(test-program-prefix).
19104 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19105 (test_via_rtld_prefix): This.
19106 (test_wrapper): Renamed to ...
19107 (test_program_prefix): This.
19108 (run_program_prefix): Replaced by test_program_prefix.
19109 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19110 (test_program_prefix): This.
19111 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19112 with $(host-test-program-cmd).
19113 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19114 $(run-program-prefix) with $(test-program-prefix).
19115 ($(objpfx)tst-printf.out): Likewise.
19116 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19117 $(test-program-cmd).
19118 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19119 (test_program_prefix): This.
19120 * stdio-common/tst-unbputc.sh: Likewise.
19121 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19122 $(run-program-prefix) with $(test-program-prefix).
19123 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19124 (test_program_prefix): This.
19125 * string/Makefile ($(objpfx)tst-svc.out): Replace
19126 $(built-program-cmd) with $(test-program-cmd).
19127
c6fe55cf
AJ
191282013-01-11 Andreas Jaeger <aj@suse.de>
19129
19130 [BZ #15003]
19131 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19132 value. Sync with Linux 3.7.
19133
9e6919c8
DM
191342013-01-10 David S. Miller <davem@davemloft.net>
19135
19136 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19137 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19138 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19139
1c9f1a02
RM
191402013-01-10 Roland McGrath <roland@hack.frob.com>
19141
19142 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19143 never set.
19144 * configure: Regenerated.
19145
b9de2dde
DM
191462013-01-10 David S. Miller <davem@davemloft.net>
19147
19148 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19149 sparc V9 rather than using V8 code.
19150 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19151 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19152
e7f68ef4
RM
191532013-01-10 Roland McGrath <roland@hack.frob.com>
19154
19155 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19156 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19157 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19158 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19159 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19160 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19161 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19162 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19163 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19164 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19165 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19166 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19167 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19168 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19169 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19170 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19171 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19172 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19173 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19174 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19175 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19176 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19177 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19178 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19179 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19180 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19181 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19182
5a47cc9c
DM
191832013-01-10 David S. Miller <davem@davemloft.net>
19184
19185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19186
4cf8f209
L
191872013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19188
19189 * posix/Makefile (tests-static): New variable.
19190 (tests): Add $(tests-static).
19191 (tst-exec-static-ARGS): New variable.
19192 (tst-spawn-static-ARGS): Likewise.
19193 * posix/tst-exec-static.c: New file.
19194 * posix/tst-spawn-static.c: Likewise.
19195 * posix/tst-exec.c: Support run directly.
19196 * posix/tst-spawn.c: Likewise.
19197
fed0faa1
JM
191982013-01-10 Joseph Myers <joseph@codesourcery.com>
19199
828beb13
JM
19200 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19201 long.
19202 * math/bits/mathcalls.h (llrint): Likewise.
19203 (llround): Likewise.
19204 * stdlib/stdlib.h (struct drand48_data): Likewise.
19205 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19206 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19207 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19208 Likewise.
19209 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19210 Likewise.
19211 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19212 (elf_greg_t): Likewise.
19213 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19214 (__jmp_buf): Likewise.
19215 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19216 definitions.
19217 (llrint): Likewise, for all definitions.
19218 (llrintl): Likewise.
19219
fed0faa1
JM
19220 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19221 Remove [__GNUC__] condition.
19222 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19223 condition to just [__USE_ISOC99].
19224 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19225
1a20cb20
L
192262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19227
19228 [BZ #14200]
19229 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19230 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19231 defined.
19232 (_POSIX_V6_ILP32_OFF32): Likewise.
19233 (_XBS5_ILP32_OFF32): Likewise.
19234 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19235 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19236
751b85f7
SP
192372013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
7490eb81
SP
19239 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19240
751b85f7
SP
19241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19242 doubles __mpexp_twomm1. Adjust usage.
19243 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19244 Remove.
19245
988197f0
AS
192462013-01-10 Andreas Schwab <schwab@suse.de>
19247
19248 [BZ #14964]
19249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19250 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19251
e83d7298
DM
192522013-01-09 David S. Miller <davem@davemloft.net>
19253
034ed64b 19254 [BZ #15003]
e83d7298
DM
19255 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19256 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19257 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19258 TCP_FASTOPEN): Define.
19259 (tcp_repair_opt): New structure.
19260 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19261 enum values.
19262 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19263 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19264 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19265 (tcp_cookie_transactions): New structure.
19266
d5e0b9bd
AB
192672013-01-09 Anton Blanchard <anton@samba.org>
19268
19269 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19270 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19271 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19272 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19273
0c07e3ea
JM
192742013-01-09 Joseph Myers <joseph@codesourcery.com>
19275
19276 * include/features.h (__USE_ANSI): Remove.
19277
232f7002
RM
192782013-01-09 Roland McGrath <roland@hack.frob.com>
19279
ad98e30c
RM
19280 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19281
232f7002
RM
19282 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19283
950c99ca
SP
192842013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19285
b5792741
SP
19286 * sysdeps/s390/fpu/libm-test-ulps: Update.
19287
47cf2278
SP
19288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19289
950c99ca
SP
19290 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19291 (__acr): Likewise.
19292 (__cpy): Likewise.
19293 (norm): Likewise.
19294 (denorm): Likewise.
19295 (__mp_dbl): Likewise.
19296 (__dbl_mp): Likewise.
19297 (add_magnitudes): Likewise.
19298 (sub_magnitudes): Likewise.
19299 (__add): Likewise.
19300 (__sub): Likewise.
19301 (__mul): Likewise.
19302 (__inv): Likewise.
19303 (__dvd): Likewise.
19304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19305 (__acr): Likewise.
19306 (__cpy): Likewise.
19307 (norm): Likewise.
19308 (denorm): Likewise.
19309 (__mp_dbl): Likewise.
19310 (__dbl_mp): Likewise.
19311 (add_magnitudes): Likewise.
19312 (sub_magnitudes): Likewise.
19313 (__add): Likewise.
19314 (__sub): Likewise.
19315 (__mul): Likewise.
19316 (__inv): Likewise.
19317 (__dvd): Likewise.
19318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19319 (__acr): Likewise.
19320 (__cpy): Likewise.
19321 (norm): Likewise.
19322 (denorm): Likewise.
19323 (__mp_dbl): Likewise.
19324 (__dbl_mp): Likewise.
19325 (add_magnitudes): Likewise.
19326 (sub_magnitudes): Likewise.
19327 (__add): Likewise.
19328 (__sub): Likewise.
19329 (__mul): Likewise.
19330 (__inv): Likewise.
19331 (__dvd): Likewise.
19332
eede9df9
JM
193332013-01-08 Joseph Myers <joseph@codesourcery.com>
19334
19335 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19336 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19337 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19338 2 && __USE_EXTERN_INLINES]: Likewise.
19339
c40ea3d9
AJ
193402013-01-08 Andreas Jaeger <aj@suse.de>
19341
19342 [BZ# 14985]
19343 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19344 Remove.
19345 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19346 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19347
2ccdea26
AB
193482013-01-07 Anton Blanchard <anton@samba.org>
19349
19350 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19351 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19352 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19353 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19354 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19355 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19356 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19357 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19359 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19360 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19361 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19362 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19363 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19364 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19365 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19367 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19368 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19369 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19370 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19371 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19372 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19373 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19374 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19375 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19376 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19377 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19378 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19379 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19380 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19382 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19383 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19384 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19385 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19386 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19387 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19388 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19389 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19390 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19391 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19392 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19393
a9708fed
JM
193942013-01-07 Joseph Myers <joseph@codesourcery.com>
19395
375607b9
JM
19396 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19397 (__MALLOC_PMT): Likewise.
19398 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19399 [__GNUC__], only on [_LIBC].
19400 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19401 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19402 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19403 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19404 forward declaration.
19405 (realloc_hook_ini): Likewise.
19406 (memalign_hook_ini): Likewise.
19407 (__libc_memalign): Do not use __MALLOC_PMT in variable
19408 declaration.
19409 (__libc_valloc): Likewise.
19410 (__libc_pvalloc): Likewise.
19411 (__libc_calloc): Likewise.
19412 (__posix_memalign): Likewise.
19413
a9708fed
JM
19414 [BZ #14996]
19415 * math/s_casinh.c: Include <float.h>.
19416 (__casinh): Do not do computation with squaring and square root
19417 for large arguments.
19418 * math/s_casinhf.c: Include <float.h>.
19419 (__casinhf): Do not do computation with squaring and square root
19420 for large arguments.
19421 * math/s_casinhl.c: Include <float.h>.
19422 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19423 (__casinhl): Do not do computation with squaring and square root
19424 for large arguments.
19425 * math/libm-test.inc (casin_test): Add more tests.
19426 (casinh_test): Likewise.
19427 * sysdeps/i386/fpu/libm-test-ulps: Update.
19428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19429
afec409a
L
194302013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19431
19432 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19433 (__x86_64_raw_data_cache_size): Likewise.
19434 (__x86_64_data_cache_size_half): Likewise.
19435 (__x86_64_raw_data_cache_size_half): Likewise.
19436 (__x86_64_shared_cache_size): Likewise.
19437 (__x86_64_raw_shared_cache_size): Likewise.
19438 (__x86_64_shared_cache_size_half): Likewise.
19439 (__x86_64_raw_shared_cache_size_half): Likewise.
19440 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19441 to ...
19442 (__x86_data_cache_size): This.
19443 (__x86_64_raw_data_cache_size): Renamed to ...
19444 (__x86_raw_data_cache_size): This.
19445 (__x86_64_data_cache_size_half): Renamed to ...
19446 (__x86_data_cache_size_half): This.
19447 (__x86_64_raw_data_cache_size_half): Renamed to ...
19448 (__x86_raw_data_cache_size_half): This.
19449 (__x86_64_shared_cache_size): Renamed to ...
19450 (__x86_shared_cache_size): This.
19451 (__x86_64_raw_shared_cache_size): Renamed to ...
19452 (__x86_raw_shared_cache_size): This.
19453 (__x86_64_shared_cache_size_half): Renamed to ...
19454 (__x86_shared_cache_size_half): This.
19455 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19456 (__x86_raw_shared_cache_size_half): This.
19457 * sysdeps/x86_64/memcpy.S: Updated.
19458 * sysdeps/x86_64/memset.S: Likewise.
19459 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19460 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19461 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19462
0b3986d0
DM
194632013-01-04 David S. Miller <davem@davemloft.net>
19464
19465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19466
e47686e9
AS
194672013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19468
d643bac1
AS
19469 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19470 1 to avoid redefinition warning.
19471 (__USE_GNU): Don't define.
19472 (init_signaling_nan): Protoize.
19473
e47686e9
AS
19474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19475
b18decba
SP
194762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19477
fffb407f
SP
19478 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19480 (__cpymn): Likewise.
19481 (norm): Remove commented code.
19482 (denorm): Likewise.
19483 (__mp_dbl): Likewise.
19484 (__inv): Likewise.
19485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19486 (__cpymn): Likewise.
19487 (norm): Remove commented code.
19488 (denorm): Likewise.
19489 (__mp_dbl): Likewise.
19490 (__inv): Likewise.
19491
b18decba
SP
19492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19493 mp_no value for 1.0 and 2.0.
19494 (norm): Use RADIXI instead of radixi.d.
19495 (denorm): Likewise.
19496 (__mul): Use 0.0 instead of zero.d.
19497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19498 mp_no value for 1.0 and 2.0.
19499 (norm): Use RADIXI instead of radixi.d.
19500 (denorm): Likewise.
19501 (__mul): Use 0.0 instead of zero.d.
19502
cdc1c96f
JM
195032013-01-04 Joseph Myers <joseph@codesourcery.com>
19504
19505 [BZ #14994]
19506 * math/s_casinh.c (__casinh): Reduce finite argument to first
19507 quadrant then set signs of results at the end.
19508 * math/s_casinhf.c (__casinhf): Likewise.
19509 * math/s_casinhl.c (__casinhl): Likewise.
19510 * math/libm-test.inc (casin_test): Add more tests.
19511 (casinh_test): Likewise.
19512 * sysdeps/i386/fpu/libm-test-ulps: Update.
19513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19514
302913e1
SP
195152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19516
6420d207
SP
19517 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19518
a9e48ab4
SP
19519 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19520
b7837264
SP
19521 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19522 declarations.
19523 (denorm): Likewise.
19524 (__mp_dbl): Likewise.
19525 (__inv): Likewise.
19526
f8af25d2
SP
19527 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19528 and adjust the header comment.
19529
302913e1
SP
19530 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19531 variable name from declaration.
19532
5d7dd1ca
L
195332013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19534
19535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19536 Initialize COMMON_CPUID_INDEX_7 element.
19537 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19538 (CPUID_RTM): Likewise.
19539 (HAS_RTM): Likewise.
19540 (COMMON_CPUID_INDEX_7): New enum.
19541
2f5f40f4
AS
195422013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19543
19544 [BZ #14981]
19545 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19546 size is zero, record memory as freed.
19547
4056f4a0
AJ
195482013-01-03 Andreas Jaeger <aj@suse.de>
19549
19550 * po/ia.po: Add new Interlingua translation.
19551
ab15736f 195522012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19553
19554 * locale/programs/localedef.c: Fix description of '--posix' flag.
19555
568035b7
JM
195562013-01-02 Joseph Myers <joseph@codesourcery.com>
19557
e6898b8d
JM
19558 * NEWS: Update dates in second copyright notice.
19559 * README: Update copyright dates in example.
19560 * manual/libc.texinfo: Update copyright dates.
19561 * scripts/test-installation.pl: Update copyright date in --version
19562 output.
19563
0e2f9562
JM
19564 * hurd/ctty-input.c: Fix copyright notice formatting.
19565 * hurd/ctty-output.c: Likewise.
19566 * hurd/dtable.c: Likewise.
19567 * hurd/hurd-raise.c: Likewise.
19568 * hurd/hurdprio.c: Likewise.
19569 * hurd/msgportdemux.c: Likewise.
19570 * misc/sys/file.h: Likewise.
19571 * misc/sys/ioctl.h: Likewise.
19572 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19573 * sysdeps/mach/hurd/chdir.c: Likewise.
19574 * sysdeps/mach/hurd/fchdir.c: Likewise.
19575 * sysdeps/mach/hurd/rename.c: Likewise.
19576 * sysdeps/mach/hurd/rmdir.c: Likewise.
19577 * sysdeps/mach/hurd/seekdir.c: Likewise.
19578 * sysdeps/mach/hurd/setsid.c: Likewise.
19579 * sysdeps/posix/wait3.c: Likewise.
19580
568035b7
JM
19581 * All files with FSF copyright notices: Update copyright dates
19582 using scripts/update-copyrights.
19583 * intl/plural.c: Regenerated.
19584 * locale/programs/charmap-kw.h: Likewise.
19585 * locale/programs/locfile-kw.h: Likewise.
19586
da08f647
SP
195872013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19588
0f5477af
SP
19589 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19590 four values.
19591
44e0d4c2
SP
19592 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19593 calculation loop and add branch prediction.
19594
4d55b4e5
SP
19595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19596 check access beyond bounds of m1np.
19597
da08f647
SP
19598 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19599 MPTWO.
19600 (__inv): Remove local variable MPTWO to use the global
19601 constant.
19602 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19603 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19604 variable MPTWO.
19605 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19606 MP3HALFS static const.
19607
8e051029
DM
196082013-01-01 David S. Miller <davem@davemloft.net>
19609
19610 * po/ca.po: Update from translation team.
19611
f4cf5f2d
JM
196122013-01-01 Joseph Myers <joseph@codesourcery.com>
19613
19614 * scripts/update-copyrights: New file.
19615 * Makeconfig: Reformat copyright notice.
19616 * ctype/ctype.h: Likewise.
19617 * debug/swprintf_chk.c: Likewise.
19618 * elf/dl-cache.c: Likewise.
19619 * elf/dl-debug.c: Likewise.
19620 * elf/dl-object.c: Likewise.
19621 * grp/initgroups.c: Likewise.
19622 * hurd/Makefile: Likewise.
19623 * hurd/hurd/signal.h: Likewise.
19624 * hurd/hurdfault.c: Likewise.
19625 * hurd/hurdioctl.c: Likewise.
19626 * hurd/hurdlookup.c: Likewise.
19627 * hurd/intr-msg.c: Likewise.
19628 * iconv/gconv_open.c: Likewise.
19629 * libio/swprintf.c: Likewise.
19630 * locale/lc-ctype.c: Likewise.
19631 * locale/nl_langinfo.c: Likewise.
19632 * mach/Machrules: Likewise.
19633 * mach/Makefile: Likewise.
19634 * malloc/obstack.h: Likewise.
19635 * manual/Makefile: Likewise.
19636 * manual/tsort.awk: Likewise.
19637 * misc/bits/stab.def: Likewise.
19638 * nis/nis_print_group_entry.c: Likewise.
19639 * nis/nis_table.c: Likewise.
19640 * nis/nss_compat/compat-pwd.c: Likewise.
19641 * nis/nss_compat/compat-spwd.c: Likewise.
19642 * po/Makefile: Likewise.
19643 * posix/fnmatch.c: Likewise.
19644 * posix/regex.h: Likewise.
19645 * resolv/Makefile: Likewise.
19646 * resolv/nss_dns/dns-network.c: Likewise.
19647 * resolv/res_hconf.c: Likewise.
19648 * scripts/gen-sorted.awk: Likewise.
19649 * soft-fp/soft-fp.h: Likewise.
19650 * stdio-common/printf.h: Likewise.
19651 * stdlib/monetary.h: Likewise.
19652 * stdlib/random.c: Likewise.
19653 * stdlib/random_r.c: Likewise.
19654 * sysdeps/generic/Makefile: Likewise.
19655 * sysdeps/gnu/Makefile: Likewise.
19656 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19658 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19663 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19666 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19667 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19668 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19669 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19670 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19671 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19672 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19676 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19677 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19678 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19679 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19680 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19681 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19682 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19683 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19684 * sysdeps/mach/hurd/errnos.awk: Likewise.
19685 * sysdeps/mach/hurd/fork.c: Likewise.
19686 * sysdeps/mach/hurd/getcwd.c: Likewise.
19687 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19688 * sysdeps/mach/hurd/mmap.c: Likewise.
19689 * sysdeps/mach/hurd/utimes.c: Likewise.
19690 * sysdeps/mach/hurd/xmknod.c: Likewise.
19691 * sysdeps/posix/profil.c: Likewise.
19692 * sysdeps/posix/readdir_r.c: Likewise.
19693 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19694 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19695 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19696 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19698 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19699 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19700 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19702 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19703 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19704 * sysdeps/pthread/lio_listio.c: Likewise.
19705 * sysdeps/sparc/dl-procinfo.h: Likewise.
19706 * sysdeps/unix/i386/sysdep.S: Likewise.
19707 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19708 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19709 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19710 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19712 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19713 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19714 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19715 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19716 * sysdeps/wordsize-32/divdi3.c: Likewise.
19717 * time/sys/time.h: Likewise.
19718 * wcsmbs/Makefile: Likewise.
19719
0549fbba
DM
197202013-01-01 David S. Miller <davem@davemloft.net>
19721
a141f1a7
DM
19722 * po/fr.po: Update from translation team.
19723
0549fbba
DM
19724 * catgets/gencat.c: Update copyright year.
19725 * csu/version.c: Likewise.
19726 * debug/catchsegv.sh: Likewise.
19727 * debug/pcprofiledump.c: Likewise.
19728 * debug/xtrace.sh: Likewise.
19729 * elf/ldconfig.c: Likewise.
19730 * elf/ldd.bash.in: Likewise.
19731 * elf/pldd.c: Likewise.
19732 * elf/sotruss.ksh: Likewise.
19733 * elf/sprof.c: Likewise.
19734 * iconv/iconv_prog.c: Likewise.
19735 * iconv/iconvconfig.c: Likewise.
19736 * locale/programs/locale.c: Likewise.
19737 * locale/programs/localedef.c: Likewise.
19738 * login/programs/pt_chown.c: Likewise.
19739 * malloc/memusage.sh: Likewise.
19740 * malloc/memusagestat.c: Likewise.
19741 * malloc/mtrace.pl: Likewise.
19742 * nscd/nscd.c: Likewise.
19743 * nss/getent.c: Likewise.
19744 * nss/makedb.c: Likewise.
19745 * posix/getconf.c: Likewise.
19746
18ea052c
SP
197472012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19748
19749 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19750 numbers.
19751
9c89fca6
MF
197522012-12-30 Mike Frysinger <vapier@gentoo.org>
19753
19754 * math/bits/mathcalls.h (modf): Use __nonnull.
19755
085ec079
SP
197562012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19757
19758 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19759 (split): Use macro CN instead of the bare value.
19760 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19761 could be used.
19762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19763 instead of the bare value.
19764 (power1): Likewise.
19765
6d9f97e1
SP
197662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19767
d63f73be
SP
19768 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19769 __ATAN_TWOM.
19770 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19771
6d9f97e1
SP
19772 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19773 their values.
19774 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19775 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19776 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19777 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19778
4c4febf5
AJ
197792012-12-28 Andreas Jaeger <aj@suse.de>
19780
af5843ef
AJ
19781 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19782 values are from Linux 3.7.
19783
4c4febf5
AJ
19784 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19785 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19786
99136f82
SP
197872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19788
2f216c3c 19789 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19790 TRUE case.
19791
99136f82
SP
19792 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19793 (norm): Likewise.
19794 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19795 variables with preprocessor constants.
19796 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19797 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19798 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19799
7fffbdff
BH
198002012-12-27 Bruno Haible <bruno@clisp.org>
19801
19802 [BZ #14317]
19803 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19804 only if needed.
19805
b76eb5f0
SP
198062012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19807
31a7fe5c
SP
19808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19809 and use variable directly.
19810 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19811
b76eb5f0
SP
19812 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19813 MPONE.
19814 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19815 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19816 variable MPONE.
19817 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19818 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19819 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19820 include directive. Remove local variable MPONE.
19821 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19822 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19824
2c8bfe7d
DM
198252012-12-25 David S. Miller <davem@davemloft.net>
19826
19827 * version.h (RELEASE): Set to "development".
19828 (VERSION): Set to "2.17.90".
19829 * NEWS: Add 2.18 section.
19830
147d03b0
DM
198312012-12-21 David S. Miller <davem@davemloft.net>
19832
19833 * po/hr.po: Update from translation team.
19834
a8ebb2b9
AK
198352012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19836
19837 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19838
95b4f1b6
SE
198392012-12-19 Steve Ellcey <sellcey@mips.com>
19840
b2d94007 19841 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19842
cedb2a90
MS
198432012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19844
19845 * manual/contrib.texi (Contributors): Spelling correction.
19846
bbf527d6
DM
198472012-12-15 David S. Miller <davem@davemloft.net>
19848
19849 * po/ru.po: Update from translation team.
19850
bc38c906
DM
198512012-12-13 David S. Miller <davem@davemloft.net>
19852
85429b1a
DM
19853 * NEWS: Mention IFUNC testsuite enhancements.
19854
d283e353
DM
19855 * po/pl.po: Update from translation team.
19856 * po/bg.po: Likewise.
19857
bc38c906
DM
19858 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19859 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19860
a181b0d7
DM
198612012-12-11 David S. Miller <davem@davemloft.net>
19862
4641d57e
DM
19863 * po/sv.po: Update from translation team.
19864
f7bc6495
DM
19865 * po/vi.po: Update from translation team.
19866
6fc9048f
DM
19867 * po/cs.po: Update from translation team.
19868
a181b0d7
DM
19869 * po/de.po: Update from translation team.
19870 * po/eo.po: Likewise.
19871 * po/nl.po: Likewise.
19872
f70bfe80
SP
198732012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19874
3c8b4190
SP
19875 [BZ #14246]
19876 * manual/argp.texi (Argp Helper Functions): Move node to follow
19877 Argp Parsing State.
19878
f70bfe80
SP
19879 [BZ #14872]
19880 * manual/conf.texi (Limits on File System Capacity): Mention if
19881 terminating null is included in the max size.
19882
188f0adf
AJ
198832012-12-10 Andreas Jaeger <aj@suse.de>
19884
19885 * po/cs.po: Update from translation team.
19886
56e7d3ad
SP
198872012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19888
19889 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19890 void pointer and cast to uintptr_t.
19891 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19892 path.
19893 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19894 * sysdeps/s390/s390-64/memset.S: Likewise.
19895
76f2d2ea 198962012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19897
19898 [BZ #14833]
19899 * menual/message.texi (Message Translation): Fix typos.
19900 (Helper programs for gettext): Likewise.
19901
67cbf9a2
AS
199022012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19903
19904 [BZ #14898]
19905 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19906 Change to -1.
19907
682d0e9a
DM
199082012-12-07 David S. Miller <davem@davemloft.net>
19909
19910 * po/libc.pot: Update.
19911
573cd484
RH
199122012-12-07 Richard Henderson <rth@redhat.com>
19913
7e9da188 19914 [BZ #10114]
573cd484
RH
19915 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19916 normal/normal case to before the switch.
19917 (_FP_DIV): Likewise.
19918
e933a943
MF
199192012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19920 Mike Frysinger <vapier@gentoo.org>
19921
19922 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19923 check for __NR_fadvise64_64.
19924
82123268
CM
199252012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19926
19927 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19928 0, not just to plain "0" as a statement.
19929 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19930 with cw.
19931
d9814526
JM
199322012-12-06 Joseph Myers <joseph@codesourcery.com>
19933
19934 * NEWS: Use sourceware.org in Bugzilla URL.
19935
7728c574
SP
199362012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19937
f16946dd
SP
19938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19939 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19940
5704bbcb
SP
19941 * stdio-common/tst-put-error.c (do_test): Add newline to the
19942 padded test to ensure flush.
19943
17aa0516
JL
199442012-12-05 Jeff Law <law@redhat.com>
19945
19946 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19947
363313b5
JM
199482012-12-05 Joseph Myers <joseph@codesourcery.com>
19949
effbd42a
JM
19950 * README: Don't refer to ports add-on as distributed separately.
19951 Mention AArch64 in list of systems supported in the ports add-on.
19952
87600365
JM
19953 * LICENSES: Add more non-FSF copyright and license notices.
19954
a0d7066a
JM
19955 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19956 ((unused)).
19957
66ca5a5b
JM
19958 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19959
363313b5
JM
19960 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19961 10000 as width of padded output.
19962
b37984ad
JM
199632012-12-04 Joseph Myers <joseph@codesourcery.com>
19964
9003570a
JM
19965 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19966
b37984ad
JM
19967 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19968 variable LX with __attribute__ ((unused)).
19969 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19970 Likewise.
19971 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19972 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19973 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19974 with __attribute__ ((unused)).
19975
c8df52ec
DM
199762012-12-04 David S. Miller <davem@abraco.davemloft.net>
19977
19978 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19979
b3b099af
JM
199802012-12-04 Joseph Myers <joseph@codesourcery.com>
19981
c33aa6e3
JM
19982 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19983 (CFLAGS-nldbl-acos.c): New variable.
19984 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19985 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19986 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19987 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19988 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19989 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19990 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19991 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19992 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19993 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19994 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19995 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19996 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19997 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19998 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19999 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20000 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20001 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20002 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20003 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20004 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20005 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20006 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20007 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20008 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20009 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20010 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20011 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20012 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20013 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20014 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20015 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20016 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20017 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20018 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20019 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20020 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20021 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20022 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20023 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20024 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20025 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20026 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20027 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20028 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20029 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20030 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20031 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20032 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20033 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20034 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20035 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20036 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20037 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20038 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20039 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20040 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20041 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20042 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20043 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20044 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20045 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20046 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20047 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20048 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20049 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20050 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20051 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20052 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20053 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20054 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20055 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20056 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20057 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20058 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20059 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20060 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20061 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20062 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20063 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20064 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20065 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20066 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20081
20f0018d
JM
20082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20083 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20084
b3b099af
JM
20085 [BZ #14914]
20086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20087 whole low double instead of just low 47 bits when splitting values
20088 into two parts.
20089
029264d1
AM
200902012-12-03 Allan McRae <allan@archlinux.org>
20091
20092 * manual/stdio.texi (Predefined Printf Handlers): Remove
20093 @hsep and @vsep usage.
20094
c9d6789e
MF
200952012-12-03 Mike Frysinger <vapier@gentoo.org>
20096
20097 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20098 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20099
4b7634a5
JL
201002012-12-03 Jeff Law <law@redhat.com>
20101
20102 * time/sys/time.h (settimeofday): Do not mark TV argument
20103 as __nonnull.
20104
eb6cbd24
MF
201052012-12-01 Mike Frysinger <vapier@gentoo.org>
20106
20107 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20108 when currently writing and seek to current position when not.
20109 * libio/Makefile (tests): Remove bug-fclose1.
20110 * libio/bug-fclose1.c: Delete.
20111
f638872a
JM
201122012-12-01 Joseph Myers <joseph@codesourcery.com>
20113
20114 * manual/arith.texi (feenableexcept): Fix typo.
20115 (fedisableexcept): Likewise.
20116
48085d14
RM
201172012-11-30 Roland McGrath <roland@hack.frob.com>
20118
20119 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20120 second, differently-typed declaration, rather than a cast.
20121
1a538b9f
SP
201222012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20123
20124 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20125 * include/rpc/svc.h: ... here.
20126
d07f2ff1 201272012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20128
20129 [BZ #13013]
20130 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20131 depending n and resplen2 to catch cases where answer
20132 equals answerp2.
20133
c93ec1f0
CD
201342012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20135
20136 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20137 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20138
37db69de
MF
201392012-11-29 Mike Frysinger <vapier@gentoo.org>
20140
20141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20142
e10c4e4f
RM
201432012-11-29 Roland McGrath <roland@hack.frob.com>
20144
20145 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20146
2af1b328
JL
201472012-11-28 Jeff Law <law@redhat.com>
20148
20149 [BZ #13761]
20150 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20151 dataset_temporary. Track alloca usage into alloca_used.
20152 If dataset is large allocate and release it via malloc/free.
20153
111db5b1
FW
201542012-06-04 Florian Weimer <fweimer@redhat.com>
20155
f06cc227 20156 [BZ #14197]
111db5b1
FW
20157 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20158
dd694abd
DM
201592012-11-28 David S. Miller <davem@davemloft.net>
20160
20161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20162
9984dd01
JM
201632012-11-28 Joseph Myers <joseph@codesourcery.com>
20164
20165 [BZ #14803]
20166 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20167 of pi/2 rounded to nearest to 64 bits.
20168 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20169 nearest to 64 bits.
20170 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20171 bits.
20172
14bc93a9
JL
201732012-11-28 Jeff Law <law@redhat.com>
20174 Martin Osvald <mosvald@redhat.com>
20175
20176 [BZ #14889]
20177 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20178 * sunrpc/svc.c: Include time.h.
20179 (__svc_accept_failed): New function.
20180 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20181 any reason other than EINTR, call __svc_accept_failed.
20182 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20183 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20184
e3c6aa3a
AS
201852012-11-28 Andreas Schwab <schwab@suse.de>
20186
20187 * scripts/abilist.awk: Also handle indirect functions in .opd
20188 section.
20189
1bead169
JM
201902012-11-28 Joseph Myers <joseph@codesourcery.com>
20191
20192 [BZ #13881]
20193 * sysdeps/x86/fpu/powl_helper.c: New file.
20194 * sysdeps/x86/fpu/Makefile: Likewise.
20195 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20196 (p3): New object.
20197 (__ieee754_powl): Use __powl_helper for finite arguments except
20198 integer exponents below 8.
20199 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20200 (p3): New object.
20201 (__ieee754_powl): Use __powl_helper for finite arguments except
20202 integer exponents below 8.
20203 * math/libm-test.inc (pow_test): Add more tests and enable some
20204 previously disabled tests.
20205 * sysdeps/i386/fpu/libm-test-ulps: Update.
20206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20207
0817d63d
SP
202082012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20209 Carlos O'Donell <carlos_odonell@mentor.com>
20210
20211 * nss/makedb.c (is_prime): Assert that input is odd and greater
20212 than 4. Note that fact in a comment too.
20213 (next_prime): Add 4 to input.
20214
de2fd463
SP
202152012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20216
20217 [BZ #11741]
20218 * libio/Makefile (tests): Add test case tst-fwrite-error.
20219 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20220 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20221 * libio/tst-fwrite-error.c: New test case.
20222
c515fb51
L
202232012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20224
20225 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20226 before casting to void *.
20227 * include/libc-internal.h (__pointer_type): New macro.
20228 (__integer_if_pointer_type_sub): Likewise.
20229 (__integer_if_pointer_type): Likewise.
20230 (cast_to_integer): Likewise.
20231 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20232 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20233 before casting to atomic64_t.
20234 (atomic_exchange_acq): Likewise.
20235 (__arch_exchange_and_add_body): Likewise.
20236 (__arch_add_body): Likewise.
20237 (atomic_add_negative): Likewise.
20238 (atomic_add_zero): Likewise.
20239
4cf77aa9
JM
202402012-11-26 Joseph Myers <joseph@codesourcery.com>
20241
20242 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20243 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20244 (add_fdes): Likewise.
20245 (linear_search_fdes): Likewise.
20246 (binary_search_unencoded_fdes): Likewise.
20247
d260b3b4
AS
202482012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20249
20250 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20251
67060746
AC
202522012-11-24 Adam Conrad <adconrad@0c3.net>
20253
20254 * configure.in: Autodetect C++ header directories.
20255 * configure: Regenerated.
20256
800938a1
MF
202572012-11-23 Mike Frysinger <vapier@gentoo.org>
20258
20259 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20260
4e6e34e6
AS
202612012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20262
20263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20264
7c7feb47
JM
202652012-11-22 Joseph Myers <joseph@codesourcery.com>
20266
7184dcdf
JM
20267 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20268 LDBL_MANT_DIG == 106]: Disable some tests.
20269 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20270 Likewise.
20271 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20272 Likewise.
20273
0a42601f
JM
20274 [BZ #14871]
20275 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20276 input for small inputs. Return +/- pi/2 for large inputs.
20277 * math/libm-test.inc (atan_test): Add more tests.
20278
79c9b9fe
JM
20279 * sysdeps/generic/unwind-dw2-fde-glibc.c
20280 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20281 __attribute__ ((unused)).
20282
c60d3bf2
JM
20283 [BZ #14645]
20284 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20285 x * y if x and y are nonzero and z is zero.
20286
ef1e0867
JM
20287 [BZ #14811]
20288 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20289 nonzero exponents with absolute value below 0x1p-117 to +/-
20290 0x1p-117.
20291
1468ded3
JM
20292 [BZ #14869]
20293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20294 up arguments below 2**-450, not just those below 2**-500.
20295 * math/libm-test.inc (hypot_test): Add another test.
20296
8e27e3cc
JM
20297 [BZ #14868]
20298 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20299 Return a+b for ratio over 2**120, not 2**60.
20300 * math/libm-test.inc (hypot_test): Add another test.
20301
c9c0279b
JM
20302 * math/libm-test.inc (clog_test): Use
20303 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20304 (clog10_test): Likewise.
20305
7c7feb47
JM
20306 [BZ #6778]
20307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20308
fff1530e
AS
203092012-11-22 Andreas Schwab <schwab@suse.de>
20310
20311 * sysdeps/i386/fpu/libm-test-ulps: Update.
20312
94558d30
PT
203132012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20314
20315 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20316 printf output with newline.
20317
7e1be741
L
203182012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20319
6bfea974
L
20320 [BZ #14865]
20321 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20322 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20323 -z nodlopen, -z initfirst and -z execstack support.
20324 * configure: Regenerated.
20325
7e1be741
L
20326 * elf/elf.h (DF_1_NODIRECT): New macro.
20327 (DF_1_IGNMULDEF): Likewise.
20328 (DF_1_NOKSYMS): Likewise.
20329 (DF_1_NOHDR): Likewise.
20330 (DF_1_EDITED): Likewise.
20331 (DF_1_NORELOC): Likewise.
20332 (DF_1_SYMINTPOSE): Likewise.
20333 (DF_1_GLOBAUDIT): Likewise.
20334 (DF_1_SINGLETON): Likewise.
20335 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20336 DT_1_SUPPORTED_MASK bits.
20337 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20338
105ce2ce
CD
203392012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20340
20341 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20342
123be9de
TS
203432012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20344
d072f3f7
TS
20345 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20346 macro.
20347
123be9de
TS
20348 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20349 (sendmmsg): Move declarations...
20350 * socket/sys/socket.h: ... here.
20351 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20352 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20353 include it from...
20354 * socket/recvmmsg.c: ... this new file.
20355 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20356 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20357 definition of __sendmmsg hidden.
20358 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20359 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20360 Move ENOSYS stub into and include it from...
20361 * socket/sendmmsg.c: ... this new file.
20362 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20363 (sysdep_routines): Move recvmmsg and sendmmsg...
20364 * socket/Makefile (routines): ... here.
20365 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20366 (GLIBC_PRIVATE): Add __sendmmsg.
20367 * include/sys/socket.h (__sendmmsg): Add declarations.
20368 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20369 sendmmsg.
20370
cf9a5d18
JM
203712012-11-20 Joseph Myers <joseph@codesourcery.com>
20372
20373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20374 variable I1 with __attribute__ ((unused)).
20375 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20376
ecd4caf9
JM
203772012-11-19 Joseph Myers <joseph@codesourcery.com>
20378
be14d48f
JM
20379 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20380 DUMMY variables with __attribute__ ((unused)).
20381
ecd4caf9
JM
20382 * bits/byteswap.h: Include <bits/types.h>.
20383 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20384
986cab95
PT
203852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20386
20387 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20388 string_t. Do not manually set errno.
20389 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20390 length with __strnlen. Make sure to both set errno and return it on
20391 failure.
20392
6d33cc9d
DM
203932012-11-19 David S. Miller <davem@davemloft.net>
20394
20395 With help from Joseph Myers.
20396 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20397 very large arguments properly.
20398 * math/libm-test.inc (atan_test): New tests.
20399 (atan2_test): New tests.
20400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20402
ee663277
JM
204032012-11-19 Joseph Myers <joseph@codesourcery.com>
20404
877f2d8e
JM
20405 [BZ #14856]
20406 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20407 Define to 3.
20408
116fc08a
JM
20409 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20410 [POSIX] (EADDRNOTAVAIL): Likewise.
20411 [POSIX] (EAFNOSUPPORT): Likewise.
20412 [POSIX] (EALREADY): Likewise.
20413 [POSIX] (ECONNABORTED): Likewise.
20414 [POSIX] (ECONNREFUSED): Likewise.
20415 [POSIX] (ECONNRESET): Likewise.
20416 [POSIX] (EDESTADDRREQ): Likewise.
20417 [POSIX] (EDQUOT): Likewise.
20418 [POSIX] (EHOSTUNREACH): Likewise.
20419 [POSIX] (EIDRM): Likewise.
20420 [POSIX] (EISCONN): Likewise.
20421 [POSIX] (ELOOP): Likewise.
20422 [POSIX] (EMULTIHOP): Likewise.
20423 [POSIX] (ENETDOWN): Likewise.
20424 [POSIX] (ENETUNREACH): Likewise.
20425 [POSIX] (ENOBUFS): Likewise.
20426 [POSIX] (ENODATA): Likewise.
20427 [POSIX] (ENOLINK): Likewise.
20428 [POSIX] (ENOMSG): Likewise.
20429 [POSIX] (ENOPROTOOPT): Likewise.
20430 [POSIX] (ENOSR): Likewise.
20431 [POSIX] (ENOSTR): Likewise.
20432 [POSIX] (ENOTCONN): Likewise.
20433 [POSIX] (ENOTSOCK): Likewise.
20434 [POSIX] (EOPNOTSUPP): Likewise.
20435 [POSIX] (EOVERFLOW): Likewise.
20436 [POSIX] (EPROTO): Likewise.
20437 [POSIX] (EPROTONOSUPPORT): Likewise.
20438 [POSIX] (EPROTOTYPE): Likewise.
20439 [POSIX] (ESTALE): Likewise.
20440 [POSIX] (ETIME): Likewise.
20441 [POSIX] (ETXTBSY): Likewise.
20442 [POSIX] (EWOULDBLOCK): Likewise.
20443 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20444 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20445 [POSIX] (SEEK_CUR): Likewise.
20446 [POSIX] (SEEK_END): Likewise.
20447 [POSIX || UNIX98] (mode_t): Do not require.
20448 [POSIX] (off_t): Likewise.
20449 [POSIX] (pid_t): Likewise.
20450 [POSIX] (sys/stat.h): Do not allow header.
20451 [POSIX] (unistd.h): Likewise.
20452 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20453 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20454 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20455 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20456 require.
20457 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20458 sigevent): Specify elements.
20459 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20460 entry.
20461 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20462 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20463
a483863f
JM
20464 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20465 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20466 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20467 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20468 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20469 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20470 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20471 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20472 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20473 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20474 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20475 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20476 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20477 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20478 Likewise.
20479 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20480 Likewise.
20481 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20482 Likewise.
20483 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20484 Likewise.
20485 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20486 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20487 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20488 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20489 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20490 Specify lower bound on value.
20491 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20492 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20493 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20494 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20495 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20496 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20497 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20498 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20499 value.
20500 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20501 as optional.
20502 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20503 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20504 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20505 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20506 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20507 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20508 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20509 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20510 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20511 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20512 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20513 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20514 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20515 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20516 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20517 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20518 entry.
20519 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20520 optional.
20521 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20522 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20523 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20524 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20525 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20526 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20527 Likewise.
20528 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20529 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20530 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20531 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20532 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20533 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20534 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20535 as optional.
20536 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20537 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20538 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20539 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20540 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20541 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20542 specify as optional.
20543 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20546 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20547 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20548 [XPG3] (NL_LANGMAX): Likewise.
20549 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20550 [POSIX || XPG3] (NL_NMAX): Likewise.
20551 [POSIX || XPG3] (NL_SETMAX): Likewise.
20552 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20553 [XPG3] (NZERO): Likewise.
20554 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20555 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20556 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20557 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20558 (REG_ERANGE): Expect.
20559 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20560 optional-constant.
20561 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20562 Use (void) in prototype.
20563 [POSIX] (*_t): Allow.
20564 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20565 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20566 (WRDE_BADVAL): Expect.
20567
5ba924e3
JM
20568 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20569 expect.
20570 [XPG3 || XPG4] (O_RSYNC): Likewise.
20571 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20572 Likewise.
20573 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20574 [XPG3 || XPG4] (sigqueue): Likewise.
20575 [XPG3 || XPG4] (sigtimedwait): Likewise.
20576 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20577 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20578 [XPG3 || XPG4] (vsnprintf): Likewise.
20579 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20580 Likewise.
20581 [XPG3 || XPG4] (blksize_t): Likewise.
20582 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20583 Likewise.
20584 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20585 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20586 [XPG3 || XPG4] (struct itimerspec): Likewise.
20587 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20588 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20589 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20590 [XPG3 || XPG4] (clockid_t): Likewise.
20591 [XPG3 || XPG4] (timer_t): Likewise.
20592 [XPG3 || XPG4] (clock_getres): Likewise.
20593 [XPG3 || XPG4] (clock_gettime): Likewise.
20594 [XPG3 || XPG4] (clock_settime): Likewise.
20595 [XPG3 || XPG4] (nanosleep): Likewise.
20596 [XPG3 || XPG4] (timer_create): Likewise.
20597 [XPG3 || XPG4] (timer_delete): Likewise.
20598 [XPG3 || XPG4] (timer_gettime): Likewise.
20599 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20600 [XPG3 || XPG4] (timer_settime): Likewise.
20601 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20602 [XPG3 || XPG4] (getlogin_r): Likewise.
20603 [XPG3 || XPG4] (pread): Likewise.
20604 [XPG3 || XPG4] (pthread_atfork): Likewise.
20605 [XPG3 || XPG4] (pwrite): Likewise.
20606
ee663277
JM
20607 [BZ #14835]
20608 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20609 <bits/siginfo.h>.
20610
942caa16
PT
206112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20612
e19af380
PT
20613 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20614 finalizing MALLSTREAM.
20615
942caa16
PT
20616 * sysdeps/mach/hurd/syncfs.c: New file.
20617
cfde9b46
SP
206182012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20619
20620 [BZ #14719]
20621 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20622 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20623 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20624 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20625 (_nss_dns_gethostbyname4_r): Likewise.
20626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20627 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20628
f6da27e5
PH
206292012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20630
20631 [BZ #13763]
20632 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20633
6665d4a2
SM
206342012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20635
1f51ee92
SM
20636 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20637 * elf/cache.c (print_entry): Print ",AArch64" for
20638 FLAG_AARCH64_LIB64
20639
6665d4a2
SM
20640 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20641 * elf/cache.c (print_entry): Print ",hard-float" for
20642 FLAG_ARM_LIBHF.
20643
05b227bd
DM
206442012-11-18 David S. Miller <davem@davemloft.net>
20645
20646 With help from Joseph Myers.
20647 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20648 cutoff to 2**-13.
20649 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20650 cutoff to 2**-25.
20651 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20652 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20653 small.
20654 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20655 * math/libm-test.inc (y0_test): New tests.
20656 (y1_test): New tests.
20657 * sysdeps/i386/fpu/libm-test-ulps: Update.
20658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20660
786b0b67
AS
206612012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20662
20663 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20664 64-bit targets.
20665 * configure: Regenerated.
20666
8e18b86d
DM
206672012-11-17 David S. Miller <davem@davemloft.net>
20668
20669 [BZ #14811]
20670 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20671 nonzero exponents with absolute value below 0x1p-128 to +/-
20672 0x1p-128.
20673
531f1ae0
JM
206742012-11-17 Joseph Myers <joseph@codesourcery.com>
20675
12df29e2
JM
20676 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20677
150dc1a0
JM
20678 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20679
531f1ae0
JM
20680 * posix/getconf-speclist.c: New file.
20681 * posix/posix-envs.def: Likewise.
20682 * posix/confstr.c (START_ENV_GROUP): New macro.
20683 (END_ENV_GROUP): Likewise.
20684 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20685 (KNOWN_PRESENT_ENV_STRING): Likewise.
20686 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20687 (UNKNOWN_ENVIRONMENT): Likewise.
20688 (confstr): Include posix-envs.def instead of handling
20689 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20690 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20691 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20692 (END_ENV_GROUP): Likewise.
20693 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20694 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20695 (UNKNOWN_ENVIRONMENT): Likewise.
20696 (__sysconf): Include posix-envs.def instead of handling associated
20697 cases directly here.
20698 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20699 preprocessing getconf-speclist.c rather than running getconf or
20700 generating empty file.
20701
a93f9cbc
PT
207022012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20703
20704 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20705
d64d9f87
AL
207062012-11-16 Andrej Lajovic <natrij@gmail.com>
20707
20708 [BZ #14672]
20709 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20710
447885eb
DM
207112012-11-16 David S. Miller <davem@davemloft.net>
20712
20713 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20714 smaller than LDBL_EPSILON/2.0L, just return xm1.
20715
bcbf9830
L
207162012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20717
20718 * elf/tst-array1.c (init): Set constructor priority to 1000.
20719 (fini): Set destructor priority to 1000.
20720 * elf/tst-array2dep.c: Likewise.
20721
2b766585
SP
207222012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20723
20724 [BZ #11741]
20725 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20726 (_IO_new_file_xsputn): Also return EOF if none of the input
20727 data was written when overflow failed.
20728 * libio/iopadn.c (_IO_padn): Likewise.
20729 * libio/iowpadn.c (_IO_wpadn): Likewise.
20730 * stdio-common/tst-put-error.c: Add copyright notice.
20731 (do_test): Add case for printing padded string.
20732 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20733 _IO_padn returned error.
20734 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20735 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20736 return EOF.
20737
b1848fde
SP
207382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20739
20740 * libio/libioP.h: Add comment note that the references to C++
20741 bits are now obsolete.
20742
2fd89785
MS
207432012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20744
20745 * math/libm-test.inc (check_complex): Use asprintf.
20746
e3ea5409
JM
207472012-11-14 Joseph Myers <joseph@codesourcery.com>
20748
20749 * debug/pcprofiledump.c (print_version): Update copyright year.
20750 * malloc/memusagestat.c (print_version): Likewise.
20751
2e64d265
L
207522012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20753
20754 [BZ #14831]
20755 * elf/Makefile (tests): Add tst-audit8.
20756 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20757 ($(objpfx)tst-audit8.out): New target.
20758 (tst-audit8-ENV): New variable.
20759 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20760 audit if l_reloc_result is NULL.
20761 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20762 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20763 * elf/tst-audit8.c: New file.
20764
c485e4d2
MS
207652012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20766
20767 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20768 * misc/Makefile (CFLAGS-select.c): Define.
20769 * posix/Makefile (CFLAGS-pause.c): Define.
20770
3a0d900a
DM
207712012-11-13 David S. Miller <davem@davemloft.net>
20772
20773 * crypt/Makefile: Move test targets after toplevel Rules
20774 inclusion. Grab any necessary sysdep routines when linking.
20775 * crypt/md5.c (md5_process_block): Remove define, we will always
20776 name it __md5_process_block.
20777 (md5_finish_ctx): Update md5_process_block call.
20778 (md5_stream): Likewise.
20779 (md5_process_bytes): Likewise.
20780 (md5_process_block): Rename to __md5_process_block and move to ...
20781 * crypt/md5-block.c: ... here.
20782 * crypt/sha256.c (sha256_process_block): Move to ...
20783 * crypt/sha256-block.c: ... here.
20784 * crypt/sha512.c (sha512_process_block): Move to ...
20785 * crypt/sha512-block.c: ... here.
20786 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20787 path.
20788 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20789 * sysdeps/sparc/sparc64/multiarch/Makefile
20790 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20791 crypt subdir.
20792 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20793 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20794 multiarch changes.
20795 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20796 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20797 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20798 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20799 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20800 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20801 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20802 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20803 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20804 file.
20805 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20806 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20807 file.
20808 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20809
8ca89318
JM
208102012-11-13 Joseph Myers <joseph@codesourcery.com>
20811
e27d476a
JM
20812 * timezone/tzselect.ksh: Update from tzcode git revision
20813 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20814 * timezone/zdump.c: Likewise.
20815 * timezone/zic.c: Likewise.
20816 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20817 in TZVERSION setting, not $(PKGVERSION).
20818 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20819 REPORT_BUGS_TO settings.
20820
8ca89318
JM
20821 [BZ #14838]
20822 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20823 macro.
20824
47594329
MS
208252012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20826
20827 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20828 detection to immediately after _FP_ROUND().
20829 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20830 bits are 0.
20831
640ac3f1
DM
208322012-11-11 David S. Miller <davem@davemloft.net>
20833
20834 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20835 inttypes.h
20836 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20837 __close rather than their public counterparts.
20838
3d2577bb
JM
208392012-11-10 Joseph Myers <joseph@codesourcery.com>
20840
20841 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20842 file.
20843 [UNIX98] (sem_timedwait): Do not expect.
20844 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20845 [XPG4 || UNIX98] (sockatmark): Do not expect.
20846 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20847 (clock_getcpuclockid): Do not expect.
20848 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20849 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20850 Do not expect.
20851 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20852 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20853 [UNIX98] (vwscanf): Likewise.
20854 [UNIX98] (vswscanf): Likewise.
20855
fb1ae1ee
JM
208562012-11-09 Joseph Myers <joseph@codesourcery.com>
20857
9ec6f8bd
JM
20858 * timezone/version.h: Remove file.
20859 * timezone/README: Do not refer to version.h.
20860 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20861 $(objpfx)version.h.
20862 ($(objpfx)zdump.o): Likewise.
c3f81911 20863 ($(objpfx)version.h): New target.
9ec6f8bd 20864
0aa8f8a1
JM
20865 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20866 2012i.
20867 * timezone/README: Don't mention modification to tzselect.ksh.
20868 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20869 work on unmodified tzselect.ksh. Substitute version numbers in
20870 tzselect.ksh.
20871
4e87147f
JM
20872 * Makefile (format-me): Remove.
20873 (INSTALL): Adjust indentation. Use commands directly instead of
20874 using $(format-me).
20875
8b748aed
JM
20876 * aclocal.m4 (ACX_PKGVERSION): New macro.
20877 (ACX_BUGURL): Likewise.
20878 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20879 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20880 (REPORT_BUGS_TO): Likewise.
20881 * configure: Regenerated.
20882 * config.h.in (PKGVERSION): New macro.
20883 (REPORT_BUGS_TO): Likewise.
20884 * config.make.in (PKGVERSION): New variable.
20885 (PKGVERSION_TEXI): Likewise.
20886 (REPORT_BUGS_TO): Likewise.
20887 (REPORT_BUGS_TEXI): Likewise.
20888 * Makefile (format-me): Use -I$(common-objpfx)manual.
20889 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20890 ($(common-objpfx)manual/%): New target.
20891 (manual/%): Remove target.
20892 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20893 (print_version): Use PKGVERSION.
20894 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20895 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20896 and REPORT_BUGS_TO.
20897 ($(objpfx)xtrace): Likewise.
20898 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20899 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20900 (print_version): Use PKGVERSION.
20901 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20902 (do_version): Use PKGVERSION.
20903 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20904 REPORT_BUGS_TO.
20905 (common-ldd-rewrite): Likewise.
20906 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20907 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20908 (print_version): Use PKGVERSION.
20909 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20910 * elf/pldd.c (argp_program_bug_address): Remove variable.
20911 (more_help): New function.
20912 (argp): Use more_help.
20913 (print_version): Use PKGVERSION.
20914 * elf/sln.c (main): Use PKGVERSION.
20915 (usage): Use REPORT_BUGS_TO.
20916 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20917 (top level): Use PKGVERSION.
20918 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20919 (print_version): Use PKGVERSION.
20920 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20921 (print_version): Use PKGVERSION.
20922 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20923 (print_version): Use PKGVERSION.
20924 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20925 (print_version): Use PKGVERSION.
20926 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20927 (print_version): Use PKGVERSION.
20928 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20929 (print_version): Use PKGVERSION.
20930 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20931 and BUGURL.
20932 ($(objpfx)memusage): Likewise.
20933 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20934 (do_version): Use PKGVERSION.
20935 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20936 (print_version): Use PKGVERSION.
20937 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20938 ($PKGVERSION): New variable.
20939 ($REPORT_BUGS_TO): Likewise.
20940 (usage): Use $REPORT_BUGS_TO.
20941 (top level): Use $PKGVERSION.
20942 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20943 ($(objpfx)pkgvers.texi): New rule.
20944 ($(objpfx)stamp-pkgvers): Likewise.
20945 * manual/install.texi: Include pkgvers.texi.
20946 (--with-pkgversion): Document new configure option.
20947 (--with-bugurl): Likewise.
20948 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20949 than necessarily for this particular distribution. Use
20950 REPORT_BUGS_TO for where to report bugs.
20951 * INSTALL: Regenerated.
20952 * manual/libc.texinfo: Include pkgvers.texi.
20953 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20954 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20955 (print_version): Use PKGVERSION.
20956 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20957 (print_version): Use PKGVERSION.
20958 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20959 (print_version): Use PKGVERSION.
20960 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20961 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20962 macro.
20963 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20964 (print_version): Use PKGVERSION.
20965 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20966 (print_version): Use PKGVERSION.
20967 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20968 and PKGVERSION.
20969
92e4b6a9
JM
20970 * timezone/checktab.awk: Update from tzcode 2012i.
20971 * timezone/ialloc.c: Likewise.
20972 * timezone/private.h: Likewise.
20973 * timezone/scheck.c: Likewise.
20974 * timezone/tzfile.h: Likewise.
20975 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20976 (TZVERSION): Hardcode tzcode version number.
20977 * timezone/zdump.c: Update from tzcode 2012i.
20978 * timezone/zic.c: Likewise.
20979 * timezone/version.h: New file.
20980 * timezone/README: Describe version.h. Update upstream location.
20981
9bde902c
JM
20982 [BZ #14824]
20983 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20984 (mktemp): Enable declaration.
20985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20989 Likewise.
20990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20991 Likewise.
20992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20993 Likewise.
20994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20995 Likewise.
20996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20997 Likewise.
20998 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20999 Likewise.
21000
fb1ae1ee
JM
21001 [BZ #14821]
21002 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21003 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21004 for copies of such integer values.
21005 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21006 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21007
2c1adbcb
AJ
210082012-11-09 Andreas Jaeger <aj@suse.de>
21009
21010 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21011 definitions and declarations that are provided by
21012 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21013
d0f8457e
AK
210142012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21015
3a235abb 21016 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21017 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21018 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21019 definition.
21020
57241e26
MS
210212012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21022
21023 * elf/elf.h: Update comment before AArch64 relocations.
21024
60e8270d
DM
210252012-11-07 David S. Miller <davem@davemloft.net>
21026
21027 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21028 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21029 (__start_context): Declare.
21030 (__makecontext_ret): Delete.
21031 (__makecontext): Hook up __start_context instead of
21032 __makecontext_ret.
21033 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21034 (sysdep_routines): Add __start_context when in stdlib.
21035
0fbb0fbc
JM
210362012-11-07 Joseph Myers <joseph@codesourcery.com>
21037
21038 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21039 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21040 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21041 hardcoded "nm".
21042 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21043 (READELF): New variable. Use it instead of hardcoded "readelf".
21044
eb48db7e
L
210452012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21046
21047 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21048 * sysdeps/x86/Makefile: Here.
21049 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21050 * sysdeps/x86/tst-xmmymm.sh: This.
21051
05bcf62a
JM
210522012-11-07 Joseph Myers <joseph@codesourcery.com>
21053
c4b6cf53
JM
21054 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21055 expectations.
21056 [UNIX98] (pthread_barrier_t): Do not expect.
21057 [UNIX98] (pthread_barrierattr_t): Likewise.
21058 [UNIX98] (pthread_spinlock_t): Likewise.
21059 [UNIX98] (pthread_barrier_destroy): Likewise.
21060 [UNIX98] (pthread_barrier_init): Likewise.
21061 [UNIX98] (pthread_barrier_wait): Likewise.
21062 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21063 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21064 [UNIX98] (pthread_barrierattr_init): Likewise.
21065 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21066 [UNIX98] (pthread_getcpuclockid): Likewise.
21067 [UNIX98] (pthread_mutex_timedlock): Likewise.
21068 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21069 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21070 [UNIX98] (pthread_sigmask): Likewise.
21071 [UNIX98] (pthread_spin_destroy): Likewise.
21072 [UNIX98] (pthread_spin_init): Likewise.
21073 [UNIX98] (pthread_spin_lock): Likewise.
21074 [UNIX98] (pthread_spin_trylock): Likewise.
21075 [UNIX98] (pthread_spin_unlock): Likewise.
21076 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21077 Do not expect.
21078 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21079 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21080 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21081 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21082 [XPG3 || XPG4] (pthread_key_t): Likewise.
21083 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21084 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21085 [XPG3 || XPG4] (pthread_once_t): Likewise.
21086 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21087 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21088 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21089 [XPG3 || XPG4] (pthread_t): Likewise.
21090
cbe6e120
JM
21091 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21092 not expect.
21093 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21094
1b126443
JM
21095 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21096 Change function return type to int.
21097
b961a573
JM
21098 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21099 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21100 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21101 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21102 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21103 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21104 [!POSIX] (posix_madvise): Likewise.
21105 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21106 && !UNIX98].
21107 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21108 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21109 (mode_t): Likewise.
21110 (posix_mem_offset): Likewise.
21111 (posix_typed_mem_get_info): Likewise.
21112 (posix_typed_mem_open): Likewise.
21113
9e188909
JM
21114 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21115 Change condition to [XOPEN2K8].
21116
05bcf62a
JM
21117 * conform/conformtest.pl: Preprocess allow-header data with -x c
21118 instead of from stdin.
21119 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21120 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21121 [C99-based standards] (cerfc): Likewise.
21122 [C99-based standards] (cexp2): Likewise.
21123 [C99-based standards] (cexpm1): Likewise.
21124 [C99-based standards] (clog10): Likewise.
21125 [C99-based standards] (clog1p): Likewise.
21126 [C99-based standards] (clog2): Likewise.
21127 [C99-based standards] (clgamma): Likewise.
21128 [C99-based standards] (ctgamma): Likewise.
21129 [C99-based standards] (cerff): Likewise.
21130 [C99-based standards] (cerfcf): Likewise.
21131 [C99-based standards] (cexp2f): Likewise.
21132 [C99-based standards] (cexpm1f): Likewise.
21133 [C99-based standards] (clog10f): Likewise.
21134 [C99-based standards] (clog1pf): Likewise.
21135 [C99-based standards] (clog2f): Likewise.
21136 [C99-based standards] (clgammaf): Likewise.
21137 [C99-based standards] (ctgammaf): Likewise.
21138 [C99-based standards] (cerfl): Likewise.
21139 [C99-based standards] (cerfcl): Likewise.
21140 [C99-based standards] (cexp2l): Likewise.
21141 [C99-based standards] (cexpm1l): Likewise.
21142 [C99-based standards] (clog10l): Likewise.
21143 [C99-based standards] (clog1pl): Likewise.
21144 [C99-based standards] (clog2l): Likewise.
21145 [C99-based standards] (clgammal): Likewise.
21146 [C99-based standards] (ctgammal): Likewise.
21147 * conform/data/inttypes.h-data [C99-based standards]: Include
21148 stdint.h-data. Remove all expectations for stdint.h contents.
21149 [C99-based standards] (PRI*): Do not allow.
21150 [C99-based standards] (SCN*): Likewise.
21151 [C99-based standards] (*_t): Likewise.
21152 [C99-based-standards] (PRId8): Expect macro.
21153 [C99-based-standards] (PRIi8): Likewise.
21154 [C99-based-standards] (PRIo8): Likewise.
21155 [C99-based-standards] (PRIu8): Likewise.
21156 [C99-based-standards] (PRIx8): Likewise.
21157 [C99-based-standards] (PRIX8): Likewise.
21158 [C99-based-standards] (SCNd8): Likewise.
21159 [C99-based-standards] (SCNi8): Likewise.
21160 [C99-based-standards] (SCNo8): Likewise.
21161 [C99-based-standards] (SCNu8): Likewise.
21162 [C99-based-standards] (SCNx8): Likewise.
21163 [C99-based-standards] (PRIdLEAST8): Likewise.
21164 [C99-based-standards] (PRIiLEAST8): Likewise.
21165 [C99-based-standards] (PRIoLEAST8): Likewise.
21166 [C99-based-standards] (PRIuLEAST8): Likewise.
21167 [C99-based-standards] (PRIxLEAST8): Likewise.
21168 [C99-based-standards] (PRIXLEAST8): Likewise.
21169 [C99-based-standards] (SCNdLEAST8): Likewise.
21170 [C99-based-standards] (SCNiLEAST8): Likewise.
21171 [C99-based-standards] (SCNoLEAST8): Likewise.
21172 [C99-based-standards] (SCNuLEAST8): Likewise.
21173 [C99-based-standards] (SCNxLEAST8): Likewise.
21174 [C99-based-standards] (PRIdFAST8): Likewise.
21175 [C99-based-standards] (PRIiFAST8): Likewise.
21176 [C99-based-standards] (PRIoFAST8): Likewise.
21177 [C99-based-standards] (PRIuFAST8): Likewise.
21178 [C99-based-standards] (PRIxFAST8): Likewise.
21179 [C99-based-standards] (PRIXFAST8): Likewise.
21180 [C99-based-standards] (SCNdFAST8): Likewise.
21181 [C99-based-standards] (SCNiFAST8): Likewise.
21182 [C99-based-standards] (SCNoFAST8): Likewise.
21183 [C99-based-standards] (SCNuFAST8): Likewise.
21184 [C99-based-standards] (SCNxFAST8): Likewise.
21185 [C99-based-standards] (PRId16): Likewise.
21186 [C99-based-standards] (PRIi16): Likewise.
21187 [C99-based-standards] (PRIo16): Likewise.
21188 [C99-based-standards] (PRIu16): Likewise.
21189 [C99-based-standards] (PRIx16): Likewise.
21190 [C99-based-standards] (PRIX16): Likewise.
21191 [C99-based-standards] (SCNd16): Likewise.
21192 [C99-based-standards] (SCNi16): Likewise.
21193 [C99-based-standards] (SCNo16): Likewise.
21194 [C99-based-standards] (SCNu16): Likewise.
21195 [C99-based-standards] (SCNx16): Likewise.
21196 [C99-based-standards] (PRIdLEAST16): Likewise.
21197 [C99-based-standards] (PRIiLEAST16): Likewise.
21198 [C99-based-standards] (PRIoLEAST16): Likewise.
21199 [C99-based-standards] (PRIuLEAST16): Likewise.
21200 [C99-based-standards] (PRIxLEAST16): Likewise.
21201 [C99-based-standards] (PRIXLEAST16): Likewise.
21202 [C99-based-standards] (SCNdLEAST16): Likewise.
21203 [C99-based-standards] (SCNiLEAST16): Likewise.
21204 [C99-based-standards] (SCNoLEAST16): Likewise.
21205 [C99-based-standards] (SCNuLEAST16): Likewise.
21206 [C99-based-standards] (SCNxLEAST16): Likewise.
21207 [C99-based-standards] (PRIdFAST16): Likewise.
21208 [C99-based-standards] (PRIiFAST16): Likewise.
21209 [C99-based-standards] (PRIoFAST16): Likewise.
21210 [C99-based-standards] (PRIuFAST16): Likewise.
21211 [C99-based-standards] (PRIxFAST16): Likewise.
21212 [C99-based-standards] (PRIXFAST16): Likewise.
21213 [C99-based-standards] (SCNdFAST16): Likewise.
21214 [C99-based-standards] (SCNiFAST16): Likewise.
21215 [C99-based-standards] (SCNoFAST16): Likewise.
21216 [C99-based-standards] (SCNuFAST16): Likewise.
21217 [C99-based-standards] (SCNxFAST16): Likewise.
21218 [C99-based-standards] (PRId32): Likewise.
21219 [C99-based-standards] (PRIi32): Likewise.
21220 [C99-based-standards] (PRIo32): Likewise.
21221 [C99-based-standards] (PRIu32): Likewise.
21222 [C99-based-standards] (PRIx32): Likewise.
21223 [C99-based-standards] (PRIX32): Likewise.
21224 [C99-based-standards] (SCNd32): Likewise.
21225 [C99-based-standards] (SCNi32): Likewise.
21226 [C99-based-standards] (SCNo32): Likewise.
21227 [C99-based-standards] (SCNu32): Likewise.
21228 [C99-based-standards] (SCNx32): Likewise.
21229 [C99-based-standards] (PRIdLEAST32): Likewise.
21230 [C99-based-standards] (PRIiLEAST32): Likewise.
21231 [C99-based-standards] (PRIoLEAST32): Likewise.
21232 [C99-based-standards] (PRIuLEAST32): Likewise.
21233 [C99-based-standards] (PRIxLEAST32): Likewise.
21234 [C99-based-standards] (PRIXLEAST32): Likewise.
21235 [C99-based-standards] (SCNdLEAST32): Likewise.
21236 [C99-based-standards] (SCNiLEAST32): Likewise.
21237 [C99-based-standards] (SCNoLEAST32): Likewise.
21238 [C99-based-standards] (SCNuLEAST32): Likewise.
21239 [C99-based-standards] (SCNxLEAST32): Likewise.
21240 [C99-based-standards] (PRIdFAST32): Likewise.
21241 [C99-based-standards] (PRIiFAST32): Likewise.
21242 [C99-based-standards] (PRIoFAST32): Likewise.
21243 [C99-based-standards] (PRIuFAST32): Likewise.
21244 [C99-based-standards] (PRIxFAST32): Likewise.
21245 [C99-based-standards] (PRIXFAST32): Likewise.
21246 [C99-based-standards] (SCNdFAST32): Likewise.
21247 [C99-based-standards] (SCNiFAST32): Likewise.
21248 [C99-based-standards] (SCNoFAST32): Likewise.
21249 [C99-based-standards] (SCNuFAST32): Likewise.
21250 [C99-based-standards] (SCNxFAST32): Likewise.
21251 [C99-based-standards] (PRId64): Likewise.
21252 [C99-based-standards] (PRIi64): Likewise.
21253 [C99-based-standards] (PRIo64): Likewise.
21254 [C99-based-standards] (PRIu64): Likewise.
21255 [C99-based-standards] (PRIx64): Likewise.
21256 [C99-based-standards] (PRIX64): Likewise.
21257 [C99-based-standards] (SCNd64): Likewise.
21258 [C99-based-standards] (SCNi64): Likewise.
21259 [C99-based-standards] (SCNo64): Likewise.
21260 [C99-based-standards] (SCNu64): Likewise.
21261 [C99-based-standards] (SCNx64): Likewise.
21262 [C99-based-standards] (PRIdLEAST64): Likewise.
21263 [C99-based-standards] (PRIiLEAST64): Likewise.
21264 [C99-based-standards] (PRIoLEAST64): Likewise.
21265 [C99-based-standards] (PRIuLEAST64): Likewise.
21266 [C99-based-standards] (PRIxLEAST64): Likewise.
21267 [C99-based-standards] (PRIXLEAST64): Likewise.
21268 [C99-based-standards] (SCNdLEAST64): Likewise.
21269 [C99-based-standards] (SCNiLEAST64): Likewise.
21270 [C99-based-standards] (SCNoLEAST64): Likewise.
21271 [C99-based-standards] (SCNuLEAST64): Likewise.
21272 [C99-based-standards] (SCNxLEAST64): Likewise.
21273 [C99-based-standards] (PRIdFAST64): Likewise.
21274 [C99-based-standards] (PRIiFAST64): Likewise.
21275 [C99-based-standards] (PRIoFAST64): Likewise.
21276 [C99-based-standards] (PRIuFAST64): Likewise.
21277 [C99-based-standards] (PRIxFAST64): Likewise.
21278 [C99-based-standards] (PRIXFAST64): Likewise.
21279 [C99-based-standards] (SCNdFAST64): Likewise.
21280 [C99-based-standards] (SCNiFAST64): Likewise.
21281 [C99-based-standards] (SCNoFAST64): Likewise.
21282 [C99-based-standards] (SCNuFAST64): Likewise.
21283 [C99-based-standards] (SCNxFAST64): Likewise.
21284 [C99-based-standards] (PRIdMAX): Likewise.
21285 [C99-based-standards] (PRIiMAX): Likewise.
21286 [C99-based-standards] (PRIoMAX): Likewise.
21287 [C99-based-standards] (PRIuMAX): Likewise.
21288 [C99-based-standards] (PRIxMAX): Likewise.
21289 [C99-based-standards] (PRIXMAX): Likewise.
21290 [C99-based-standards] (SCNdMAX): Likewise.
21291 [C99-based-standards] (SCNiMAX): Likewise.
21292 [C99-based-standards] (SCNoMAX): Likewise.
21293 [C99-based-standards] (SCNuMAX): Likewise.
21294 [C99-based-standards] (SCNxMAX): Likewise.
21295 [C99-based-standards] (PRIdPTR): Likewise.
21296 [C99-based-standards] (PRIiPTR): Likewise.
21297 [C99-based-standards] (PRIoPTR): Likewise.
21298 [C99-based-standards] (PRIuPTR): Likewise.
21299 [C99-based-standards] (PRIxPTR): Likewise.
21300 [C99-based-standards] (PRIXPTR): Likewise.
21301 [C99-based-standards] (SCNdPTR): Likewise.
21302 [C99-based-standards] (SCNiPTR): Likewise.
21303 [C99-based-standards] (SCNoPTR): Likewise.
21304 [C99-based-standards] (SCNuPTR): Likewise.
21305 [C99-based-standards] (SCNxPTR): Likewise.
21306 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21307 allow.
21308 * conform/data/stdint.h-data: Update comments to clarify
21309 requirements.
21310 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21311 type.
21312 [C99-based standards] (INT8_MAX): Likewise.
21313 [C99-based standards] (INT16_MIN): Likewise.
21314 [C99-based standards] (INT16_MAX): Likewise.
21315 [C99-based standards] (INT32_MIN): Likewise.
21316 [C99-based standards] (INT32_MAX): Likewise.
21317 [C99-based standards] (INT64_MIN): Likewise.
21318 [C99-based standards] (INT64_MAX): Likewise.
21319 [C99-based standards] (UINT8_MAX): Likewise.
21320 [C99-based standards] (UINT16_MAX): Likewise.
21321 [C99-based standards] (UINT32_MAX): Likewise.
21322 [C99-based standards] (UINT64_MAX): Likewise.
21323 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21324 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21325 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21326 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21327 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21328 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21329 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21330 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21331 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21332 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21333 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21334 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21335 [C99-based standards] (INT_FAST8_MIN): Likewise.
21336 [C99-based standards] (INT_FAST8_MAX): Likewise.
21337 [C99-based standards] (INT_FAST16_MIN): Likewise.
21338 [C99-based standards] (INT_FAST16_MAX): Likewise.
21339 [C99-based standards] (INT_FAST32_MIN): Likewise.
21340 [C99-based standards] (INT_FAST32_MAX): Likewise.
21341 [C99-based standards] (INT_FAST64_MIN): Likewise.
21342 [C99-based standards] (INT_FAST64_MAX): Likewise.
21343 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21344 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21345 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21346 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21347 [C99-based standards] (INTPTR_MIN): Likewise.
21348 [C99-based standards] (INTPTR_MAX): Likewise.
21349 [C99-based standards] (UINTPTR_MAX): Likewise.
21350 [C99-based standards] (INTMAX_MIN): Likewise.
21351 [C99-based standards] (INTMAX_MAX): Likewise.
21352 [C99-based standards] (UINTMAX_MAX): Likewise.
21353 [C99-based standards] (PTRDIFF_MIN): Likewise.
21354 [C99-based standards] (PTRDIFF_MAX): Likewise.
21355 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21356 [C99-based standards] (SIZE_MAX): Likewise.
21357 [C99-based standards] (WCHAR_MAX): Likewise.
21358 [C99-based standards] (WINT_MAX): Likewise.
21359 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21360 constraint on value.
21361 [C99-based standards] (WCHAR_MIN): Likewise.
21362 [C99-based standards] (WINT_MIN): Likewise.
21363 [C99-based standards] (*_t): Allow.
21364 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21365 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21366 Include math.h-data and complex.h-data. Remove all expectations
21367 of math.h and complex.h contents.
21368 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21369 at end of line.
21370 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21371 (struct tm): Expect tag.
21372 [C99-based-standards] (wcstof): Expect function.
21373 [C99-based-standards] (wcstold): Likewise.
21374 [C99-based-standards] (wcstoll): Likewise.
21375 [C99-based-standards] (wcstoull): Likewise.
21376 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21377 macro-int-constant. Specify type.
21378 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21379 constraint on value.
21380 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21381 Specify type.
21382 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21383 Specify value.
21384 [ISO C standards]: Do not allow headers.
21385 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21386 wcs[abcdefghijklmnopqrstuvwxyz]*.
21387 [ISO C standards] (*_t): Do not allow.
21388 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21389 Expect function.
21390 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21391 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21392 Specify type.
21393 [ISO C standards]: Do not allow headers.
21394 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21395 is[abcdefghijklmnopqrstuvwxyz]*.
21396 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21397 to[abcdefghijklmnopqrstuvwxyz]*.
21398 [ISO C standards] (*_t): Do not allow.
21399 * conform/data/stdalign.h-data: New file.
21400 * conform/data/stdbool.h-data: Likewise.
21401 * conform/data/stdnoreturn.h-data: Likewise.
21402
7514feb8
RM
214032012-11-07 Roland McGrath <roland@hack.frob.com>
21404
21405 [BZ #14815]
21406 * manual/filesys.texi (Directory Entries): Typo fix.
21407 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21408
19b2ecfc
MS
214092012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21410
21411 * elf/elf.h (EM_AARCH64): New macro.
21412 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21413 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21414 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21415 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21416 (R_AARCH64_TLSDESC): Likewise.
21417 (NT_ARM_TLS): Likewise.
21418 (NT_ARM_HW_BREAK): Likewise.
21419 (NT_ARM_HW_WATCH): Likewise.
21420
60e235ee
JM
214212012-11-07 Joseph Myers <joseph@codesourcery.com>
21422
21423 [BZ #14811]
21424 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21425 (__ieee754_powl): Saturate nonzero exponents with absolute value
21426 below 0x1p-79 to +/- 0x1p-79.
21427 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21428 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21429 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21430 nonzero exponents with absolute value below 0x1p-32 to +/-
21431 0x1p-32.
21432 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21433 (__ieee754_powl): Saturate nonzero exponents with absolute value
21434 below 0x1p-79 to +/- 0x1p-79.
21435 * math/libm-test.inc (pow_test): Add more tests.
21436
0ab234b7
AK
214372012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21438
21439 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21440 _dl_s390_cap_flags with kernel. Increase string length.
21441 (_dl_s390_platforms): Add z196 and zEC12.
21442
45832f74
JM
214432012-11-07 Joseph Myers <joseph@codesourcery.com>
21444
21445 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21446 Change XOPEN21K to XOPEN2K.
21447
19218757
MK
214482012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21449
21450 * string/memmove.c: Use memcpy when possible.
21451
c5f45721
AJ
214522012-11-06 Andreas Jaeger <aj@suse.de>
21453
21454 * po/eo.po: Update from translation team.
21455
82477c28
JM
214562012-11-06 Joseph Myers <joseph@codesourcery.com>
21457
21458 [BZ #14793]
21459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21460 exponent and small x and y exponents, scale x or y up. Increase
21461 by 2 the exponent used in scaling up.
21462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21464 * math/libm-test.inc (fma_test): Add more tests.
21465 (fma_test_towardzero): Likewise.
21466 (fma_test_downward): Likewise.
21467 (fma_test_upward): Likewise.
21468
99252c8c
JM
214692012-11-05 Joseph Myers <joseph@codesourcery.com>
21470
acfa885f
JM
21471 [BZ #14805]
21472 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21473 fenv_t *.
21474
99252c8c
JM
21475 [BZ #14801]
21476 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21477 namespace for names of struct fields.
21478 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21479 fenv_t fields.
21480 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21481 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21482
d6d98dea
ST
214832012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21484
21485 [BZ #3665]
21486 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21487
e10bb107
TS
214882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21489
21490 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21491 PTR_DEMANGLE.
21492
21493 [BZ #5246]
21494 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21495 PTR_DEMANGLE.
21496
a0c2940d
JM
214972012-11-04 Joseph Myers <joseph@codesourcery.com>
21498
21499 [BZ #14797]
21500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21501 definitely overflow as x * y not x * y + z.
21502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21504 * math/libm-test.inc (fma_test): Add more tests.
21505 (fma_test_towardzero): Likewise.
21506 (fma_test_downward): Likewise.
21507 (fma_test_upward): Likewise.
21508
b830319d
TS
215092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21510
21511 [BZ #157]
21512
21513 * include/stub-tag.h: Remove file.
21514 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21515 '#include' of it.
21516 * manual/maint.texi (Porting): Don't reference it.
21517 * Makerules ($(objpfx)stubs): Likewise.
21518 * dirent/closedir.c: Don't include <stub-tag.h>.
21519 * dirent/dirfd.c: Likewise.
21520 * dirent/fdopendir.c: Likewise.
21521 * dirent/getdents.c: Likewise.
21522 * dirent/getdents64.c: Likewise.
21523 * dirent/opendir.c: Likewise.
21524 * dirent/readdir.c: Likewise.
21525 * dirent/readdir64.c: Likewise.
21526 * dirent/readdir64_r.c: Likewise.
21527 * dirent/readdir_r.c: Likewise.
21528 * dirent/rewinddir.c: Likewise.
21529 * dirent/seekdir.c: Likewise.
21530 * dirent/telldir.c: Likewise.
21531 * gmon/profil.c: Likewise.
21532 * grp/setgroups.c: Likewise.
21533 * inet/if_index.c: Likewise.
21534 * io/access.c: Likewise.
21535 * io/chdir.c: Likewise.
21536 * io/chmod.c: Likewise.
21537 * io/chown.c: Likewise.
21538 * io/close.c: Likewise.
21539 * io/dup.c: Likewise.
21540 * io/dup2.c: Likewise.
21541 * io/dup3.c: Likewise.
21542 * io/euidaccess.c: Likewise.
21543 * io/faccessat.c: Likewise.
21544 * io/fchdir.c: Likewise.
21545 * io/fchmod.c: Likewise.
21546 * io/fchmodat.c: Likewise.
21547 * io/fchown.c: Likewise.
21548 * io/fchownat.c: Likewise.
21549 * io/fcntl.c: Likewise.
21550 * io/flock.c: Likewise.
21551 * io/fstatfs.c: Likewise.
21552 * io/fstatfs64.c: Likewise.
21553 * io/fstatvfs.c: Likewise.
21554 * io/fstatvfs64.c: Likewise.
21555 * io/futimens.c: Likewise.
21556 * io/fxstat.c: Likewise.
21557 * io/fxstat64.c: Likewise.
21558 * io/fxstatat.c: Likewise.
21559 * io/fxstatat64.c: Likewise.
21560 * io/getcwd.c: Likewise.
21561 * io/isatty.c: Likewise.
21562 * io/lchmod.c: Likewise.
21563 * io/lchown.c: Likewise.
21564 * io/link.c: Likewise.
21565 * io/linkat.c: Likewise.
21566 * io/lseek.c: Likewise.
21567 * io/lseek64.c: Likewise.
21568 * io/lxstat64.c: Likewise.
21569 * io/mkdir.c: Likewise.
21570 * io/mkdirat.c: Likewise.
21571 * io/mkfifo.c: Likewise.
21572 * io/mkfifoat.c: Likewise.
21573 * io/open.c: Likewise.
21574 * io/open64.c: Likewise.
21575 * io/openat.c: Likewise.
21576 * io/openat64.c: Likewise.
21577 * io/pipe.c: Likewise.
21578 * io/pipe2.c: Likewise.
21579 * io/poll.c: Likewise.
21580 * io/posix_fadvise.c: Likewise.
21581 * io/posix_fadvise64.c: Likewise.
21582 * io/posix_fallocate.c: Likewise.
21583 * io/posix_fallocate64.c: Likewise.
21584 * io/read.c: Likewise.
21585 * io/readlink.c: Likewise.
21586 * io/readlinkat.c: Likewise.
21587 * io/rmdir.c: Likewise.
21588 * io/sendfile.c: Likewise.
21589 * io/sendfile64.c: Likewise.
21590 * io/statfs.c: Likewise.
21591 * io/statfs64.c: Likewise.
21592 * io/statvfs.c: Likewise.
21593 * io/statvfs64.c: Likewise.
21594 * io/symlink.c: Likewise.
21595 * io/symlinkat.c: Likewise.
21596 * io/ttyname.c: Likewise.
21597 * io/ttyname_r.c: Likewise.
21598 * io/umask.c: Likewise.
21599 * io/unlink.c: Likewise.
21600 * io/unlinkat.c: Likewise.
21601 * io/utime.c: Likewise.
21602 * io/utimensat.c: Likewise.
21603 * io/write.c: Likewise.
21604 * io/xmknod.c: Likewise.
21605 * io/xmknodat.c: Likewise.
21606 * io/xstat.c: Likewise.
21607 * io/xstat64.c: Likewise.
21608 * login/getpt.c: Likewise.
21609 * login/grantpt.c: Likewise.
21610 * login/unlockpt.c: Likewise.
21611 * math/e_acoshl.c: Likewise.
21612 * math/e_acosl.c: Likewise.
21613 * math/e_asinl.c: Likewise.
21614 * math/e_atan2l.c: Likewise.
21615 * math/e_atanhl.c: Likewise.
21616 * math/e_coshl.c: Likewise.
21617 * math/e_expl.c: Likewise.
21618 * math/e_fmodl.c: Likewise.
21619 * math/e_gammal_r.c: Likewise.
21620 * math/e_hypotl.c: Likewise.
21621 * math/e_j0l.c: Likewise.
21622 * math/e_j1l.c: Likewise.
21623 * math/e_jnl.c: Likewise.
21624 * math/e_lgammal_r.c: Likewise.
21625 * math/e_log10l.c: Likewise.
21626 * math/e_log2l.c: Likewise.
21627 * math/e_logl.c: Likewise.
21628 * math/e_powl.c: Likewise.
21629 * math/e_rem_pio2l.c: Likewise.
21630 * math/e_sinhl.c: Likewise.
21631 * math/e_sqrtl.c: Likewise.
21632 * math/fclrexcpt.c: Likewise.
21633 * math/fedisblxcpt.c: Likewise.
21634 * math/feenablxcpt.c: Likewise.
21635 * math/fegetenv.c: Likewise.
21636 * math/fegetexcept.c: Likewise.
21637 * math/fegetround.c: Likewise.
21638 * math/feholdexcpt.c: Likewise.
21639 * math/fesetenv.c: Likewise.
21640 * math/fesetround.c: Likewise.
21641 * math/feupdateenv.c: Likewise.
21642 * math/fgetexcptflg.c: Likewise.
21643 * math/fraiseexcpt.c: Likewise.
21644 * math/fsetexcptflg.c: Likewise.
21645 * math/ftestexcept.c: Likewise.
21646 * math/k_cosl.c: Likewise.
21647 * math/k_rem_pio2l.c: Likewise.
21648 * math/k_sinl.c: Likewise.
21649 * math/k_tanl.c: Likewise.
21650 * math/s_asinhl.c: Likewise.
21651 * math/s_atanl.c: Likewise.
21652 * math/s_cbrtl.c: Likewise.
21653 * math/s_erfl.c: Likewise.
21654 * math/s_expm1l.c: Likewise.
21655 * math/s_log1pl.c: Likewise.
21656 * math/s_tanhl.c: Likewise.
21657 * misc/acct.c: Likewise.
21658 * misc/brk.c: Likewise.
21659 * misc/chflags.c: Likewise.
21660 * misc/chroot.c: Likewise.
21661 * misc/fchflags.c: Likewise.
21662 * misc/fgetxattr.c: Likewise.
21663 * misc/flistxattr.c: Likewise.
21664 * misc/fremovexattr.c: Likewise.
21665 * misc/fsetxattr.c: Likewise.
21666 * misc/fsync.c: Likewise.
21667 * misc/ftruncate.c: Likewise.
21668 * misc/futimes.c: Likewise.
21669 * misc/futimesat.c: Likewise.
21670 * misc/getdomain.c: Likewise.
21671 * misc/getdtsz.c: Likewise.
21672 * misc/gethostid.c: Likewise.
21673 * misc/gethostname.c: Likewise.
21674 * misc/getloadavg.c: Likewise.
21675 * misc/getpagesize.c: Likewise.
21676 * misc/getsysstats.c: Likewise.
21677 * misc/getxattr.c: Likewise.
21678 * misc/gtty.c: Likewise.
21679 * misc/ioctl.c: Likewise.
21680 * misc/lgetxattr.c: Likewise.
21681 * misc/listxattr.c: Likewise.
21682 * misc/llistxattr.c: Likewise.
21683 * misc/lremovexattr.c: Likewise.
21684 * misc/lsetxattr.c: Likewise.
21685 * misc/lutimes.c: Likewise.
21686 * misc/madvise.c: Likewise.
21687 * misc/mincore.c: Likewise.
21688 * misc/mlock.c: Likewise.
21689 * misc/mlockall.c: Likewise.
21690 * misc/mmap.c: Likewise.
21691 * misc/mprotect.c: Likewise.
21692 * misc/msync.c: Likewise.
21693 * misc/munlock.c: Likewise.
21694 * misc/munlockall.c: Likewise.
21695 * misc/munmap.c: Likewise.
21696 * misc/preadv.c: Likewise.
21697 * misc/preadv64.c: Likewise.
21698 * misc/ptrace.c: Likewise.
21699 * misc/pwritev.c: Likewise.
21700 * misc/pwritev64.c: Likewise.
21701 * misc/readv.c: Likewise.
21702 * misc/reboot.c: Likewise.
21703 * misc/remap_file_pages.c: Likewise.
21704 * misc/removexattr.c: Likewise.
21705 * misc/revoke.c: Likewise.
21706 * misc/select.c: Likewise.
21707 * misc/setdomain.c: Likewise.
21708 * misc/setegid.c: Likewise.
21709 * misc/seteuid.c: Likewise.
21710 * misc/sethostid.c: Likewise.
21711 * misc/sethostname.c: Likewise.
21712 * misc/setregid.c: Likewise.
21713 * misc/setreuid.c: Likewise.
21714 * misc/setxattr.c: Likewise.
21715 * misc/sstk.c: Likewise.
21716 * misc/stty.c: Likewise.
21717 * misc/swapoff.c: Likewise.
21718 * misc/swapon.c: Likewise.
21719 * misc/sync.c: Likewise.
21720 * misc/syncfs.c: Likewise.
21721 * misc/syscall.c: Likewise.
21722 * misc/truncate.c: Likewise.
21723 * misc/ualarm.c: Likewise.
21724 * misc/usleep.c: Likewise.
21725 * misc/ustat.c: Likewise.
21726 * misc/utimes.c: Likewise.
21727 * misc/vhangup.c: Likewise.
21728 * misc/writev.c: Likewise.
21729 * posix/_exit.c: Likewise.
21730 * posix/alarm.c: Likewise.
21731 * posix/execve.c: Likewise.
21732 * posix/fexecve.c: Likewise.
21733 * posix/fork.c: Likewise.
21734 * posix/fpathconf.c: Likewise.
21735 * posix/getaddrinfo.c: Likewise.
21736 * posix/getegid.c: Likewise.
21737 * posix/geteuid.c: Likewise.
21738 * posix/getgid.c: Likewise.
21739 * posix/getgroups.c: Likewise.
21740 * posix/getlogin.c: Likewise.
21741 * posix/getlogin_r.c: Likewise.
21742 * posix/getpgid.c: Likewise.
21743 * posix/getpid.c: Likewise.
21744 * posix/getppid.c: Likewise.
21745 * posix/getresgid.c: Likewise.
21746 * posix/getresuid.c: Likewise.
21747 * posix/getsid.c: Likewise.
21748 * posix/getuid.c: Likewise.
21749 * posix/glob64.c: Likewise.
21750 * posix/nanosleep.c: Likewise.
21751 * posix/pathconf.c: Likewise.
21752 * posix/pause.c: Likewise.
21753 * posix/posix_madvise.c: Likewise.
21754 * posix/pread.c: Likewise.
21755 * posix/pread64.c: Likewise.
21756 * posix/pwrite.c: Likewise.
21757 * posix/pwrite64.c: Likewise.
21758 * posix/sched_getaffinity.c: Likewise.
21759 * posix/sched_getp.c: Likewise.
21760 * posix/sched_gets.c: Likewise.
21761 * posix/sched_primax.c: Likewise.
21762 * posix/sched_primin.c: Likewise.
21763 * posix/sched_rr_gi.c: Likewise.
21764 * posix/sched_setaffinity.c: Likewise.
21765 * posix/sched_setp.c: Likewise.
21766 * posix/sched_sets.c: Likewise.
21767 * posix/sched_yield.c: Likewise.
21768 * posix/setgid.c: Likewise.
21769 * posix/setlogin.c: Likewise.
21770 * posix/setpgid.c: Likewise.
21771 * posix/setresgid.c: Likewise.
21772 * posix/setresuid.c: Likewise.
21773 * posix/setsid.c: Likewise.
21774 * posix/setuid.c: Likewise.
21775 * posix/sleep.c: Likewise.
21776 * posix/spawni.c: Likewise.
21777 * posix/sysconf.c: Likewise.
21778 * posix/times.c: Likewise.
21779 * posix/wait.c: Likewise.
21780 * posix/wait3.c: Likewise.
21781 * posix/wait4.c: Likewise.
21782 * posix/waitpid.c: Likewise.
21783 * resolv/gai_sigqueue.c: Likewise.
21784 * resource/getpriority.c: Likewise.
21785 * resource/getrlimit.c: Likewise.
21786 * resource/getrusage.c: Likewise.
21787 * resource/nice.c: Likewise.
21788 * resource/setpriority.c: Likewise.
21789 * resource/setrlimit.c: Likewise.
21790 * resource/ulimit.c: Likewise.
21791 * rt/aio_cancel.c: Likewise.
21792 * rt/aio_fsync.c: Likewise.
21793 * rt/aio_read.c: Likewise.
21794 * rt/aio_sigqueue.c: Likewise.
21795 * rt/aio_suspend.c: Likewise.
21796 * rt/aio_write.c: Likewise.
21797 * rt/clock_getres.c: Likewise.
21798 * rt/clock_gettime.c: Likewise.
21799 * rt/clock_nanosleep.c: Likewise.
21800 * rt/clock_settime.c: Likewise.
21801 * rt/lio_listio.c: Likewise.
21802 * rt/mq_close.c: Likewise.
21803 * rt/mq_getattr.c: Likewise.
21804 * rt/mq_notify.c: Likewise.
21805 * rt/mq_open.c: Likewise.
21806 * rt/mq_receive.c: Likewise.
21807 * rt/mq_send.c: Likewise.
21808 * rt/mq_setattr.c: Likewise.
21809 * rt/mq_timedreceive.c: Likewise.
21810 * rt/mq_timedsend.c: Likewise.
21811 * rt/mq_unlink.c: Likewise.
21812 * rt/shm_open.c: Likewise.
21813 * rt/shm_unlink.c: Likewise.
21814 * rt/timer_create.c: Likewise.
21815 * rt/timer_delete.c: Likewise.
21816 * rt/timer_getoverr.c: Likewise.
21817 * rt/timer_gettime.c: Likewise.
21818 * rt/timer_settime.c: Likewise.
21819 * setjmp/__longjmp.c: Likewise.
21820 * setjmp/setjmp.c: Likewise.
21821 * signal/kill.c: Likewise.
21822 * signal/killpg.c: Likewise.
21823 * signal/raise.c: Likewise.
21824 * signal/sigaction.c: Likewise.
21825 * signal/sigaltstack.c: Likewise.
21826 * signal/sigblock.c: Likewise.
21827 * signal/sigignore.c: Likewise.
21828 * signal/sigintr.c: Likewise.
21829 * signal/signal.c: Likewise.
21830 * signal/sigpause.c: Likewise.
21831 * signal/sigpending.c: Likewise.
21832 * signal/sigqueue.c: Likewise.
21833 * signal/sigreturn.c: Likewise.
21834 * signal/sigset.c: Likewise.
21835 * signal/sigsetmask.c: Likewise.
21836 * signal/sigstack.c: Likewise.
21837 * signal/sigsuspend.c: Likewise.
21838 * signal/sigtimedwait.c: Likewise.
21839 * signal/sigvec.c: Likewise.
21840 * signal/sigwait.c: Likewise.
21841 * signal/sigwaitinfo.c: Likewise.
21842 * signal/sysv_signal.c: Likewise.
21843 * socket/accept.c: Likewise.
21844 * socket/accept4.c: Likewise.
21845 * socket/bind.c: Likewise.
21846 * socket/connect.c: Likewise.
21847 * socket/getpeername.c: Likewise.
21848 * socket/getsockname.c: Likewise.
21849 * socket/getsockopt.c: Likewise.
21850 * socket/isfdtype.c: Likewise.
21851 * socket/listen.c: Likewise.
21852 * socket/recv.c: Likewise.
21853 * socket/recvfrom.c: Likewise.
21854 * socket/recvmsg.c: Likewise.
21855 * socket/send.c: Likewise.
21856 * socket/sendmsg.c: Likewise.
21857 * socket/sendto.c: Likewise.
21858 * socket/setsockopt.c: Likewise.
21859 * socket/shutdown.c: Likewise.
21860 * socket/sockatmark.c: Likewise.
21861 * socket/socket.c: Likewise.
21862 * socket/socketpair.c: Likewise.
21863 * stdio-common/ctermid.c: Likewise.
21864 * stdio-common/cuserid.c: Likewise.
21865 * stdio-common/remove.c: Likewise.
21866 * stdio-common/rename.c: Likewise.
21867 * stdio-common/renameat.c: Likewise.
21868 * stdio-common/tempname.c: Likewise.
21869 * stdlib/getcontext.c: Likewise.
21870 * stdlib/makecontext.c: Likewise.
21871 * stdlib/setcontext.c: Likewise.
21872 * stdlib/swapcontext.c: Likewise.
21873 * stdlib/system.c: Likewise.
21874 * streams/fattach.c: Likewise.
21875 * streams/fdetach.c: Likewise.
21876 * streams/getmsg.c: Likewise.
21877 * streams/getpmsg.c: Likewise.
21878 * streams/putmsg.c: Likewise.
21879 * streams/putpmsg.c: Likewise.
21880 * sysdeps/unix/bsd/getpt.c: Likewise.
21881 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21882 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21883 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21885 Likewise.
21886 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21887 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21888 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21889 * sysvipc/msgctl.c: Likewise.
21890 * sysvipc/msgget.c: Likewise.
21891 * sysvipc/msgrcv.c: Likewise.
21892 * sysvipc/msgsnd.c: Likewise.
21893 * sysvipc/semctl.c: Likewise.
21894 * sysvipc/semget.c: Likewise.
21895 * sysvipc/semop.c: Likewise.
21896 * sysvipc/semtimedop.c: Likewise.
21897 * sysvipc/shmat.c: Likewise.
21898 * sysvipc/shmctl.c: Likewise.
21899 * sysvipc/shmdt.c: Likewise.
21900 * sysvipc/shmget.c: Likewise.
21901 * termios/tcdrain.c: Likewise.
21902 * termios/tcflow.c: Likewise.
21903 * termios/tcflush.c: Likewise.
21904 * termios/tcgetattr.c: Likewise.
21905 * termios/tcgetpgrp.c: Likewise.
21906 * termios/tcsendbrk.c: Likewise.
21907 * termios/tcsetattr.c: Likewise.
21908 * termios/tcsetpgrp.c: Likewise.
21909 * time/adjtime.c: Likewise.
21910 * time/clock.c: Likewise.
21911 * time/getitimer.c: Likewise.
21912 * time/gettimeofday.c: Likewise.
21913 * time/setitimer.c: Likewise.
21914 * time/settimeofday.c: Likewise.
21915 * time/stime.c: Likewise.
21916 * time/time.c: Likewise.
21917
219182012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21919
a20492cf
PT
21920 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21921 /usr/old/bin.
21922
72e182e3
PT
21923 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21924 instead of spaces.
21925 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21926
fbeafede
JM
219272012-11-03 Joseph Myers <joseph@codesourcery.com>
21928
5b5b04d6
JM
21929 [BZ #14796]
21930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21931 FE_TONEAREST before applying Dekker multiplication and Knuth
21932 addition. Clear inexact exceptions and check for exact zero
21933 results afterwards.
21934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21937 * math/libm-test.inc (fma_test): Add more tests.
21938 (fma_test_towardzero): Likewise.
21939 (fma_test_downward): Likewise.
21940 (fma_test_upward): Likewise.
21941 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21942 function.
21943 (libc_fesetround): New macro.
21944 (libc_fesetroundf): Likewise.
21945 (libc_fesetroundl): Likewise.
21946 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21947 function.
21948 (libc_fesetround_387): Likewise.
21949 (libc_fesetroundf): New macro.
21950 (libc_fesetround): Likewise.
21951 (libc_fesetroundl): Likewise.
21952 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21953 function.
21954 (libc_fesetroundf): New macro.
21955 (libc_fesetround): Likewise.
21956 (libc_fesetroundl): Likewise.
21957 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21958 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21959 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21960 libm_hidden_ver.
21961 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21962 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21963 libm_hidden_def.
21964 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21965 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21966 libm_hidden_ver.
21967 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21968 libm_hidden_def.
21969
fbeafede
JM
21970 [BZ #3439]
21971 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21972 integer constant usable in #if and use that to give value to enum
21973 constant.
21974 (FE_DIVBYZERO): Likewise.
21975 (FE_UNDERFLOW): Likewise.
21976 (FE_OVERFLOW): Likewise.
21977 (FE_INVALID): Likewise.
21978 (FE_INVALID_SNAN): Likewise.
21979 (FE_INVALID_ISI): Likewise.
21980 (FE_INVALID_IDI): Likewise.
21981 (FE_INVALID_ZDZ): Likewise.
21982 (FE_INVALID_IMZ): Likewise.
21983 (FE_INVALID_COMPARE): Likewise.
21984 (FE_INVALID_SOFTWARE): Likewise.
21985 (FE_INVALID_SQRT): Likewise.
21986 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21987 (FE_TONEAREST): Likewise.
21988 (FE_TOWARDZERO): Likewise.
21989 (FE_UPWARD): Likewise.
21990 (FE_DOWNWARD): Likewise.
21991 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21992 (FE_DIVBYZERO): Likewise.
21993 (FE_OVERFLOW): Likewise.
21994 (FE_UNDERFLOW): Likewise.
21995 (FE_INEXACT): Likewise.
21996 (FE_TONEAREST): Likewise.
21997 (FE_DOWNWARD): Likewise.
21998 (FE_UPWARD): Likewise.
21999 (FE_TOWARDZERO): Likewise.
22000 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22001 (FE_UNDERFLOW): Likewise.
22002 (FE_OVERFLOW): Likewise.
22003 (FE_DIVBYZERO): Likewise.
22004 (FE_INVALID): Likewise.
22005 (FE_TONEAREST): Likewise.
22006 (FE_TOWARDZERO): Likewise.
22007 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22008 (FE_OVERFLOW): Likewise.
22009 (FE_UNDERFLOW): Likewise.
22010 (FE_DIVBYZERO): Likewise.
22011 (FE_INEXACT): Likewise.
22012 (FE_TONEAREST): Likewise.
22013 (FE_TOWARDZERO): Likewise.
22014 (FE_UPWARD): Likewise.
22015 (FE_DOWNWARD): Likewise.
22016 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22017 (FE_DIVBYZERO): Likewise.
22018 (FE_OVERFLOW): Likewise.
22019 (FE_UNDERFLOW): Likewise.
22020 (FE_INEXACT): Likewise.
22021 (FE_TONEAREST): Likewise.
22022 (FE_DOWNWARD): Likewise.
22023 (FE_UPWARD): Likewise.
22024 (FE_TOWARDZERO): Likewise.
22025
105ca950
CM
220262012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22027
22028 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22029
a542b389
AS
220302012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22031
22032 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22033 commands. Quote $PWD.
22034 (blacklist_exports): Don't use remove_newlines. Replace "declare
22035 -x" by "export".
22036 (remove_newlines): Remove.
22037
f62c8abc
L
220382012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22039
22040 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22041 * stdlib/stdlib.h (atof): Moved to ...
22042 * include/bits/stdlib-float.h: Here. New file.
22043 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22044 * stdlib/bits/stdlib-float.h: New file.
22045 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22046 -mno-sse -mno-mmx.
22047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22048 <xmmintrin.h>.
22049
0155d5b2
JM
220502012-11-02 Joseph Myers <joseph@codesourcery.com>
22051
a68d0680
JM
22052 * conform/conformtest.pl (@headers): Add fenv.h.
22053 * conform/data/fenv.h-data: New file.
22054 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22055 include of <math/fenv.h>.
22056
caf7f573
JM
22057 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22058 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22059 && !UNIX98]. Enables tests for XOPEN2K8.
22060 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22061 POSIX2008]: Likewise.
22062
6c073ad6
JM
22063 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22064 (struct rusage): Do not expect type or its members.
22065
0155d5b2
JM
22066 [BZ #3439]
22067 * math/math.h (FP_NAN): Define macro to integer constant usable in
22068 #if and use that to give value to enum constant.
22069 (FP_INFINITE): Likewise.
22070 (FP_ZERO): Likewise.
22071 (FP_SUBNORMAL): Likewise.
22072 (FP_NORMAL): Likewise.
22073
b5dcacb4
AS
220742012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22075
22076 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22077 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22078 arguments.
22079
f7934be8
RM
220802012-11-02 Roland McGrath <roland@hack.frob.com>
22081
22082 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22083 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22084 autoconf-time if not.
22085 * configure.in: Remove AC_PREREQ.
22086
d7d08bde
TMQMF
220872012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22088
22089 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22090 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22091 of the internal implementation.
22092
dcdae19a
JM
220932012-11-02 Joseph Myers <joseph@codesourcery.com>
22094
22095 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22096 except include of <misc/sys/syslog.h>.
22097
d6cffd3e
AS
220982012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22099
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22101 function returns with a NULL context exit with zero.
22102
b3563932
TMQMF
221032012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22104
22105 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22106
b288a93d
L
221072012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22108
22109 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22110 (run_program_cmd): This.
22111 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22112 (tst_langinfo): New variable. Use it.
22113
a2421a68
SAS
221142012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22115
22116 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22117 floating point opcodes.
22118
6f796e1b
TS
221192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22120
7402596b
TS
22121 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22122 variable.
22123
d0d4f868
TS
22124 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22125
6f796e1b
TS
22126 * sysdeps/mach/hurd/powerpc: Remove directory.
22127 * sysdeps/mach/powerpc: Likewise.
22128
4da224a2
AS
221292012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22130
22131 * scripts/check-local-headers.sh: Ignore c++ headers.
22132
341dd673
TS
221332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22134
22135 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22136 __libc_cleanup_region_start argument.
22137
473611b2
JM
221382012-11-01 Joseph Myers <joseph@codesourcery.com>
22139
22140 [BZ #14784]
22141 [BZ #14785]
22142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22143 x * y using scaling, not as x * y + z.
22144 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22145 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22146 * math/libm-test.inc (fma_test): Add more tests.
22147 (fma_test_towardzero): Likewise.
22148 (fma_test_downward): Likewise.
22149 (fma_test_upward): Likewise.
22150
4078da3d
TS
221512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22152
22153 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22154
903252aa
JM
221552012-10-31 Joseph Myers <joseph@codesourcery.com>
22156
22157 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22158 New variable.
22159
cbc818d0
TS
221602012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22161
22162 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22163
5a03cb1e
AS
221642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22165
22166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22167 Fix sort order.
22168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22169 Likewise.
22170
90aff2ff
TMQMF
221712012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22172
22173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22174 Fix the order of the list for glibc 2.17.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22176 Likewise.
22177
1818fcb7
AS
221782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22179
22180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22181
ef82f4da
JM
221822012-10-31 Joseph Myers <joseph@codesourcery.com>
22183
16a0e2ec
JM
22184 [BZ #14610]
22185 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22186 for low part of x being zero before using __atanl (y).
22187 * math/libm-test.inc (atan2_test): Add another test.
22188
0eb69512
JM
22189 * manual/install.texi (Configuring and compiling): Document
22190 general use of test-wrapper and test-wrapper-env.
22191 * INSTALL: Regenerated.
22192
ef82f4da
JM
22193 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22194 (__fma): Do not extract and scale down low bits on after-rounding
22195 systems when result rounded to normal precision would have normal
22196 exponent.
22197 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22198 (__fmal): Do not extract and scale down low bits on after-rounding
22199 systems when result rounded to normal precision would have normal
22200 exponent.
22201 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22202 (__fmal): Do not extract and scale down low bits on after-rounding
22203 systems when result rounded to normal precision would have normal
22204 exponent.
22205 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22206 macro.
22207 (fma_test): Add more tests.
22208 (fma_test_towardzero): Likewise.
22209 (fma_test_downward): Likewise.
22210 (fma_test_upward): Likewise.
22211
954ef0d9
L
222122012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22213
22214 * sysdeps/i386/tininess.h: Renamed to ...
22215 * sysdeps/x86/tininess.h: This.
22216 * sysdeps/x86_64/tininess.h: Removed.
22217
df61ffb2
JM
222182012-10-30 Joseph Myers <joseph@codesourcery.com>
22219
22220 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22221 input. Use $(build-program-cmd).
22222 ($(objpfx)tst-array1-static.out): Likewise.
22223 ($(objpfx)tst-array2.out): Likewise.
22224 ($(objpfx)tst-array3.out): Likewise.
22225 ($(objpfx)tst-array4.out): Likewise.
22226 ($(objpfx)tst-array5.out): Likewise.
22227 ($(objpfx)tst-array5-static.out): Likewise.
22228
01767843
CM
222292012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22230
47cc1490
CM
22231 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22232 if defined.
22233
01767843
CM
22234 * nss/nsswitch.h (nss_interface_function): Provide new
22235 macro for use with NSS functions.
22236 * grp/initgroups.c: Use new macro.
22237 * nss/getXXbyYY.c: Likewise.
22238 * nss/getXXbyYY_r.c: Likewise.
22239 * nss/getXXent.c: Likewise.
22240 * nss/getXXent_r.c: Likewise.
22241 * sysdeps/posix/getaddrinfo.c: Likewise.
22242
8321aa97
AJ
222432012-10-30 Andreas Jaeger <aj@suse.de>
22244
22245 * po/ru.po: Update Russion translation from translation project.
22246
2a27fd6d
JM
222472012-10-30 Joseph Myers <joseph@codesourcery.com>
22248
8627a232
JM
22249 [BZ #14152]
22250 [BZ #14783]
22251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22252 result and shift together with sticky bit instead of replicating
22253 round-to-nearest rounding.
22254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22256 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22257 missing underflow exceptions.
22258 (fma_test_towardzero): Add more tests.
22259 (fma_test_downward): Likewise.
22260 (fma_test_upward): Likewise.
22261
2a27fd6d
JM
22262 [BZ #14047]
22263 * sysdeps/generic/tininess.h: New file.
22264 * sysdeps/i386/tininess.h: Likewise.
22265 * sysdeps/sh/tininess.h: Likewise.
22266 * sysdeps/x86_64/tininess.h: Likewise.
22267 * stdlib/tst-strtod-underflow.c: Likewise.
22268 * stdlib/tst-tininess.c: Likewise.
22269 * stdlib/strtod_l.c: Include <tininess.h>.
22270 (round_and_return): Do not set errno for exact underflow cases.
22271 Force an underflow exception when setting errno for underflow.
22272 Determine underflow based on rounding to normal precision if
22273 TININESS_AFTER_ROUNDING.
22274 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22275 ERANGE for exact underflow cases.
22276 * stdlib/Makefile (tests): Add tst-tininess and
22277 tst-strtod-underflow.
22278 ($(objpfx)tst-tininess): Use $(link-libm).
22279 ($(objpfx)tst-strtod-underflow): Likewise.
22280
e7170363
AJ
222812012-10-30 Andreas Jaeger <aj@suse.de>
22282
e5088dc6
AJ
22283 [BZ#14767]
22284 * elf/Makefile (tests): Remove conditional for have-initfini-array
22285 since this is now always required and the variable does not exist
22286 anymore.
22287 (tests-static): Likewise.
22288 (modules-names): Likewise.
22289
e7170363 22290 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22291
22292 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22293 merged with constructor/destructor.
22294 (init_array): Likewise.
22295 * elf/tst-array2dep.c (fini_array): Likewise.
22296 (init_array): Likewise.
22297
60457d8a
MF
222982012-10-29 Mike Frysinger <vapier@gentoo.org>
22299
22300 * manual/message.texi: Delete @cartouche tags.
22301
8bece752
PT
223022012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22303
94ce799f
PT
22304 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22305 EOPNOTSUPP.
22306 * sysdeps/mach/hurd/fsync.c: Likewise.
22307
8bece752
PT
22308 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22309 [_POSIX_REALTIME_SIGNALS]: Change condition to
22310 [_POSIX_REALTIME_SIGNALS > 0].
22311
86ebe6b1
AJ
223122012-10-27 Andreas Jaeger <aj@suse.de>
22313
22314 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22315 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22317 [__WORDSIZE != 64]: Likewise.
22318
54399c08
L
223192012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22320
22321 * iconvdata/tst-table.sh: Remove ${SHELL}.
22322 * iconvdata/tst-tables.sh: Likewise.
22323
e2211bed
DM
223242012-10-25 David S. Miller <davem@davemloft.net>
22325
22326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22327 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22328 of strtoull.
22329
f303f97c
DM
22330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22331 ifunc-impl-list.c
22332 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22333 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22334 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22335 file.
22336
1e9d84cd
RM
223372012-10-25 Roland McGrath <roland@hack.frob.com>
22338
22339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22340 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22341 __getdirentries.
22342
df381762
JM
223432012-10-25 Joseph Myers <joseph@codesourcery.com>
22344 Jim Blandy <jimb@codesourcery.com>
22345
22346 * scripts/cross-test-ssh.sh: New file.
22347 * manual/install.texi (Configuring and compiling): Document use of
22348 cross-test-ssh.sh.
22349 * INSTALL: Regenerated.
22350
bff64913
PT
223512012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22352
22353 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22354 EOPNOTSUPP.
22355
25fe8932
JM
223562012-10-25 Joseph Myers <joseph@codesourcery.com>
22357
22358 * Makeconfig (run-program-prefix): Fix comment.
22359
cc1290d0
JM
223602012-10-24 Joseph Myers <joseph@codesourcery.com>
22361 Jim Blandy <jimb@codesourcery.com>
22362
22363 * Makeconfig (test-wrapper): New variable,
22364 (test-wrapper-env): Likewise.
22365 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22366 (run-built-tests): Define to yes.
22367 (run-program-prefix): Use $(test-wrapper).
22368 (built-program-cmd): Likewise.
22369 * Rules (make-test-out): Use $(test-wrapper-env) and
22370 $(host-built-program-cmd).
22371 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22372 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22373 tst-pathopt.sh.
22374 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22375 $(test-wrapper-env) to tst-rtld-load-self.sh.
22376 ($(objpfx)order2.out): Use $(test-wrapper).
22377 ($(objpfx)tst-initorder.out): Likewise.
22378 ($(objpfx)tst-initorder2.out): Likewise.
22379 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22380 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22381 (test_wrapper_env): New variable. Use it to run ld.so.
22382 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22383 Use it to run ld.so.
22384 (test_wrapper_env): Likewise.
22385 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22386 $(test-wrapper) to run-iconv-test.sh.
22387 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22388 (ICONV): Use $test_wrapper.
22389 * posix/Makefile ($(objpfx)globtest.out): Pass
22390 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22391 globtest.sh, not $(run-program-prefix).
22392 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22393 (test_wrapper): Likewise.
22394 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22395 set together with run_via_rtld_prefix.
22396 (run_program_prefix): Define in terms of test_wrapper and
22397 run_via_rtld_prefix.
22398
6e6249d0
RM
223992012-10-24 Roland McGrath <roland@hack.frob.com>
22400
22401 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22402 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22403 Targets removed.
22404
22405 [BZ #14743]
22406 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22407 Declare __clock_getres, __clock_gettime, __clock_settime,
22408 __clock_nanosleep, and __clock_getcpuclockid.
22409 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22410 Remove librt_hidden_def (clock_gettime).
22411 * sysdeps/unix/clock_gettime.c: Likewise.
22412 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22413 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22414 * rt/clock_getres.c: Define __clock_getres as an alias.
22415 * sysdeps/posix/clock_getres.c: Likewise.
22416 * rt/clock_settime.c: Define __clock_settime as an alias.
22417 * sysdeps/unix/clock_settime.c: Likewise.
22418 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22419 * sysdeps/unix/clock_nanosleep.c: Likewise.
22420 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22421 * rt/clock-compat.c: New file.
22422 * rt/Makefile (librt-routines): Add clock-compat and move
22423 $(clock-routines) to ...
22424 (routines): ... here, new variable.
22425 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22426 Don't add get_clockfreq here.
22427 * rt/Versions (libc: GLIBC_2.17): New version set.
22428 Add clock_* symbols here.
22429 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22430 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22431 (GLIBC_2.17): Add clock_* symbols.
22432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22434 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22436 Likewise.
22437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22438 Likewise.
22439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22443 * NEWS: Mention the move.
22444
22445 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22446 Use __open, __read, __close rather than their public counterparts.
22447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22448 (__get_clockfreq_via_cpuinfo): Likewise.
22449 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22450 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22451
22452 * config.h.in (HAVE_IFUNC): New #undef.
22453 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22454 was successful.
22455 * configure: Regenerated.
22456
0cae3f4b
MF
224572012-10-24 Mike Frysinger <vapier@gentoo.org>
22458
22459 * configure.in: Move READELF check to start of file.
22460 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22461 libc_cv_asm_gnu_indirect_function in the process.
22462 * configure: Regenerated.
22463
8175a253
MF
224642012-10-24 Mike Frysinger <vapier@gentoo.org>
22465
22466 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22467 send the output to /dev/null.
22468 (libc_cv_cc_with_libunwind): Likewise.
22469 (libc_cv_as_noexecstack): Likewise.
22470 * configure: Regenerate.
22471
0708a7d1
JM
224722012-10-24 Joseph Myers <joseph@codesourcery.com>
22473
10b40d85
JM
22474 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22475
0708a7d1
JM
22476 * posix/globtest.sh (TMPDIR): Do not set.
22477 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22478 (testout): Likewise.
22479
9fddec1a
AJ
224802012-10-24 Andreas Jaeger <aj@suse.de>
22481
3a8db22f
AJ
22482 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22483 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22484 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22485 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22486 posix_fadvise64, posix_fallocate64.
22487
9fddec1a
AJ
22488 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22489 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22490 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22491 Likewise.
22492 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22493 Likewise.
22494 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22495
22496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22497 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22498 <bits/fcntl-linux.h>.
22499 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22500
22501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22502 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22503 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22504 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22505 [__WORDSIZE != 64]: Likewise.
22506
ebfd1bbd
JM
225072012-10-23 Joseph Myers <joseph@codesourcery.com>
22508
03ac099f
JM
22509 * Makeconfig (run-built-tests): New variable.
22510 * Rules [$(cross-compiling) = yes]: Change condition to
22511 [$(run-built-tests) = no].
22512 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22513 to [$(run-built-tests) = yes].
22514 * elf/Makefile [$(cross-compiling) = no]: Likewise
22515 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22516 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22517 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22518 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22519 * io/Makefile [$(cross-compiling) = no]: Likewise.
22520 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22521 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22522 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22523 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22524 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22525 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22526 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22527 * string/Makefile [$(cross-compiling) = no]: Likewise.
22528
ebfd1bbd
JM
22529 * posix/Makefile ($(objpfx)globtest.out): Pass
22530 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22531 $(rtld-installed-name).
22532 * posix/globtest.sh (elf_objpfx): Remove variable.
22533 (rtld_installed_name): Likewise.
22534 (library_path): Likewise.
22535 (run_program_prefix): New variable. Use for running globtest
22536 binary.
22537
166bca24
JB
225382012-10-23 Jim Blandy <jimb@codesourcery.com>
22539 Joseph Myers <joseph@codesourcery.com>
22540
22541 * Makeconfig (host-built-program-cmd): New variable.
22542 * elf/Makefile (tst-stackguard1-ARGS): Use
22543 $(host-built-program-cmd).
22544 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22545 (tst-spawn-ARGS): Likewise.
22546 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22547
88866099
JM
225482012-10-23 Joseph Myers <joseph@codesourcery.com>
22549 Jim Blandy <jimb@codesourcery.com>
22550
22551 * Makeconfig (run-via-rtld-prefix): New variable.
22552 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22553 (built-program-cmd): Likewise.
22554
b4b4c296
AJ
225552012-10-22 Andreas Jaeger <aj@suse.de>
22556
22557 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22558 __O_RSYNC if it exists, otherwise to O_SYNC.
22559
6fb54a22
JB
225602012-10-22 Jim Blandy <jimb@codesourcery.com>
22561 Joseph Myers <joseph@codesourcery.com>
22562
22563 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22564 /dev/null.
22565 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22566 from /dev/null
22567 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22568 /dev/null.
22569
481b90b9
AJ
225702012-10-22 Andreas Jaeger <aj@suse.de>
22571
2a0e2669
AJ
22572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22573 Define always.
22574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22575
76e38f9a
AJ
22576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22577 bits/fcntl-linux.h.
22578
7cd37b43
AJ
22579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22580 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22581
481b90b9
AJ
22582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22583 to __O_LARGEFILE.
22584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22585 to __O_LARGEFILE.
22586
aba75984
JB
225872012-10-21 Jim Blandy <jimb@codesourcery.com>
22588 Joseph Myers <joseph@codesourcery.com>
22589
22590 * config.make.in (NM): New variable.
22591
88d4247f
AJ
225922012-10-21 Andreas Jaeger <aj@suse.de>
22593
22594 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22595 definitions and declarations that are provided by
22596 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22597
f2eed205
L
225982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22599
22600 [BZ #14683]
22601 * elf/Makefile (tests-static): Add tst-leaks1-static.
22602 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22603 ($(objpfx)tst-leaks1-static): New rule.
22604 ($(objpfx)tst-leaks1-static-mem): Likewise.
22605 (tst-leaks1-static-ENV): New macro.
22606 * elf/dl-open.c (dl_open_worker): Check the main application
22607 only if SHARED is defined.
22608 * elf/tst-leaks1-static.c: New file.
22609
335e6931
AJ
226102012-10-20 Andreas Jaeger <aj@suse.de>
22611
22612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22613 generic values for Linux.
22614 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22615 and declarations that are provided by <bits/fcntl-linux.h> and
22616 include <bits/fcntl-linux.h>.
22617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22619
ac5c94d3
RM
226202012-10-20 Roland McGrath <roland@hack.frob.com>
22621
22622 * io/fcntl.h: Move include of <bits/types.h> to the top and
22623 include it unconditionally.
22624
de54b33a
L
226252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22626
228cfb01
L
22627 * wcsmbs/Makefile (tests-ifunc): New variable.
22628 (tests): Add $(tests-ifunc).
22629 * wcsmbs/test-wcschr-ifunc.c: New file.
22630 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22631 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22632 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22633 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22634 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22635
69f07e5f
L
22636 * string/Makefile (tests-ifunc): New variable.
22637 (tests): Add $(tests-ifunc).
22638 * string/test-memccpy.c (TEST_NAME): New macro.
22639 * string/test-memchr.c (TEST_NAME): Likewise.
22640 * string/test-memcmp.c (TEST_NAME): Likewise.
22641 * string/test-memcpy.c (TEST_NAME): Likewise.
22642 * string/test-memmem.c (TEST_NAME): Likewise.
22643 * string/test-memmove.c (TEST_NAME): Likewise.
22644 * string/test-memset.c (TEST_NAME): Likewise.
22645 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22646 * string/test-stpcpy.c (TEST_NAME): Likewise.
22647 * string/test-stpncpy.c (TEST_NAME): Likewise.
22648 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22649 * string/test-strcasestr.c (TEST_NAME): Likewise.
22650 * string/test-strcat.c (TEST_NAME): Likewise.
22651 * string/test-strchr.c (TEST_NAME): Likewise.
22652 * string/test-strcmp.c(TEST_NAME): Likewise.
22653 * string/test-strcpy.c (TEST_NAME): Likewise.
22654 * string/test-strcspn.c (TEST_NAME): Likewise.
22655 * string/test-strlen.c (TEST_NAME): Likewise.
22656 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22657 * string/test-strncmp.c (TEST_NAME): Likewise.
22658 * string/test-strncpy.c (TEST_NAME): Likewise.
22659 * string/test-strnlen.c (TEST_NAME): Likewise.
22660 * string/test-strpbrk.c (TEST_NAME): Likewise.
22661 * string/test-strrchr.c (TEST_NAME): Likewise.
22662 * string/test-strspn.c (TEST_NAME): Likewise.
22663 * string/test-strstr.c (TEST_NAME): Likewise.
22664 * string/test-bcopy-ifunc.c: New file.
22665 * string/test-bzero-ifunc.c: Likewise.
22666 * string/test-memccpy-ifunc.c: Likewise.
22667 * string/test-memchr-ifunc.c: Likewise.
22668 * string/test-memcmp-ifunc.c: Likewise.
22669 * string/test-memcpy-ifunc.c: Likewise.
22670 * string/test-memmem-ifunc.c: Likewise.
22671 * string/test-memmove-ifunc.c: Likewise.
22672 * string/test-mempcpy-ifunc.c: Likewise.
22673 * string/test-memset-ifunc.c: Likewise.
22674 * string/test-rawmemchr-ifunc.c: Likewise.
22675 * string/test-stpcpy-ifunc.c: Likewise.
22676 * string/test-stpncpy-ifunc.c: Likewise.
22677 * string/test-strcasecmp-ifunc.c: Likewise.
22678 * string/test-strcasestr-ifunc.c: Likewise.
22679 * string/test-strcat-ifunc.c: Likewise.
22680 * string/test-strchr-ifunc.c: Likewise.
22681 * string/test-strchrnul-ifunc.c: Likewise.
22682 * string/test-strcmp-ifunc.c: Likewise.
22683 * string/test-strcpy-ifunc.c: Likewise.
22684 * string/test-strcspn-ifunc.c: Likewise.
22685 * string/test-strlen-ifunc.c: Likewise.
22686 * string/test-strncasecmp-ifunc.c: Likewise.
22687 * string/test-strncat-ifunc.c: Likewise.
22688 * string/test-strncmp-ifunc.c: Likewise.
22689 * string/test-strncpy-ifunc.c: Likewise.
22690 * string/test-strnlen-ifunc.c: Likewise.
22691 * string/test-strpbrk-ifunc.c: Likewise.
22692 * string/test-strrchr-ifunc.c: Likewise.
22693 * string/test-strspn-ifunc.c: Likewise.
22694 * string/test-strstr-ifunc.c: Likewise.
22695
de54b33a
L
22696 * debug/Makefile (tests-ifunc): New variable.
22697 (tests): Add $(tests-ifunc).
22698 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22699 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22700 * debug/test-stpcpy_chk-ifunc.c: New file.
22701 * debug/test-strcpy_chk-ifunc.c: Likewise.
22702
88481c16
SP
227032012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22704
22705 [BZ #13601]
22706 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22707 header is not read in.
22708
135948bd
JM
227092012-10-19 Joseph Myers <joseph@codesourcery.com>
22710
89f1c388
JM
22711 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22712 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22713 directly. Pass built executable to script as
22714 $(built-program-cmd).
22715 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22716 $testprogram without using LD_LIBRARY_PATH and $ldso.
22717
e40a0d21
JM
22718 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22719 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22720 $(rtld-installed-name).
22721 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22722 (rtld_installed_name): Likewise.
22723 (library_path): Likewise.
22724 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22725 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22726 $(run-program-prefix) to tst-tables.sh.
22727 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22728 it to run tst-table-from and tst-table-to.
22729 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22730 Pass it to tst-table.sh.
22731 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22732 $(run-program-prefix) to tst-gettext.sh.
22733 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22734 tst-translit.sh.
22735 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22736 tst-gettext2.sh.
22737 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22738 to run tst-gettext.
22739 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22740 to run tst-gettext2.
22741 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22742 to run tst-translit.
22743 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22744 $(run-program-prefix) to tst-mtrace.sh.
22745 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22746 to run tst-mtrace.
22747 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22748 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22749 $(rtld-installed-name).
22750 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22751 (rtld_installed_name): Likewise.
22752 (run_program_prefix): New variable. Use it to run wordexp-test.
22753
728e272a
JM
22754 * Makeconfig (ARCH): Remove all definitions.
22755 (machine): Likewise.
22756 [ARCH]: Remove conditional code.
22757 [!objdir]: Give error.
22758 [!objdir] (objpfx): Remove.
22759 [!objdir] (common-objpfx): Likewise.
22760 [!objdir] (common-objdir): Likewise.
22761 * configure.in (config_makefile): Remove. Hardcode Makefile in
22762 AC_CONFIG_FILES call.
22763 * configure: Regenerated.
22764
d528cdcf
JM
22765 [BZ #13888]
22766 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22767 or TMPDIR.
22768 (testout): Likewise.
22769
135948bd
JM
22770 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22771 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22772 $(rtld-installed-name).
22773 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22774 (rtld_installed_name): Likwise.
22775 (runit): Remove function.
22776 (run_getconf): New variable, Use it for running getconf binary.
22777
38c78296
L
227782012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22779
22780 [BZ #14716]
22781 * string/test-memmem.c (check_result): New function.
22782 (do_one_test): Use it.
22783 (check1): New function.
22784 (test_main): Use it.
22785
d077f65f
MT
227862012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22787
22788 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22789
ced52c71
JM
227902012-10-18 Joseph Myers <joseph@codesourcery.com>
22791
22792 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22793 (_G_LSEEK64): Likewise.
22794 (_G_MMAP64): Likewise.
22795 (_G_FSTAT64): Likewise.
22796 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22797 (_G_LSEEK64): Likewise.
22798 (_G_MMAP64): Likewise.
22799 (_G_FSTAT64): Likewise.
22800 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22801 unconditional. Call __mmap64 directly.
22802 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22803 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22804 __lseek64 directly.
22805 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22806 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22807 __mmap64 directly.
22808 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22809 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22810 __lseek64 directly.
22811 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22812 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22813 __lseek64 directly.
22814 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22815 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22816 __lseek64 directly.
22817 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22818 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22819 __fxstat64 directly.
22820 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22821 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22822 unconditional.
22823 (freopen64) [!_G_OPEN64]: Remove conditional code.
22824 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22825 unconditional.
22826 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22827 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22828 unconditional.
22829 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22830 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22831 unconditional.
22832 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22833 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22834 unconditional.
22835 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22836 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22837 unconditional.
22838 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22839 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22840 unconditional.
22841 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22842 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22843 unconditional.
22844 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22845
b741de23
SP
228462012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22847
22848 [BZ #12140]
22849 * manual/memory.texi (Malloc Tunable Parameters): Add note
22850 about free list pointers overwriting some perturb bytes.
22851 Wording suggested by Roland McGrath.
22852
f9b9d9c9
JM
228532012-10-17 Joseph Myers <joseph@codesourcery.com>
22854
22855 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22856 (lgamma_test): Likewise.
22857 (tgamma_test): Likewise.
22858
172a631a
FW
228592012-10-16 Florian Weimer <fweimer@redhat.com>
22860
22861 [BZ #14700]
22862 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22863 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22864
e9f37252
MK
228652012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22866
22867 * NEWS: Mention BZ #14716.
22868 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22869 when removing AVAILABLE1_USES_J macro.
22870
d394eb74
L
228712012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22872
22873 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22874 (__bswap_64): __uint64_t for unsigned 64-bit int.
22875
ca38dc17
AS
228762012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22877
22878 * include/string.h (memmem): Declare libc hidden alias.
22879 * string/memmem.c (memmem): Define libc hidden alias.
22880 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22881 __read, __close instead of open, read, close.
22882
9a387d1f
L
228832012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22884
ac49ecaf
L
22885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22886 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22887 global and hidden.
22888 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22889 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22890 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22891 Likewise.
22892 (__rawmemchr_sse2): Likewise.
22893 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22894 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22895 (__strchr_sse2): Likewise.
22896 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22897 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22898 (__strcasecmp_sse2): Likewise.
22899 (__strncasecmp_sse2): Likewise.
22900 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22901 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22902 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22903 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22904 (__strrchr_sse2): Likewise.
22905 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22906 ifunc-impl-list.c.
22907 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22908 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22909 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22910 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22911 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22912 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22913 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22914 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22915 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22916 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22917 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22918 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22919 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22920 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22921 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22922 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22923 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22924 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22925 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22926 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22927 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22928 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22929 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22930 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22931 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22932 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22933 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22934 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22935 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22936 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22937
b090e8ea
L
22938 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22939 global and hidden.
22940 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22941 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22942 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22943 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22944 Likewise.
22945 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22946 Likewise.
22947 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22948 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22949 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22950 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22951 ifunc-impl-list.c.
22952 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22953 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22954 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22955 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22956 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22957 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22958 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22959 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22960 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22961 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22962 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22963 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22964 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22965 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22966 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22967 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22968 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22969 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22970 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22971 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22973 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22974 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22975 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22977 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22978 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22979 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22980 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22981 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22982 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22983 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22984 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22985 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22986 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22987 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22988 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22989 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22990 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22991 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22992 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22993
11dd4af6
L
22994 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22995 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22996 * include/ifunc-impl-list.h: New file.
22997 * misc/ifunc-impl-list.c: Likewise.
22998 * misc/Makefile (routines): Add ifunc-impl-list.
22999 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23000 * string/test-string.h: Include <ifunc-impl-list.h>.
23001 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23002 impl_array): New variables.
23003 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23004 are defined.
23005 (test_init): Call __libc_ifunc_impl_list to initialize
23006 func_list if TEST_IFUNC and TEST_NAME are defined.
23007
9a387d1f
L
23008 * string/Makefile (strop-tests): Add bcopy and bzero.
23009 * string/test-bcopy.c: New file.
23010 * string/test-bzero.c: Likewise.
23011 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23012 defined.
23013 * string/test-memset.c: Support bzero test if TEST_BZERO is
23014 defined.
23015 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23016 __libc_memmove.
23017 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23018 __libc_memset.
23019 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23020 of memset.
23021
472371b9
JM
230222012-10-10 Joseph Myers <joseph@codesourcery.com>
23023
1e4a9536
JM
23024 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23025 * configure: Regenerated.
23026
d173d12e
JM
23027 * Makeconfig (+link-static-before-libc): Don't include
23028 $(link-static-libc).
23029
472371b9
JM
23030 * libio/libio.h (_IO_pos_t): Remove.
23031
89a3ad0b
AO
230322012-10-10 Alexandre Oliva <aoliva@redhat.com>
23033
23034 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23035 McGrath.
23036
e7451425
AO
230372012-10-10 Alexandre Oliva <aoliva@redhat.com>
23038
23039 * crypt/crypt-entry.c: Include fips-private.h.
23040 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23041 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23042 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23043 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23044
4ba74a35
AO
230452012-10-10 Alexandre Oliva <aoliva@redhat.com>
23046
23047 * crypt/crypt-private.h: Include stdbool.h.
23048 (_ufc_setup_salt_r): Return bool.
23049 * crypt/crypt-entry.c: Include errno.h.
23050 (__crypt_r): Return NULL with EINVAL for bad salt.
23051 * crypt/crypt_util.c (bad_for_salt): New.
23052 (_ufc_setup_salt_r): Check that salt is long enough and within
23053 the specified alphabet.
23054 * crypt/badsalttest.c: New file.
23055 * crypt/Makefile (tests): Add it.
23056 ($(objpfx)badsalttest): New.
23057
f96f1242
MK
230582012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23059
23060 * NEWS: Add entry for BZ #14602.
23061
0e8e0c1c
JM
230622012-10-09 Joseph Myers <joseph@codesourcery.com>
23063
23064 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23065 type-generic.
23066 * math/libm-test.inc: Update comment listing what functions and
23067 macros are tested.
23068 (isgreater_test): New function.
23069 (isgreaterequal_test): Likewise.
23070 (isless_test): Likewise.
23071 (islessequal_test): Likewise.
23072 (islessgreater_test): Likewise.
23073 (isunordered_test): Likewise.
23074 (main): Call the new functions.
23075
273edc5e
RM
230762012-10-09 Roland McGrath <roland@hack.frob.com>
23077
b8493de0
RM
23078 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23079 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23080 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23081 * sysdeps/i386/configure: Regenerated.
23082 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23083 * sysdeps/mach/configure: Regenerated.
23084 * sysdeps/mach/hurd/configure: Regenerated.
23085 * sysdeps/powerpc/configure: Regenerated.
23086 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23087 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23088 * sysdeps/s390/s390-32/configure: Regenerated.
23089 * sysdeps/s390/s390-64/configure: Regenerated.
23090 * sysdeps/sh/configure: Regenerated.
23091 * sysdeps/sparc/configure: Regenerated.
23092 * sysdeps/unix/sysv/linux/configure: Regenerated.
23093 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23094 * sysdeps/x86_64/configure: Regenerated.
23095
273edc5e
RM
23096 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23097 defined. Don't check if MAP is NULL.
23098
c8450f70
JM
230992012-10-09 Joseph Myers <joseph@codesourcery.com>
23100
23101 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23102 (_G_stat64): Likewise.
23103 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23104 (_G_stat64): Likewise.
23105 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23106 instead of struct _G_stat64.
23107 * libio/fileops.c (mmap_remap_check): Likewise.
23108 (decide_maybe_mmap): Likewise.
23109 (_IO_new_file_seekoff): Likewise.
23110 (_IO_file_stat): Likewise.
23111 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23112 _G_off64_t.
23113 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23114 instead of struct _G_stat64.
23115 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23116
57e605ba
MK
231172012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23118
23119 [BZ #14602]
23120 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23121 Replace with ...
23122 (CHECK_EOL): New macro.
23123 (two_way_short_needle): Check beginning of haystack for EOL. Use
23124 CHECK_EOL.
23125 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23126 Replace with CHECK_EOL.
23127 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23128 Replace with CHECK_EOL.
23129
ef1bb361
JM
231302012-10-08 Joseph Myers <joseph@codesourcery.com>
23131
23132 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23133 type-generic.
23134 * math/libm-test.inc: Update comment listing what functions and
23135 macros are tested.
23136 (finite_test): New function.
23137 (isinf_test): Likewise.
23138 (isnan_test): Likewise.
23139 (fpclassify_test): Test subnormal input.
23140 (isfinite_test): Likewise.
23141 (isnormal_test): Likewise.
23142 (main): Call the new functions.
23143
55f11534
JN
231442012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23145
23146 [BZ #14660]
23147 * Makerules (%.dynsym): Force C locale when running
23148 $(OBJDUMP) --dynamic-syms.
23149
1ab29350
AS
231502012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23151
23152 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23153 <stdint.h>.
23154
f1ecb7ef
DM
231552012-10-06 David S. Miller <davem@davemloft.net>
23156
23157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23158 upper 32-bits of the length value in %o2 since we use branch-on-register
23159 tests which consider the entire 64-bit register.
23160
5d41d91a
L
231612012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23162
23163 * string/test-strstr.c (check2): Add a test for page boundary.
23164
3baddb72
DM
231652012-10-05 David S. Miller <davem@davemloft.net>
23166
23167 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23168 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23169 file.
23170 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23171 sysdep_routines.
23172 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23173 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23174 and bzero when HWCAP_SPARC_CRYPTO is present.
23175
9cee5585
L
231762012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23177
d7e0dab9
L
23178 [BZ #14602]
23179 * string/test-strstr.c (check2): New function.
23180 (test_main): Call check2.
23181
03759f47
L
23182 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23183 and bug-strchr1.
23184 * string/bug-strcasestr1.c (do_test): Moved to ...
23185 * string/test-strcasestr.c (check1): Here. New function.
23186 (do_one_test): Break out result checking code into ...
23187 (check_result): This. New function.
23188 (do_one_test): Call check_result.
23189 (test_main): Call check1.
23190 * string/bug-strchr1.c (do_test): Moved to ...
23191 * string/test-strchr.c (check1): Here. New function.
23192 (do_one_test): Break out result checking code into ...
23193 (check_result): This. New function.
23194 (do_one_test): Call check_result.
23195 (test_main): Call check1.
23196 * string/bug-strstr1.c (main): Moved to ...
046f153e 23197 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23198 (do_one_test): Break out result checking code into ...
23199 (check_result): This. New function.
23200 (do_one_test): Call check_result.
23201 (test_main): Call check1.
23202 * string/bug-strcasestr1.c: Removed.
23203 * string/bug-strchr1.c: Likewise.
23204 * string/bug-strstr1.c: Likewise.
23205
53cea63e
L
23206 * elf/Makefile (dl-routines): Add hwcaps.
23207 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23208 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23209 (_dl_important_hwcaps): Moved to ...
23210 * elf/dl-hwcaps.c: Here. New file.
23211 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23212
9cee5585 23213 [BZ #14557]
bb859b06
L
23214 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23215 if IS_IN_rtld isn't defined.
23216
9cee5585
L
23217 * elf/dl-support.c (_dl_sysinfo_map): New.
23218 Include "get-dynamic-info.h" and "setup-vdso.h".
23219 (_dl_non_dynamic_init): Call setup_vdso.
23220 * elf/dynamic-link.h: Don't include <assert.h>.
23221 (elf_get_dynamic_info): Moved to ...
23222 * elf/get-dynamic-info.h: Here. New file.
23223 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23224 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23225 * elf/setup-vdso.h: Here. New file.
23226 * elf/rtld.c: Include "setup-vdso.h".
23227 (dl_main): Call setup_vdso.
23228
23c31b76
JM
232292012-10-05 Joseph Myers <joseph@codesourcery.com>
23230
28234b07
JM
23231 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23232 creal in comment listing functions tested. List finite, isinf,
23233 isnan, isless, islessequal, isgreater, isgreaterequal,
23234 islessgreater, isunordered, lgamma_r and pow10 as functions and
23235 macros not tested. Mention which functions not tested are aliases
23236 for other functions. Fix typo. Note that signs of NaNs are not
23237 tested.
23238
23c31b76
JM
23239 * scripts/config.guess: Update from config.git.
23240 * scripts/config.sub: Likewise.
23241
9043e228
RM
232422012-10-04 Roland McGrath <roland@hack.frob.com>
23243
23244 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23245 * misc/madvise.c (madvise): Renamed to __madvise.
23246 Make madvise a weak alias.
23247 * include/sys/mman.h: Declare __madvise.
23248 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23249 * sysdeps/unix/syscalls.list
23250 (madvise): Make __madvise the strong name, and madvise a weak alias.
23251 * sysdeps/unix/sysv/linux/syscalls.list
23252 (madvise, mmap): Remove redundant entries.
23253 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23254 * malloc/malloc.c (mtrim): Likewise.
23255 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23256
f57f8055
RM
232572012-10-03 Roland McGrath <roland@hack.frob.com>
23258
23259 * sysdeps/mach/hurd/dl-cache.c: File removed.
23260 * config.h.in (USE_LDCONFIG): New #undef.
23261 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23262 * configure: Regenerated.
23263 * elf/Makefile (dl-routines): Add dl-cache only under
23264 [$(use-ldconfig) = yes].
23265 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23266 cache on [USE_LDCONFIG].
23267 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23268 [USE_LDCONFIG].
23269 * elf/rtld.c (dl_main): Likewise.
23270
5bb0c10a
PT
232712012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23272
23273 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23274 _SC_LEVEL4_CACHE_LINESIZE.
23275
010188c6
RM
232762012-10-03 Roland McGrath <roland@hack.frob.com>
23277
23278 * sysdeps/unix/bsd/confstr.h: File removed.
23279
b6c5ec07
AO
232802012-10-02 Alexandre Oliva <aoliva@redhat.com>
23281
23282 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23283 sys/sdt-config.h.
23284
408223d4
RM
232852012-10-02 Roland McGrath <roland@hack.frob.com>
23286
23287 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23288 Make 'mapoff' field ElfW(Off) rather than off_t.
23289
bb9510dc
DL
232902012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23291
fc997c6e
DL
23292 * nscd/Makefile: Remove nscd-cflags and all its users.
23293 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23294 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23295
bb9510dc
DL
23296 [BZ #10631]
23297 * malloc.c (malloc_printerr): Clarify error message.
23298
05699367
L
232992012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23300
23301 [BZ #14648]
23302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23303 Set bit_FMA_Usable if FMA is supported.
23304 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23305 macro.
23306 (bit_FMA4_Usable): Updated.
23307 (index_FMA_Usable): New macro.
23308 (CPUID_FMA): Likewise
23309 (HAS_FMA): Defined with bit_FMA_Usable.
23310
51367701
RM
233112012-10-01 Roland McGrath <roland@hack.frob.com>
23312
23313 * bits/types.h (__swblk_t): Type removed.
23314 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23315 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23317 (__SWBLK_T_TYPE): Likewise.
23318 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23319 (__SWBLK_T_TYPE): Likewise.
23320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23321 (__SWBLK_T_TYPE): Likewise.
23322 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23323 (__SWBLK_T_TYPE): Likewise.
23324
4d57bf63 233252012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23326 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23327
23328 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23329 (xdr_mapname): Use YPMAXMAP as maxsize.
23330 (xdr_peername): Use YPMAXPEER as maxsize.
23331 (xdr_keydat): Use YPAXRECORD as maxsize.
23332 (xdr_valdat): Use YPMAXRECORD as maxsize.
23333
93c65d43
RM
233342012-10-01 Roland McGrath <roland@hack.frob.com>
23335
497a03d6
RM
23336 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23337
93c65d43
RM
23338 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23339 * csu/init-first.c: ... here.
23340 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23341 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23342 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23343 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23344 * sysdeps/i386/init-first.c: File removed.
23345 * sysdeps/sh/init-first.c: File removed.
23346
bec749fd
JM
233472012-10-01 Joseph Myers <joseph@codesourcery.com>
23348
23349 [BZ #14645]
23350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23351 if x * y might underflow to zero and z is zero.
23352 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23354 * math/libm-test.inc (min_subnorm_value): New variable.
23355 (fma_test): Add more tests.
23356 (fma_test_towardzero): Likewise.
23357 (fma_test_downward): Likewise
23358 (fma_test_upward): Likewise.
23359 (initialize): Set min_subnorm_value.
23360
8ec5b013
JM
233612012-09-29 Joseph Myers <joseph@codesourcery.com>
23362
23363 [BZ #14638]
23364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23365 0 + 0.
23366 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23367 mode for addition resulting in exact zero.
23368 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23370 exact 0 + 0.
23371 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23372 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23373 * math/libm-test.inc (fma_test): Add more tests.
23374 (fma_test_towardzero): New function.
23375 (fma_test_downward): Likewise.
23376 (fma_test_upward): Likewise.
23377 (main): Call the new functions.
23378
b1fa802e
DM
233792012-09-28 David S. Miller <davem@davemloft.net>
23380
23381 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23382
d3b9fd9e
RM
233832012-09-28 Roland McGrath <roland@hack.frob.com>
23384
ea4d37b3
RM
23385 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23386 instead of SIGALRM.
23387
ac51c949
RM
23388 * sysdeps/gnu/_G_config.h: Moved to ...
23389 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23390 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23391 * sysdeps/generic/_G_config.h: ... here.
23392
28c195f7
RM
23393 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23394
848917f9
RM
23395 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23396
6bacf05b
RM
23397 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23398 Conditionalize target on [libnss_test1.so-version].
23399
91363dbb
RM
23400 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23401
cc87f7d8
RM
23402 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23403 (elfobjdir): Move out of conditionals.
23404
b1c608fe
RM
23405 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23406 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23407 (__nss_lookup_function): Conditionalize label remove_from_tree on
23408 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23409
1d9a6d96
DM
234102012-09-28 David S. Miller <davem@davemloft.net>
23411
23412 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23413 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23414 file.
23415 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23416 sysdep_routines.
23417 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23418 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23419 when HWCAP_SPARC_CRYPTO is present.
23420
72581615
PT
234212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23422
23423 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23424
715a900c
JL
234252012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23426
23427 [BZ #6530]
23428 * stdio-common/vfprintf.c (process_string_arg): Revert
23429 2000-07-22 change.
23430
234312011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23432
23433 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23434 for testcase.
23435 * stdio-common/tst-sprintf.c: Include <locale.h>
23436 (main): Test sprintf's handling of incomplete multibyte
23437 characters.
23438
9bac1d86
L
234392012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23440
23441 * elf/dl-runtime.c (VERSYMIDX): Removed.
23442 * elf/dl-version.c (VERSYMIDX): Likewise.
23443 * elf/do-rel.h (VERSYMIDX): Likewise.
23444 (VALIDX): Likewise.
23445 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23446 * elf/rtld.c (VALIDX): Likewise.
23447 (ADDRIDX): Likewise.
9bac1d86
L
23448 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23449 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23450 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23451 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23452 (VALIDX): Likewise.
23453 (ADDRIDX): Likewise.
9bac1d86 23454
b31606c0
PT
234552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23456
23457 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23458
11541177
JL
234592012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23460
23461 [BZ #11438]
23462 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23463 to global scope.
23464 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23465 addresses are in the same scope as 192.0.2/24.
23466 * posix/gai.conf: Document new scope table defaults.
23467
adb26fae
SP
234682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23469
23470 [BZ #5298]
23471 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23472 for ftell. Compute offsets from write pointers instead.
23473 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23474
4573c6b0
SP
234752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23476
23477 [BZ #14543]
23478 * libio/Makefile (tests): New test case tst-fseek.
23479 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23480 combination works in wide mode.
23481 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23482 state when the external buffer state changes.
23483
aa9bbfe6
DM
234842012-09-27 David S. Miller <davem@davemloft.net>
23485
23486 [BZ #14376]
23487 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23488 pass reloc->r_addend in as the 'high' argument to
23489 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23490
784421e7
DM
23491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23492
c39bc8b8
PT
234932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23494
23495 * rt/tst-aio2.c: Include <pthread.h>.
23496 * rt/tst-aio3.c: Likewise.
23497
1ccc2399
SE
234982012-09-27 Steve Ellcey <sellcey@mips.com>
23499
23500 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23501
31ed4153
L
235022012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23503
25f5f885
L
23504 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23505 contents on [SHARED].
31ed4153 23506
b7bfe116
MP
235072012-09-26 Marek Polacek <polacek@redhat.com>
23508
23509 [BZ #14530]
23510 [BZ #13741]
23511 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23512 for C++ and GCC <4.3 as well as for non GCC compilers.
23513
43c4edba
MT
235142012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23515
23516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23517
6a1bf82f
RM
235182012-09-25 Roland McGrath <roland@hack.frob.com>
23519
23520 * Makefile.in (all, install): Declare with .PHONY.
23521 Reported by Michael Hope <michael.hope@linaro.org>.
23522
8ad11b9a
TMQMF
235232012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23524
23525 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23526 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23527 system header.
23528 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23529 Likewise.
23530 (sydep_routines): Add the new and the internal functions.
23531 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23532 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23534 (GLIBC_2.17): Add the new function.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23536 (GLIBC_2.17): Likewise.
23537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23538 (GLIBC_2.17): Likewise.
23539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23540 (GLIBC_2.17): Likewise.
23541 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23542
7e2fca8d
AM
235432012-09-25 Alan Modra <amodra@gmail.com>
23544
23545 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23546 Add release barrier before setting once_control to say
23547 initialisation is done. Add hints on lwarx. Use macro in
23548 place of isync.
23549 (clear_once_control): Add release barrier.
23550
b87c4b24
JM
235512012-09-25 Joseph Myers <joseph@codesourcery.com>
23552
d032e0d2
JM
23553 [BZ #13629]
23554 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23555 specially.
23556 * math/s_clog10.c (__clog10): Likewise.
23557 * math/s_clog10f.c (__clog10f): Likewise.
23558 * math/s_clog10l.c (__clog10l): Likewise.
23559 * math/s_clogf.c (__clogf): Likewise.
23560 * math/s_clogl.c (__clogl): Likewise.
23561 * math/Makefile (libm-calls): Add x2y2m1.
23562 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23563 (__x2y2m1): Likewise.
23564 (__x2y2m1l): Likewise.
23565 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23566 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23571 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23572 * sysdeps/i386/fpu/libm-test-ulps: Update.
23573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23574
b87c4b24
JM
23575 [BZ #14621]
23576 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23577 int as type of variable DEPTH.
23578 (glob): Use size_t instead of int as type of variables NEWCOUNT
23579 and OLD_PATHC.
23580
6d3bf199
LD
235812012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23582
22bf5c17
LD
23583 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23584 Add s_sincosf-sse2.
23585 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23586 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23587 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23588 macros for using routine as __sincosf_ia32.
23589 Use macro for function declaration and weak_alias.
23590 * sysdeps/i386/fpu/libm-test-ulps: Update.
23591
23592 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23594
23595 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23596 subnormal argument.
23597 * math/s_cexpf.c (__cexpf): Likewise.
23598 * math/s_csinf.c (__csinf): Likewise.
23599 * math/s_csinhf.c (__csinhf): Likewise.
23600 * math/s_ctanf.c (__ctanf): Likewise.
23601 * math/s_ctanhf.c (__ctanhf): Likewise.
23602 * math/s_ccosh.c (__ccoshf): Likewise.
23603 * math/s_cexp.c (__cexpl): Likewise.
23604 * math/s_csin.c (__csin): Likewise.
23605 * math/s_csinh.c (__csinh): Likewise.
23606 * math/s_ctan.c (__ctan): Likewise.
23607 * math/s_ctanh.c (ctanh): Likewise.
23608 * math/s_ccoshl.c (__ccoshl): Likewise.
23609 * math/s_cexpl.c (__cexpl): Likewise.
23610 * math/s_csinl.c (__csinl): Likewise.
23611 * math/s_csinhl.c (__csinhl): Likewise.
23612 * math/s_ctanl.c (__ctanl): Likewise.
23613 * math/s_ctanhl.c (__ctanhl): Likewise.
23614
203e5603
JM
236152012-09-25 Joseph Myers <joseph@codesourcery.com>
23616
23617 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23618 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23619 (_IO_off_t): Define to __off_t, not _G_off_t.
23620 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23621 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23622 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23623 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23624 type of __dummy and __dummy2 fields.
23625 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23626 (_G_ssize_t): Likewise.
23627 (_G_off_t): Likewise.
23628 (_G_pid_t): Likewise.
23629 (_G_uid_t): Likewise.
23630 (_G_wchar_t): Likewise.
23631 (_G_wint_t): Likewise.
23632 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23633 (_G_ssize_t): Likewise.
23634 (_G_off_t): Likewise.
23635 (_G_pid_t): Likewise.
23636 (_G_uid_t): Likewise.
23637 (_G_wchar_t): Likewise.
23638 (_G_wint_t): Likewise.
23639 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23640 (_G_ssize_t): Likewise.
23641 (_G_off_t): Likewise.
23642 (_G_pid_t): Likewise.
23643 (_G_uid_t): Likewise.
23644 (_G_wchar_t): Likewise.
23645 (_G_wint_t): Likewise.
23646
9fab36eb
SP
236472012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23648
23649 * malloc/arena.c: Include malloc-sysdep.h.
23650 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23651 is sufficient to shrink the heap or an unmap is needed.
23652 * sysdeps/generic/malloc-sysdep.h: New file. Define
23653 new function check_may_shrink_heap.
23654 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23655 new function check_may_shrink_heap.
23656
2b4f00d1
SP
236572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23658
23659 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23660 comments.
23661
9a9028b1
DL
236622012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23663
57c69bef
DL
23664 * catgets/test-gencat.sh: Add "set -e".
23665 * elf/tst-pathopt.sh: Likewise.
23666 * grp/tst_fgetgrent.sh: Likewise.
23667 * iconvdata/run-iconv-test.sh: Likewise.
23668 * intl/tst-gettext.sh: Likewise.
23669 * intl/tst-gettext2.sh: Likewise.
23670 * intl/tst-gettext4.sh: Likewise.
23671 * intl/tst-gettext6.sh: Likewise.
23672 * intl/tst-translit.sh: Likewise.
23673 * io/ftwtest-sh: Likewise.
23674 * libio/test-freopen.sh: Likewise.
23675 * malloc/tst-mtrace.sh: Likewise.
23676 * posix/globtest.sh: Likewise.
23677 * posix/tst-getconf.sh: Likewise.
23678 * posix/wordexp-tst.sh: Likewise.
23679 * stdio-common/tst-printf.sh: Likewise.
23680 * stdio-common/tst-unbputc.sh: Likewise.
23681 * stdlib/tst-fmtmsg.sh: Likewise.
23682 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23683 * catgets/Makefile: Do not specify -e option when running
23684 testsuite shell scripts.
23685 * elf/Makefile: Likewise.
23686 * grp/Makefile: Likewise.
23687 * iconvdata/Makefile: Likewise.
23688 * intl/Makefile: Likewise.
23689 * io/Makefile: Likewise.
23690 * libio/Makefile: Likewise.
23691 * malloc/Makefile: Likewise.
23692 * posix/Makefile: Likewise.
23693 * stdio-common/Makefile: Likewise.
23694 * stdlib/Makefile: Likewise.
23695 * sysdeps/x86_64/Makefile: Likewise.
23696
9a9028b1
DL
23697 * io/ftwtest-sh: Add copyright header.
23698 * posix/globtest.sh: Likewise.
23699 * posix/tst-getconf.sh: Likewise.
23700 * posix/wordexp-tst.sh: Likewise.
23701 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23702
ced6f16e
L
237032012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23704
94b32c39
L
23705 [BZ #13679]
23706 * Makeconfig (+link): Defined as $(+link-static) if
23707 $(build-shared) isn't yes.
23708 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23709 isn't yes.
23710 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23711
189e935b
L
23712 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23713
ced6f16e
L
23714 [BZ #14562]
23715 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23716 new chunk size with MALLOC_ALIGN_MASK.
23717
a9f8e53a
JM
237182012-09-24 Joseph Myers <joseph@codesourcery.com>
23719
23720 [BZ #5044]
23721 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23722 <rounding-mode.h>.
23723 (__printf_fphex): Determine rounding using get_rounding_mode and
23724 round_away.
23725 * stdio-common/tst-printf-round.c (struct hex_test): New
23726 structure.
23727 (hex_tests): New variable.
23728 (test_hex_in_one_mode): New function.
23729 (do_test): Also run tests for hex float output.
23730
43153109
JM
237312012-09-21 Joseph Myers <joseph@codesourcery.com>
23732
23733 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23734 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23735 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23736 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23737 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23738 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23739 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23740 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23741
8a26625d
JM
237422012-09-20 Joseph Myers <joseph@codesourcery.com>
23743
23744 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23745 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23746 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23747 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23748
f3fd569c
DL
237492012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23750
23751 [BZ #14579]
23752 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23753 mode only.
23754 * elf/tst-rtld-load-self.sh: New test.
23755 * elf/Makefile: Run it.
23756
63bbedd4
JM
237572012-09-18 Joseph Myers <joseph@codesourcery.com>
23758
23759 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23760 (tst-writev-ENV): Remove.
23761 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23762
626f8b6a
CM
237632012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23764
23765 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23766
b7aaa4d6
JM
237672012-09-17 Joseph Myers <joseph@codesourcery.com>
23768
23769 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23770 unconditional.
23771 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23772 Likewise.
23773 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23774 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23775 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23776 Likewise.
23777
65513990
L
237782012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23779
23780 [BZ #14587]
23781 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23782 * config.make.in (have-cpp-asm-debuginfo): Removed.
23783 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23784 * configure: Regenerated.
23785
784761be
JM
237862012-09-14 Joseph Myers <joseph@codesourcery.com>
23787
23788 [BZ #5044]
23789 * stdio-common/printf_fp.c: Include <stdbool.h> and
23790 <rounding-mode.h>.
23791 (___printf_fp): Determine rounding using get_rounding_mode and
23792 round_away.
23793 * stdio-common/tst-printf-round.c: New file.
23794 * stdio-common/Makefile (tests): Add tst-printf-round.
23795 (link-libm): New variable.
23796 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23797
9503345f
L
237982012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23799
23800 [BZ #14576]
23801 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23802 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23803 Likewise.
23804 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23805 Likewise.
23806
ad35fc00
JM
238072012-09-13 Joseph Myers <joseph@codesourcery.com>
23808
23809 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23810 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23811 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23812 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23813
6c9b0f68
JM
238142012-09-12 Joseph Myers <joseph@codesourcery.com>
23815
23816 [BZ #14518]
23817 * include/rounding-mode.h: New file.
23818 * sysdeps/generic/get-rounding-mode.h: Likewise.
23819 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23820 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23821 (MAX_VALUE): New macro.
23822 (MIN_VALUE): Likewise.
23823 (overflow_value): New function.
23824 (underflow_value): Likewise.
23825 (round_and_return): Use overflow_value and underflow_value to
23826 determine return values in overflow and underflow cases. Use
23827 round_away to determine rounding depending on rounding mode.
23828 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23829 determine return values in overflow and underflow cases.
23830 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23831 (struct test_results): New structure.
23832 (struct test): Use struct test_results to store expected results
23833 for all rounding modes.
23834 (TEST): Include expected results for all rounding modes.
23835 (test_in_one_mode): New function.
23836 (do_test): Use test_in_one_mode to compute and check results.
23837 Check results for all rounding modes.
23838 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23839 $(link-libm).
23840
19fcedd5
AM
238412012-12-09 Allan McRae <allan@archlinux.org>
23842
1e9d84cd 23843 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23844
8bbfd2f1
JM
238452012-09-11 Joseph Myers <joseph@codesourcery.com>
23846
23847 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23848 (_G_int32_t): Likewise.
23849 (_G_uint16_t): Likewise.
23850 (_G_uint32_t): Likewise.
23851 (_G_HAVE_BOOL): Likewise.
23852 (_G_HAVE_ATEXIT): Likewise.
23853 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23854 (_G_HAVE_IO_FILE_OPEN): Likewise.
23855 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23856 (_G_int32_t): Likewise.
23857 (_G_uint16_t): Likewise.
23858 (_G_uint32_t): Likewise.
23859 (_G_HAVE_BOOL): Likewise.
23860 (_G_HAVE_ATEXIT): Likewise.
23861 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23862 (_G_HAVE_IO_FILE_OPEN): Likewise.
23863 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23864 (_G_int32_t): Likewise.
23865 (_G_uint16_t): Likewise.
23866 (_G_uint32_t): Likewise.
23867 (_G_HAVE_BOOL): Likewise.
23868 (_G_HAVE_ATEXIT): Likewise.
23869 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23870 (_G_HAVE_IO_FILE_OPEN): Likewise.
23871
b1dc5912
L
238722012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23873
23874 * csu/libc-tls.c: Update copyright years.
23875
0e886ef9
JM
238762012-09-10 Joseph Myers <joseph@codesourcery.com>
23877
28361c5e
JM
23878 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23879 [!_G_USING_THUNKS]: Remove conditional code.
23880 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23881 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23882
0e886ef9
JM
23883 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23884 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23885 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23886 (_G_VTABLE_LABEL_PREFIX): Likewise.
23887 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23888 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23889 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23890 (_G_VTABLE_LABEL_PREFIX): Likewise.
23891 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23892 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23893 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23894 (_G_VTABLE_LABEL_PREFIX): Likewise.
23895 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23896
bcba7aa2
L
238972012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23898
23899 * libio/Makefile: Include ../Makeconfig before tests.
23900 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23901 only if $(build-shared) is yes.
23902
06585ee8
L
23903 * iconv/gconv_db.c: Update copyright years.
23904
80ccd52c
LD
239052012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23906
23907 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23908 unwind info if defined PIC. Fix special cases description.
23909 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23910
23911 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23912 DP_HI_MASK entry.
23913 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23914
691bc9c1
L
239152012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23916
3d9b46b3
L
23917 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23918
de2139a9
L
23919 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23920 is NULL.
23921
5ca78dd0
L
23922 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23923 (LDLIBS-tst-chk4): This.
23924 (LDFLAGS-tst-chk5): Renamed to ...
23925 (LDLIBS-tst-chk5): This.
23926 (LDFLAGS-tst-chk6): Renamed to ...
23927 (LDLIBS-tst-chk6): This.
23928 (LDFLAGS-tst-lfschk4): Renamed to ...
23929 (LDLIBS-tst-lfschk4): This.
23930 (LDFLAGS-tst-lfschk5): Renamed to ...
23931 (LDLIBS-tst-lfschk5): This.
23932 (LDFLAGS-tst-lfschk6): Renamed to ...
23933 (LDLIBS-tst-lfschk6): This.
23934
691bc9c1
L
23935 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23936 on $(common-objpfx)soversions.mk.
23937
65cafb1c
JM
239382012-09-07 Joseph Myers <joseph@codesourcery.com>
23939
23940 [BZ #10014]
23941 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23942 example host name.
23943
c78ab094
SP
239442012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23945
23946 * malloc/arena.c (arena_get_retry): New function that gets
23947 another arena for the caller to try its request on.
23948 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23949 current arena cannot fulfill the request.
23950 (__libc_memalign): Likewise.
23951 (__libc_memalign): Likewise.
23952 (__libc_pvalloc): Likewise.
23953 (__libc_calloc): Likewise.
23954
01f49f59
JT
239552012-09-05 John Tobey <john.tobey@gmail.com>
23956
23957 [BZ #13542]
23958 * manual/arith.texi (Operations on Complex): Fix description
23959 of carg branch cut.
23960
4c23fed5
JM
239612012-09-06 Joseph Myers <joseph@codesourcery.com>
23962
1d3c8572
JM
23963 [BZ #10014]
23964 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23965 host name.
23966
4c23fed5
JM
23967 [BZ #10038]
23968 * manual/memory.texi (Memory): Make order of menu items match
23969 order of sections.
23970
04570aaa
L
239712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23972
23973 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23974 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23975 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23976
b80af2f4
L
239772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23978
23979 * csu/libc-tls.c (static_dtv): Renamed to ...
23980 (_dl_static_dtv): This. Make it global.
23981 (_dl_initial_dtv): Removed.
23982 (__libc_setup_tls): Updated.
23983 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23984 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23985 DL_INITIAL_DTV.
23986
2abe9f15
PM
239872012-09-06 Petr Machata <pmachata@redhat.com>
23988
23989 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23990 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23991 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23992 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23993
0948c3af
L
239942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23995
23996 [BZ #14545]
23997 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23998 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23999 freeing dtv[-1].
24000
a5055ad1
L
240012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24002
24003 [BZ #14544]
24004 * Makeconfig (link-static-before-libc): Replace $(+prector)
24005 with $(+prectorT).
24006 (link-static-after-libc): Replace $(+postctor) with
24007 $(+postctorT).
24008 (link-bounded): Replace $(+prector)/$(+postctor) with
24009 $(+prectorT)/$(+postctorT).
24010 (+prectorT): New macro.
24011 (+postctorT): Likewise.
24012
ed8c2ecd
JM
240132012-09-06 Joseph Myers <joseph@codesourcery.com>
24014
24015 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24016 (round_str): Handle values above the maximum for IBM long double
24017 as inexact.
24018 * stdlib/tst-strtod-round.c (tests): Regenerated.
24019
14c996c8
AK
240202012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24021
24022 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24023 assembler flag.
24024 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24025 zarch_nohighgprs around the zarch optimized routines.
24026 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24027 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24028 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24029 for zarch.
24030
430d6ce6
DM
240312012-09-05 David S. Miller <davem@davemloft.net>
24032
24033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24034
ff04dda4
DM
24035 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24036 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24037 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24038 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24039 entries.
24040
24d4e01b
AO
240412012-09-05 Alexandre Oliva <aoliva@redhat.com>
24042
24043 * malloc/arena.c: Fold copyright years.
24044 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24045
61d58174
AO
240462012-09-05 Alexandre Oliva <aoliva@redhat.com>
24047
24048 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24049
20196a5e
AO
240502012-09-05 Alexandre Oliva <aoliva@redhat.com>
24051
24052 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24053
5c447383
AO
240542012-09-05 Alexandre Oliva <aoliva@redhat.com>
24055
24056 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24057 change internal state upon failure.
24058
fad64255
AO
240592012-09-05 Alexandre Oliva <aoliva@redhat.com>
24060
24061 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24062 * malloc/memusage.c (mmap): Likewise.
24063 (mmap64, mremap): Likewise. Adjust name in comment.
24064
1ffb8c90
SP
240652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24066
24067 * libio/fileops.c: Fix typos in comments.
24068 * libio/oldfileops.c: Likewise.
24069 * libio/wfileops.c: Likewise.
24070
6ef9cc37
SP
240712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24072
24073 [BZ #1349]
24074 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24075 (tst-malloc-usable-ENV): Set environment for test case.
24076 * malloc/hooks.c (malloc_check_get_size): New function to get
24077 requested size.
24078 * malloc/malloc.c (musable): Use malloc_check_get_size.
24079 * malloc/tst-malloc-usable.c: New test case.
24080
4d038ae3
AS
240812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24082
24083 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24084
c4e85184
AM
240852012-09-05 Allan McRae <allan@archlinux.org>
24086
b9dafc56 24087 [BZ #13966]
c4e85184
AM
24088 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24089 determine header location.
24090 * configure: Regenerated.
24091
e1343020
AS
240922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24093
24094 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24095 float format.
24096 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24097 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24098 format.
e1343020
AS
24099 (test): Regenerate.
24100
0a9f1987
DM
241012012-09-04 David S. Miller <davem@davemloft.net>
24102
24103 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24104 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24105 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24106
29237804
FW
241072012-09-04 Florian Weimer <fweimer@redhat.com>
24108
24109 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24110 failures.
24111
edb3cb88
FW
24112 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24113
60160d83
JM
241142012-09-04 Joseph Myers <joseph@codesourcery.com>
24115
24116 [BZ #9914]
24117 * libio/iogetdelim.c: Include <limits.h>.
24118 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24119 + len + 1 would overflow.
24120
bcd6c8dc
AJ
241212012-09-03 Andreas Jaeger <aj@suse.de>
24122
24123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24124 * sysdeps/i386/fpu/libm-test-ulps: Update.
24125
4ffffbd2
LD
241262012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24127
24128 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24129 Add s_sinf-sse2, s_conf-sse2.
24130
24131 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24132 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24133 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24134 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24135
24136 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24137 for using routine as __sinf_ia32.
24138 Use macro for function declaration and weak_alias.
24139 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24140 for using routine as __cosf_ia32.
24141 Use macro for function declaration and weak_alias.
24142
24143 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24144 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24145
24146 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24147 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24149
24150 * math/libm-test.inc (cos_test): Add more test cases.
24151 (sin_test): Likewise.
24152 (sincos_test): Likewise.
24153
511fa286
AK
241542012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24155
24156 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24157 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24158 hidden.
24159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24160
5f30cfec
L
241612012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24162
24163 [BZ #14538]
24164 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24165 first element of the GOT.
24166 (elf_machine_load_address): Return the difference between
24167 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24168
0786794f
AM
241692012-09-01 Allan McRae <allan@archlinux.org>
24170
5f30cfec
L
24171 [BZ #13412]
24172 * configure.in (AWK): Require gawk version 3.0 or later.
24173 * configure: Regenerated.
0786794f 24174
26889eac
JM
241752012-09-01 Joseph Myers <joseph@codesourcery.com>
24176
24177 * sysdeps/unix/sysv/linux/kernel-features.h
24178 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24179 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24180 [__NR_clock_getres]: Make code unconditional.
24181 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24182 (clock_getcpuclockid): Remove code left unreachable by removal of
24183 conditionals.
24184 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24185 code unconditional.
24186 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24187 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24188 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24189 Make code unconditional.
24190 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24192 * sysdeps/unix/sysv/linux/clock_settime.c
24193 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24194 conditional code.
24195 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24196 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24197
d22e28b0
L
241982012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24199
24200 [BZ #14476]
24201 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24202 scripts/test-installation.pl.
24203
24204 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24205 and $ld_so_version if it is set.
24206
050af9c4
SP
242072012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24208
24209 [BZ #14516]
24210 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24211 failure if reading from procfs failed.
24212 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24213
ad845c0b
JM
242142012-08-27 Joseph Myers <joseph@codesourcery.com>
24215
24216 * sysdeps/unix/sysv/linux/kernel-features.h
24217 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24218 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24219 Remove conditional code.
24220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24221 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24222 Remove conditional code.
24223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24224 * sysdeps/unix/sysv/linux/i386/fxstat.c
24225 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24227 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24228 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24230 * sysdeps/unix/sysv/linux/i386/lxstat.c
24231 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24233 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24234 Remove conditional code.
24235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24236 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24237 Remove conditional code.
24238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24239 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24240 <kernel-features.h>.
24241 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24242 Remove.
24243 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24244 Remove conditional code.
24245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24246 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24247 Remove conditional.
24248
5dbf56af
MF
242492012-08-27 Mike Frysinger <vapier@gentoo.org>
24250
24251 [BZ #5400]
24252 * NEWS: Add fixed bug number.
24253
d6e70f43
JM
242542012-08-27 Joseph Myers <joseph@codesourcery.com>
24255
7efb4737
JM
24256 [BZ #14519]
24257 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24258 underflowing exponent in case of negative sign.
24259 * stdlib/tst-strtod-round-data: Add more tests.
24260 * stdlib/tst-strtod-round.c (tests): Regenerated.
24261
af92131a
JM
24262 [BZ #3479]
24263 * stdlib/strtod_l.c (NDIG): Remove.
24264 (HEXNDIG): Likewise.
24265 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24266 smallest representable value.
24267 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24268 lie within an exact representation of 1/2 ulp of the result.
24269 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24270 unconditionally.
24271 (TENS_P9_IDX): Define unconditionally.
24272 (TENS_P9_SIZE): Likewise.
24273 (TENS_P10_IDX): Likewise.
24274 (TENS_P10_SIZE): Likewise.
24275 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24276 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24277 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24278 entries for 10^2^13 and 10^2^14.
24279 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24280 (TENS_P13_IDX): Define.
24281 (TENS_P13_SIZE): Likewise.
24282 (TENS_P14_IDX): Likewise.
24283 (TENS_P14_SIZE): Likewise.
24284 (_fpioconst_pow10): Change array size to
24285 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24286 unconditional.
24287 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24288 1024]: Add entries for 10^2^13 and 10^2^14.
24289 [LAST_POW10 > _LAST_POW10]: Remove #error.
24290 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24291 (_fpioconst_pow10): Change array size to
24292 FPIOCONST_POW10_ARRAY_SIZE.
24293 * stdlib/gen-fpioconst.c: New file.
24294 * stdlib/gen-tst-strtod-round.c: Likewise.
24295 * stdlib/tst-strtod-round-data: Likewise.
24296 * stdlib/tst-strtod-round.c: Likewise.
24297 * stdlib/Makefile (tests): Add tst-strtod-round.
24298
d6e70f43
JM
24299 [BZ #14459]
24300 * stdlib/strtod_l.c: Include <stdint.h>.
24301 (NDEBUG): Do not define.
24302 (round_and_return): Change EXPONENT parameter to type intmax_t.
24303 Rearrange calculations to avoid internal overflow possibilities.
24304 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24305 Rearrange calculations to avoid internal overflow possibilities.
24306 Assert that number fits inside MPNSIZE limbs.
24307 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24308 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24309 calculations and add assertions to avoid internal overflow
24310 possibilities. Add casts to avoid signed/unsigned operations.
24311 * stdlib/tst-strtod-overflow.c: New file.
24312 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24313
1f529f7d
MP
243142012-08-25 Marek Polacek <polacek@redhat.com>
24315
24316 * time/time.h: Fix some typos in comments.
24317
59a629f1
RM
243182012-08-23 Roland McGrath <roland@hack.frob.com>
24319
24320 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24321 * posix/tst-rfc3484-2.c: Likewise.
24322 * posix/tst-rfc3484-3.c: Likewise.
24323
d3bafbc9
SM
243242012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24325
24326 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24327 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24328
4efcc022
JM
243292012-08-23 Joseph Myers <joseph@codesourcery.com>
24330
24331 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24332 #include of fxstatat64.c.
24333
3cc3ef96
RM
243342012-08-22 Roland McGrath <roland@hack.frob.com>
24335
f04e2132
RM
24336 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24337 * shadow/getspent_r.c: Likewise.
24338 * shadow/getspnam.c: Likewise.
24339 * shadow/getspnam_r.c: Likewise.
24340 * gshadow/getsgent.c: Likewise.
24341 * gshadow/getsgent_r.c: Likewise.
24342 * gshadow/getsgnam.c: Likewise.
24343 * gshadow/getsgnam_r.c: Likewise.
24344 * inet/getnetbyad.c: Likewise.
24345 * inet/getnetbyad_r.c: Likewise.
24346 * inet/getnetbynm.c: Likewise.
24347 * inet/getnetbynm_r.c: Likewise.
24348 * inet/getnetent.c: Likewise.
24349 * inet/getnetent_r.c: Likewise.
24350 * inet/getproto.c: Likewise.
24351 * inet/getproto_r.c: Likewise.
24352 * inet/getprtent.c: Likewise.
24353 * inet/getprtent_r.c: Likewise.
24354 * inet/getprtname.c: Likewise.
24355 * inet/getprtname_r.c: Likewise.
24356 * inet/getrpcbyname.c: Likewise.
24357 * inet/getrpcbyname_r.c: Likewise.
24358 * inet/getrpcbynumber.c: Likewise.
24359 * inet/getrpcbynumber_r.c: Likewise.
24360 * inet/getrpcent.c: Likewise.
24361 * inet/getrpcent_r.c: Likewise.
24362 * inet/getaliasent.c: Likewise.
24363 * inet/getaliasent_r.c: Likewise.
24364 * inet/getaliasname.c: Likewise.
24365 * inet/getaliasname_r.c: Likewise.
24366 * nscd/getgrgid_r.c: Likewise.
24367 * nscd/getgrnam_r.c: Likewise.
24368 * nscd/gethstbyad_r.c: Likewise.
24369 * nscd/gethstbynm3_r.c: Likewise.
24370 * nscd/getpwnam_r.c: Likewise.
24371 * nscd/getpwuid_r.c: Likewise.
24372 * nscd/getsrvbynm_r.c: Likewise.
24373 * nscd/getsrvbypt_r.c: Likewise.
24374 * nscd/gai.c: Likewise.
24375
c53d909c
RM
24376 * configure.in (build_nscd): New substituted variable, set
24377 by --disable-build-nscd and defaults to $use_nscd.
24378 * configure: Regenerated.
24379 * config.make.in (build-nscd): New substituted variable.
24380 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24381 Change conditional to require [$(build-nscd) = yes] as well.
24382 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24383
3cc3ef96
RM
24384 [BZ# 13696]
24385 * configure.in (use_nscd): New substituted variable, set by
24386 --disable-nscd. If enabled, define USE_NSCD.
24387 * configure: Regenerated.
24388 * config.h.in: Add USE_NSCD.
24389 * config.make.in (use-nscd): New substituted variable.
24390 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24391 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24392 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24393 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24394 (CFLAGS-getgrnam_r.c): Likewise.
24395 (CFLAGS-initgroups.c): Likewise.
24396 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24397 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24398 Variables removed.
24399 * inet/getnetgrent_r.c
24400 (nscd_setnetgrent): New function, broken out of ...
24401 (setnetgrent): ... here. Call it.
24402 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24403 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24404 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24405 * nscd/Makefile (routines, aux): Move definitions after include of
24406 Makeconfig. Conditionalize on [$(use-nscd) != no].
24407 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24408 Conditionalize on [USE_NSCD].
24409 (is_nscd, nscd_init_cb): Likewise.
24410 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24411 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24412 * nss/nss_db/db-init.c: Likewise.
24413 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24414 [USE_NSCD].
24415 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24416 (make_request): Use it.
24417 (cache_valid_p): New function.
24418 (__check_pf): Use it.
24419 * NEWS: Add item for --disable-nscd.
24420
07e51550
DL
244212012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24422
24423 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24424 to support sed >= 4.2.1-20-ga9bf076.
24425 * configure: Regenerated.
24426
35a5b08b
RM
244272012-08-22 Roland McGrath <roland@hack.frob.com>
24428
24429 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24430 Conditionalize whole body on [IREL].
24431
8479f23a
JL
244322012-08-22 Jeff Law <law@redhat.com>
24433
24434 [BZ #14505]
24435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24436 if the family is PF_UNSPEC.
24437
48da0b21
MF
244382012-08-22 Mike Frysinger <vapier@gentoo.org>
24439
24440 * Makerules (lib-version): Rename from V.
24441 (install-lib-nosubdir): Change V to lib-version.
24442
15d0da8c
WS
244432012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24444
24445 [BZ #14252]
24446 * powerpc32/power6/wcschr.c: New file.
24447 * powerpc32/power6/wcscpy.c: New file.
24448 * powerpc32/power6/wcsrchr.c: New file.
24449 * powerpc64/power6/wcschr.c: New file.
24450 * powerpc64/power6/wcscpy.c: New file.
24451 * powerpc64/power6/wcsrchr.c: New file.
24452
bcca0895
MK
244532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24454
24455 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24456 (two_way_short_needle): Use it.
5a4aaa33
RM
24457 * string/strstr.c (AVAILABLE1_USES_J): Define.
24458 * string/strcasestr.c: Likewise.
99677e57
MK
24459
24460 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24461 array references.
24462 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24463
400726de
MK
24464 [BZ #11607]
24465 * NEWS: Add an entry.
24466 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24467 define their defaults.
24468 (two_way_short_needle): Detect end-of-string on-the-fly.
24469 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24470 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24471 * string/bug-strcasestr1.c: New test.
24472 * string/Makefile: Run it.
24473
20a71f2c
MK
244742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24475
24476 [BZ #11607]
24477 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24478 the first character.
24479
21ad0558
RM
244802012-08-21 Roland McGrath <roland@hack.frob.com>
24481
24482 * csu/elf-init.c (__libc_csu_irel): Function removed.
24483 * csu/libc-start.c (apply_irel): New function.
24484 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24485
0e1d9911
JM
244862012-08-21 Joseph Myers <joseph@codesourcery.com>
24487
24488 * sysdeps/unix/sysv/linux/kernel-features.h
24489 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24490 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24491 <kernel-features.h>.
24492 [__NR_fadvise64_64]: Make code unconditional.
24493 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24494 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24495 !__NR_fadvise64_64)]: Likewise.
24496 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24497 !__NR_fadvise64_64))]: Likewise.
24498 [__NR_fadvise64]: Make code unconditional.
24499 [!__NR_fadvise64]: Remove conditional code.
24500 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24501 <kernel-features.h>.
24502 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24503 unconditional.
24504 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24505 conditional code.
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24507 not include <kernel-features.h>.
24508 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24509 unconditional.
24510 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24511 conditional code.
24512 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24513 include <kernel-features.h>.
24514 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24515 unconditional.
24516 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24517 conditional code.
24518
14a50c9d
WS
245192012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24520
24521 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24522 slight instruction rearrangements per scrollpipe analysis.
24523 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24524
c0f4faf0
RM
245252012-08-20 Roland McGrath <roland@hack.frob.com>
24526
696da859
RM
24527 * manual/syslog.texi (syslog; vsyslog, closelog):
24528 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24529 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24530
c0f4faf0
RM
24531 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24532 DSOCAPS to match condition on defining it.
24533
348363b2
JM
245342012-08-20 Joseph Myers <joseph@codesourcery.com>
24535
a35cbf28
JM
24536 * sysdeps/unix/sysv/linux/kernel-features.h
24537 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24539 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24540 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24542 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24543 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24545 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24546 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24547
445f7ecd
JM
24548 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24549 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24550
348363b2
JM
24551 * sysdeps/unix/sysv/linux/kernel-features.h
24552 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24553 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24554 unconditional.
24555 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24556 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24557 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24558 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24559 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24560 Make code unconditional.
24561 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24562 (__mmap64) [!__NR_mmap2]: Likewise.
24563 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24564 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24565 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24566 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24567 [__NR_mmap2]: Make code unconditional.
24568 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24569 (__mmap64) [!__NR_mmap2]: Likewise.
24570
bc5bc0e5
AK
245712012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24572
24573 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24574
88d506de
AJ
245752012-08-18 Andreas Jaeger <aj@suse.de>
24576
24577 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24578
493387d2
MF
245792012-08-18 Mike Frysinger <vapier@gentoo.org>
24580
24581 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24582 * include/unistd.h (__have_sock_cloexec): Likewise.
24583 (__have_pipe2): Likewise.
24584 (__have_dup3): Likewise.
24585
a277af22
MF
245862012-08-18 Mike Frysinger <vapier@gentoo.org>
24587
24588 [BZ #9685]
24589 * include/unistd.h (__have_pipe2): Change define into an extern int.
24590 (__have_dup3): Likewise.
24591 * socket/have_sock_cloexec.c: Include fcntl.h.
24592 (__have_pipe2): New variable.
24593 (__have_dup3): Likewise.
24594
fdab8fd3
MF
245952012-08-17 Mike Frysinger <vapier@gentoo.org>
24596
24597 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24598
31035e80
MP
245992012-08-17 Marek Polacek <polacek@redhat.com>
24600
24601 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24602 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24603
3bd9e993
RM
246042012-08-17 Roland McGrath <roland@hack.frob.com>
24605
c91c505f
RM
24606 * configure.in: Add AC_SUBST for sysheaders.
24607 * configure: Regenerated.
24608 * config.make.in (sysheaders): New substituted variable.
24609
7c6f9d53
RM
24610 * sysdeps/unix/mkfifo.c: Moved ...
24611 * sysdeps/posix/mkfifo.c: ... here.
24612 * sysdeps/unix/mkfifoat.c: Moved ...
24613 * sysdeps/posix/mkfifoat.c: ... here.
24614
24615 * sysdeps/unix/utime.c: Moved ...
24616 * sysdeps/posix/utime.c: ... here.
24617
24618 * sysdeps/unix/time.c: Moved ...
24619 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24620 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24621 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24622
24623 * sysdeps/unix/nice.c: Moved ...
24624 * sysdeps/posix/nice.c: ... here.
24625
24626 * sysdeps/unix/alarm.c: Moved ...
24627 * sysdeps/posix/alarm.c: ... here.
24628
3bd9e993
RM
24629 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24630
d1f09384
JL
246312012-08-17 Jeff Law <law@redhat.com>
24632
24633 * intl/Makefile (codeset_mo): New variable.
24634 ($(codeset_mo)): New target.
24635 (tst-codeset.out): Depend on that. Remove explicit rule.
24636 (tst-gettext3.out, tst-gettext5.out): Likewise.
24637 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24638 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24639 * intl/tst-codeset.sh: Remove.
24640 * intl/tst-gettext3.sh: Likewise.
24641 * intl/tst-gettext5.sh: Likewise.
24642
2ae1ae5c
RM
246432012-08-17 Roland McGrath <roland@hack.frob.com>
24644
c31fdb83
RM
24645 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24646 * sysdeps/unix/syscalls.list: ... here.
24647
a0844057
RM
24648 * sysdeps/posix/getaddrinfo.c
24649 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24650 (gaiconf_init, gaiconf_reload): Use them.
24651 [!_STATBUF_ST_NSEC]
24652 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24653 Define using time_t rather than struct timespec.
24654
750c1f2a
RM
24655 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24656 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24657 Macros removed.
24658 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24659 [!NO_THREADS].
24660 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24661 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24662 Likewise.
24663
2ae1ae5c
RM
24664 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24665 __libc_cleanup_push argument.
24666
e66a42f5
RM
24667 * bits/param.h: New file.
24668 * misc/sys/param.h: New file.
24669 * include/sys/param.h: New file.
24670 * misc/Makefile (headers): Add bits/param.h.
24671 * sysdeps/generic/sys/param.h: File removed.
24672 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24673 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24674 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24675 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24676
b7c08a66
RM
24677 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24678 last change.
24679
b2e1c562
RM
24680 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24681 [_IO_MTSAFE_IO].
24682 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24683 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24684 New macros.
24685
c75ccd4c
RM
24686 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24687 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24688 rather than -D_IO_MTSAFE_IO conditionally.
24689 * stdio-common/Makefile (CPPFLAGS): Likewise.
24690 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24691 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24692 Use $(libio-mtsafe).
24693 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24694 of -D_IO_MTSAFE_IO.
24695 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24696 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24697 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24698 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24699 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24700 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24701 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24702 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24703 (CFLAGS-fread_u_chk.c): Likewise.
24704 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24705 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24706 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24707 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24708 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24709 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24710 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24711 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24712 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24713
24714 * libio/Makefile: Test [$(libc-reentrant) = yes]
24715 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24716
24717 * Makeconfig
24718 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24719 * sysdeps/pthread/configure: File removed.
24720 * sysdeps/pthread/Makeconfig: New file.
24721 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24722 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24723
d9195db8
GB
247242012-08-16 Gary Benson <gbenson@redhat.com>
24725
24726 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24727 unmapping the first object in a namespace.
24728
86466cd9
RM
247292012-08-16 Roland McGrath <roland@hack.frob.com>
24730
24731 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24732 (__internal_setnetgrent): ... this. Add internal_function to
24733 definition. Add libc_hidden_def.
24734 (setnetgrent): Update caller.
24735 (internal_endnetgrent): Renamed to ...
24736 (__internal_endnetgrent): ... this. Add internal_function to
24737 definition. Add libc_hidden_def.
24738 (endnetgrent): Update caller.
24739 (internal_getnetgrent_r): Renamed to ...
24740 (__internal_getnetgrent_r): ... this. Add internal_function to
24741 definition. Add libc_hidden_def.
24742 (__getnetgrent_r): Update caller.
24743 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24744
c3c8283c
JM
247452012-08-16 Joseph Myers <joseph@codesourcery.com>
24746
24747 * stdlib/longlong.h: Update from GCC.
24748
db1ee0a8
RM
247492012-08-16 Roland McGrath <roland@hack.frob.com>
24750
24751 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24752 on _QL, which is set by umul_ppmm but never used.
24753 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24754 variables, which are set by GMP macros but never used.
24755 * stdio-common/_itowa.c (_itowa): Likewise.
24756 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24757 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24758
30f69637
CD
247592012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24760
24761 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24762 struct La_sh_regs is not constant.
24763 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24764 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24765 and struct La_sparc64_regs are not constant.
24766
93a78ac4
JM
247672012-08-16 Joseph Myers <joseph@codesourcery.com>
24768
24769 * sysdeps/unix/sysv/linux/kernel-features.h
24770 (__ASSUME_POSIX_TIMERS): Remove.
24771 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24772 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24773 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24774 Make code unconditional.
24775 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24776 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24777 Make code unconditional.
24778 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24779 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24780 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24781 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24782 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24783 Make code unconditional.
24784 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24785 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24786 (__libc_missing_posix_timers): Remove.
24787
dd924cd7
RM
247882012-08-15 Roland McGrath <roland@hack.frob.com>
24789
4b4f2771
RM
24790 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24791 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24792
601c888b
RM
24793 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24794
176790a7
RM
24795 * elf/dl-sym.c: Include <stdlib.h>.
24796
329bc018
RM
24797 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24798 constants, which avoids warnings in 32-bit builds.
24799
e04e272d
RM
24800 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24801 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24802
952bf94a
RM
24803 * misc/lseek.c: File moved to ...
24804 * io/lseek.c: ... here.
24805
7c99b50a
RM
24806 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24807
dd924cd7
RM
24808 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24809 shifting LEN more than 31 bits at once.
24810
b3f479a8
LD
248112012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24812
24813 [BZ #14195]
8c4ae0d4
RM
24814 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24815 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24816 * string/test-strncasecmp.c (check1): Renamed to...
24817 (bz12205): ...this.
24818 (bz14195): Add new testcase for two empty input strings and N > 0.
24819 (test_main): Call new testcase, adapt for renamed function.
24820
9c55864e
AJ
248212012-08-15 Andreas Jaeger <aj@suse.de>
24822
24823 [BZ #14090]
24824 * crypt/md5test2.c: New test, based on test supplied by Serge
24825 Belyshev <belyshev@depni.sinp.msu.ru>.
24826 * crypt/Makefile (xtests): Add md5test-giant..
24827 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24828
02dcb6c5
PE
248292012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24830
24831 [BZ #14090]
24832 * crypt/md5.c (md5_process_block): Don't assume the buffer
24833 length is less than 2**32.
24834 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24835 length is less than 2**64.
24836
a3f95dcc
RM
248372012-08-15 Roland McGrath <roland@hack.frob.com>
24838
be75d758
RM
24839 * string/str-two-way.h: Include <sys/param.h>.
24840 (MAX): Macro removed.
24841
7312ca90
RM
24842 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24843 Move #define and #undef of memmove to just before and after
24844 including <string.h>.
24845
9a0a5486
RM
24846 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24847 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24848 and after including <string.h>. Move declarations of
24849 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24850 to before #include "string/memmove.c".
24851
67cc348d
RM
24852 * include/dirent.h: Declare __getdirentries.
24853
a3f95dcc
RM
24854 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24855 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24856
ca98e171
MF
248572012-08-14 Mike Frysinger <vapier@gentoo.org>
24858
24859 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24860 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24861 * sysdeps/i386/configure: Regenerated.
24862 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24863 STABS_CURRENT_FILE, and STABS_FUN.
24864 (END): Remove call to STABS_FUN_END.
24865 (STABS_CURRENT_FILE1): Delete.
24866 (STABS_CURRENT_FILE): Likewise.
24867 (STABS_FUN): Likewise.
24868 (STABS_FUN_END): Likewise.
24869 (STABS_FUN2): Likewise.
24870 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24871 * sysdeps/x86_64/configure: Regenerated.
24872
5908bf46
RM
248732012-08-14 Roland McGrath <roland@hack.frob.com>
24874
24875 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24876 * elf/dl-lookup.c: Likewise.
5908bf46 24877
f2c05b9e
JM
248782012-08-14 Joseph Myers <joseph@codesourcery.com>
24879
24880 * sysdeps/unix/sysv/linux/kernel-features.h
24881 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24882 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24883 unconditionally.
24884 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24885 unconditionally.
24886 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24887 condition on __ASSUME_CLONE_THREAD_FLAGS.
24888
e11f5155
AJ
248892012-08-14 Andreas Jaeger <aj@suse.de>
24890
24891 * sysdeps/i386/fpu/libm-test-ulps: Update.
24892
51a9ba86
MK
248932012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24894
2fdd4f78
AJ
24895 * include/atomic.h (atomic_exchange_and_add): Split into ...
24896 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24897 New atomic macros.
51a9ba86 24898
ba6cba9e
MT
248992012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24900
24901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24902
42443a47
JL
249032012-08-13 Jeff Law <law@redhat.com>
24904
24905 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24906 null byte in the output string.
24907
121dce05
JM
249082012-08-10 Joseph Myers <joseph@codesourcery.com>
24909
24910 * sysdeps/unix/sysv/linux/kernel-features.h
24911 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24912 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24913 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24914 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24915 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24916 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24917 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24918
bf51f568
JL
249192012-08-09 Jeff Law <law@redhat.com>
24920
24921 [BZ #13939]
24922 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24923 When avoid_arena is set, don't retry in the that arena. Pick the
24924 next one, whatever it might be.
24925 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24926 (arena_lock): Pass in new parameter to arena_get2.
24927 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24928 arena_get2.
24929 (__libc_malloc): Unify retrying after main arena failure with
24930 __libc_memalign version.
24931 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24932
f85fa270
L
249332012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24934
24935 [BZ #14166]
24936 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24937 to __redirect_strstr.
24938 (__strstr_sse42): Use typeof __redirect_strstr.
24939 (__strstr_ia32): Likewise.
24940 (__libc_strstr): New prototype.
24941 (strstr): Renamed to ...
24942 (__libc_strstr): This.
24943 (strstr): New strong alias of __libc_strstr.
24944 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24945 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24946 __redirect_time.
24947 Include <time.h>.
24948 (__libc_time): New prototype.
24949 (time_ifunc): Replace time with __libc_time.
24950 (time): New strong alias and hidden definition of __libc_time.
24951 (__GI_time): Remove strong alias.
24952 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24953 Include <stddef.h>.
24954 (memmove): Redefined to __redirect_memmove.
24955 (__memmove_sse2): Use typeof __redirect_memmove.
24956 (__memmove_ssse3): Likewise.
24957 (__memmove_ssse3_back): Likewise.
24958 (__libc_memmove): New prototype.
24959 (memmove): Renamed to ...
24960 (__libc_memmove): This.
24961 (memmove): New strong alias of __libc_memmove.
24962
33b4a91e
MS
249632012-08-08 Mark Salter <msalter@redhat.com>
24964
24965 * elf/elf.h
24966 (R_MN10300_TLS_GD): Define.
24967 (R_MN10300_TLS_LD): Likewise.
24968 (R_MN10300_TLS_LDO): Likewise.
24969 (R_MN10300_TLS_GOTIE): Likewise.
24970 (R_MN10300_TLS_IE): Likewise.
24971 (R_MN10300_TLS_LE): Likewise.
24972 (R_MN10300_TLS_DTPMOD): Likewise.
24973 (R_MN10300_TLS_DTPOFF): Likewise.
24974 (R_MN10300_TLS_TPOFF): Likewise.
24975 (R_MN10300_SYM_DIFF): Likewise.
24976 (R_MN10300_ALIGN): Likewise.
24977 (R_MN10300_NUM): Update.
24978
b36137f1
JM
249792012-08-08 Joseph Myers <joseph@codesourcery.com>
24980
24981 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24982 Remove.
24983
cdd915fd
RM
249842012-08-08 Roland McGrath <roland@hack.frob.com>
24985
a2433aac
RM
24986 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24987
cdd915fd
RM
24988 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24989 sysdeps/unix -> sysdeps/posix move.
24990 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24991
bf9b740a
AM
249922012-08-07 Allan McRae <allan@archlinux.org>
24993
24994 [BZ #14303]
24995 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24996 (SUNOS_CPP): Likewise.
24997 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24998 not found.
24999 (open_input): Call CPP using execvp.
25000
93df14ee
JM
250012012-08-07 Joseph Myers <joseph@codesourcery.com>
25002
25003 * sysdeps/unix/sysv/linux/kernel-features.h
25004 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25005 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25006 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25007 (__ASSUME_WAITID_SYSCALL): Likewise.
25008 * sysdeps/unix/sysv/linux/dl-execstack.c
25009 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25010 code unconditional.
25011 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25012 conditional code.
25013 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25014 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25015 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25016 code.
25017 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25018 unconditional.
25019 [__ASSUME_WAITID_SYSCALL]: Likewise.
25020 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25021
d34689de
RM
250222012-08-07 Roland McGrath <roland@hack.frob.com>
25023
a281decc
RM
25024 * sysdeps/unix/closedir.c: Renamed to ...
25025 * sysdeps/posix/closedir.c: ... here.
25026 * sysdeps/unix/dirfd.c: Renamed to ...
25027 * sysdeps/posix/dirfd.c: ... here.
25028 * sysdeps/unix/dirstream.h: Renamed to ...
25029 * sysdeps/posix/dirstream.h: ... here.
25030 * sysdeps/unix/fdopendir.c: Renamed to ...
25031 * sysdeps/posix/fdopendir.c: ... here.
25032 * sysdeps/unix/opendir.c: Renamed to ...
25033 * sysdeps/posix/opendir.c: ... here.
25034 * sysdeps/unix/readdir.c: Renamed to ...
25035 * sysdeps/posix/readdir.c: ... here.
25036 * sysdeps/unix/readdir_r.c: Renamed to ...
25037 * sysdeps/posix/readdir_r.c: ... here.
25038 * sysdeps/unix/rewinddir.c: Renamed to ...
25039 * sysdeps/posix/rewinddir.c: ... here.
25040 * sysdeps/unix/seekdir.c: Renamed to ...
25041 * sysdeps/posix/seekdir.c: ... here.
25042 * sysdeps/unix/telldir.c: Renamed to ...
25043 * sysdeps/posix/telldir.c: ... here.
25044 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25045 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25046 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25047 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25048
22895b47
RM
25049 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25050 * bits/fcntl.h: ... here.
25051
707a53b6
RM
25052 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25053 not 0.
25054 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25055 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25056 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25057 (struct flock): Move l_start, l_len to the beginning.
25058 Use __pid_t for l_pid.
25059 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25060 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25061 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25062 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25063 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25064 [__USE_LARGEFILE64] (struct flock64): New type.
25065 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25066
f0bd3e25
RM
25067 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25068 * bits/dirent.h: ... here.
25069
d34689de
RM
25070 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25071 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25072
6dad2c06
JM
250732012-08-07 Joseph Myers <joseph@codesourcery.com>
25074
25075 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25076 Change from 2.6.0 to 2.6.16.
25077 * sysdeps/unix/sysv/linux/configure: Regenerated.
25078 * sysdeps/unix/sysv/linux/kernel-features.h
25079 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25080 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25081 version.
25082 (__ASSUME_UTIMES): Likewise.
25083 (__ASSUME_CLONE_STOPPED): Remove.
25084 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25085 architectures, not kernel version.
25086 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25087 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25088 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25089 (__ASSUME_WAITID_SYSCALL): Likewise.
25090 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25091 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25092 * README: State 2.6.16 as minimum Linux kernel version. Do not
25093 refer to older versions.
25094
03af9520
RM
250952012-08-06 Roland McGrath <roland@hack.frob.com>
25096
8e49df1d
RM
25097 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25098 Define alphasort64 as an alias.
25099 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25100 Define versionsort64 as an alias.
25101 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25102 Define scandir64 as an alias.
25103 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25104 Define scandirat64 as an alias.
25105 * dirent/alphasort64.c (alphasort64):
25106 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25107 * dirent/versionsort64.c: Likewise.
25108 * dirent/scandir64.c: Likewise.
25109 * dirent/scandirat64.c: Likewise.
25110 * sysdeps/wordsize-64/alphasort.c: File removed.
25111 * sysdeps/wordsize-64/alphasort64.c: File removed.
25112 * sysdeps/wordsize-64/scandir.c: File removed.
25113 * sysdeps/wordsize-64/scandir64.c: File removed.
25114 * sysdeps/wordsize-64/scandirat.c: File removed.
25115 * sysdeps/wordsize-64/scandirat64.c: File removed.
25116 * sysdeps/wordsize-64/versionsort.c: File removed.
25117 * sysdeps/wordsize-64/versionsort64.c: File removed.
25118 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25119 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25120 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25121 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25122 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25123 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25124 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25125 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25126
25127 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25129 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25131 [defined __arch64__ || defined __sparcv9]
25132 (__INO_T_MATCHES_INO64_T): New macro.
25133 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25134 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25135 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25136 * sysdeps/unix/sysv/linux/bits/dirent.h
25137 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25138 (_DIRENT_MATCHES_DIRENT64): New macro.
25139
03af9520
RM
25140 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25141 Define lockf64 as an alias.
25142 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25143 Define fseeko64 as an alias.
25144 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25145 Define ftello64 as an alias.
25146 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25147 Define _IO_fgetpos64 and fgetpos64 as aliases.
25148 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25149 Define _IO_fsetpos64 and fsetpos64 as aliases.
25150 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25151 Conditionalize body on this.
25152 * libio/fseeko64.c: Likewise.
25153 * libio/ftello64.c: Likewise.
25154 * libio/iofgetpos64.c: Likewise.
25155 * libio/iofsetpos64.c: Likewise.
25156 * sysdeps/wordsize-64/lockf.c: File removed.
25157 * sysdeps/wordsize-64/lockf64.c: File removed.
25158 * sysdeps/wordsize-64/fseeko.c: File removed.
25159 * sysdeps/wordsize-64/fseeko64.c: File removed.
25160 * sysdeps/wordsize-64/ftello.c: File removed.
25161 * sysdeps/wordsize-64/ftello64.c: File removed.
25162 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25163 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25164 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25165 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25166 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25167 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25168 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25169 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25170 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25171 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25172 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25173 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25174 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25175 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25176
25177 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25178 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25179 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25181 [defined __arch64__ || defined __sparcv9]
25182 (__OFF_T_MATCHES_OFF64_T): New macro.
25183 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25184 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25186 (__OFF_T_MATCHES_OFF64_T): New macro.
25187
c5757acd
L
251882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25189
25190 * stdlib/secure-getenv.c (__secure_getenv): Replace
25191 GLIBC_2_16 with GLIBC_2_17.
25192
3a31811e
L
251932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25194
25195 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25196 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25197
faa2bccb
DM
251982012-08-03 David S. Miller <davem@davemloft.net>
25199
25200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25201
85fe1997
JM
252022012-08-03 Joseph Myers <joseph@codesourcery.com>
25203
25204 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25205 Remove.
25206 (__ASSUME_CORRECT_SI_PID): Likewise.
25207 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25208 (__ASSUME_TMPFS_NAME): Likewise.
25209 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25210 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25211 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25212 (HAVE_AUX_SECURE): Make definition unconditional.
25213 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25214 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25215
4f75b7a0
RM
252162012-08-03 Roland McGrath <roland@hack.frob.com>
25217
25218 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25219 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25220 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25221 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25222 __eloop_threshold instead of SYMLOOP_MAX.
25223
25224 * sysdeps/generic/eloop-threshold.h: New file.
25225 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25226 of MAXSYMLINKS.
25227 * elf/chroot_canon.c (chroot_canon): Likewise.
25228
7aab07e4
JM
252292012-08-03 Joseph Myers <joseph@codesourcery.com>
25230
25231 [BZ #13717]
25232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25233 Change to 2.6.0 everywhere.
25234 * sysdeps/unix/sysv/linux/configure: Regenerated.
25235 * sysdeps/unix/sysv/linux/kernel-features.h
25236 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25237 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25238 kernel versions.
25239 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25240 (__ASSUME_FUTEX_REQUEUE): Remove.
25241 (__ASSUME_STATFS64): Define unconditionally.
25242 (__ASSUME_AT_SECURE): Likewise.
25243 (__ASSUME_CORRECT_SI_PID): Likewise.
25244 (__ASSUME_TGKILL): Define without depending on kernel version for
25245 i386.
25246 (__ASSUME_UTIMES): Likewise.
25247 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25248 kernel version.
25249 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25250 (__ASSUME_TMPFS_NAME): Likewise.
25251 * README: Update reference to Linux kernel versions.
25252
b67e9372
MP
252532012-08-02 Marek Polacek <polacek@redhat.com>
25254
1f529f7d 25255 [BZ# 14150]
b67e9372
MP
25256 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25257 libc_cv_asm_type_prefix with %.
25258 * configure: Regenerated.
d2441631
RM
25259 * include/libc-symbols.h: Remove comment about
25260 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25261 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25262 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25263 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25264 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25265 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25266 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25267 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25268 * elf/tst-unique2mod1.c: Likewise.
25269 * elf/tst-unique1mod2.c: Likewise.
25270 * elf/tst-unique1mod1.c: Likewise.
25271 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25272 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25273 Replace ASM_TYPE_DIRECTIVE with .type.
25274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25275 * sysdeps/i386/sysdep.h: Likewise.
25276 * sysdeps/x86_64/sysdep.h: Likewise.
25277 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25279 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25280 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25281 * sysdeps/powerpc/powerpc32/sysdep.h:
25282 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25283 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25284 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25285 * sysdeps/i386/fpu/e_powf.S: Likewise.
25286 * sysdeps/i386/fpu/e_expl.S: Likewise.
25287 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25288 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25289 * sysdeps/i386/fpu/e_pow.S: Likewise.
25290 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25291 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25292 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25293 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25294 * sysdeps/i386/fpu/e_log2.S: Likewise.
25295 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25296 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25297 * sysdeps/i386/fpu/e_powl.S: Likewise.
25298 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25299 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25300 * sysdeps/i386/fpu/e_logl.S: Likewise.
25301 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25302 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25303 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25304 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25305 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25306 * sysdeps/i386/fpu/e_log.S: Likewise.
25307 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25308 * sysdeps/i386/fpu/e_logf.S: Likewise.
25309 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25310 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25311 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25312 * sysdeps/i386/fpu/e_log10.S: Likewise.
25313 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25314 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25315 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25316 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25317 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25318 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25319 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25320 * sysdeps/i386/i686/strtok.S: Likewise.
25321 * sysdeps/i386/i386-mcount.S: Likewise.
25322 * sysdeps/i386/strtok.S: Likewise.
25323 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25324 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25325 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25326 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25327 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25328 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25329 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25330 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25331 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25332 * sysdeps/x86_64/_mcount.S: Likewise.
25333 * sysdeps/x86_64/strtok.S: Likewise.
25334 * sysdeps/sh/_mcount.S: Likewise.
25335
2747bf9a
RM
253362012-08-01 Roland McGrath <roland@hack.frob.com>
25337
25338 * libio/iofopen.c: Include <fcntl.h>.
25339 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25340 (_IO_fopen64, fopen64): Define as aliases.
25341 * libio/iofopen64.c: Include <fcntl.h>.
25342 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25343 Conditionalize body on this.
25344 * sysdeps/wordsize-64/iofopen.c: File removed.
25345 * sysdeps/wordsize-64/iofopen64.c: File removed.
25346
3fb791b8
MP
253472012-08-01 Marek Polacek <polacek@redhat.com>
25348
25349 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25350 Use dlfcn directly instead of a variable.
25351 (binfmt-subdir): Do not define.
25352 (dlfcn): Likewise.
25353
a9f1039f
JM
253542012-08-01 Joseph Myers <joseph@codesourcery.com>
25355
23bddc06
JM
25356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25357 Remove all definitions.
25358 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25359 <kernel-features.h>.
25360 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25361 (miss_F_GETOWN_EX): Remove all definitions.
25362 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25363 macro definition.
25364 [!__ASSUME_FCNTL64]: Remove conditional code.
25365 [__ASSUME_FCNTL64]: Make code unconditional.
25366 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25367 <kernel-features.h>.
25368 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25369 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25370 (lockf64) [__NR_fcntl64]: Make code unconditional.
25371 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25372
a9f1039f
JM
25373 * sysdeps/unix/sysv/linux/kernel-features.h
25374 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25375 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25376 Make code unconditional.
25377 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25378 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25380 [__NR_vfork]: Make code unconditional.
25381 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25382 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25384 [__NR_vfork]: Make code unconditional.
25385 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25386 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25387
09c0ee5f
RM
253882012-08-01 Roland McGrath <roland@hack.frob.com>
25389
48aec5b9
RM
25390 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25391 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25392
cd97c966
RM
25393 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25394 Define mkstemp64 as an alias.
3f55550c
RM
25395 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25396 Define mkstemps64 as an alias.
cd97c966
RM
25397 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25398 Define mkostemp64 as an alias.
b8625cfc
RM
25399 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25400 Define mkostemps64 as an alias.
cd97c966
RM
25401 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25402 Conditionalize body on this.
25403 * misc/mkostemp64.c: Likewise.
b8625cfc 25404 * misc/mkostemps64.c: Likewise.
3f55550c 25405 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25406 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25407 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25408 * sysdeps/wordsize-64/mkostemp.c: File removed.
25409 * sysdeps/wordsize-64/mkstemp.c: File removed.
25410 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25411 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25412 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25414
09c0ee5f
RM
25415 [BZ #14138]
25416 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25417 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25418 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25419 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25420
25421 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25422 compat_symbol macros from <shlib-compat.h> rather than the underlying
25423 default_symbol_version and symbol_version macros, so that DEFAULT
25424 lines in shlib-versions are respected.
25425 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25426
7e66ee51
FW
254272012-08-01 Florian Weimer <fweimer@redhat.com>
25428
25429 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25430 Declare with warn_unused_result.
25431 (setgid, setregid, setegid, setresgid): Likewise.
25432 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25433 Likewise.
25434 * WUR-REPORT: Remove set*id functions.
25435
d2a54255
PT
254362012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25437
25438 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25439
7ecdb005
RM
254402012-07-31 Roland McGrath <roland@hack.frob.com>
25441
b4180a5e 25442 [BZ #10191]
789bd351
RM
25443 * include/sys/socket.h (__libc_accept, __libc_accept4):
25444 Add attribute_hidden.
25445 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25446
40ce302d
RM
25447 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25448 use of PTR_MANGLE.
25449 * inet/getnetgrent_r.c (setup): Likewise.
25450
7ecdb005
RM
25451 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25452
e2eabb2c
DM
254532012-07-31 David S. Miller <davem@davemloft.net>
25454
25455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25456
d0419dbf
JM
254572012-07-31 Joseph Myers <joseph@codesourcery.com>
25458
25459 [BZ #13629]
25460 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25461 value between 1.0 and 2.0 and smaller part has absolute value less
25462 than 1.0.
25463 * math/s_clog10.c (__clog10): Likewise.
25464 * math/s_clog10f.c (__clog10f): Likewise.
25465 * math/s_clog10l.c (__clog10l): Likewise.
25466 * math/s_clogf.c (__clogf): Likewise.
25467 * math/s_clogl.c (__clogl): Likewise.
25468 * math/libm-test.inc (clog_test): Add more tests.
25469 (clog10_test): Likewise.
25470 * sysdeps/i386/fpu/libm-test-ulps: Update.
25471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25472
2bc13872
FW
254732012-07-31 Florian Weimer <fweimer@redhat.com>
25474
25475 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25476 Exit with zero in case no suitable GID is found, and write a
25477 message to standard error.
25478
bea9b193
RM
254792012-07-30 Roland McGrath <roland@hack.frob.com>
25480
25481 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25482 rather than to 1.
25483 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25484 (MAXPATHLEN): Removed.
25485 (NOGROUP, NODEV): New macros.
25486 (setbit, clrbit, isset, isclr): New macros.
25487 (howmany, roundup, powerof2): New macros.
25488 (DEV_BSIZE): New macro.
25489
25490 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25491 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25492
25493 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25494 definition on [!__NO_LONG_DOUBLE_MATH].
25495
25496 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25497 PTR_MANGLE and PTR_DEMANGLE.
25498
25499 * socket/accept4.c (accept4): Rename to __libc_accept4.
25500 Define accept4 as a weak alias.
25501
25502 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25503 on [_DIRENT_HAVE_D_TYPE].
25504 * io/ftw.c (ftw_dir): Likewise.
25505
25506 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25507
25508 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25509
25510 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25511 Use the BSD numbers rather than the arbitrary ones we had.
25512 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25513 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25514 (SIGXCPU, SIGXFSZ): New macros.
25515 (_NSIG): Now 32.
25516
25517 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25518 initializer on [_LIBC_REENTRANT].
25519
25520 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25521 definitions inside [_POSIX_MAPPED_FILES].
25522
25523 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25524
25525 * dirent/opendir.c: Include <fcntl.h>.
25526
25527 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25528 (__libc_getspecific): Likewise.
25529 (__libc_key_create): Likewise.
25530
25531 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25532 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25533 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25534 (tmpfile64): Define as alias.
25535 * sysdeps/wordsize-64/tmpfile.c: File removed.
25536 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25537 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25538 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25539
25540 * stdio-common/vfscanf.c: Include <stdbool.h>.
25541 * nss/makedb.c: Likewise.
25542 * stdio-common/_i18n_number.h: Likewise.
25543 * argp/argp-help.c: Likewise.
25544 * posix/wordexp.c: Likewise.
25545 * sysdeps/posix/spawni.c: Likewise.
25546 * nss/nss_files/files-initgroups.c: Likewise.
25547 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25548 * nss/nss_files/files-initgroups.c: Likewise.
25549 * nss/nss_db/db-netgrp.c: Likewise.
25550 * nss/nss_db/db-initgroups.c: Likewise.
25551 * io/fchmodat.c: Include <sys/stat.h>.
25552
25553 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25554 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25555
25556 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25557 [HAVE_MMAP].
25558
25559 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25560 Add multiple inclusion protection.
25561
e5abc686
DM
255622012-07-27 David S. Miller <davem@davemloft.net>
25563
25564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25565
815e6fa3
GB
255662012-07-27 Gary Benson <gbenson@redhat.com>
25567
25568 [BZ #14298]
25569 * elf/rtld.c: Include <stap-probe.h>.
25570 (dl_main): Added static probes "init_start" and "init_complete".
25571 * elf/dl-load.c: Include <stap-probe.h>.
25572 (lose): Take new parameter "nsid".
25573 Added static probe "map_failed".
25574 (_dl_map_object_from_fd): Pass namespace id to lose.
25575 Added static probe "map_start".
25576 (open_verify): Pass namespace id to lose.
25577 * elf/dl-open.c: Include <stap-probe.h>.
25578 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25579 and "reloc_complete".
25580 * elf/dl-close.c: Include <stap-probe.h>.
25581 (_dl_close_worker): Added static probes "unmap_start" and
25582 "unmap_complete".
25583 * elf/rtld-debugger-interface.txt: New file documenting the above.
25584
9f98c16c
RM
255852012-07-26 Roland McGrath <roland@hack.frob.com>
25586
25587 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25588 rather than a string variable.
25589 * sunrpc/rpc_main.c (h_output): Likewise.
25590 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25591
f3c22df3
PT
255922012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25593
25594 * inet/check_native.c: New file.
25595
3129cfc6
JM
255962012-07-26 Joseph Myers <joseph@codesourcery.com>
25597
da865e95
JM
25598 [BZ #13629]
25599 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25600 if larger part has absolute value 1.0.
25601 * math/s_clog10.c (__clog10): Likewise.
25602 * math/s_clog10f.c (__clog10f): Likewise.
25603 * math/s_clog10l.c (__clog10l): Likewise.
25604 * math/s_clogf.c (__clogf): Likewise.
25605 * math/s_clogl.c (__clogl): Likewise.
25606 * math/libm-test.inc (clog_test): Add more tests.
25607 (clog10_test): Likewise.
25608 * sysdeps/i386/fpu/libm-test-ulps: Update.
25609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25610
3129cfc6
JM
25611 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25612 (pltexit): Likewise.
25613 (La_regs): Likewise.
25614 (La_retval): Likewise.
25615 (int_retval): Likewise.
25616 Update #error for removed macros to refer only to definitions in
25617 tst-audit.h.
25618 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25619 macro.
25620 (pltexit): Likewise.
25621 (La_regs): Likewise.
25622 (La_retval): Likewise.
25623 (int_retval): Likewise.
25624 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25625 macro.
25626 (pltexit): Likewise.
25627 (La_regs): Likewise.
25628 (La_retval): Likewise.
25629 (int_retval): Likewise.
25630 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25631 macro.
25632 (pltexit): Likewise.
25633 (La_regs): Likewise.
25634 (La_retval): Likewise.
25635 (int_retval): Likewise.
25636 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25637 macro.
25638 (pltexit): Likewise.
25639 (La_regs): Likewise.
25640 (La_retval): Likewise.
25641 (int_retval): Likewise.
25642 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25643 macro.
25644 (pltexit): Likewise.
25645 (La_regs): Likewise.
25646 (La_retval): Likewise.
25647 (int_retval): Likewise.
25648 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25649 macro.
25650 (pltexit): Likewise.
25651 (La_regs): Likewise.
25652 (La_retval): Likewise.
25653 (int_retval): Likewise.
25654 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25655 macro definitions in tst-audit.h.
25656 * sysdeps/i386/tst-audit.h: New file.
25657 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25658 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25659 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25660 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25661 * sysdeps/sh/tst-audit.h: Likewise.
25662 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25663 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25664 * sysdeps/x86_64/tst-audit.h: Likewise.
25665
bfc07087
AJ
256662012-07-26 Andreas Jaeger <aj@suse.de>
25667
b1b2aaf8
AJ
25668 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25669 ptrace.
25670
25671 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25672 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25673 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25674 PTRACE_O_MASK.
25675 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25676 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25677 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25678
bfc07087
AJ
25679 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25680 value.
25681
25682 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25683 _sigsys.
25684 (si_call_addr, si_syscall, si_arch): Define new macro.
25685 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25686 _sigsys.
25687 (si_call_addr, si_syscall, si_arch): Define new marcro.
25688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25689 _sigsys.
25690 (si_call_addr, si_syscall, si_arch): Define new macro.
25691 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25692 _sigsys.
25693 (si_call_addr, si_syscall, si_arch): Define new macro.
25694
89b4b02f
JM
256952012-07-25 Joseph Myers <joseph@codesourcery.com>
25696
25697 [BZ #13717]
25698 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25699 Change to 2.4.21 where previously 2.4.1.
25700 * sysdeps/unix/sysv/linux/configure: Regenerated.
25701 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25702 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25703 Linux kernel version.
25704 (__ASSUME_STD_AUXV): Remove.
25705 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25706 kernel version.
25707 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25708 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25709 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25710 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25711 (__ASSUME_NETLINK_SUPPORT): Likewise.
25712 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25713 (__no_netlink_support): Remove conditional definition.
25714 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25715 Remove.
25716 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25717 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25718 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25719 (if_nameindex_ioctl): Remove.
25720 (if_nameindex_netlink): Do not handle __no_netlink_support.
25721 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25722 code.
25723 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25724 Remove conditional code.
25725 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25726 code.
25727 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25728 unconditional.
25729 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25730 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25731 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25732 Remove.
25733 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25734 [!__ASSUME_STD_AUXV]: Remove conditional code.
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25736 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25737 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25739 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25740 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25741 code.
25742 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25744 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25745 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25746 conditional code.
25747 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25749 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25750 code.
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25752 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25753 conditional code.
25754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25755 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25756 code unconditional.
25757 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25758 conditional code.
25759 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25760 unconditional.
25761 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25762 conditional code.
25763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25764 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25765 unconditional.
25766 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25767 conditional code.
25768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25769 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25770 code unconditional.
25771 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25772 conditional code.
25773 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25774 unconditional.
25775 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25776 conditional code.
25777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25778 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25779 code unconditional.
25780 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25781 conditional code.
25782 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25783 unconditional.
25784 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25785 conditional code.
25786
842a39cd
AS
257872012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25788
25789 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25790 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25791 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25792 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25793 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25794 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25795 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25796 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25797 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25798 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25799 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25800 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25801 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25802 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25803 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25804 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25805 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25806 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25807 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25809 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25810 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25811 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25812
84b3fd84
FW
258132012-07-25 Florian Weimer <fweimer@redhat.com>
25814
25815 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25816 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25817 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25818 Introduce __libc_secure_getenv.
0c7936d5
FW
25819 * stdlib/Versions (2.17): Add secure_getenv
25820 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25821 * stdlib/secure-getenv.c: Rename __secure_getenv to
25822 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25823 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25824 * stdlib/tst-secure-getenv.c: New.
25825 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25826 * manual/startup.texi (Environment Access): Document
25827 secure_getenv.
84b3fd84
FW
25828 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25829 __libc_secure_getenv.
25830 * inet/ruserpass.c (ruserpass): Likewise.
25831 * malloc/mtrace.c (mtrace): Likewise.
25832 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25833 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25834 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25835 * sysdeps/posix/tempname.c: Likewise. Evaluate
25836 HAVE_SECURE_GETENV.
25837 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25838 __secure_getenv to __libc_secure_getenv.
84b3fd84 25839 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25841 Likewise.
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25843 Likewise.
25844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25851
56e49b71
JM
258522012-07-25 Joseph Myers <joseph@codesourcery.com>
25853
25854 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25855 (struct La_i86_retval): Likewise.
25856 (struct La_x86_64_regs): Likewise.
25857 (struct La_x86_64_retval): Likewise.
25858 (struct La_x32_regs): Likewise.
25859 (struct La_x32_retval): Likewise.
25860 (struct La_ppc32_regs): Likewise.
25861 (struct La_ppc32_retval): Likewise.
25862 (struct La_ppc64_regs): Likewise.
25863 (struct La_ppc64_retval): Likewise.
25864 (struct La_sh_regs): Likewise.
25865 (struct La_sh_retval): Likewise.
25866 (struct La_s390_32_regs): Likewise.
25867 (struct La_s390_32_retval): Likewise.
25868 (struct La_s390_64_regs): Likewise.
25869 (struct La_s390_64_retval): Likewise.
25870 (struct La_sparc32_regs): Likewise.
25871 (struct La_sparc32_retval): Likewise.
25872 (struct La_sparc64_regs): Likewise.
25873 (struct La_sparc64_retval): Likewise.
25874 (struct audit_ifaces): Remove architecture-specific pltenter and
25875 pltexit members.
25876 * sysdeps/i386/ldsodefs.h: New file.
25877 * sysdeps/powerpc/ldsodefs.h: Likewise.
25878 * sysdeps/s390/ldsodefs.h: Likewise.
25879 * sysdeps/sh/ldsodefs.h: Likewise.
25880 * sysdeps/sparc/ldsodefs.h: Likewise.
25881 * sysdeps/x86_64/ldsodefs.h: Likewise.
25882
354691b7
MP
258832012-07-25 Marek Polacek <polacek@redhat.com>
25884
25885 [BZ #6808]
25886 * math/libm-test.inc (yn_test): Add another test.
25887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25888 to ERANGE when the result is +-Inf.
25889 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25890 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25891 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25892 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25893
bf9e2071
JM
258942012-07-24 Joseph Myers <joseph@codesourcery.com>
25895
25896 * conform/data/time.h-data (NULL): Use macro-constant. Require
25897 equal to 0.
25898 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25899 clock_t.
25900 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25901
57633811
TS
259022012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25903
25904 * configure.in <sysdeps resolving>: Correct printing
25905 Implies_before.
25906 * configure: Regenerate.
25907
c23c33b0
TS
259082012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25909
25910 * math/w_ilogb.c: Include <limits.h>.
25911 * math/w_ilogbl.c: Likewise.
25912
b5982523
JM
259132012-07-20 Joseph Myers <joseph@codesourcery.com>
25914
25915 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25916 va_copy. Document allowing for unavailable va_copy only as
25917 pre-C99 compatibility.
25918 * manual/string.texi (Copying and Concatenation): Use va_copy
25919 instead of __va_copy in concat example.
25920
ac4ea442
PT
259212012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25922
25923 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25924 (__sendto): Use create_address_port. Initialize APORT and deallocate
25925 it if not null.
25926
f98eafbd
PT
25927 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25928 with O_NOLINK passed to __file_name_lookup.
25929
898c7aab
PT
25930 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25931 with O_NOLINK passed to __file_name_lookup.
25932
0ced335a
PT
25933 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25934 negative N or less than NGIDS.
25935
b3404dbd
PT
25936 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25937 type to string_t. Set ERANGE as errno and return it if NAME is not big
25938 enough. Use memcpy instead of strncpy.
25939
0f48659e
JM
259402012-07-20 Joseph Myers <joseph@codesourcery.com>
25941
25942 * elf/Makefile (check-data): Remove.
25943 (localplt.data): New vpath directive.
25944 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25945 instead of $(check-data).
25946 * scripts/data/localplt-generic.data: Move to ...
25947 * sysdeps/generic/localplt.data: ... here.
25948 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25949 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25950 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25952 ... here.
25953 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25955 ... here.
25956 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25958 ... here.
25959 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25961 ... here.
25962 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25964 ... here.
25965 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25967 ... here.
25968
d37cbdaa
AZ
259692012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25970
25971 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25972 PPC32 and PPC64 files.
25973 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25974 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25975
46f85fc2
AK
259762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25977
25978 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25979 __makecontext_ret to ...
25980 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25981 ... here and call exit if uc_link is NULL. New file.
25982 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25983 __makecontext_ret.S.
25984 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25985 __makecontext_ret to ...
25986 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25987 ... here and call exit if uc_link is NULL. New file.
25988 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25989 __makecontext_ret.S.
25990
08f43f9b
AK
259912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25992
25993 * elf/elf.h (R_390_IRELATIVE): New definition.
25994 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25995 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25996 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25997 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25998 (elf_machine_lazy_rel): Likewise.
25999 * sysdeps/s390/dl-irel.h: New file.
26000 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26001 * sysdeps/s390/s390-64/memset.S: New asm code.
26002 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26003 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26004 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26005 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26006 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26007 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26008 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26009 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26010 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26011 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26012 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26013 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26014 * sysdeps/s390/s390-32/memset.S: New asm code.
26015 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26016
3b05db33
MP
260172012-07-17 Marek Polacek <polacek@redhat.com>
26018
26019 [BZ #14349]
26020 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26021 * sysdeps/s390/s390-64/configure.in: Likewise.
26022 * sysdeps/sparc/configure.in: Likewise.
26023 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26024 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26025 * sysdeps/i386/configure.in: Likewise.
26026 * sysdeps/x86_64/configure.in: Likewise.
26027 * sysdeps/sh/configure.in: Likewise.
26028 * sysdeps/s390/s390-32/configure: Regenerated.
26029 * sysdeps/s390/s390-64/configure: Likewise.
26030 * sysdeps/x86_64/configure: Likewise.
26031 * sysdeps/sh/configure: Likewise.
26032 * sysdeps/powerpc/powerpc64/configure: Likewise.
26033 * sysdeps/powerpc/powerpc32/configure: Likewise.
26034 * sysdeps/sparc/configure: Likwise.
26035 * sysdeps/i386/configure: Likewise.
26036
a66877c6
MP
26037 * elf/dl-open.c: Comment fixes.
26038
cfc82fd8
JM
260392012-07-17 Joseph Myers <joseph@codesourcery.com>
26040
bd29910a
JM
26041 * Makefile [CXX] (check-data): Remove.
26042 [CXX] (c++-types.data): New vpath directive.
26043 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26044 vpath. Do not allow for C++ type data being missing.
26045 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26046 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26047 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26048 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26049 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26050 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26051 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26053 ... here.
26054 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26056 ... here.
26057 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26059 ... here.
26060 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26062 ... here.
26063 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26065 ... here.
26066 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26068 ... here.
26069 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26071 ... here.
26072 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26074
cfc82fd8
JM
26075 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26076 definitions to architecture-specific files.
26077 (TLS_IE): Likewise.
26078 (TLS_LD): Likewise.
26079 (TLS_GD): Likewise.
26080 * sysdeps/i386/tls-macros.h: New file.
26081 * sysdeps/powerpc/tls-macros.h: Likewise.
26082 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26083 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26084 * sysdeps/sh/tls-macros.h: Likewise.
26085 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26086 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26087 * sysdeps/x86_64/tls-macros.h: Likewise.
26088
f7db3170
TS
260892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26090
07cbfc23
TS
26091 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26092 zero value for regular exit case.
26093
f7db3170
TS
26094 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26095 (__start_context): Preserve zero value for regular exit case.
26096
dc97c227
TS
260972012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26098 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26099
26100 * manual/setjmp.texi (setcontext): Clarify normal process
26101 termination when uc_link is the null pointer.
26102 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26103 exit call.
26104
d0cd7d02
AS
261052012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26106
26107 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26108 preprocessor. Test for each exception mask separately.
26109
dd318934
AJ
261102012-07-16 Andreas Jaeger <aj@suse.de>
26111
26112 * po/ru.po: Update from translation team.
26113
8048311a
JM
261142012-07-15 Joseph Myers <joseph@codesourcery.com>
26115
26116 * conform/data/string.h-data (NULL): Use macro-constant. Require
26117 equal to 0.
26118 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26119 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26120 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26121 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26123
b637d46e
AJ
261242012-07-13 Andreas Jaeger <aj@suse.de>
26125
26126 * po/fr.po: Update from translation team.
26127
541428fe
MP
261282012-07-12 Marek Polacek <polacek@redhat.com>
26129
26130 [BZ #14173]
26131 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26132 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26133 loop condition.
26134
ec332e94
JM
261352012-07-12 Joseph Myers <joseph@codesourcery.com>
26136
26137 [BZ #13717]
26138 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26139 Change to 2.4.1 where previously 2.4.0.
26140 * sysdeps/unix/sysv/linux/configure: Regenerated.
26141 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26142 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26143 version.
26144 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26145 (__ASSUME_AT_CLKTCK): Remove.
26146 (__ASSUME_AT_PAGESIZE): Likewise.
26147 (__ASSUME_AT_XID): Likewise.
26148 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26149 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26150 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26151 unconditionally.
26152 (HAVE_AUX_PAGESIZE): Likewise.
26153 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26154 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26155 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26156
7b6e99be
JB
261572012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26158
26159 [BZ #14307]
26160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26161 the temporary buffer used to invoke __gethostbyname2_r,
26162 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26163 host_data / struct gaih_addrtuple.
26164 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26165 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26166 header file nss/nsswitch.h.
26167 * nss/nsswitch.h (global scope): Add definition of implementation
26168 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26169 resolv/nss_dns/dns-host.c).
26170
608404eb
AJ
261712012-07-11 Andreas Jaeger <aj@suse.de>
26172
26173 * po/fr.po: Update from translation team.
26174
71220aca
AJ
26175 * po/sv.po: Update from translation team
26176 * po/fr.po: Another update from translation team.
26177
28cfe843
AZ
261782012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26179
26180 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26181 for subnormals or multiply small sinh result by itself.
26182 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26184
6b90f981
DM
261852012-07-11 David S. Miller <davem@davemloft.net>
26186
26187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26188
c6825772
AS
261892012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26190
26191 [BZ #14347]
26192 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26193 (INTERNAL_MARK): Shift it here.
26194
7b8e0d49
MP
261952012-07-10 Marek Polacek <polacek@redhat.com>
26196
26197 [BZ #14151]
26198 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26199 libc_cv_asm_global_directive with .globl.
26200 * configure: Regenerated.
26201 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26202 with .globl.
26203 * sysdeps/i386/configure: Regenerated.
26204 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26205 with .globl.
26206 * sysdeps/x86_64/configure: Regenerated.
26207 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26208 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26209 * elf/tst-unique2mod2.c: Likewise.
26210 * elf/tst-unique2mod1.c: Likewise.
26211 * elf/tst-unique1mod2.c: Likewise.
26212 * elf/tst-unique1mod1.c: Likewise.
26213 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26214 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26215 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26216 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26217 * sysdeps/mach/sysdep.h: Likewise.
26218 * sysdeps/i386/sysdep.h: Likewise.
26219 * sysdeps/i386/i386-mcount.S: Likewise.
26220 * sysdeps/x86_64/_mcount.S: Likewise.
26221 * sysdeps/x86_64/sysdep.h: Likewise.
26222 * sysdeps/sh/_mcount.S: Likewise.
26223 * sysdeps/sh/sysdep.h: Likewise.
26224 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26225 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26226 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26227 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26228 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26229 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26230 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26231 * locale/localeinfo.h: Likewise.
26232 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26233 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26234
6c55cda3
RM
262352012-07-09 Roland McGrath <roland@hack.frob.com>
26236
26237 [BZ #14336]
26238 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26239 system".
26240 * manual/message.texi (The Uniforum approach): Likewise.
26241 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26242 (glibc iconv Implementation): Likewise.
26243
638a572e
JM
262442012-07-09 Joseph Myers <joseph@codesourcery.com>
26245
26246 [BZ #14337]
26247 * math/s_clog.c (__clog): Avoid scaling a value down where that
26248 could result in underflow.
26249 * math/s_clog10.c (__clog10): Likewise.
26250 * math/s_clog10f.c (__clog10f): Likewise.
26251 * math/s_clog10l.c (__clog10l): Likewise.
26252 * math/s_clogf.c (__clogf): Likewise.
26253 * math/s_clogl.c (__clogl): Likewise.
26254 * math/libm-test.inc (clog_test): Add more tests.
26255 (clog10_test): Likewise.
26256 * sysdeps/i386/fpu/libm-test-ulps: Update.
26257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26258
261f4859
AS
262592012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26260
0abaf3e4
AS
26261 [BZ #14283]
26262 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26263 by 7 not 8 to examine high bit of fractional part.
26264
261f4859
AS
26265 [BZ #14042]
26266 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26267 for call to __mcount_internal.
26268 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26269 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26270 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26271
f17ac40d
JM
262722012-07-06 Joseph Myers <joseph@codesourcery.com>
26273
9ad63c23
JM
26274 [BZ #14154]
26275 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26276 approximation for values within 0x1p-13f of an odd multiple of
26277 pi/4.
26278 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26279 exception. Add more tests.
26280 * sysdeps/i386/fpu/libm-test-ulps: Update.
26281
f17ac40d
JM
26282 [BZ #6778]
26283 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26284 inputs and return -1 for them. Do not check for +Inf in case not
26285 reachable for +Inf.
26286 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26287 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26288 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26289 and return -1 for them. Do not check for +Inf in case not
26290 reachable for +Inf.
26291 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26292 define.
26293 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26294 and return -1 for them. Do not check for +Inf in case not
26295 reachable for +Inf.
26296 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26297 spurious underflow.
26298 * sysdeps/i386/fpu/libm-test-ulps: Update.
26299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26300
fb21f89b
MF
263012012-07-06 Mike Frysinger <vapier@gentoo.org>
26302
26303 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26304
cdfe2c5e
JM
263052012-07-05 Joseph Myers <joseph@codesourcery.com>
26306
26307 [BZ #14157]
26308 [BZ #14331]
26309 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26310 could result in spurious underflow. Scale down values above
26311 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26312 * math/s_csqrtf.c (__csqrtf): Likewise.
26313 * math/s_csqrtl.c (__csqrtl): Likewise.
26314 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26315 spurious underflow.
26316 * sysdeps/i386/fpu/libm-test-ulps: Update.
26317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26318
70d35b67
AS
263192012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26320
704bc459
AS
26321 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26322 xopen-msg.sed.
26323 * catgets/xopen-msg.awk: New file.
26324 * catgets/xopen-msg.sed: Removed.
26325
70d35b67
AS
26326 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26327 po2text.sed.
26328 * intl/po2test.awk: New file.
26329 * intl/po2test.sed: Removed.
26330
ca61cf32
JM
263312012-07-04 Joseph Myers <joseph@codesourcery.com>
26332
26333 [BZ #14328]
26334 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26335 or multiply small sinh result by itself.
26336 * math/s_ctanf.c (__ctanf): Likewise.
26337 * math/s_ctanh.c (__ctanh): Likewise.
26338 * math/s_ctanhf.c (__ctanhf): Likewise.
26339 * math/s_ctanhl.c (__ctanhl): Likewise.
26340 * math/s_ctanl.c (__ctanl): Likewise.
26341 * math/libm-test.inc (ctan_test_tonearest): New function.
26342 (ctan_test_towardzero): Likewise.
26343 (ctan_test_downward): Likewise.
26344 (ctan_test_upward): Likewise.
26345 (ctanh_test_tonearest): Likewise.
26346 (ctanh_test_towardzero): Likewise.
26347 (ctanh_test_downward): Likewise.
26348 (ctanh_test_upward): Likewise.
26349 (main): Call these new functions.
26350 * sysdeps/i386/fpu/libm-test-ulps: Update.
26351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26352
ca48a46a
MF
263532012-07-03 Mike Frysinger <vapier@gentoo.org>
26354
26355 * .gitignore: Delete /ports entry.
26356
9d63d37d
AJ
263572012-07-03 Andreas Jaeger <aj@suse.de>
26358
26359 * po/bg.po: Update from translation team.
26360 * po/cs.po: Likewise.
26361 * po/de.po: Likewise.
26362 * po/hr.po: Likewise.
26363 * po/nl.pl: Likewise.
26364 * po/pl.po: Likewise.
26365 * po/vi.po: Likewise.
26366
370ca3d2
JM
263672012-07-03 Joseph Myers <joseph@codesourcery.com>
26368
95f5a9a8
JM
26369 * Makeconfig [!+link] (+link-before-libc): New variable.
26370 [!+link] (+link-after-libc): Likewise.
26371 [!+link] (+link-tests): Likewise.
26372 [!+link] (+link): Define in terms of $(+link-before-libc) and
26373 $(+link-after-libc).
26374 [!+link-static] (+link-static-before-libc): New variable.
26375 [!+link-static] (+link-static-after-libc): Likewise.
26376 [!+link-static] (+link-static-tests): Likewise.
26377 [!+link-static] (+link-static): Define in terms of
26378 $(+link-static-before-libc) and $(+link-static-after-libc).
26379 [build-shared] (link-libc-before-gnulib): New variable.
26380 [build-shared] (link-libc-tests): Likewise.
26381 [build-shared] (link-libc): Define in terms of
26382 $(link-libc-before-gnulib).
26383 [!build-shared] (link-libc-tests): New variable.
26384 (link-libc-static-tests): New variable.
26385 [!gnulib] (gnulib-arch): New variable.
26386 [!gnulib] (gnulib-tests): Likewise.
26387 [!gnulib] (static-gnulib-arch): Likewise.
26388 [!gnulib] (static-gnulib-tests): Likewise.
26389 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26390 Define with "=" instead of ":=".
26391 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26392 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26393 * Rules (binaries-all-notests): New variable.
26394 (binaries-all-tests): Likewise.
26395 (binaries-static-notests): Likewise.
26396 (binaries-static-tests): Likewise.
26397 (binaries-all): Define using $(binaries-all-notests) and
26398 $(binaries-all-tests).
26399 (binaries-static): Define using $(binaries-static-notests) and
26400 $(binaries-static-tests).
26401 (binaries-shared-tests): New variable.
26402 (binaries-shared-notests): Likewise.
26403 (binaries-shared): Remove variable.
26404 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26405 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26406 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26407 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26408 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26409 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26410 * elf/Makefile (sln-modules): New variable.
26411 (extra-objs): Add $(sln-modules:=.o).
26412 (ldconfig-modules): Add static-stubs.
26413 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26414 * elf/static-stubs.c: New file.
26415
7a845b2c
JM
26416 [BZ #14283]
26417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26418 by 7 not 8 to examine high bit of fractional part. Use volatile
26419 variables when splitting into final array of floats if
26420 __FLT_EVAL_METHOD__ != 0.
26421 * math/libm-test.inc (cos_test): Add another test.
26422 (sin_test): Likewise.
26423 * sysdeps/i386/fpu/libm-test-ulps: Update.
26424
e2283f38
JM
26425 [BZ #14273]
26426 * math/libm-test.inc (cosh_test): Add more tests.
26427
370ca3d2
JM
26428 * version.h (RELEASE): Set to "development".
26429 (VERSION): Set to "2.16.90".
26430
ee9247c3
CD
264312012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26432
26433 * NEWS: Update copyright. Remove last-updated date.
26434 Mention math library bug fixes and timezone data changes.
26435 * README: Mention GNU/Hurd, x32, and HPPA support status.
26436
4648c381
TS
264372012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26438
26439 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26440
aac78a43
AJ
264412012-06-27 Andreas Jaeger <aj@suse.de>
26442
26443 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26444
ed3dbfad
AJ
264452012-06-25 Andreas Jaeger <aj@suse.de>
26446
26447 * sysdeps/s390/fpu/libm-test-ulps: Update.
26448
4d0ee855
AS
264492012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26450 Thomas Schwinge <thomas@codesourcery.com>
26451
26452 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26453 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26455 fanotify_mark.
26456
af1bce34
TS
264572012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26458
a9fa33ba
TS
26459 * sysdeps/mach/start.c: Remove file.
26460 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26461 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26462 * sysdeps/sh/init-first.c: Likewise.
26463
58f902b8
TS
26464 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26465 registers for frame unwinding purposes, add CFI directives.
26466 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26467 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26468 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26469 Likewise.
26470
1518f58b
TS
26471 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26472 __fortify_fail returning.
26473 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26474
db9b5059
TS
26475 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26476 sysdeps/sh/____longjmp_chk.S.
26477 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26478 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26479 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26480 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26481
967705fe
TS
26482 * sysdeps/sh/abort-instr.h: New file.
26483 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26484 process in case exit returns.
26485
a9def8c4
TS
26486 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26487 initialize the GOT register before use.
26488
2a649725
TS
26489 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26490 calculation of ARGC > 4.
26491
af1bce34
TS
26492 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26493 meaningful names to some local labels.
26494
d230f50a
KK
264952012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26496 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26497
26498 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26499 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26500 (__arch_compare_and_exchange_val_16_acq): Likewise.
26501 (__arch_compare_and_exchange_val_32_acq): Likewise.
26502 (atomic_exchange_and_add): Fix gUSA sequence.
26503 (atomic_add): Likewise.
26504 (atomic_add_negative): Likewise.
26505 (atomic_add_zero): Likewise.
26506 (atomic_bit_test_set): Likewise.
26507
0479b305
AS
265082012-06-22 Andreas Schwab <schwab@redhat.com>
26509
26510 [BZ #13579]
26511 * include/link.h (struct link_map): Add l_free_initfini.
26512 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26513 l_initfini.
26514 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26515 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26516 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26517 set.
26518
0e3933b9
CD
265192012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26520
26521 * configure.in: Use AC_LANG_SOURCE.
26522 * configure: Regenerate.
26523
4248b1b1
RM
265242012-06-22 Roland McGrath <roland@hack.frob.com>
26525
26526 * configure.in (libc_cv_localstatedir): New substituted variable.
26527 * configure: Regenerated.
26528 * config.make.in (localstatedir): New variable, substituted from
26529 libc_cv_localstatedir.
26530 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26531 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26532 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26533 * sysdeps/gnu/configure: Regenerated.
26534
006dd861
JL
265352012-06-21 Jeff Law <law@redhat.com>
26536
26537 [BZ #14277]
26538 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26539 free. Simplify list management for _LIBC case.
26540
79662d42
JM
265412012-06-21 Joseph Myers <joseph@codesourcery.com>
26542
b7abb4bf
JM
26543 [BZ #14273]
26544 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26545 Clear sign bit of 64-bit integer value before comparing against
26546 overflow value.
26547
79662d42
JM
26548 * sysdeps/mach/configure: Regenerated.
26549
1f150908
L
265502012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26551
26552 [BZ #14278]
26553 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26554
28363bbf
JL
265552012-06-21 Jeff Law <law@redhat.com>
26556
26557 [BZ #13882]
26558 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26559 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26560 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26561 * elf/dl-open.c (dl_open_worker): Likewise.
26562
09615db4
CD
265632012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26564
26565 * scripts/list-sources.sh: Scan PORTS for translations.
26566 * po/libc.pot: Regenerated.
26567
2174c6dd
AJ
265682012-06-21 Andreas Jaeger <aj@suse.de>
26569
26570 [BZ #12194]
26571 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26572 warning.
26573 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26574 * bits/byteswap-16.h (__bswap_16): Likewise.
26575 * bits/byteswap.h (__bswap_constant_16): Likewise.
26576
3ee947b1
L
265772012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26578
26579 [BZ #14117]
a2f34833
L
26580 * sysdeps/i386/fpu_control.h: Removed.
26581 * sysdeps/x86_64/fpu_control.h: Moved to ...
26582 * sysdeps/x86/fpu_control.h: Here.
26583
3ee947b1
L
26584 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26585 (_FPU_SETCW): Likewise.
26586
ed1825f8
L
265872012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26588
25f1282a
L
26589 [BZ #14117]
26590 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26591 * sysdeps/x86/fpu/bits/mathinline.h: This.
26592 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26593
ed1825f8
L
26594 [BZ #14050]
26595 [BZ #14117]
26596 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26597 functions if __x86_64__ is defined.
26598
36d54b74
CLT
265992012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26600
26601 * string/endian.h: Add !__ASSEMBLER__ condition for including
26602 conversion interfaces.
26603
10285c21
JM
266042012-06-15 Joseph Myers <joseph@codesourcery.com>
26605
26606 [BZ #14241]
26607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26608 of ABS(x) in calculating zero to negative powers other than odd
26609 integers.
26610 * math/libm-test.inc (pow_test): Add more tests.
26611
06c5abbd
AJ
266122012-06-15 Andreas Jaeger <aj@suse.de>
26613
26614 * manual/contrib.texi (Contributors): Update entry of Liubov
26615 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26616 Machado Filho.
26617
a3aeac40
CH
266182012-06-15 Cyril Hrubis <metan@ucw.cz>
26619
26620 * string/string.h: Add __wur to GNU version of strerror_r.
26621
49bdf4c1
L
266222012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26623
26624 [BZ #14229]
26625 * string/Makefile (tests): Add tst-strtok_r.
26626 * string/tst-strtok_r.c: New file.
26627 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26628 RAX_LP/RDX_LP on SAVE_PTR.
26629
834f9b8d
RM
266302012-06-14 Roland McGrath <roland@hack.frob.com>
26631
26632 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26633
75fa1921
JM
266342012-06-14 Joseph Myers <joseph@codesourcery.com>
26635
26636 * libm_test.inc (csqrt_test): Allow more spurious underflow
26637 exceptions.
26638 (j0_test): Likewise.
26639 (j1_test): Likewise.
26640 (y0_test): Likewise.
26641 (y1_test): Likewise.
26642
771766df
CD
266432012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26644
26645 * po/Makefile (libc.pot): Use UTF-8 charset.
26646
ceb9e56b
PP
266472012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26648
26649 [BZ #14210]
26650 Suppress sign-conversion warning from FD_SET.
26651 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26652 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26653 not unsigned long int.
26654 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26655
ddb28975
L
266562012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26657
26658 [BZ #14050]
26659 [BZ #14117]
26660 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26661 __extern_always_inline instead of __extern_inline.
26662 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26663 (__signbit): Likewise.
26664 (__signbitl): Support C++ namespace.
26665 (lrintf): New inline function.
26666 (lrint): Likewise.
26667 (llrintf): Likewise.
26668 (llrint): Likewise.
26669 (fmaxf): Likewise.
26670 (fmax): Likewise.
26671 (fminf): Likewise.
26672 (fmin): Likewise.
26673 (rint): Likewise.
26674 (rintf): Likewise.
26675 (ceil): Likewise.
26676 (ceilf): Likewise.
26677 (floor): Likewise.
26678 (floorf): Likewise.
26679 (nearbyint): Likewise.
26680 (nearbyintf): Likewise.
26681
d7b4fb26
TS
266822012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26683
26684 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26685 non-default versions.
26686
eb55f5c2
RM
266872012-06-11 Roland McGrath <roland@hack.frob.com>
26688
26689 [BZ #14218]
26690 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26691
366af02c
TS
266922012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26693
99ff6e5c
TS
26694 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26695 (FE_UPWARD, FE_DOWNWARD): Don't define.
26696 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26697 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26698
366af02c
TS
26699 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26700 reading it.
26701 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26702 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26703
793ea851
KK
267042012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26705
26706 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26708 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26709 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26710
a728a38f
L
267112012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26712
26713 [BZ #14117]
c08010c7
L
26714 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26715 * sysdeps/i386/fpu/Implies: New file.
26716 * sysdeps/x86_64/fpu/Implies: Likewise.
26717 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26718 * sysdeps/x86/fpu/bits/fenv.h: This.
26719
a728a38f
L
26720 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26721 __SSE_MATH__.
26722
6e230d11
SP
267232012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26724
26725 [BZ #14134]
26726 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26727 character 0xffff that matches the last element of the
26728 conversion table.
26729
1b671feb
AZ
267302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26731
26732 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26733 fmodl commit.
26734
6043738b
AZ
267352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26736
26737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26738 values higher than 25.6283.
26739
34ae0b32
AZ
267402012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26741
26742 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26743 subnormal exponent extraction and add some __builtin_expect.
26744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26745 Fix for subnormal mantissa calculation.
26746
1214ec8f
MF
267472012-06-04 Mike Frysinger <vapier@gentoo.org>
26748
26749 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26750 cpu2 is -1 and errno is not ENOSYS.
26751
f3d1f93c
L
267522012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26753
26754 [BZ #14117]
0e4a3cd7
L
26755 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26756 * sysdeps/x86/bits/string.h: This.
26757 * sysdeps/x86_64/bits/string.h: Removed.
26758
6704c645
L
26759 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26760 if not compiling for x86-64, but compiling for >= i486.
26761
48495318
L
26762 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26763 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26764
14adcbfc
L
26765 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26766 New macro from Linux kernel 3.4.0.
26767 (FP_XSTATE_MAGIC2): Likewise.
26768 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26769 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26770 (struct _fpx_sw_bytes): New struct.
26771 (struct _xsave_hdr): Likewise.
26772 (struct _ymmh_state): Likewise.
26773 (struct _xstate): Likewise.
26774
68e408ab
L
26775 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26776 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26777 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26778 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26779 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26780 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26781
f3d1f93c
L
26782 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26783 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26784 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26785 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26786 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26787 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26788
d9dc34cd
TMQMF
267892012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26790
26791 [BZ #13743]
26792 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26793 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26794 (sysdep_headers): Include sys/platform/ppc.h.
26795 * sysdeps/powerpc/test-gettimebase.c: Test for
26796 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26797 * manual/Makefile (appendices): Include platform.texi.
26798 * manual/contrib.texi (Contributors): Update @node pointers.
26799 * manual/maint.texi (Maintenance): Likewise.
26800 (Platform): New node.
26801 * manual/platform.texi: New file. Document the new features.
26802
4af3879c
SP
268032012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26804 Jakub Jelinek <jakub@redhat.com>
26805
26806 [BZ #14188]
26807 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26808 where __builtin_expect is unavailable.
26809
2fd6ff13
DM
268102012-06-03 David S. Miller <davem@davemloft.net>
26811
26812 * stdlib/longlong.h: Updated from GCC.
26813
173f7220
AS
268142012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26815
26816 [BZ #14042]
26817 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26818 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26819 __mcount_internal.
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26821 (GLIBC_2.16): Likewise.
26822
f34a1c6f
L
268232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26824
26825 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26826
88a4576f
JM
268272012-06-01 Joseph Myers <joseph@codesourcery.com>
26828
ea32bcdd
JM
26829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26830 (default-abi): New variable.
26831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26832 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26833 variable.
26834 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26835 Likewise.
26836 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26837 Likewise.
26838 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26839 Likewise.
26840
88a4576f
JM
26841 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26842 definition. Document in comment.
26843
402fe938
DM
268442012-06-01 David S. Miller <davem@davemloft.net>
26845
26846 * stdlib/longlong.h: Updated from GCC.
26847
3553723f
L
268482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26849
26850 [BZ #14117]
3bd872c4
L
26851 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26852 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26853 sys/debugreg.h sys/io.h here.
26854 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26855 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26856 sys/io.h.
26857 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26858 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26859 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26860 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26861 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26862 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26863
3553723f
L
26864 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26865 Define only if __x86_64__ is defined.
26866
4842e4fe
JM
268672012-06-01 Joseph Myers <joseph@codesourcery.com>
26868
c5bfe3d5
JM
26869 [BZ #14048]
26870 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26871 Use int64_t for variable i.
26872 * math/libm-test.inc (fmod_test): Add more tests.
26873
4842e4fe
JM
26874 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26875 z computation is not scheduled after fetestexcept.
26876 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26877 Use math_force_eval instead of asm to ensure calculation scheduled
26878 before exception test.
26879 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26880 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26881
efb73488
AJ
268822012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26883
26884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26885 computation is not scheduled after fetestexcept.
26886
29bcce7c
L
268872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26888
26889 [BZ #14117]
26890 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26891 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26892
73a68f94
AZ
268932012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26894
26895 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26896 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26897
67b6df78
L
268982012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26899
edf2933a 26900 [BZ #14117]
ebc64a18
L
26901 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26902 <bits/wordsize.h>.
26903 (__WCHAR_MIN): Support __WORDSIZE == 64.
26904 (__WCHAR_MAX): Likewise.
26905
edf2933a
L
26906 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26907 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26908
57c6cf40
L
26909 [BZ #14183]
26910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26911 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26912
67b6df78 26913 [BZ #14117]
8eb6281e
L
26914 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26915 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26916
aac639f4
L
26917 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26918 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26919
67b6df78
L
26920 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26921 Defined to 1 if __x86_64__ isn't defined.
26922 (_STAT_VER_LINUX_OLD): New.
26923 (st_atime): Remove duplicate.
26924 (st_mtime): Likewise.
26925 (st_ctime): Likewise.
26926
1c2cfe81
DM
269272012-05-31 David S. Miller <davem@davemloft.net>
26928
26929 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26930 entries.
26931
5be8418c
AS
269322012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26933
e7725326
AS
26934 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26935 gen-libm-test.pl.
26936
5be8418c
AS
26937 [BZ #14132]
26938 * elf/dl-reloc.c: Include <_itoa.h>.
26939 (_dl_reloc_bad_type): Remove use of INTUSE.
26940 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26941 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26942 * stdio-common/psiginfo.c (psiginfo): Likewise.
26943 * stdio-common/psignal.c (psignal): Likewise.
26944 * string/strsignal.c (strsignal): Likewise.
26945 * include/signal.h (_sys_siglist): Declare hidden proto.
26946 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26947 INTVARDEF with libc_hidden_data_def.
26948 * stdio-common/itoa-udigits.c: Likewise.
26949 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26950 (_itoa_lower_digits_internal): Remove declaration.
26951 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26952 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26953 (_sys_sigabbrev_internal): Remove aliases.
26954 (_sys_siglist): Define hidden alias.
26955
507352f1
MT
269562012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26957
26958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26959 bits/sysctl.h.
26960
42bbb1c3
L
269612012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26962
26963 [BZ #14117]
6bd784b6
L
26964 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26965 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26966
8bca20f0
L
26967 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26968 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26969 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26970 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26972 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26973
f9e890a9
L
26974 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26975 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26976 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26977
471101a1
L
26978 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26979 with __addr.
26980 (insw): Likewise.
26981 (insl): Likewise.
26982 (outsb): Likewise.
26983 (outsw): Likewise.
26984 (outsl): Likewise.
26985
6451c862
L
26986 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26987 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26988 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26989
a254b8c9
L
26990 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26991 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26992 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26993 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26994 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26995 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26996
b8dfdd92
L
26997 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26998 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26999
578cd270
L
27000 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27001 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27002
de662f5f
L
27003 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27004 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27005 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27006
25653439
L
27007 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27008 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27009 to ...
27010 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27011
6bad24a0
L
27012 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27013 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27014 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27015
42bbb1c3
L
27016 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27017 for x86-64.
27018 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27019
2d10d547
JM
270202012-05-31 Joseph Myers <joseph@codesourcery.com>
27021
27022 * math/math.h (M_El): Use two more decimal places.
27023 (M_LOG2El): Likewise.
27024 (M_LOG10El): Likewise.
27025 (M_LN2l): Likewise.
27026 (M_LN10l): Likewise.
27027 (M_PIl): Likewise.
27028 (M_PI_2l): Likewise.
27029 (M_PI_4l): Likewise.
27030 (M_1_PIl): Likewise.
27031 (M_2_PIl): Likewise.
27032 (M_2_SQRTPIl): Likewise.
27033 (M_SQRT2l): Likewise.
27034 (M_SQRT1_2l): Likewise.
27035
f230c29b
DM
270362012-05-31 David S. Miller <davem@davemloft.net>
27037
27038 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27039 values between float registers.
27040 * sysdeps/sparc/sparc64/memset.S: Likewise.
27041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27042
fed806c3
MF
270432012-05-31 Mike Frysinger <vapier@gentoo.org>
27044
27045 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27046 -D_FORTIFY_SOURCE=1.
27047 (CPPFLAGS-tst-longjmp_chk.c): Define.
27048 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27049 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27050 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27051 CFLAGS-tst-wchar-h.c.
27052
30917259
MP
270532012-05-31 Marek Polacek <polacek@redhat.com>
27054
27055 [BZ #14132]
27056 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27057 __endmntent_internal): Remove declaration.
27058 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27059 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27060 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27061
1c58d5dc
DM
270622012-05-30 David S. Miller <davem@davemloft.net>
27063
27064 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27065 (___Q_simulate_exceptions): Use real FP ops rather than writing
27066 into the %fsr.
27067 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27068 Likewise.
27069
7dc00e0d
L
270702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27071
27072 [BZ #14117]
0bd53985
L
27073 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27074 * sysdeps/x86/bits/xtitypes.h: This.
27075
3a257e66
L
27076 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27077 * sysdeps/x86/bits/wordsize.h: This.
27078
62f62904
L
27079 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27080 * sysdeps/x86/bits/huge_vall.h: This.
27081
404fe9d9
L
27082 * sysdeps/i386/bits/select.h: Removed.
27083 * sysdeps/x86_64/bits/select.h: Renamed to ...
27084 * sysdeps/x86/bits/select.h: This.
27085
d48d0446
L
27086 * sysdeps/i386/bits/setjmp.h: Removed.
27087 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27088 * sysdeps/x86/bits/setjmp.h: This.
27089
7dc00e0d
L
27090 * sysdeps/i386/bits/mathdef.h: Removed.
27091 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27092 * sysdeps/x86/bits/mathdef.h: This.
27093
03277f8f
AS
270942012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27095
27096 [BZ #14132]
27097 * include/sys/socket.h (__connect_internal)
27098 (__libc_sa_len_internal): Remove declaration.
27099 (__connect, __libc_sa_len): Declare hidden_proto.
27100 (SA_LEN): Remove use of INTUSE.
27101 * socket/connect.c: Add libc_hidden_def.
27102 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27103 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27104 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27105 alias.
27106 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27107 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27108 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27109 of adding _internal alias.
27110
13764867
L
271112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27112
27113 [BZ #14117]
6bd97696
L
27114 * sysdeps/i386/bits/link.h: Removed.
27115 * sysdeps/i386/bits/linkmap.h: Likewise.
27116 * sysdeps/x86_64/bits/link.h: Renamed to ...
27117 * sysdeps/x86/bits/link.h: This.
27118 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27119 * sysdeps/x86/bits/linkmap.h: This.
27120
f726f0bb
L
27121 * sysdeps/i386/bits/endian.h: Removed.
27122 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27123 * sysdeps/x86/bits/endian.h: This.
27124
13764867
L
27125 * sysdeps/i386/bits/byteswap.h: Removed.
27126 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27127 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27128 * sysdeps/x86/bits/byteswap.h: This.
27129 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27130 * sysdeps/x86/bits/byteswap-16.h: This.
27131 * sysdeps/i386/Implies: Add x86.
27132 * sysdeps/x86_64/Implies: Likewise.
27133
ae251b0b
DM
271342012-05-30 David S. Miller <davem@davemloft.net>
27135
27136 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27137 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27138 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27139 (FP_TRAPPING_EXCEPTIONS): Define.
27140 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27141 (FP_TRAPPING_EXCEPTIONS): Define.
27142 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27143 subnormals only when inexact has been signalled or underflow
27144 exceptions are enabled.
27145 (_FP_PACK_CANONICAL): Likewise.
27146
d5c90867
L
271472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27148
27149 [BZ #14183]
27150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27151 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27152
63f1549e
RH
271532012-05-30 Richard Henderson <rth@twiddle.net>
27154
8d8f2279
RH
27155 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27156 with #ifndef NOT_IN_libc.
27157
63f1549e
RH
27158 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27159 marked to avoid plt entry.
27160
0ab0291b
L
271612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27162
27163 [BZ #14112]
27164 * Makeconfig (default-abi): New macro.
27165 (abi-includes): Likewise.
27166 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27167 $(abi-$(default-abi)-lib-soname) for soname if defined.
27168 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27169 abi-variants.
27170 * Makefile (installed-stubs): Likewise.
27171 * include/stubs-biarch.h: Removed.
27172 * scripts/lib-names.awk: Only handle one library at a time.
27173 * scripts/soversions.awk: Remove WORDSIZE support.
27174 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27175 entries.
27176 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27177 Removed.
27178 (syscall-list-default-condition): Likewise.
27179 (syscall-list-default-condition): Likewise.
27180 (syscall-list-includes): Likewise.
27181 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27182 syscall-list-* with abi-*. Handle undefined abi-variants.
27183 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27184 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27185 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27186 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27187 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27188 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27189 Removed.
27190 (syscall-list-32-options): Likewise.
27191 (syscall-list-32-condition): Likewise.
27192 (syscall-list-64-options): Likewise.
27193 (syscall-list-64-condition): Likewise.
27194 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27195 macro.
27196 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27197 Renamed to ...
27198 (abi-*): This.
27199 (abi-64-ld-soname): New macro.
27200 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27201 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27202 Renamed to ...
27203 (abi-*): This.
27204 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27205 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27206
4da0431d
JM
272072012-05-30 Joseph Myers <joseph@codesourcery.com>
27208
3a85279c
JM
27209 * sysdeps/unix/sysv/linux/kernel-features.h
27210 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27211 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27212 include <kernel-features.h>.
27213 [!__NR_ftruncate64]: Remove conditional code.
27214 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27215 [__NR_ftruncate64]: Make code unconditional.
27216 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27217 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27218 include <kernel-features.h>.
27219 [!__NR_ftruncate64]: Remove conditional code.
27220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27221 [__NR_ftruncate64]: Make code unconditional.
27222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27224 include <kernel-features.h>.
27225 [!__NR_ftruncate64]: Remove conditional code.
27226 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27227 [__NR_ftruncate64]: Make code unconditional.
27228 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27230 include <kernel-features.h>.
27231 [!__NR_ftruncate64]: Remove conditional code.
27232 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27233 [__NR_ftruncate64]: Make code unconditional.
27234 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27235
4da0431d
JM
27236 * configure.in (libc_cv_fpie): Weaken to a compile test using
27237 LIBC_TRY_CC_OPTION.
27238 * configure: Regenerated.
27239
11ef492c
AK
272402012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27241
27242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27246 Refreshed.
27247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27253 Refreshed.
27254
d66ef399
DM
272552012-05-27 David S. Miller <davem@davemloft.net>
27256
27257 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27258 (___Q_zero): New.
27259 (__Q_simulate_exceptions): Return void. Change to simulate
27260 exceptions by writing into the %fsr.
27261 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27262 (__Qp_handle_exceptions): Likewise.
27263 (numbers): Delete.
27264 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27265 __Qp_handle_exceptions.
27266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27267 __Qp_handle_exceptions.
27268 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27269 as unused and give dummy FP_RND_NEAREST initializer.
27270 (FP_INHIBIT_RESULTS): Define.
27271 (___Q_simulate_exceptions): Update declaration.
27272 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27273 formatting.
27274 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27275 as unused and give dummy FP_RND_NEAREST initializer.
27276 (__Qp_handle_exceptions): Update declaration.
27277 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27278 formatting.
27279
04fb54b5
TS
272802012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27281
27282 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27283 the temporary FPU control word.
27284 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27285 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27286 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27287 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27288 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27289 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27290 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27291 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27292 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27293 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27294 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27295
3f99608f
KK
272962012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27297
27298 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27299 fields.
27300
65a4de4e
CLT
273012012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27302
27303 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27304 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27305 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27306 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27307 Likewise.
27308 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27309 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27310 Likewise.
27311
15749d40
UD
273122012-05-27 Ulrich Drepper <drepper@gmail.com>
27313
27314 * po/h.po: Update from translation team.
27315
25dbcb27
AS
273162012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27317
3d3f8e55
AS
27318 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27319
25dbcb27
AS
27320 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27321 handling of denormals.
27322 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27323 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27324 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27325 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27329 Likewise.
27330
7ad47a80 273312012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27332
27333 [BZ #14152]
27334 * math/libm-test.inc (fma_test): Don't always expect underflow
27335 exception.
27336
9c6ea9fa
SP
273372012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27338
27339 [BZ #12416]
27340 * elf/tst-execstack.c: Include stackinfo.h.
27341 (do_test): Adjust test case to ensure that pthread_getattr_np
27342 behaviour remains the same after marking stack executable.
27343
a8239222
JM
273442012-05-25 Joseph Myers <joseph@codesourcery.com>
27345
27346 * sysdeps/unix/sysv/linux/kernel-features.h
27347 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27348 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27349 kernel-features.h.
27350 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27351 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27352 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27353 kernel-features.h.
27354 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27355 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27356
918b5606
L
273572012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27358
27359 * configure.in: Define the default includes to being none.
27360 * configure: Regenerated.
27361
3a097cc7
RM
273622012-05-25 Roland McGrath <roland@hack.frob.com>
27363
8422c9a5
RM
27364 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27365 * sysdeps/x86_64/setjmp.S: Likewise.
27366 * sysdeps/i386/bsd-setjmp.S: Likewise.
27367 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27368 * sysdeps/i386/setjmp.S: Likewise.
27369 * sysdeps/i386/__longjmp.S: Likewise.
27370 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27371 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27372
3a097cc7
RM
27373 * include/stap-probe.h: New file.
27374 * configure.in: Handle --enable-systemtap.
27375 * configure: Regenerated.
27376 * config.h.in (USE_STAP_PROBE): New #undef.
27377 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27378 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27379 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27380
21708942
JM
273812012-05-25 Joseph Myers <joseph@codesourcery.com>
27382
27383 [BZ #13717]
27384 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27385 to 2.4.0 where earlier.
27386 * sysdeps/unix/sysv/linux/configure: Regenerated.
27387 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27388 <kernel-features.h>.
27389 [__ASSUME_32BITUIDS]: Make code unconditional.
27390 [!__ASSUME_32BITUIDS]: Remove conditional code.
27391 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27392 <kernel-features.h>.
27393 [__ASSUME_32BITUIDS]: Make code unconditional.
27394 [!__ASSUME_32BITUIDS]: Remove conditional code.
27395 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27396 [__ASSUME_32BITUIDS]: Make code unconditional.
27397 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27398 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27399 <kernel-features.h>.
27400 [__ASSUME_32BITUIDS]: Make code unconditional.
27401 [!__ASSUME_32BITUIDS]: Remove conditional code.
27402 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27403 <kernel-features.h>.
27404 [__ASSUME_32BITUIDS]: Make code unconditional.
27405 [!__ASSUME_32BITUIDS]: Remove conditional code.
27406 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27407 <kernel-features.h>.
27408 [__ASSUME_32BITUIDS]: Make code unconditional.
27409 [!__ASSUME_32BITUIDS]: Remove conditional code.
27410 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27411 <kernel-features.h>.
27412 [__ASSUME_32BITUIDS]: Make code unconditional.
27413 [!__ASSUME_32BITUIDS]: Remove conditional code.
27414 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27415 <kernel-features.h>.
27416 [__ASSUME_32BITUIDS]: Make code unconditional.
27417 [!__ASSUME_32BITUIDS]: Remove conditional code.
27418 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27419 <kernel-features.h>.
27420 [__ASSUME_32BITUIDS]: Make code unconditional.
27421 [!__ASSUME_32BITUIDS]: Remove conditional code.
27422 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27423 <kernel-features.h>.
27424 [__ASSUME_32BITUIDS]: Make code unconditional.
27425 [!__ASSUME_32BITUIDS]: Remove conditional code.
27426 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27427 <kernel-features.h>.
27428 [__ASSUME_32BITUIDS]: Make code unconditional.
27429 [!__ASSUME_32BITUIDS]: Remove conditional code.
27430 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27431 <kernel-features.h>.
27432 [__ASSUME_32BITUIDS]: Make code unconditional.
27433 [!__ASSUME_32BITUIDS]: Remove conditional code.
27434 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27435 <kernel-features.h>.
27436 [__ASSUME_32BITUIDS]: Make code unconditional.
27437 [!__ASSUME_32BITUIDS]: Remove conditional code.
27438 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27439 <kernel-features.h>.
27440 [__NR_setresgid] (__setresgid): Do not declare.
27441 [__ASSUME_32BITUIDS]: Make code unconditional.
27442 [!__ASSUME_32BITUIDS]: Remove conditional code.
27443 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27444 <kernel-features.h>.
27445 [__NR_setresuid] (__setresuid): Do not declare.
27446 [__ASSUME_32BITUIDS]: Make code unconditional.
27447 [!__ASSUME_32BITUIDS]: Remove conditional code.
27448 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27449 <kernel-features.h>.
27450 [__ASSUME_32BITUIDS]: Make code unconditional.
27451 [!__ASSUME_32BITUIDS]: Remove conditional code.
27452 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27453 <kernel-features.h>.
27454 [__ASSUME_32BITUIDS]: Make code unconditional.
27455 [!__ASSUME_32BITUIDS]: Remove conditional code.
27456 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27457 <kernel-features.h>.
27458 [__ASSUME_32BITUIDS]: Make code unconditional.
27459 [!__ASSUME_32BITUIDS]: Remove conditional code.
27460 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27461 <kernel-features.h>.
27462 [__ASSUME_32BITUIDS]: Make code unconditional.
27463 [!__ASSUME_32BITUIDS]: Remove conditional code.
27464 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27465 <kernel-features.h>.
27466 [__ASSUME_32BITUIDS]: Make code unconditional.
27467 [!__ASSUME_32BITUIDS]: Remove conditional code.
27468 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27469 <kernel-features.h>.
27470 [__ASSUME_32BITUIDS]: Make code unconditional.
27471 [!__ASSUME_32BITUIDS]: Remove conditional code.
27472 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27473 <kernel-features.h>.
27474 [__ASSUME_32BITUIDS]: Make code unconditional.
27475 [!__ASSUME_32BITUIDS]: Remove conditional code.
27476 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27477 <kernel-features.h>.
27478 [__ASSUME_32BITUIDS]: Make code unconditional.
27479 [!__ASSUME_32BITUIDS]: Remove conditional code.
27480 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27481 <kernel-features.h>.
27482 [__ASSUME_32BITUIDS]: Make code unconditional.
27483 [!__ASSUME_32BITUIDS]: Remove conditional code.
27484 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27485 <kernel-features.h>.
27486 [__ASSUME_32BITUIDS]: Make code unconditional.
27487 [!__ASSUME_32BITUIDS]: Remove conditional code.
27488 * sysdeps/unix/sysv/linux/kernel-features.h
27489 (__ASSUME_SETRESUID_SYSCALL): Remove.
27490 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27491 (__ASSUME_32BITUIDS): Likewise.
27492 (__ASSUME_LDT_WORKS): Likewise.
27493 (__ASSUME_O_DIRECTORY): Likewise.
27494 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27495 architecture but not kernel version.
27496 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27497 (__ASSUME_MMAP2_SYSCALL): Likewise.
27498 (__ASSUME_STAT64_SYSCALL): Likewise.
27499 (__ASSUME_IPC64): Likewise.
27500 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27501 <kernel-features.h>.
27502 [__ASSUME_32BITUIDS]: Make code unconditional.
27503 [!__ASSUME_32BITUIDS]: Remove conditional code.
27504 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27505 <kernel-features.h>.
27506 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27507 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27508 132096]: Remove conditional code.
27509 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27510 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27511 <kernel-features.h>.
27512 [__ASSUME_32BITUIDS]: Make code unconditional.
27513 [!__ASSUME_32BITUIDS]: Remove conditional code.
27514 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27515 <kernel-features.h>.
27516 [__ASSUME_32BITUIDS]: Make code unconditional.
27517 [!__ASSUME_32BITUIDS]: Remove conditional code.
27518 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27519 <kernel-features.h>.
27520 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27521 unconditional.
27522 (__setresgid): Do not declare.
27523 [__ASSUME_32BITUIDS]: Make code unconditional.
27524 [!__ASSUME_32BITUIDS]: Remove conditional code.
27525 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27526 <kernel-features.h>.
27527 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27528 unconditional.
27529 (__setresuid): Do not declare.
27530 [__ASSUME_32BITUIDS]: Make code unconditional.
27531 [!__ASSUME_32BITUIDS]: Remove conditional code.
27532 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27533 <kernel-features.h>.
27534 [__ASSUME_32BITUIDS]: Make code unconditional.
27535 [!__ASSUME_32BITUIDS]: Remove conditional code.
27536 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27537 <kernel-features.h>.
27538 [__ASSUME_32BITUIDS]: Make code unconditional.
27539 [!__ASSUME_32BITUIDS]: Remove conditional code.
27540
a386f1cc
RH
275412012-05-25 Richard Henderson <rth@twiddle.net>
27542
27543 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27544 dl_hwcap to ifunc resolver.
27545 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27546 elf_ifunc_invoke.
27547 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27548 dl_hwcap to ifunc resolver.
27549 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27550
b6550497
JM
275512012-05-24 Joseph Myers <joseph@codesourcery.com>
27552
27553 [BZ #14153]
27554 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27555 for |x| <= 2**-26, not 2**-57.
27556 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27557 exception.
27558
b0bc23a1
JL
275592012-05-24 Jeff Law <law@redhat.com>
27560
27561 * stdio-common/Makefile (tests): Add bug25.
27562 * stdio-common/bug25.c: New test.
27563
347c92e9
L
275642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27565
27566 [BZ #13576]
27567 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27568 multiple of MALLOC_ALIGNMENT in size.
27569 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27570
6bcc8b3f
JM
275712012-05-24 Joseph Myers <joseph@codesourcery.com>
27572
27573 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27574 Require >= 256.
27575 (FILENAME_MAX): Use macro-int-constant.
27576 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27577 (_IOFBF): Use macro-int-constant.
27578 (_IOLBF): Likewise.
27579 (_IONBF): Likewise.
27580 (SEEK_CUR): Likewise.
27581 (SEEK_END): Likewise.
27582 (SEEK_SET): Likewise.
27583 (TMP_MAX): Likewise.
27584 (EOF): Use macro-int-constant. Require < 0.
27585 (NULL): Use macro-constant. Require == 0.
27586 (stdin): Require type to be FILE *.
27587 (stdout): Likewise.
27588 (stderr): Likewise.
27589 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27590 macro-int-constant.
27591 (EXIT_SUCCESS): Likewise.
27592 (NULL): Use macro-constant. Require == 0.
27593 (RAND_MAX): Use macro-int-constant.
27594 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27595 [C99-based standards] (strtof): Require function.
27596 [C99-based standards] (strtold): Likewise.
27597 [C99-based standards] (strtoll): Likewise.
27598 [C99-based standards] (strtoull): Likewise.
27599 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27600 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27601 [ISO || ISO99 || ISO11] (math.h): Likewise.
27602 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27603 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27604 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27605
d18ea0c5
AS
276062012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27607
27608 [BZ #14132]
56d25bb8
AS
27609 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27610 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27611 * intl/dgettext.c (DCGETTEXT): Likewise.
27612 * intl/gettext.c (DCGETTEXT): Likewise.
27613 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27614 * posix/regex_internal.h (gettext): Likewise.
27615 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27616 Remove declaration.
27617 * include/argz.h (__argz_count_internal)
27618 (__argz_stringify_internal): Remove declaration.
27619 (__argz_count, __argz_stringify): Declare hidden proto.
27620 * intl/dcgettext.c: Remove use of INTDEF.
27621 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27622 * string/argz-stringify.c: Likewise.
27623 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27624 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27625 Declare hidden proto.
d18ea0c5
AS
27626 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27627 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27628 Declare hidden proto.
27629 * include/stdio.h (__asprintf_internal): Don't declare.
27630 (__asprintf): Don't define as macro. Declare hidden proto.
27631 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27632 (__fsetlocking): Declare hidden proto.
27633 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27634 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27635 hidden proto.
27636 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27637 (_IO_setlinebuf): Remove use of INTUSE.
27638 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27639 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27640 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27641 Remove declaration.
27642 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27643 (_IO_do_flush): Remove use of INTUSE.
27644 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27645 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27646 (_IO_adjust_column, _IO_least_wmarker)
27647 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27648 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27649 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27650 (_IO_default_doallocate, _IO_wdefault_doallocate)
27651 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27652 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27653 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27654 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27655 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27656 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27657 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27658 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27659 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27660 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27661 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27662 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27663 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27664 proto.
27665 (_IO_flush_all_internal, _IO_adjust_column_internal)
27666 (_IO_default_uflow_internal, _IO_default_finish_internal)
27667 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27668 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27669 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27670 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27671 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27672 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27673 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27674 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27675 (_IO_file_close_internal, _IO_file_close_it_internal)
27676 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27677 (_IO_file_init_internal, _IO_file_attach_internal)
27678 (_IO_file_fopen_internal, _IO_file_read_internal)
27679 (_IO_file_sync_internal, _IO_file_seek_internal)
27680 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27681 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27682 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27683 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27684 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27685 (_IO_list_all_internal, _IO_link_in_internal)
27686 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27687 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27688 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27689 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27690 (_IO_do_write_internal, _IO_padn_internal)
27691 (_IO_getline_info_internal, _IO_getline_internal)
27692 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27693 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27694 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27695 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27696 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27697 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27698 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27699 with libc_hidden_ver, remove use of INTUSE.
27700 * libio/genops.c: Likewise.
27701 * libio/freopen.c: Likewise.
27702 * libio/freopen64.c: Likewise.
27703 * libio/iofclose.c: Likewise.
27704 * libio/iofdopen.c: Likewise.
27705 * libio/iofflush.c: Likewise.
27706 * libio/iofflush_u.c: Likewise.
27707 * libio/iofgets.c: Likewise.
27708 * libio/iofgets_u.c: Likewise.
27709 * libio/iofopen.c: Likewise.
27710 * libio/iofopncook.c: Likewise.
27711 * libio/iofread.c: Likewise.
27712 * libio/iofread_u.c: Likewise.
27713 * libio/ioftell.c: Likewise.
27714 * libio/iofwrite.c: Likewise.
27715 * libio/iogetline.c: Likewise.
27716 * libio/iogets.c: Likewise.
27717 * libio/iogetwline.c: Likewise.
27718 * libio/iopadn.c: Likewise.
27719 * libio/iopopen.c: Likewise.
27720 * libio/ioseekoff.c: Likewise.
27721 * libio/ioseekpos.c: Likewise.
27722 * libio/iosetbuffer.c: Likewise.
27723 * libio/iosetvbuf.c: Likewise.
27724 * libio/ioungetc.c: Likewise.
27725 * libio/ioungetwc.c: Likewise.
27726 * libio/iovdprintf.c: Likewise.
27727 * libio/iovsprintf.c: Likewise.
27728 * libio/iovsscanf.c: Likewise.
27729 * libio/memstream.c: Likewise.
27730 * libio/obprintf.c: Likewise.
27731 * libio/oldfileops.c: Likewise.
27732 * libio/oldiofclose.c: Likewise.
27733 * libio/oldiofdopen.c: Likewise.
27734 * libio/oldiofopen.c: Likewise.
27735 * libio/oldiopopen.c: Likewise.
27736 * libio/oldstdfiles.c: Likewise.
27737 * libio/putc.c: Likewise.
27738 * libio/setbuf.c: Likewise.
27739 * libio/setlinebuf.c: Likewise.
27740 * libio/stdfiles.c: Likewise.
27741 * libio/strops.c: Likewise.
27742 * libio/vasprintf.c: Likewise.
27743 * libio/vscanf.c: Likewise.
27744 * libio/vsnprintf.c: Likewise.
27745 * libio/vswprintf.c: Likewise.
27746 * libio/wfiledoalloc.c: Likewise.
27747 * libio/wfileops.c: Likewise.
27748 * libio/wgenops.c: Likewise.
27749 * libio/wmemstream.c: Likewise.
27750 * libio/wstrops.c: Likewise.
27751 * libio/__fpurge.c: Likewise.
27752 * libio/__fsetlocking.c: Likewise.
27753 * assert/assert.c: Likewise.
27754 * debug/fgets_chk.c: Likewise.
27755 * debug/fgets_u_chk.c: Likewise.
27756 * debug/fread_chk.c: Likewise.
27757 * debug/fread_u_chk.c: Likewise.
27758 * debug/gets_chk.c: Likewise.
27759 * debug/obprintf_chk.c: Likewise.
27760 * debug/vasprintf_chk.c: Likewise.
27761 * debug/vdprintf_chk.c: Likewise.
27762 * debug/vsnprintf_chk.c: Likewise.
27763 * debug/vsprintf_chk.c: Likewise.
27764 * malloc/mtrace.c: Likewise.
27765 * misc/error.c: Likewise.
27766 * misc/syslog.c: Likewise.
27767 * stdio-common/asprintf.c: Likewise.
27768 * stdio-common/fxprintf.c: Likewise.
27769 * stdio-common/getw.c: Likewise.
27770 * stdio-common/isoc99_fscanf.c: Likewise.
27771 * stdio-common/isoc99_scanf.c: Likewise.
27772 * stdio-common/isoc99_vfscanf.c: Likewise.
27773 * stdio-common/isoc99_vscanf.c: Likewise.
27774 * stdio-common/isoc99_vsscanf.c: Likewise.
27775 * stdio-common/printf-prs.c: Likewise.
27776 * stdio-common/printf_fp.c: Likewise.
27777 * stdio-common/printf_fphex.c: Likewise.
27778 * stdio-common/printf_size.c: Likewise.
27779 * stdio-common/putw.c: Likewise.
27780 * stdio-common/scanf.c: Likewise.
27781 * stdio-common/sprintf.c: Likewise.
27782 * stdio-common/tmpfile.c: Likewise.
27783 * stdio-common/vfprintf.c: Likewise.
27784 * stdio-common/vfscanf.c: Likewise.
27785 * stdlib/strfmon_l.c: Likewise.
27786 * sunrpc/openchild.c: Likewise.
27787 * sunrpc/xdr_stdio.c: Likewise.
27788 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27789 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27790
d6c33fda
RM
277912012-05-24 Roland McGrath <roland@hack.frob.com>
27792
c1487492
RM
27793 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27794
27795 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27796 in the third column, to generate for the shared library an IFUNC
27797 that uses _dl_vdso_vsym.
27798 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27799 * Makeconfig (object-suffixes-noshared): New variable.
27800
27801 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27802 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27803 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27804 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27805
d6c33fda
RM
27806 [BZ #14132]
27807 * include/sys/time.h (__gettimeofday): Remove macro.
27808 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27809 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27810 Remove INTDEF.
27811 (__gettimeofday): Add libc_hidden_def.
27812 (gettimeofday): Add libc_hidden_weak.
27813 * sysdeps/mach/gettimeofday.c: Likewise.
27814 * sysdeps/posix/gettimeofday.c: Likewise.
27815 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27816 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27817 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27818 (__gettimeofday_internal): Remove strong_alias.
27819 (__gettimeofday): Add libc_hidden_def.
27820 (gettimeofday): Add libc_hidden_weak.
27821 * sysdeps/unix/syscalls.list (gettimeofday):
27822 Remove __gettimeofday_internal alias.
27823
b5a2bbe6
L
278242012-05-24 Daniel Jacobowitz <drow@false.org>
27825 H.J. Lu <hongjiu.lu@intel.com>
27826
27827 [BZ #12495]
27828 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27829 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27830 (largebin_index_32_big): New.
27831 (largebin_index): Use it for 16-byte alignment.
27832 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27833 correction with front_misalign.
27834
cfba4fda
L
278352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27836
7f907421
L
27837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27839 Likewise.
27840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27841 Likewise.
27842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27843 Likewise.
27844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27845 Likewise.
27846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27847 Likewise.
27848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27849 Likewise.
27850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27851 Likewise.
27852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27853 Likewise.
27854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27855 Likewise.
27856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27857 Likewise.
27858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27859 Likewise.
27860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27861 Likewise.
27862
cfba4fda
L
27863 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27864 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27865
80bad0cc
JM
278662012-05-24 Joseph Myers <joseph@codesourcery.com>
27867
7a25eb06
JM
27868 [BZ #10846]
27869 [BZ #14036]
27870 * math/libm-test.inc (exp_test): Add test from bug 14036.
27871 (pow_test): Add test from bug 10846.
27872
795405f9
JM
27873 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27874 and other flags.
27875 (special_function): Do not include flags in test name.
27876 (parse_args): Likewise.
27877 * sysdeps/i386/fpu/libm-test-ulps: Update.
27878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27879 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27880 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27882
80bad0cc
JM
27883 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27884 exceptions.
27885 * math/libm-test.inc ("Philosophy"): Update comment about
27886 exception testing.
27887 (UNDERFLOW_EXCEPTION): New macro.
27888 (UNDERFLOW_EXCEPTION_OK): Likewise.
27889 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27890 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27891 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27892 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27893 (INVALID_EXCEPTION_OK): Update value.
27894 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27895 (OVERFLOW_EXCEPTION_OK): Likewise.
27896 (IGNORE_ZERO_INF_SIGN): Likewise.
27897 (test_exceptions): Handle underflow exceptions.
27898 (acos_test): Update for underflow exception expectations.
27899 (cexp_test): Likewise.
27900 (clog_test): Likewise.
27901 (clog10_test): Likewise.
27902 (csqrt_test): Likewise.
27903 (ctan_test): Likewise.
27904 (ctanh_test): Likewise.
27905 (exp_test): Likewise.
27906 (exp10_test): Likewise.
27907 (exp2_test): Likewise.
27908 (expm1_test): Likewise.
27909 (fma_test): Likewise.
27910 (j0_test): Likewise.
27911 (jn_test): Likewise.
27912 (nexttoward_test): Likewise.
27913 (pow_test): Likewise.
27914 (scalbn_test): Likewise.
27915 (scalbln_test): Likewise.
27916 (tan_test): Likewise.
27917 (y1_test): Likewise.
27918 * sysdeps/i386/fpu/libm-test-ulps: Update.
27919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27920
9e0e3d0b
DM
279212012-05-23 David S. Miller <davem@davemloft.net>
27922
27923 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27924 (__libc_sigaction): Remove unused local variables.
27925
ccd0a08f
L
279262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27927
27928 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27929
62bdf9a6
PE
279302012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27931
f8591f80
PE
27932 mktime: avoid signed integer overflow
27933 * time/mktime.c (__mktime_internal): Do not mishandle the case
27934 where diff == INT_MIN.
27935
94c7d826
PE
27936 mktime: simplify computation of average
27937 * time/mktime.c (ranged_convert): Use new time_t_avg function
27938 instead of rolling our own (probably-slower) code.
27939
ce73d683
PE
27940 mktime: do not assume signed right shift propagates sign bit
27941 * time/mktime.c (isdst_differ): New static function.
27942 (__mktime_internal): No need to normalize tm_isdst now.
27943 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27944 tm_isdst values.
27945
72a22e59
PE
27946 mktime: merge another wrapv change from gnulib
27947 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27948 from some compilers.
27949
68605433
PE
27950 mktime: remove incorrect attempt at unusual arithmetics
27951 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27952 The code didn't really work on such machines anyway.
27953 (TYPE_MINIMUM): Assume two's complement.
27954 (twos_complement_arithmetic): Verify that long_int and time_t
27955 are two's complement (or unsigned, in the latter case).
27956
03cf7fe3
PE
27957 mktime: check signed shifts on long_int and time_t, too
27958 * time/mktime.c (SHR): Check that shifts work as desired
27959 on the types long_int and time_t too, as SHR is used on
27960 such types.
27961
f04dfbc2
PE
27962 mktime: do not assume 'long' is wide enough
27963 * time/mktime.c (verify): Move decl up.
27964 (long_int): New type.
27965 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27966 to remove assumption in the code that 'long' is wide enough to
27967 store year values. This assumption is not true on x32 and on
27968 some non-glibc platforms.
27969
62bdf9a6
PE
27970 mktime: merge wrapv change from gnulib
27971 * time/mktime.c (WRAPV): New macro.
27972 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27973 (guess_time_tm, __mktime_internal): Do not assume that signed
27974 integer overflow wraps around; modern compilers generate code
27975 where this assumption is no longer valid.
27976
5e292e4f
L
279772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27978
27979 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27980 Replace "jmp L(pseudo_end)" with "ret".
27981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27982 Likewise.
27983
8caf8c87
AJ
279842012-05-23 Andreas Jaeger <aj@suse.de>
27985
27986 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27987 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27988
1a09dc56
AJ
279892012-05-23 Andreas Jaeger <aj@suse.de>
27990 Maximilian Attems <max@stro.at>
27991
27992 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27993 New macros.
27994
1c87aba0
L
279952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27996
27997 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27998 code so that pseudo_end is just ret and the stack pointer is
27999 correct also for static library in error case.
28000
40e45bd5
JM
280012012-05-23 Joseph Myers <joseph@codesourcery.com>
28002
c2670533
JM
28003 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28004 move to syscalls.list.
28005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28009
40e45bd5
JM
28010 * manual/install.texi (Running make install): Do not mention Linux
28011 kernel version for which pt_chown is not needed.
28012 (Linux): Do not mention problems with nscd with 2.0 kernels.
28013 * INSTALL: Regenerated.
28014
be08eda5
AJ
280152012-05-23 Andreas Jaeger <aj@suse.de>
28016
28017 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28018 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28019 macro.
28020 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28022 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28023 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28024 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28025 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28026 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28028 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28030 * sysdeps/unix/sysv/linux/bits/in.h
28031 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28032
a6a056bb
RM
280332012-05-22 Roland McGrath <roland@hack.frob.com>
28034
28035 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28036 (PREPARE_VERSION): Just use assert instead, it will be elided
28037 under [NDEBUG] anyway.
28038
c9009328
L
280392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28040
28041 * sysdeps/unix/sysv/linux/Makefile: Include
28042 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28043 (sysdep_routines): Remove sysctl.
c9009328
L
28044 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28045 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28046 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28047 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28048 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28049
73338355
AJ
280502012-05-22 Andreas Jaeger <aj@suse.de>
28051
28052 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28053 that pseudo_end is just ret and the stack pointer is correct also
28054 for static library in error case.
28055
d44638b0
PP
280562012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28057
28058 [BZ #14122]
28059 * nss/nsswitch.c (defconfig_entries): New variable.
28060 (__nss_database_lookup): Don't leak defconfig entries.
28061 (nss_parse_service_list): Don't leak on error paths.
28062 (free_database_entries): New function.
28063 (free_defconfig): New function.
28064 (free_mem): Move common code to free_database_entries.
28065
31a39bd8
L
280662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28067
da0331a8
L
28068 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28069 Add arch_prctl.
28070 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28071
31a39bd8
L
28072 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28073 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28075 New macro.
28076 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28077 (INTERNAL_SYSCALL_TYPES): Likewise.
28078 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28079 (LOAD_REGS_TYPES_[1-6]): Likewise.
28080 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28081 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28082
45470df3
AZ
280832012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28084
28085 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28086 copysignl for GLIBC_2_0.
28087 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28088 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28089 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28090 logbl for GLIBC_2_0.
28091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28092 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28093
98a61bcb
L
280942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28095
a4f6e481
L
28096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28097 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28098
f63d5db6
L
28099 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28100 Use "neg %eax".
28101
98a61bcb
L
28102 * time/mktime.c: Update copyright years.
28103
95770f14
PE
281042012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28105
6226efbd
PE
28106 mktime: merge comment-quoting-style change from gnulib
28107 * time/mktime.c: Quote 'like this' in comments.
28108 The GNU coding standards suggest that we no longer quote `like this',
28109 as "`" and "'" are typically rendered asymmetrically nowadays.
28110 The typical gnulib style is to quote 'like this' when quoting
28111 code, and "like this" when quoting English.
28112
b99e4f78
PE
28113 * time/mktime.c (compile-command): Add "-I.".
28114
643e01e6
PE
28115 mktime: merge mktime-internal.h change from gnulib
28116 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28117
2554247d
PE
28118 mktime: merge time_r change from gnulib
28119 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28120
826dd0ab
PE
28121 mktime: merge DEBUG change from gnulib
28122 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28123 case system <time.h> has a #define.
28124
bd83aabe
PE
28125 mktime: merge <sys/types.h> change from gnulib
28126 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28127 since <time.t> is now guaranteed to define time_t.
28128
95770f14
PE
28129 mktime: merge HAVE_CONFIG_H change from gnulib
28130 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28131
5e1a27a9
L
281322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28133
0e44a77e
L
28134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28135 Use "neg %eax".
28136
5e1a27a9
L
28137 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28138 __rlim_t cast.
28139 (struct rusage): Use anonymous union to pad each field to
28140 __syscall_slong_t.
28141
46259bec
DM
281422012-05-21 David S. Miller <davem@davemloft.net>
28143
28144 * Makefules (o-iterator): Remove .s cases.
28145 (compile-command.s): Delete.
28146 (COMPILE.s): Delete.
28147 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28148
59f0c22e
JM
281492012-05-21 Joseph Myers <joseph@codesourcery.com>
28150
28151 * configure.in (libc_cv_predef_stack_protector): Only consider
28152 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28153 * configure: Regenerated.
28154
20c07380
L
281552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28156
bbb3154b
L
28157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28158 New macro. Use R*LP on int and pointer.
28159 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28160 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28161 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28162 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28163
20c07380
L
28164 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28165 [__WORDSIZE_TIME64_COMPAT32] instead of
28166 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28167 (struct utmp): Likewise.
28168 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28169 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28170 Renamed to ...
28171 (__WORDSIZE_TIME64_COMPAT32): This.
28172 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28173 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28174 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28175 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28176 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28177 (__WORDSIZE_TIME64_COMPAT32): New macro.
28178
d8d1017e
AJ
281792012-05-21 Andreas Jaeger <aj@suse.de>
28180
28181 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28182 only if [SHARED]. Add prototype for __wcschr_ia32.
28183
6c7fb145
RM
281842012-05-21 Roland McGrath <roland@hack.frob.com>
28185
28186 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28187 of %rbp unmolested in the jmp_buf while mangling the low bits.
28188 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28189 unmolested high bits of %rbp while demangling the low bits.
28190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28191
66274218
AJ
281922012-05-21 Andreas Jaeger <aj@suse.de>
28193
07c58f8f
AJ
28194 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28195 * sunrpc/svc_simple.c: Use it for registerrpc.
28196 * sunrpc/xcrypt.c: Use it for passwd2des.
28197
66274218
AJ
28198 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28199
61f65140
L
282002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28201
28202 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28203 Don't define if [__SYSCALL_WORDSIZE != 32].
28204 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28205 New macro.
28206
5fefb436
AJ
282072012-05-21 Bruno Haible <bruno@clisp.org>
28208 Andreas Jaeger <aj@suse.de>
28209
28210 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28211 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28212 inptr and inend for must_buffer_ch.
28213 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28214 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28215 * stdio-common/Makefile (tests): Remove bug15.
28216 (bug15-ENV): Remove macro.
28217 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28218 anymore.
28219
d8e272ab
AJ
282202012-05-19 Andreas Jaeger <aj@suse.de>
28221 Roland McGrath <roland@hack.frob.com>
28222
28223 * manual/contrib.texi: Completely rewritten. It contains now an
28224 alphabetical list of contributors and their contributions.
28225
4a56a162
RH
282262012-05-21 Richard Henderson <rth@twiddle.net>
28227
28228 * misc/getauxval.c (__getauxval): Use unsigned long int.
28229 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28230 (getauxval): Use unsigned long int.
28231
d024d23c
L
282322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28233
28234 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28235
cbc00a03
RM
282362012-05-21 Roland McGrath <roland@hack.frob.com>
28237
28238 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28239 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28240 __alignof__ (long double).
28241
478143fa
AZ
282422012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28243
28244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28245
c7683a6d
RH
282462012-05-20 Richard Henderson <rth@twiddle.net>
28247
28248 * misc/getauxval.c: New file.
28249 * misc/sys/auxv.h: New file.
28250 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28251 (routines): Add getauxval.
28252 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28253 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28254 * elf/dl-sysdep.c (_dl_auxv): Remove.
28255 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28256 * elf/dl-support.c (_dl_auxv): New variable.
28257 (_dl_aux_init): Initialize it.
28258 * manual/startup.texi (Auxiliary Vector): New node.
28259 * sysdeps/generic/bits/hwcap.h: New file.
28260 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28261 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28262 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28263 * sysdeps/sparc/sysdep.h: ... here. Include it.
28264 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28265 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28267 Update.
c7683a6d
RH
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28271 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28276
a6f1845d
AZ
282772012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28278
28279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28280
cbcbe830
DM
282812012-05-19 David S. Miller <davem@davemloft.net>
28282
28283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28284
e0b16cc2
JM
282852012-05-19 Joseph Myers <joseph@codesourcery.com>
28286
28287 [BZ #14123]
28288 * math/s_ccosh.c: Include <float.h>
28289 (__ccosh): Avoid internal overflow calculating sinh and cosh
28290 values before multiplying by sin and cos values.
28291 * math/s_ccoshf.c: Likewise.
28292 * math/s_ccoshl.c: Likewise.
28293 * math/s_csin.c: Likewise.
28294 * math/s_csinf.c: Likewise.
28295 * math/s_csinl.c: Likewise.
28296 * math/s_csinh.c: Likewise.
28297 * math/s_csinhf.c: Likewise.
28298 * math/s_csinhl.c: Likewise.
28299 * math/libm-test.inc (ccos_test): Add more tests.
28300 (ccosh_test): Likewise.
28301 (csin_test): Likewise.
28302 (csinh_test): Likewise.
28303 * sysdeps/i386/fpu/libm-test-ulps: Update.
28304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28305
6ad13e08
L
283062012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28307
f66f0ce8
L
28308 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28309 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28310
6ad13e08
L
28311 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28312
b1d072a7
JM
283132012-05-19 Joseph Myers <joseph@codesourcery.com>
28314
28315 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28316 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28317 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28318 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28319 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28320 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28321 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28322 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28323 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28324 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28325 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28326 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28327 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28328 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28329 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28330 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28331 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28332 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28333 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28334 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28335 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28336 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28337 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28338 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28339 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28340 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28341 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28342 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28343 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28344 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28345 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28346
9eae47cb
AJ
283472012-05-18 Andreas Jaeger <aj@suse.de>
28348
28349 * csu/.gitignore: Delete.
28350
bb07f69f
L
283512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28352
28353 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28354 (timex): Use __syscall_slong_t.
28355
e6bdb741
AJ
283562012-05-18 Andreas Jaeger <aj@suse.de>
28357 Carlos O'Donell <carlos_odonell@mentor.com>
28358
28359 * manual/install.texi (Configuring and compiling): Update
28360 description about files modified in the source directory.
d6c33fda 28361 * INSTALL: Regenerated.
e6bdb741 28362
1b74487e
L
283632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28364
28365 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28366 value. Use "or" to set return value to -1.
28367 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28368 negate return value.
28369
a88b64b9
TMQMF
283702012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28371
28372 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28373 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28374 failure if the compiler has Graphite support disabled.
28375 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28376 Likewise.
28377 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28378 CFLAGS-memmove.c): Likewise.
28379 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28380 Likewise.
28381
3707636e
L
283822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28383
610b8622
L
28384 * sysdeps/x86_64/x32/_itoa.h: New file.
28385
7cd195df
L
28386 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28387 getdents system call only if kernel and user dirents have the
28388 same d_ino and d_off.
28389
94b07d20
L
28390 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28391 LLONG_MAX != LONG_MAX.
28392 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28393 (_fitoa_word): Likewise.
28394
18298070
L
28395 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28396 years.
28397 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28398 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28399 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28400
553c7ea4
L
28401 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28402 include <bits/wordsize.h>. Check __x86_64__ instead of
28403 __WORDSIZE.
28404 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28405 if __x86_64__ is defined. Use anonymous union on fpstate.
28406
3707636e
L
28407 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28408 anonymous union.
28409
b53ef01a
AS
284102012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28411
37fb1dc0
AS
28412 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28413 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28414 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28415 Refer to _rtld_local_ro instead of _rtld_global_ro.
28416 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28417 Likewise.
28418 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28419 Likewise.
28420 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28421 Likewise.
28422 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28423 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28424 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28425
b53ef01a
AS
28426 * sysdeps/powerpc/powerpc32/dl-machine.c
28427 (__elf_machine_runtime_setup) [PROF]: Don't reference
28428 _dl_prof_resolve.
28429
7a185db2
AJ
284302012-05-18 Andreas Jaeger <aj@suse.de>
28431
28432 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28433 function only available for GCCs before 3.4 since GCC 3.4
28434 introduced a builtin.
28435 (lrint): Likewise.
28436 (llrintf): Likewise.
28437 (llrint): Likewise.
28438 (fmaxf): Likewise.
28439 (fmax): Likewise.
28440 (fminf): Likewise.
28441 (fmin): Likewise.
28442 (rint): Likewise.
28443 (rintf): Likewise.
28444 (nearbyint): Likewise.
28445 (nearbyintf): Likewise.
28446 (ceil): Likewise.
28447 (ceilf): Likewise.
28448 (floor): Likewise.
28449 (floorf): Likewise.
28450
3e5aef87
L
284512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28452
428bd707
L
28453 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28454 on both fields and cast pointer to __syscall_ulong_t.
28455
3e5aef87
L
28456 * bits/types.h (__fsword_t): New type.
28457 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28458 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28460 (__FSWORD_T_TYPE): Likewise.
28461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28462 (__FSWORD_T_TYPE): Likewise.
28463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28464 (__FSWORD_T_TYPE): Likewise.
28465 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28466 (__FSWORD_T_TYPE): Likewise.
28467 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28468 __SWORD_TYPE with __fsword_t.
28469 (statfs64): Likewise.
28470
1ba7c3dc
DM
284712012-05-17 David S. Miller <davem@davemloft.net>
28472
28473 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28474
59910343
AJ
284752012-05-17 Andreas Jaeger <aj@suse.de>
28476
28477 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28478 warning.
28479
2e4c1e9e
L
284802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28481
28482 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28483
de7f5ce7
AJ
284842012-05-17 Andreas Jaeger <aj@suse.de>
28485
28486 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28487 when it is used.
28488
286abc3d
CM
284892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28490
28491 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28492
477cc68e
L
284932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28494
28495 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28496 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28497
1a0994f5
CD
284982012-05-17 Andreas Jaeger <aj@suse.de>
28499 Carlos O'Donell <carlos_odonell@mentor.com>
28500
28501 [BZ #14059]
28502 * sysdeps/x86_64/multiarch/init-arch.h
28503 (bit_YMM_Usable): Rename to...
28504 (bit_AVX_Usable): ... this.
28505 (bit_FMA4_Usable): New macro.
28506 (bit_XMM_state): New macro.
28507 (bit_YMM_state): New macro.
28508 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28509 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28510 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28511 (CPUID_OSXSAVE): New macro.
28512 (CPUID_AVX): New macro.
28513 (CPUID_FMA4): New macro.
28514 (index_YMM_Usable): Rename to...
28515 (index_AVX_Usable): ... this.
28516 (HAS_AVX): Use HAS_ARCH_FEATURE.
28517 (HAS_FMA4): Likewise.
28518 (HAS_YMM_USABLE): Remove.
28519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28520 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28521 are present.
28522 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28523 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28524 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28525 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28526 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28527
0af797de
CM
285282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28529
28530 * math/libm-test.c: Support platforms without multiple rounding modes.
28531 * math/bug-nextafter.c: Support platforms without FP exceptions.
28532 * math/bug-nexttoward.c: Likewise.
28533 * math/test-fenv.c: Likewise.
28534 * math/test-misc.c: Likewise.
28535 * stdlib/bug-getcontext.c: Likewise.
28536
e39745ff
AJ
285372012-05-17 Andreas Jaeger <aj@suse.de>
28538
28539 * manual/examples/search.c (critter_cmp): Change signature to
28540 avoid warnings.
28541 * manual/string.texi (Collation Functions): Likewise.
28542
48970aba
L
285432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28544
28545 * bits/types.h: Fold copyright years.
28546 * bits/typesizes.h: Likewise.
28547 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28549 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28551 * time/time.h: Likewise.
28552
bedee953
PP
285532012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28554
28555 [BZ #208]
28556 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28557 in instead of returning them. Return void.
28558 (__libc_mallinfo): Accumulate over all arenas.
28559 (__malloc_stats): Adjust for change in int_mallinfo interface.
28560
61653dfb
RM
285612012-05-16 Roland McGrath <roland@hack.frob.com>
28562
30b99d79
RM
28563 [BZ #10375]
28564 * configure.in (NM): Add AC_CHECK_TOOL for it.
28565 (libc_extra_cflags): New substituted variable.
28566 Check for -fstack-protector being used implicitly.
28567 * configure: Regenerated.
28568 * config.make.in (config-extra-cflags): New variable,
28569 gets @libc_extra_cflags@.
28570 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28571
61653dfb
RM
28572 [BZ #10375]
28573 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28574 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28575 * configure: Regenerated.
28576 * config.make.in (CPPUNDEFS): New substituted variable.
28577 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28578 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28579 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28580
661768bb
L
285812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28582
28583 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28584 (mq_attr): Use __syscall_slong_t.
28585
d4261567
L
285862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28587
28588 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28589 Check __x86_64__ instead of __WORDSIZE.
28590 (_STAT_VER_LINUX): Likewise.
28591 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28592 __syscall_ulong_t and __syscall_slong_t.
28593 (stat64): Likewise.
28594
cf3ff365
L
285952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28596
28597 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28598
76cf3e4d
L
285992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28600
28601 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28602
a637753a
L
286032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28604
28605 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28606 __syscall_ulong_t.
28607
d5e05119
L
28608 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28609 include <bits/wordsize.h>. Check __x86_64__ instead of
28610 __WORDSIZE.
28611 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28612 defined.
28613 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28614
f62ee380
L
28615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28616 include <bits/wordsize.h>. Check __x86_64__ instead of
28617 __WORDSIZE.
28618 (user_regs_struct): Use "__extension__ unsigned long long"
28619 instead of "unsigned long" if __x86_64__ is defined.
28620 (user): Likewise. Pad after pointer field if __ILP32__ is
28621 defined.
28622
4e124ced
JM
286232012-05-16 Joseph Myers <joseph@codesourcery.com>
28624
6a3951a0
JM
28625 * configure.in (makeinfo): Require version 4.5 or later. Allow
28626 versions 5 to 9.
28627 * configure: Regenerated.
28628 * manual/install.texi (texinfo): Increase version requirement to
28629 4.5 or later.
28630 * INSTALL: Regenerated.
28631
4e124ced
JM
28632 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28633
953ca31a
L
286342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28635
28636 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28637
617aca05
L
28638 * sysdeps/x86_64/x32/ffs.c: New file.
28639
5762f7ae
L
28640 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28641 __syscall_ulong_t.
28642 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28643 defined. Use __syscall_ulong_t.
28644 (shminfo): Use __syscall_ulong_t.
28645 (shm_info): Likewise.
28646
a26b6856
L
28647 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28648 __syscall_ulong_t.
28649
cb2b9ef7
L
28650 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28651 <bits/wordsize.h>.
28652 (msgqnum_t): Use __syscall_ulong_t.
28653 (msglen_t): Likewise.
28654 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28655 __syscall_ulong_t.
28656
34683bb0
L
28657 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28658 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28659
84a68786
L
28660 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28661
48baa5f1
L
28662 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28663 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28664
180be88b
L
28665 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28666 __syscall_slong_t.
28667
5e90c8ad
L
28668 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28669 include <bits/wordsize.h>. Check __x86_64__ instead of
28670 __WORDSIZE.
28671
23dfb58b
L
28672 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28673 "unsigned long long int" if __x86_64__ is defined.
28674 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28675
ce5d54b0
L
28676 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28677 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28678 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28679
13dc9eac
L
28680 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28681 <stdint.h>.
28682 (GET_PC): Cast to uintptr_t first.
28683 (GET_FRAME): Likewise.
28684 (GET_STACK): Likewise.
28685
a7895d15
L
28686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28687 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28688 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28689 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28690 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28691 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28692 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28693 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28694 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28695 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28696 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28697 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28698 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28699 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28700 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28701 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28702 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28703 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28704 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28705 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28706 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28707 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28708 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28709 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28710 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28711 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28712 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28713 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28714 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28715
656416c9
AS
287162012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28717
5bd66283
AS
28718 * Makerules (+depfiles): Also collect depfiles from .oS in
28719 $(extra-objs).
28720 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28721 .oS, $(libnldbl-routines)).
28722
656416c9
AS
28723 * Makerules (native-compile-mkdep-flags): Define.
28724 * sunrpc/Makefile (extra-objs): Add $(addprefix
28725 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28726 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28727 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28728 calling $(make-target-directory).
28729
a46f2169
L
287302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28731
28732 * bits/types.h (__snseconds_t): Removed.
28733 * time/time.h (struct timespec): Replace __snseconds_t with
28734 __syscall_slong_t.
28735 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28736 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28737 Likewise.
28738 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28739 (__SNSECONDS_T_TYPE): Likewise.
28740 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28741 (__SNSECONDS_T_TYPE): Likewise.
28742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28743 (__SNSECONDS_T_TYPE): Likewise.
28744
6af6528b
L
287452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28746
28747 * sysdeps/mach/hurd/bits/typesizes.h
28748 (__SYSCALL_SLONG_TYPE): New macro.
28749 (__SYSCALL_ULONG_TYPE): Likewise.
28750
de986b56
L
287512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28752
28753 * bits/types.h (__syscall_slong_t): New type.
28754 (__syscall_ulong_t): Likewise.
28755
28756 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28757 (__SYSCALL_ULONG_TYPE): Likewise.
28758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28759 (__SYSCALL_SLONG_TYPE): Likewise.
28760 (__SYSCALL_ULONG_TYPE): Likewise.
28761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28762 (__SYSCALL_SLONG_TYPE): Likewise.
28763 (__SYSCALL_ULONG_TYPE): Likewise.
28764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28765 (__SYSCALL_SLONG_TYPE): Likewise.
28766 (__SYSCALL_ULONG_TYPE): Likewise.
28767
85736dc7
L
287682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28769
28770 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28771 Add sigaltstack-offsets.sym.
28772 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28773 <sigaltstack-offsets.h>.
28774 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28775 longjmp_msg pointer.
28776 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28777 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28778 signal stack.
28779 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28780
cc03b296
JM
287812012-05-15 Joseph Myers <joseph@codesourcery.com>
28782
a9538892
JM
28783 * elf/stackguard-macros.h: Remove file.
28784 * sysdeps/generic/stackguard-macros.h: New file.
28785 * sysdeps/i386/stackguard-macros.h: Likewise.
28786 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28787 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28788 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28789 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28790 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28791 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28792 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28793 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28794 <elf/stackguard-macros.h>.
28795
cc03b296
JM
28796 [BZ #14109]
28797 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28798 __aligned__ in attribute.
28799 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28800 (gregset_t): Likewise.
28801
93171016
L
288022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28803
28804 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28805 * sysdeps/x86_64/64/Implies-after: Here. New file.
28806 * sysdeps/x86_64/x32/Implies-after: New file.
28807
d86813a0
L
288082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28809
28810 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28811 and access return value for _dl_profile_fixup. Use R10_LP to
28812 load frame size.
28813
2953ec75
L
288142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28815
28816 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28817
3b550e9e
L
288182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28819
28820 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28821 * sysdeps/x86_64/x32/sysdep.h: New file.
28822
eda41706
L
288232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28824
28825 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28826 * sysdeps/x86_64/setjmp.S: Likewise.
28827
9ea01d93
AZ
288282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28829
28830 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28831 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28832 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28833 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28834 remove unused global constant.
28835
02a91938
CM
288362012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28837
28838 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28839 include of <not-cancel.h>.
28840
6540185f
RM
288412012-05-15 Roland McGrath <roland@hack.frob.com>
28842
28843 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28844
509072a0
AJ
288452012-05-15 Jeff Law <law@redhat.com>
28846 Andreas Jaeger <aj@suse.de>
28847
28848 [BZ #13594]
28849 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28850 out from...
28851 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28852 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28853 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28854 code changing __hst_map_handle.map.
28855
ba75122d
RM
288562012-05-15 Roland McGrath <roland@hack.frob.com>
28857
28858 * configure.in (sysnames): Look for Implies-before and Implies-after
28859 files.
28860 * configure: Regenerated.
28861
890d8bd8
L
288622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28863
28864 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28865 8-byte data alignment with LP_SIZE alignment.
28866
f6ee6623
L
288672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28868
28869 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28870 into R10_LP.
28871
ea2626f6
L
288722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28873
28874 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28875
085f715e
L
288762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28877
28878 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28879 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28881 Likewise.
28882 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28883
be8498fc
L
288842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28885
28886 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28887 (stackinfo_sub_sp): Likewise.
28888
70bc83b9
L
288892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28890
28891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28892 RAX_LP.
28893
9bc0b730
L
288942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28895
28896 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28897 into R*_LP.
28898
6d2850e7
L
288992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28900
28901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28902 sizes into R*_LP.
28903
3cb84561
L
289042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28907
54e2ed81
L
289082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28909
28910 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28911 into R11_LP and load __x86_64_shared_cache_size_half into
28912 R8_LP.
28913
8a17f349
L
289142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28915
28916 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28917 R8_LP.
28918
777b1eea
AZ
289192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28920
28921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28922 logb for POWER7.
28923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28924 logbf for POWER7.
28925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28926 logbl for POWER7.
28927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28928 powerpc32/power7/fpu/s_logb.c via #include.
28929 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28930 powerpc32/power7/fpu/s_logbf.c via #include.
28931 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28932 powerpc32/power7/fpu/s_logbl.c via #include.
28933
d20d4ac2
JM
289342012-05-15 Joseph Myers <joseph@codesourcery.com>
28935
28936 * README.libm: Remove file.
28937
6cdef1ab
L
289382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28939
28940 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28941 count for x32. Use R*_LP and omit operand-size suffix.
28942
0b254d8f
L
289432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28944
28945 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28946 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28947 * sysdeps/x86_64/x32/shlib-versions: New file.
28948
ceb809dc
RM
289492012-05-14 Roland McGrath <roland@hack.frob.com>
28950
28951 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28952 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28953 Use _dl_fatal_printf instead.
28954
37f1abd4
JM
289552012-05-14 Joseph Myers <joseph@codesourcery.com>
28956
28957 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28958 set if not set by the user. Do not allow for being unset.
28959 * sysdeps/unix/sysv/linux/configure: Regenerated.
28960
11de3a33
L
289612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28962
28963 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28964 the `q' suffix from lea and replace .quad with ASM_ADDR.
28965
e02f153a
L
289662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28967
28968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28969 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28970 instead of $17.
28971 (PTR_DEMANGLE): Likewise.
28972
520ae0fd
L
289732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28974
28975 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28976 (LP_OP): Likewise.
28977 (ASM_ADDR): Likewise.
28978 (RAX_LP): Likewise.
28979 (RBP_LP): Likewise.
28980 (RBX_LP): Likewise.
28981 (RCX_LP): Likewise.
28982 (RDI_LP): Likewise.
28983 (RSI_LP): Likewise.
28984 (RSP_LP): Likewise.
28985 (R8_LP): Likewise.
28986 (R9_LP): Likewise.
28987 (R10_LP): Likewise.
28988 (R10_LP): Likewise.
28989 (R11_LP): Likewise.
28990 (R12_LP): Likewise.
28991 (R13_LP): Likewise.
28992 (R14_LP): Likewise.
28993 (R15_LP): Likewise.
28994
b985be81
L
289952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28996
28997 * sysdeps/x86_64/x32/dl-machine.h: New file.
28998
6a4888ff
AJ
289992012-05-14 Andreas Jaeger <aj@suse.de>
29000
29001 * manual/Makefile (subdir): Remove export of subdir.
29002 (all): Remove target.
29003 (.PHONY): Remove all from list.
29004 (mkinstalldirs): Remove.
29005 (.PHONY): Remove installdirs from list.
29006 ($(inst_infodir)/libc.info): Use make-target-directory.
29007 (installdirs): Remove.
29008 (subdir_%): Remove.
29009 (glibc-targets): Remove.
29010 (lib): Remove.
29011 (stubs): Remove.
29012 ($(objpfx)stubs ../po/manual.pot): Remove.
29013 ($(objpfx)stamp%): Remove.
29014 (make-target-directory): Remove.
29015 (subdir_install): Remove.
29016 (routines): Remove.
29017 (aux): Remove.
29018 (sources): Remove.
29019 (objects): Remove.
29020 (headers): Remove.
29021
29022 [BZ #13750]
29023 * manual/.gitignore: Remove, it's not needed anymore.
29024 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29025 all files in it.
29026 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29027 directory.
29028 (texis): Renamed to $(objpfx)texis.
29029 (texis-path): New, contains path to generated files.
29030 (chapters.%): Use texis-path for complete path, add extra argument
29031 libc-texinfo.sh.
29032 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29033 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29034 (summary,texi, stamp-summary): Use complete path of
29035 files. Generate files in build dir.
29036 (dir-add.texi): Build in build dir.
29037 (libm-err.texi,stamp-libm-err): Likewise.
29038 (version.texi, stamp-version): Likewise.
29039 (.%c.texi): Likewise.
29040 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29041 (mostlyclean): Remove target.
29042 (realclean): Remove target.
29043 (generated): Add new variable with contents from mostlyclean and
29044 realclean, remove entries duplicated in common-mostlyclean, add
29045 stamp-libm-err and stamp-version.
29046 (generated-dirs): Add libc directory.
29047 ($(inst_infodir)/libc.info): Install files from build dir.
29048
29049 * manual/install.texi (Configuring and compiling): Adjust since
29050 the info files are not part of the tar ball anymore.
29051
7ac77294
AJ
290522012-05-14 Andreas Jaeger <aj@suse.de>
29053
29054 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29055 variable.
29056
ffb7875d
JM
290572012-05-14 Joseph Myers <joseph@codesourcery.com>
29058
29059 [BZ #13717]
29060 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29061 to 2.2.0 where earlier.
29062 * sysdeps/unix/sysv/linux/configure: Regenerated.
29063 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29064 Remove conditional code.
29065 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29066 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29067 Remove conditional code.
29068 [!__NR_lchown]: Likewise.
29069 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29070 [__NR_lchown]: Likewise.
29071 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29072 comment referencing __ASSUME_LCHOWN_SYSCALL.
29073 * sysdeps/unix/sysv/linux/i386/sigaction.c
29074 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29075 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29076 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29077 Remove conditional code.
29078 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29079 (__protocol_available): Remove #if 0 code.
29080 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29081 conditional code.
29082 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29083 * sysdeps/unix/sysv/linux/kernel-features.h
29084 (__ASSUME_GETCWD_SYSCALL): Don't define.
29085 (__ASSUME_REALTIME_SIGNALS): Likewise.
29086 (__ASSUME_PREAD_SYSCALL): Likewise.
29087 (__ASSUME_PWRITE_SYSCALL): Likewise.
29088 (__ASSUME_POLL_SYSCALL): Likewise.
29089 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29090 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29091 non-SPARC.
29092 (__ASSUME_SIOCGIFNAME): Don't define.
29093 (__ASSUME_MSG_NOSIGNAL): Likewise.
29094 (__ASSUME_SENDFILE): Define unconditionally.
29095 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29096 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29097 conditional code.
29098 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29099 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29100 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29101 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29102 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29103 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29104 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29106 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29109 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29112 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29118 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29119 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29121 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29124 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29127 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29129 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29130 Remove conditional code.
29131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29132 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29133 Remove conditional code.
29134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29135 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29136 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29137 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29138 Remove conditional code.
29139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29140 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29141 Remove conditional code.
29142 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29143 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29144 Remove conditional code.
29145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29146 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29147 Remove conditional code.
29148 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29149 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29150 Remove conditional code.
29151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29152 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29153 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29154 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29155 * sysdeps/unix/sysv/linux/sigaction.c
29156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29158 * sysdeps/unix/sysv/linux/sigpending.c
29159 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29160 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29161 * sysdeps/unix/sysv/linux/sigprocmask.c
29162 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29163 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29164 * sysdeps/unix/sysv/linux/sigsuspend.c
29165 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29166 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29167 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29168 (__libc_missing_rt_sigs): Remove.
29169 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29170 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29171 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29172 Remove conditional code.
29173 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29174 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29175 return 1.
29176 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29177 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29178 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29179 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29180
1bfb7291
AJ
291812012-05-14 Andreas Jaeger <aj@suse.de>
29182
caae5a81
AJ
29183 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29184 it's not used in glibc.
29185 (__coshm1): Likewise.
29186 (__acosh1p): Likewise.
29187 (__sgn): Likewise.
29188
1bfb7291
AJ
29189 * manual/string.texi (Copying and Concatenation): Add missing
29190 variable in concat example.
29191 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29192
c044d724
L
291932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29194
144c5467 29195 [BZ #14103]
c044d724
L
29196 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29197 __builtin_clzl with __builtin_clzll.
29198
2523c62b
L
291992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29200
29201 [BZ #14104]
29202 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29203 libc_freeres_ptr.
29204
d7bb4c42
LD
292052012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29206
29207 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29208 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29209 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29210 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29211
9dc4e1fb
MF
292122012-05-14 Mike Frysinger <vapier@gentoo.org>
29213
29214 * NEWS: Update ia64 info.
29215
c7df0112
AS
292162012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29217
29218 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29219 used as bcopy.
29220
dc70356c
TS
292212012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29222
29223 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29224 * sysdeps/unix/syscalls.list (dup3): Likewise.
29225 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29226 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29227
9fb1a21f
L
292282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29231 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29232
4822a2a5
L
292332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29234
29235 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29236 thread pointer.
29237 (TLS_IE): Use mov/add instead of movq/addq to load thread
29238 pointer.
29239 (TLS_GD_PREFIX): New.
29240 (TLS_GD): Use it.
29241
842b81d6
DM
292422012-05-11 David S. Miller <davem@davemloft.net>
29243
29244 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29245 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29246 (_FPU_SETCW): Likewise.
29247
1cf463cd
L
292482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29249
29250 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29251 is 32-byte aligned.
29252
60cc4a18
AS
292532012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29254
29255 [BZ #11837]
29256 * iconvdata/gb18030.c: Update tables.
29257 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29258 characters specially.
29259 (BODY for TO_LOOP): Add encoding of missing ranges.
29260
febb44a4
TS
292612012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29262
29263 [BZ #13673]
29264 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29265 * sysdeps/mach/hurd/dup3.c: Likewise.
29266 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29267 * sysdeps/powerpc/memmove.c:: Likewise.
29268
0a10fb9e
L
292692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29270
29271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29272 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29273
df8a552f
L
292742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29275
29276 * elf/elf.h (R_X86_64_RELATIVE64): New.
29277 (R_X86_64_NUM): Updated.
29278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29279 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29280 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29281 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29282 tst-quad1pie tst-quad2pie
29283 (modules-names): Add tst-quadmod1 tst-quadmod2.
29284 ($(objpfx)tst-quad1): New dependency.
29285 ($(objpfx)tst-quad2): Likewise.
29286 ($(objpfx)tst-quad1pie): Likewise.
29287 ($(objpfx)tst-quad2pie): Likewise.
29288 * sysdeps/x86_64/tst-quad1.c: New file.
29289 * sysdeps/x86_64/tst-quad1pie.c: New file.
29290 * sysdeps/x86_64/tst-quad2.c: Likewise.
29291 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29292 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29293 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29294 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29295 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29296
f34d6f84
ST
292972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29298
f42d41d1
ST
29299 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29300 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29301 * streams/stropts.h (t_scalar_t): Define type.
29302
3c3571fc
ST
29303 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29304 (_PATH_PRESERVE): Set to "/var/lib".
29305 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29306
61f06bd3
ST
29307 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29308 instead of int.
29309
918d4d71
ST
29310 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29311 if __dir_mkfile succeeded.
29312
f34d6f84
ST
29313 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29314 checking for _hurd_dtablesize. Unlock it right after having
29315 finished _hurd_dtable allocation.
29316
10589b4a
TS
293172012-05-10 Thomas Schwinge <thomas@schwinge.name>
29318
674cdbc7
TS
29319 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29320 * sysdeps/mach/hurd/configure: Regenerated.
29321 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29322 special-casing to...
29323 * sysdeps/gnu/configure.in: ... this new file.
29324 * sysdeps/unix/sysv/linux/configure: Regenerated.
29325 * sysdeps/gnu/configure: New generated file.
29326
8e41b99f
TS
29327 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29328 for Linux: use nsec instead of usec, as well as:
29329 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29330 members of type struct timespec.
29331 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29332 New macros.
29333 (struct stat64): Likewise.
29334 (_STATBUF_ST_NSEC): New macro.
29335 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29336
10589b4a
TS
29337 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29338 __strtoul_internal rather than strtoul.
29339
63643c85
PT
293402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29341
29342 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29343 and reject them.
29344
3faebe6a
ST
293452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29346
29347 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29348 which preserves existing values.
29349 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29350
c6474b07
PT
293512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29352
29353 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29354 TIMEOUT values. Return EINVAL for NFDS values either negative or
29355 greater than FD_SETSIZE.
29356
1043890b
ST
293572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29358
29359 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29360 allocated, call __vm_protect to finish enabling the existing space, and
29361 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29362 allocate the remainder.
29363
37ed8b9b
PT
293642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29365
29366 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29367 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29368
db653660
ST
293692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29370
37ed8b9b
PT
29371 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29372 sysdeps/mach/hurd/readlink.c.
b29d4053 29373
db653660
ST
29374 * posix/tst-sysconf.c (posix_options): Only use
29375 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29376 _POSIX_SYNCHRONIZED_IO when they are defined
29377 * sysdeps/mach/hurd/bits/posix_opt.h:
29378 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29379 (_XOPEN_REALTIME): Undefine macro.
29380 (_XOPEN_REALTIME_THREADS): Undefine macro.
29381 (_XOPEN_SHM): Undefine macro.
29382 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29383 macro to -1.
29384 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29385 macro to -1.
29386 (_POSIX_ASYNC_IO): Undefine macro.
29387 (_POSIX_PRIORITIZED_IO): Undefine macro.
29388 (_POSIX_SPIN_LOCKS): Define macro to -1.
29389
ee16e894
ST
29390 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29391 SA_NODEFER, SA_RESETHAND.
29392 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29393 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29394 F_DUPFD_CLOEXEC.
29395
6103ae3b
TS
293962012-05-10 Thomas Schwinge <thomas@schwinge.name>
29397
29398 * elf/Makefile (pldd-modules): Define unconditionally.
29399
80b4e5f3
TS
294002012-05-10 Thomas Schwinge <thomas@schwinge.name>
29401
29402 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29403
edadcbd6
ST
294042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29405
29406 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29407 Return ENOENT when name is empty.
29408 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29409
80694780
TS
294102012-05-10 Thomas Schwinge <thomas@schwinge.name>
29411
1792c087
TS
29412 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29413
80694780
TS
29414 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29415
6b645f0d
ST
294162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29417
80694780
TS
29418 Fix mlock in all cases except non-readable pages.
29419 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29420 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29421
6b645f0d
ST
29422 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29423 (__mkdir): When path is `/', just fail with EEXIST.
29424 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29425
e468f8a3
TS
294262012-05-10 Thomas Schwinge <thomas@schwinge.name>
29427
29428 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29429 <sys/uio.h> (for writev).
29430 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29431 and <sys/param.h> (for MIN).
29432
a4186cff
PT
294332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29434
29435 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29436 REQUESTED_TIME. Properly set the remaining time and return EINTR
29437 if interrupted.
29438
510bbf14
TS
294392012-05-10 Thomas Schwinge <thomas@schwinge.name>
29440
29441 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29442 Depend on against $(link-rpcuserlibs).
29443
5d5722e8
ST
294442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29445
a4186cff
PT
29446 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29447 (__libc_stack_end): Do not use attribute_relro.
29448 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29449 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29450 to libthread-provided value.
a4186cff
PT
29451 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29452 attribute_relro.
5d5722e8 29453
37233df9
TS
294542012-05-10 Thomas Schwinge <thomas@schwinge.name>
29455
be971a2b
TS
29456 [BZ #3748]
29457 * bits/libc-lock.h (__libc_once_get): New macro.
29458 * sysdeps/mach/bits/libc-lock.h: Likewise.
29459 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29460 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29461 instead of using implementation details.
29462
37233df9
TS
29463 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29464 * libio/freopen.c: Likewise.
29465 * libio/freopen64.c: Likewise.
29466 * misc/syslog.c: Likewise.
29467 * nscd/connections.c: Likewise.
29468 * nscd/netgroupcache.c: Likewise.
29469 * sysdeps/posix/getcwd.c: Likewise.
29470
38de94a5
RM
294712012-05-10 Roland McGrath <roland@hack.frob.com>
29472
29473 * math/w_ilogbf.c: Add #include <limits.h>.
29474
67530489
ST
294752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29476
a4186cff 29477 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29478 path instead of returning without unlocking.
29479
67530489
ST
29480 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29481 immediate-write ioctls.
29482 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29483
5aa3a74a
TS
294842012-05-10 Thomas Schwinge <thomas@schwinge.name>
29485
18bad2ae
TS
29486 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29487 __builtin_frame_address instead of making assumptions about the
29488 location of the return address relative to DATA. Force early load of
29489 the return address.
29490 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29491 __builtin_frame_address.
29492
5aa3a74a
TS
29493 dup3 for GNU Hurd.
29494 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29495 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29496 implement dup3 and do some further code clean-ups.
29497 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29498 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29499
ecd0de9a
ST
295002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29501
cd9fa985
ST
29502 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29503
a4186cff
PT
29504 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29505 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29506 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29507 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29508 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29509 d->port.lock.
802ca5a5 29510
a4186cff
PT
29511 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29512 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29513 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29514
bcf55240
TS
295152012-05-10 Thomas Schwinge <thomas@schwinge.name>
29516
6960eb42
TS
29517 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29518 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29519 definitions.
29520
eb43375f
TS
29521 accept4 for GNU Hurd.
29522 * include/sys/socket.h (__libc_accept4): New prototype.
29523 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29524 to implement __libc_accept4.
29525 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29526 __libc_accept4.
29527 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29528
bcf55240
TS
29529 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29530 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29531 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29532 signal-defines.sym.
29533
6178c55b
ST
295342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29535
a4186cff 29536 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29537
6f080c2f
TS
295382012-05-10 Thomas Schwinge <thomas@schwinge.name>
29539
29540 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29541 assertion on O_CLOEXEC flag.
29542 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29543 * hurd/intern-fd.c: Likewise.
29544 * hurd/port2fd.c: Likewise.
29545
bcfe3a54
ST
295462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29547
29548 [BZ #3906]
29549 * bits/in.h (IPV6_PKTINFO): Define new macro.
29550 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29551
89c9aa49
AZ
295522012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29553
29554 [BZ #13954]
29555 [BZ #13955]
29556 [BZ #13956]
29557 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29558 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29559 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29560 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29562 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29563 * math/libm-test.inc (logb_test) : Additional logb tests.
29564
021db4be
AJ
295652012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29566 Andreas Jaeger <aj@suse.de>
29567
29568 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29569 * configure: Regenerated.
29570 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29571 * config.make.in (link-obsolete-rpc): New substituted variable.
29572 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29573 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29574 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29575 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29576 so that libc.a contains the symbols.
29577 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29578 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29579 * sunrpc/auth_none.c: Likewise.
29580 * sunrpc/auth_unix.c: Likewise.
29581 * sunrpc/authdes_prot.c: Likewise.
29582 * sunrpc/authuxprot.c: Likewise.
29583 * sunrpc/clnt_gen.c: Likewise.
29584 * sunrpc/clnt_perr.c: Likewise.
29585 * sunrpc/clnt_raw.c: Likewise.
29586 * sunrpc/clnt_simp.c: Likewise.
29587 * sunrpc/clnt_tcp.c: Likewise.
29588 * sunrpc/clnt_udp.c: Likewise.
29589 * sunrpc/clnt_unix.c: Likewise.
29590 * sunrpc/des_crypt.c: Likewise.
29591 * sunrpc/des_soft.c: Likewise.
29592 * sunrpc/get_myaddr.c: Likewise.
29593 * sunrpc/key_call.c: Likewise.
29594 * sunrpc/key_prot.c: Likewise.
29595 * sunrpc/netname.c: Likewise.
29596 * sunrpc/pm_getmaps.c: Likewise.
29597 * sunrpc/pm_getport.c: Likewise.
29598 * sunrpc/pmap_clnt.c: Likewise.
29599 * sunrpc/pmap_prot.c: Likewise.
29600 * sunrpc/pmap_prot2.c: Likewise.
29601 * sunrpc/pmap_rmt.c: Likewise.
29602 * sunrpc/publickey.c: Likewise.
29603 * sunrpc/rpc_cmsg.c: Likewise.
29604 * sunrpc/rpc_common.c: Likewise.
29605 * sunrpc/rpc_dtable.c: Likewise.
29606 * sunrpc/rpc_prot.c: Likewise.
29607 * sunrpc/rpc_thread.c: Likewise.
29608 * sunrpc/rtime.c: Likewise.
29609 * sunrpc/svc.c: Likewise.
29610 * sunrpc/svc_auth.c: Likewise.
29611 * sunrpc/svc_raw.c: Likewise.
29612 * sunrpc/svc_run.c: Likewise.
29613 * sunrpc/svc_tcp.c: Likewise.
29614 * sunrpc/svc_udp.c: Likewise.
29615 * sunrpc/svc_unix.c: Likewise.
29616 * sunrpc/svcauth_des.c: Likewise.
29617 * sunrpc/xcrypt.c: Likewise.
29618 * sunrpc/xdr.c: Likewise.
29619 * sunrpc/xdr_array.c: Likewise.
29620 * sunrpc/xdr_float.c: Likewise.
29621 * sunrpc/xdr_intXX_t.c: Likewise.
29622 * sunrpc/xdr_mem.c: Likewise.
29623 * sunrpc/xdr_rec.c: Likewise.
29624 * sunrpc/xdr_ref.c: Likewise.
29625 * sunrpc/xdr_sizeof.c: Likewise.
29626 * sunrpc/xdr_stdio.c: Likewise.
29627
b5c086a2
RM
296282012-05-10 Roland McGrath <roland@hack.frob.com>
29629
29630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29631 change. Update copyright years.
29632
6d74dd09
JM
296332012-05-10 Joseph Myers <joseph@codesourcery.com>
29634
29635 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29636
28e72501
MK
296372012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29638 Joseph Myers <joseph@codesourcery.com>
29639 Paul Pluzhnikov <ppluzhnikov@google.com>
29640
29641 [BZ #14012]
29642 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29643 requiring rpcgen.
29644 [cross-compiling] (extra-libs): Likewise.
29645 [cross-compiling] (extra-libs-others): Likewise.
29646 [cross-compiling] (librpcsvc-routines): Likewise.
29647 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29648 [cross-compiling] (omit-deps): Likewise.
29649 (sunrpc-CPPFLAGS): New variable.
29650 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29651 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29652 (cross-rpcgen-objs): New variable.
29653 (extra-objs): Append $(cross-rpcgen-objs).
29654 ($(cross-rpcgen-objs)): New rule.
29655 ($(objpfx)cross-rpcgen): Likewise.
29656 (rpcgen-cmd): Define to use $(built-program-file). Expand
29657 comment.
29658 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29659 ($(objpfx)x%.stmp): Likewise.
29660 * sunrpc/proto.h [IS_IN_build] (_): Define.
29661 [IS_IN_build] (_libc_intl_domainname): Likewise.
29662
c8c59454
L
296632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29664
29665 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29666 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29667 and R_X86_64_TPOFF64.
29668
6f27cd16
JM
296692012-05-10 Joseph Myers <joseph@codesourcery.com>
29670
29671 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29672 sysdeps/unix/sysv/syscalls.list.
29673 (stime): Likewise.
29674 (utime): Likewise.
29675 * sysdeps/unix/sysv/syscalls.list: Remove file.
29676
02467e1c
PE
296772012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29678
29679 [BZ #3440]
29680 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29681 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29682 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29683 (__LC_IDENTIFICATION): Make these macros useful in #if
29684 expressions, as required by C99.
29685
da392631
AS
296862012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29687
29688 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29689 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29690 after this.
29691
8115f29b
L
296922012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29693
29694 * stdlib/longlong.h: Updated from GCC.
29695
bdd74070
AJ
296962012-05-09 Andreas Jaeger <aj@suse.de>
29697
edfe0dbe
AJ
29698 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29699 default is first entry.
29700 (run_mode): Set type.
29701 (main): Remove informal message about syslog.
29702 (options): Fix typo.
29703
bcfe3a54
ST
29704 [BZ #14053]
29705 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29706 to asm.
bcfe3a54
ST
29707 (lrint): Likewise.
29708 (llrintf): Likewise.
29709 (llrint): Likewise.
29710 (rint): Likewise.
29711 (rintf): Likewise.
29712 (nearbyint): Likewise.
29713 (nearbyintf): Likewise.
bdd74070 29714
91d8d69e
AJ
297152012-05-09 Andreas Jaeger <aj@suse.de>
29716 Pedro Alves <palves@redhat.com>
29717
29718 * nscd/nscd.c (run_mode): Use enum.
29719 (main): Cleanup coding style issue.
29720
bb90b80b
AJ
297212012-05-09 Alexandre Oliva <aoliva@redhat.com>
29722 Andreas Jaeger <aj@suse.de>
29723
bcfe3a54
ST
29724 * nscd/nscd.c (go_background): Replaced with...
29725 (run_mode): ... this.
bb90b80b 29726 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29727 (options): Add -F --foreground.
29728 (main): Implement it.
29729 (parse_opt): Parse it.
bb90b80b 29730
1a4b75a1
AJ
297312012-05-09 Andreas Jaeger <aj@suse.de>
29732
29733 [BZ #14083]
29734 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29735 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29736 -Wconversion warning.
29737 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29738 Likewise.
29739
b1cc2472
JM
297402012-05-09 Joseph Myers <joseph@codesourcery.com>
29741
29742 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29743 == 0.
29744 (LC_ALL): Use macro-int-constant.
29745 (LC_COLLATE): Likewise.
29746 (LC_CTYPE): Likewise.
29747 (LC_MESSAGES): Likewise.
29748 (LC_MONETARY): Likewise.
29749 (LC_NUMERIC): Likewise.
29750 (LC_TIME): Likewise.
29751 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29752 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29754 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29755 Specify type.
29756 [C99-based standards] (float_t): Expect type.
29757 [C99-based standards] (double_t): Expect type.
29758 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29759 type.
29760 [C99-based standards] (HUGE_VALL): Likewise.
29761 [C99-based standards] (INFINITY): Likewise.
29762 [C99-based standards] (NAN): Likewise.
29763 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29764 [C99-based standards] (FP_NAN): Likewise.
29765 [C99-based standards] (FP_NORMAL): Likewise.
29766 [C99-based standards] (FP_SUBNORMAL): Likewise.
29767 [C99-based standards] (FP_ZERO): Likewise.
29768 [C99-based standards] (FP_FAST_FMA): Use
29769 optional-macro-int-constant. Specify type. Require == 1.
29770 [C99-based standards] (FP_FAST_FMAF): Likewise.
29771 [C99-based standards] (FP_FAST_FMAL): Likewise.
29772 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29773 [C99-based standards] (FP_ILOGBNAN): Likewise.
29774 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29775 Specify type.
29776 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29777 [C99-based standards] (math_errhandling): Specify type.
29778 [ISO99 || ISO11] (signgam): Do not allow.
29779 [non-C99-based standards] (copysignf): Do not allow.
29780 [non-C99-based standards] (exp2f): Likewise.
29781 [non-C99-based standards] (log2f): Likewise.
29782 [non-C99-based standards] (modff): Allow.
29783 [non-C99-based standards] (erff): Do not allow.
29784 [non-C99-based standards] (erfcf): Likewise.
29785 [non-C99-based standards] (gammaf): Likewise.
29786 [non-C99-based standards] (hypotf): Likewise.
29787 [non-C99-based standards] (j0f): Likewise.
29788 [non-C99-based standards] (j1f): Likewise.
29789 [non-C99-based standards] (jnf): Likewise.
29790 [non-C99-based standards] (lgammaf): Likewise.
29791 [non-C99-based standards] (tgammaf): Likewise.
29792 [non-C99-based standards] (y0f): Likewise.
29793 [non-C99-based standards] (y1f): Likewise.
29794 [non-C99-based standards] (ynf): Likewise.
29795 [non-C99-based standards] (isnanf): Likewise.
29796 [non-C99-based standards] (acoshf): Likewise.
29797 [non-C99-based standards] (asinhf): Likewise.
29798 [non-C99-based standards] (atanhf): Likewise.
29799 [non-C99-based standards] (cbrtf): Likewise.
29800 [non-C99-based standards] (expm1f): Likewise.
29801 [non-C99-based standards] (ilogbf): Likewise.
29802 [non-C99-based standards] (log1pf): Likewise.
29803 [non-C99-based standards] (logbf): Likewise.
29804 [non-C99-based standards] (nextafterf): Likewise.
29805 [non-C99-based standards] (remainderf): Likewise.
29806 [non-C99-based standards] (rintf): Likewise.
29807 [non-C99-based standards] (scalbf): Likewise.
29808 [non-C99-based standards] (copysignl): Likewise.
29809 [non-C99-based standards] (exp2l): Likewise.
29810 [non-C99-based standards] (log2l): Likewise.
29811 [non-C99-based standards] (modfl): Allow.
29812 [non-C99-based standards] (erfl): Do not allow.
29813 [non-C99-based standards] (erfcl): Likewise.
29814 [non-C99-based standards] (gammal): Likewise.
29815 [non-C99-based standards] (hypotl): Likewise.
29816 [non-C99-based standards] (j0l): Likewise.
29817 [non-C99-based standards] (j1l): Likewise.
29818 [non-C99-based standards] (jnl): Likewise.
29819 [non-C99-based standards] (lgammal): Likewise.
29820 [non-C99-based standards] (tgammal): Likewise.
29821 [non-C99-based standards] (y0l): Likewise.
29822 [non-C99-based standards] (y1l): Likewise.
29823 [non-C99-based standards] (ynl): Likewise.
29824 [non-C99-based standards] (isnanl): Likewise.
29825 [non-C99-based standards] (acoshl): Likewise.
29826 [non-C99-based standards] (asinhl): Likewise.
29827 [non-C99-based standards] (atanhl): Likewise.
29828 [non-C99-based standards] (cbrtl): Likewise.
29829 [non-C99-based standards] (expm1l): Likewise.
29830 [non-C99-based standards] (ilogbl): Likewise.
29831 [non-C99-based standards] (log1pl): Likewise.
29832 [non-C99-based standards] (logbl): Likewise.
29833 [non-C99-based standards] (nextafterl): Likewise.
29834 [non-C99-based standards] (remainderl): Likewise.
29835 [non-C99-based standards] (rintl): Likewise.
29836 [non-C99-based standards] (scalbl): Likewise.
29837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29838 [non-C99-based standards] (FP_*): Do not allow.
29839 [C99-based standards] (FP_*): Change to
29840 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29841 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29842 allow.
29843 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29844 (SIG_ERR): Likewise.
29845 [X/Open-based standards] (SIG_HOLD): Likewise.
29846 (SIG_IGN): Likewise.
29847 (SIGABRT): Use macro-int-constant. Specify type. Require
29848 positive value.
29849 (SIGFPE): Likewise.
29850 (SIGILL): Likewise.
29851 (SIGINT): Likewise.
29852 (SIGSEGV): Likewise.
29853 (SIGTER): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29859 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29872 [X/Open-based standards] (SIGTRAP): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29874 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29877 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29878 allow.
29879
b9f1922d
IW
298802012-05-08 Ian Wienand <ianw@vmware.com>
29881
29882 [BZ #14080]
29883 * time/tzset.c (__tzset_parse_tz): Update default rules for
29884 daylight time changes in the Energy Policy Act of 2005.
29885
1db86e88
AJ
298862012-05-09 Andreas Jaeger <aj@suse.de>
29887
29888 [BZ #13983]
29889 * elf/ldconfig.c (parse_conf): Change string to make clear that
29890 ldconfig only issued a warning if ld.so.conf does not exist.
29891
dee4a4e3
DM
298922012-05-08 David S. Miller <davem@davemloft.net>
29893
ee0db190
DM
29894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29895 movxtod instead of popping the value on the stack.
29896
dee4a4e3
DM
29897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29898
6a43ec98
CD
298992012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29900
29901 * config.h.in: Add HAVE_ARM_PCS_VFP.
29902
05c2c961
RMG
299032012-05-08 Roland Mc Grath <roland@hack.frob.com>
29904
bcfe3a54
ST
29905 [BZ #13979]
29906 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29907 checking but the checks are disabled for any reason.
05c2c961 29908
4b30f61a
L
299092012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29910
29911 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29912 and ELF64_R_TYPE with ELFW(R_TYPE).
29913
eee2bc67
JM
299142012-05-08 Joseph Myers <joseph@codesourcery.com>
29915
7ea5391a
JM
29916 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29917 (ulimit): Likewise.
29918
eee2bc67
JM
29919 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29920 (settimeofday): Likewise.
29921
abb66a67
MF
299222012-05-08 Mike Frysinger <vapier@gentoo.org>
29923
29924 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29925 a struct th_u2 inside the union, and move tu_block/tu_code into
29926 a new th_u3 union of tu_block/tu_code inside of that. Move
29927 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29928 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29929 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29930 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29931 (th_stuff): Change to th_u1.tu_stuff.
29932 (th_data): Define.
29933 (th_msg): Change to th_u1.th_u2.tu_data.
29934
7f18b530
DM
299352012-05-07 David S. Miller <davem@davemloft.net>
29936
05760585
DM
29937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29938
7f18b530
DM
29939 [BZ #14074]
29940 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29941 (SETUP_PIC_REG): Use it.
29942 (SETUP_PIC_REG_LEAF): Use it.
29943
495fd99f
JM
299442012-05-07 Joseph Myers <joseph@codesourcery.com>
29945
29946 [BZ #13885]
29947 [BZ #13923]
29948 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29949 USE_AS_EXPM1L.
29950 (EXPL_FINITE): Likewise.
29951 (FLDLOG): Likewise.
29952 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29953 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29954 e_expl.S.
29955 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29956 USE_AS_EXPM1L.
29957 (EXPL_FINITE): Likewise.
29958 (FLDLOG): Likewise.
29959 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29960 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29961 e_expl.S.
29962 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29963 test of -max_value argument for long double.
29964 * sysdeps/i386/fpu/libm-test-ulps: Update.
29965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29966
6693d694
DM
299672012-05-06 David S. Miller <davem@davemloft.net>
29968
29969 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29970 quad soft-float symbols whose references which are compiler
29971 generated.
29972 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29973
6c23e11c
JM
299742012-05-06 Joseph Myers <joseph@codesourcery.com>
29975
d8b82cad
JM
29976 [BZ #13884]
29977 [BZ #13914]
29978 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29979 USE_AS_EXP10L.
29980 (EXPL_FINITE): Likewise.
29981 (FLDLOG): Likewise.
29982 (c0): Likewise.
29983 (c1): Likewise.
29984 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29985 Adjust comments for base varying.
29986 (__expl_finite): Change alias to EXPL_FINITE.
29987 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29988 e_expl.S.
29989 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29990 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29992 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29993 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29994 USE_AS_EXP10L.
29995 (EXPL_FINITE): Likewise.
29996 (FLDLOG): Likewise.
29997 (c0): Likewise.
29998 (c1): Likewise.
29999 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30000 Adjust comments for base varying.
30001 (__expl_finite): Change alias to EXPL_FINITE.
30002 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30003 tests for bugs.
30004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30005
6c23e11c
JM
30006 [BZ #14064]
30007 * math/libm-test.inc (check_float_internal): Correct ulp
30008 calculation for subnormal expected results.
30009
29ba805c
AJ
300102012-05-06 Andreas Jaeger <aj@suse.de>
30011
30012 * Makeconfig (+math-flags): New, set to -frounding-math.
30013 (+cflags): Add +math-flags so that all of glibc gets compiled with
30014 it.
30015
30016 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30017
7b17aeda
JM
300182012-05-05 Joseph Myers <joseph@codesourcery.com>
30019
5779f134
JM
30020 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30021 Disable one test.
30022
41498f4d
JM
30023 [BZ #13787]
30024 [BZ #13922]
30025 [BZ #14036]
30026 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30027 (__ieee754_expl): Allow for and saturate large arguments.
30028 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30029 (u_threshold): Likewise.
30030 (__exp): Call __ieee754_exp before checking for overflow and
30031 underflow.
30032 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30033 (u_threshold): Likewise.
30034 (__expf): Call __ieee754_expf before checking for overflow and
30035 underflow.
30036 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30037 (u_threshold): Likewise.
30038 (__expl): Call __ieee754_expl before checking for overflow and
30039 underflow.
30040 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30041 (__ieee754_expl): Allow for and saturate large arguments.
30042 * math/libm-test.inc (exp_test): Add another test. Do not allow
30043 missing overflow exception on overflow.
30044 (expm1_test): Do not allow missing overflow exception on overflow.
30045
6698b8bf
JM
30046 * sysdeps/i386/fpu/e_expl.c: Move to ...
30047 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30048 rather than using inline asm.
30049 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30050 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30051 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30052
7b17aeda
JM
30053 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30054 (nice): Likewise.
30055 (poll): Likewise.
30056 (signal): Likewise.
30057 (time): Likewise.
30058 (times): Likewise.
30059
f7c85819
JM
300602012-05-04 Joseph Myers <joseph@codesourcery.com>
30061
30062 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30063 sysdeps/unix/common/syscalls.list.
30064 (fchmod): Likewise.
30065 (fchown): Likewise.
30066 (ftruncate): Likewise.
30067 (getrusage): Likewise.
30068 (gettimeofday): Likewise.
30069 (setpgid): Likewise.
30070 (setregid): Likewise.
30071 (setreuid): Likewise.
30072 (sigaction): Likewise.
30073 (truncate): Likewise.
30074 (vhangup): Likewise.
30075 * sysdeps/unix/common/syscalls.list: Remove file.
30076 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30077 * sysdeps/unix/sysv/linux/Implies: Likewise.
30078
336270d0
L
300792012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30080
30081 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30083 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30084 Moved to ...
30085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30086 Here.
30087 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30088 to ...
30089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30090 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30091 to ...
30092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30093 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30094 to ...
30095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30096 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30097 to ...
30098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30099 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30100 to ...
30101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30102 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30103 to ...
30104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30105 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30106 to ...
30107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30108 Here.
30109 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30110 to ...
30111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30112 Here.
30113 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30114 to ...
30115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30116 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30117 Moved to ...
30118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30119 Here.
30120 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30121 to ...
30122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30123
d128e450
JM
301242012-05-04 Joseph Myers <joseph@codesourcery.com>
30125
fa8ee516
JM
30126 * sysdeps/unix/common/bits/dirent.h: Remove file.
30127 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30128
d128e450
JM
30129 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30130 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30131 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30132 * sysdeps/unix/bsd/isatty.c: Likewise.
30133 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30134 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30135 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30136
ff8faaf0 301372012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30138
62881be4 30139 [BZ #13563]
31dc8730
AZ
30140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30141 long double comparison inaccuracies.
30142 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30144
6fef930c
AS
301452012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30146
30147 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30149
8f203e6c
JM
301502012-05-04 Joseph Myers <joseph@codesourcery.com>
30151
30152 [BZ #14049]
30153 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30154 nonzero digits before rounding a hex value.
30155 * stdlib/tst-strtod.c (tests): Add another test.
30156
5197d9c2
AK
301572012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30158
30159 * sysdeps/s390/fpu/libm-test-ulps: Update.
30160
f0c1dedf
AJ
301612012-05-03 Andreas Jaeger <aj@suse.de>
30162
30163 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30164 does not get optimized out.
30165 (malloc_opt_barrier): New.
30166
a65ef2ae 301672012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30168 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30169
2b942cb7 30170 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30171 intermediate file deletion.
2b942cb7 30172 (generated): Add .symlist files.
a65ef2ae 30173
54b71e02
JM
301742012-05-03 Joseph Myers <joseph@codesourcery.com>
30175
30176 [BZ #13775]
30177 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30178 Redirect under this condition.
30179 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30180 [__USE_GNU] (__dprintf_chk): Not under this condition.
30181 [__USE_GNU] (__vdprintf_chk): Likewise.
30182 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30183 under this condition.
30184 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30185 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30186 [__USE_XOPEN2K8] (vdprintf): Likewise.
30187 [__USE_GNU] (__dprintf_chk): Not under this condition.
30188 [__USE_GNU] (__vdprintf_chk): Likewise.
30189 [__USE_GNU] (dprintf): Likewise.
30190 [__USE_GNU] (vdprintf): Likewise.
30191
d3dfcc41
RM
301922012-05-03 Roland McGrath <roland@hack.frob.com>
30193
30194 * elf/Makefile (common-generated): Set this instead of generated for
30195 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30196 $(all-built-dso)-derived lists.
30197
7ac30cc5
AJ
301982012-05-03 Andreas Jaeger <aj@suse.de>
30199
0c51e550
AJ
30200 * sysdeps/i386/fpu/libm-test-ulps: Update.
30201
7ac30cc5
AJ
30202 * FAQ: Removed.
30203 * FAQ.in: Likewise.
30204 * scripts/gen-FAQ.pl: Likewise.
30205 * manual/install.texi (Installation): Point to online location of
30206 FAQ.
30207 * Makefile (files-for-dist): Remove FAQ.
30208 (FAQ): Remove.
30209
d4c2917f
AM
302102012-05-02 Allan McRae <allan@archlinux.org>
30211
30212 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30213 (LDFLAGS-reldepmod5.so): Likewise.
30214 (LDFLAGS-reldep6mod1.so): Likewise.
30215 (LDFLAGS-reldep6mod4.so): Likewise.
30216 (LDFLAGS-reldep8mod3.so): Likewise.
30217 (LDFLAGS-unload4mod1.so): Likewise.
30218 (LDFLAGS-unload4mod2.so): Likewise.
30219 (LDFLAGS-tst-initorder): Likewise.
30220 (LDFLAGS-tst-initordera2.so): Likewise.
30221 (LDFLAGS-tst-initordera3.so): Likewise.
30222 (LDFLAGS-tst-initordera4.so): Likewise.
30223 (LDFLAGS-tst-initorderb2.so): Likewise.
30224 (LDFLAGS-noload): Likewise.
30225 (LDFLAGS-next): Likewise.
30226 (LDFLAGS-order2mod1.so): Likewise.
30227 (LDFLAGS-order2mod2.so): Likewise.
30228 (LDFLAGS-tst-initorder2): Likewise.
30229 (LDFLAGS-tst-initorder2a.so): Likewise.
30230 (LDFLAGS-tst-initorder2b.so): Likewise.
30231 (LDFLAGS-tst-initorder2c.so): Likewise.
30232 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30233
d77f993f
DM
302342012-05-02 David S. Miller <davem@davemloft.net>
30235
30236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30237
171a70b4
PP
302382012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30239
30240 [BZ #14055]
30241 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30242
0be196ad
AJ
302432012-05-02 Andreas Jaeger <aj@suse.de>
30244
30245 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30246 since we manipulate rounding mode.
30247 (CPPFLAGS-test-idouble.c): Likewise.
30248 (CPPFLAGS-test-ifloat.c): Likewise.
30249 (CFLAGS-test-ldouble.c): Likewise.
30250 (CFLAGS-test-double.c): Likewise.
30251 (CFLAGS-test-float.c): Likewise.
30252 (CFLAGS-test-misc.c): Likewise.
30253 (CFLAGS-test-test-fenv.c): Likewise.
30254
4f9d04aa
AZ
302552012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30256
2b942cb7
RM
30257 [BZ #2550]
30258 [BZ #2570]
30259 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30260 comparisons to determine direction to adjust input.
4f9d04aa 30261
82a79e7d
RM
302622012-05-01 Roland McGrath <roland@hack.frob.com>
30263
f5a01ca9
RM
30264 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30265 output to the target.
30266
90fe4186
RM
30267 * scripts/localplt.awk: New file.
30268 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30269 (check-localplt-CFLAGS): Variable removed.
30270 ($(all-built-dso:=.jmprel)): New static pattern rule.
30271 (generated): Add those targets.
30272 (localplt-built-dso): New variable.
30273 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30274
30275 * elf/check-localplt.c: File removed.
30276
82397ed6
RM
30277 * scripts/check-execstack.awk: New file.
30278 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30279 (check-execstack-CFLAGS): Variable removed.
30280 ($(objpfx)check-execstack.h): Target removed.
30281 ($(objpfx)execstack-default): New target.
30282 (generated): Add that instead of check-execstack.h.
30283 ($(all-built-dso:=.phdr)): New static pattern rule.
30284 (generated): Add those targets.
30285 * elf/check-execstack.c: File removed.
30286
82a79e7d
RM
30287 * scripts/check-textrel.awk: New file.
30288 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30289 (check-textrel-CFLAGS): Variable removed.
30290 (all-built-dso): Use := to define.o
30291 ($(all-built-dso:=.dyn)): New static pattern rule.
30292 (generated): Add those targets.
30293 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30294 * config.make.in (READELF): New substituted variable.
30295 * elf/check-textrel.c: File removed.
30296
62fde54f 302972012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30298
615605c9
JM
30299 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30300 allow.
30301 * conform/data/ctype.h-data [C99-based standards] (isblank):
30302 Expect function.
30303 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30304 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30306 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30307 Specify type. Require positive value.
30308 (EILSEQ): Likewise.
30309 (ERANGE): Likewise.
30310 [ISO || POSIX] (EILSEQ): Do not expect.
30311 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30312 Specify type. Require positive value.
30313 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30314 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30315 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30316 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30317 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30318 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30319 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30320 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30321 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30322 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30323 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30324 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30325 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30326 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30327 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30328 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30329 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30330 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30331 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30332 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30333 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30334 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30335 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30336 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30337 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30338 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30339 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30340 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30341 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30342 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30343 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30344 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30345 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30346 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30347 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30348 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30349 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30350 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30351 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30352 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30353 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30354 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30355 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30356 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30357 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30358 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30359 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30360 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30361 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30362 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30363 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30364 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30365 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30366 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30367 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30368 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30371 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30387 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30388 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30389 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30390 Require >= 2.
30391 (FLT_ROUNDS): Expect as macro, not constant.
30392 (FLT_MANT_DIG): Use macro-int-constant.
30393 (DBL_MANT_DIG): Likewise.
30394 (LDBL_MANT_DIG): Likewise.
30395 (FLT_DIG): Likewise.
30396 (DBL_DIG): Likewise.
30397 (LDBL_DIG): Likewise.
30398 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30399 (DBL_MIN_EXP): Likewise.
30400 (LDBL_MIN_EXP): Likewise.
30401 (FLT_MAX_EXP): Use macro-int-constant.
30402 (DBL_MAX_EXP): Likewise.
30403 (LDBL_MAX_EXP): Likewise.
30404 (FLT_MAX_10_EXP): Likewise.
30405 (DBL_MAX_10_EXP): Likewise.
30406 (LDBL_MAX_10_EXP): Likewise.
30407 (FLT_MAX): Use macro-constant.
30408 (DBL_MAX): Likewise.
30409 (LDBL_MAX): Likewise.
30410 (FLT_EPSILON): Use macro-constant. Give upper bound.
30411 (DBL_EPSILON): Likewise.
30412 (LDBL_EPSILON): Likewise.
30413 (FLT_MIN): Likewise.
30414 (DBL_MIN): Likewise.
30415 (LDBL_MIN): Likewise.
30416 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30417 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30418 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30419 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30420 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30421 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30422 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30423 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30424 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30425 [ISO11] (FLT_TRUE_MIN): Likewise.
30426 [ISO11] (LDBL_TRUE_MIN): Likewise.
30427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30428 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30429 (SCHAR_MIN): Use macro-int-constant. Specify type.
30430 (SCHAR_MAX): Likewise.
30431 (UCHAR_MAX): Likewise.
30432 (CHAR_MIN): Likewise.
30433 (CHAR_MAX): Likewise.
30434 (MB_LEN_MAX): Use macro-int-constant.
30435 (SHRT_MIN): Use macro-int-constant. Specify type.
30436 (SHRT_MAX): Likewise.
30437 (USHRT_MAX): Likewise.
30438 (INT_MAX): Likewise.
30439 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30440 bound negative.
30441 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30442 bound with "U".
30443 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30444 bound with "L".
30445 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30446 bound negative. Suffix upper bound with "L".
30447 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30448 bound with "UL".
30449 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30450 Specify type.
30451 [C99-based standards] (LLONG_MAX): Likewise.
30452 [C99-based standards] (ULLONG_MAX): Likewise.
30453 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30454 == 0.
30455 [ISO11] (max_align_t): Require type.
30456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30457
c9140a62
JM
30458 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30459 from $CFLAGS, without defining away __attribute__ calls.
30460 (checknamespace): Use $CFLAGS_namespace.
30461
9af0bf29
JM
30462 * conform/conformtest.pl (@keywords): Only include C99 keywords
30463 for standards based on C99 or C11.
30464
343222a2
JM
30465 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30466 Disable tests.
30467 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30468 UNIX98]: Likewise.
30469
661f8cf0
JM
30470 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30471 usability of symbols in #if.
30472
ee74b9cb
JM
30473 * conform/conformtest.pl: If macro or constant types start
30474 "promoted:", expect the symbol to be of the following type
30475 promoted by the integer promotions.
62fde54f 30476
aafc49b3
JM
30477 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30478 in one place. Also handle "macro-constant".
30479
fefdf574
JM
30480 * conform/conformtest.pl: Only accept expected macro values with
30481 "==". Parse all "macro" lines in one place.
30482 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30483
f2d922fe
JM
30484 * conform/conformtest.pl: Handle braced types on "constant" lines
30485 instead of handling "typed-constant".
30486 * conform/data/signal.h-data: Use "constant" instead of
30487 "typed-constant".
30488
d22956c9
JM
30489 * conform/conformtest.pl: Handle "optional-" at start of lines in
30490 one place rather than duplicating several cases. Handle each
30491 format of "macro" line with initial "optional-".
30492
028e2e38
JM
30493 * conform/conformtest.pl: Only accept expected constant or
30494 optional-constant values with "==". Parse all "constant" lines in
30495 one place. Parse all "optional-constant" lines in one place.
30496 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30497 * conform/data/fmtmsg.h-data: Likewise.
30498 * conform/data/netinet/in.h-data: Likewise.
30499 * conform/data/tar.h-data: Likewise.
30500 * conform/data/limits.h-data: Use "==" form on "constant" and
30501 "optional-constant" lines.
30502
1b8f2850
JM
30503 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30504 Use -std=c99 for XOPEN2K.
30505 (@knownproblems): Remove.
30506 (newtoken): Don't check %isknown.
30507
a05a144b
JM
30508 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30509 Do not expect macro.
30510 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30511 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30512 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30513 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30514 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30515 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30516 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30517 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30518 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30519 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30520 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30521 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30522 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30523 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30524 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30525 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30526 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30527 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30528 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30529 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30530 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30531 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30532 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30533 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30534 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30535 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30536 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30537 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30538 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30539 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30540 [XPG3] (acosh): Likewise.
30541 [XPG3] (asinh): Likewise.
30542 [XPG3] (atanh): Likewise.
30543 [XPG3] (cbrt): Likewise.
30544 [XPG3] (expm1): Likewise.
30545 [XPG3] (ilogb): Likewise.
30546 [XPG3] (log1p): Likewise.
30547 [XPG3] (logb): Likewise.
30548 [XPG3] (nextafter): Likewise.
30549 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30550 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30551 [XPG3] (remainder): Likewise.
30552 [XPG3] (rint): Likewise.
30553 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30554 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30555 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30556 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30557 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30558 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30559 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30560 [UNIX98 || XOPEN2K] (scalb): Expect.
30561 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30562 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30563 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30564 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30565 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30566 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30567 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30569 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30578 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30579 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30580 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30581 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30582 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30583 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30584 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30585 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30586 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30589 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30590 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30595 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30596 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30597 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30598 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30599 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30600 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30698
73c5ebe3
JM
30699 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30700 _XOPEN_SOURCE_EXTENDED for XPG4.
30701
39c33b6c
JM
30702 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30703
62fde54f
JM
30704 * Makeconfig (localtime): Remove variable.
30705 (inst_localtime-file): Likewise.
30706
0741d64c
AS
307072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30708
30709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30710 Update.
30711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30712 Update.
30713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30714 Update.
30715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30716 Update.
30717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30718 Update.
30719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30720 Update.
30721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30722 Update.
30723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30724 Update.
30725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30726 Update.
30727
7cb029ee
JM
307282012-05-01 Joseph Myers <joseph@codesourcery.com>
30729
30730 [BZ #2550]
30731 [BZ #2570]
30732 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30733 comparisons to determine direction to adjust input.
30734 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30735 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30737 Likewise.
30738 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30739 Likewise.
30740 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30741 Likewise.
30742 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30743 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30744 Likewise.
30745 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30746 Likewise.
30747 * math/libm-test.inc (nexttoward_test): Add more tests.
30748
412bd966
AS
307492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30750
30751 [BZ #14040]
30752 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30753 in version GLIBC_2.1, not GLIBC_2.0.
30754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30755 Likewise.
30756
9568c0c2
JM
307572012-04-30 Joseph Myers <joseph@codesourcery.com>
30758
adfbc8ac
JM
30759 [BZ #13942]
30760 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30761 (1 - x) * (1 + x).
30762 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30763 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30764 * math/libm-test.inc (acos_test): Add more tests.
30765 (asin_test): Likewise.
30766 * sysdeps/i386/fpu/libm-test-ulps: Update.
30767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30768
5ba3cc69
JM
30769 [BZ #14034]
30770 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30771 of square root.
30772 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30773 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30774 * math/libm-test.inc (acos_test_tonearest): New function.
30775 (acos_test_towardzero): Likewise.
30776 (acos_test_downward): Likewise.
30777 (acos_test_upward): Likewise.
30778 (asin_test_tonearest): Likewise.
30779 (asin_test_towardzero): Likewise.
30780 (asin_test_downward): Likewise.
30781 (asin_test_upward): Likewise.
30782 (main): Call the new functions.
30783 * sysdeps/i386/fpu/libm-test-ulps: Update.
30784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30785
9568c0c2
JM
30786 [BZ #13884]
30787 [BZ #13924]
30788 * math/e_exp10.c: Include <float.h>.
30789 (__ieee754_exp10): Handle underflow here rather than multiplying
30790 large negative argument by M_LN10.
30791 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30792 of __ieee754_expf.
30793 * math/e_exp10l.c: Include <float.h>.
30794 (__ieee754_exp10l): Handle underflow here rather than multiplying
30795 large negative argument by M_LN10l.
30796 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30797 spurious overflow exception on underflow.
30798
5ac3ea17
MP
307992012-04-29 Marek Polacek <polacek@redhat.com>
30800
30801 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30802 (__fortify_function): New macro.
30803 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30804 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30805 __extern_always_inline.
30806 * libio/bits/stdio2.h: Likewise.
30807 * libio/bits/stdio.h: Likewise.
30808 * string/string.h: Likewise.
30809 * string/bits/string3.h: Likewise.
30810 * include/stdio.h: Likewise.
30811 * stdlib/bits/stdlib.h: Likewise.
30812 * stdlib/stdlib.h: Likewise.
30813 * rt/bits/mqueue2.h: Likewise.
30814 * rt/mqueue.h: Likewise.
30815 * posix/bits/unistd.h: Likewise.
30816 * posix/unistd.h: Likewise.
30817 * io/bits/poll2.h: Likewise.
30818 * io/bits/fcntl2.h: Likewise.
30819 * io/fcntl.h: Likewise.
30820 * io/sys/poll.h: Likewise.
30821 * misc/bits/syslog.h: Likewise.
30822 * misc/bits/syslog-ldbl.h: Likewise.
30823 * misc/sys/syslog.h: Likewise.
30824 * socket/bits/socket2.h: Likewise.
30825 * socket/sys/socket.h: Likewise.
30826 * debug/tst-chk1.c: Likewise.
30827 * wcsmbs/bits/wchar2.h: Likewise.
30828 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30829 * wcsmbs/wchar.h: Likewise.
30830
ecf0ebfb
AJ
308312012-04-29 Andreas Jaeger <aj@suse.de>
30832
30833 * Makerules (tests): Remove enable-check-abi protection.
30834 (check-abi-warn): Remove.
30835 (check-abi-%): Remove check-abi-warn usage.
30836
30837 * configure.in: Remove check-abi configure option.
30838 * configure: Regenerated.
30839 * config.make.in (enable-check-abi): Remove.
30840
6d5c57fa
AS
308412012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30842
24c5d07e 30843 [BZ #14033]
ded5180a
AS
30844 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30845 double functions to double *_finite functions.
30846
7e0d315d
AS
30847 [BZ #13941]
30848 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30849 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30850 LDBL_MIN_EXP.
30851 * stdio-common/Makefile (tests): Add tst-sprintf3.
30852 * stdio-common/tst-sprintf3.c: New file.
30853
6d5c57fa
AS
30854 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30855 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30856
0749ff8b
JM
308572012-04-28 Joseph Myers <joseph@codesourcery.com>
30858
30859 * conform/conformtest.pl: Remove duplicate typed-constant
30860 handling.
30861
8dbd5d7b
DM
308622012-04-28 David S. Miller <davem@davemloft.net>
30863
30864 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30865 (check-abi-%): Remove AWK script prerequisite and explicit
30866 abilist directory.
30867 (check-abi): Rewrite to just diff the symlist with the abilist.
30868 (config-tls, config-abi-config): Delete, no longer used.
30869 (update-abi-%): Remove AWK script and explicit abilist directory.
30870 (update-abi): Rewrite to simply compare and conditionally copy the
30871 symlist and the sysdep abilist file. Remove update-abi-config
30872 checks.
30873 * abilist/ld.abilist: Remove.
30874 * abilist/libBrokenLocale.abilist: Remove.
30875 * abilist/libanl.abilist: Remove.
30876 * abilist/libcrypt.abilist: Remove.
30877 * abilist/libdl.abilist: Remove.
30878 * abilist/librt.abilist: Remove.
30879 * abilist/libthread_db.abilist: Remove.
30880 * abilist/libutil.abilist: Remove.
30881 * scripts/extract-abilist.awk: Remove.
30882 * scripts/merge-abilist.awk: Remove.
30883 * sysdeps/generic/libcidn.abilist: New file.
30884 * sysdeps/generic/libnss_compat.abilist: New file.
30885 * sysdeps/generic/libnss_db.abilist: New file.
30886 * sysdeps/generic/libnss_dns.abilist: New file.
30887 * sysdeps/generic/libnss_files.abilist: New file.
30888 * sysdeps/generic/libnss_hesiod.abilist: New file.
30889 * sysdeps/generic/libnss_nis.abilist: New file.
30890 * sysdeps/generic/libnss_nisplus.abilist: New file.
30891 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30892 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30893 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30894 file.
30895 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30896 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30897 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30898 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30899 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30900 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30901 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30902 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30903 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30904 file.
30905 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30906 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30907 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30908 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30909 file.
30910 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30911 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30912 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30913 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30914 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30915 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30916 file.
30917 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30918 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30919 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30920 file.
30921 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30923 New file.
30924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30925 New file.
30926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30927 New file.
30928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30929 New file.
30930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30931 New file.
30932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30933 New file.
30934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30935 New file.
30936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30937 New file.
30938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30939 New file.
30940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30941 New file.
30942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30943 New file.
30944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30945 New file.
30946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30947 New file.
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30949 file.
30950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30951 New file.
30952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30953 New file.
30954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30955 file.
30956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30957 New file.
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30959 New file.
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30961 file.
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30963 New file.
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30965 New file.
30966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30967 New file.
30968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30969 New file.
30970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30971 New file.
30972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30973 New file.
30974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30976 file.
30977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30978 New file.
30979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30980 file.
30981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30982 file.
30983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30984 file.
30985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30986 file.
30987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30988 file.
30989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30990 New file.
30991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30992 file.
30993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30994 file.
30995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30996 New file.
30997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30998 file.
30999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31001 file.
31002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31003 New file.
31004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31005 file.
31006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31007 file.
31008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31009 file.
31010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31011 file.
31012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31013 file.
31014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31015 New file.
31016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31017 file.
31018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31019 file.
31020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31021 New file.
31022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31023 file.
31024 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31025 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31026 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31027 file.
31028 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31029 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31030 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31031 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31032 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31033 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31034 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31035 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31036 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31037 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31040 file.
31041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31042 New file.
31043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31044 file.
31045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31046 file.
31047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31048 file.
31049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31050 file.
31051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31052 file.
31053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31054 New file.
31055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31056 New file.
31057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31058 file.
31059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31060 New file.
31061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31062 file.
31063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31065 file.
31066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31067 New file.
31068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31069 file.
31070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31071 file.
31072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31073 file.
31074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31075 file.
31076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31077 file.
31078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31079 New file.
31080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31081 New file.
31082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31083 file.
31084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31085 New file.
31086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31087 file.
31088
41d73a1b
JM
310892012-04-28 Joseph Myers <joseph@codesourcery.com>
31090
31091 * conform/conformtest.pl: Fix typo in handling typed-constant from
31092 allow-header.
31093
28aeeda4
JM
310942012-04-27 Joseph Myers <joseph@codesourcery.com>
31095
adae8f5e
JM
31096 * README: Cut down references to pre-2.6 Linux kernels and
31097 Linuxthreads. Update lists of configurations in libc and ports
31098 and sort alphabetically. Say "or newer" with Linux kernel version
31099 requirements.
31100
28aeeda4
JM
31101 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31102
a462cb63
RA
311032012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31104
31105 [BZ #887]
31106 * math/libm-test.inc (logb_test_downward): New test to expose
31107 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31108 rounding mode.
31109
6ad3493e
JM
311102012-04-27 Joseph Myers <joseph@codesourcery.com>
31111
31112 [BZ #14027]
31113 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31114 to be done.
31115 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31116 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31117
2ce4f015
JM
311182012-04-26 Joseph Myers <joseph@codesourcery.com>
31119
5aeb141a
JM
31120 * sysdeps/unix/i386/brk.S: Remove file.
31121 * sysdeps/unix/i386/dl-brk.S: Likewise.
31122 * sysdeps/unix/i386/pipe.S: Likewise.
31123 * sysdeps/unix/i386/sigreturn.S: Likewise.
31124 * sysdeps/unix/i386/syscall.S: Likewise.
31125 * sysdeps/unix/i386/vfork.S: Likewise.
31126 * sysdeps/unix/i386/wait.S: Likewise.
31127
7143acae
JM
31128 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31129 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31130
2ce4f015
JM
31131 * configure.in (arm*-none*): Do not allow without
31132 --enable-hacker-mode.
31133 (netbsd*): Remove case setting base_os.
31134 (386bsd*): Likewise.
31135 (freebsd*): Likewise.
31136 (bsdi*): Likewise.
31137 (osf*): Likewise.
31138 (sunos*): Likewise.
31139 (ultrix*): Likewise.
31140 (newsos*): Likewise.
31141 (dynix*): Likewise.
31142 (*bsd*): Likewise.
31143 (sysv*): Likewise.
31144 (isc*): Likewise.
31145 (esix*): Likewise.
31146 (sco*): Likewise.
31147 (minix*): Likewise.
31148 (irix4*): Likewise.
31149 (irix6*): Likewise.
31150 (solaris[2-9]*): Likewise.
31151 (none): Likewise.
31152 * configure: Regenerated.
31153
0ac229c8
AZ
311542012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31155
31156 [BZ #11521]
31157 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31158 overflow or cancellation in calculating denominator.
31159 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31161 down expression to avoid unexpected rounding in newer GCCs.
31162 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31163
33f244f4
DM
311642012-04-26 David S. Miller <davem@davemloft.net>
31165
31166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31167 long-double compat symbols.
31168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31181
cfa1f3e8
DM
311822012-04-25 David S. Miller <davem@davemloft.net>
31183
31184 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31185 HWCAP_* values only after the memory barriers have been defined.
31186 (atomic_full_barrier): Define.
31187 (atomic_read_barrier): Define.
31188 (atomic_write_barrier): Define.
31189
6e236b92
SP
311902012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31191
31192 * shlib-versions: Add libgcc_s version information.
31193 * sysdeps/generic/libgcc_s.h: Remove.
31194 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31195 libgcc_s.h.
31196 * sysdeps/gnu/unwind-resume.c: Likewise.
31197 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31198
aab39a09
DM
311992012-04-25 David S. Miller <davem@davemloft.net>
31200
31201 * sysdeps/unix/sparc/brk.S: Delete.
31202 * sysdeps/unix/sparc/dl-brk.S: Delete.
31203 * sysdeps/unix/sparc/pipe.S: Delete.
31204 * sysdeps/unix/sparc/sysdep.S: Delete.
31205 * sysdeps/unix/sparc/sysdep.h: Delete.
31206 * sysdeps/unix/sparc/vfork.S: Delete.
31207 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31208 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31209 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31210 ret_ERRVAL, r0, r1, MOVE): Define.
31211 (JUMPTARGET): Remove.
31212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31213 sysdeps/unix/sparc/sysdep.h
31214 (ENTRY, END): Remove.
31215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31216
a3cc4f48
JM
312172012-04-25 Joseph Myers <joseph@codesourcery.com>
31218
2ed8cda2
JM
31219 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31220 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31221 -DIS_IN_build.
31222
35d76d59
JM
31223 * timezone/README: Update upstream location and email address for
31224 tzcode and tzdata.
31225 * timezone/zdump.c: Update from tzcode 2012b.
31226 * timezone/zic.c: Likewise.
31227
a3cc4f48
JM
31228 * configure.in (libc_cv_as_needed): Remove test.
31229 * configure: Regenerated.
31230 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31231 conditional definition.
31232 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31233 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31234 * config.make.in (have-as-needed): Remove variable.
31235
ceab42c3
SP
312362012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31237 Paul Pluzhnikov <ppluzhnikov@google.com>
31238
31239 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31240 strings correctly.
31241
3ce2865f
CLT
312422012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31243
31244 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31245 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31246 * sysdeps/sh/strlen.S: Likewise.
31247
f37e0d68
JM
312482012-04-24 Joseph Myers <joseph@codesourcery.com>
31249
ae186e9a
JM
31250 * sysdeps/unix/fork.S: Remove file.
31251 * sysdeps/unix/i386/fork.S: Likewise.
31252 * sysdeps/unix/sparc/fork.S: Likewise.
31253
b96914af
JM
31254 * sysdeps/unix/system.c: Remove file.
31255 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31256
f37e0d68
JM
31257 * sysdeps/unix/getegid.S: Remove file.
31258 * sysdeps/unix/geteuid.S: Likewise.
31259
87ef29ca
RM
312602012-04-24 Roland McGrath <roland@hack.frob.com>
31261
83bcd236
RM
31262 * scripts/check-localplt.awk: New file.
31263 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31264 of diff.
31265 * scripts/data/localplt-generic.data: Add a comment.
31266
87ef29ca
RM
31267 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31268 NODE when __dir_mkfile failed.
31269 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31270 Reported by Ludovic Courtès <ludo@gnu.org>.
31271
e5a6e567
AJ
312722012-04-24 Andreas Jaeger <aj@suse.de>
31273
31274 * Makerules (common-clean): Also remove gen-as-const-headers
31275 files.
31276
c1820385
JM
312772012-04-24 Joseph Myers <joseph@codesourcery.com>
31278
31279 * Makerules (native-compile): Do not change working directory for
31280 build. Use $(OUTPUT_OPTION) in command.
31281 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31282
94e02fc4
AZ
312832012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31284
31285 [BZ #13886]
31286 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31287 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31288 * math/libm-test.inc (floor_test): Add more tests.
31289 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31290
3a533ca3
JM
312912012-04-24 Joseph Myers <joseph@codesourcery.com>
31292
940ab4b3
JM
31293 * sysdeps/unix/getdents.c: Remove file.
31294 * sysdeps/unix/sysv/getdents.c: Likewise.
31295 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31296
90e037bd
JM
31297 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31298 sysdeps/unix/mman/syscalls.list.
31299 (mmap): Likewise.
31300 (mprotect): Likewise.
31301 (msync): Likewise.
31302 (munmap): Likewise.
31303 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31304 * sysdeps/unix/mman/syscalls.list: Remove.
31305 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31306
3a533ca3
JM
31307 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31308 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31309 * configure: Regenerated.
31310 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31311 $(libgcc_s_suffix).
31312 * config.make.in (libgcc_s_suffix): Remove variable.
31313
1ad743de
JM
313142012-04-23 Joseph Myers <joseph@codesourcery.com>
31315
4ad451e2
JM
31316 * sysdeps/unix/sysv/gethostname.c: Move to ...
31317 * sysdeps/posix/gethostname.c: ... here.
31318
5e37ce39
JM
31319 * sysdeps/unix/execve.S: Remove file.
31320
1ad743de
JM
31321 * sysdeps/unix/_exit.S: Remove file.
31322
4e681b5b
AJ
313232012-04-23 Andreas Jaeger <aj@suse.de>
31324
31325 [BZ #13739]
31326 * manual/Makefile: Remove make dist support, there's no
31327 need for a stand-alone documentation tar ball.
31328 (TEXI2DVI): Define always, it's not in Makeconfig.
31329 (dist): Removed.
31330 (tar-it): Removed.
31331 (edition): Removed.
31332 (glibc-doc-$(edition).tar): Removed
31333 (%.Z): Removed.
31334 (%.gz): Removed.
31335 (%.uu): Removed.
31336 (ETAGS): Remove, it's in Makeconfig.
31337 (move-if-change): Remove, it's in Makeconfig.
31338
38686a03 313392012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31340
31341 [BZ #13970]
31342 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31343 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31344 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31345 (strtod_l, strtof_l, strtold_l): Remove __wur.
31346 It is not necessarily an error to ignore strtol's return value.
31347 One can reliably look at the stored endptr to decide whether
31348 the number had valid syntax.
31349
7c0616fa
AJ
313502012-04-21 Andreas Jaeger <aj@suse.de>
31351
803cb6b7 31352 [BZ #13739]
7c0616fa
AJ
31353 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31354
b0fe253f
JM
313552012-04-21 Joseph Myers <joseph@codesourcery.com>
31356
31357 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31358 * sysdeps/unix/sysv/Versions: Remove file.
31359
8280f22d
MT
313602012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31361
31362 [BZ #13927]
31363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31364
75ce411f 313652012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31366
31367 [BZ #7064]
31368 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31369 version from __vm86.
31370
097d59fa
JM
313712012-04-20 Joseph Myers <joseph@codesourcery.com>
31372
a90f3bcb
JM
31373 * sysdeps/unix/common/lxstat.c: Remove file.
31374 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31375
edc7ea78
JM
31376 * sysdeps/unix/sysv/Makefile: Remove file.
31377
cb78c221
JM
31378 * sysdeps/unix/sysv/direct.h: Remove file.
31379
efa6a45f
JM
31380 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31381 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31382 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31383 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31384 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31385 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31386 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31387
9c9f2d0c
JM
31388 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31389
4541c83b
JM
31390 * sysdeps/unix/xmknod.c: Remove file.
31391 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31392
f5d153a0
JM
31393 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31394
aa746595
JM
31395 * sysdeps/unix/sysv/i386/time.S: Remove file.
31396
cce5905e
JM
31397 * sysdeps/unix/fxstat.c: Remove file.
31398 * sysdeps/unix/xstat.c: Likewise.
31399 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31400
37fa3841
JM
31401 * sysdeps/unix/sysv/sigaction.c: Remove file.
31402
ff1962a3
JM
31403 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31404 (sysdep_headers): Remove variable.
31405 [termio.h not in sysdep_headers] (generated): Likewise.
31406 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31407 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31408 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31409 * sysdeps/unix/sysv/tcflow.c: Likewise.
31410 * sysdeps/unix/sysv/tcflush.c: Likewise.
31411 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31412 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31413 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31414 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31415 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31416
e7740d31
JM
31417 * sysdeps/unix/siglist.c: Remove file.
31418
ee06f18b
JM
31419 * sysdeps/unix/getppid.S: Remove file.
31420
097d59fa
JM
31421 * sysdeps/unix/mkdir.c: Remove file.
31422 * sysdeps/unix/rmdir.c: Likewise.
31423
ff3d51ec
AS
314242012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31425
31426 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31427 ERR_MAX value.
31428 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31429 errlist-compat value.
31430
50f81fd7
DM
314312012-04-18 David S. Miller <davem@davemloft.net>
31432
31433 * sysdeps/generic/memcopy.h (reg_char): Delete.
31434 * debug/strcat_chk.c: Use char, not reg_char.
31435 * debug/strcpy_chk.c: Likewise.
31436 * debug/strncat_chk.c: Likewise.
31437 * debug/strncpy_chk.c: Likewise.
31438 * string/memchr.c: Likewise.
31439 * string/memrchr.c: Likewise.
31440 * string/rawmemchr.c: Likewise.
31441 * string/strcat.c: Likewise.
31442 * string/strchr.c: Likewise.
31443 * string/strchrnul.c: Likewise.
31444 * string/strcmp.c: Likewise.
31445 * string/strcpy.c: Likewise.
31446 * string/strncat.c: Likewise.
31447 * string/strncmp.c: Likewise.
31448 * string/strncpy.c: Likewise.
31449
8ff41c46
WS
314502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31451
31452 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31453 __builtin_memcopy is called when src and dest ranges are known to not
31454 overlap.
31455
6b652f46
WS
314562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31457
31458 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31459 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31460 fwd_align_merge macro call.
31461 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31462 bwd_align_merge macro call.
31463 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31464
b282631e
WS
314652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31466
31467 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31468 bwd_align_merge macros.
31469 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31470 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31471 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31472
95aa737c
DM
314732012-04-18 David S. Miller <davem@davemloft.net>
31474
31475 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31476
7a99a614
AJ
314772012-04-18 Andreas Jaeger <aj@suse.de>
31478
31479 [BZ# 6794]
31480 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31481 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31482 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31483
31484 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31485 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31486 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31487
31488 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31489 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31490 Adjust for changed ldbl-128 files.
31491
31492 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31493 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31494 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31495
e5270c23
DM
314962012-04-17 David S. Miller <davem@davemloft.net>
31497
31498 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31499
fb5e92c9
AS
315002012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31501
31502 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31503 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31504 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31505 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31506 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31507 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31508
76da7265
AZ
315092012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31510
31511 [BZ #6794]
31512 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31513 * math/libm-test.inc: Add ilogb errno and exception tests.
31514 * math/w_ilogb.c: New file: ilogb wrapper.
31515 * math/w_ilogbf.c: New file: ilogbf wrapper.
31516 * math/w_ilogbl.c: New file: ilogbl wrapper.
31517 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31518 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31519 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31520 exception being thrown with 0.0 as argument.
31521 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31522 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31523 exception being thrown with 0.0 as argument.
31524 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31525 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31526 exception being thrown with 0.0 as argument.
31527 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31528 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31529 exception being thrown with 0.0 as argument.
31530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31531 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31532 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31533 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31534 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31535 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31536 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31537 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31538 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31539
0396e69d
PB
315402012-04-17 Petr Baudis <pasky@ucw.cz>
31541
31542 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31543 with altivec.
31544
750b5926
MP
315452012-04-16 Marek Polacek <polacek@redhat.com>
31546
31547 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31548
751728a1
MP
315492012-04-16 Marek Polacek <polacek@redhat.com>
31550
31551 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31552 operands of fdivp instruction.
31553
34a27407
L
315542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31555
31556 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31557 * elf/tst-auditmod3b.c: Likewise.
31558 * elf/tst-auditmod4b.c: Likewise.
31559 * elf/tst-auditmod5b.c: Likewise.
31560 * elf/tst-auditmod6b.c: Likewise.
31561 * elf/tst-auditmod6c.c: Likewise.
31562 * elf/tst-auditmod7b.c: Likewise.
31563 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31564 * sysdeps/x86_64/preconfigure.in: Likewise.
31565 * sysdeps/x86_64/preconfigure: Regenerated.
31566
7e73e17d
L
315672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31568
31569 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31570 __ILP32__.
31571
c7a6ab72
AB
315722012-04-13 Antoine Balestrat <merkil33@gmail.com>
31573
31574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31575 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31576
a9e8e0e0
CL
315772012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31578
31579 [BZ #13973]
31580 * locale/iso-639.def: Fix gl language name. Spotted by
31581 Yaron Shahrabani.
31582
ec98af7d
RM
315832012-04-12 Roland McGrath <roland@hack.frob.com>
31584
31585 [BZ #2074]
31586 * libio/libio.h (__io_write_fn): Update comment.
31587
247c3ede
PB
315882012-04-12 Petr Baudis <pasky@ucw.cz>
31589
31590 [BZ #2074]
31591 * stdio.texi (Hook Functions): The user provided writer function
31592 is not allowed to return -1.
31593
55939d6d
DM
315942012-04-11 David S. Miller <davem@davemloft.net>
31595
31596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31597
90020f5a
MF
315982012-04-11 Mike Frysinger <vapier@gentoo.org>
31599
31600 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31601 Add a leading slash to rtkaio.
31602
288f9098
JM
316032012-04-11 Jim Meyering <meyering@redhat.com>
31604
90020f5a
MF
31605 [BZ #11959]
31606 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31607 It is not necessarily an error to ignore fwrite's return
31608 value. One can reliably use ferror to test for errors after
31609 the fact.
288f9098 31610
4be2b570
L
316112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31612
31613 * bits/types.h (__snseconds_t): New type.
31614 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31615
31616 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31618 (__SNSECONDS_T_TYPE): Likewise.
31619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31620 (__SNSECONDS_T_TYPE): Likewise.
31621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31622 (__SNSECONDS_T_TYPE): Likewise.
31623
288f9098 316242012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31625
31626 [BZ #2636]
31627 * manual/time.texi (Processor Time): Return type of times is
31628 elapsed real time since an arbitrary point in the past.
31629 (CPU Time): Move CLK_TCK from here...
31630 (Processor Time): ...to here. Correct description.
31631 * manual/conf.texi (Constants for Sysconf): Correct description of
31632 _SC_CLK_TCK.
31633
d7dd4413
DM
316342012-04-10 David S. Miller <davem@davemloft.net>
31635
31636 [BZ #13967]
31637 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31638 where the is a gap between DT_REL(A) and DT_JMPREL.
31639
b46068fc
L
316402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31641
31642 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31643 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31644 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31645
73d65cc3
SP
316462012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31647
31648 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31649 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31650 (dl_main): Handle --inhibit-cache.
31651 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31652 _dl_inhibit_cache.
31653 * elf/dl-load.c (_dl_map_object): Use it.
31654 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31655
bcc8d661
JM
316562012-04-09 Joseph Myers <joseph@codesourcery.com>
31657
8f9a2fae
JM
31658 [BZ #13872]
31659 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31660 (__ieee754_powl): Saturate large exponents rather than testing for
31661 overflow of y*log2(x).
31662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31663 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31664 exceptions.
31665
bcc8d661
JM
31666 [BZ #11521]
31667 * math/s_ctan.c: Include <float.h>.
31668 (__ctan): Avoid internal overflow or cancellation in calculating
31669 denominator.
31670 * math/s_ctanf.c: Likewise.
31671 * math/s_ctanl.c: Likewise.
31672 * math/s_ctanh.c: Likewise.
31673 * math/s_ctanhf.c: Likewise.
31674 * math/s_ctanhl.c: Likewise.
31675 * math/libm-test.inc (ctan_test): Add more tests.
31676 (ctanh_test): Likewise.
31677 * sysdeps/i386/fpu/libm-test-ulps: Update.
31678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31679
823fbbb4
AJ
316802012-04-09 Andreas Jaeger <aj@suse.de>
31681
03879793
AJ
31682 [BZ #6894]
31683 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31684 is an optional BSD extension.
31685
823fbbb4
AJ
31686 [BZ #10254]
31687 * manual/stdio.texi (Opening Streams): Document additional fopen
31688 parameters.
31689
8de131cb
RM
316902012-04-09 Roland McGrath <roland@hack.frob.com>
31691
31692 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31693 %eax without telling the compiler.
31694
c0ed9d7d
CD
316952012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31696
31697 [BZ # 13963]
31698 * manual/install.texi: Use sourceware.org.
31699
c483f6b4
JM
317002012-04-09 Joseph Myers <joseph@codesourcery.com>
31701
d7dd9453
JM
31702 [BZ #13873]
31703 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31704 (__ieee754_pow): Generate overflow and underflow using huge*huge
31705 and tiny*tiny rather than just returning constant infinity or zero
31706 for large exponents.
31707 * math/libm-test.inc (pow_test): Require overflow exceptions for
31708 applicable cases of large exponents.
31709
c483f6b4
JM
31710 [BZ #706]
31711 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31712 (__ieee754_pow): Use iterative multiplication algorithm only for
31713 integer exponents with absolute value below 1024. Check for odd
31714 integer exponents when using algorithm for real exponents.
31715 * math/libm-test.inc (pow_test): Add more tests.
31716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31717
d2de7579
JM
317182012-04-08 Joseph Myers <joseph@codesourcery.com>
31719
31720 [BZ #13705]
31721 * math/libm-test.inc (exp_test): Do not allow overflow exception
31722 on underflow test.
31723
f77f1232
AJ
317242012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31725
31726 [BZ #13705]
31727 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31728 instead of __kernel_standard_f.
31729
3884932b
MF
317302012-04-08 Mike Frysinger <vapier@gentoo.org>
31731
31732 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31733 * sysdeps/x86_64/memset_chk.S: Likewise.
31734
54472e9c
AJ
317352012-04-08 Andreas Jaeger <aj@suse.de>
31736
6ab0fbfc
AJ
31737 [BZ #10153]
31738 * manual/startup.texi (Environment Access): Describe return value
31739 for putenv and setenv.
31740
61efba8c
AJ
31741 [BZ #6895]
31742 * manual/filesys.texi (Directory Entries): Add description for
31743 DT_LNK.
31744
95c3f29a
AJ
31745 [BZ #6890]
31746 * manual/filesys.texi (Directory Entries): Clarify that it's file
31747 system not operating system in the description of DT_UNKNOWN.
31748
54472e9c
AJ
31749 [BZ #6578]
31750 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31751
624254b1
SC
317522012-04-08 Stephen Compall <s11@member.fsf.org>
31753
31754 [BZ #6649]
31755 * manual/llio.texi (Opening and Closing Files): Add cross
31756 reference to explain mode argument.
31757
1e4920e0
MF
317582012-04-07 Mike Frysinger <vapier@gentoo.org>
31759
31760 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31761 * sysdeps/x86_64/memset_chk.S: Likewise.
31762
5ed848f3
DM
317632012-04-07 David S. Miller <davem@davemloft.net>
31764
31765 * elf/elf.h (R_SPARC_WDISP10): Define.
31766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31767 R_SPARC_SIZE32.
31768 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31769 R_SPARC_SIZE64 and R_SPARC_H34.
31770
96154cd8
CD
317712012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31772
31773 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31774 conditions and remove no longer applicable assertion.
31775
9904dc47
L
317762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31777
31778 * bits/byteswap.h: Include <features.h>.
31779 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31780 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31781
f8887d0a
L
317822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31783
31784 * bits/byteswap.h (__bswap_16): Removed.
31785 Include <bits/byteswap-16.h> to get __bswap_16.
31786 * sysdeps/i386/bits/byteswap.h: Likewise.
31787 * sysdeps/s390/bits/byteswap.h: Likewise.
31788 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31789 * bits/byteswap-16.h: New file.
31790 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31791 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31792 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31793 * string/Makefile (headers): Add bits/byteswap-16.h.
31794
62470f60
PP
317952012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31796
31797 [BZ #13895]
31798 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31799 extra indirection.
31800 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31801 * nss/tst-nss-static.c: New.
31802
4dad7bab
RM
318032012-04-06 Robert Millan <rmh@gnu.org>
31804
31805 [BZ #6486]
31806 * manual/llio.texi (File Position Primitive): lseek
31807 refers to WHENCE when it really means OFFSET.
31808
e9142a17
AJ
318092012-04-06 Andreas Jaeger <aj@suse.de>
31810
2c040eff
AJ
31811 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31812 strncmp declarations.
31813
e9142a17
AJ
31814 * abilist/libc.abilist: Add __poll and __ppoll.
31815
ff9f1c5f
DM
318162012-04-05 David S. Miller <davem@davemloft.net>
31817
dcd2ae90
DM
31818 * scripts/check-local-headers.sh: Accept a host triplet in the
31819 path matched by the exclude regexp.
31820
993eb054
DM
31821 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31822 definition.
31823 * sysdeps/powerpc/powerpc32/dl-machine.h
31824 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31825 * sysdeps/s390/s390-32/dl-machine.h
31826 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31827 * sysdeps/sparc/sparc32/dl-machine.h
31828 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31829 * sysdeps/sparc/sparc64/dl-machine.h
31830 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31831
ff9f1c5f
DM
31832 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31833 lazy binding.
48e2e132 31834 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31835 undefined symbol errors.
31836
48e2e132 31837 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31838 DT_NEEDED entries.
31839
e80d6f94
MM
318402012-04-05 Michael Matz <matz@suse.de>
31841
31842 [BZ #13592]
31843 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31844
349fa79f
AJ
318452012-04-05 Andreas Jaeger <aj@suse.de>
31846
31847 [BZ #13908]
31848 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31849 comment.
31850
f402708f
KK
318512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31852
31853 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31854 which ROUND is no valid rounding mode.
31855
2ecccfc9
KK
318562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31857
31858 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31859 read again.
31860 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31861
8a53f50f
KK
318622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31863
31864 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31865 an exception using FPU order intentionally.
31866
318672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31868
31869 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31870 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31871 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31872 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31873
d653abb7
SJ
318742012-04-05 Simon Josefsson <simon@josefsson.org>
31875
31876 [BZ #12340]
31877 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31878 EINVAL when BUFLEN is too smal.
31879
c3b1bf7d
TS
318802012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31881
31882 [BZ #13553]
31883 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31884 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31885
b1aa60f3
AJ
318862012-04-03 Andreas Jaeger <aj@suse.de>
31887
c3b1bf7d 31888 [BZ #13938]
67f60a26
AJ
31889 * manual/setjmp.texi (System V contexts): Fix sentence.
31890
b1aa60f3
AJ
31891 [BZ #13926]
31892 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31893 New macro for this case.
31894 [!__GNUC__] (__bswap_64): New inline function for this case.
31895 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31896 * bits/byteswap.h: Likewise.
31897 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31898 ull, guard with __GLIBC_HAVE_LONG_LONG.
31899
31900 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31901 __GLIBC_HAVE_LONG_LONG.
31902
31903 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31904 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31905
39c59c35
TMQMF
319062012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31907
31908 [BZ #13691]
31909 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31910 inptr and inend, rather than using last_ch.
31911
135ffda8
DM
319122012-04-02 David S. Miller <davem@davemloft.net>
31913
31914 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31915 * stdio-common/printf-parse.h (read_int): Change return type to
31916 'int', return -1 on INT_MAX overflow.
31917 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31918 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31919 overflows INT_MAX. Check for overflow of in-format-string precision
31920 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31921 SIZE_MAX not INT_MAX for integer overflow test.
31922 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31923 skip the construct in the format string but do not record anything.
31924 * stdio-common/bug22.c: Adjust to test both width/prevision
31925 INT_MAX overflow as well as total length INT_MAX overflow. Check
31926 explicitly for proper errno values.
31927
228c019e
TS
319282012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31929
302cadd3
TS
31930 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31931 CHAR_MAX.
31932 * string/test-strcmp.c [! WIDE]: Likewise.
31933 * time/tst-mktime2.c: Likewise for INT_MAX.
31934 * string/test-string.h: #include <sys/param.h> for MIN.
31935
228c019e
TS
31936 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31937 * sysdeps/i386/init-first.c (init): Likewise.
31938 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31939 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31940 * sysdeps/sh/init-first.c (init): Likewise.
31941
cfa633f5
UD
319422012-04-01 Ulrich Drepper <drepper@gmail.com>
31943
31944 * po/ru.po: Update from translation team.
d1635ef8 31945 * po/vi.po: Likewise.
cfa633f5 31946
6cd0a5ea
SP
319472012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31948
31949 * resolv/nss_dns/dns-host.c: Merge copyright years.
31950
4b43400f
LD
319512012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31952
31953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31954 Optimize memcpy with prefetch if
31955 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31956 src, dst pointers have unequal 16 byte alignments.
31957
48c41d04
SP
319582012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31959
31960 [BZ #13928]
31961 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31962 from a CNAME entry and return the minimum ttl for the query.
31963 (gaih_getanswer_slice): Likewise.
31964
b8dc394d
JL
319652012-03-30 Jeff Law <law@redhat.com>
31966
31967 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31968 due to long keys.
31969 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31970 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31971
2f5a5ed0
JL
31972 * resolv/nss_dns/dns-host.c: Update copyright year.
31973
1d39e359
UD
319742012-03-30 Ulrich Drepper <drepper@gmail.com>
31975
c030f70c 31976 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31977 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31978
1d39e359
UD
31979 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31980 comments for sendmmsg.
31981
319822012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31983
31984 [BZ #13691]
31985 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31986 with only 1 character between 0x0041 and 0x01b0.
31987 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31988 * wcsmbs/tst-mbsnrtowcs.c: New file.
31989
20fde227
DM
319902012-03-29 David S. Miller <davem@davemloft.net>
31991
31992 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31993 small copies by hand.
31994
984a4237
JL
319952012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31996
31997 [BZ #13761]
31998 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31999 _nss_compat_initgroups_dyn): Fall back to malloc/free
32000 for large group memberships.
32001
18c9d62b
DM
320022012-03-28 David S. Miller <davem@davemloft.net>
32003
88d85d4f
DM
32004 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32005 that branches into memcpy.
32006 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32007 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32009 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32011 bits.
32012 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32013 implementation too.
32014 * sysdeps/sparc/mempcpy.S: New file.
32015
e5aa83e1
DM
32016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32017 the IFUNC routine in the libc case.
32018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32019
88570753
DM
32020 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32021 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32022 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32023 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32024 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32025 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32026 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32027 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32028
249d7567
DM
32029 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32030 loop to 256 bytes instead of 64 bytes and fix test signedness.
32031
18c9d62b
DM
32032 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32033 * sysdeps/sparc/sparc32/Makefile: rather than here...
32034 * sysdeps/sparc/sparc64/Makefile: and here.
32035
05f3d1f6
UD
320362012-03-28 Ulrich Drepper <drepper@gmail.com>
32037
32038 * malloc/mallocbug.c: Avoid warnings about unused variables.
32039
86ae07a8
JL
320402012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32041
32042 [BZ #13760]
32043 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32044 in the right place. Discard and retry query if response is
32045 larger than input buffer size.
32046
41bf21a1
JM
320472012-03-28 Joseph Myers <joseph@codesourcery.com>
32048
d6270972
JM
32049 [BZ #369]
32050 [BZ #2678]
32051 [BZ #3866]
32052 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32053 x for large integer exponent.
32054 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32055 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32056 sign of result as needed afterwards.
32057 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32058 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32059 result for underflowing pow the same as for overflow.
32060 (__kernel_standard_l): Handle powl overflow and underflow here
32061 rather than calling __kernel_standard.
32062 * math/libm-test.inc (pow_test): Add more tests.
32063
414fca03 32064 [BZ #3868]
41bf21a1
JM
32065 [BZ #13879]
32066 [BZ #13910]
32067 [BZ #13911]
32068 [BZ #13912]
32069 [BZ #13913]
32070 [BZ #13915]
32071 [BZ #13916]
32072 [BZ #13917]
32073 [BZ #13918]
32074 [BZ #13919]
32075 [BZ #13920]
32076 [BZ #13921]
32077 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32078 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32079 (__kernel_standard_l): New function.
32080 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32081 __kernel_standard.
32082 * math/w_acosl.c (__acosl): Likewise.
32083 * math/w_asinl.c (__asinl): Likewise.
32084 * math/w_atan2l.c (__atan2l): Likewise.
32085 * math/w_atanhl.c (__atanhl): Likewise.
32086 * math/w_coshl.c (__coshl): Likewise.
32087 * math/w_exp10l.c (__exp10l): Likewise.
32088 * math/w_exp2l.c (__exp2l): Likewise.
32089 * math/w_fmodl.c (__fmodl): Likewise.
32090 * math/w_hypotl.c (__hypotl): Likewise.
32091 * math/w_j0l.c (__j0l, __y0l): Likewise.
32092 * math/w_j1l.c (__j1l, __y1l): Likewise.
32093 * math/w_jnl.c (__jnl, __ynl): Likewise.
32094 * math/w_lgammal.c (__lgammal): Likewise.
32095 * math/w_log10l.c (__log10l): Likewise.
32096 * math/w_log2l.c (__log2l): Likewise.
32097 * math/w_logl.c (__logl): Likewise.
32098 * math/w_powl.c (__powl): Likewise.
32099 * math/w_remainderl.c (__remainderl): Likewise.
32100 * math/w_scalbl.c (sysv_scalbl): Likewise.
32101 * math/w_sinhl.c (__sinhl): Likewise.
32102 * math/w_sqrtl.c (__sqrtl): Likewise.
32103 * math/w_tgammal.c (__tgammal): Likewise.
32104 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32105 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32106 * math/libm-test.inc (acos_test): Add more tests.
32107 (acosh_test): Likewise.
32108 (asin_test): Likewise.
32109 (atanh_test): Likewise.
32110 (exp_test): Likewise.
32111 (exp10_test): Likewise.
32112 (exp2_test): Likewise.
32113 (expm1_test): Likewise.
32114 (lgamma_test): Likewise.
32115 (log_test): Likewise.
32116 (log10_test): Likewise.
32117 (log1p_test): Likewise.
32118 (log2_test): Likewise.
32119 (pow_test): Do not allow some spurious overflow exceptions.
32120 (sqrt_test): Add more tests.
32121 (tgamma_test): Likewise.
32122 (y0_test): Likewise.
32123 (y1_test): Likewise.
32124 (yn_test): Likewise.
32125
dd62fda6
AB
321262012-03-27 Anton Blanchard <anton@samba.org>
32127
32128 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32129 MAP_HUGETLB.
32130 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32131 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32133
1e3cdfda
AJ
321342012-03-27 David S. Miller <davem@davemloft.net>
32135
b855ab85
DM
32136 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32137
1e3cdfda
AJ
32138 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32139 have-as-vis3 check.
32140
321412012-03-27 Andreas Jaeger <aj@suse.de>
32142
32143 * sysdeps/x86_64/elf/configure.in: Moved to ...
32144 * sysdeps/x86_64/configure.in: ... here.
32145 * sysdeps/x86_64/elf/start.S: Moved to ...
32146 * sysdeps/x86_64/start.S: ... here.
32147 * sysdeps/x86_64/elf/configure: Delete.
32148
32149 * sysdeps/x86_64/configure.in: Merge contents from
32150 sysdeps/i386/configure.in (without i686 check).
32151
32152 * sysdeps/i386/elf/Versions: Merge into ...
32153 * sysdeps/i386/Versions: ... this.
32154 * sysdeps/i386/elf/Versions: Delete file.
32155 * sysdeps/i386/elf/start.S: Moved to ...
32156 * sysdeps/i386/start.S: ...here.
32157 * sysdeps/i386/elf/configure.in: Merge into...
32158 * sysdeps/i386/configure.in: ...here.
32159 * sysdeps/i386/elf/configure.in: Delete file.
32160 * sysdeps/i386/elf/configure: Delete file.
32161
32162 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32163 * debug/backtracesyms.c: ... here.
32164 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32165 * debug/backtracesymsfd.c: ... here.
32166 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32167 * sysdeps/generic/ifunc-sel.h: ... here.
32168
32169 * sysdeps/unix/i386/start.c: Delete file.
32170 * sysdeps/unix/sparc/start.c: Delete file.
32171 * sysdeps/unix/start.c: Delete file.
32172
32173 * sysdeps/sh/elf/configure.in: Moved to ...
32174 * sysdeps/sh/configure.in: ... here.
32175 * sysdeps/sh/elf/start.S: Moved to ...
32176 * sysdeps/sh/start.S: ... here.
32177 * sysdeps/sh/elf/configure: Delete file.
32178
32179 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32180 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32181 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32182 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32183 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32184 * sysdeps/powerpc/powerpc64/start.S: here.
32185 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32186 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32187 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32188 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32189 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32190
32191 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32192 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32193 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32194 * sysdeps/powerpc/powerpc32/start.S: ... here.
32195 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32196 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32197 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32198
32199 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32200 * sysdeps/powerpc/ifunc-sel.h: ... here.
32201 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32202 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32203
32204 * sysdeps/sparc/elf/configure.in: Moved to ...
32205 * sysdeps/sparc/configure.in: ... here.
32206 * sysdeps/sparc/elf/configure: Delete file.
32207 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32208 * sysdeps/sparc/sparc32/start.S: ... here.
32209 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32210 * sysdeps/sparc/sparc64/start.S: ... here.
32211 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32212 * sysdeps/sparc/sparc32/Makefile: ... this.
32213 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32214 * sysdeps/sparc/sparc64/Makefile: ... this.
32215
32216 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32217 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32218 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32219 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32220 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32221 * sysdeps/s390/s390-32/setjmp.S: ... here.
32222 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32223 * sysdeps/s390/s390-32/configure.in: ... here.
32224 * sysdeps/s390/s390-32/elf/configure: Delete file.
32225 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32226 * sysdeps/s390/s390-32/start.S: ... here.
32227
32228 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32229 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32230 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32231 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32232 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32233 * sysdeps/s390/s390-64/setjmp.S: ... here.
32234 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32235 * sysdeps/s390/s390-64/configure.in: ... here
32236 * sysdeps/s390/s390-64/elf/configure: Delete file.
32237 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32238 * sysdeps/s390/s390-64/start.S: ... here.
32239 * sysdeps/s390/s390-64/elf/configure: Delete.
32240
32241 * configure.in: Remove support for elf directories in sysdeps.
32242
32243 * configure: Regenerated.
32244 * sysdeps/i386/configure: Regenerated.
32245 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32246 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32247 * sysdeps/s390/s390-32/configure: Regenerated.
32248 * sysdeps/s390/s390-64/configure: Regenerated.
32249 * sysdeps/sh/configure: Regenerated.
32250 * sysdeps/sparc/configure: Regenerated.
32251 * sysdeps/x86_64/configure: Regenerated.
32252
a3f61311
AS
322532012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32254
c876e002
AS
32255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32256
a3f61311
AS
32257 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32258 denormal result into account.
32259
ac4c54f0
RM
322602012-03-25 Roland McGrath <roland@hack.frob.com>
32261
32262 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32263 Reported by Allan McRae <allan@archlinux.org>.
32264
6a9b9c02
JL
322652012-03-23 Jeff Law <law@redhat.com>
32266
32267 * nss/getnssent.c (__nss_getent): Fix typo.
32268
4c42a0c1
DM
322692012-03-23 David S. Miller <davem@davemloft.net>
32270
32271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32272
1532c7ac
L
322732012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32274
32275 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32276 to pad to uint64_t for each field.
32277 (dl_tls_index): Replace unsigned long with uint64_t.
32278
3ff42526
PP
322792012-03-23 Daniel Jacobowitz <dmj@google.com>
32280 Paul Pluzhnikov <ppluzhnikov@google.com>
32281
32282 [BZ #6528]
32283 * grp/Makefile (otherlibs): Don't set it.
32284 * inet/Makefile (otherlibs): Likewise.
32285 * login/Makefile (otherlibs): Likewise.
32286 * nscd/Makefile (otherlibs): Likewise.
32287 * posix/Makefile (otherlibs): Likewise.
32288 * pwd/Makefile (otherlibs): Likewise.
32289 * rt/Makefile (otherlibs): Likewise.
32290 * sunrpc/Makefile (otherlibs): Likewise.
32291 * nss/Makefile (otherlibs): Likewise.
32292 Add libnss_files to routines and static-only-routines.
32293 ($(objpfx)getent): Remove rule.
32294 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32295 static-only-routines.
32296
7c69cd14
JM
322972012-03-22 Joseph Myers <joseph@codesourcery.com>
32298
32299 [BZ #13892]
32300 * math/s_cexp.c: Include <float.h>.
32301 (__cexp): Handle exp result overflowing not necessarily
32302 overflowing both real and imaginary parts of result.
32303 * math/s_cexpf.c: Likewise.
32304 * math/s_cexpl.c: Likewise.
32305 * math/libm-test.inc (cexp_test): Add more tests.
32306 * sysdeps/i386/fpu/libm-test-ulps: Update.
32307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32308
81b035fe
L
323092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32310
32311 * include/link.h (ELFW): New macro.
32312 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32313 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32314
1da7940c
L
323152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32316
32317 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32318 with uint64_t.
32319
b749dbb9
L
323202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32321
32322 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32323 declaration.
32324 (struct La_x32_retval): Likewise.
32325
2ff87f3f
L
323262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32327
32328 * sysdeps/x86_64/preconfigure.in: New file.
32329 * sysdeps/x86_64/preconfigure: New generated file.
32330
c0df8e69
JM
323312012-03-22 Joseph Myers <joseph@codesourcery.com>
32332
48e44791
JM
32333 [BZ #13824]
32334 * math/e_exp2l.c: Include <float.h>.
32335 (__ieee754_exp2l): Handle overflow and underflow cases
32336 separately. Only pass fractional part of argument to
32337 __ieee754_expl.
32338 * math/libm-test.inc (exp2_test): Add more tests.
32339
c0df8e69
JM
32340 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32341 negating x to take absolute value.
32342 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32343 Likewise.
32344 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32345 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32346 Likewise.
32347 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32348 computing low part if x was negated.
32349 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32350
c8e43ba7
L
323512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32352
32353 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32354 la_x32_gnu_pltexit.
32355 (pltexit): Cast int_retval to ptrdiff_t.
32356 * elf/tst-auditmod3b.c: Likewise.
32357 * elf/tst-auditmod4b.c: Likewise.
32358 * elf/tst-auditmod5b.c: Likewise.
32359 * elf/tst-auditmod6b.c: Likewise.
32360 * elf/tst-auditmod6c.c: Likewise.
32361 * elf/tst-auditmod7b.c: Likewise.
32362
32363 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32364 and x32_gnu_pltexit.
32365
32366 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32367 __ELF_NATIVE_CLASS.
32368 (La_x32_regs): New macro.
32369 (La_x32_retval): Likewise.
32370 (la_x32_gnu_pltenter): New function prototype.
32371 (la_x32_gnu_pltexit): Likewise.
32372
7998fa78
AS
323732012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32374
dcb33988
AS
32375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32376 exponent.
32377
233fc563
AS
32378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32379
7998fa78
AS
32380 * configure.in (libc_cv_cc_nofma): Check for option to disable
32381 generation of FMA instructions.
32382 * configure: Regenerate.
32383 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32384 * sysdeps/ieee754/dbl-64/Makefile: New file.
32385 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32386 Remove brandred-fma4.
32387 (CFLAGS-brandred-fma4.c): Remove.
32388 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32389 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32390 define.
32391 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32392 define.
32393
8e95c99a
L
323942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32395
32396 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32397 LLONG_MAX != LONG_MAX.
32398 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32399 (_fitoa_word): Likewise.
32400 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32401 LLONG_MAX != LONG_MAX.
32402 * stdio-common/_itowa.h: Include <_itoa.h>.
32403 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32404 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32405 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32406 only if not defined.
32407 (_ITOA_WORD_TYPE): Likewise.
32408 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32409 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32410
6f4db457
DM
324112012-03-21 David S. Miller <davem@davemloft.net>
32412
32413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32414
7785fe5a
L
324152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32416
32417 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32418 of x86_64 when setting libc_cv_slibdir, libdir and
32419 libc_cv_localedir.
32420 * sysdeps/unix/sysv/linux/configure: Regenerated.
32421
4535cd55
JM
324222012-03-21 Joseph Myers <joseph@codesourcery.com>
32423
32424 * manual/lang.texi (Old Varargs): Remove section.
32425 (How Variadic): Update menu.
32426 (va_start): Do not mention varargs.h.
32427
17228132
TS
324282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32429 Joseph Myers <joseph@codesourcery.com>
32430
32431 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32432 link test.
32433 * configure: Regenerated.
32434
8149f976
TS
324352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32436
05f3d1f6
UD
32437 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32438 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32439 conformtest.pl
8149f976 32440
1a4ac776
JM
324412012-03-21 Joseph Myers <joseph@codesourcery.com>
32442
be22ce65
JM
32443 * NOTES: Remove.
32444 * Makefile (files-for-dist): Remove NOTES.
32445 (NOTES): Remove rule.
32446 * README: Don't refer to NOTES.
32447 * manual/creature.texi: Don't include macros.texi.
32448 * manual/intro.texi (creature.texi): Remove comment referring to
32449 NOTES.
32450
40b601fb
JM
32451 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32452 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32453 * configure: Regenerated.
32454 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32455 LIBC_TRY_CC_OPTION.
32456 (libc_cv_as_i686): Likewise.
32457 (libc_cv_cc_avx): Likewise.
32458 (libc_cv_cc_sse2avx): Likewise.
32459 (libc_cv_cc_fma4): Likewise.
32460 (libc_cv_cc_novzeroupper): Likewise.
32461 * sysdeps/i386/configure: Regenerated.
32462
1a4ac776
JM
32463 [BZ #13883]
32464 * sysdeps/i386/fpu/s_cexp.S: Remove.
32465 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32466 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32467 * math/libm-test.inc (cexp_test): Add more tests.
32468 * sysdeps/i386/fpu/libm-test-ulps: Update.
32469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32470
a458e7fe
AM
324712012-03-21 Allan McRae <allan@archlinux.org>
32472
32473 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32474
0cb7efc5
JM
324752012-03-21 Joseph Myers <joseph@codesourcery.com>
32476
32477 [BZ #13871]
32478 * math/w_exp2.c: Do not include <float.h>.
32479 (o_threshold, u_threshold): Remove.
32480 (__exp2): Calculate result before checking finiteness and calling
32481 __kernel_standard.
32482 * math/w_exp2f.c: Likewise.
32483 * math/w_exp2l.c: Likewise.
32484 * math/libm-test.inc (exp2_test): Require overflow exception for
32485 1e6 input.
2460d3aa
JM
32486
32487 [BZ #3866]
32488 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32489 range of signed 64-bit integers before using fistpll. Remove
32490 checks for whether integers fit in mantissa bits.
32491 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32492 the range of signed 32-bit integers before using fistpl. Remove
32493 checks for whether integers fit in mantissa bits.
32494 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32495 (__ieee754_powl): Test for y outside the range of signed 64-bit
32496 integers before using fistpll. Reduce 64-bit values to 63-bit
32497 ones as needed.
32498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32499 divide-by-zero is raised for zero to large negative powers.
32500 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32501 (__ieee754_powl): Test for y outside the range of signed 64-bit
32502 integers before using fistpll. Reduce 64-bit values to 63-bit
32503 ones as needed.
32504 * math/libm-test.inc (pow_test): Add more tests.
32505
eb96ffb0
L
325062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32507
32508 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32509 <stdio-common/_itoa.h>.
32510 * debug/segfault.c: Likewise.
32511 * elf/dl-cache.c: Likewise.
32512 * elf/dl-minimal.c: Likewise.
32513 * elf/dl-misc.c: Likewise.
32514 * elf/dl-sysdep.c: Likewise.
32515 * elf/dl-version.c: Likewise.
32516 * elf/rtld.c: Likewise.
32517 * hurd/hurdsock.c: Likewise.
32518 * hurd/lookup-retry.c: Likewise.
32519 * malloc/malloc.c: Likewise.
32520 * malloc/mtrace.c: Likewise.
32521 * nscd/nscd_getgr_r.c: Likewise.
32522 * nscd/nscd_getpw_r.c: Likewise.
32523 * nscd/nscd_getserv_r.c: Likewise.
32524 * posix/getopt_init.c: Likewise.
32525 * posix/wordexp.c: Likewise.
32526 * stdio-common/_itoa.c: Likewise.
32527 * stdio-common/printf_fphex.c: Likewise.
32528 * stdio-common/vfprintf.c: Likewise.
32529 * string/_strerror.c: Likewise.
32530 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32531 * sysdeps/i386/i686/hp-timing.h: Likewise.
32532 * sysdeps/mach/_strerror.c: Likewise.
32533 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32534 * sysdeps/mach/hurd/sethostid.c: Likewise.
32535 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32536 * sysdeps/mach/xpg-strerror.c: Likewise.
32537 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32538 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32539 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32540 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32541 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32542 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32543 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32544 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32545 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32546 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32547 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32548 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32549 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32550 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32551 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32552 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32553 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32554 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32555 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32556 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32557 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32558
32559 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32560
32561 * stdio-common/_itoa.h: Moved to ...
32562 * sysdeps/generic/_itoa.h: Here.
32563
32564 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32565
32566 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32567 instead of "_itoa.h" and "_itowa.h".
32568 * stdio-common/vfprintf.: Likewise.
32569
d1af992d
L
325702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32571
32572 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32573 <bits/wordsize.h>.
32574 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32575 (__signbit): Likwise.
32576 (llrintf): Likwise.
32577 (llrint): Likwise.
32578
114883e0
L
325792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32580
32581 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32582 __WORDSIZE != 64.
32583
c135cc1b
JM
325842012-03-20 Joseph Myers <joseph@codesourcery.com>
32585
32586 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32587 OVERFLOW_EXCEPTION_OK.
32588 * math/libm-test.inc ("Philosophy"): Update comment about
32589 exception testing.
32590 (OVERFLOW_EXCEPTION): Define.
32591 (OVERFLOW_EXCEPTION_OK): Likewise.
32592 (INVALID_EXCEPTION_OK): Renumber.
32593 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32594 (IGNORE_ZERO_INF_SIGN): Likewise.
32595 (test_exceptions): Handle FE_OVERFLOW.
32596 (exp10_test): Expect overflow exceptions.
32597 (exp2_test): Likewise.
32598 (expm1_test): Likewise.
32599 (nextafter_test): Likewise.
32600 (pow_test): Likewise.
32601 (scalbn_test): Likewise.
32602 (scalbln_test): Likewise.
32603
95443d88
L
326042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32605
32606 * sysdeps/x86_64/bits/atomic.h
32607 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32608 64bit integer.
32609 (atomic_exchange_acq): Likewise.
32610 (__arch_exchange_and_add_body): Likewise.
32611 (__arch_add_body): Likewise.
32612 (atomic_add_negative): Likewise.
32613 (atomic_add_zero): Likewise.
32614
490df6c4
L
326152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32616
c2722551 32617 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32618 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32619
5e52b189
L
326202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32621
32622 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32623 Check __x86_64__ instead of __WORDSIZE.
32624
a9879d4c
L
326252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32626
32627 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32628
5df98260
DM
326292012-03-19 David S. Miller <davem@davemloft.net>
32630
e1497744
DM
32631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32632
5df98260
DM
32633 * sysdeps/sparc/fpu/fenv_private.h: New file.
32634 * sysdeps/sparc/fpu/math_private.h: Use it.
32635 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32636 Remove.
32637 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32638 (libc_feholdexcept_setroundl): Remove.
32639 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32640 Remove.
32641 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32642 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32643
b4c35121
L
326442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32645
32646 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32647 int64_t instead of long int.
32648 (INSERT_WORDS64): Likwise.
32649
56965fd7
L
326502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32651
32652 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32653 _Unwind_GetCFA return to _Unwind_Ptr first.
32654
83d1aec8
JM
326552012-03-19 Joseph Myers <joseph@codesourcery.com>
32656
1897ad44
JM
32657 [BZ #13629]
32658 * math/s_clog.c: Include <float.h>.
32659 (__clog): Scale large or subnormal inputs.
32660 * math/s_clogf.c: Likewise.
32661 * math/s_clogl.c: Likewise.
32662 * math/s_clog10.c: Include <float.h>.
32663 (M_LOG10_2): Define.
32664 (__clog10): Scale large or subnormal inputs.
32665 * math/s_clog10f.c: Likewise.
32666 * math/s_clog10l.c: Likewise.
32667 * math/libm-test.inc (clog_test): Add more tests.
32668 (clog10_test): Likewise.
32669 * sysdeps/i386/fpu/libm-test-ulps: Update.
32670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32671
7726d6a9
JM
32672 [BZ #11451]
32673 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32674 x and y.
32675 * math/libm-test.inc (atan2_test): Add another test.
32676
83d1aec8
JM
32677 * Makerules (common-objdir-compile): Remove.
32678 * sysdeps/unix/Makefile (config-generated): Do not add
32679 $(unix-generated) to variable.
32680 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32681 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32682 Remove rule.
32683 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32684 Likewise.
32685 [generic bits/local_lim.h] (before-compile): Do not append to
32686 variable.
32687 [generic bits/local_lim.h] (common-generated): Likewise.
32688 [generic sys/param.h] (before-compile): Do not append to variable.
32689 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32690 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32691 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32692 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32693 include.
32694 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32695 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32696 [generic sys/param.h] ($(addprefix
32697 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32698 [generic sys/param.h] (common-generated): Do not append to
32699 variable.
32700 [generic sys/param.h] (sysdep_headers): Likewise.
32701 [generic bits/errno.h] (before-compile): Do not append to
32702 variable.
32703 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32704 rule.
32705 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32706 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32707 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32708 [generic bits/errno.h] (common-generated): Do not append to
32709 variable.
32710 [generic bits/ioctls.h] (before-compile): Do not append to
32711 variable.
32712 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32713 rule.
32714 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32715 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32716 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32717 rule.
32718 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32719 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32720 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32721 [generic bits/ioctls.h] (common-generated): Do not append to
32722 variable.
32723 [generic sys/syscall.h] (syscall.h): Remove variable.
32724 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32725 rule.
32726 [generic sys/syscall.h] (before-compile): Do not append to
32727 variable.
32728 [generic sys/syscall.h] (common-generated): Likewise.
32729 * sysdeps/unix/errnos-tmpl.c: Remove file.
32730 * sysdeps/unix/errnos.awk: Likewise.
32731 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32732 * sysdeps/unix/ioctls.awk: Likewise.
32733 * sysdeps/unix/mk-local_lim.c: Likewise.
32734 * sysdeps/unix/snarf-ioctls: Likewise.
32735
4851a949
RH
327362012-03-19 Richard Henderson <rth@twiddle.net>
32737
bd37f2ee
RH
32738 * sysdeps/i386/fpu/fenv_private.h: New file.
32739 * sysdeps/i386/fpu/math_private.h: Use it.
32740 (math_opt_barrier, math_force_eval): Remove.
32741 (libc_feholdexcept_setround_53bit): Remove.
32742 (libc_feupdateenv_53bit): Remove.
32743 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32744 (math_opt_barrier, math_force_eval): Remove.
32745 (libc_feholdexcept): Remove.
32746 (libc_feholdexcept_setround): Remove.
32747 (libc_fetestexcept, libc_fesetenv): Remove.
32748 (libc_feupdateenv_test): Remove.
32749 (libc_feupdateenv, libc_feholdsetround): Remove.
32750 (libc_feresetround): Remove.
32751
d0adc922
RH
32752 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32753 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32754
0fe0f1f8
RH
32755 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32756 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32757 (libc_feupdateenv_testl): New.
32758 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32759 (libc_feupdateenv_testf): New.
32760 (libc_feupdateenv): Use libc_feupdateenv_test.
32761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32763
eb92c487
RH
32764 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32765 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32766 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32767 (libc_feresetround_noex): New.
32768 (libc_feresetround_noexf): New.
32769 (libc_feresetround_noexl): New.
32770 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32771 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32772 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32773 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32774 SET_RESTORE_ROUND.
32775 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32776 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32777 (__cos): Likewise.
32778 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32779 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32780 SET_RESTORE_ROUND_NOEX.
32781 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32782 SET_RESTORE_ROUND_NOEXF.
32783 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32784 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32785 (libc_feholdsetroundf): New.
32786 (libc_feresetround, libc_feresetroundf): New.
32787
7d2e8012
RH
32788 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32789 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32790 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32791
b4dabbb4
RH
32792 * sysdeps/generic/math_private.h: Include <fenv.h>.
32793 (default_libc_feholdexcept): New.
32794 (default_libc_feholdexcept_setround): New.
32795 (default_libc_fesetenv, default_libc_feupdateenv): New.
32796 (libc_feholdexcept): Only define if undefined.
32797 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32798 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32799 (libc_feholdexcept_setroundl): Likewise.
32800 (libc_feholdexcept_setround_53bit): Likewise.
32801 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32802 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32803 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32804 (libc_feupdateenv_53bit): Likewise.
32805 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32806 (libc_feholdexcept): Convert from macro to inline function.
32807 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32808 (libc_fesetenv, libc_feupdateenv): Likewise.
32809
4851a949
RH
32810 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32811 not previously defined.
32812 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32813 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32814 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32815 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32816 * sysdeps/ieee754/flt-32/math_private.h: New file.
32817 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32818 math_private.h below SET_FLOAT_WORD.
32819 (__isnan, __isinf_ns, __finite): Remove.
32820 (__isnanf, __isinf_nsf, __finitef): Remove.
32821
e79d442e
AS
328222012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32823
32824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32825
90b80344
DM
328262012-03-17 David S. Miller <davem@davemloft.net>
32827
32828 [BZ #6471]
32829 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32830 for 2.16.
32831
edc21804
DM
328322012-03-16 David S. Miller <davem@davemloft.net>
32833
77e927af
DM
32834 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32835 warnings.
32836
374976dd
DM
32837 [BZ #6471]
32838 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32839 properly.
32840 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32841 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32842 sysdep_routines when subdir is sysvipc.
32843 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32844 __getshmlba helper.
32845
edc21804
DM
32846 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32847
473c3ef3
L
328482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32849
32850 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32851 [__LP64__].
32852
eb0f39b6
L
328532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32854
32855 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32856 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32857 (__lround): Renamed to ...
32858 (__llround): This. Replace long int with long long int.
32859 Define lround functions as aliases of llround functions.
32860 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32861
6b6cd74b
L
328622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32863
32864 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32865 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32866 adresses to uintptr_t. Replace "long int" and "unsigned long
32867 int" with "greg_t" on va_arg.
32868
f1a77b01
L
328692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32870
32871 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32872 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32873
32874 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32875 Move e_machine check before EI_CLASS check. Handle x32
32876 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32877 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32878 SKIP_EM_IA_64 and include
32879 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32880
32881 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32882 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32883 (add_system_dir): New macro.
32884
32885 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32886 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32887
11b90b9f
JM
328882012-03-16 Joseph Myers <joseph@codesourcery.com>
32889
c36e1d23
JM
32890 [BZ #2551]
32891 [BZ #2552]
32892 [BZ #2553]
32893 [BZ #2554]
32894 [BZ #2562]
32895 [BZ #2563]
32896 [BZ #2565]
32897 [BZ #2566]
32898 [BZ #2576]
32899 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32900 (y0): Likewise.
32901 * math/w_j0f.c (j0f): Likewise.
32902 (y0f): Likewise.
32903 * math/w_j0l.c (__j0l): Likewise.
32904 (__y0l): Likewise.
32905 * math/w_j1.c (j1): Likewise.
32906 (y1): Likewise.
32907 * math/w_j1f.c (j1f): Likewise.
32908 (y1f): Likewise.
32909 * math/w_j1l.c (__j1l): Likewise.
32910 (__y1l): Likewise.
32911 * math/w_jn.c (jn): Likewise.
32912 (yn): Likewise.
32913 * math/w_jnf.c (jnf): Likewise.
32914 (ynf): Likewise.
32915 * math/w_jnl.c (__jnl): Likewise.
32916 (__ynl): Likewise.
32917 * math/libm-test.inc (j0_test): Add more tests.
32918 (j1_test): Likewise.
32919 (jn_test): Likewise. Add trailing semicolon to existing test.
32920 (y0_test): Likewise.
32921 (y1_test): Likewise.
32922 * sysdeps/i386/fpu/libm-test-ulps: Update.
32923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32924
11b90b9f
JM
32925 [BZ #13851]
32926 [BZ #13854]
32927 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32928 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32929 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32930 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32931 (__tanl): Set errno for infinite argument.
32932 * sysdeps/i386/fpu/mptan.c: Remove.
32933 * sysdeps/i386/fpu/s_tan.S: Likewise.
32934 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32935 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32936 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32937 * math/libm-test.inc (tan_test): Add more tests and enable more
32938 tests for double and long double.
32939 * sysdeps/i386/fpu/libm-test-ulps: Update.
32940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32941
6a1bd2a1
JK
329422012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32943
32944 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32945 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32946
10a803e0
RM
329472012-03-16 Roland McGrath <roland@hack.frob.com>
32948
32949 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32950 * configure.in: Use it for both main tree and add-ons.
32951 * configure: Regenerated.
32952
f196c7f7
L
329532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32954
32955 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32956
8848d99d
JM
329572012-03-16 Joseph Myers <joseph@codesourcery.com>
32958
96cbe7f4
JM
32959 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32960 in comment.
32961
8848d99d
JM
32962 [BZ #13851]
32963 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32964 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32965 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32966 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32967 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32968 infinite argument.
32969 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32971 != 0 for prec == 2.
32972 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32973 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32974 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32975 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32976 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32977 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32978 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32979 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32980 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32981 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32982 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32983 * math/libm-test.inc (cos_test): Add more tests and enable more
32984 tests for long double.
32985 (sin_test): Likewise.
32986 (sincos_test): Likewise.
32987 * sysdeps/i386/fpu/libm-test-ulps: Update.
32988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32989
dd7f4703
DM
329902012-03-16 David S. Miller <davem@davemloft.net>
32991
32992 * sysdeps/sparc/fpu/math_private.h: New file.
32993
006f1daa
DM
329942012-03-15 David S. Miller <davem@davemloft.net>
32995
c0c83bc8
DM
32996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32997 file.
e6a62e18 32998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33000 file.
e6a62e18
DM
33001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33007 sysdep routines.
33008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33009
88cb87d9
DM
33010 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33011 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33012
006f1daa 33013 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33015 sparc-ifunc.h
006f1daa 33016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33018 Likewise.
33019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33020 Likewise.
006f1daa
DM
33021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33025 Likewise.
006f1daa
DM
33026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33031 Likewise.
33032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33033 Likewise.
006f1daa
DM
33034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33054 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33058
11e0098e
AS
330592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33060
33061 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33062 scaling.
33063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33064
e85b09d0
AJ
330652012-03-15 Andreas Jaeger <aj@suse.de>
33066
33067 [BZ #13852]
33068 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33069 ieee754/flt-32 implementation for sin, cos and sincos.
33070 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33071 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33072 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33073 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33074 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33075 ieee754/flt-32 implementation for tan.
33076
33077 * math/libm-test.inc (cos_test): Enable some large input tests for
33078 float as well
33079 (sin_test): Likewise.
33080 (sincos_test): Likewise.
33081 (tan_test): Add tests for large input.
33082
33083 * sysdeps/i386/fpu/libm-test-ulps: Update.
33084
81c64153
AJ
330852012-03-15 Andreas Jaeger <aj@suse.de>
33086
33087 [BZ #13658]
33088 * math/libm-test.inc (cos_test): Add more test cases.
33089 (sin_test): Likewise.
33090 (sincos_test): Likewise.
33091
7bbfa5c6
AJ
330922012-03-15 Andreas Jaeger <aj@suse.de>
33093
33094 [BZ #13837]
33095 * math/libm-test.inc (cos_test): Add a test case for large input
33096 value.
33097 (sin_test): Likewise.
33098 (sincos_test): Likewise.
33099
331002012-03-15 Andreas Jaeger <aj@suse.de>,
33101 Joseph Myers <joseph@codesourcery.com>
33102
33103 [BZ #13658]
0671f479 33104 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33105 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33106 * sysdeps/i386/fpu/branred.c: Likewise.
33107 * sysdeps/i386/fpu/dosincos.c: Likewise.
33108 * sysdeps/i386/fpu/mpa.c: Likewise.
33109 * sysdeps/i386/fpu/s_cos.S: Likewise.
33110 * sysdeps/i386/fpu/s_sin.S: Likewise.
33111 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33112 * sysdeps/i386/fpu/sincos32.c: Likewise.
33113
33114 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33115 Define.
33116 (libc_feupdateenv_53bit): Define.
33117 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33118 Define.
33119 (libc_feupdateenv_53bit): Define.
33120
33121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33122 53 bit (without extend i386 double precision).
33123
33124 * math/libm-test.inc (sincos_test): Add tests for large input.
33125 (sin): Likewise.
33126 (cos): Likewise.
33127
33128 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33129
9cad04ea
AS
331302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33131
33132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33133
f7062b9a
DM
331342012-03-15 David S. Miller <davem@davemloft.net>
33135
33136 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33137 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33138 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33139 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33152 file.
f7062b9a 33153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33155 file.
f7062b9a 33156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33158 file.
f7062b9a 33159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33161 file.
f7062b9a
DM
33162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33164 fmin/fmax sysdep routines.
33165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33166
7bd951ff
DM
331672012-03-14 David S. Miller <davem@davemloft.net>
33168
559398ab
DM
33169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33196 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33198 routines.
33199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33200 file.
559398ab 33201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33203 file.
559398ab 33204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33206 file.
559398ab 33207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33209 file.
559398ab 33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33212 file.
559398ab 33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33215 file.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33217 file.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33219 file.
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33221 file.
33222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33223 New file.
33224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33225 file.
33226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33227 file.
559398ab 33228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33230 file.
559398ab 33231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33233 file.
559398ab 33234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33236 file.
559398ab 33237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33239 VIS3 routines.
559398ab
DM
33240
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33242 New file.
33243
5a1c1e32
DM
33244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33245
eae47a36
DM
33246 * sysdeps/sparc/configure.in: New file.
33247 * sysdeps/sparc/configure: Generate.
33248 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33249 * configure: Regenerate.
33250 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33251 * config.make.in (have-as-vis3): New.
33252 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33253 available use -Av9d instead of -Av9a.
33254 * sysdeps/sparc/sparc64/Makefile: Likewise.
33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33257 New file.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33259 file.
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33261 New file.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33263 file.
eae47a36
DM
33264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33268 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33269
c0c83bc8
DM
33270 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33271 fzeros/fnegs to load 0x80000000 into a float register instead of
33272 using the stack.
7bd951ff
DM
33273 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33274
bd951ccb
JM
332752012-03-14 Joseph Myers <joseph@codesourcery.com>
33276
33277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33278 bits/syscall.h.
33279 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33280 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33281 ($(inst_includedir)/bits/syscall.h): Remove rule.
33282 ($(objpfx)bits/syscall.d): Include instead of
33283 $(objpfx)syscall-list.d.
33284 (generated): Change syscall-list.h and syscall-list.d to
33285 bits/syscall.h and bits/syscall.d.
33286
bb4e6db2
RM
332872012-03-14 Roland McGrath <roland@hack.frob.com>
33288
33289 [BZ #13846]
33290 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33291
aa4a2ae1
JM
332922012-03-14 Joseph Myers <joseph@codesourcery.com>
33293
e456826d
JM
33294 [BZ #13841]
33295 * math/s_csqrt.c: Include <float.h>.
33296 (__csqrt): Scale large or subnormal inputs.
33297 * math/s_csqrtf.c: Likewise.
33298 * math/s_csqrtl.c: Likewise.
33299 * math/libm-test.inc (csqrt_test): Add more tests.
33300 * sysdeps/i386/fpu/libm-test-ulps: Update.
33301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33302
aa4a2ae1
JM
33303 [BZ #13840]
33304 * math/libm-test.inc (hypot_test): Add more tests.
33305
7c10fd35
DM
333062012-03-13 David S. Miller <davem@davemloft.net>
33307
33308 [BZ #13840]
33309 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33310 double-precision for the calculation instead of scaling.
33311
f453b98b
JM
333122012-03-13 Joseph Myers <joseph@codesourcery.com>
33313
33314 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33315 manipulate bits before adding and subtracting TWO52[sx].
33316 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33317 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33318 Likewise.
33319 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33320
09a3453f
DM
333212012-03-13 David S. Miller <davem@davemloft.net>
33322
8e59da90
DM
33323 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33324 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33326 rtld-global-offsets.h
33327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33328
2a8ab7f2
DM
33329 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33330 large parameters.
33331
10f62770
DM
33332 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33333
5f0bdb18
DM
33334 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33335 'err' in the ifdef scope in which it is actually used.
33336
09a3453f
DM
33337 * nss/nss_db/db-init.c: Include string.h
33338
b4b2eb5e
DM
333392012-03-12 David S. Miller <davem@davemloft.net>
33340
98bb2f1c
DM
33341 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33342 masking out of the most significant byte of random value used.
33343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33344 Fix coding style in previous change.
33345
b4b2eb5e
DM
33346 * sysdeps/unix/sysv/linux/kernel-features.h
33347 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33348 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33349 expression.
33350 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33351 later.
33352
6e226b09
DM
333532012-03-11 David S. Miller <davem@davemloft.net>
33354
a1bcbd40
DM
33355 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33356 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33357 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33358 for 'resultvar' otherwise things get truncated on 64-bit.
33359
cb9d6174
DM
33360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33361 Fix masking out of the most significant byte of random value used.
33362
6e226b09
DM
33363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33364
058c132d
AS
333652012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33366
33367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33368
2d2cd515
DM
333692012-03-09 David S. Miller <davem@davemloft.net>
33370
33371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33372 variables with appropriate CPP guards.
33373 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33374 frame pointer, not the stack pointer. Correct layout comments. Fix test
33375 on resulting framesize and the management of the outregs buffer for pltexit.
33376 Preserve floating point return values across _dl_call_pltexit call.
33377 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33378 framesize and the management of the outregs buffer for pltexit.
33379 Preserve floating point return values across _dl_call_pltexit
33380 call.
33381 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33382 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33383 (print_exit): Fix format string for return register value.
33384
9a07f9d0
JM
333852012-03-10 Joseph Myers <joseph@codesourcery.com>
33386
33387 * sunrpc/Makefile (others): Add rpcgen.
33388 ($(objpfx)rpcgen): Remove special build rule and dependency on
33389 libc.
33390 * sunrpc/rpcgen.c: New file.
33391
547b5e30
PE
333922012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33393
c524201a
PE
33394 [BZ #13673]
33395 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33396 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33397 * sysdeps/i386/crti.S: Likewise.
33398 * sysdeps/i386/crtn.S: Likewise.
33399 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33400 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33401 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33402 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33403 * sysdeps/sh/crti.S: Likewise.
33404 * sysdeps/sh/crtn.S: Likewise.
33405 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33406
7b6235f2
PE
33407 [BZ #13673]
33408 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33409 with URL.
33410 * locale/programs/locfile-kw.gperf: Likewise.
33411 * locale/programs/charmap-kw.h: Regenerated.
33412 * locale/programs/locfile-kw.h: Likewise.
33413
547b5e30
PE
33414 [BZ #13673]
33415 * intl/plural.y: Replace FSF snail mail address with URL.
33416 * intl/plural.c: Regenerated.
33417
5f0a5dae
RH
334182012-03-09 Richard Henderson <rth@twiddle.net>
33419
33420 * include/math_private.h: Remove file.
33421 * math/math_private.h: Move file ...
33422 * sysdeps/generic/math_private.h: ... here.
33423
b8c03620
RH
33424 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33425 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33426 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33427
4e234f5d 33428 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33429 and <math_private.h>.
33430 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33431 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33432 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33433 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33434 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33435 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33436 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33437 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33438 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33439 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33441 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33442 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33443 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33444 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33445 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33446 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33447 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33448 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33449 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33451 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33452 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33454 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33455 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33456 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33457 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33459 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33460 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33462 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33463 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33464 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33465 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33466 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33467 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33468 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33469 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33470 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33471 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33472 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33473 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33474 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33475 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33476 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33477 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33478 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33479 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33480 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33481 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33482 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33483 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33484 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33485 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33486 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33487 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33488 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33489 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33490 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33491 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33492 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33493 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33501 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33502 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33504 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33508 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33509 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33510 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33511 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33512 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33516 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33518 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33519 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33520 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33521 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33522 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33523 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33524 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33525 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33526 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33527 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33528 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33529 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33530 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33531 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33532 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33533 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33534 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33535 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33536 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33537 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33538 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33539 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33540 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33541 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33542 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33543 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33544 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33545 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33546 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33547 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33548 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33549 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33550 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33551 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33552 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33553 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33554 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33555 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33556 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33557 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33558 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33559 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33560 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33561 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33562 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33563 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33564 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33565 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33566 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33567 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33568 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33569 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33570 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33571 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33572 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33573 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33574 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33575 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33576 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33577 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33578 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33579 * sysdeps/ieee754/k_standard.c: Likewise.
33580 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33581 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33582 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33583 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33584 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33585 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33586 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33587 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33588 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33589 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33590 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33591 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33592 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33593 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33594 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33595 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33596 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33597 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33598 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33599 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33600 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33601 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33602 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33603 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33604 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33605 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33606 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33607 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33608 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33609 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33610 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33611 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33612 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33613 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33614 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33615 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33616 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33617 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33619 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33620 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33621 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33622 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33623 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33624 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33625 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33627 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33695 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33699 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33700 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33702 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33707 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33712 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33721 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33728 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33729 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33730 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33740 * sysdeps/ieee754/s_lib_version.c: Likewise.
33741 * sysdeps/ieee754/s_matherr.c: Likewise.
33742 * sysdeps/ieee754/s_signgam.c: Likewise.
33743 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33744 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33745 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33746 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33747 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33748 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33749 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33750 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33751 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33752 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33753 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33754 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33755 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33756 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33757 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33758 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33759 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33760 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33761 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33762 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33763 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33764
1991fa03
JM
337652012-03-09 Joseph Myers <joseph@codesourcery.com>
33766
33767 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33768 * sunrpc/rpc_main.c: Likewise.
33769 * sunrpc/rpc_svcout.c: Likewise.
33770
60d6f5a6
DM
337712012-03-09 David S. Miller <davem@davemloft.net>
33772
33773 * include/math_private.h: New file.
33774
4962050e
JM
337752012-03-09 Joseph Myers <joseph@codesourcery.com>
33776
02a6f887
JM
33777 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33778 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33779 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33780 from <bits/socket_type.h>.
33781 (enum __socket_type): Don't define here.
33782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33784 bits/socket_type.h.
33785
c6e013c1
JM
33786 [BZ #13566]
33787 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33788 checking __USE_GNU.
33789
4962050e
JM
33790 * Makerules ($(inst_includedir)/%.h): New rule.
33791 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33792 (install-others): Remove variable setting.
33793 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33794
38842f45
RH
337952012-03-08 Richard Henderson <rth@twiddle.net>
33796
67bb6da6
RH
33797 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33798 from macro to inline function; merge with the
33799 !__LIBC_INTERNAL_MATH_INLINES version.
33800 (__ieee754_sqrtf): Likewise.
33801
15194b4b
RH
33802 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33803 to inline function.
33804 (__rintf, __floor, __floorf): Likewise.
33805
64e21ede
RH
33806 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33807 macro to inline function.
33808 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33809
38842f45
RH
33810 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33811 not <math/math_private.h>.
33812
c64bf5fe
DM
338132012-03-08 David S. Miller <davem@davemloft.net>
33814
33815 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33816 copyright year.
33817 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33818
82d86f28
TS
338192012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33820
33821 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33822 normalization.
33823 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33824 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33825
aea5d727
UD
338262012-03-08 Ulrich Drepper <drepper@gmail.com>
33827
33828 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33829 be defined individually, they must be defined as a block. Define
33830 S for printing a string instead of hidint the different by using a
33831 macro for adding the 'l'.
33832 * stdio-common/tst-fphex-wide.c: Adjust.
33833
70bca0a3
MP
338342012-03-07 Marek Polacek <polacek@redhat.com>
33835
33836 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33837
65b81130
MP
338382012-03-08 Marek Polacek <polacek@redhat.com>
33839
33840 [BZ #13806]
33841 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33842 * stdio-common/tst-fphex.c: Define a few macros to make the
33843 test reusable. Use them.
33844 * stdio-common/tst-fphex-wide.c: New file.
33845
07037eeb
JM
338462012-03-08 Joseph Myers <joseph@codesourcery.com>
33847
a7a93d50
JM
33848 [BZ #6911]
33849 * manual/macros.texi (gnusystems): New macro.
33850 (nongnusystems): Likewise.
33851 (gnulinuxhurdsystems): Likewise.
33852 (gnuhurdsystems): Likewise..
33853 (gnulinuxsystems): Likewise.
33854 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33855 variants of the GNU system, not "GNU system".
33856 * manual/conf.texi: Likewise.
33857 * manual/errno.texi: Likewise. Update example of errno macro
33858 expansion.
33859 * manual/filesys.texi: Likewise.
33860 (getumask): Document as specific to GNU/Hurd.
33861 * manual/install.texi: Likewise. Reword some references to
33862 GNU/Linux.
33863 * manual/intro.texi: Likewise.
33864 * manual/io.texi: Likewise.
33865 (File Name Portability): Detail which constraints are inapplicable
33866 to all GNU systems and which are only inapplicable to GNU/Hurd.
33867 * manual/job.texi: Likewise.
33868 * manual/llio.texi: Likewise.
33869 (O_NOCTTY): Document as present on GNU/Linux.
33870 * manual/maint.texi: Likewise.
33871 * manual/memory.texi: Likewise.
33872 * manual/pattern.texi: Likewise.
33873 * manual/pipe.texi: Likewise.
33874 * manual/process.texi: Likewise.
33875 * manual/resource.texi: Likewise.
33876 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33877 child on GNU/Hurd.
33878 * manual/setjmp.texi: Likewise.
33879 * manual/signal.texi: Likewise.
33880 * manual/startup.texi: Likewise.
33881 * manual/stdio.texi: Likewise.
33882 * manual/terminal.texi: Likewise.
33883 (ONLCR): Document as POSIX.
33884 (OXTABS): Document availability on GNU/Linux as XTABS.
33885 (ONOEOT): Document availability separately from other bits.
33886 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33887 * manual/time.texi: Likewise.
33888 * manual/users.texi: Likewise.
33889 * INSTALL: Regenerated.
33890 * sysdeps/gnu/errlist.c: Regenerated.
33891
07037eeb
JM
33892 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33893 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33894 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33895 puts.
33896 * configure: Regenerated.
33897
d1d3431a
JM
338982012-03-07 Joseph Myers <joseph@codesourcery.com>
33899
af6a1e37
JM
33900 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33901 default includes instead of AC_HEADER_CHECK.
33902 * sysdeps/i386/configure: Regenerated.
33903
d1d3431a
JM
33904 [BZ #10716]
33905 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33906 * math/s_cacoshf.c (__cacoshf): Likewise.
33907 * math/s_cacoshl.c (__cacoshl): Likewise.
33908 * math/s_casinh.c (__casinh): Set signs of result from argument.
33909 * math/s_casinhf.c (__casinhf): Likewise.
33910 * math/s_casinhl.c (__casinhl): Likewise.
33911 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33912 (casinh_test): Add more tests.
33913 * sysdeps/i386/fpu/libm-test-ulps: Update.
33914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33915
482ff4da
UD
339162012-03-07 Ulrich Drepper <drepper@gmail.com>
33917
872fda05
UD
33918 * po/zh_TW.po: Update from translation team.
33919
a4300c7a
UD
33920 * login/Makefile (distribute): Remove variable.
33921 * catgets/Makefile: Likewise.
33922 * mach/Makefile: Likewise.
33923 * malloc/Makefile: Likewise.
33924 * misc/Makefile: Likewise.
33925 * iconv/Makefile: Likewise.
33926 * nscd/Makefile: Likewise.
33927 * hurd/Makefile: Likewise.
33928 * manual/Makefile: Likewise.
33929 * locale/Makefile: Likewise.
33930 * intl/Makefile: Likewise.
33931 * conform/Makefile: Likewise.
33932 * nss/Makefile: Likewise.
33933 * time/Makefile: Likewise.
33934 * soft-fp/Makefile: Likewise.
33935 * dirent/Makefile: Likewise.
33936 * gmon/Makefile: Likewise.
33937 * po/Makefile: Likewise.
33938 * rt/Makefile: Likewise.
33939 * socket/Makefile: Likewise.
33940 * math/Makefile: Likewise.
33941 * signal/Makefile: Likewise.
33942 * debug/Makefile: Likewise.
33943 * elf/Makefile: Likewise.
33944 * timezone/Makefile: Likewise.
33945 * stdlib/Makefile: Likewise.
33946 * iconvdata/Makefile: Likewise.
33947 * sunrpc/Makefile: Likewise.
33948 * io/Makefile: Likewise.
33949 * argp/Makefile: Likewise.
33950 * inet/Makefile: Likewise.
33951 * hesiod/Makefile: Likewise.
33952 * grp/Makefile: Likewise.
33953 * csu/Makefile: Likewise.
33954 * wctype/Makefile: Likewise.
33955 * crypt/Makefile: Likewise.
33956 * libio/Makefile: Likewise.
33957 * string/Makefile: Likewise.
33958 * nis/Makefile: Likewise.
33959 * resolv/Makefile: Likewise.
33960 * stdio-common/Makefile: Likewise.
33961 * wcsmbs/Makefile: Likewise.
33962 * dlfcn/Makefile: Likewise.
33963 * posix/Makefile: Likewise.
33964
3b7c4e74 33965 [BZ #6959]
482ff4da
UD
33966 * timezone/Makefile: Don't install timezone files, just the programs
33967 and scripts.
33968
f72ed77d
UD
339692012-03-06 Ulrich Drepper <drepper@gmail.com>
33970
a000466f
UD
33971 * nss/databases.def: Add missing gshadow entry.
33972
f72ed77d
UD
33973 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33974
a53b7a4e
MP
339752012-03-06 Marek Polacek <polacek@redhat.com>
33976
33977 [BZ #13726]
33978 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33979 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33980 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33981 * stdio-common/tst-long-dbl-fphex.c: New file.
33982
e9258400
DM
339832012-03-06 David S. Miller <davem@davemloft.net>
33984
33985 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33986 (set_obp_int): New function.
33987 (get_obp_int): New function.
33988 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33989 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33990 Avoid unused variable warnings on 'val' and use builtin_expect.
33991 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33992 __builtin_expect.
e9258400
DM
33993 (INLINE_CLONE_SYSCALL): Likewise.
33994
3bd2c723
DM
339952012-03-05 David S. Miller <davem@davemloft.net>
33996
33997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33998
bbb78d03
AS
339992012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34000
884c5db4
AS
34001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34002
bbb78d03
AS
34003 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34004 only for |x| >= 40.
34005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34006
1c9f702a 340072012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34008
34009 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34010 Replace gettimeofday with __vdso_gettimeofday.
34011
7be16f82
RM
34012 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34013 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34014 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34015
34016 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34017 time with __vdso_time.
34018
ed58a00f
JM
340192012-03-05 Joseph Myers <joseph@codesourcery.com>
34020
34021 * manual/lang.texi (size_t): Note types to which size_t may be
34022 equivalent with the GNU C Library, but do not describe when
34023 differences between them are significant.
34024
30ee4ced
AJ
340252012-03-05 Andreas Jaeger <aj@suse.de>
34026
34027 * sysdeps/i386/fpu/libm-test-ulps: Update.
34028
b7cd39e8
JM
340292012-03-05 Joseph Myers <joseph@codesourcery.com>
34030
34031 [BZ #3976]
34032 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34033 (__ieee754_pow): Save and restore rounding mode and use
34034 round-to-nearest for main computations.
34035 * math/libm-test.inc (pow_test_tonearest): New function.
34036 (pow_test_towardzero): Likewise.
34037 (pow_test_downward): Likewise.
34038 (pow_test_upward): Likewise.
34039 (main): Call the new functions.
34040 * sysdeps/i386/fpu/libm-test-ulps: Update.
34041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34042
34043 [BZ #3976]
34044 * math/libm-test.inc (cosh_test_tonearest): New function.
34045 (cosh_test_towardzero): Likewise.
34046 (cosh_test_downward): Likewise.
34047 (cosh_test_upward): Likewise.
34048 (sinh_test_tonearest): Likewise.
34049 (sinh_test_towardzero): Likewise.
34050 (sinh_test_downward): Likewise.
34051 (sinh_test_upward): Likewise.
34052 (main): Call the new functions.
34053 * sysdeps/i386/fpu/libm-test-ulps: Update.
34054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34055
6c6a98c9
TV
340562012-03-05 Tom de Vries <tom@codesourcery.com>
34057
34058 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34059 default stack guard is set in last bytes.
34060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34061
21bb2d2e 340622012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34063
21bb2d2e 34064 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34065
21bb2d2e
AJ
34066 [BZ #13656]
34067 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34068 possibly allocate from heap instead of stack.
34069 * stdio-common/bug-vfprintf-nargs.c: New file.
34070 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34071
c6922934
AS
340722012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34073
34074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34075
bc957d53
MP
340762012-03-03 Marek Polacek <polacek@redhat.com>
34077
34078 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34079 * math/math_private.h: Likewise.
34080 * stdlib/tst-strtod.c: Likewise.
34081 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34082 * sysdeps/x86_64/bits/atomic.h: Likewise.
34083
6358490d
DM
340842012-03-02 David S. Miller <davem@davemloft.net>
34085
34086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34090 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34091 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34092 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34093 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34094
01ae168d
RM
340952012-03-02 Roland McGrath <roland@hack.frob.com>
34096
d9a17c07
RM
34097 [BZ #13792]
34098 * manual/examples/README: New file, says the example source files
34099 can be used under GPL>=2.
34100 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34101 line containing just "*/".
34102 * manual/examples/add.c: Add copyright header (GPL>=2).
34103 * manual/examples/argp-ex1.c: Likewise.
34104 * manual/examples/argp-ex2.c: Likewise.
34105 * manual/examples/argp-ex3.c: Likewise.
34106 * manual/examples/argp-ex4.c: Likewise.
34107 * manual/examples/atexit.c: Likewise.
34108 * manual/examples/db.c: Likewise.
34109 * manual/examples/dir.c: Likewise.
34110 * manual/examples/dir2.c: Likewise.
34111 * manual/examples/execinfo.c: Likewise.
34112 * manual/examples/filecli.c: Likewise.
34113 * manual/examples/filesrv.c: Likewise.
34114 * manual/examples/fmtmsgexpl.c: Likewise.
34115 * manual/examples/genpass.c: Likewise.
34116 * manual/examples/inetcli.c: Likewise.
34117 * manual/examples/inetsrv.c: Likewise.
34118 * manual/examples/isockad.c: Likewise.
34119 * manual/examples/longopt.c: Likewise.
34120 * manual/examples/memopen.c: Likewise.
34121 * manual/examples/memstrm.c: Likewise.
34122 * manual/examples/mkfsock.c: Likewise.
34123 * manual/examples/mkisock.c: Likewise.
34124 * manual/examples/mygetpass.c: Likewise.
34125 * manual/examples/pipe.c: Likewise.
34126 * manual/examples/popen.c: Likewise.
34127 * manual/examples/rprintf.c: Likewise.
34128 * manual/examples/search.c: Likewise.
34129 * manual/examples/select.c: Likewise.
34130 * manual/examples/setjmp.c: Likewise.
34131 * manual/examples/sigh1.c: Likewise.
34132 * manual/examples/sigusr.c: Likewise.
34133 * manual/examples/stpcpy.c: Likewise.
34134 * manual/examples/strdupa.c: Likewise.
34135 * manual/examples/strftim.c: Likewise.
34136 * manual/examples/strncat.c: Likewise.
34137 * manual/examples/subopt.c: Likewise.
34138 * manual/examples/swapcontext.c: Likewise.
34139 * manual/examples/termios.c: Likewise.
34140 * manual/examples/testopt.c: Likewise.
34141 * manual/examples/testpass.c: Likewise.
34142 * manual/examples/timeval_subtract.c: Likewise.
34143
01ae168d
RM
34144 [BZ #13792]
34145 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34146 function to ...
34147 * manual/timeval_subtract.c.texi: ... here, new file.
34148
49efa33d
DM
341492012-03-02 David S. Miller <davem@davemloft.net>
34150
34151 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34152
28afd92d
JM
341532012-03-02 Joseph Myers <joseph@codesourcery.com>
34154
804360ed
JM
34155 [BZ #3976]
34156 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34157 (__sin): Save and restore rounding mode and use round-to-nearest
34158 for all computations.
34159 (__cos): Save and restore rounding mode and use round-to-nearest
34160 for all computations.
34161 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34162 <fenv.h>.
34163 (tan): Save and restore rounding mode and use round-to-nearest for
34164 all computations.
34165 * math/libm-test.inc (cos_test_tonearest): New function.
34166 (cos_test_towardzero): Likewise.
34167 (cos_test_downward): Likewise.
34168 (cos_test_upward): Likewise.
34169 (sin_test_tonearest): Likewise.
34170 (sin_test_towardzero): Likewise.
34171 (sin_test_downward): Likewise.
34172 (sin_test_upward): Likewise.
34173 (tan_test_tonearest): Likewise.
34174 (tan_test_towardzero): Likewise.
34175 (tan_test_downward): Likewise.
34176 (tan_test_upward): Likewise.
34177 (main): Call the new functions.
34178 * sysdeps/i386/fpu/libm-test-ulps: Update.
34179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34180
a6d06d7b
JM
34181 [BZ #10135]
34182 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34183 small n, then large n, before computing and testing k+n.
34184 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34186 Likewise.
34187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34188 Likewise.
34189 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34190 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34191 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34192 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34193 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34194 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34195 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34196 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34197 * math/libm-test.inc (scalbn_test): Add more tests.
34198 (scalbln_test): Likewise.
34199
07e12bb3
JM
34200 * manual/filesys.texi (mode_t): Describe constraints on size and
34201 signedness, not exact equivalence to a particular type.
34202 (ino_t): Likewise.
34203 (ino64_t): Likewise.
34204 (dev_t): Likewise.
34205 (nlink_t): Likewise.
34206 (blkcnt_t): Likewise.
34207 (blkcnt64_t): Likewise.
34208 * manual/llio.texi (off_t): Likewise.
34209
28afd92d
JM
34210 [BZ #3976]
34211 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34212 (__ieee754_exp): Save and restore rounding mode and use
34213 round-to-nearest for all computations.
34214 * math/libm-test.inc (exp_test_tonearest): New function.
34215 (exp_test_towardzero): Likewise.
34216 (exp_test_downward): Likewise.
34217 (exp_test_upward): Likewise.
34218 (main): Call the new functions.
34219 * sysdeps/i386/fpu/libm-test-ulps: Update.
34220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34221
b1eeb65d
CD
342222012-03-01 Chris Demetriou <cgd@google.com>
34223
34224 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34225 have predictable order.
34226
53362a4b
DM
342272012-03-01 David S. Miller <davem@davemloft.net>
34228
3c969083
DM
34229 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34230
759707de
DM
34231 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34232 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34233 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34234 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34235
dfdb8ff2
DM
34236 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34237 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34238 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34240 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34241 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34242 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34243 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34244 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34245
ead89f96
DM
34246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34247
7f66bd07
DM
34248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34249 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34250 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34251
53362a4b
DM
34252 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34253 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34254 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34255 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34256 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34259 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34260 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34261 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34262 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34263 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34265 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34266 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34268 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34269 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34270 * sysdeps/sparc/elf/configure: Regenerated.
34271
7b1902cb
JM
342722012-03-01 Joseph Myers <joseph@codesourcery.com>
34273
bec039bc
JM
34274 * configure.in (AS, LD): Require binutils 2.20 or later.
34275 * configure: Regenerated.
34276 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34277 as required minimum version.
34278 * INSTALL: Regenerated.
34279
7b1902cb
JM
34280 [BZ #2541]
34281 [BZ #4108]
34282 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34283 before squaring exponent.
34284 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34285 bottom long double and 27 bits of top long double before squaring
34286 exponent.
34287 * math/libm-test.inc (erfc_test): Add more tests.
34288 * sysdeps/i386/fpu/libm-test-ulps: Update.
34289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34291
f775c276
KT
342922012-03-01 Kai Tietz <ktietz@redhat.com>
34293
34294 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34295 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34296 containing bit-fields.
34297 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34298 * soft-fp/single.h (_FP_UNION_S): Likewise.
34299 * soft-fp/double.h (_FP_UNION_D): Likewise.
34300
5b8a4d4a
JM
343012012-02-29 Joseph Myers <joseph@codesourcery.com>
34302
0bab47b6
JM
34303 [BZ #13786]
34304 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34305 not include ../strcmp.S.
34306 [USE_AS_STRNCASECMP_L]: Likewise.
34307 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34308 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34309 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34310 (__strncasecmp_l_ia32): Define as alias to
34311 __strncasecmp_l_nonascii.
34312
0fcad3e2
JM
34313 [BZ #5794]
34314 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34315 * sysdeps/i386/fpu/libm-test-ulps: Update.
34316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34317
5b8a4d4a
JM
34318 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34320
8fdceb2e
JL
343212012-02-29 Jeff Law <law@redhat.com>
34322
34323 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34324 out of bounds read.
34325
1f393a11
MP
343262012-02-29 Marek Polacek <polacek@redhat.com>
34327
34328 [BZ #13706]
34329 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34330 * elf/Makefile: Add rules to run tst-unused-dep.out.
34331
8847f037
DM
343322012-02-28 David S. Miller <davem@davemloft.net>
34333
34334 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34335 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34336 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34337 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34338 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34339 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34340
169d7f11
JM
343412012-02-29 Joseph Myers <joseph@codesourcery.com>
34342
34343 * math/libm-test.inc (llround_test): Move one test from
34344 lround_test. Use TEST_f_L in moved test.
34345 (lround_test): Move misplaced test to llround_test. Add testcase
34346 from bug 2561.
34347
39adf059
UD
343482012-02-28 Ulrich Drepper <drepper@gmail.com>
34349
34350 * sysdeps/x86_64/fpu/e_expf.S: New file.
34351 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34352
71b5d1c5
SB
343532012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34354
34355 [BZ #13637]
34356 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34357 of remain_len that may cause incomplete multi-byte character and
34358 false match.
34359 * posix/bug-regex33.c: New file.
34360 * posix/Makefile (tests): Add bug-regex33.
34361
1f77f049
JM
343622012-02-28 Joseph Myers <joseph@codesourcery.com>
34363
34364 * manual/macros.texi: New file.
34365 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34366 * manual/libc.texinfo: Include macros.texi.
34367 * manual/creatute.texi: Likewise.
34368 * manual/install.texi: Likewise.
34369 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34370 @glibcadj{} in references to the GNU C Library.
34371 * manual/charset.texi: Likewise.
34372 * manual/conf.texi: Likewise.
34373 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34374 when not using those macros.
34375 * manual/creature.texi: Likewise.
34376 * manual/crypt.texi: Likewise.
34377 * manual/errno.texi: Likewise.
34378 * manual/filesys.texi: Likewise.
34379 * manual/header.texi: Likewise.
34380 * manual/install.texi: Likewise.
34381 * manual/intro.texi: Likewise.
34382 * manual/io.texi: Likewise.
34383 * manual/job.texi: Likewise.
34384 * manual/lang.texi: Likewise.
34385 * manual/libc.texiinfo: Likewise.
34386 * manual/llio.texi: Likewise.
34387 * manual/locale.texi: Likewise.
34388 * manual/maint.texi: Likewise.
34389 * manual/math.texi: Likewise.
34390 * manual/memory.texi: Likewise.
34391 * manual/message.texi: Likewise.
34392 * manual/nss.texi: Likewise.
34393 * manual/pattern.texi: Likewise.
34394 * manual/process.texi: Likewise.
34395 * manual/resource.texi: Likewise.
34396 * manual/search.texi: Likewise.
34397 * manual/setjmp.texi: Likewise.
34398 * manual/signal.texi: Likewise.
34399 * manual/socket.texi: Likewise.
34400 * manual/startup.texi: Likewise.
34401 * manual/stdio.texi: Likewise.
34402 * manual/string.texi: Likewise.
34403 * manual/sysinfo.texi: Likewise.
34404 * manual/syslog.texi: Likewise.
34405 * manual/terminal.texi: Likewise.
34406 * manual/time.texi: Likewise.
34407 * manual/users.texi: Likewise.
34408 * INSTALL: Regenerated.
34409 * NOTES: Regenerated.
d40c5d54 34410 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34411
450bf206
AS
344122012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34413
34414 * include/dirent.h: Include <dirstream.h> before
34415 <dirent/dirent.h>.
34416
741a235b
DM
344172012-02-28 David S. Miller <davem@davemloft.net>
34418
34419 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34420 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34421 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34422 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34423
d6b5aa58
DM
344242012-02-27 David S. Miller <davem@davemloft.net>
34425
1aff59a3
DM
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34428 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34429 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34430
d6b5aa58
DM
34431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34432 frame pointer instead of stack pointer relative arg slot.
34433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34436
433f48bf
CD
344372012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34438
34439 [BZ #3992]
34440 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34441
d674b76d
DM
344422012-02-27 David S. Miller <davem@davemloft.net>
34443
34444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34448 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34449 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34450 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34451 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34452
0e7727f7
JM
344532012-02-27 Joseph Myers <joseph@codesourcery.com>
34454
34455 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34456 later. Allow versions 5-9.
43be4ca2 34457 * configure: Regenerated.
0e7727f7
JM
34458 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34459 required minimum version and 4.6 as recommended version. Do not
34460 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34461 * INSTALL: Regenerated.
0e7727f7 34462
a78bc654
DM
344632012-02-27 David S. Miller <davem@davemloft.net>
34464
428d5830
DM
34465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34471 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34472 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34473
a78bc654
DM
34474 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34475 manipulate bits before adding and subtracting TWO112[sx].
34476 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34477
4579f81c
RM
344782012-02-27 Roland McGrath <roland@hack.frob.com>
34479
36c8acb4
RM
34480 [BZ #13775]
34481 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34482 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34483 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34484 being in POSIX, because they are in 1003.1-2008.
34485
84ad622b
RM
34486 * rt/tst-aio.c: Include <fcntl.h>.
34487 * rt/tst-aio7.c: Likewise.
34488 * rt/tst-aio64.c: Likewise.
34489
4579f81c
RM
34490 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34491
abd923db
JM
344922012-02-27 Joseph Myers <joseph@codesourcery.com>
34493
34494 * manual/install.texi (--with-headers): Describe headers as
34495 interface headers, not private headers.
34496 (Specific advice for GNU/Linux systems): Describe use of headers
34497 from "make headers_install", not private headers from older
34498 kernels.
43be4ca2 34499 * INSTALL: Regenerated.
abd923db
JM
34500 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34501 Change to 2.6.19.
34502 * sysdeps/unix/sysv/linux/configure: Regenerated.
34503
6664049b
JM
34504 * manual/llio.texi (fclean): Remove documentation.
34505
bb8b6697
JM
34506 * manual/Makefile (libc-texi-generated): New variable. Include
34507 version.texi.
34508 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34509 $(libc-texi-generated), not duplicated list of files.
34510 (version.texi, stamp-version): New rules.
34511 (realclean): Remove $(libc-texi-generated), not individual files
34512 from that list. Do not remove dir-add.texinfo.
34513 * manual/libc.texinfo: Comment out uses of edition numbers and
34514 references to printed manual. Remove last-updated dates.
34515 (EDITION): Comment out.
34516 (ISBN): Likewise.
34517 (VERSION, UPDATED): Remove.
34518 (version.texi): Include.
34519
12e5c3b9
AS
345202012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34521
34522 * sysdeps/posix/spawni.c: Include <signal.h>.
34523 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34524 * sysdeps/pthread/aio_fsync.c: Likewise.
34525
4efeffc1 345262012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34527
ba63ba08
UD
34528 * conform/Makefile (tests): Run only when not cross-compiling and
34529 when fast-check is not defined.
34530
d94a4670
UD
34531 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34532 * conform/data/limits.h-data: Fixes for POSIX2008.
34533 * conform/run-conformtest.sh: Run all tests.
34534 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34535 headers.
34536 * include/bits/dlfcn.h: Likewise.
34537 * include/langinfo.h: Likewise.
34538 * include/monetary.h: Likewise.
34539 * include/sys/poll.h: Likewise.
34540
34541 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34542 for __USE_GNU.
34543 * posix/spawn.h: Define __need_sigset_t.
34544 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34545 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34546 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34547 to get sigevent_t only.
34548 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34549 only for __USE_GNU.
34550 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34551 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34552 process_vm_writev only for __USE_GNU.
34553 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34554
34555 * conform/Makefile: For now ignore errors from run-conformtest.
34556 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34557 POSIX to avoid namespace pollution. Don't prepend headers.
34558 * conform/data/aio.h-data: Fixes for POSIX testing.
34559 * conform/data/fcntl.h-data: Likewise.
34560 * conform/data/glob.h-data: Likewise.
34561 * conform/data/grp.h-data: Likewise.
34562 * conform/data/pthread.h-data: Likewise.
34563 * conform/data/pwd.h-data: Likewise.
34564 * conform/data/signal.h-data: Likewise.
34565 * conform/data/spawn.h-data: Likewise.
34566 * conform/data/stdio.h-data: Likewise.
34567 * conform/data/stdlib.h-data: Likewise.
34568 * conform/data/stropts.h-data: Likewise.
34569 * conform/data/sys/mman.h-data: Likewise.
34570 * conform/data/sys/stat.h-data: Likewise.
34571 * conform/data/sys/types.h-data: Likewise.
34572 * conform/data/sys/wait.h-data: Likewise.
34573 * conform/data/time.h-data: Likewise.
34574 * conform/data/unistd.h-data: Likewise.
34575 * conform/data/utime.h-data: Likewise.
34576
34577 * io/sys/stat.h: fchmod was always in POSIX.
34578 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34579 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34580 * rt/aio.h: Define __need_timespec before including <time.h>.
34581 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34582 struct. Add forward declaration of pthread_attr_t and use it in
34583 sigevent.
34584 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34585 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34586 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34587 always remove CLK_TCK definition.
34588
c20105c3
AS
345892012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34590
34591 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34592
7a270350
UD
345932012-02-25 Ulrich Drepper <drepper@gmail.com>
34594
31341567
UD
34595 * conform/run-conformtest.sh: New file.
34596 * conform/Makefile: Run run-conformtest for tests.
34597 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34598 support.
34599
34600 * conform/data/uchar.h-data: New file.
34601 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34602 * conform/data/arpa/inet.h-data: Likewise.
34603 * conform/data/assert.h-data: Likewise.
34604 * conform/data/complex.h-data: Likewise.
34605 * conform/data/cpio.h-data: Likewise.
34606 * conform/data/ctype.h-data: Likewise.
34607 * conform/data/dirent.h-data: Likewise.
34608 * conform/data/dlfcn.h-data: Likewise.
34609 * conform/data/errno.h-data: Likewise.
34610 * conform/data/fcntl.h-data: Likewise.
34611 * conform/data/float.h-data: Likewise.
34612 * conform/data/fmtmsg.h-data: Likewise.
34613 * conform/data/fnmatch.h-data: Likewise.
34614 * conform/data/ftw.h-data: Likewise.
34615 * conform/data/glob.h-data: Likewise.
34616 * conform/data/grp.h-data: Likewise.
34617 * conform/data/iconv.h-data: Likewise.
34618 * conform/data/inttypes.h-data: Likewise.
34619 * conform/data/langinfo.h-data: Likewise.
34620 * conform/data/libgen.h-data: Likewise.
34621 * conform/data/limits.h-data: Likewise.
34622 * conform/data/locale.h-data: Likewise.
34623 * conform/data/math.h-data: Likewise.
34624 * conform/data/monetary.h-data: Likewise.
34625 * conform/data/mqueue.h-data: Likewise.
34626 * conform/data/ndbm.h-data: Likewise.
34627 * conform/data/net/if.h-data: Likewise.
34628 * conform/data/netdb.h-data: Likewise.
34629 * conform/data/netinet/in.h-data: Likewise.
34630 * conform/data/nl_types.h-data: Likewise.
34631 * conform/data/poll.h-data: Likewise.
34632 * conform/data/pthread.h-data: Likewise.
34633 * conform/data/pwd.h-data: Likewise.
34634 * conform/data/regex.h-data: Likewise.
34635 * conform/data/sched.h-data: Likewise.
34636 * conform/data/search.h-data: Likewise.
34637 * conform/data/semaphore.h-data: Likewise.
34638 * conform/data/setjmp.h-data: Likewise.
34639 * conform/data/signal.h-data: Likewise.
34640 * conform/data/spawn.h-data: Likewise.
34641 * conform/data/stdarg.h-data: Likewise.
34642 * conform/data/stdio.h-data: Likewise.
34643 * conform/data/stdlib.h-data: Likewise.
34644 * conform/data/string.h-data: Likewise.
34645 * conform/data/strings.h-data: Likewise.
34646 * conform/data/stropts.h-data: Likewise.
34647 * conform/data/sys/ipc.h-data: Likewise.
34648 * conform/data/sys/mman.h-data: Likewise.
34649 * conform/data/sys/msg.h-data: Likewise.
34650 * conform/data/sys/resource.h-data: Likewise.
34651 * conform/data/sys/select.h-data: Likewise.
34652 * conform/data/sys/sem.h-data: Likewise.
34653 * conform/data/sys/shm.h-data: Likewise.
34654 * conform/data/sys/socket.h-data: Likewise.
34655 * conform/data/sys/stat.h-data: Likewise.
34656 * conform/data/sys/statvfs.h-data: Likewise.
34657 * conform/data/sys/time.h-data: Likewise.
34658 * conform/data/sys/timeb.h-data: Likewise.
34659 * conform/data/sys/times.h-data: Likewise.
34660 * conform/data/sys/types.h-data: Likewise.
34661 * conform/data/sys/uio.h-data: Likewise.
34662 * conform/data/sys/un.h-data: Likewise.
34663 * conform/data/sys/utsname.h-data: Likewise.
34664 * conform/data/sys/wait.h-data: Likewise.
34665 * conform/data/syslog.h-data: Likewise.
34666 * conform/data/tar.h-data: Likewise.
34667 * conform/data/termios.h-data: Likewise.
34668 * conform/data/utime.h-data: Likewise.
34669 * conform/data/utmpx.h-data: Likewise.
34670 * conform/data/varargs.h-data: Likewise.
34671 * conform/data/wchar.h-data: Likewise.
34672 * conform/data/wctype.h-data: Likewise.
34673 * conform/data/wordexp.h-data: Likewise.
34674
34675 * include/stropts.h: New file.
34676 * include/uchar.h: New file.
34677 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34678 * include/assert.h: Likewise.
34679 * include/ctype.h: Likewise.
34680 * include/dirent.h: Likewise.
34681 * include/dlfcn.h: Likewise.
34682 * include/fcntl.h: Likewise.
34683 * include/fnmatch.h: Likewise.
34684 * include/glob.h: Likewise.
34685 * include/grp.h: Likewise.
34686 * include/libio.h: Likewise.
34687 * include/locale.h: Likewise.
34688 * include/math.h: Likewise.
34689 * include/net/if.h: Likewise.
34690 * include/netdb.h: Likewise.
34691 * include/netinet/in.h: Likewise.
34692 * include/pthread.h: Likewise.
34693 * include/pwd.h: Likewise.
34694 * include/regex.h: Likewise.
34695 * include/sched.h: Likewise.
34696 * include/search.h: Likewise.
34697 * include/setjmp.h: Likewise.
34698 * include/signal.h: Likewise.
34699 * include/stdio.h: Likewise.
34700 * include/stdlib.h: Likewise.
34701 * include/string.h: Likewise.
34702 * include/sys/cdefs.h: Likewise.
34703 * include/sys/mman.h: Likewise.
34704 * include/sys/msg.h: Likewise.
34705 * include/sys/resource.h: Likewise.
34706 * include/sys/select.h: Likewise.
34707 * include/sys/socket.h: Likewise.
34708 * include/sys/stat.h: Likewise.
34709 * include/sys/statvfs.h: Likewise.
34710 * include/sys/time.h: Likewise.
34711 * include/sys/times.h: Likewise.
34712 * include/sys/uio.h: Likewise.
34713 * include/sys/utsname.h: Likewise.
34714 * include/sys/wait.h: Likewise.
34715 * include/termios.h: Likewise.
34716 * include/time.h: Likewise.
34717 * include/ulimit.h: Likewise.
34718 * include/unistd.h: Likewise.
34719 * include/utime.h: Likewise.
34720 * include/wchar.h: Likewise.
34721 * include/wctype.h: Likewise.
34722 * include/wordexp.h: Likewise.
34723
34724 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34725
7a270350
UD
34726 * time/time.h: TIME_UTC must be a macro.
34727 Make timespec_get available for ISO C11 only as well.
34728
7724defc
UD
347292012-02-24 Ulrich Drepper <drepper@gmail.com>
34730
34731 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34732 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34733
6b1d1d46
JM
347342012-02-24 Joseph Myers <joseph@codesourcery.com>
34735
34736 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34737
0f8bbd69
JM
347382012-02-24 Joseph Myers <joseph@codesourcery.com>
34739
34740 * manual/texinfo.tex: Update to version 2012-01-19.16.
34741
66ab80bc
JM
347422012-02-24 Joseph Myers <joseph@codesourcery.com>
34743
34744 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34745
74981cc5
RM
347462012-02-24 Roland McGrath <roland@hack.frob.com>
34747
ee968201
RM
34748 [BZ #13738]
34749 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34750 * manual/fdl-1.3.texi: New file.
34751 * manual/fdl-1.1.texi: File removed.
34752
74981cc5
RM
34753 [BZ #13738]
34754 * manual/libc.texinfo (FDL_VERSION): New @set.
34755 Use it for mention of FDL in cover text.
34756 (Documentation License): Use it in @include file name.
34757
7bb764bc
JM
347582012-02-22 Joseph Myers <joseph@codesourcery.com>
34759 Roland McGrath <roland@hack.frob.com>
34760
34761 [BZ #5461]
34762 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34763 not LONG_LONG_MAX and LONG_LONG_MIN.
34764 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34765 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34766 name.
34767 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34768
6cbeae47
JM
347692012-02-22 Joseph Myers <joseph@codesourcery.com>
34770
34771 [BZ #2547]
34772 [BZ #11365]
34773 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34774 manipulate bits before adding and subtracting TWO23[sx].
34775 * math/libm-test.inc (nearbyint_test): Add more tests.
34776
fe45ce09
JM
347772012-02-22 Joseph Myers <joseph@codesourcery.com>
34778
34779 [BZ #2548]
34780 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34781 bits before adding and subtracting TWO23[sx].
34782 * math/libm-test.inc (rint_test): Add more tests.
34783 (rint_test_tonearest): Likewise.
34784 (rint_test_towardzero): Likewise.
34785 (rint_test_downward): Likewise.
34786 (rint_test_upward: Likewise.
34787
ff3b3d82
JM
347882012-02-22 Joseph Myers <joseph@codesourcery.com>
34789
34790 [BZ #10110]
34791 * include/stdc-predef.h: New file. Extracted from features.h.
34792 * include/features.h: Include stdc-predef.h.
34793 * Makefile (headers): Add stdc-predef.h.
34794 * CONFORMANCE (Compiler limitations): Update.
34795
ef0aab35
JM
347962012-02-22 Joseph Myers <joseph@codesourcery.com>
34797
34798 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34799
58639409
DM
348002012-02-21 David S. Miller <davem@davemloft.net>
34801
34802 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34803 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34804
c0e70b25
DM
348052012-02-20 David S. Miller <davem@davemloft.net>
34806
34807 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34808 using a normal save/restore sequence, rather than allocating a
34809 dummy stack frame just to store a frame pointer and restore.
34810 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34811
fb06851d
JM
348122012-02-21 Joseph Myers <joseph@codesourcery.com>
34813
34814 * manual/install.texi: Fix stray word in line-wrapped comment.
34815
7a8b71c3
DM
348162012-02-20 David S. Miller <davem@davemloft.net>
34817
d510c123
DM
34818 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34819 both binutils and gcc support GOTDATA.
34820
0722d7c2
DM
34821 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34822 "rd %pc" in the PIC register setup sequences.
34823
3d2b3019
DM
34824 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34825 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34826 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34827 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34828 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34830 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34831 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34832 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34833 (SYSCALL_ERROR_HANDLER): Likewise.
34834 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34837 (SYSCALL_ERROR_HANDLER): Likewise.
34838
c80098a9
DM
34839 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34840 (HAVE_GCC_GOTDATA): New.
34841 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34842 relocation support in both binutils and gcc.
34843 * sysdeps/sparc/elf/configure: Regenerate.
34844
3a2545a0
DM
34845 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34846 * sysdeps/sparc/sparc32/elf/configure: Delete.
34847 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34848 * sysdeps/sparc/sparc64/elf/configure: Delete.
34849 * sysdeps/sparc/elf/configure.in: New file.
34850 * sysdeps/sparc/elf/configure: Generate.
34851
7a8b71c3
DM
34852 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34853 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34854 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34855 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34856 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34857
f1e86fca
JM
348582012-02-21 Joseph Myers <joseph@codesourcery.com>
34859
34860 * manual/install.texi: Do not mention specific glibc version
34861 numbers.
34862 * manual/libc.texinfo (VERSION, UPDATED): Update.
34863 (@copying): Use @copyright{} and range of years.
34864
0e7dfaef
JM
348652012-02-21 Joseph Myers <joseph@codesourcery.com>
34866
34867 [BZ #13695]
34868 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34869 [crti.S not in sysdirs] (generated): Do not append.
34870 [crti.S not in sysdirs] (omit-deps): Likewise.
34871 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34872 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34873 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34874 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34875 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34876 Likewise.
34877 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34878 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34879 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34880 * csu/defs.awk: Remove file.
34881 * sysdeps/generic/initfini.c: Likewise.
34882 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34883 variable.
34884 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34885 Likewise.
34886
599af3ca
JM
348872012-02-20 Joseph Myers <joseph@codesourcery.com>
34888
34889 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34890 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34891 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34892 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34893 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34894 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34895 <bits/epoll.h>.
34896 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34897 (__EPOLL_PACKED): Define to empty if not defined by
34898 <bits/epoll.h>.
34899 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34901 bits/epoll.h.
34902
0e499750
JM
349032012-02-20 Joseph Myers <joseph@codesourcery.com>
34904
34905 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34906 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34907 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34908 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34909 <bits/timerfd.h>.
34910 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34912 bits/timerfd.h.
34913
5ad91f6e
JM
349142012-02-20 Joseph Myers <joseph@codesourcery.com>
34915
34916 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34917 in C locale.
34918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34919 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34920 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34922
06b99b02
AJ
349232012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34924
34925 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34926 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34927
7638c0fd
AS
349282012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34929
34930 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34931 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34932 defined.
34933 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34934 Likewise.
34935 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34936 entry for 2.16.
34937
92221550
AJ
349382012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34939
34940 * math/w_acos.c: Use non-signaling floating-point comparisons.
34941 * math/w_acosf.c: Likewise.
34942 * math/w_acosh.c: Likewise.
34943 * math/w_acoshf.c: Likewise.
34944 * math/w_acoshl.c: Likewise.
34945 * math/w_acosl.c: Likewise.
34946 * math/w_asin.c: Likewise.
34947 * math/w_asinf.c: Likewise.
34948 * math/w_asinl.c: Likewise.
34949 * math/w_atanh.c: Likewise.
34950 * math/w_atanhf.c: Likewise.
34951 * math/w_atanhl.c: Likewise.
34952 * math/w_exp2.c: Likewise.
34953 * math/w_exp2f.c: Likewise.
34954 * math/w_exp2l.c: Likewise.
34955 * math/w_j0.c: Likewise.
34956 * math/w_j0f.c: Likewise.
34957 * math/w_j0l.c: Likewise.
34958 * math/w_j1.c: Likewise.
34959 * math/w_j1f.c: Likewise.
34960 * math/w_j1l.c: Likewise.
34961 * math/w_jn.c: Likewise.
34962 * math/w_jnf.c: Likewise.
34963 * math/w_log.c: Likewise.
34964 * math/w_log10.c: Likewise.
34965 * math/w_log10f.c: Likewise.
34966 * math/w_log10l.c: Likewise.
34967 * math/w_log2.c: Likewise.
34968 * math/w_log2f.c: Likewise.
34969 * math/w_log2l.c: Likewise.
34970 * math/w_logf.c: Likewise.
34971 * math/w_logl.c: Likewise.
34972 * math/w_sqrt.c: Likewise.
34973 * math/w_sqrtf.c: Likewise.
34974 * math/w_sqrtl.c: Likewise.
34975 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34976 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34977 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34978 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34979 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34980
ebaf36eb
JM
349812012-02-19 Joseph Myers <joseph@codesourcery.com>
34982
34983 [BZ #9739]
34984 * manual/string.texi (strnlen): Use correct parameter name in
34985 equivalent expression.
34986
71c254a6
JM
349872012-02-19 Joseph Myers <joseph@codesourcery.com>
34988
34989 [BZ #11174]
34990 * manual/users.texi (seteuid): Consistently use neweuid for
34991 argument name.
34992
16d2c631
JM
349932012-02-19 Joseph Myers <joseph@codesourcery.com>
34994
34995 [BZ #13704]
34996 * manual/nss.texi (Services in the NSS configuration): Correct
34997 list of services in example configuration file.
34998
cd837b09
NB
349992012-02-19 Nick Bowler <nbowler@draconx.ca>
35000
35001 [BZ #11322]
35002 * manual/arith.texi: Remove statements about negative zero
35003 behaving identically to zero.
35004
02c4bbad
JM
350052012-02-18 Joseph Myers <joseph@codesourcery.com>
35006
35007 [BZ #5993]
35008 * manual/install.texi: Do not document upgrading from libc5.
35009
366842e7
JM
350102012-02-18 Joseph Myers <joseph@codesourcery.com>
35011
35012 [BZ #4596]
35013 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35014
dd54084d
DM
350152012-02-18 David S. Miller <davem@davemloft.net>
35016
35017 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35018 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35019 %o7 across the call.
35020 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35021 instead.
35022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35023 SETUP_PIC_REG_LEAF.
35024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35025 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35026 * sysdeps/sparc/crtn.S: Likewise.
35027
2bcc53a3
UD
350282012-02-17 Ulrich Drepper <drepper@gmail.com>
35029
35030 * aout/Makefile: Remove.
35031
09c093b5
RK
350322012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35033
35034 [BZ #13058]
35035 * manual/examples/argp-ex1.c (main): Format definition in GNU
35036 style.
35037 * manual/examples/argp-ex2.c (main): Likewise.
35038 * manual/examples/argp-ex3.c (main): Likewise.
35039 * manual/examples/argp-ex4.c (main): Likewise.
35040 * manual/examples/longopt.c (main): Use new-style prototype
35041 definition.
35042 * manual/examples/strncat.c (main): Specify return type and use
35043 (void) for arguments.
35044 * manual/examples/subopt.c (main): Use char **argv argument.
35045
2ee633a2
JM
350462012-02-17 Joseph Myers <joseph@codesourcery.com>
35047
35048 [BZ #5077]
35049 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35050 rounding modes.
35051
0520adde
FB
350522012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35053
35054 [BZ #6907]
35055 * manual/string.texi (strchr): Change when strchrnul is
35056 recommended.
35057
3f4081cd
DGM
350582012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35059
35060 [BZ #174]
35061 * manual/locale.texi (setlocale): Document LOCPATH.
35062
d1b10e78
JM
350632012-02-17 Joseph Myers <joseph@codesourcery.com>
35064
35065 [BZ #10210]
35066 * manual/process.texi (execle): Move @dots{} before last argument.
35067
79c6869c
PB
350682012-02-17 Paul Bolle <pebolle@tiscali.nl>
35069
35070 [BZ #12047]
35071 * manual/charset.texi (Generic Charset Conversion): Fix typo
35072 (LC_TYPE -> LC_CTYPE).
35073
cc6e48bc
NB
350742012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35075
35076 [BZ #5805]
35077 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35078 (scalbnf): Likewise.
35079 (scalbnl): Likewise.
35080 (scalbln): Likewise.
35081 (scalblnf): Likewise.
35082 (scalblnl): Likewise.
35083 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35084 (vwarnx): Likewise.
35085 (verr): Likewise.
35086 (verrx): Likewise.
35087 * manual/filesys.texi (telldir): Use braces around return type.
35088 * manual/llio.texi (mmap): Add space after comma.
35089 (mmap64): Likewise.
35090 * manual/math.texi (jn): Use @var{} on parameter names.
35091 (jnf): Likewise.
35092 (jnl): Likewise.
35093 (yn): Likewise.
35094 (ynf): Likewise.
35095 (ynl): Likewise.
35096 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35097 line.
35098 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35099 "...".
35100 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35101 (sched_get_priority_max): Likewise.
35102 * manual/signal.texi (sigvec): Add space after comma.
35103 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35104 names.
35105 (if_indextoname): Likewise.
35106 (if_freenameindex): Likewise.
35107 (sendto): Use ',' instead of '.' in prototype.
35108 * manual/startup.texi (syscall): Use @dots{} instead of literal
35109 "...".
35110 * manual/stdio.texi (__fpending): Separate initial words of
35111 paragraph from @deftypefun line.
35112 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35113 "...".
35114 (vsyslog): Use @var{} on parameter names.
35115 * manual/terminal.texi (stty): Use @var{} on parameter names.
35116 * manual/users.texi (getutmp): Use @var{} on parameter names.
35117 (getutmpx): Likewise.
35118
5b23062f
JM
351192012-02-17 Joseph Myers <joseph@codesourcery.com>
35120
35121 [BZ #6884]
35122 * manual/stdio.texi (fopen): Fix typos in description of
35123 ",ccs=STRING".
35124
8dee4833
AJ
351252012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35126
35127 [BZ #4026]
35128 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35129 get clock_id definition.
35130
9078ce93
TS
351312012-02-17 Thomas Schwinge <thomas@schwinge.name>
35132
35133 [BZ #4822]
35134 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35135 (madvise): Cast every argument to void on its own.
35136
3835c55f
JM
351372012-02-17 Joseph Myers <joseph@codesourcery.com>
35138
35139 [BZ #9902]
35140 * manual/startup.texi (Exit Status): Fix typo.
35141
35c47e37
JM
351422012-02-17 Joseph Myers <joseph@codesourcery.com>
35143
35144 [BZ #10140]
35145 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35146 * manual/examples/argp-ex2.c: Likewise.
35147 * manual/examples/argp-ex3.c: Likewise.
35148
e3b69ca7
RH
351492012-02-16 Richard Henderson <rth@redhat.com>
35150
35151 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35152 * sysdeps/s390/s390-32/initfini.c: Remove.
35153 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35154 * sysdeps/s390/s390-64/initfini.c: Remove.
35155
df83af67
KK
351562012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35157
35158 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35159 compiler output for sysdeps/generic/initfini.c.
35160 * sysdeps/sh/elf/initfini.c: Remove file.
35161
f63f3380
DM
351622012-02-16 David S. Miller <davem@davemloft.net>
35163
fb59b3a4
DM
35164 [BZ #11494]
35165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35166
f63f3380
DM
35167 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35168 * sysdeps/sparc/crti.S: New file.
35169 * sysdeps/sparc/crtn.S: New file.
35170 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35171 * sysdeps/sparc/sparc64/Makefile: Likewise.
35172
df6a4a4a
MF
351732012-02-15 Mike Frysinger <vapier@gentoo.org>
35174
6dd8f3dc 35175 [BZ #3335]
df6a4a4a
MF
35176 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35177
1cac7236
RM
351782012-02-15 Roland McGrath <roland@hack.frob.com>
35179
d2c736f8
RM
35180 [BZ #4822]
35181 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35182
1cac7236
RM
35183 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35184 (write, read, close): Likewise.
35185 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35186
8e475601
JM
351872012-02-15 Joseph Myers <joseph@codesourcery.com>
35188
35189 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35190 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35191 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35192 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35193 <bits/signalfd.h>.
35194 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35196 bits/signalfd.h.
35197
ed656b40
MP
351982012-02-14 Marek Polacek <polacek@redhat.com>
35199
35200 * sysdeps/x86_64/crti.S: New file.
35201 * sysdeps/x86_64/crtn.S: New file.
35202 * sysdeps/x86_64/elf/initfini.c: Remove file.
35203
2a979d3a
JM
352042012-02-13 Joseph Myers <joseph@codesourcery.com>
35205
35206 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35207 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35208 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35209 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35210 <bits/inotify.h>.
35211 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35213 bits/inotify.h.
35214
2a418ac3
JM
352152012-02-13 Joseph Myers <joseph@codesourcery.com>
35216
35217 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35218 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35219 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35220 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35221 <bits/eventfd.h>.
35222 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35224 bits/eventfd.h.
35225
fb779be7
TS
352262012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35227
e19e83c5
RM
35228 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35229 __feraiseexcept instead of feraiseexcept.
7c35ffed 35230
fb779be7
TS
35231 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35232 nanosleep invocations.
35233 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35234 strings, and add error checking for a nanosleep invocations.
35235
59ba27a6
PE
352362012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35237
35238 Replace FSF snail mail address with URLs, as per GNU coding standards.
35239 Most of the snail mail addresses were wrong anyway, and omitting
35240 them makes the source code easier to maintain. Almost all of the
35241 changes are to license notices and to locale LC_IDENTIFICATION
35242 addresses, except for this one:
35243 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35244 not its snail mail address.
35245
57b957eb
RH
352462012-02-09 Richard Henderson <rth@twiddle.net>
35247
af850b1c
RH
35248 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35249 of kernel-features.h.
35250
57b957eb
RH
35251 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35252
6b73181a
MP
352532012-02-08 Marek Polacek <polacek@redhat.com>
35254
35255 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35256 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35257 * sysdeps/gnu/_G_config.h: Likewise.
35258 * sysdeps/generic/_G_config.h: Likewise.
35259
26ecc33a
AS
352602012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35261
6c6dbc63
AS
35262 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35263 tests.
35264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35265
e216c012
AS
35266 * sysdeps/powerpc/powerpc32/crti.S: New file.
35267 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35268 * sysdeps/powerpc/powerpc64/crti.S: New file.
35269 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35270
26ecc33a
AS
35271 * Makeconfig (have-initfini): Don't set.
35272 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35273 * configure.in (nopic_initfini): Don't substitute.
35274 * config.h.in (HAVE_INITFINI): Don't #undef.
35275 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35276 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35277
3add8e13
JM
352782012-02-08 Joseph Myers <joseph@codesourcery.com>
35279
35280 Support crti.S and crtn.S provided directly by architectures.
35281 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35282 [crti.S in sysdirs] (omit-deps): Likewise.
35283 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35284 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35285 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35286 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35287 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35288 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35289 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35290 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35291 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35292 compiler output for sysdeps/generic/initfini.c.
35293 * sysdeps/i386/elf/Makefile: Remove file.
35294 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35295
a22f12b4
MP
352962012-02-07 Marek Polacek <polacek@redhat.com>
35297
35298 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35299 * sysdeps/gnu/_G_config.h: Likewise.
35300 * sysdeps/mach/hurd/_G_config.h: Likewise.
35301
148cf100
MP
353022012-02-07 Marek Polacek <polacek@redhat.com>
35303
35304 * math/Makefile (tests): Add tst-CMPLX2.
35305 * math/tst-CMPLX2.c: New file.
35306
cfdc0dd7
AS
353072012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35308
84ba42c4
AS
35309 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35310
cfdc0dd7
AS
35311 * math/libm-test.inc (jn_test): Add missing L suffix.
35312
622c86f4
MP
353132012-02-06 Marek Polacek <polacek@redhat.com>
35314
35315 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35316 * sysdeps/i386/fpu/e_powf.S: Likewise.
35317 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35318 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35319 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35320 * sysdeps/i386/fpu/e_pow.S: Likewise.
35321 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35322 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35323 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35324 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35325 * sysdeps/i386/fpu/e_log2.S: Likewise.
35326 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35327 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35328 * sysdeps/i386/fpu/e_powl.S: Likewise.
35329 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35330 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35331 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35332 * sysdeps/i386/fpu/e_logl.S: Likewise.
35333 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35334 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35335 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35336 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35337 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35338 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35339 * sysdeps/i386/fpu/e_log.S: Likewise.
35340 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35341 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35342 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35343 * sysdeps/i386/fpu/e_logf.S: Likewise.
35344 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35345 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35346 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35347 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35348 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35349 * sysdeps/i386/fpu/e_log10.S: Likewise.
35350 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35351 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35352 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35353 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35354 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35355 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35356 * sysdeps/i386/asm-syntax.h: Likewise.
35357 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35359 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35360 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35361 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35362 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35363 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35364 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35365 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35366 * sysdeps/powerpc/sysdep.h: Likewise.
35367 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35368 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35369
d4a54ac6
JM
353702012-02-06 Joseph Myers <joseph@codesourcery.com>
35371
35372 [BZ #411]
35373 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35374
314054ea
JM
353752012-02-06 Joseph Myers <joseph@codesourcery.com>
35376
35377 * sysdeps/i386/sysdep.h: Include <features.h>.
35378 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35379 version.
35380
d8e0ca50
JM
353812012-02-05 Joseph Myers <joseph@codesourcery.com>
35382
35383 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35384 Define.
35385 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35386 LOAD_PIC_REG_STR.
35387
b1da7dd9
JM
353882012-02-03 Joseph Myers <joseph@codesourcery.com>
35389
35390 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35391 (SETUP_PIC_REG): Use GET_PC_THUNK.
35392 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35393 macro.
35394
9a1d9254
JM
353952012-02-03 Joseph Myers <joseph@codesourcery.com>
35396
35397 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35398 for non-PIC compilation.
35399 (SETUP_PIC_REG): Add .p2align directive.
35400 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35401 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35402 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35403 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35404 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35405 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35406 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35407 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35408 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35409 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35410 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35411 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35412 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35413 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35414 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35415 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35416 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35417 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35418 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35419 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35420 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35421 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35422 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35423 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35424 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35425 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35426 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35427 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35428 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35429 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35430 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35431 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35432 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35433 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35434 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35435 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35436 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35437 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35438 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35439 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35440 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35441
65dc3b75
JM
354422012-02-03 Joseph Myers <joseph@codesourcery.com>
35443
35444 * math/tst-CMPLX.c: Include <stdio.h>.
35445
d55bf177
JM
354462012-01-31 Joseph Myers <joseph@codesourcery.com>
35447
35448 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35449 float.
35450 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35451 * sysdeps/sparc/bits/mathdef.h: Likewise.
35452
69db4f8f
MP
354532012-01-31 Marek Polacek <polacek@redhat.com>
35454
35455 * libio/libio.h: Don't define _PARAMS.
35456 * locale/programs/config.h: Don't define PARAMS.
35457 * stdlib/strtol_l.c: Likewise.
35458 (__strtol_l): Remove PARAMS from the prototype.
35459
41b81892
UD
354602012-01-31 Ulrich Drepper <drepper@gmail.com>
35461
3b49edc0
UD
35462 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35463 names. Just use the correct names. Remove unnecessary wrapper
35464 functions.
35465 * malloc/arena.c: Likewise.
35466 * malloc/hooks.c: Likewise.
35467
41b81892
UD
35468 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35469 ARENA_TEST says not to. Simplify test for creation of a new arena.
35470 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35471
27a25b6e
UD
354722012-01-30 Ulrich Drepper <drepper@gmail.com>
35473
35474 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35475 into tail calls.
35476 (update_get_addr): New function.
35477 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35478 GET_ADDR_MODULE parameter.
35479
c8a89e7d
JM
354802012-01-30 Joseph Myers <joseph@codesourcery.com>
35481
35482 * crypt/cert.c: Remove __STDC__ conditionals.
35483 * crypt/crypt-entry.c: Likewise.
35484 * crypt/crypt_util.c: Likewise.
35485 * libio/filedoalloc.c: Likewise.
35486 * libio/fileops.c: Likewise.
35487 * libio/genops.c: Likewise.
35488 * libio/iofclose.c: Likewise.
35489 * libio/iofdopen.c: Likewise.
35490 * libio/iofopen.c: Likewise.
35491 * libio/iofopen64.c: Likewise.
35492 * libio/iogetdelim.c: Likewise.
35493 * libio/iopopen.c: Likewise.
35494 * libio/obprintf.c: Likewise.
35495 * libio/oldfileops.c: Likewise.
35496 * libio/oldiofclose.c: Likewise.
35497 * libio/oldiofdopen.c: Likewise.
35498 * libio/oldiofopen.c: Likewise.
35499 * libio/oldiopopen.c: Likewise.
35500 * libio/wfiledoalloc.c: Likewise.
35501 * libio/wgenops.c: Likewise.
35502 * locale/programs/xmalloc.c: Likewise.
35503 * misc/syslog.c: Likewise.
35504 * stdio-common/xbug.c: Likewise.
35505 * string/memchr.c: Likewise.
35506 * string/memcmp.c: Likewise.
35507 * string/memrchr.c: Likewise.
35508 * string/rawmemchr.c: Likewise.
35509 * sysdeps/posix/getcwd.c: Likewise.
35510 * time/strftime_l.c: Likewise.
35511
3b100462
JM
355122012-01-30 Joseph Myers <joseph@codesourcery.com>
35513
35514 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35515 * config.make.in (config-cflags-sse2avx): Define.
35516 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35517 Fix typo.
35518
607998af
CM
355192012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35520
35521 * scripts/config.guess: Update from upstream config git repository.
35522 * scripts/config.sub: Likewise.
35523
3601428f
CM
355242012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35525
3ac8b282
CM
35526 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35527 (EM_NUM): Update.
35528 (R_TILEPRO_*, R_TILEGX_*): New macros.
35529
e034841e
CM
35530 * scripts/firstversions.awk: Fix bug in version range handling.
35531
540d7568
CM
35532 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35533
3601428f
CM
35534 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35535
463de862
CM
35536 * include/sys/epoll.h: New file.
35537 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35538 libc_hidden_def.
35539
73139a76
UD
355402012-01-28 Ulrich Drepper <drepper@gmail.com>
35541
96bc5b45
UD
35542 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35543 Avoid unnecessary __WORDSIZE == 64 test.
35544 (fmaxf): Use VEX format if possible.
35545 (fmax): Likewise.
35546 (fminf): Likewise.
35547 (fmin): Likewise.
35548
56f6f6a2
UD
35549 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35550 * math/math_private.h: Remove libc_fegetround* and
35551 libc_fesetround*.
35552 * sysdeps/i386/configure.in: Check for -msse2avx.
35553 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35554 also if SSE2AVX is defined.
35555 Remove libc_fegetround* and libc_fesetround*.
35556 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35557 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35558 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35559 of HAS_YMM_USABLE.
35560 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35561 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35562 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35563 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35564 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35565
73139a76
UD
35566 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35567
d73f93a4
AZ
355682012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35569
35570 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35571 size is not set.
35572 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35573
6ee65ed6
UD
355742012-01-27 Ulrich Drepper <drepper@gmail.com>
35575
35576 [BZ #13618]
35577 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35578 relocation.
35579 * Makeconfig (libm): Define.
35580 * elf/Makefile: Add rules to build and run tst-relsort1.
35581 * elf/tst-relsort1.c: New file.
35582 * elf/tst-relsort1mod1.c: New file.
35583 * elf/tst-relsort1mod2.c: New file.
35584
8db21882
JM
355852012-01-27 Joseph Myers <joseph@codesourcery.com>
35586
35587 * math/s_ldexp.c: Remove __STDC__ conditionals.
35588 * math/s_ldexpf.c: Likewise.
35589 * math/s_ldexpl.c: Likewise.
35590 * math/s_nextafter.c: Likewise.
35591 * math/s_nexttowardf.c: Likewise.
35592 * math/s_significand.c: Likewise.
35593 * math/s_significandf.c: Likewise.
35594 * math/s_significandl.c: Likewise.
35595 * math/w_jnl.c: Likewise.
35596 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35597 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35598 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35599 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35600 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35602 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35603 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35604 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35605 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35606 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35607 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35608 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35609 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35610 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35611 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35612 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35613 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35615 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35616 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35617 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35618 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35619 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35620 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35621 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35622 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35623 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35624 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35625 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35626 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35627 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35628 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35629 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35630 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35631 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35632 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35633 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35634 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35635 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35636 * sysdeps/ieee754/k_standard.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35698 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35703 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35711 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35712 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35716 * sysdeps/ieee754/s_matherr.c: Likewise.
35717 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35718 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35719 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35720 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35721
965a54a4
JM
357222012-01-26 Joseph Myers <joseph@codesourcery.com>
35723
35724 * crypt/md5.h: Remove __STDC__ conditionals.
35725 * libio/libioP.h: Likewise.
35726 * locale/programs/config.h: Likewise.
35727 * sysdeps/generic/sysdep.h: Likewise.
35728 * sysdeps/i386/asm-syntax.h: Likewise.
35729 * sysdeps/s390/asm-syntax.h: Likewise.
35730 * sysdeps/unix/sysdep.h: Likewise.
35731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35733
7071ad79
JM
357342012-01-26 Joseph Myers <joseph@codesourcery.com>
35735
35736 * libio/libio.h: Remove __STDC__ conditionals.
35737 * malloc/obstack.h: Likewise.
35738 * math/complex.h: Likewise.
35739 * math/math.h: Likewise.
35740 * sysdeps/generic/_G_config.h: Likewise.
35741 * sysdeps/gnu/_G_config.h: Likewise.
35742 * sysdeps/mach/hurd/_G_config.h: Likewise.
35743 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35744 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35745 * sysdeps/sparc/bits/mathdef.h: Likewise.
35746
afc5ed09
UD
357472012-01-26 Ulrich Drepper <drepper@gmail.com>
35748
35749 [BZ #13583]
35750 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35751 Clean up HAS_* macros.
afc5ed09 35752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35753 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35754 possible.
35755 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35756 HAS_AVX.
35757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35762
bdb6de1d
JM
357632012-01-25 Joseph Myers <joseph@codesourcery.com>
35764
35765 * elf/tst-unique3.cc (gets): Remove declaration.
35766 * elf/tst-unique3lib.cc (gets): Likewise.
35767 * elf/tst-unique3lib2.cc (gets): Likewise.
35768 * elf/tst-unique4.cc (gets): Likewise.
35769
b15549e6
UD
357702012-01-24 Ulrich Drepper <drepper@gmail.com>
35771
35772 * include/stdio.h: Add C++ protection. Add gets declarations and
35773 definitions.
35774 * debug/tst-chk1.c: Don't declare gets here.
35775 * stdio-common/tst-gets.c: Likewise.
35776
a037381f
JM
357772012-01-24 Joseph Myers <joseph@codesourcery.com>
35778
35779 * posix/glob: Remove directory.
35780
f1d4aa75
JM
357812012-01-24 Joseph Myers <joseph@codesourcery.com>
35782
35783 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35784
81c0c964
PT
357852012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35786
35787 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35788 of the non-standard EPFNOSUPPORT.
35789
0ea698ae
ST
357902011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35791
35792 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35793 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35794 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35795
d220b117
UD
357962012-01-21 Ulrich Drepper <drepper@gmail.com>
35797
35798 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35799
3e1aa84e
UD
358002012-01-20 Ulrich Drepper <drepper@gmail.com>
35801
35802 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35803 transient errors.
35804 * nscd/grpcache.c (cache_addgr): Likewise.
35805 * nscd/hstcache.c (cache_addhst): Likewise.
35806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35807 * nscd/pwdcache.c (cache_addpw): Likewise.
35808 * nscd/servicescache.c (cache_addserv): Likewise.
35809
400aa020
UD
358102012-01-16 Ulrich Drepper <drepper@gmail.com>
35811
d77e7869
UD
35812 * malloc/malloc.c: Various cleanups.
35813 * malloc/hooks.c: Likewise.
35814
400aa020
UD
35815 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35816 * stdlib/bug-fmtmsg1.c: New file.
35817
35818 * stdlib/fmtmsg.c (init): Add missing unlock.
35819 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35820
e0a309cf
MP
358212012-01-12 Marek Polacek <polacek@redhat.com>
35822
35823 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35824 and _GNU_SOURCE.
35825
929d11c7
WS
358262012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35827
35828 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35829 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35830 macro to ensure uniqueness of label name.
35831 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35832 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35833
41d0e869
UD
358342012-01-11 Ulrich Drepper <drepper@gmail.com>
35835
0cc5ed3b
UD
35836 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35837
41d0e869
UD
35838 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35839 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35840 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35842
a47a831a
UD
358432012-01-10 Ulrich Drepper <drepper@gmail.com>
35844
daa891c0
UD
35845 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35846
35847 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35848 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35849 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35850
e58ef0f2
UD
35851 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35852
a47a831a 35853 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35854 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35855 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35857
35858 * math/bits/math-finite.h: Add ldexp support.
35859
a0bfc9c7
MP
358602012-01-10 Marek Polacek <polacek@redhat.com>
35861
35862 * locale/programs/localedef.h (show_archive_content): Add noreturn
35863 attribute.
35864
d6e97a1d
UD
358652012-01-09 Ulrich Drepper <drepper@gmail.com>
35866
35867 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35868
d5835c26
UD
358692012-01-08 Ulrich Drepper <drepper@gmail.com>
35870
e5f484c6
UD
35871 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35872
d5835c26
UD
35873 * io/Makefile (headers): Add bits/poll2.h.
35874
d1f741e9
WS
358752011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35876
35877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35878 typo #include statement.
35879
ec09c1c4
UD
358802012-01-08 Ulrich Drepper <drepper@gmail.com>
35881
35882 * include/sys/cdefs.h: Define __attribute_alloc_size.
35883 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35884 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35885 * elf/pldd.c: Likewise.
35886 * iconv/iconv_charmap.c: Likewise.
35887 * iconv/iconvconfig.c: Likewise.
35888 * iconv/strtab.c: Likewise.
35889 * locale/programs/locale.c: Likewise.
35890 * locale/programs/localedef.h: Likewise.
35891 * locale/programs/simple-hash.c: Likewise.
35892 * nscd/nscd.h: Likewise.
35893 * nss/makedb.c: Likewise.
35894 * sysdeps/generic/ldconfig.h: Likewise.
35895 * locale/programs/localedef.c: Remove xmalloc prototype.
35896 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35897
20b38e03
PP
358982012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35899
35900 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35901 appropriate.
35902
a0da5fe1
UD
359032012-01-08 Ulrich Drepper <drepper@gmail.com>
35904
1d5a644a 35905 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35906 * math/tst-CMPLX.c: New file.
1d5a644a 35907
8784a6db
UD
35908 * math/complex.h (CMPLXL): Fix typo.
35909
d9a216c0
UD
35910 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35911 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35912 GLIBC_2.16.
35913 * debug/tst-chk1.c: Add poll and ppoll tests.
35914 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35915 * include/sys/poll.h: Add hidden proto for ppoll.
35916 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35917 * sysdeps/mach/hurd/ppoll.c: Likewise.
35918 * io/ppoll.c: Likewise.
35919 * debug/poll_chk.c: New file.
35920 * debug/ppoll_chk.c: New file.
35921 * include/bits/poll2.h: New file.
35922 * io/bits/poll2.h: New file.
35923
ac097f5c
UD
35924 [BZ #1350]
35925 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35926
2119dcfa
UD
35927 * configure.in: static is always set to yes. Remove.
35928 * config.make.in: Don't set build-static.
35929 * Makeconfig: Remove use of build-static.
35930 * dlfcn/Makefile: Likewise.
35931 * elf/Makefile: Likewise.
35932 * math/Makefile: Likewise.
35933 * misc/Makefile: Likewise.
35934 * nptl/Makefile: Likewise.
35935 * sysdeps/mach/hurd/Makefile: Likewise.
35936
121766a9
UD
35937 * configure.in: PWD_P is not used anymore.
35938 * config.make.in: Remove PWD_P entry.
35939
51a1d39c 35940 * configure.in: Remove last remnants of RANLIB.
8720d066 35941 No need to check for signed size_t anymore.
215f4bdc
UD
35942 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35943 and IA-64.
3857022a 35944 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35945 * aclocal.m4: Likewise.
35946
d3ed7225
UD
35947 * wcsmbs/mbrtoc16.c: Implement using towc function.
35948 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35949 * wcsmbs/wcsmbsload.c: Likewise.
35950 * iconv/gconv_simple.c: Likewise.
35951 * iconv/gconv_int.h: Likewise.
35952 * iconv/gconv_builtin.h: Likewise.
35953 * iconv/iconv_prog.c: Remove CHAR16 handling.
35954
35955 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35956
35957 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35958
a0da5fe1
UD
35959 * configure.in: Remove --with-elf and --enable-bounded options.
35960 Dont set base_machine for ia64. More non-ELF conditions removed.
35961 Remove testing and setting of leading underscore information.
35962 * config.make.in (build-bounded): Set to no.
35963 * config.h.in: Remove NO_UNDERSCORES entry.
35964 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35965 them.
35966 * csu/start.c: Remove !NO_UNDERSCORE code.
35967 * locale/localeinfo.h: Likewise.
35968 * sysdeps/generic/machine-gmon.h: Likewise.
35969 * sysdeps/generic/sysdep.h: Likewise.
35970 * sysdeps/i386/sysdep.h: Likewise.
35971 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35972 * sysdeps/mach/sysdep.h: Likewise.
35973 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35974 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35975 * sysdeps/sh/sysdep.h: Likewise.
35976 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35977 * sysdeps/unix/i386/sysdep.S: Likewise.
35978 * sysdeps/unix/sparc/start.c: Likewise.
35979 * sysdeps/unix/sparc/sysdep.S: Likewise.
35980 * sysdeps/unix/sparc/sysdep.h: Likewise.
35981 * sysdeps/unix/start.c: Likewise.
35982 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35983 * sysdeps/x86_64/sysdep.h: Likewise.
35984
df78418a
UD
359852012-01-07 Ulrich Drepper <drepper@gmail.com>
35986
a784e502
UD
35987 [BZ #13553]
35988 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35989 for non-gcc.
35990 * argp/argp-fmtstream.h: Use const instead __const.
35991 * argp/argp.h: Likewise.
35992 * assert/assert.h: Likewise.
35993 * bits/fenv.h: Likewise.
35994 * bits/sched.h: Likewise.
35995 * bits/sigset.h: Likewise.
35996 * bits/sigthread.h: Likewise.
35997 * catgets/nl_types.h: Likewise.
35998 * conform/data/pthread.h-data: Likewise.
35999 * crypt/crypt-private.h: Likewise.
36000 * crypt/crypt.h: Likewise.
36001 * crypt/crypt_util.c: Likewise.
36002 * ctype/ctype.h: Likewise.
36003 * debug/execinfo.h: Likewise.
36004 * debug/mbsnrtowcs_chk.c: Likewise.
36005 * debug/mbsrtowcs_chk.c: Likewise.
36006 * debug/wcsnrtombs_chk.c: Likewise.
36007 * debug/wcsrtombs_chk.c: Likewise.
36008 * debug/wcstombs_chk.c: Likewise.
36009 * dirent/dirent.h: Likewise.
36010 * dlfcn/dlfcn.h: Likewise.
36011 * elf/neededtest4.c: Likewise.
36012 * grp/grp.h: Likewise.
36013 * gshadow/gshadow.h: Likewise.
36014 * iconv/gconv.h: Likewise.
36015 * iconv/gconv_int.h: Likewise.
36016 * iconv/gconv_simple.c: Likewise.
36017 * iconv/iconv.h: Likewise.
36018 * iconv/loop.c: Likewise.
36019 * iconv/skeleton.c: Likewise.
36020 * include/aio.h: Likewise.
36021 * include/aliases.h: Likewise.
36022 * include/argz.h: Likewise.
36023 * include/arpa/inet.h: Likewise.
36024 * include/assert.h: Likewise.
36025 * include/dirent.h: Likewise.
36026 * include/dlfcn.h: Likewise.
36027 * include/execinfo.h: Likewise.
36028 * include/fcntl.h: Likewise.
36029 * include/fenv.h: Likewise.
36030 * include/glob.h: Likewise.
36031 * include/grp.h: Likewise.
36032 * include/libintl.h: Likewise.
36033 * include/mntent.h: Likewise.
36034 * include/netdb.h: Likewise.
36035 * include/pwd.h: Likewise.
36036 * include/rpc/netdb.h: Likewise.
36037 * include/sched.h: Likewise.
36038 * include/search.h: Likewise.
36039 * include/shadow.h: Likewise.
36040 * include/signal.h: Likewise.
36041 * include/stdio.h: Likewise.
36042 * include/stdlib.h: Likewise.
36043 * include/string.h: Likewise.
36044 * include/sys/socket.h: Likewise.
36045 * include/sys/stat.h: Likewise.
36046 * include/sys/statfs.h: Likewise.
36047 * include/sys/statvfs.h: Likewise.
36048 * include/sys/syslog.h: Likewise.
36049 * include/sys/time.h: Likewise.
36050 * include/sys/uio.h: Likewise.
36051 * include/time.h: Likewise.
36052 * include/unistd.h: Likewise.
36053 * include/utmp.h: Likewise.
36054 * include/wchar.h: Likewise.
36055 * include/wctype.h: Likewise.
36056 * inet/aliases.h: Likewise.
36057 * inet/arpa/inet.h: Likewise.
36058 * inet/netinet/ether.h: Likewise.
36059 * inet/netinet/in.h: Likewise.
36060 * intl/libintl.h: Likewise.
36061 * io/bits/fcntl2.h: Likewise.
36062 * io/fcntl.h: Likewise.
36063 * io/ftw.h: Likewise.
36064 * io/sys/poll.h: Likewise.
36065 * io/sys/stat.h: Likewise.
36066 * io/sys/statfs.h: Likewise.
36067 * io/sys/statvfs.h: Likewise.
36068 * io/utime.h: Likewise.
36069 * libio/bits/stdio.h: Likewise.
36070 * libio/bits/stdio2.h: Likewise.
36071 * libio/libio.h: Likewise.
36072 * libio/libioP.h: Likewise.
36073 * libio/stdio.h: Likewise.
36074 * locale/lc-ctype.c: Likewise.
36075 * locale/locale.h: Likewise.
36076 * login/utmp.h: Likewise.
36077 * malloc/arena.c: Likewise.
36078 * malloc/malloc.c: Likewise.
36079 * malloc/malloc.h: Likewise.
36080 * malloc/mcheck.c: Likewise.
36081 * malloc/mtrace.c: Likewise.
36082 * math/bits/mathcalls.h: Likewise.
36083 * math/fenv.h: Likewise.
36084 * math/math_private.h: Likewise.
36085 * misc/bits/error.h: Likewise.
36086 * misc/bits/syslog.h: Likewise.
36087 * misc/err.h: Likewise.
36088 * misc/error.h: Likewise.
36089 * misc/fstab.h: Likewise.
36090 * misc/mntent.h: Likewise.
36091 * misc/regexp.h: Likewise.
36092 * misc/search.h: Likewise.
36093 * misc/sgtty.h: Likewise.
36094 * misc/sys/mman.h: Likewise.
36095 * misc/sys/syslog.h: Likewise.
36096 * misc/sys/uio.h: Likewise.
36097 * misc/sys/xattr.h: Likewise.
36098 * misc/ttyent.h: Likewise.
36099 * nis/rpcsvc/ypclnt.h: Likewise.
36100 * nss/nss.h: Likewise.
36101 * posix/bits/unistd.h: Likewise.
36102 * posix/fnmatch.h: Likewise.
36103 * posix/glob.h: Likewise.
36104 * posix/sched.h: Likewise.
36105 * posix/spawn.h: Likewise.
36106 * posix/sys/wait.h: Likewise.
36107 * posix/unistd.h: Likewise.
36108 * posix/wordexp.h: Likewise.
36109 * pwd/pwd.h: Likewise.
36110 * resolv/netdb.h: Likewise.
36111 * resource/sys/resource.h: Likewise.
36112 * rt/aio.h: Likewise.
36113 * rt/bits/mqueue2.h: Likewise.
36114 * rt/mqueue.h: Likewise.
36115 * shadow/shadow.h: Likewise.
36116 * signal/signal.h: Likewise.
36117 * socket/send.c: Likewise.
36118 * socket/sendto.c: Likewise.
36119 * socket/sys/socket.h: Likewise.
36120 * stdio-common/printf.h: Likewise.
36121 * stdlib/bits/stdlib.h: Likewise.
36122 * stdlib/fmtmsg.h: Likewise.
36123 * stdlib/monetary.h: Likewise.
36124 * stdlib/stdlib.h: Likewise.
36125 * stdlib/ucontext.h: Likewise.
36126 * streams/stropts.h: Likewise.
36127 * string/argz.h: Likewise.
36128 * string/bits/string2.h: Likewise.
36129 * string/string.h: Likewise.
36130 * string/strings.h: Likewise.
36131 * sunrpc/rpc/auth.h: Likewise.
36132 * sunrpc/rpc/auth_des.h: Likewise.
36133 * sunrpc/rpc/clnt.h: Likewise.
36134 * sunrpc/rpc/netdb.h: Likewise.
36135 * sunrpc/rpc/pmap_clnt.h: Likewise.
36136 * sunrpc/rpc/xdr.h: Likewise.
36137 * sysdeps/generic/inttypes.h: Likewise.
36138 * sysdeps/generic/net/if.h: Likewise.
36139 * sysdeps/generic/sys/swap.h: Likewise.
36140 * sysdeps/gnu/net/if.h: Likewise.
36141 * sysdeps/gnu/utmpx.h: Likewise.
36142 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36143 * sysdeps/i386/i486/bits/string.h: Likewise.
36144 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36145 * sysdeps/s390/bits/string.h: Likewise.
36146 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36147 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36148 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36149 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36150 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36151 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36152 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36153 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36154 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36155 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36156 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36157 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36158 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36159 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36160 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36161 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36162 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36163 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36164 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36165 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36166 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36167 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36168 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36169 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36170 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36171 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36172 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36174 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36175 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36176 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36177 * sysvipc/sys/ipc.h: Likewise.
36178 * sysvipc/sys/msg.h: Likewise.
36179 * sysvipc/sys/sem.h: Likewise.
36180 * sysvipc/sys/shm.h: Likewise.
36181 * termios/termios.h: Likewise.
36182 * time/sys/time.h: Likewise.
36183 * time/time.h: Likewise.
36184 * wcsmbs/bits/wchar2.h: Likewise.
36185 * wcsmbs/uchar.h: Likewise.
36186 * wcsmbs/wchar.h: Likewise.
36187 * wctype/wctype.h: Likewise.
36188
0269750c
UD
36189 [BZ #13551]
36190 * Makeconfig: Remove all but ELF support including AIX support.
36191 * Makerules: Likewise.
36192 * config.h.in: Likewise.
36193 * config.make.in: Likewise.
36194 * configure: Likewise.
36195 * configure.in: Likewise.
36196 * csu/Makefile: Likewise.
36197 * csu/version.c: Likewise.
36198 * debug/Makefile: Likewise.
36199 * dlfcn/Makefile: Likewise.
36200 * elf/Makefile: Likewise.
36201 * extra-lib.mk: Likewise.
36202 * iconv/Makefile: Likewise.
36203 * include/libc-symbols.h: Likewise.
36204 * include/shlib-compat.h: Likewise.
36205 * resolv/Makefile: Likewise.
36206 * resolv/res_libc.c: Likewise.
36207 * rt/Makefile: Likewise.
36208 * sysdeps/i386/asm-syntax.h: Likewise.
36209 * sysdeps/i386/sysdep.h: Likewise.
36210 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36211 * sysdeps/mach/sysdep.h: Likewise.
36212 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36213 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36214 * sysdeps/s390/asm-syntax.h: Likewise.
36215 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36216 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36217 * sysdeps/sh/sysdep.h: Likewise.
36218 * sysdeps/unix/sparc/sysdep.h: Likewise.
36219 * sysdeps/wordsize-32/divdi3.c: Likewise.
36220 * sysdeps/x86_64/sysdep.h: Likewise.
36221
00bbd29b
UD
36222 * argp/Versions: Remove _argp_unlock_xxx.
36223
36224 [BZ #13559]
36225 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36226 * abilist/libBrokenLocale.abilist: Likewise.
36227 * abilist/libanl.abilist: Likewise.
36228 * abilist/libc.abilist: Likewise.
36229 * abilist/libcrypt.abilist: Likewise.
36230 * abilist/libdl.abilist: Likewise.
36231 * abilist/libm.abilist: Likewise.
36232 * abilist/libnsl.abilist: Likewise.
36233 * abilist/libpthread.abilist: Likewise.
36234 * abilist/libresolv.abilist: Likewise.
36235 * abilist/librt.abilist: Likewise.
36236 * abilist/libthread_db.abilist: Likewise.
36237 * abilist/libutil.abilist: Likewise.
36238 * abilist/libnss_db.abilist: New file.
36239
36240 * scripts/abilist.awk: Add support for indirect functions.
36241
a2693a0e
UD
36242 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36243
3f05895f
UD
36244 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36245
ecb6fb48
UD
36246 * shlib-versions: Remove entries for ports architectures.
36247
664f8cb9
UD
36248 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36249 files in ports.
36250 * elf/stackguard-macros.h: Remove support for IA-64.
36251 * elf/tst-auditmod1.c: Likewise.
36252 * sysdeps/generic/ldsodefs.h: Likewise.
36253
7ae81d88
UD
36254 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36255 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36256 configure files.
36257
bdeba135
UD
36258 [BZ #13552]
36259 * configure.in: Remove --enable-omitfp support.
36260 * FAQ.in: Adjust.
36261 * config.make.in: Likewise.
36262 * Makeconfig: Likewise.
36263 * manual/install.texi: Likewise.
36264
d75a0a62
UD
36265 In case anyone cares, the IA-64 architecture could move to ports.
36266 * sysdeps/ia64/*: Removed.
36267 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36268 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36269
dcc9756b
UD
36270 [BZ #13555]
36271 * configure.in: Remove entries for unsupported architectures.
36272
d3761ebc 36273 [BZ #13533]
9954432e
UD
36274 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36275 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36276 routines.
36277 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36278 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36279 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36280 fall back to using wcrtomb.
36281 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36282 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36283 renaming.
36284 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36285 * wcsmbs/tst-c16c32-1.c: New file.
36286
36287 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36288 local variable.
36289
c3a87236
UD
36290 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36291
28926a1b
UD
36292 * elf/tst-unique3.cc: Add explicit declaration of gets.
36293 * elf/tst-unique3lib.cc: Likewise.
36294 * elf/tst-unique3lib2.cc: Likewise.
36295 * elf/tst-unique4.cc: Likewise.
36296
df78418a
UD
36297 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36298
8ecd6b2a
JM
362992012-01-06 Joseph Myers <joseph@codesourcery.com>
36300
36301 [BZ #13566]
36302 * assert/assert.h (static_assert): Don't define for C++.
36303 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36304 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36305
9f115170
UD
363062012-01-03 Ulrich Drepper <drepper@gmail.com>
36307
5e0d0300
UD
36308 * iconv/loop.c (single loop): Fix assertion in storing of
36309 remaining bytes.
36310
9f115170
UD
36311 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36312
81fb02b0
UD
363132012-01-01 Ulrich Drepper <drepper@gmail.com>
36314
36315 * posix/getconf.c: Update copyright year.
36316 * nss/getent.c: Likewise.
a316c1f6 36317 * nss/makedb.c: Likewise.
81fb02b0
UD
36318 * iconv/iconvconfig.c: Likewise.
36319 * iconv/iconv_prog.c: Likewise.
36320 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36321 * elf/pldd.c: Likewise.
36322 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36323 * catgets/gencat.c: Likewise.
36324 * csu/version.c: Likewise.
36325 * elf/ldd.bash.in: Likewise.
36326 * elf/sprof.c (print_version): Likewise.
36327 * locale/programs/locale.c: Likewise.
36328 * locale/programs/localedef.c: Likewise.
a316c1f6 36329 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36330 * nscd/nscd.c (print_version): Likewise.
36331 * debug/xtrace.sh: Likewise.
36332 * malloc/memusage.sh: Likewise.
36333 * malloc/mtrace.pl: Likewise.
36334 * debug/catchsegv.sh: Likewise.
36335
2ba92745
JJ
363362011-12-30 Jakub Jelinek <jakub@redhat.com>
36337
36338 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36339 pure attribute.
36340
dadebdae
UD
363412011-12-24 Ulrich Drepper <drepper@gmail.com>
36342
d3761ebc 36343 [BZ #13533]
db6af3eb
UD
36344 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36345 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36346 transformations.
36347 * iconv/gconv_int.h: Likewise.
36348 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36349 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36350 from libc for GLIBC_2.16.
36351 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36352 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36353 * wcsmbs/uchar.h: Really define mbstate_t.
36354 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36355 * wcsmbs/c16rtomb.c: New file.
36356 * wcsmbs/mbrtoc16.c: New file.
36357 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36358 for C/POSIX locale.
36359 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36360 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36361
dadebdae
UD
36362 * wcsmbs/wchar.h: Add missing __restrict.
36363
67371b56
UD
363642011-12-23 Ulrich Drepper <drepper@gmail.com>
36365
74033a25
UD
36366 [BZ #13532]
36367 * time/Makefile (routines): Add timespec_get.
36368 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36369 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36370 timespec for ISO C11.
36371 * time/timespec_get.c: New file.
36372 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36373 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36374
380d7e87
UD
36375 [BZ #13531]
36376 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36377 * stdlib/stdlib.h: Declare aligned_alloc.
36378 * Versions.def: Add GLIBC_2.16 for libc.
36379 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36380
4e9e7a35
UD
36381 [BZ 13527]
36382 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36383 ISO C11.
36384
380d7e87 36385 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36386 code.
36387
03a71829
UD
36388 [BZ #13528]
36389 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36390
839e283e
UD
36391 [BZ #13529]
36392 * assert/assert.h (static_assert): Define.
36393
ce5294e2 36394 * version.h: Update for 2.16 development version.
90fa7312 36395
8d44e150 36396 [BZ #13526]
d7809905
UD
36397 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36398 _ISOC11_SOURCE.
36399
c0da14cd
UD
36400 * version.h (RELEASE): Bump for 2.15 release.
36401 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36402
530a3249
MP
36403 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36404 Patch by Marek Polacek <mpolacek@redhat.com>.
36405
67371b56
UD
36406 * bits/byteswap.h: Protect long long constants with __extension__.
36407 * sysdeps/i386/bits/byteswap.h: Likewise.
36408 * sysdeps/ia64/bits/byteswap.h: Likewise.
36409 * sysdeps/s390/bits/byteswap.h: Likewise.
36410 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36411
15db4de1
LD
364122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36413
36414 [BZ #13540]
bbe315ea
LD
36415 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36416 destination buffer.
15db4de1
LD
36417 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36418
2b2596b1
MP
364192011-12-23 Marek Polacek <polacek@redhat.com>
36420
36421 * elf/dl-addr.c (determine_info): Add inline keyword.
36422 * elf/tst-auditmod4b.c (check_avx): Likewise.
36423 * elf/tst-auditmod6b.c (check_avx): Likewise.
36424 * elf/tst-auditmod6c.c (check_avx): Likewise.
36425 * elf/tst-auditmod7b.c (check_avx): Likewise.
36426
70c6c246
UD
364272011-12-23 Ulrich Drepper <drepper@gmail.com>
36428
36429 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36430 !__SSE_MATH__.
36431
c044cf14
LD
364322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36433
15db4de1 36434 [BZ #13540]
c044cf14
LD
36435 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36436 processing for last bytes.
36437
6b13d9d9
BH
364382011-08-06 Bruno Haible <bruno@clisp.org>
36439
d455f537
BH
36440 [BZ #13061]
36441 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36442 U+0385, not to U+1FEE.
36443
6b13d9d9
BH
36444 [BZ #13062]
36445 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36446 entry for U+00A5 U+0301.
36447
db910efd
UD
364482011-12-22 Ulrich Drepper <drepper@gmail.com>
36449
27deeafc
UD
36450 [BZ #13166]
36451 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36452 buffer for the output is too small.
36453
aed9d171
UD
36454 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36455 optimization.
36456
db910efd
UD
36457 [BZ #13185]
36458 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36459 SSE flags if possible.
36460
2bd779ae
LD
364612011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36462
e7f9dac3 36463 [BZ #13540]
2bd779ae
LD
36464 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36465 processing for last bytes.
36466
154bfc16
JM
364672011-12-22 Joseph Myers <joseph@codesourcery.com>
36468
36469 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36470 (syscall-list-default-options, syscall-list-default-condition)
36471 (syscall-list-includes): Define.
36472 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36473 list of ABIs and options and #if conditions for each ABI. Do not
36474 handle common syscalls between ABIs specially.
36475 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36476 Remove.
36477 (syscall-list-variants, syscall-list-32bit-options)
36478 (syscall-list-32bit-condition, syscall-list-64bit-options)
36479 (syscall-list-64bit-condition): Define.
36480 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36481 (syscall-list-variants, syscall-list-32bit-options)
36482 (syscall-list-32bit-condition, syscall-list-64bit-options)
36483 (syscall-list-64bit-condition): Define.
36484 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36485 Remove.
36486 (syscall-list-variants, syscall-list-32bit-options)
36487 (syscall-list-32bit-condition, syscall-list-64bit-options)
36488 (syscall-list-64bit-condition): Define.
36489 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36490 Remove.
36491 (syscall-list-variants, syscall-list-32bit-options)
36492 (syscall-list-32bit-condition, syscall-list-64bit-options)
36493 (syscall-list-64bit-condition): Define.
36494
21eaf3a5
UD
364952011-12-22 Ulrich Drepper <drepper@gmail.com>
36496
16c6f992
UD
36497 * locale/iso-639.def: Add brx entry.
36498
41043168
UD
36499 [BZ #13328]
36500 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36501 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36502
21eaf3a5
UD
36503 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36504 __feraiseexcept_renamed.
36505
e3a851a2
UD
365062011-12-21 Ulrich Drepper <drepper@gmail.com>
36507
4920765e
UD
36508 [BZ #13538]
36509 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36510 EPOLLET with unsigned values.
36511 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36513
e3a851a2
UD
36514 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36515 to large cancellation.
36516 * math/s_cacoshf.c: Likewise.
36517 * math/s_cacoshl.c: Likewise.
36518
b27e24b8
RK
365192011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36520
36521 [BZ #13305]
aebefeee 36522 [BZ #12786]
b27e24b8
RK
36523 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36524 * math/s_cacoshf.c: Likewise.
36525 * math/s_cacoshl.c: Likewise.
36526
ee190f67
UD
365272011-12-21 Ulrich Drepper <drepper@gmail.com>
36528
36529 [BZ #13439]
36530 * iconv/gconv.h: Define __GCONV_SWAP.
36531 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36532 * iconvdata/utf-16.c: Likewise.
36533 * iconvdata/utf-32.c: Likewise.
36534
707f25df
AS
365352011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36536
36537 [BZ #13524]
36538 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36539 numerator after shifting it by one limb.
36540
d2daaa1e
RÁE
365412011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36542
36543 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36544 under [__USE_EXTERN_INLINES].
36545
a4647e72
UD
365462011-12-17 Ulrich Drepper <drepper@gmail.com>
36547
36548 [BZ #13446]
36549 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36550
f0b264f1
AZ
365512011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36552
36553 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36554 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36555 optimized code.
36556 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36557 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36558 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36559 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36560 for strncasecmp/strncasecmp_l compilation.
36561 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36562 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36563
8ef4f244
MP
365642011-12-08 Marek Polacek <mpolacek@redhat.com>
36565
36566 [BZ #13484]
36567 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36568 of __asm__.
36569
97ac2654
UD
365702011-12-17 Ulrich Drepper <drepper@gmail.com>
36571
36572 [BZ #13506]
36573 * time/tzfile.c (__tzfile_read): Check values from file header.
36574
91d2a845
WS
365752011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36576
36577 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36578 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36579 * powerpc/powerpc32/dl-start.S: Likewise.
36580 * powerpc/powerpc32/elf/start.S: Likewise.
36581 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36582 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36583 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36584 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36585 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36586 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36587 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36588 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36589 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36590 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36591 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36592 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36593 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36594 * powerpc/powerpc32/memset.S: Likewise.
36595 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36596 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36597 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36598 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36599 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36600 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36601 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36602 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36603 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36604 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36605 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36606 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36607 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36608
a1267ba1
AZ
366092011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36610
36611 * math/libm-test.inc: Added more nearbyint tests.
36612 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36613 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36614 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36615 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36616
ad8ac1bd
RL
366172011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36618
36619 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36620 FD_CLOEXEC.
36621
1d3e4b61
UD
366222011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36623
36624 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36625 Add wcscpy-ssse3 wcscpy-c.
36626 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36627 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36628 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36629 * sysdeps/x86_64/wcschr.S: New file.
36630 * sysdeps/x86_64/wcsrchr.S: New file.
36631 * string/test-strcmp.c: Remove checking of wcscmp function for
36632 wrong alignments.
36633 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36634 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36635 wcsrchr-sse2 wcsrchr-c.
36636 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36637 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36638 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36639 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36640 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36641 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36642 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36643 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36644 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36645 * wcsmbc/wcschr.c (WCSCHR): New macro.
36646
5b330a2d
UD
366472011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36648
36649 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36650 * wcsmbs/test-wcsrchr.c: New file.
36651 * string/test-strrchr.c: Add wcsrchr support.
36652 (WIDE): New macro.
36653 * wcsmbs/test-wcscpy.c: New file.
36654 * string/test-strcpy.c: Add wcscpy support.
36655 (WIDE): New macro.
26428b7c 36656
f039c043
UD
366572011-12-10 Ulrich Drepper <drepper@gmail.com>
36658
36659 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36660 the inner loop.
36661
850fb039
AS
366622011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36663
36664 [BZ #13472]
36665 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36666
4efbd5cb
UD
366672011-12-04 Ulrich Drepper <drepper@gmail.com>
36668
52ff5dd0 36669 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36670 Minor optimizations.
52ff5dd0 36671
4efbd5cb
UD
36672 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36673 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36674 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36675
8a426e12
UD
366762011-12-03 Ulrich Drepper <drepper@gmail.com>
36677
aff2453d
UD
36678 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36679 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36680 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36681 for gcc to avoid warnings.
36682 * inet/Makefile (tests): Add tst-checks.
36683 * inet/tst-checks.c: New file.
36684
36685 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36686 warning.
36687
36688 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36689 __wmemcmp_sse2.
36690
36691 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36692 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36693
8a426e12
UD
36694 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36695
9bea3473
UD
366962011-12-02 Ulrich Drepper <drepper@gmail.com>
36697
3a965496
UD
36698 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36699 problem.
36700
9bea3473
UD
36701 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36702
f101631b
UD
367032011-11-29 Joseph Myers <joseph@codesourcery.com>
36704
36705 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36706 conditional on GCC version.
36707 (__arch_compare_and_exchange_val_8_acq)
36708 (__arch_compare_and_exchange_val_16_acq)
36709 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36710 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36711 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36712
a98275aa
UD
367132011-12-02 Joseph Myers <joseph@codesourcery.com>
36714
36715 * sysdeps/sh/backtrace.c: New file.
36716
d4cc29a2
AS
367172011-12-02 Andreas Schwab <schwab@redhat.com>
36718
36719 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36720 parenthesis.
36721
6257af2d
AS
367222011-12-01 Andreas Schwab <schwab@redhat.com>
36723
36724 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36725 falling back to utime.
36726
b5f44c1a
AS
367272011-11-30 Andreas Schwab <schwab@redhat.com>
36728
36729 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36730 expectations for float.
36731
f3a6cc0a
AS
367322011-11-29 Andreas Schwab <schwab@redhat.com>
36733
36734 * locale/weight.h (findidx): Add parameter len.
36735 * locale/weightwc.h (findidx): Likewise.
36736 * posix/fnmatch_loop.c (FCT): Adjust caller.
36737 * posix/regcomp.c (build_equiv_class): Likewise.
36738 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36739 * posix/regexec.c (check_node_accept_bytes): Likewise.
36740 * string/strcoll_l.c (STRCOLL): Likewise.
36741 * string/strxfrm_l.c (STRXFRM): Likewise.
36742
9d65ea3a
UD
367432011-11-17 Ulrich Drepper <drepper@gmail.com>
36744
36745 * Makefile.in: Remove CVSOPT handling.
36746 * configure.in: Remove use of AC_REVISION.
36747 * iconvdata/Makefile (distribute): No need to filter out CVS.
36748 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36749 handling.
36750
5583a086
AS
367512011-11-16 Andreas Schwab <schwab@redhat.com>
36752
36753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36754 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36755 [USE_AS_STRNCASECMP_L]: Likewise.
36756 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36757 NO_TLS_DIRECT_SEG_REFS.
36758 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36759 Fix argument offsets for non-PIC.
36760 [USE_AS_STRNCASECMP_L]: Likewise.
36761 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36762 NO_TLS_DIRECT_SEG_REFS.
36763
d62a8200
UD
367642011-11-15 Ulrich Drepper <drepper@gmail.com>
36765
9d65ea3a 36766 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36767 O_CLOEXEC.
36768 * locale/loadlocale.c (_nl_load_locale): Likewise.
36769
09f93bd3
AS
367702011-11-15 Andreas Schwab <schwab@redhat.com>
36771
446514f9
AS
36772 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36773 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36774 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36775 (SYSCALL_GETTIME): Set errno on error.
36776
09f93bd3
AS
36777 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36778 count references to noai6ai_cached.
36779
312be3f9
UD
367802011-11-15 Ulrich Drepper <drepper@gmail.com>
36781
36782 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36783
36784 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36785 FD_CLOEXEC for /proc/self/maps.
36786
36787 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36788 FD_CLOEXEC for /proc/meminfo.
36789
36790 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36791 gai.conf.
36792
36793 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36794 FD_CLOEXEC for given file.
36795
36796 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36797
36798 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36799 FD_CLOEXEC for /etc/hosts.
36800 (_gethtent): Likewise.
36801
36802 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36803
36804 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36805 cancellation and set FD_CLOEXEC for /etc/netgroup.
36806
36807 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36808 reading /etc/publickey.
36809
36810 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36811 allow cancellation when reading /etc/group.
36812
36813 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36814 cancellation.
36815 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36816
36817 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36818 when using data file.
36819
36820 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36821
36822 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36823 (write_nis_obj): Use "c" and "e" in fopen.
36824
36825 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36826
36827 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36828
36829 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36830
36831 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36832
36833 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36834 locale.alias.
36835
36836 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36837
36838 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36839
36840 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36841
36842 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36843 file parsing and set FD_CLOEXEC.
36844
82af0fa8
UD
368452011-11-14 Ulrich Drepper <drepper@gmail.com>
36846
36847 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36848
a5fb313c
AS
368492011-11-14 Andreas Schwab <schwab@redhat.com>
36850
36851 * malloc/arena.c (arena_get2): Don't call reused_arena when
36852 _int_new_arena failed.
36853
6abf3465
UD
368542011-11-14 Ulrich Drepper <drepper@gmail.com>
36855
36856 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36857 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36858 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36859 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36860 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36861 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36862 to compile strcasecmp and strncasecmp.
36863 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36864 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36865
36866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36867
76e3966e
UD
368682011-11-13 Ulrich Drepper <drepper@gmail.com>
36869
36870 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36871 locale-defines.sym to gen-as-const-headers.
36872 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36873 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36875 to compile strcasecmp and strncasecmp.
36876 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36877 strcasecmp_l and strncasecmp_l.
36878 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36879 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36880 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36881 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36882 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36883 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36884 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36885 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36886 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36887 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36888 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36889
ab26144e
UD
368902011-11-12 Ulrich Drepper <drepper@gmail.com>
36891
7edb22ef
UD
36892 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36893 result of SYSDEP_GETTIME_CPU to retval.
36894 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36895 parameter list to macro. Remove trailing semicolon. Adjust users.
36896
9694fc44
UD
36897 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36898 variable.
36899
8ad89ef8
UD
36900 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36901 mantissa words.
36902 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36903
0c822ef9
UD
36904 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36905 from unused variable.
36906
874e0564
UD
36907 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36908 DWARF definitions.
36909 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36910 for assembling.
36911
3a2edc79
UD
36912 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36913 over namespaces.
36914
f3c2577f
UD
36915 * sunrpc/rpc_prot.c (rejected): Fix case value.
36916
294ce126
UD
36917 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36918 unsigned long long int to avoid warnings in shift.
36919
5e2b63c6
UD
36920 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36921 of use of trans.
36922 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36923 variable tmp.
36924
e7f4b08e
UD
36925 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36926 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36927 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36928
ab26144e
UD
36929 * nis/nis_table.c (nis_list): Use variable of correct type for
36930 result of __follow_path call.
36931
8a6d5255
AZ
369322011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36933
36934 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36935 of math functions ceil, trunc, floor, round, and sqrt, when
36936 avaliable on the platform.
36937 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36938 name clash.
36939 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36940 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36941 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36942
aaddc98c
MP
369432011-10-30 Marek Polacek <mpolacek@redhat.com>
36944
36945 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36946 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36947
95b7042b
RM
369482011-11-11 Roland McGrath <roland@hack.frob.com>
36949
36950 * include/unistd.h: Fix __readlink return type.
36951 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36952
57769839
UD
369532011-11-11 Ulrich Drepper <drepper@gmail.com>
36954
36955 * stdlib/ucontext.h: Undo last change for makecontext.
36956
edc5984d
AS
369572011-11-11 Andreas Schwab <schwab@redhat.com>
36958
98591e58
AS
36959 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36960
edc5984d
AS
36961 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36962 * setjmp/setjmp.h: Mark functions as non-leaf.
36963 * setjmp/bits/setjmp2.h: Likewise.
36964 * stdlib/ucontext.h: Likewise.
36965
77cdc054
AS
369662011-11-10 Andreas Schwab <schwab@redhat.com>
36967
36968 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36969 (reused_arena): Don't check arena limit.
36970 (arena_get2): Atomically check arena limit.
36971
fe72eebd
UD
369722011-11-08 Ulrich Drepper <drepper@gmail.com>
36973
5f078c32
UD
36974 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36975 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36976
fe72eebd
UD
36977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36978 instructions.
36979
ae1bc2fa
AS
369802011-11-07 Andreas Schwab <schwab@redhat.com>
36981
7583a88d
AS
36982 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36983 handler when locking.
36984
ae1bc2fa
AS
36985 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36986 Fix size of allocated buffer.
36987
10fb0bfa
AS
369882011-11-04 Andreas Schwab <schwab@redhat.com>
36989
998832a4
AS
36990 [BZ #10103]
36991 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36992 declarations for long double functions.
36993 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36994
10fb0bfa
AS
36995 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36996
3d7ba52b
AS
369972011-11-03 Andreas Schwab <schwab@redhat.com>
36998
a9ae54a1
AS
36999 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37000 installed.
37001
3d7ba52b
AS
37002 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37003 is disabled.
37004
bc8db248
ST
370052011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37006
37007 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37008
45b96dd6
AS
370092011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37010
647776f6
AS
37011 * include/alloca.h (stackinfo_alloca_round): Define.
37012 (extend_alloca): Use it.
37013 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37014 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37015 here.
37016
d91a8b93
AS
37017 * scripts/check-local-headers.sh: Ignore libaudit.h.
37018
45b96dd6
AS
37019 * nscd/Makefile (extra-objs): Make recursively expanded.
37020
432d41ce
UD
370212011-11-01 Ulrich Drepper <drepper@gmail.com>
37022
34372fc6
UD
37023 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37024 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37025
fadb59f8
UD
37026 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37027 * posix/tst-rfc3484-2.c: Likewise.
37028 * posix/tst-rfc3484-3.c: Likewise.
37029
78239589
UD
37030 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37031 process_vm_writev.
37032 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37033 process_vm_writev.
37034 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37035 process_vm_writev from libc using GLIBC_2.15 version.
37036
432d41ce
UD
37037 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37038
02f9c6cf
PP
370392011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37040
37041 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37042 stack usage.
37043
3a2c0242
UD
370442011-10-31 Ulrich Drepper <drepper@gmail.com>
37045
f4ec4833
UD
37046 [BZ #13367]
37047 * nss/getent.c (initgroups_keys): Show error message in case no group
37048 names are given.
37049
3a2c0242
UD
37050 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37051 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37052 __bump_nl_timestamp.
37053 * nscd/connections (nscd_init): When host database is served open
37054 netlink socket and request notification about configuration changes.
37055 (main_loop_poll): Track netlink file descriptor and bump timestamp
37056 in case data becomes available.
37057 (main_loop_epoll): Likewise.
37058 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37059 (database_pers_head): Add extra_data fileds.
37060 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37061 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37062 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37063 Adjust caller.
37064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37065 in6ai data, call __free_in6ai.
37066 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37067 Add -DHAVE_NETLINK.
37068 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37069 interface information. Reuse previous data if netlink timestamp
37070 is not changed.
37071 (__bump_nl_timestamp): New function.
37072 (__free_in6ai): New function.
37073
636064eb
UD
370742011-10-30 Ulrich Drepper <drepper@gmail.com>
37075
37076 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37077 close_not_cancel_no_status here.
37078 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37079
9beb2334
UD
370802011-10-29 Ulrich Drepper <drepper@gmail.com>
37081
6ef76f3b
UD
37082 [BZ #13276]
37083 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37084 return value.
37085
0ffc4f3e 37086 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37087 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37088 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37089
cb95113e
UD
370902011-07-03 Andreas Jaeger <aj@suse.de>
37091
37092 [BZ #10709]
37093 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37094 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37095 * math/libm-test.inc (sin_test): Add test case.
37096
a1b560ff
UD
370972011-10-29 Ulrich Drepper <drepper@gmail.com>
37098
c9aaface
UD
37099 [BZ #13337]
37100 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37101 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37102
d272e7f1
UD
37103 * elf/chroot_canon.c (chroot_canon): Cleanups.
37104
1bc33071
UD
37105 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37106
1760874d
TJ
37107 [BZ #13335]
37108 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37109 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37110
51d91b18
UD
37111 * string/test-strchr.c: Make usable for strchrnul testing.
37112 * string/test-strchrnul.c: New file.
37113 * string/Makefile (strop-tests): Add strchrnul.
37114
a1b560ff 37115 * po/it.po: Update from translation team.
b611fb81 37116 * po/es.po: Likewise.
a1b560ff 37117
a5b81e1f
UD
371182011-10-28 Ulrich Drepper <drepper@gmail.com>
37119
fd52bc6d
UD
37120 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37121 the three constants needed as parameters. Drop the others.
37122 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37123 __m128i_strloadu_tolower.
52e4b9eb
UD
37124 Create and initialize variable zero and use it in all the places
37125 where _mm_setzero_si128 was used.
fd52bc6d 37126
a5b81e1f
UD
37127 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37128 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37129 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37130 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37131 anymore.
37132 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37133 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37134 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37135 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37136 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37137 __mpranred, __mptan.
37138 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37139 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37140 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37141 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37142 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37143 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37144 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37145 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37146 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37147
b4343346
AS
371482011-10-28 Andreas Schwab <schwab@redhat.com>
37149
0c92d8a8
AS
37150 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37151 redefine if SHARED.
37152 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37153
b4343346
AS
37154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37155 wide char related routines to wcsmbs subdir.
37156
3871f58f
AS
371572011-10-27 Andreas Schwab <schwab@redhat.com>
37158
37159 [BZ #13344]
37160 * misc/sys/cdefs.h (__THROWNL): Define.
37161 * posix/unistd.h: Use __THREADNL instead of __THREAD
37162 for memory synchronization functions.
37163
94d44d9f
RM
371642011-10-26 Roland McGrath <roland@hack.frob.com>
37165
21b64b15 37166 [BZ #13349]
94d44d9f
RM
37167 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37168 doesn't exist.
37169 * manual/stdio.texi (Obstack Streams): Node removed.
37170
f6ce9294
AS
371712011-10-26 Andreas Schwab <schwab@redhat.com>
37172
80479147
AS
37173 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37174 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37175 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37176
f6ce9294
AS
37177 * math/math_private.h (math_force_eval): Allow non-addressable
37178 arguments.
37179 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37180
618280a1
UD
371812011-10-25 Ulrich Drepper <drepper@gmail.com>
37182
e0016b11
UD
37183 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37184 file is not needed.
37185
37186 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37187 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37188 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37189 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37190 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37191 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37192 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37193 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37194 Add AVX variants.
37195 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37196 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37197 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37198 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37199 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37200 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37201 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37202 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37203 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37204 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37205 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37206 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37208 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37209 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37210 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37211 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37212 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37213 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37214
37215 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37216 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37217
618280a1
UD
37218 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37219 place. Use VEX encoding when compiling for AVX.
37220
37822576
AS
372212011-10-25 Andreas Schwab <schwab@redhat.com>
37222
1f1e1947
AS
37223 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37224 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37225
37822576
AS
37226 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37227
31ea014d
UD
372282011-10-25 Ulrich Drepper <drepper@gmail.com>
37229
d7826aa1 37230 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37231 useless if() expression.
d7826aa1
UD
37232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37233 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37234 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37235 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37236 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37237 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37238 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37239 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37240 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37241 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37242 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37244 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37245 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37246 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37247 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37248 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37250 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37251
31ea014d
UD
37252 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37253
16437fec
AS
372542011-10-25 Andreas Schwab <schwab@redhat.com>
37255
37256 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37257 condition.
37258 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37259
31d3cc00
UD
372602011-10-25 Ulrich Drepper <drepper@gmail.com>
37261
37262 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37263 .text section. Avoid duplicate constants.
37264 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37266 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37272 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37273 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37274 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37275 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37276 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37277 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37278 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37279 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37280 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37281 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37282 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37283 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37284 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37285 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37286 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37287 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37288 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37289 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37290 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37291 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37292 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37293 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37294 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37295 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37296 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37297 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37298 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37299 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37300 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37301 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37302 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37303 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37304 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37305 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37306 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37307 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37308 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37309
58985aa9
UD
373102011-10-24 Ulrich Drepper <drepper@gmail.com>
37311
202c9deb
UD
37312 * sysdeps/x86_64/dla.h: Move to ...
37313 * sysdeps/x86_64/fpu/dla.h: ...here.
37314 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37315 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37316
af968f62
UD
37317 * config.make.in: Add have-mfma4 entry.
37318 * configure.in: Substitute libc_cv_cc_fma4.
37319 * math/Makefile (dbl-only-routines): Add sincostab.
37320 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37321 Use __sincostab not sincos.
37322 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37323 name is a macro.
37324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37328 using __copysign.
37329 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37330 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37331 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37332 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37333 and __inv.
37334 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37335 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37336 __copysign.
37337 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37338 define aliases when function name is a macro.
37339 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37340 sysdeps/ieee754/dbl-64/sincos.tbl.
37341 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37342 fma4-enabled routines.
37343 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37344 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37345 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37346 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37347 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37348 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37349 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37350 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37351 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37352 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37353 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37354 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37355 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37356 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37357 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37358 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37359 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37360 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37361 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37363 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37364 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37365 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37366 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37367 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37368 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37369 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37370 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37371 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37372 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37373
58985aa9
UD
37374 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37375 rename.
37376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37379 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37380 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37383 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37384
a201fbcf
AS
373852011-10-24 Andreas Schwab <schwab@redhat.com>
37386
37387 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37388
fc2ee42a
LD
373892011-10-23 Ulrich Drepper <drepper@gmail.com>
37390
bb3129bd
UD
37391 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37392
0275fff8
UD
37393 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37394 prediction.
37395 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37396
2fa2ae85
UD
37397 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37398 Remove unused variable magic_bits.
37399 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37400
fc2ee42a
LD
37401 * string/strnlen.c: Define and use STRNLEN macro.
37402 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37403 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37404 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37405 * wcsmbs/wcslen.c: Define and use WCSLEN.
37406 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37407 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37408 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37409 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37410 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37411 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37412 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37413
ce7dd29f
LD
374142011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37415
37416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37417 strnlen-sse2-no-bsf.
37418 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37420 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37421 Add strnlen support.
37422 (USE_AS_STRNLEN): New macro.
37423 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37424 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37425 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37426 * sysdeps/x86_64/wcslen.S: New file.
37427
979c70a3
MZ
374282011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37429
37430 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37431 XMM-moves are used for copying on small sizes.
37432
2d09f82f
LD
374332011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37434
37435 * wcsmbs/Makefile (strop-tests): Add wcschr.
37436 * wcsmbs/test-wcschr.c: New file.
37437 * string/test-strchr.c: Update.
37438 Add wcschr support.
37439 (WIDE): New macro.
37440
619fccca
LD
374412011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37442
2d09f82f 37443 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37444 * wcsmbs/test-wcslen.c: New file.
37445 * string/test-strlen.c: Update.
37446 Add wcslen support.
37447 (WIDE): New macro.
37448
09f699ea
UD
374492011-10-23 Ulrich Drepper <drepper@gmail.com>
37450
37451 * po/it.po: Update from translation team.
37452
95584d3b
LD
374532011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37454
37455 * sysdeps/x86_64/wcscmp.S: Update.
37456 Fix wrong comparison semantics.
37457 wcscmp shall use signed comparison not unsigned.
37458 Don't use substraction to avoid overflow bug.
37459 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37460 * wcsmbc/wcscmp.c: Likewise.
37461 * string/test-strcmp.c: Likewise.
37462 Add new tests to check cases with negative values.
37463
c8b3296b
UD
374642011-10-23 Ulrich Drepper <drepper@gmail.com>
37465
37466 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37467 * sysdeps/x86_64/dla.h: ...here. New file.
37468 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37475 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37477
246ad57a
AS
374782011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37479
37480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37481 __ynl_finite aliases.
37482
a1a87169
UD
374832011-10-22 Ulrich Drepper <drepper@gmail.com>
37484
0d355eb7
UD
37485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37486
a1a87169
UD
37487 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37488 define DLA_FMA.
37489 [DLA_FMA] (EMULV): Use DLA_FMA.
37490 [DLA_FMA] (MUL12): Use EMULV.
37491 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37492 that are not needed.
37493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37500
ee2aafe0
AS
375012011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37502
37503 * math/s_nan.c: Undef __nan.
37504 * math/s_nanf.c: Undef __nanf.
37505 * math/s_nanl.c: Undef __nanl.
37506 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37507 "math_private.h".
37508
bc62c2fb
UD
375092011-10-22 Ulrich Drepper <drepper@gmail.com>
37510
77425c63
UD
37511 * math/s_catan.c: Add branch predictions.
37512 * math/s_catanf.c: Likewise.
37513 * math/s_catanh.c: Likewise.
37514 * math/s_catanhf.c: Likewise.
37515 * math/s_catanhl.c: Likewise.
37516 * math/s_catanl.c: Likewise.
37517 * math/s_cexp.c: Likewise.
37518 * math/s_cexpf.c: Likewise.
37519 * math/s_cexpl.c: Likewise.
37520 * math/s_clog.c: Likewise.
37521 * math/s_clog10.c: Likewise.
37522 * math/s_clog10f.c: Likewise.
37523 * math/s_clog10l.c: Likewise.
37524 * math/s_clogf.c: Likewise.
37525 * math/s_clogl.c: Likewise.
37526 * math/s_csqrt.c: Likewise.
37527 * math/s_csqrtf.c: Likewise.
37528 * math/s_csqrtl.c: Likewise.
37529 * math/s_ctanf.c: Likewise.
37530 * math/s_ctanh.c: Likewise.
37531 * math/s_ctanhf.c: Likewise.
37532 * math/s_ctanhl.c: Likewise.
37533 * math/s_ctanl.c: Likewise.
37534
bc62c2fb
UD
37535 * math/math_private.h: Define __nan, __nanf, __nanl.
37536 * math/s_cacosh.c: Include <math_private.h>.
37537 * math/s_cacoshl.c: Likewise.
37538 * math/s_casinh.c: Likewise.
37539 * math/s_casinhf.c: Likewise.
37540 * math/s_casinhl.c: Likewise.
37541 * math/s_ccos.c: Rely entire on ccosh.
37542 * math/s_ccosf.c: Rely entire on ccoshf.
37543 * math/s_ccosl.c: Rely entirely on ccoshl.
37544 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37545 Remove tests for FE_INVALID.
37546 * math/s_ccoshf.c: Likewise.
37547 * math/s_ccoshl.c: Likewise.
37548 * math/s_csin.c: Likewise.
37549 * math/s_csinf.c: Likewise.
37550 * math/s_csinh.c Likewise.
37551 * math/s_csinhf.c: Likewise.
37552 * math/s_csinhl.c: Likewise.
37553 * math/s_csinl.c: Likewise.
37554 * math/s_ctan.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37556 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37557 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37558
8ec250a4
UD
375592011-10-21 Ulrich Drepper <drepper@gmail.com>
37560
c196fed8
UD
37561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37562 compilation problems.
37563
8ec250a4
UD
37564 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37565 __builtin_expect.
37566
8d4f46c6
UD
375672011-10-20 Ulrich Drepper <drepper@gmail.com>
37568
ed72b654
UD
37569 * sysdeps/i386/configure.in: Test for -mfma4 option.
37570 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37571 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37572 COMMON_CPUID_INDEX_80000001.
37573 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37574 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37575 use it if FMA3 is not supported.
37576 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37577
8d4f46c6
UD
37578 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37579 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37580
d45c60c2
AS
375812011-10-20 Andreas Schwab <schwab@redhat.com>
37582
37583 [BZ #12892]
37584 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37585 it would create a cycle with a link time dependency.
37586
d9a4d2ab
UD
375872011-10-19 Ulrich Drepper <drepper@gmail.com>
37588
855d1560
UD
37589 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37590 instruction.
37591 * string/Makefile (strop-tests): Add rawmemchr.
37592 * string/test-rawmemchr.c: New file.
37593
d9a4d2ab
UD
37594 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37595 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37596 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37597 when compiling str{,n}casecmp and when AVX is available. Hook up
37598 new optimized code in initializers.
37599
8f3b1ffe
AS
376002011-10-19 Andreas Schwab <schwab@redhat.com>
37601
37602 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37603 __feraiseexcept instead of feraiseexcept.
37604
d38f1dba
UD
376052011-10-18 Ulrich Drepper <drepper@gmail.com>
37606
d9a8d0ab
UD
37607 * math/math_private.h: Define defaults for libc_fetestexcept and
37608 libc_feupdateenv.
37609 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37610 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37611 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37612 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37613 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37614 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37615 libc_fetestexcept and libc_feupdateenv.
37616
4855e3dd
UD
37617 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37618 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37619 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37620 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37621 libc_feholdexcept_setround.
37622
581d30e3
UD
37623 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37624 Add s_nearbyint-c and s_nearbyintf-c.
37625 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37626 nearbyintf inlines.
37627 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37628 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37629 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37630 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37631
d38f1dba
UD
37632 * math/math_private.h: Define defaults for libc_fegetround,
37633 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37634 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37635 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37636 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37637 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37638 standard functions.
37639 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37640 Remove comments and hacks for old compiler versions.
37641 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37642 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37643 libc_feholdexceptl.
37644
caa6c9d8
AS
376452011-10-18 Andreas Schwab <schwab@redhat.com>
37646
37647 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37648 (__feraiseexcept_renamed): Add __NTH.
37649 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37650 namespace violations.
37651
97c066e6
UD
376522011-10-17 Ulrich Drepper <drepper@gmail.com>
37653
99ce7b04
UD
37654 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37655
1004d182
UD
37656 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37657
228a984d
UD
37658 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37659 recently added interfaces.
37660 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37661
c8553a6a
UD
37662 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37663 about macro parameter expansion.
37664
ed22dcf6
UD
37665 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37666 __NO_MATH_INLINES is defined. Cleanups.
37667
37668 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37669 and __floorf is target has SSE4.1.
37670 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37671 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37672 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37673 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37674
b171c137
UD
37675 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37676 name.
37677 (floorf): Likewise.
37678
97c066e6
UD
37679 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37680
629f62ef
AS
376812011-10-17 Andreas Schwab <schwab@redhat.com>
37682
49a43d80
AS
37683 * misc/sys/cdefs.h: Fix last change.
37684
629f62ef
AS
37685 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37686 database lookup.
37687
e453f6cd
UD
376882011-10-16 Ulrich Drepper <drepper@gmail.com>
37689
aa78043a
UD
37690 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37691
ad0f5cad
UD
37692 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37693 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37698 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37699 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37700 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37701 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37702 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37704 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37706 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37708 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37709 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37710 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37711 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37712 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37714
37715 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37716 ceil, ceilf, floor, floorf.
37717
37718 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37719 Perform IRELATIVE relocations last.
37720
e453f6cd
UD
37721 * elf/do-rel.h: Add another parameter nrelative, replacing the
37722 local variable with the same name. Change name of the function
37723 to end in Rel or Rela (uppercase).
37724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37725 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37726 elf_dynamic_do_##reloc function.
37727
fd5bdc09
UD
377282011-10-15 Ulrich Drepper <drepper@gmail.com>
37729
79b195b5
UD
37730 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37731 is sufficient, at least on modern CPUs.
37732
d4a28569
UD
37733 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37734
b61099b5
UD
37735 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37736 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37737
bcf01e6d
UD
37738 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37739 __expl_finite.
37740 * math/bits/math-finite.h: Add entries for exp.
37741 * math/e_expl.c: Add __*_finite alias.
37742 * sysdeps/i386/fpu/e_exp.S: Likewise.
37743 * sysdeps/i386/fpu/e_expf.S: Likewise.
37744 * sysdeps/i386/fpu/e_expl.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37746 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37750 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37751 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37752
ba1a0d59
UD
37753 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37754 is sufficient, at least on modern CPUs.
37755
fd5bdc09
UD
37756 * ctype/ctype-info.c (__ctype_init): Define.
37757 * include/ctype.h (__ctype_init): Declare.
37758 (__ctype_b_loc): The variable is always initialized.
37759 (__ctype_toupper_loc): Likewise.
37760 (__ctype_tolower_loc): Likewise.
37761 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37762 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37763
7872cfb0
AS
377642011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37765
b468825a
AS
37766 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37767
7872cfb0
AS
37768 * configure.in: Also look in $cxxmachine/include for C++ system
37769 headers.
37770
be13f7bf
LD
377712011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37772
37773 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37774 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37775 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37776 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37777 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37778 (USE_AS_WMEMCMP): New macro.
37779 Fixing indents.
37780 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37781 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37782 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37783 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37785 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37786 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37787 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37788 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37789 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37790 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37791 (USE_AS_WMEMCMP): New macro.
37792 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37793 * sysdeps/string/test-memcmp.c: Update.
37794 Fix simple_wmemcmp.
37795 Add new tests.
37796 * wcsmbs/wmemcmp.c: Update.
37797 (WMEMCMP): New macro.
37798 Fix overflow bug.
37799
556a2007
AJ
378002011-10-12 Andreas Jaeger <aj@suse.de>
37801
37802 [BZ #13268]
37803 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37804
538faaa7
UD
378052011-10-15 Ulrich Drepper <drepper@gmail.com>
37806
ab6737ff
UD
37807 * libio/iofwide.c (do_length): Avoid warning.
37808
538faaa7
UD
37809 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37810
396a21b1
UD
378112011-10-14 Ulrich Drepper <drepper@gmail.com>
37812
cdf2901f
UD
37813 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37814
38ad40ce
UD
37815 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37816 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37817 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37818 * sysdeps/i386/i686/fpu/e_log.S: New file.
37819 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37820 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37821
396a21b1
UD
37822 * ctype/ctype.h: Add support for inlined isXXX functions when
37823 compiling C++ code.
37824
6b1f68c9
AS
378252011-10-14 Andreas Schwab <schwab@redhat.com>
37826
349290c0
AS
37827 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37828
6b1f68c9
AS
37829 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37830
f2282d42
RM
378312011-10-13 Roland McGrath <roland@hack.frob.com>
37832
37833 [BZ #13291]
37834 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37835
5298ffa8
AS
378362011-10-13 Andreas Schwab <schwab@redhat.com>
37837
714fad23
AS
37838 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37839 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37840 feraiseexcept.
37841
81dcc7fb
AS
37842 * sysdeps/x86_64/memrchr.S: Check for zero size.
37843
5298ffa8
AS
37844 * string/stratcliff.c: Add memrchr tests.
37845
951fbcec
LD
378462011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37847
37848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37849 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37850 rawmemchr-sse2 rawmemchr-sse2-bsf.
37851 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37852 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37853 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37854 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37855 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37856 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37857 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37858 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37859 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37860 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37861 * string/memrchr.c (MEMRCHR): New macro.
37862
0ac5ae23
UD
378632011-10-12 Ulrich Drepper <drepper@gmail.com>
37864
37865 Add integration with gcc's -ffinite-math-only and optimize wrapper
37866 functions in libm.
37867 * Versions.def: Define GLIBC_2.15 version for libm.
37868 * math/Makefile (headers): Add bits/math-finite.h.
37869 * math/bits/math-finite.h: New file.
37870 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37871 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37872 * math/e_acoshl.c: Add __*_finite alias.
37873 * math/e_acosl.c: Likewise.
37874 * math/e_asinl.c: Likewise.
37875 * math/e_atan2l.c: Likewise.
37876 * math/e_atanhl.c: Likewise.
37877 * math/e_coshl.c: Likewise.
37878 * math/e_exp10.c: Likewise.
37879 * math/e_exp10f.c: Likewise.
37880 * math/e_exp10l.c: Likewise.
37881 * math/e_exp2l.c: Likewise.
37882 * math/e_fmodl.c: Likewise.
37883 * math/e_gammal_r.c: Likewise.
37884 * math/e_hypotl.c: Likewise.
37885 * math/e_j0l.c: Likewise.
37886 * math/e_j1l.c: Likewise.
37887 * math/e_jnl.c: Likewise.
37888 * math/e_lgammal_r.c: Likewise.
37889 * math/e_log10l.c: Likewise.
37890 * math/e_log2l.c: Likewise.
37891 * math/e_logl.c: Likewise.
37892 * math/e_powl.c: Likewise.
37893 * math/e_sinhl.c: Likewise.
37894 * math/e_sqrtl.c: Likewise.
37895 * math/e_scalb.c: Completely rewritten and optimized.
37896 * math/e_scalbf.c: Likewise.
37897 * math/e_scalbl.c: Likewise.
37898 * math/w_acos.c: Likewise.
37899 * math/w_acosf.c: Likewise.
37900 * math/w_acosl.c: Likewise.
37901 * math/w_acosh.c: Likewise.
37902 * math/w_acoshf.c: Likewise.
37903 * math/w_acoshl.c: Likewise.
37904 * math/w_asin.c: Likewise.
37905 * math/w_asinf.c: Likewise.
37906 * math/w_asinl.c: Likewise.
37907 * math/w_atan2.c: Likewise.
37908 * math/w_atan2f.c: Likewise.
37909 * math/w_atan2l.c: Likewise.
37910 * math/w_atanh.c: Likewise.
37911 * math/w_atanhf.c: Likewise.
37912 * math/w_atanhl.c: Likewise.
37913 * math/w_exp10.c: Likewise.
37914 * math/w_exp10f.c: Likewise.
37915 * math/w_exp10l.c: Likewise.
37916 * math/w_fmod.c: Likewise.
37917 * math/w_fmodf.c: Likewise.
37918 * math/w_fmodl.c: Likewise.
37919 * math/w_j0.c: Likewise.
37920 * math/w_j0f.c: Likewise.
37921 * math/w_j0l.c: Likewise.
37922 * math/w_j1.c: Likewise.
37923 * math/w_j1f.c: Likewise.
37924 * math/w_j1l.c: Likewise.
37925 * math/w_jn.c: Likewise.
37926 * math/w_jnf.c: Likewise.
37927 * math/w_log.c: Likewise.
37928 * math/w_logf.c: Likewise.
37929 * math/w_logl.c: Likewise.
37930 * math/w_log10.c: Likewise.
37931 * math/w_log10f.c: Likewise.
37932 * math/w_log10l.c: Likewise.
37933 * math/w_log2.c: Likewise.
37934 * math/w_log2f.c: Likewise.
37935 * math/w_log2l.c: Likewise.
37936 * math/w_pow.c: Likewise.
37937 * math/w_powf.c: Likewise.
37938 * math/w_powl.c: Likewise.
37939 * math/w_remainder.c: Likewise.
37940 * math/w_remainderf.c: Likewise.
37941 * math/w_remainderl.c: Likewise.
37942 * math/w_scalb.c: Likewise.
37943 * math/w_scalbf.c: Likewise.
37944 * math/w_scalbl.c: Likewise.
37945 * math/w_sqrt.c: Likewise.
37946 * math/w_sqrtf.c: Likewise.
37947 * math/w_sqrtl.c: Likewise.
37948 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37949 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37950 used.
37951 * math/math_private.h: Declare __kernel_standard_f.
37952 * math/w_cosh.c: Remove cruft and optimize a bit.
37953 * math/w_coshf.c: Likewise.
37954 * math/w_coshl.c: Likewise.
37955 * math/w_exp2.c: Likewise.
37956 * math/w_exp2f.c: Likewise.
37957 * math/w_exp2l.c: Likewise.
37958 * math/w_hypot.c: Likewise.
37959 * math/w_hypotf.c: Likewise.
37960 * math/w_hypotl.c: Likewise.
37961 * math/w_lgamma.c: Likewise.
37962 * math/w_lgamma_r.c: Likewise.
37963 * math/w_lgammaf.c: Likewise.
37964 * math/w_lgammaf_r.c: Likewise.
37965 * math/w_lgammal.c: Likewise.
37966 * math/w_lgammal_r.c: Likewise.
37967 * math/w_sinh.c: Likewise.
37968 * math/w_sinhf.c: Likewise.
37969 * math/w_sinhl.c: Likewise.
37970 * math/w_tgamma.c: Likewise.
37971 * math/w_tgammaf.c: Likewise.
37972 * math/w_tgammal.c: Likewise.
37973 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37974 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37975 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37976 Minor optimizations. Pretty printing. Remove cruft.
37977 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37978 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37979 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37980 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37981 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37982 * sysdeps/i386/fpu/e_asin.S: Likewise.
37983 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37984 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37985 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37986 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37987 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37988 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37989 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37990 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37991 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37992 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37993 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37994 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37995 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37996 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37997 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37998 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37999 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38000 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38001 * sysdeps/i386/fpu/e_log.S: Likewise.
38002 * sysdeps/i386/fpu/e_log10.S: Likewise.
38003 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38004 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38005 * sysdeps/i386/fpu/e_log2.S: Likewise.
38006 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38007 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38008 * sysdeps/i386/fpu/e_logf.S: Likewise.
38009 * sysdeps/i386/fpu/e_logl.S: Likewise.
38010 * sysdeps/i386/fpu/e_pow.S: Likewise.
38011 * sysdeps/i386/fpu/e_powf.S: Likewise.
38012 * sysdeps/i386/fpu/e_powl.S: Likewise.
38013 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38014 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38015 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38016 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38017 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38018 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38019 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38020 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38021 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38022 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38023 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38025 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38026 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38027 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38028 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38029 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38030 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38031 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38032 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38033 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38035 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38036 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38038 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38039 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38040 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38042 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38043 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38044 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38045 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38046 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38047 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38048 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38049 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38050 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38051 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38052 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38053 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38054 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38055 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38056 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38057 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38058 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38059 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38060 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38061 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38062 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38063 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38064 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38065 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38066 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38067 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38068 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38069 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38070 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38071 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38072 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38073 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38074 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38075 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38076 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38077 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38078 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38079 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38080 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38081 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38082 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38087 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38089 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38090 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38091 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38092 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38093 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38094 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38096 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38097 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38099 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38100 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38101 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38102 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38105 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38107 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38108 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38110 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38113 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38114 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38115 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38116 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38117 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38118 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38119 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38120 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38121 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38122 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38123 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38124 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38125 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38126 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38127 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38128 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38129 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38130 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38131 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38132 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38133 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38134 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38135 (__isnanf): Likewise.
38136 (__isinf_ns): Likewise.
38137 (__isinf_nsf): Likewise.
38138 (__finite): Likewise.
38139 (__finitef): Likewise.
38140 (__ieee754_sqrt): Define as macro.
38141 (__ieee754_sqrtf): Define as macro.
38142 (__ieee754_sqrtl): Define as macro.
38143 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38144 inlined copy.
38145 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38146 __FINITE_MATH_ONLY__ consistent.
38147 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38148
12cc2fcd
AS
381492011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38150
a843a204
AS
38151 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38152 of rawmemchr.
38153
12cc2fcd
AS
38154 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38155
c853acd5
UD
381562011-10-09 Ulrich Drepper <drepper@gmail.com>
38157
38158 * po/ja.po: Update from translation team.
38159
c658d255
RM
381602011-10-08 Roland McGrath <roland@hack.frob.com>
38161
110946e4
RM
38162 * locale/programs/locarchive.c (prepare_address_space): New function.
38163 (create_archive, enlarge_archive, open_archive): Use it.
38164
50604220
RM
38165 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38166 inside [SHARED], where it is used.
38167
c658d255
RM
38168 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38169
38170 * nss/getent.c (netgroup_keys): Remove unused variable.
38171 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38172
6a621eb7
UD
381732011-10-08 Ulrich Drepper <drepper@gmail.com>
38174
7edb55ce
UD
38175 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38176 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38178 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38179 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38180 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38181 * math/Makefile (libm-calls): Add s_isinf_ns.
38182 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38183 * math/multc3.c: Likewise.
38184 * math/s_casin.c: Likewise.
38185 * math/s_casinf.c: Likewise.
38186 * math/s_casinl.c: Likewise.
38187 * math/s_ccos.c: Likewise.
38188 * math/s_ccosf.c: Likewise.
38189 * math/s_ccosl.c: Likewise.
38190 * math/s_ctan.c: Likewise.
38191 * math/s_ctanf.c: Likewise.
38192 * math/s_ctanh.c: Likewise.
38193 * math/s_ctanhf.c: Likewise.
38194 * math/s_ctanhl.c: Likewise.
38195 * math/s_ctanl.c: Likewise.
38196 * math/w_fmod.c: Likewise.
38197 * math/w_fmodf.c: Likewise.
38198 * math/w_fmodl.c: Likewise.
38199 * math/w_remainder.c: Likewise.
38200 * math/w_remainderf.c: Likewise.
38201 * math/w_remainderl.c: Likewise.
38202 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38203 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38206 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38207 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38208 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38209 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38210
187da0ae
UD
38211 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38212 of the number.
38213 * stdio-common/printf_fphex.c: Likewise.
38214 * stdio-common/printf_size.c: Likewise.
38215
9277c064
UD
38216 * math/e_exp10.c: Include math_private.h using <...> not "...".
38217 * math/e_exp10f.c: Likewise.
38218 * math/e_exp10l.c: Likewise.
38219 * math/e_exp2l.c: Likewise.
38220 * math/e_j0l.c: Likewise.
38221 * math/e_j1l.c: Likewise.
38222 * math/e_jnl.c: Likewise.
38223 * math/e_lgammal_r.c: Likewise.
38224 * math/e_rem_pio2l.c: Likewise.
38225 * math/e_scalb.c: Likewise.
38226 * math/e_scalbf.c: Likewise.
38227 * math/e_scalbl.c: Likewise.
38228 * math/k_cosl.c: Likewise.
38229 * math/k_sinl.c: Likewise.
38230 * math/k_tanl.c: Likewise.
38231 * math/s_cacoshf.c: Likewise.
38232 * math/s_catan.c: Likewise.
38233 * math/s_catanf.c: Likewise.
38234 * math/s_catanh.c: Likewise.
38235 * math/s_catanhf.c: Likewise.
38236 * math/s_catanhl.c: Likewise.
38237 * math/s_catanl.c: Likewise.
38238 * math/s_ccosh.c: Likewise.
38239 * math/s_ccoshf.c: Likewise.
38240 * math/s_ccoshl.c: Likewise.
38241 * math/s_cexp.c: Likewise.
38242 * math/s_cexpf.c: Likewise.
38243 * math/s_cexpl.c: Likewise.
38244 * math/s_clog.c: Likewise.
38245 * math/s_clog10.c: Likewise.
38246 * math/s_clog10f.c: Likewise.
38247 * math/s_clog10l.c: Likewise.
38248 * math/s_clogf.c: Likewise.
38249 * math/s_clogl.c: Likewise.
38250 * math/s_csin.c: Likewise.
38251 * math/s_csinf.c: Likewise.
38252 * math/s_csinh.c: Likewise.
38253 * math/s_csinhf.c: Likewise.
38254 * math/s_csinhl.c: Likewise.
38255 * math/s_csinl.c: Likewise.
38256 * math/s_csqrt.c: Likewise.
38257 * math/s_csqrtf.c: Likewise.
38258 * math/s_csqrtl.c: Likewise.
38259 * math/s_ctan.c: Likewise.
38260 * math/s_ctanf.c: Likewise.
38261 * math/s_ctanh.c: Likewise.
38262 * math/s_ctanhf.c: Likewise.
38263 * math/s_ctanhl.c: Likewise.
38264 * math/s_ctanl.c: Likewise.
38265 * math/s_ldexp.c: Likewise.
38266 * math/s_ldexpf.c: Likewise.
38267 * math/s_ldexpl.c: Likewise.
38268 * math/s_significand.c: Likewise.
38269 * math/s_significandf.c: Likewise.
38270 * math/s_significandl.c: Likewise.
38271 * math/w_acos.c: Likewise.
38272 * math/w_acosf.c: Likewise.
38273 * math/w_acosh.c: Likewise.
38274 * math/w_acoshf.c: Likewise.
38275 * math/w_acoshl.c: Likewise.
38276 * math/w_acosl.c: Likewise.
38277 * math/w_asin.c: Likewise.
38278 * math/w_asinf.c: Likewise.
38279 * math/w_asinl.c: Likewise.
38280 * math/w_atan2.c: Likewise.
38281 * math/w_atan2f.c: Likewise.
38282 * math/w_atan2l.c: Likewise.
38283 * math/w_atanh.c: Likewise.
38284 * math/w_atanhf.c: Likewise.
38285 * math/w_atanhl.c: Likewise.
38286 * math/w_cosh.c: Likewise.
38287 * math/w_coshf.c: Likewise.
38288 * math/w_coshl.c: Likewise.
38289 * math/w_dremf.c: Likewise.
38290 * math/w_exp10.c: Likewise.
38291 * math/w_exp10f.c: Likewise.
38292 * math/w_exp10l.c: Likewise.
38293 * math/w_exp2.c: Likewise.
38294 * math/w_exp2f.c: Likewise.
38295 * math/w_fmod.c: Likewise.
38296 * math/w_fmodf.c: Likewise.
38297 * math/w_fmodl.c: Likewise.
38298 * math/w_hypot.c: Likewise.
38299 * math/w_hypotf.c: Likewise.
38300 * math/w_hypotl.c: Likewise.
38301 * math/w_j0.c: Likewise.
38302 * math/w_j0f.c: Likewise.
38303 * math/w_j0l.c: Likewise.
38304 * math/w_j1.c: Likewise.
38305 * math/w_j1f.c: Likewise.
38306 * math/w_j1l.c: Likewise.
38307 * math/w_jn.c: Likewise.
38308 * math/w_jnf.c: Likewise.
38309 * math/w_jnl.c: Likewise.
38310 * math/w_lgamma.c: Likewise.
38311 * math/w_lgamma_r.c: Likewise.
38312 * math/w_lgammaf.c: Likewise.
38313 * math/w_lgammaf_r.c: Likewise.
38314 * math/w_lgammal.c: Likewise.
38315 * math/w_lgammal_r.c: Likewise.
38316 * math/w_log.c: Likewise.
38317 * math/w_log10.c: Likewise.
38318 * math/w_log10f.c: Likewise.
38319 * math/w_log10l.c: Likewise.
38320 * math/w_log2.c: Likewise.
38321 * math/w_log2f.c: Likewise.
38322 * math/w_log2l.c: Likewise.
38323 * math/w_logf.c: Likewise.
38324 * math/w_logl.c: Likewise.
38325 * math/w_pow.c: Likewise.
38326 * math/w_powf.c: Likewise.
38327 * math/w_powl.c: Likewise.
38328 * math/w_remainder.c: Likewise.
38329 * math/w_remainderf.c: Likewise.
38330 * math/w_remainderl.c: Likewise.
38331 * math/w_scalb.c: Likewise.
38332 * math/w_scalbf.c: Likewise.
38333 * math/w_scalbl.c: Likewise.
38334 * math/w_sinh.c: Likewise.
38335 * math/w_sinhf.c: Likewise.
38336 * math/w_sinhl.c: Likewise.
38337 * math/w_sqrt.c: Likewise.
38338 * math/w_sqrtf.c: Likewise.
38339 * math/w_sqrtl.c: Likewise.
38340 * math/w_tgamma.c: Likewise.
38341 * math/w_tgammaf.c: Likewise.
38342 * math/w_tgammal.c: Likewise.
38343
6a621eb7
UD
38344 * po/ja.po: Update from translation team.
38345
bf582445
AJ
383462011-09-29 Andreas Jaeger <aj@suse.de>
38347
f9efbf3a
AJ
38348 [BZ #13179]
38349 * sunrpc/netname.c (netname2host): Fix logic.
38350
bf582445
AJ
38351 [BZ #6779]
38352 [BZ #6783]
38353 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38354 correctly.
38355 * math/w_remainder.c (__remainder): Likewise.
38356 * math/w_remainderf.c (__remainderf): Likewise.
38357 * math/libm-test.inc (remainder_test): Add test cases.
38358
48693bea
AK
383592011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38360
38361 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38362 sdiv_qrnnd.
38363
42622229
LD
383642011-10-07 Ulrich Drepper <drepper@gmail.com>
38365
38366 * string/test-memcmp.c: Avoid unncessary #defines.
38367 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38368
093ecf92
LD
383692011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38370
38371 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38372 Use new sse2 version for core i3 - i7 as it's faster
38373 than sse42 version.
38374 (bit_Prefer_PMINUB_for_stringop): New.
38375 * sysdeps/x86_64/rawmemchr.S: Update.
38376 Replace with faster SSE2 version.
38377 * sysdeps/x86_64/memrchr.S: New file.
38378 * sysdeps/x86_64/memchr.S: Update.
38379 Replace with faster SSE2 version.
38380
fde56e5c
MP
383812011-09-12 Marek Polacek <mpolacek@redhat.com>
38382
38383 * elf/dl-load.c (lose): Add cast to avoid warning.
38384
21fd49a9
UD
383852011-10-07 Ulrich Drepper <drepper@gmail.com>
38386
5a06e643
UD
38387 * po/ca.po: Update from translation team.
38388
684ae515
UD
38389 * inet/getnetgrent_r.c: Hook up nscd.
38390 * nscd/Makefile (routines): Add nscd_netgroup.
38391 (nscd-modules): Add netgroupcache.
38392 (CFLAGS-netgroupcache.c): Define.
38393 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38394 (cache_search): Add const to second parameter.
38395 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38396 INNETGR.
38397 (dbs): Add netgrdb entry.
38398 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38399 (verify_persistent_db): Handle netgrdb.
38400 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38401 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38402 GETFDNETGR.
38403 (netgroup_response_header): Define.
38404 (innetgroup_response_header): Define.
38405 (datahead): Add netgroup_response_header and innetgroup_response_header
38406 elements.
38407 * nscd/nscd.conf: Add entries for netgroup cache.
38408 * nscd/nscd.h (dbtype): Add netgrdb.
38409 (_PATH_NSCD_NETGROUP_DB): Define.
38410 (netgroup_iov_disabled): Declare.
38411 (xmalloc, xcalloc, xrealloc): Move declarations here.
38412 (cache_search): Adjust prototype.
38413 Add netgroup-related prototypes.
38414 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38415 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38416 (__nscd_innetgr): Declare.
38417 * nscd/selinux.c (perms): Use access_vector_t as element type and
38418 add netgroup-related initializers.
38419 * nscd/netgroupcache.c: New file.
38420 * nscd/nscd_netgroup.c: New file.
38421 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38422 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38423 For four parameters use innetgr.
38424 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38425 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38426 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38427 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38428
21fd49a9
UD
38429 * nscd/connections.c (register_traced_file): Don't register file
38430 for disabled databases.
38431
054c0457
UD
384322011-10-06 Ulrich Drepper <drepper@gmail.com>
38433
32b63198
UD
38434 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38435
054c0457
UD
38436 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38437 from tree and freeing node.
38438
64031225
JO
384392011-09-25 Jiri Olsa <jolsa@redhat.com>
38440
38441 * nss/nsswitch.c (__nss_database_lookup): Handle
38442 nss_parse_service_list out of memory case.
38443
0490345c
JO
384442011-09-15 Jiri Olsa <jolsa@redhat.com>
38445
38446 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38447 out of memory case.
38448
3a62d00d
AS
384492011-10-04 Andreas Schwab <schwab@redhat.com>
38450
38451 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38452 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38453 pass it down.
38454 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38455 elf_machine_rela, elf_machine_lazy_rel.
38456 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38457 (ELF_DYNAMIC_DO_REL): Likewise.
38458 (ELF_DYNAMIC_DO_RELA): Likewise.
38459 (ELF_DYNAMIC_RELOCATE): Likewise.
38460 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38461 to ELF_DYNAMIC_DO_REL.
38462 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38463 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38464 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38465 elf_machine_rela.
38466 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38467 skip_ifunc, don't call ifunc function if non-zero.
38468 (elf_machine_rela): Likewise.
38469 (elf_machine_lazy_rel): Likewise.
38470 (elf_machine_lazy_rela): Likewise.
38471 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38472 (elf_machine_lazy_rel): Likewise.
38473 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38474 Likewise.
38475 (elf_machine_lazy_rel): Likewise.
38476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38477 Likewise.
38478 (elf_machine_lazy_rel): Likewise.
38479 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38480 (elf_machine_lazy_rel): Likewise.
38481 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38482 (elf_machine_lazy_rel): Likewise.
38483 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38484 (elf_machine_lazy_rel): Likewise.
38485 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38486 (elf_machine_lazy_rel): Likewise.
38487 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38488 (elf_machine_lazy_rel): Likewise.
38489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38490 (elf_machine_lazy_rel): Likewise.
38491
68577918
UD
384922011-09-28 Ulrich Drepper <drepper@gmail.com>
38493
38494 * nss/nss_files/files-init.c (_nss_files_init): Use static
38495 initialization for all the *_traced_file variables.
38496
68822d74
AS
384972011-09-28 Andreas Schwab <schwab@redhat.com>
38498
38499 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38500
2056100b
RM
385012011-09-27 Roland McGrath <roland@hack.frob.com>
38502
38503 [BZ #13226]
38504 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38505
32c76b63
AS
385062011-09-27 Andreas Schwab <schwab@redhat.com>
38507
38508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38509 Reread the line before reparsing it.
38510
bf972c9d
AS
385112011-09-26 Andreas Schwab <schwab@redhat.com>
38512
38513 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38514
e057a1b5
JM
385152011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38516 Maxim Kuvyrkov <maxim@codesourcery.com>
38517 Joseph Myers <joseph@codesourcery.com>
38518
38519 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38520 if needed for __stack_chk_guard.
38521
bc7e1c36
RM
385222011-09-19 Roland McGrath <roland@hack.frob.com>
38523
ecb1482f
RM
38524 * sysdeps/posix/spawni.c (script_execute): Always define it.
38525 It will be optimized away if unused.
38526 (maybe_script_execute): New function.
38527 (__spawni): Call it.
38528
bc7e1c36
RM
38529 * Makerules: Don't include tls.make.
38530 (config-tls): Always set to thread.
38531 * tls.make.c: File removed.
38532
1c3b002b
MF
385332011-09-19 Mike Frysinger <vapier@gentoo.org>
38534
38535 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38536 * config.make.in (CPPFLAGS-config): New substituted variable.
38537
2840865d
UD
385382011-09-15 Ulrich Drepper <drepper@gmail.com>
38539
88738eb6
UD
38540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38541
cbf645a6 38542 [BZ #13192]
2840865d
UD
38543 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38544 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38545
b402e91a
RM
385462011-09-15 Roland McGrath <roland@hack.frob.com>
38547
38548 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38549 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38550 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38551 (CALL_FAIL): Likewise.
38552 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38553 (CALL_FAIL): Macro removed.
38554 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38555
4c1a1f71
UD
385562011-09-15 Ulrich Drepper <drepper@gmail.com>
38557
38558 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38559 for __FINITE_MATH_ONLY__ == 1.
38560
edc121be
AS
385612011-09-15 Andreas Schwab <schwab@redhat.com>
38562
38563 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38564 __ieee754_sqrt instead of sqrt.
38565 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38566 __ieee754_sqrtf instead of sqrtf.
38567 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38568 __floorf instead of floorf.
38569 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38570 __floorf, __truncf instead of floorf, truncf.
38571
cd205654
UD
385722011-09-14 Ulrich Drepper <drepper@gmail.com>
38573
ee4d0315
UD
38574 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38575
cd205654
UD
38576 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38577 __extern_always_inline.
38578 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38579 32-bit.
38580
48b67d71
AS
385812011-09-14 Andreas Schwab <schwab@redhat.com>
38582
38583 * elf/rtld.c (dl_main): Also relocate in dependency order when
38584 doing symbol dependency testing.
38585
1ae12c75
AS
385862011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38587
38588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38589 Always define `refsym'.
38590
995a80df
AS
385912011-09-13 Andreas Schwab <schwab@redhat.com>
38592
e529793b
AS
38593 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38594 (__FD_ELT): Renamed from __FDELT.
38595 * misc/bits/select2.h (__FD_ELT): Likewise.
38596 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38597 __FD_MASK instead of __FDELT, __FDMASK.
38598 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38599 Likewise.
38600 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38601 Likewise.
38602
52d4fef8
AS
38603 * elf/Makefile (gen-ldd): Fix pattern.
38604
995a80df
AS
38605 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38606 (init_tls): Likewise.
38607
8682f8b0
UD
386082011-09-12 Ulrich Drepper <drepper@gmail.com>
38609
38610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38611
de82006d
AS
386122011-09-12 Andreas Schwab <schwab@redhat.com>
38613
a7c8e6a1
AS
38614 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38615 `struct cmsghdr *' instead of `void *'.
38616 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38617 Likewise.
38618
0f31fe77
AS
386192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38620
38621 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38622 if non-absolute.
38623 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38624 ldd_rewrite_script.
0f31fe77 38625
32b4c839
UD
386262011-09-11 Ulrich Drepper <drepper@gmail.com>
38627
83cd1420
UD
38628 * configure.in: Remove --with-tls option.
38629 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38630 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38631 out in case it is missing.
38632 * sysdeps/ia64/elf/configure.in: Likewise.
38633 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38634 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38635 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38636 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38637 * sysdeps/sh/elf/configure.in: Likewise.
38638 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38639 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38640 * sysdeps/x86_64/elf/configure.in: Likewise.
38641 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38642 * sysdeps/mach/hurd/tls.h: Likewise.
38643
633f745d
UD
38644 [BZ #13067]
38645 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38646
f318beb8
UD
38647 [BZ #13090]
38648 * configure.in: Fix use of AC_INIT.
38649
32b4c839
UD
38650 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38651
3ce1f295
UD
386522011-09-10 Ulrich Drepper <drepper@gmail.com>
38653
bb016596
UD
38654 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38655 __set_errno.
8e58439c
UD
38656 * malloc/hooks.c: Likewise.
38657
aebae053 38658 [BZ #11929]
02d46fc4
UD
38659 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38660 variables statically.
38661 (narenas): Initialize.
38662 (list_lock): Initialize.
bb016596
UD
38663 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38664 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38665 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38666 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38667 Add initializers to main_arena and mp_.
38668 (malloc_state): Remove pagesize member. Change all users to use
38669 GLRO(dl_pagesize).
38670
38671 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38672 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38673 is always initialized.
38674
22a89187
UD
38675 * malloc/malloc.c: Removed unused configurations and dead code.
38676 * malloc/arena.c: Likewise.
38677 * malloc/hooks.c: Likewise.
02d46fc4 38678 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38679
d063d164
UD
38680 * include/tls.h: Removed. USE___THREAD must always be defined.
38681 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38682 * elf/dl-libc.c: Likewise.
38683 * elf/dl-tsd.c: Likewise.
38684 * include/errno.h: Likewise.
38685 * include/netdb.h: Likewise.
38686 * include/resolv.h: Likewise.
38687 * inet/herrno-loc.c: Likewise.
38688 * inet/herrno.c: Likewise.
38689 * malloc/arena.c: Likewise.
38690 * malloc/hooks.c: Likewise.
38691 * malloc/malloc.c: Likewise.
38692 * resolv/res-state.c: Likewise.
38693 * resolv/res_libc.c: Likewise.
38694 * sysdeps/i386/dl-machine.h: Likewise.
38695 * sysdeps/ia64/dl-machine.h: Likewise.
38696 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38697 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38698 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38699 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38700 * sysdeps/sh/dl-machine.h: Likewise.
38701 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38702 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38703 * sysdeps/unix/i386/sysdep.S: Likewise.
38704 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38705 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38708 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38710 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38712 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38714 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38715 * sysdeps/x86_64/dl-machine.h: Likewise.
38716 * tls.make.c: Likewise.
38717
3ce1f295
UD
38718 * configure.in: Remove --with-__thread option. Make tests for
38719 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38720 tls_model attribute fail if no support is available. Remove
38721 USE_IN_LIBIO.
38722 * Makeconfig: Adjust for dropped configure option. All features are
38723 now mandatory.
38724 * Makerules: Likewise.
38725 * Versions.def: Likewise.
38726 * argp/argp-fmtstream.c: Likewise.
38727 * argp/argp-fmtstream.h: Likewise.
38728 * argp/argp-help.c: Likewise.
38729 * assert/assert.c: Likewise.
38730 * config.h.in: Likewise.
38731 * config.make.in: Likewise.
38732 * configure: Likewise.
38733 * configure.in: Likewise.
38734 * csu/Versions: Likewise.
38735 * csu/init.c: Likewise.
38736 * elf/tst-audit2.c: Likewise.
38737 * elf/tst-tls10.c: Likewise.
38738 * elf/tst-tls10.h: Likewise.
38739 * elf/tst-tls11.c: Likewise.
38740 * elf/tst-tls12.c: Likewise.
38741 * elf/tst-tls14.c: Likewise.
38742 * elf/tst-tlsmod11.c: Likewise.
38743 * elf/tst-tlsmod12.c: Likewise.
38744 * elf/tst-tlsmod13.c: Likewise.
38745 * elf/tst-tlsmod13a.c: Likewise.
38746 * elf/tst-tlsmod14a.c: Likewise.
38747 * elf/tst-tlsmod15b.c: Likewise.
38748 * elf/tst-tlsmod16a.c: Likewise.
38749 * elf/tst-tlsmod16b.c: Likewise.
38750 * elf/tst-tlsmod7.c: Likewise.
38751 * elf/tst-tlsmod8.c: Likewise.
38752 * elf/tst-tlsmod9.c: Likewise.
38753 * gmon/gmon.c: Likewise.
38754 * grp/fgetgrent_r.c: Likewise.
38755 * grp/putgrent.c: Likewise.
38756 * hurd/fopenport.c: Likewise.
38757 * include/libc-symbols.h: Likewise.
38758 * include/tls.h: Likewise.
38759 * intl/gettextP.h: Likewise.
38760 * intl/loadinfo.h: Likewise.
38761 * locale/global-locale.c: Likewise.
38762 * locale/localeinfo.h: Likewise.
38763 * mach/devstream.c: Likewise.
38764 * malloc/arena.c: Likewise.
38765 * malloc/set-freeres.c: Likewise.
38766 * misc/err.c: Likewise.
38767 * misc/getttyent.c: Likewise.
38768 * misc/mntent_r.c: Likewise.
38769 * posix/getopt.c: Likewise.
38770 * posix/wordexp.c: Likewise.
38771 * pwd/fgetpwent_r.c: Likewise.
38772 * resolv/Versions: Likewise.
38773 * resolv/res_hconf.c: Likewise.
38774 * shadow/fgetspent_r.c: Likewise.
38775 * shadow/putspent.c: Likewise.
38776 * stdio-common/printf_fphex.c: Likewise.
38777 * stdio-common/tmpfile.c: Likewise.
38778 * stdlib/abort.c: Likewise.
38779 * stdlib/fmtmsg.c: Likewise.
38780 * sunrpc/auth_unix.c: Likewise.
38781 * sunrpc/clnt_perr.c: Likewise.
38782 * sunrpc/clnt_tcp.c: Likewise.
38783 * sunrpc/clnt_udp.c: Likewise.
38784 * sunrpc/clnt_unix.c: Likewise.
38785 * sunrpc/openchild.c: Likewise.
38786 * sunrpc/svc_simple.c: Likewise.
38787 * sunrpc/svc_tcp.c: Likewise.
38788 * sunrpc/svc_udp.c: Likewise.
38789 * sunrpc/svc_unix.c: Likewise.
38790 * sunrpc/xdr.c: Likewise.
38791 * sunrpc/xdr_array.c: Likewise.
38792 * sunrpc/xdr_rec.c: Likewise.
38793 * sunrpc/xdr_ref.c: Likewise.
38794 * sunrpc/xdr_stdio.c: Likewise.
38795
1248c1c4
PB
387962011-09-09 Ulrich Drepper <drepper@gmail.com>
38797
38798 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38799
388002011-07-03 Andreas Jaeger <aj@suse.de>
38801
38802 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38803 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38804 regenerate with gen-libm-tests.pl.
38805
388062010-05-12 Petr Baudis <pasky@suse.cz>
38807
38808 [BZ #11589]
38809 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38810 around j0() zero points by switching to j1().
38811 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38815
f22e1074
UD
388162011-09-09 Ulrich Drepper <drepper@gmail.com>
38817
f19009c1
UD
38818 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38819 instead of 0.
38820 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38821 instead of 0.
f19009c1
UD
38822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38823 Patch in part by Pavel Roskin <proski@gnu.org>.
38824
3f8cc204
UD
38825 [BZ #13138]
38826 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38827 realloc.
38828 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38829 Free memory block if necessary.
38830
f22e1074
UD
38831 [BZ #12847]
38832 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38833 be NULL. Don't lock in this case.
38834
0a2349f9
RM
388352011-09-09 Roland McGrath <roland@hack.frob.com>
38836
38837 * elf/elf.h (ELFOSABI_GNU): New macro.
38838 (ELFOSABI_LINUX): Define to that.
38839
f3cdd467
DZ
388402011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38841
38842 * string/strncat.c (strncat): Undef the symbol in case it has been
38843 defined in bits/string.h.
38844
74718d13
UD
388452011-09-09 Ulrich Drepper <drepper@gmail.com>
38846
633e9e0f
UD
38847 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38848
0a2349f9 38849 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38850 link map.
38851
f9924780
AJ
388522011-08-17 Andreas Jaeger <aj@suse.de>
38853
38854 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38855
7f5517aa
PP
388562011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38857 Ian Lance Taylor <iant@google.com>
38858
38859 * math/libm-test.inc (lround_test): New testcase.
38860 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38861
762011fe
UD
388622011-09-08 Ulrich Drepper <drepper@gmail.com>
38863
92963737
UD
38864 * Makefile: Remove support for automatic cvs check-ins.
38865 * Makerules: Likewise.
38866 * config.make.in: Likewise.
38867 * configure.in: Likewise.
38868 * intl/Makefile: Likewise.
38869 * locale/Makefile: Likewise.
38870 * po/Makefile: Likewise.
38871 * posix/Makefile: Likewise.
38872 * sysdeps/gnu/Makefile: Likewise.
38873 * sysdeps/mach/hurd/Makefile: Likewise.
38874 * sysdeps/sparc/sparc32/Makefile: Likewise.
38875
b0727fd8
JS
38876 [BZ #13118]
38877 * posix/Makefile (bug-regex32-ENV): Define.
38878 Patch by John Stanley <jpsinthemix@verizon.net>.
38879
a0f33f99
UD
38880 * misc/Makefile (headers): Add bits/select2.h.
38881 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38882 * misc/bits/select2.h: New file.
38883 * include/bits/select2.h: New file.
38884 * debug/Makefile (routines): Add fdelt_chk.
38885 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38886 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38887 FD_ISSET.
38888 * debug/fdelt_chk.c: New file.
38889
762011fe
UD
38890 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38891 * wcsmbs/test-wmemcmp.c: Likewise.
38892 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38893 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38894
388952011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38896
38897 * string/Makefile (strop-tests): Add memcmp.
38898 * string/test-wmemcmp.c: New file.
38899 * string/test-memcmp.c: Add wmemcmp support.
38900
7f513ec8
RM
389012011-09-08 Roland McGrath <roland@hack.frob.com>
38902
0442afb4
RM
38903 [BZ #13153]
38904 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38905 2011-07-19 change.
38906
7f513ec8
RM
38907 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38908 garbage value in a __mach_port_mod_refs call in the cases of the
38909 task-self and thread-self ports.
38910
a12b2239
ST
389112011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38912
38913 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38914
610f9ab4
AS
389152011-09-08 Andreas Schwab <schwab@redhat.com>
38916
7f513ec8 38917 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38918
48882a1a
LD
389192011-09-07 Ulrich Drepper <drepper@gmail.com>
38920
b49865be
UD
38921 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38922
fdc86bc9
UD
38923 * elf/dl-libc.c (dlerror_run): Pass back error code from
38924 dl_catch_error.
38925
c966526a
UD
38926 [BZ #13123]
38927 * elf/dl-load.c (lose): Free l_origin if it is valid.
38928
48882a1a
LD
38929 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38930 names.
38931 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38932 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38933 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38934 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38935 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38936 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38937
77a2a8b4
AZ
389382011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38939
38940 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38941 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38942 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38943 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38944 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38945 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38946 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38947 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38948 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38949 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38950
24f579d8
AM
389512011-08-15 Alan Modra <amodra@gmail.com>
38952
38953 [BZ #13092]
38954 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38955 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38956 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38957 ppc_mcount to static-only-routines.
38958 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38959 __mcount_internal.
38960 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38961 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38962
3d4837df
UD
389632011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38964
38965 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38966 for finite and infinity parameters.
38967
22700377
WS
389682011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38969
38970 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38971 and add nop instructions for throughput optimization.
38972 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38973
5025581e
WS
389742011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38975
38976 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38977 aligned copy for power7 with vector-scalar instructions.
38978 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38979
08a300c9
L
389802011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38981
38982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38983 AVX check.
38984
59178ef9
AS
389852011-09-07 Andreas Schwab <schwab@redhat.com>
38986
38987 [BZ #13144]
38988 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38989 last change.
38990
e38ba7ab
UD
389912011-09-07 Ulrich Drepper <drepper@gmail.com>
38992
38993 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38994 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38995 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38996 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38997 clock_gettime.
38998
d53a73ac
UD
389992011-09-06 Ulrich Drepper <drepper@gmail.com>
39000
fc8bffcc
UD
39001 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39002 Forgot to demangle the pointer.
39003
ceaa0c5d
UD
39004 * sysdeps/i386/sysdep.h: Define atom_text_section.
39005 * sysdeps/x86_64/sysdep.h: Likewise.
39006 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39007 section with atom_text_section.
39008 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39009 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39010 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39011 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39012 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39013
a77d3c17
UD
39014 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39015 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39016 already be defined. Change to take two parameters and don't assign
39017 result to variable. Adjust all users.
39018 Define INTERNAL_GETTIME if not already defined.
39019 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39020 call.
39021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39022 HAVE_CLOCK_GETTIME_VSYSCALL.
39023 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39024
d53a73ac
UD
39025 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39026 gettimeofday vsyscall, just use time.
39027
a8f84144
AS
390282011-09-06 Andreas Schwab <schwab@redhat.com>
39029
39030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39031 <errno.h>.
39032
ef606249
UD
390332011-09-06 Ulrich Drepper <drepper@gmail.com>
39034
39035 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39036 syscall on x86-64.
39037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39038 syscall.
39039 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39040 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39041 syscall if possible.
39042
6585cb60
UD
390432011-09-05 Ulrich Drepper <drepper@gmail.com>
39044
39045 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39046 e_ident. Don't pass to find_mapsXX.
39047 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39048
a5f524e4
LD
390492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39050
39051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39052 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39053 * sysdeps/x86_64/multiarch/strchr.S: Update.
39054 Check bit_slow_BSF bit.
39055 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39056 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39057 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39058
554881ef
UD
390592011-09-05 Ulrich Drepper <drepper@gmail.com>
39060
d96de963
UD
39061 [BZ #13134]
39062 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39063 before glibc 2.15.
39064 (tryshell): Define.
39065 (__spawni): Change last parameter to be flag. Test
39066 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39067 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39068 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39069 * posix/spawni.c: Likewise.
39070 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39071 * posix/spawnp.c: Likewise. Change normal version to use
39072 SPAWN_XFLAGS_USE_PATH.
39073 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39074 SPAWN_XFLAGS_TRY_SHELL.
39075
d48e5868
UD
39076 [BZ #13150]
39077 * posix/glob.h: Remove gcc 1.x support.
39078
554881ef
UD
39079 [BZ #13068]
39080 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39081
693fb948
LD
390822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39083
39084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39085 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39086 strrchr-sse2-bsf
39087 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39088 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39089 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39090 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39091 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39092 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39093
1b48c537
UD
390942011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39095
49d42c37
UD
39096 * sysdeps/x86_64/wcscmp.S: New file.
39097
1b48c537
UD
39098 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39099 wcscmp-c wcscmp-sse2
39100 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39101 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39102 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39103 * wcsmbs/wcscmp.c: Allow renaming.
39104
15c95c5d
DM
391052011-09-05 David S. Miller <davem@davemloft.net>
39106
39107 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39108 stack slot, rather than the struct return pointer slot.
39109 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39110 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39112 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39113
2f0ad8f3
UD
391142011-09-05 Ulrich Drepper <drepper@gmail.com>
39115
d88ae418
UD
39116 * po/ja.po: Update from translation team.
39117
2f0ad8f3
UD
39118 [BZ #13144]
39119 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39120 kernel in 64-bit binaries.
39121
5f4318d1
DM
391222011-09-01 David S. Miller <davem@davemloft.net>
39123
39124 * elf/elf.h (HWCAP_SPARC_*): Move to..
39125 * sysdeps/sparc/sysdep.h: this new file and add new values.
39126 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39127 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39128 _DL_HWCAP_COUNT to 24.
39129 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39130 entries.
39131 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39132 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39133 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39135 instead of magic constants.
39136 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39137
3ba57516
DM
391382011-08-31 David S. Miller <davem@davemloft.net>
39139
39140 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39141 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39142 Reimplement to do errno handling inline.
39143 (SYSCALL_ERROR_HANDLER): New macro.
39144 (__SYSCALL_STRING): Do not do errno handling in asm.
39145 (__CLONE_SYSCALL_STRING): Delete.
39146 (__INTERNAL_SYSCALL_STRING): Delete.
39147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39148 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39149 (PSEUDO): Reimplement to do errno handling inline.
39150 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39151 (SYSCALL_ERROR_HANDLER): New macro.
39152 (__SYSCALL_STRING): Do not do errno handling in asm.
39153 (__CLONE_SYSCALL_STRING): Delete.
39154 (__INTERNAL_SYSCALL_STRING): Delete.
39155 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39156 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39157 i386.
39158 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39159 (inline_syscall*): Add 'err' argument.
39160 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39161 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39162 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39163 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39164
39165 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39166 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39167
2bc17433
AS
391682011-08-30 Andreas Schwab <schwab@redhat.com>
39169
39170 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39171
fbeb5f4d
JO
391722011-08-29 Jiri Olsa <jolsa@redhat.com>
39173
39174 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39175 directive.
39176
ad69cc26
DM
391772011-08-24 David S. Miller <davem@davemloft.net>
39178
39179 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39180
39dd69df
AS
391812011-08-24 Andreas Schwab <schwab@redhat.com>
39182
39183 * elf/Makefile: Add rules to build and run unload8 test.
39184 * elf/unload8.c: New file.
39185 * elf/unload8mod1.c: New file.
39186 * elf/unload8mod1x.c: New file.
39187 * elf/unload8mod2.c: New file.
39188 * elf/unload8mod3.c: New file.
39189
39190 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39191 it wasn't used.
39192
2c0b250a
DM
391932011-08-23 David S. Miller <davem@davemloft.net>
39194
39195 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39196 subtract stack bias.
39197 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39198 %sp not %fp in calculations.
39199 (_JMPBUF_UNWINDS_ADJ): Likewise.
39200
22044b48
DM
39201 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39202 (aio_suspend): Call it to force an exception region around the
39203 AIO_MISC_WAIT() invocation.
39204
2cae4995
AS
392052011-08-23 Andreas Schwab <schwab@redhat.com>
39206
39207 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39208 backslash.
39209
873a772e
AJ
392102011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39211
39212 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39213 protection macro.
39214 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39215 and <dl-machine.h>.
39216 (Elf64_FuncDesc): Remove.
39217
25ad0df1
DM
392182011-08-22 David S. Miller <davem@davemloft.net>
39219
39220 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39221 sigaltstack check, add missing cfi directives.
39222 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39223 missing cfi directives, and sigaltstack handling.
39224
e888bcbe
AS
392252011-08-16 Andreas Schwab <schwab@redhat.com>
39226
39227 [BZ #11724]
39228 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39229 object is seen twice.
39230 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39231
39232 * elf/Makefile (distribute): Add tst-initorder2.c.
39233 (tests): Add tst-initorder2.
39234 (modules-names): Add tst-initorder2a tst-initorder2b
39235 tst-initorder2c tst-initorder2d. Add rules to build them.
39236 ($(objpfx)tst-initorder2.out): New rule.
39237 * elf/tst-initorder2.c: New file.
39238 * elf/tst-initorder2.exp: New file.
39239
87162f46
AS
392402011-08-22 Andreas Schwab <schwab@redhat.com>
39241
70538b7f
AS
39242 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39243
f55ffe58
AS
39244 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39245 dependencies back to end of function.
39246
87162f46
AS
39247 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39248 $(elfobjdir)/ld.so.
39249
91b392a4
UD
392502011-08-21 Ulrich Drepper <drepper@gmail.com>
39251
39252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39253 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39254 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39255 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39256 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39257 of __vdso_gettimeofday.
39258 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39259 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39260 attribute_hidden.
39261 (_libc_vdso_platform_setup): Remove initialization of
39262 __vdso_gettimeofday and __vdso_time.
39263
5c43483f
UD
392642011-08-20 Ulrich Drepper <drepper@gmail.com>
39265
775a77e7
UD
39266 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39267 and fgetc_unlocked.
39268 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39269 getc_unlocked.
89f447ed 39270
49c74ba9
UD
39271 * elf/dl-open.c (add_to_global): Report additions to the global scope
39272 for LD_DEBUG=scopes.
39273 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39274 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39275
5c43483f
UD
39276 [BZ #13114]
39277 * stdio-common/Makefile (tests): Add bug24.
39278 * stdio-common/bug24.c: New file.
39279
a101b025
AJ
392802011-08-19 Andreas Jaeger <aj@suse.de>
39281
39282 [BZ #13114]
39283 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39284 non-existant file when using close-on-exec mode.
39285
c88f1766
UD
392862011-08-20 Ulrich Drepper <drepper@gmail.com>
39287
0276a718
UD
39288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39289 the very first instruction.
39290
c88f1766
UD
39291 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39292 the CFI state in the end.
39293 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39294 inclusion of dl-trampoline.h.
39295 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39296
51ccffa0
AS
392972011-08-19 Andreas Schwab <schwab@redhat.com>
39298
94d7165f
AS
39299 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39300 expectations for long double.
39301
51ccffa0
AS
39302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39303 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39304
fd708658 393052011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39306
39307 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39308 artificual limit depends upon the system page size.
39309
44f0a71e
UD
393102011-08-17 Ulrich Drepper <drepper@gmail.com>
39311
39312 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39313 * resolv/Makefile: Define CFLAGS-libresolv.
39314
8de79a24
AS
393152011-08-17 Andreas Schwab <schwab@redhat.com>
39316
39317 * nss/makedb.c (compute_tables): Make variables used in nested
39318 function static.
39319
27724598
UD
393202011-08-17 Ulrich Drepper <drepper@gmail.com>
39321
c5305d88
UD
39322 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39323 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39324 if buffer was too small.
39325
27724598
UD
39326 * elf/pldd.c (main): Attach to all threads in the process.
39327 Rewrite /proc handling to use *at functions.
39328
076fe015
UD
393292011-08-16 Ulrich Drepper <drepper@gmail.com>
39330
174baab3
UD
39331 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39332 specifies first scope to show.
39333 (dl_open_worker): Update callers. Move printing scope of new
39334 object to before the relocation.
44f0a71e 39335 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39336 * sysdeps/generic/ldsodefs.h: Update declaration.
39337
076fe015
UD
39338 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39339 string for the scope number.
39340
a60df2c3
UD
393412011-08-14 Ulrich Drepper <drepper@gmail.com>
39342
39343 * nscd/servicescache.c (cache_addserv): Make sure written is always
39344 initialized.
39345
5e4287d1
RM
393462011-08-14 Roland McGrath <roland@hack.frob.com>
39347
85ae0589
RM
39348 * sysdeps/i386/i486/bits/atomic.h
39349 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39350 statement expression, so as to suppress "set but not used" warning.
39351 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39352
69f63097
RM
39353 * string/strncat.c (STRNCAT): Use prototype definition.
39354
675456ef
RM
39355 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39356 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39357 -Iprograms here.
39358 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39359 (localedef-modules): Add localedef.
39360 (locale-modules): Add locale.
39361
5e4287d1
RM
39362 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39363 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39364 to avoid a warning.
39365
9c96ff23
DM
393662011-08-14 David S. Miller <davem@davemloft.net>
39367
39368 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39369 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39370
f9ddf089
UD
393712011-08-13 Ulrich Drepper <drepper@gmail.com>
39372
44f0a71e 39373 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39374 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39375 * elf/rtld.c (dl_main): Set l_name of vDSO.
39376 Call _dl_show_scope when DL_DEBUG_SCOPES.
39377 (process_dl_debug): Recognize scopes flag and also set it for all.
39378 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39379 Declare _dl_show_scope.
39380
1dc27704
UD
39381 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39382 (do_dlopen): Pass caller_dlopen to dl_open.
39383 (__libc_dlopen_mode): Initialize caller_dlopen.
39384
f9ddf089
UD
39385 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39386 of libc. Make tolower call locale-independent. Optimize a bit by
39387 using isdigit instead of isalnum.
39388 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39389
9ac533d3
UD
393902011-08-12 Ulrich Drepper <drepper@gmail.com>
39391
39392 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39393 was a dependency or dynamically loaded.
39394
89edf2e9
UD
393952011-08-11 Ulrich Drepper <drepper@gmail.com>
39396
8e999d29
UD
39397 * intl/l10nflist.c: Allow architecture-specific pop function.
39398 * sysdeps/x86_64/l10nflist.c: New file.
39399
89edf2e9
UD
39400 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39401 classification.
39402
14d96785
AS
394032011-08-10 Andreas Schwab <schwab@redhat.com>
39404
39405 * include/dirent.h: Add libc_hidden_proto for scandirat and
39406 scandirat64. Don't declare __scandirat64.
39407 * dirent/scandirat.c: Add libc_hidden_def.
39408 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39409 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39410
6761ac04
DM
394112011-08-10 David S. Miller <davem@davemloft.net>
39412
39413 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39414 enum.
39415 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39416 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39417 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39418
c55fbd1e
UD
394192011-08-09 Ulrich Drepper <drepper@gmail.com>
39420
39421 * Versions.def [libc]: Add GLIBC_2.15.
39422 * dirent/Makefile (routines): Add scandirat and scandirat64.
39423 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39424 GLIBC_2.15.
39425 * dirent/dirent.h: Declare scandirat and scandirat64.
39426 * dirent/scandirat.c: New file.
39427 * dirent/scandirat64.c: New file.
39428 * sysdeps/wordsize-64/scandirat.c: New file.
39429 * sysdeps/wordsize-64/scandirat64.c: New file.
39430 * dirent/opendir.c: Define opendirat.
39431 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39432 using scandirat.
39433 * dirent/scandir64.c: Adjust for scandir.c change.
39434 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39435 __scandirat64, and __scandir_cancel_handler.
39436 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39437 additional parameter and use openat instead of open (outside of ld.so).
39438 Add new __opendir as wrapper around __opendirat.
39439 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39440 here without requiring old scandirat implementation.
39441
879165f2
UD
394422011-08-08 Ulrich Drepper <drepper@gmail.com>
39443
39444 * dirent/scandir.c (cancel_handler): Renamed to
39445 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39446 defined. Adjust users.
39447 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39448 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39449
cb7e923b
UD
394502011-08-04 Ulrich Drepper <drepper@gmail.com>
39451
16292edd
UD
39452 * string/test-string.h (IMPL): Use __STRING to expand name and then
39453 stringify it.
39454
cb7e923b
UD
39455 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39456 of cleanups.
39457
cff82933
LD
394582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39459
39460 * string/Makefile: Update.
39461 (strop-tests): Append strncat.
39462 * string/test-wcscmp.c: New file.
39463 New comprehensive test for wcscmp.
39464 * string/test-strcmp.c: Update.
39465 (WIDE): New define.
39466
9be9bfcc
AS
394672011-07-22 Andreas Schwab <schwab@redhat.com>
39468
39469 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39470 line.
39471
2e96f1c7
AS
394722011-07-26 Andreas Schwab <schwab@redhat.com>
39473
39474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39475 encoding to ACE if AI_IDN.
39476
85188888
JJ
394772011-08-01 Jakub Jelinek <jakub@redhat.com>
39478
39479 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39480 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39481
5fa16e9b
LD
394822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39483
39484 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39485 Fix overflow bug in strncat.
39486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39487
39488 * string/test-strncat.c: Update.
39489 Add new tests for checking overflow bugs.
39490
394912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39492
39493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39494 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39495 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39496 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39497 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39498 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39499 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39500 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39501 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39502
39503 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39504 (USE_AS_STRCAT): Define.
39505 Add strcat and strncat support.
39506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39507
8c1a459f
AS
395082011-07-25 Andreas Schwab <schwab@redhat.com>
39509
39510 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39511 __n bigger than INT_MAX+1.
39512 (__strncmp_g): Likewise.
39513
bba33c28
UD
395142011-07-23 Ulrich Drepper <drepper@gmail.com>
39515
798be72d
UD
39516 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39517 * libio/stido.h: Likewise.
39518
8accd4dc
UD
39519 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39520 (AF_NFC): Define.
39521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39522 (AF_NFC): Define.
39523
cbff0d96
UD
39524 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39527 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39528 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39529
9191c04a
UD
39530 [BZ #13021]
39531 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39532 installed.
39533
bba33c28
UD
39534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39535 typo.
39536 (_dl_x86_64_save_sse): Likewise.
39537
90f139dd
UD
395382011-07-22 Ulrich Drepper <drepper@gmail.com>
39539
1aae088a
UD
39540 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39541 OSXSAVE.
39542 (_dl_x86_64_save_sse): Likewise.
39543
8e2045f5
UD
39544 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39545
90f139dd
UD
39546 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39547
1d002f25
AS
395482011-07-21 Andreas Schwab <schwab@redhat.com>
39549
39550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39551 change.
39552 (_dl_x86_64_save_sse): Use correct AVX check.
39553
21137f89
UD
395542011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39555
39556 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39557 bug in strncpy/strncat.
39558 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39559
a65c0b7a
UD
395602011-07-21 Ulrich Drepper <drepper@gmail.com>
39561
39562 * string/tester.c (test_strcat): Add tests for different alignments
39563 of source and destination.
39564 (test_strncat): Likewise.
39565
6986b98a
UD
395662011-07-20 Ulrich Drepper <drepper@gmail.com>
39567
90bb2039
UD
39568 [BZ #12852]
39569 * posix/glob.c (glob): Check passed in values before using them in
39570 expressions to avoid some overflows.
39571 (glob_in_dir): Likewise.
39572
5644ef54
UD
39573 [BZ #13007]
39574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39575 check for AVX enablement so that we don't crash with old kernels and
39576 new hardware.
39577 * elf/tst-audit4.c: Add same checks here.
39578 * elf/tst-audit6.c: Likewise.
39579
39580 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39581
bfc9dc9b
AS
395822011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39583
39584 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39585
702e64bb
UD
395862011-07-20 Ulrich Drepper <drepper@gmail.com>
39587
39588 * po/cs.po: Update from translation team.
39589 * po/bg.po: Likewise.
39590
295e904f
MP
395912011-07-12 Marek Polacek <mpolacek@redhat.com>
39592
39593 * misc/sys/cdefs.h: Add support for const attribute.
39594 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39595 to gnu_dev_{major,minor,makedev} functions.
39596
3ff94596
MP
395972011-07-20 Marek Polacek <mpolacek@redhat.com>
39598
39599 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39600
28b59fca
AS
396012011-07-20 Andreas Schwab <schwab@redhat.com>
39602
39603 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39604 strlen results.
39605
19df733e
AK
396062011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39607
39608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39609 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39610 register in order to avoid conflicts with the soft frame pointer
39611 being held in r11 when necessary.
39612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39613 (INTERNAL_VSYSCALL_NCS): Likewise.
39614
c8835729
MP
396152011-07-14 Marek Polacek <mpolacek@redhat.com>
39616
39617 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39618 * elf/dl-fini.c (_dl_fini): Adjust caller.
39619 * elf/dl-close.c (_dl_close_worker): Likewise.
39620 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39621
b902330c
MP
396222011-07-15 Marek Polacek <mpolacek@redhat.com>
39623
8991e135
MP
39624 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39625 "aux_cache->nlibs < 0".
39626
b902330c
MP
39627 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39628 in the reload-count case.
39629
99710781
LD
396302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39631
39632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39633 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39634 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39635 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39636 * sysdeps/x86_64/multiarch/strcat.S: New file.
39637 * sysdeps/x86_64/multiarch/strncat.S: New file.
39638 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39639 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39640 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39641 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39642 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39643 (USE_AS_STRCAT): Define.
39644 Add strcat and strncat support.
39645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39646 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39647 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39648 * string/strncat.c: Update.
39649 (USE_AS_STRNCAT): Define.
39650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39651 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39652 and i7.
39653 * sysdeps/x86_64/multiarch/init-arch.h
39654 (bit_Prefer_PMINUB_for_stringop): New.
39655 (index_Prefer_PMINUB_for_stringop): Likewise.
39656 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39657 bit_Prefer_PMINUB_for_stringop.
39658
7dc6bd90
UD
396592011-07-19 Ulrich Drepper <drepper@gmail.com>
39660
39661 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39662 buffer64.
39663 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39664 of casting of buffer.
39665 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39666 buffer32 and buffer64.
39667 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39668 writes instead of casting of buffer.
39669 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39670 buffer32.
39671 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39672 casting of buffer.
39673
e0e72284
AS
396742011-07-19 Andreas Schwab <schwab@redhat.com>
39675
39676 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39677
feb1eb0b
UD
396782011-07-19 Ulrich Drepper <drepper@gmail.com>
39679
39680 * nscd/nscd.c (termination_handler): Don't do anything for a database
39681 if it has not yet been initialized.
39682
298711ff
UD
396832011-07-18 Ulrich Drepper <drepper@gmail.com>
39684
39685 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39686
396872011-07-15 Marek Polacek <mpolacek@redhat.com>
39688
39689 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39690
f9d68389
UD
396912011-07-18 Ulrich Drepper <drepper@gmail.com>
39692
39693 * po/nl.po: Update from translation team.
39694 * po/sv.po: Likewise.
39695
db290cf5
RM
396962011-07-16 Roland McGrath <roland@hack.frob.com>
39697
39698 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39699 now disallowed by GCC.
5c550700 39700
fd5e21c7
RM
39701 * configure.in (use-default-link): Default to yes if a test -shared
39702 link meets our qualifications.
39703 * configure: Regenerated.
39704
5c550700
RM
39705 * config.make.in (output-format): New variable.
39706 * configure.in: Check for ld --print-output-format support.
39707 * configure: Regenerated.
39708 * Makerules ($(common-objpfx)format.lds)
39709 [$(output-format) != unknown]: Just use $(output-format),
39710 instead of the linker-script munging.
39711
9fa2c032
RM
397122011-07-14 Roland McGrath <roland@hack.frob.com>
39713
a6928d51
RM
39714 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39715 of $(common-objpfx)shlib.lds.
39716 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39717
661607b3
RM
39718 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39719 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39720
9fa2c032
RM
39721 * configure.in (-z relro check): Adjust test code to add a large
39722 writable data section after it.
39723 * configure: Regenerated.
39724
defe9061
RM
397252011-07-11 Roland McGrath <roland@hack.frob.com>
39726
39727 * configure.in (-z relro check): Fix test code to make the variable
39728 truly const.
39729 * configure: Regenerated.
39730
319b9ad4
UD
397312011-07-11 Ulrich Drepper <drepper@gmail.com>
39732
39733 * nscd/nscd.h (struct traced_file): Define.
39734 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39735 elements. Add traced_files.
39736 (inotify_fd): Declare.
39737 (register_traced_file): Declare.
39738 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39739 (inotify_fd): Export.
39740 (resolv_conf_descr): Remove.
39741 (nscd_init): Move inotify descriptor creation to main.
39742 Don't register files for notification here.
39743 (register_traced_file): New function.
39744 (invalidate_cache): Don't use reset_res to determine whether to call
39745 res_init, go through the list of registered files.
39746 (main_loop_poll): The inotify descriptors are now stored in the
39747 structures for the traced files.
39748 (main_loop_epoll): Likewise
39749 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39750 to __nss_disable_nscd.
39751 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39752 for a database anymore. Check the records for all the registered
39753 files instead.
39754 * nss/Makefile (libnss_files-routines): Add files-init.
39755 (libnss_db-routines): Add db-init.
39756 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39757 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39758 * nss/nss_db/db-init.c: New file.
39759 * nss/nss_files/files-init.c: New file.
39760 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39761 __nss_lookup_function.
39762 (__nss_lookup_function): Call nss_load_library.
39763 (nss_load_all_libraries): New function.
39764 (__nss_disable_nscd): Take parameter with callback function for files
39765 to register. Set is_nscd. Load all the DSOs for the NSS modules
39766 used for the cached services.
39767 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39768 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39769 options for features to all the files in nscd.
39770
39771 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39772
23bee3e8
RM
397732011-07-10 Roland McGrath <roland@hack.frob.com>
39774
39775 * csu/elf-init.c (__libc_csu_init): Comment typo.
39776
46a5b7f0
UD
397772011-07-09 Ulrich Drepper <drepper@gmail.com>
39778
39779 * po/pl.po: Update from translation team.
39780 * po/ja.po: Likewise.
39781 * po/ru.po: Likewise.
39782 * po/ko.po: Likewise.
39783 * po/fr.po: Likewise.
39784
d30cf5bb
RM
397852011-07-09 Roland McGrath <roland@hack.frob.com>
39786
113ddea4
RM
39787 * configure.in (.ctors/.dtors header and trailer check):
39788 Use an empirical test on a built program.
39789 * configure: Regenerated.
39790
574920b4
RM
39791 * configure.in (-z relro check): Use an empirical test on a built DSO.
39792 Detect, but do not require, on ia64.
39793 * configure: Regenerated.
39794
d30cf5bb
RM
39795 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39796 Update tests that use readelf to use $READELF instead.
39797 * configure: Regenerated.
39798
8538fdb3
UD
397992011-07-08 Ulrich Drepper <drepper@gmail.com>
39800
39801 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39802 if the result is not used.
39803
04d08991
AJ
398042011-07-05 Andreas Jaeger <aj@suse.de>
39805
39806 [BZ#9696]
39807 * stdlib/tst-strtod.c: Add testcase.
39808
de283087
AD
398092011-07-07 Ulrich Drepper <drepper@gmail.com>
39810
4e5f31c8 39811 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39812 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39813 The latter has a higher limit. Take additional parameter to pass to
39814 the new function.
39815 (__pathconf): Pass file to __statfs_link_max.
39816 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39817 __statfs_link_max.
39818 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39819 __statfs_link_max.
39820
de283087
AD
39821 [BZ #12868]
39822 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39823 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39824 Handle Lustre.
39825 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39826 (__statfs_filesize_max): Likewise.
39827 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39828
c75fa153
AJ
398292011-07-05 Andreas Jaeger <aj@suse.de>
39830
39831 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39832
1a544854
UD
398332011-07-06 Marek Polacek <mpolacek@redhat.com>
39834
39835 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39836 `status' variable.
39837 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39838 Likewise.
39839
6f0eec67
UD
398402011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39841
39842 * Makefile (strop-tests): Add strncat.
39843 * string/test-strncat.c: New file.
39844
aae30307
UD
398452011-06-30 Marek Polacek <mpolacek@redhat.com>
39846
39847 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39848
c0cfb5eb
UD
398492011-06-21 Andreas Jaeger <aj@suse.de>
39850
39851 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39852 Copy rule from iconvdata/Makefile.
39853
01636b21
UD
398542011-07-06 Ulrich Drepper <drepper@gmail.com>
39855
39856 [BZ #12922]
39857 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39858 but no long options are defined, just return 'W'.
39859
9895c8bc
UD
398602011-06-22 Marek Polacek <mpolacek@redhat.com>
39861
39862 [BZ #9696]
39863 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39864
5d4cf042
UD
398652011-07-06 Ulrich Drepper <drepper@gmail.com>
39866
39867 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39868 netgroups to read.
960e5535 39869 (innetgr): Likewise.
5d4cf042 39870
751eb97e
RM
398712011-07-05 Roland McGrath <roland@hack.frob.com>
39872
39873 * config.make.in (install_root): Default to $(DESTDIR).
39874
f15f1e45
UD
398752011-07-05 Ulrich Drepper <drepper@gmail.com>
39876
39877 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39878
4e34ac6a
RM
398792011-07-02 Roland McGrath <roland@hack.frob.com>
39880
5e9b6af4
RM
39881 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39882
84f9ea0f
RM
39883 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39884 containing directory rather than embedding absolute directory names.
39885
ea5ee9f7
RM
39886 * scripts/check-local-headers.sh: Rewritten using awk.
39887 Match by word, not by line. Print error messages for matches.
39888 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39889
1b74661a
RM
39890 * Makerules [shlib-lds-flags empty]:
39891 ($(common-objpfx)libc_pic.opts): New target.
39892 ($(common-objpfx)libc_pic.os.clean): New target.
39893 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39894
39895 * config.make.in (OBJCOPY): New variable.
39896 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39897 * configure: Regenerated.
39898
f781ef40
RM
39899 * config.make.in (use-default-link): New variable.
39900 * configure.in (use_default_link): Grok --with-default-link to set it.
39901 * configure: Regenerated.
39902 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39903 (shlib-lds, shlib-lds-flags): Define to empty.
39904
2d4fa81e
RM
39905 * Makerules (shlib-lds): New variable.
39906 (shlib-lds-flags): New variable.
39907 (build-shlib, build-moduile, build-module-asneeded): Use it.
39908 ($(common-objpfx)libc.so): Use $(shlib-lds).
39909 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39910 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39911
31fffa6b
RM
39912 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39913 DT_FLAGS/DT_FLAGS_1 with zero flags.
39914
4e34ac6a
RM
39915 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39916 linker script munging.
39917
fcfc776b
UD
399182011-07-02 Ulrich Drepper <drepper@gmail.com>
39919
39920 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39921 as 128-bit value.
39922 * crypt/sha512.c (sha512_process_block): Perform total addition using
39923 128-bit if possible.
39924 (__sha512_finish_ctx): Likewise.
39925 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39926 as 64-bit value.
39927 * crypt/sha256.c (SWAP64): Define.
39928 (sha256_process_block): Perform total addition using 64-bit if
39929 possible.
39930 (__sha256_finish_ctx): Likewise.
39931
99231d9a
UD
399322011-07-01 Ulrich Drepper <drepper@gmail.com>
39933
39934 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39936 * nscd/hstcache.c (cache_addhst): Likewise.
39937 * nscd/grpcache.c (cache_addgr): Likewise.
39938 * nscd/aicache.c (addhstaiX): Likewise
39939 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39940
445b4a53
TK
399412011-07-01 Thorsten Kukuk <kukuk@suse.de>
39942
39943 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39944 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39945 * nscd/hstcache.c (cache_addhst): Likewise.
39946 * nscd/grpcache.c (cache_addgr): Likewise.
39947 * nscd/aicache.c (addhstaiX): Likewise
39948
6d4d8e8e
AS
399492011-07-01 Andreas Schwab <schwab@redhat.com>
39950
39951 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39952 domain only when needed.
39953
89f654c5
AS
399542011-06-30 Andreas Schwab <schwab@redhat.com>
39955
39956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39957 is always restored.
39958
cf3b23ff
UD
399592011-06-29 Ulrich Drepper <drepper@gmail.com>
39960
39961 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39962 are re-adding the entry.
39963 * nscd/servicescache.c (cache_addserv): Likewise.
39964
751626f9
AJ
399652011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39966
39967 * sysdeps/generic/dl-irel.h: fix protection against multiple
39968 inclusions.
39969 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39970
9113ea1f
UD
399712011-06-28 Ulrich Drepper <drepper@gmail.com>
39972
5c0b8d90
UD
39973 [BZ #12935]
39974 * malloc/memusage.sh: Fix quoting in message.
39975 * debug/xtrace.sh: Likewise.
39976
9113ea1f
UD
39977 * configure.in: Remove support for --experimental-malloc option, make
39978 it the default.
39979 * config.make.in: Likewise.
39980 * malloc/Makefile: Likewise.
39981
a4172181
AS
399822011-06-27 Andreas Schwab <schwab@redhat.com>
39983
39984 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39985 two-byte characters.
39986
78a7eee7
RM
399872011-06-27 Roland McGrath <roland@hack.frob.com>
39988
62bede13
RM
39989 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39990 AC_CACHE_CHECK invocation.
39991 * configure: Regenerated.
39992
78a7eee7
RM
39993 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39994
5ce33a62
UD
399952011-06-27 Ulrich Drepper <drepper@gmail.com>
39996
034807a9
UD
39997 [BZ #12350]
39998 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39999 bit from old_res_options.
40000
4902da17
UD
40001 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40002
5ce33a62
UD
40003 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40004 value type for setfct.
40005
c2344f56
L
400062011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40007
40008 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40009 __gettimeofday instead of gettimeofday.
40010
68468076
UD
400112011-06-26 Ulrich Drepper <drepper@gmail.com>
40012
40013 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40014
acb0d739
L
400152011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40016
40017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40018
40019 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40020 info.
40021
8912479f
L
400222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40023
40024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40025 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40026 strcpy-sse2-unaligned strncpy-sse2-unaligned
40027 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40028 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40029 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40030 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40031 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40032 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40033 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40034 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40035 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40036 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40037 (STRCPY): Support SSE2 and SSSE3 versions.
40038
d5495a11
UD
400392011-06-24 Ulrich Drepper <drepper@gmail.com>
40040
40041 [BZ #12874]
40042 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40043 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40044 kernels which artificially limit size of requests.
40045
0b1cbaae
L
400462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40047
40048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40049 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40050 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40051 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40052 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40053 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40054 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40055 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40056 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40057 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40058 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40059 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40060 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40061 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40062 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40064 Enable unaligned load optimization for Intel Core i3, i5 and i7
40065 processors.
40066 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40067 Define.
40068 (index_Fast_Unaligned_Load): Define.
40069 (HAS_FAST_UNALIGNED_LOAD): Define.
40070
07f494a0
MP
400712011-06-23 Marek Polacek <mpolacek@redhat.com>
40072
40073 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40074
fa3fc0fe
UD
400752011-06-22 Ulrich Drepper <drepper@gmail.com>
40076
40077 [BZ #12907]
40078 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40079 until it is clear that the information is realy needed.
40080 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40081
e12df166
AS
400822011-06-22 Andreas Schwab <schwab@redhat.com>
40083
40084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40085
852eb34d
UD
400862011-06-22 Ulrich Drepper <drepper@gmail.com>
40087
84e2a551
UD
40088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40089 /sys/devices/system/cpu/online if it is usable.
40090
852eb34d
UD
40091 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40092 reading the information from the /proc filesystem to once a second.
40093
6e502e19
UD
400942011-06-21 Andreas Jaeger <aj@suse.de>
40095
40096 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40097 NULL after inclusion of kernel headers.
40098
75d39ff2
UD
400992011-06-21 Ulrich Drepper <drepper@gmail.com>
40100
51f9aa6a
UD
40101 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40102 calls to internal_setent.
40103
c0244a9d
UD
40104 [BZ #12885]
40105 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40106 addresses using gethostbyname4_r ignore IPv4 addresses.
40107
c5e3c2ae
UD
40108 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40109 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40110
75d39ff2
UD
40111 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40112
42675c6f
DM
401132011-06-20 David S. Miller <davem@davemloft.net>
40114
40115 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40116 inclusions.
40117 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40118
40119 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40120 (elf_irel): Use it.
40121 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40122 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40123 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40124 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40125 * sysdeps/x86_64/dl-irel.h: Likewise.
40126
40127 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40128 * elf/dl-sym.c: Likewise.
40129
57912a71
UD
401302011-06-15 Ulrich Drepper <drepper@gmail.com>
40131
40132 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40133 need to dereference resplen2.
40134
ee22793d
AS
401352011-06-14 Andreas Schwab <schwab@redhat.com>
40136
40137 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40138
a9e836b0
UD
401392011-06-15 Ulrich Drepper <drepper@gmail.com>
40140
77fb9117
UD
40141 * Makeconfig: Define vardbdir and inst_vardbdir.
40142 * nss/Makefile: Add rules to install db-Makefile.
40143
40c1b22c
UD
40144 * nss/nss_db/db-XXX.c: Cleanup.
40145
9f2da732
UD
40146 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40147 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40148 GLIBC_PRIVATE.
40149 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40150 * nss/makedb.c: Implement -g option to specify that value strings
40151 are generated and should not be added to table iterated over for
40152 get*ent calls.
40153 * nss/nss_db/db-initgroups.c: New file.
40154
82e9a1f7
UD
40155 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40156 interface.
40157
c41af17e
UD
40158 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40159 (internal_getgrouplist): Adjust to name change.
40160 Update use_initgroups_entry if this is not the first call.
40161 * nss/databases.def: Add initgroups entry.
40162
a9e836b0
UD
40163 * nss/makedb.c (compute_tables): Check result of multiple hash table
40164 sizes to minimize maximum chain length.
40165
2666d441
UD
401662011-06-14 Ulrich Drepper <drepper@gmail.com>
40167
40168 * Versions.def: Add entry for libnss_db.
40169 * shlib-versions: Likewise.
40170 * nss/Makefile: Add rules to build libnss_db.
40171 * nss/Versions: Add libnss_db information. Organize libnss_files
40172 entries better.
40173 * nss/db-Makefile: Add gshadow support. Change rules for the new
40174 makedb progra. Some minor improvements to generate smaller files.
40175 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40176 here from...
40177 * nss/makedb.c: ...here.
40178 Improve database format to be smaller and require less memory at
40179 runtime.
40180 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40181 db anymore.
40182 * nss/nss_db/db-netgrp.c: Likewise.
40183 * nss/nss_db/db-open.c: Likewise.
40184 * nss/nss_files/flies-XXX.x: Adjust comments.
40185 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40186 * nss/nss_files/files-grp.c: Likewise.
40187 * nss/nss_files/files-hosts.c: Likewise.
40188 * nss/nss_files/files-network.c: Likewise.
40189 * nss/nss_files/files-proto.c: Likewise.
40190 * nss/nss_files/files-pwd.c: Likewise.
40191 * nss/nss_files/files-rpc.c: Likewise.
40192 * nss/nss_files/files-service.c: Likewise.
40193 * nss/nss_files/files-sgrp.c: Likewise.
40194 * nss/nss_files/files-spwd.c: Likewise.
40195 * nss/nss_db/db-alias.c: Removed.
40196 * nss/nss_db/dummy-db.h: Removed.
40197
9ee76b5a
UD
401982011-06-02 Ulrich Drepper <drepper@gmail.com>
40199
40200 * nss/makedb.c: Rewritten to not use database library.
40201 * nss/Makefile: Update to build new makedb program.
40202
c71ca1f8
AJ
402032011-06-14 Andreas Jaeger <aj@suse.de>
40204
40205 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40206 memset declaration.
40207
3154bfb8
UD
402082011-06-10 Andreas Schwab <schwab@redhat.com>
40209
40210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40211 tmpbuf.
40212
b350afab
RM
402132011-06-10 Roland McGrath <roland@hack.frob.com>
40214
decd4e50
RM
40215 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40216 * elf/Makefile ($(objpfx)ld.so): Likewise.
40217
5615eaf2
RM
40218 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40219 Don't list ld.so twice in dependencies.
40220
40221 * posix/bug-regex31.c: Include <stdlib.h>.
40222
40223 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40224
40225 * nis/nss_compat/compat-spwd.c
40226 (getspent_next_nss_netgr): Remove unused variable.
40227 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40228
40229 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40230 nonmembers" output to use the right array.
40231
40232 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40233
40234 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40235
40236 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40237 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40238 * catgets/gencat.c (read_input_file): Likewise.
40239 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40240
40241 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40242 variable definition inside #if's controlling its use.
40243
40244 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40245
40246 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40247
40248 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40249
40250 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40251 unreachable code.
40252
40253 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40254
b68e08db
RM
40255 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40256 * configure: Regenerated.
40257
b350afab
RM
40258 * Makerules: Revert last change.
40259 * elf/Makefile: Likewise.
40260
28368601
RM
402612011-06-09 Roland McGrath <roland@hack.frob.com>
40262
40263 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40264 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40265 (reloc-link): Likewise.
40266
11988f8f
UD
402672011-06-09 Ulrich Drepper <drepper@gmail.com>
40268
40269 * elf/Makefile: Add rules to build pldd.
40270 * elf/pldd.c: New file.
40271 * elf/pldd-xx.c: New file.
40272
e80fab37
UD
402732011-06-07 Ulrich Drepper <drepper@gmail.com>
40274
40275 * version.h: Update for 2.15 development version.
40276
9b849836
DM
402772011-06-07 David S. Miller <davem@davemloft.net>
40278
40279 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40280 ifuncs.
40281 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40282 elf_machine_lazy_rel): Likewise.
40283 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40284 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40285 elf_machine_lazy_rel): Likewise.
40286 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40287 dl_hwcap via passed in argument.
40288 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40289 Likewise.
40290
5a31b283
AK
402912011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40292
40293 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40294
069e52f8
RM
402952011-06-06 Roland McGrath <roland@hack.frob.com>
40296
40297 [BZ #12849]
40298 * manual/fdl-1.1.texi: New file, verbatim from:
40299 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40300 * manual/lgpl-2.1.texi: New file, verbatim from:
40301 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40302 * manual/Makefile (licenses): New variable, list those new file names.
40303 (texis): Use it.
40304 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40305
40306 * manual/fdl.texi: File removed.
40307 * manual/lesser.texi: File removed.
40308 * manual/libc.texinfo (Copying, Documentation License):
40309 Use new @include file names, put @appendix directive before @include.
40310
f16846a5
JJ
403112011-06-04 Jakub Jelinek <jakub@redhat.com>
40312
40313 [BZ #12841]
40314 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40315 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40316 (mq_open): Add __NTH.
40317
3d29045b
L
403182011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40319
40320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40321 Assume Intel Core i3/i5/i7 processor if AVX is available.
40322
8c297311
UD
403232011-05-31 Ulrich Drepper <drepper@gmail.com>
40324
40325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40326 typo.
40327
c8fc0c91
UD
403282011-05-31 Andreas Schwab <schwab@redhat.com>
40329
40330 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40331 memory. Use alloca_account. Fix memory leak when retrying.
40332
5b27a807
UD
403332011-05-31 Ulrich Drepper <drepper@gmail.com>
40334
356f8bc6
UD
40335 * version.h (RELEASE): Bump for 2.14 release.
40336 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40337
5b27a807
UD
40338 * config.make.in (RANLIB): Remove entry.
40339
01f16ab0
UD
403402011-05-30 Ulrich Drepper <drepper@gmail.com>
40341
41fce8bd
UD
40342 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40343 (libc.pot): Work around missing support for .ksh extension in xgettext.
40344
4769ae77
UD
40345 [BZ #12684]
40346 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40347 if both request failed.
40348 (send_dg): In case of server errors clear resplen or *resplen2.
40349
6b1e7d19
UD
40350 [BZ #12454]
40351 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40352 when there are multiple maps.
40353 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40354 (_dl_fini): Remove test here.
40355
01f16ab0
UD
40356 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40357
b1ebd700
UD
403582011-05-29 Ulrich Drepper <drepper@gmail.com>
40359
7ae22829
UD
40360 [BZ #12350]
40361 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40362 bit from old_res_options.
40363 (gaih_inet): Likewise.
40364
553149f6 40365 [BZ #11099]
18a84741 40366 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40367 as signed.
40368
652ffab1
UD
40369 * resolv/res_init.c (res_setoptions): Make the code more compact.
40370
16985fd0
UD
40371 [BZ #11558]
40372 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40373 set RES_USEVC.
40374
0464f746
UD
40375 [BZ #11634]
40376 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40377
7d17596c
UD
40378 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40379
cf6bbbd7
UD
40380 [BZ #11781]
40381 * malloc/malloc.h: Declare malloc hook variables as volatile.
40382
13f1ab36
UD
40383 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40384 in last patch.
40385
b1ebd700
UD
40386 [BZ #11799]
40387 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40388 raise in the comment.
80e2212d
UD
40389 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40390 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40391 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40392
ce67228d
UD
403932011-05-28 Ulrich Drepper <drepper@gmail.com>
40394
8887a920
UD
40395 [BZ #12811]
40396 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40397 grow the buffers more if it already has to be sufficient.
40398 (build_wcs_upper_buffer): Likewise.
40399 * posix/regexec.c (check_matching): Likewise.
40400 (clean_state_log_if_needed): Likewise.
40401 (extend_buffers): Don't enlarge buffers beyond size of the input
40402 buffer.
40403 Patches mostly by Emil Wojak <emil@wojak.eu>.
40404 * posix/bug-regex32.c: New file.
40405 * posix/Makefile (tests): Add bug-regex32.
40406
4f031072
UD
40407 * locale/findlocale.c (_nl_find_locale): Return right away if
40408 _nl_explode_name failed.
40409 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40410
d0478f0c
UD
40411 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40412
de81b246
UD
40413 * debug/xtrace.sh: Unify messages.
40414 * malloc/memusage.sh: Likewise.
40415
c738465a
UD
40416 [BZ #12813]
40417 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40418 time symbol from vDSO. Substitute with vsyscall if not available.
40419 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40420 __vdso_time.
40421
f1f929d7
UD
40422 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40423 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40424 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40425 Add sendmmsg and internal_sendmmsg.
40426 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40427 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40428 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40429
ce67228d
UD
40430 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40431 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40432 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40433
e57420c6
UD
404342011-05-27 Ulrich Drepper <drepper@gmail.com>
40435
a8509ca5
UD
40436 [BZ #12813]
40437 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40438 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40439 available.
40440 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40441 __vdso_getcpu.
40442
e57420c6
UD
40443 [BZ #12814]
40444 * iconvdata/Makefile (tests): Add bug-iconv9.
40445 * iconvdata/bug-iconv9.c: New file.
40446
4d07db15
AS
404472011-05-27 Andreas Schwab <schwab@redhat.com>
40448
40449 [BZ #12814]
40450 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40451
ea486f69
JJ
404522011-05-25 Jakub Jelinek <jakub@redhat.com>
40453
40454 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40455 (struct user_regs_struct): Change intcs field back to cs.
40456
6f038433
UD
404572011-05-25 Ulrich Drepper <drepper@gmail.com>
40458
40459 * po/ja.po: Update from translation team.
40460
67f86a25
UD
404612011-05-23 Ulrich Drepper <drepper@gmail.com>
40462
40463 [BZ #12795]
40464 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40465 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40466
def7fbd6
AS
404672011-05-20 Andreas Schwab <schwab@redhat.com>
40468
40469 * stdlib/longlong.h: Update from GCC.
40470
f50ef8f1
AS
404712011-05-23 Andreas Schwab <schwab@redhat.com>
40472
40473 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40474 parameter name.
40475 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40476 Add parameter name.
40477 (__sysconf): Pass it down.
40478
de7ce8f1
UD
404792011-05-22 Ulrich Drepper <drepper@gmail.com>
40480
f2962a71
UD
40481 [BZ #12671]
40482 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40483 some situations.
40484 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40485 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40486 add in in __libc_use_alloca calls. Adjust callers.
40487 (glob): Use malloc in some situations.
40488
de7ce8f1
UD
40489 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40490 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40491 pltexit.
40492
aec84f53
UD
404932011-05-21 Ulrich Drepper <drepper@gmail.com>
40494
05bb4a68
UD
40495 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40496 and CLOCK_BOOTTIME_ALARM.
40497
7ea72f99
UD
40498 [BZ #12782]
40499 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40500 is returned.
40501
7e4afad5
UD
40502 * string/_strerror.c (__strerror_r): Print negative errors as signed
40503 numbers.
40504
8e211fec
UD
40505 [BZ #12777]
40506 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40507 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40508 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40509
f7d82dc9
UD
40510 * configure.in: Fix typo in redirection and correct removal of test
40511 files in two cases.
40512
cc9e536d
UD
40513 [BZ #12788]
40514 * locale/setlocale.c (new_composite_name): Fix test to check for
40515 identical name of all categories.
40516
aec84f53
UD
40517 [BZ #12792]
40518 * libio/filedoalloc.c (local_isatty): New function.
40519 (_IO_file_doallocate): Use local_isatty.
40520 * stdio-common/perror.c (perror): In case a new stream is used
40521 forward the stream error.
40522 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40523 error flag.
40524
78e64fdc
RT
405252011-05-20 Ulrich Drepper <drepper@gmail.com>
40526
34a9094f
UD
40527 [BZ #11869]
40528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40529 alloca.
40530 * include/alloca.h (extend_alloca_account): Define.
40531
78e64fdc
RT
40532 [BZ #11857]
40533 * posix/regex.h: Fix comments with documentation of user-accessible
40534 fields after compilation and describe correct free'ing of pattern
40535 after re_compile_pattern.
40536 Patch by Reuben Thomas <rrt@sc3d.org>.
40537
457bddfc
RA
405382011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40539
40540 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40541 and -mno-altivec to prevent the compiler from using Altivec and/or
40542 VSX instructions when the corresponding registers are not available.
40543
a4527b51
AS
405442011-05-19 Andreas Schwab <schwab@redhat.com>
40545
40546 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40547
ed690b2f
UD
405482011-05-19 Ulrich Drepper <drepper@gmail.com>
40549
40550 * libio/freopen.c (freopen): Use __dup2, not dup2.
40551 * libio/freopen64.c (freopen64): Likewise.
40552
8db73634
L
405532011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40554
40555 [BZ #12775]
40556 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40557 * math/Makefile (tests): Add test-powl.
40558 (CFLAGS-test-powl.c): Define.
40559 * math/test-powl.c: New file.
40560
0a197a9d
L
405612011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40562
40563 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40564
ee30c380
UD
405652011-05-17 Ulrich Drepper <drepper@gmail.com>
40566
40567 [BZ #11837]
40568 * iconvdata/gb18030.c: Update to GB18020-2005.
40569
6ce75379
UD
405702011-05-16 Ulrich Drepper <drepper@gmail.com>
40571
a4b89fd8
AR
40572 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40573 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40574 Patch by Aharon Robbins <arnold@skeeve.com>.
40575
ea389b12
UD
40576 [BZ #11892]
40577 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40578 on the stack.
40579
68a3f91f
UD
40580 [BZ #11895]
40581 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40582 through underflows.
40583
15cc7dd1
UD
40584 [BZ #12766]
40585 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40586 point to strings before performing equality test for error_one_per_line
40587 mode.
40588
f3799213
UD
40589 [BZ #11697]
40590 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40591
d79a9c94
UD
40592 [BZ #11820]
40593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40594 (struct user_fpregs_struct): Avoid __uint*_t types.
40595
56e5eb46
UD
40596 [BZ #6420]
40597 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40598 symbol info. Use it instead of calling _dl_addr locally.
40599 (lock_and_info): New function.
40600 (tr_freehook): Call lock_and_info and pass symbol info as additional
40601 parameter to tr_where.
40602 (tr_mallochook): Likewise.
40603 (tr_reallochook): Likewise.
40604 (tr_memalignhook): Likewise.
40605
6ce75379
UD
40606 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40607 used and couldn't be at all thread-safe.
40608
f8a3b5bf
UD
406092011-05-15 Ulrich Drepper <drepper@gmail.com>
40610
94b7cc37
UD
40611 * libio/freopen.c (freopen): Don't close old file descriptor
40612 before the new one is opened. Instead dup the new file descriptor
40613 to the old one after the new stream is created.
40614 * libio/freopen64.c (freopen64): Likewise.
40615 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40616 * libio/fileops.c (_IO_new_file_close_it): Handle new
40617 _IO_FLAGS2_NOCLOSE flag.
40618 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40619 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40620 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40621 _IO_FLAGS2_NOCLOSE flag.
40622 * include/unistd.h: Add hidden_proto for dup3.
40623 Define __have_dup3.
40624 * io/dup3.c: Define hidden symbol.
40625 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40626
bd25564e
UD
40627 [BZ #7101]
40628 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40629 when an incomplete long option is used.
40630 * posix/tst-getopt_long1.c: New file.
40631 * posix/Makefile (tests): Add tst-getopt_long1.
40632
c84cfef4
UD
40633 [BZ #10138]
40634 * scripts/config.guess: Update from autoconf-2.68.
40635 * scripts/config.sub: Likewise.
40636
3b85df27
UD
40637 [BZ #10157]
40638 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40639 tests into ...
40640 (has_cpuclock): ...this. New function.
40641 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40642 macro here based on has_cpuclock code.
40643
15a856b1
UD
40644 [BZ #10149]
40645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40646 First byte (not low byte) is now always NUL.
40647 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40648
05f399e6
UD
40649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40650 Use non-cancelable interfaces.
40651
10a52685 40652 [BZ #9809]
94ecc67d
UD
40653 * locale/iso-639.def: Add entry for Sorani.
40654
f8a3b5bf
UD
40655 [BZ #11901]
40656 * include/stdlib.h: Move include protection to the right place.
40657 Define abort_msg_s. Declare __abort_msg with it.
40658 * stdlib/abort.c (__abort_msg): Adjust type.
40659 * assert/assert.c (__assert_fail_base): New function. Majority
40660 of code from __assert_fail. Allocate memory for __abort_msg with
40661 mmap.
40662 (__assert_fail): Now call __assert_fail_base.
40663 * assert/assert-perr.c: Remove bulk of implementation. Use
40664 __assert_fail_base.
40665 * include/assert.hL Declare __assert_fail_base.
40666 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40667 mmap.
40668 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40669
1af4e298
UD
406702011-05-14 Ulrich Drepper <drepper@gmail.com>
40671
f8a3b5bf 40672 [BZ #11952]
d26dfc60
MG
40673 [BZ #12453]
40674 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40675 until all modules are registered in the DTV.
40676 * elf/Makefile: Add rules to build and run tst-tls19.
40677 * elf/tst-tls19.c: New file.
40678 * elf/tst-tls19mod1.c: New file.
40679 * elf/tst-tls19mod2.c: New file.
40680 * elf/tst-tls19mod3.c: New file.
40681 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40682
2fc54d6f
UD
40683 [BZ #12083]
40684 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40685 correctly.
40686
98d76b46
UD
40687 [BZ #12601]
40688 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40689 two-byte sequence errors.
40690 * iconvdata/Makefile (tests): Add bug-iconv8.
40691 * iconvdata/bug-iconv8.c: New file.
40692
da3c19ef
UD
40693 [BZ #12626]
40694 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40695 buf2 definition.
40696
ca408c15
UD
40697 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40698
d6f67f7d
UD
40699 [BZ #12432]
40700 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40701 (dummy_getcfa): New function.
40702 (init): Get _Unwind_GetCFA address, use dummy if not found.
40703 (backtrace_helper): In recursion check, also check whether CFA changes.
40704 (__backtrace): Completely initialize arg.
40705
1af4e298 40706 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40707 storing incomplete byte sequence in state object. Avoid testing for
40708 guaranteed too small input if we know there is enough data available.
1af4e298 40709
da62f81b
AS
407102011-05-11 Andreas Schwab <schwab@redhat.com>
40711
40712 * Makeconfig (+link-pie): Indent.
40713 * Rules (binaries-pie): Define if $(have-fpie) and
40714 $(build-shared).
40715 (binaries-shared): Also filter out $(binaries-pie).
40716 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40717 * nscd/Makefile (others-pie): Add nscd.
40718 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40719 ($(objpfx)nscd): Remove command override.
40720 * login/Makefile (others-pie): Add pt_chown.
40721 ($(objpfx)pt_chown): Remove command override.
40722 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40723 remove command overrides.
40724
fcabc0f8
UD
407252011-05-13 Ulrich Drepper <drepper@gmail.com>
40726
20030ae6
UD
40727 * libio/tst_putwc.c: Fix error messages.
40728
fcabc0f8
UD
40729 [BZ #12724]
40730 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40731 currently writing and seek to current position when not.
40732 * libio/Makefile (tests): Add bug-fclose1.
40733 * libio/bug-fclose1.c: New file.
40734
320a5dc0
PB
407352011-05-12 Ulrich Drepper <drepper@gmail.com>
40736
40737 [BZ #12511]
40738 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40739 don't set DF_1_NODELETE here.
40740 (do_lookup_x): When entering new entry test for copy relocation
40741 and if necessary set DF_1_NODELETE flag.
40742 * elf/tst-unique4.cc: New file.
40743 * elf/tst-unique4.h: New file.
40744 * elf/tst-unique4lib.cc: New file.
40745 * elf/Makefile: Add rules to build and run tst-unique4.
40746 Patch by Piotr Bury <pbury@goahead.com>.
40747
22836f52
UD
407482011-05-11 Ulrich Drepper <drepper@gmail.com>
40749
f574184a
UD
40750 [BZ #12052]
40751 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40752
e1fb097f
UD
40753 [BZ #12625]
40754 * misc/mntent_r.c (addmntent): Flush the stream after the output
40755
22836f52
UD
40756 [BZ #12393]
40757 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40758 (is_trusted_path_normalize): Skip initial colon. Append slash
40759 to empty buffer. Duplicate is_trusted_path code but allow
40760 constructed patch to be prefix.
40761 (is_dst): Allow $ORIGIN followed by /.
40762 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40763 Correct testing of result of is_trusted_path_normalize
40764 (decompose_rpath): Fix warning.
40765
7b3b0b2a
UD
407662011-05-10 Ulrich Drepper <drepper@gmail.com>
40767
40768 [BZ #11257]
40769 * grp/initgroups.c (internal_getgrouplist): When we found the service
40770 list through the initgroups entry in nsswitch.conf do not always
40771 continue on a successful lookup. Don't always use the
eac80ce2 40772 __nss_group_database value if it is set.
7b3b0b2a
UD
40773 * nss/nsswitch.conf (initgroups): Change action for successful db
40774 lookup to continue for compatibility.
40775
2a81eaa5
UD
407762011-05-09 Ulrich Drepper <drepper@gmail.com>
40777
be97a69e
UD
40778 [BZ #11532]
40779 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40780 and CP774 modules.
40781 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40782 and CP774 modules.
40783 * iconvdata/tst-tables.sh: Likewise.
40784 * iconvdata/cp770.c: New file.
40785 * iconvdata/cp771.c: New file.
40786 * iconvdata/cp772.c: New file.
40787 * iconvdata/cp773.c: New file.
40788 * iconvdata/cp774.c: New file.
40789 * iconvdata/testdata/CP770: New file.
40790 * iconvdata/testdata/CP770..UTF8: New file.
40791 * iconvdata/testdata/CP771: New file.
40792 * iconvdata/testdata/CP771..UTF8: New file.
40793 * iconvdata/testdata/CP772: New file.
40794 * iconvdata/testdata/CP772..UTF8: New file.
40795 * iconvdata/testdata/CP773: New file.
40796 * iconvdata/testdata/CP773..UTF8: New file.
40797 * iconvdata/testdata/CP774: New file.
40798 * iconvdata/testdata/CP774..UTF8: New file.
40799
40800 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40801 END CHARMAP line.
40802 * iconvdata/gen-8bit-gap.sh: Likewise.
40803 * iconvdata/gen-8bit.sh: Likewise.
40804
c1e9e399
UD
40805 * locale/iso-639.def: Add ary entry.
40806
24c55fb3 40807 [BZ #11258]
96b4b1b0
UD
40808 * locale/C-translit.h.in: Add U20A1 transliteration.
40809
bdc2f971
KB
40810 [BZ #12178]
40811 * locale/iso-639.def: Add wae entry.
40812 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40813
2952b117
UD
40814 [BZ #12545]
40815 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40816 for n.
40817
2a81eaa5
UD
40818 [BZ #12711]
40819 * locale/C-translit.h.in: Add entry for U20B9.
40820 Patch by pravin.d.s@gmail.com.
40821
28377d1b
UD
408222011-05-08 Ulrich Drepper <drepper@gmail.com>
40823
7fb90fb8
UD
40824 [BZ #12713]
40825 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40826 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40827 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40828 in rtld. Use *stat64.
7fb90fb8 40829 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40830 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40831 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40832 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40833 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40834 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40835 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40836 __fstatat64 macros.
7fb90fb8
UD
40837 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40838 * dirent/rewinddir.c: Add libc_hidden_def.
40839 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40840 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40841
28377d1b
UD
40842 * include/dirent.h (__alloc_dir): Add flags parameter.
40843 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40844 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40845 __alloc_dir.
40846 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40847 from fdopendir if O_CLOEXEC is already set.
40848
66bdbaa4
AM
408492011-03-15 Alan Modra <amodra@gmail.com>
40850
40851 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40852 l_tls_firstbyte_offset non-zero. Save padding offset in
40853 l_tls_firstbyte_offset for later use.
40854 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40855 freeing static tls block.
40856
95721191
JN
408572011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40858
40859 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40860 where #ifdef was intended. The intent is to prevent ARG_MAX from
40861 being defined by the kernel headers.
40862
f87dfb1f
UD
408632011-05-07 Ulrich Drepper <drepper@gmail.com>
40864
40865 [BZ #12734]
40866 * resolv/resolv.h: Define RES_NOTLDQUERY.
40867 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40868 no-tld-query and set RES_NOTLDQUERY.
40869 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40870 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40871 modern BIND to search name as TLD unless forbidden.
40872
47c3cd7a
UD
408732011-05-07 Petr Baudis <pasky@suse.cz>
40874 Ulrich Drepper <drepper@gmail.com>
40875
40876 [BZ #12393]
40877 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40878 (is_trusted_path): ...to here.
c1e9ea35 40879 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40880 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40881 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40882
8a35c912
PP
408832011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40884
40885 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40886 __BEGIN/__END_DECLS.
40887
acd41f47
UD
408882011-05-06 Ulrich Drepper <drepper@gmail.com>
40889
40890 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40891 NSS_STATUS_NOTFOUND if no record was found.
40892
597df647
AS
408932011-05-05 Andreas Schwab <schwab@redhat.com>
40894
40895 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40896 (headers-not-in-tirpc): Remove rpc/netdb.h
40897 * resolv/netdb.h: Revert last change.
40898
b9af1301
PP
408992011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40900
40901 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40902 circular dependency between libgcc.a and libc.a.
40903
4e34d5f5
AS
409042011-05-05 Andreas Schwab <schwab@redhat.com>
40905
40906 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40907 * nis/Makefile: Don't install rpcsvc/*.
40908 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40909 instead of <rpc/types.h>.
40910 (MAXHOSTNAMELEN): Define.
40911
00ee369c
AS
409122011-05-03 Andreas Schwab <schwab@redhat.com>
40913
40914 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40915
0b592a30
MB
409162011-04-28 Maciej Babinski <mbabinski@google.com>
40917
40918 [BZ #12714]
40919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40920 gethostbyname4_r when IPv6 results are possible.
40921
6e04cbbe
UD
409222011-05-02 Ulrich Drepper <drepper@gmail.com>
40923
40924 [BZ #12723]
40925 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40926 _PC_PIPE_BUF handling.
40927
e4ecafe0
BH
409282011-04-30 Bruno Haible <bruno@clisp.org>
40929
40930 [BZ #12717]
40931 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40932 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40933 to 'int'.
40934 * inet/getnameinfo.c (getnameinfo): Likewise.
40935
125ee683
UD
409362011-04-29 Ulrich Drepper <drepper@gmail.com>
40937
40938 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40939 to groups setting in database lookup.
40940 * nss/nsswitch.conf: Add initgroups entry.
40941
b722481a
EB
409422011-04-22 Ulrich Drepper <drepper@gmail.com>
40943
40944 [BZ #12685]
40945 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40946 mode string.
40947 Patch by Eric Blake <eblake@redhat.com>.
40948
4df46dbd
L
409492011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40950
40951 * sunrpc/Makefile (need-export-routines): Add svc_run.
40952 (routines): Remove svc_run.
40953 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40954 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40955 * sunrpc/svc_run.c (svc_run): Likewise.
40956 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40957
e84142d2
UD
409582011-04-21 Ulrich Drepper <drepper@gmail.com>
40959
40960 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40961 problem in reallocation in last patch.
40962
877175d8
UD
409632011-04-20 Ulrich Drepper <drepper@gmail.com>
40964
40965 * sunrpc/Makefile: Move inclusion of Rules.
40966
ab8eed78
UD
409672011-04-19 Ulrich Drepper <drepper@gmail.com>
40968
40969 * nss/nss_files/files-initgroups.c: New file.
40970 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40971 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40972 _nss_files_initgroups_dyn.
40973
e3d8f584
RS
409742011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40975
40976 * elf/elf.h (R_ARM_IRELATIVE): Define.
40977
af190f45
UD
409782011-04-19 Ulrich Drepper <drepper@gmail.com>
40979
40980 * po/ru.po: Update from translation team.
40981
53cf59ef
UD
409822011-04-17 Ulrich Drepper <drepper@gmail.com>
40983
40984 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40985 dependencies.
40986
4c559bcd
MF
409872011-02-06 Mike Frysinger <vapier@gentoo.org>
40988
40989 [BZ #12653]
40990 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40991 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40992 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40993 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40994 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40995
4420675c
AS
409962011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40997
40998 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40999 differing bytes.
41000 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41001 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41003
75ea32ab
UD
410042011-04-17 Ulrich Drepper <drepper@gmail.com>
41005
41006 [BZ #12420]
41007 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41008 storing it.
41009 * stdlib/bug-getcontext.c: New file.
41010 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41011
27390476
AK
410122011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41013
41014 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41015 instructions into .machine "z9-109".
41016 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41017 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41018
10442705
AK
410192011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41020
41021 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41022 between environment variables and auxiliary vector.
41023
7b57bfe5
UD
410242011-04-16 Ulrich Drepper <drepper@gmail.com>
41025
41026 * Makefile: Add rules to build linkobj/libc.so.
41027 * include/libc-symbols.h: Define libc_hidden_nolink.
41028 * include/rpc/auth.h: Mark functions which are to be hidden.
41029 * include/rpc/auth_des.h: Likewise.
41030 * include/rpc/auth_unix.h: Likewise.
41031 * include/rpc/clnt.h: Likewise.
41032 * include/rpc/des_crypt.h: Likewise.
41033 * include/rpc/key_prot.h: Likewise.
41034 * include/rpc/pmap_clnt.h: Likewise.
41035 * include/rpc/pmap_prot.h: Likewise.
41036 * include/rpc/pmap_rmt.h: Likewise.
41037 * include/rpc/rpc_msg.h: Likewise.
41038 * include/rpc/svc.h: Likewise.
41039 * include/rpc/svc_auth.h: Likewise.
41040 * include/rpc/xdr.h: Likewise.
41041 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41042 * nss/Makefile: Likewise.
41043 * sunrpc/Makefile: Don't install headers. Build library with normal
41044 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41045 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41046 for the compat linking library. Remove use of INTDEF/INTUSE.
41047 * sunrpc/auth_none.c: Likewise.
41048 * sunrpc/auth_unix.c: Likewise.
41049 * sunrpc/authdes_prot.c: Likewise.
41050 * sunrpc/authuxprot.c: Likewise.
41051 * sunrpc/clnt_gen.c: Likewise.
41052 * sunrpc/clnt_perr.c: Likewise.
41053 * sunrpc/clnt_raw.c: Likewise.
41054 * sunrpc/clnt_simp.c: Likewise.
41055 * sunrpc/clnt_tcp.c: Likewise.
41056 * sunrpc/clnt_udp.c: Likewise.
41057 * sunrpc/clnt_unix.c: Likewise.
41058 * sunrpc/des_crypt.c: Likewise.
41059 * sunrpc/des_soft.c: Likewise.
41060 * sunrpc/get_myaddr.c: Likewise.
41061 * sunrpc/key_call.c: Likewise.
41062 * sunrpc/key_prot.c: Likewise.
41063 * sunrpc/netname.c: Likewise.
41064 * sunrpc/pm_getmaps.c: Likewise.
41065 * sunrpc/pm_getport.c: Likewise.
41066 * sunrpc/pmap_clnt.c: Likewise.
41067 * sunrpc/pmap_prot.c: Likewise.
41068 * sunrpc/pmap_prot2.c: Likewise.
41069 * sunrpc/pmap_rmt.c: Likewise.
41070 * sunrpc/publickey.c: Likewise.
41071 * sunrpc/rpc_cmsg.c: Likewise.
41072 * sunrpc/rpc_common.c: Likewise.
41073 * sunrpc/rpc_dtable.c: Likewise.
41074 * sunrpc/rpc_prot.c: Likewise.
41075 * sunrpc/rpc_thread.c: Likewise.
41076 * sunrpc/rtime.c: Likewise.
41077 * sunrpc/svc.c: Likewise.
41078 * sunrpc/svc_auth.c: Likewise.
41079 * sunrpc/svc_authux.c: Likewise.
41080 * sunrpc/svc_raw.c: Likewise.
41081 * sunrpc/svc_run.c: Likewise.
41082 * sunrpc/svc_simple.c: Likewise.
41083 * sunrpc/svc_tcp.c: Likewise.
41084 * sunrpc/svc_udp.c: Likewise.
41085 * sunrpc/svc_unix.c: Likewise.
41086 * sunrpc/svcauth_des.c: Likewise.
41087 * sunrpc/xcrypt.c: Likewise.
41088 * sunrpc/xdr.c: Likewise.
41089 * sunrpc/xdr_array.c: Likewise.
41090 * sunrpc/xdr_float.c: Likewise.
41091 * sunrpc/xdr_intXX_t.c: Likewise.
41092 * sunrpc/xdr_mem.c: Likewise.
41093 * sunrpc/xdr_rec.c: Likewise.
41094 * sunrpc/xdr_ref.c: Likewise.
41095 * sunrpc/xdr_sizeof.c: Likewise.
41096 * sunrpc/xdr_stdio.c: Likewise.
41097
e6c61494
UD
410982011-04-10 Ulrich Drepper <drepper@gmail.com>
41099
41100 [BZ #12650]
41101 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41102 * sysdeps/ia64/dl-tls.h: Likewise.
41103 * sysdeps/powerpc/dl-tls.h: Likewise.
41104 * sysdeps/s390/dl-tls.h: Likewise.
41105 * sysdeps/sh/dl-tls.h: Likewise.
41106 * sysdeps/sparc/dl-tls.h: Likewise.
41107 * sysdeps/x86_64/dl-tls.h: Likewise.
41108 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41109
34fe483e
AS
411102011-03-14 Andreas Schwab <schwab@redhat.com>
41111
41112 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41113 rpath element also skip the following colon.
41114 (expand_dynamic_string_token): Add is_path parameter and pass
41115 down to DL_DST_REQUIRED and _dl_dst_substitute.
41116 (decompose_rpath): Call expand_dynamic_string_token with
41117 non-zero is_path. Ignore empty rpaths.
41118 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41119 with zero is_path.
41120
f12a32e6
AS
411212011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41122
41123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41124 Make cancelable.
41125
38a7d692
UD
411262011-04-09 Ulrich Drepper <drepper@gmail.com>
41127
41128 [BZ #12655]
41129 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41130 Patch by Filipe David Manana <fdmanana@apache.org>.
41131
e451d22b
AS
411322011-04-07 Andreas Schwab <schwab@redhat.com>
41133
41134 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41135 Maintain aligned stack.
41136 (CHECK_RSP): Remove unused macro.
41137
dedc7c7b
UD
411382011-04-03 Ulrich Drepper <drepper@gmail.com>
41139
41140 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41141 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41142
94521213
UD
411432011-04-02 Ulrich Drepper <drepper@gmail.com>
41144
41145 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41146
8cb700c0 41147 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41148
0354e355
L
411492011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41150
41151 [BZ #12518]
41152 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41153 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41154 * sysdeps/x86_64/memmove.c: New file.
41155 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41156 (memcpy): Renamed to ...
41157 (__new_memcpy): This.
41158 (memcpy): Provide GLIBC_2_14 memcpy.
41159 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41160 (memcpy): Provide GLIBC_2_2_5 memcpy.
41161
8593482f
UD
411622011-04-01 Ulrich Drepper <drepper@gmail.com>
41163
41164 [BZ #12631]
41165 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41166
81a5726b
AS
411672011-03-30 Andreas Schwab <schwab@redhat.com>
41168
41169 * misc/syncfs.c: New file.
41170 * misc/Makefile (routines): Add syncfs.
41171 * posix/unistd.h: Declare syncfs.
41172 * sysdeps/unix/syscalls.list: Add syncfs.
41173
00e5419f
AS
411742011-04-01 Andreas Schwab <schwab@redhat.com>
41175
41176 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41177 open_by_handle_at.
41178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41179 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41181 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41183 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41184 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41185
748876bf
UD
411862011-04-01 Ulrich Drepper <drepper@gmail.com>
41187
658e451d
UD
41188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41189 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41190 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41195
748876bf
UD
41196 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41197 sync_file_range.c with -fexceptions.
41198 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41199 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41200 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41201 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41202 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41203 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41204 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41205 sync_file_range as cancellation point
41206 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41207 now a wrapper around __call_sync_file_range with cancellation handling.
41208 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41209 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41210 function name to __call_sync_file_range.
41211 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41212 Add call_sync_file_range.
748876bf 41213
6e63d5e1
AS
412142011-04-01 Andreas Schwab <schwab@redhat.com>
41215
41216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41217 bits/timex.h.
6e63d5e1 41218
46998f74
UD
412192011-04-01 Ulrich Drepper <drepper@gmail.com>
41220
4c1423ed
UD
41221 * iconv/iconv.h: Fix typo in comment.
41222 * io/fcntl.h: Likewise.
41223 * libio/stdio.h: Likewise.
41224 * posix/spawn.h: Likewise.
41225 * posix/unistd.h: Likewise.
41226 * stdlib/stdlib.h: Likewise.
41227 * time/time.h: Likewise.
41228 * wcsmbs/wchar.h: Likewise.
41229
158648c0
UD
41230 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41231 open_by_handle): Add.
41232 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41233 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41234 Augment a few comments.
41235 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41240 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41241 open_by_handle.
41242
46998f74
UD
41243 * io/fcntl.h (AT_EMPTY_PATH): Define.
41244
83fe108b
UD
412452011-03-30 Ulrich Drepper <drepper@gmail.com>
41246
41247 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41248 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41249 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41250 to...
41251 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41252 * Versions.def: Add GLIBC_2.14.
41253 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41254 Export.
83fe108b 41255
bb242059
UD
412562011-03-22 Ulrich Drepper <drepper@gmail.com>
41257
41258 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41259 round counter.
41260 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41261
c97a1282
L
412622011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41263
41264 [BZ #12597]
41265 * string/test-strncmp.c (do_page_test): New function.
41266 (check2): Likewise.
41267 (test_main): Call check2.
41268 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41269
2a115601
UD
412702011-03-20 Ulrich Drepper <drepper@gmail.com>
41271
41272 [BZ #12587]
41273 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41274 Handle cache information in CPU leaf 4.
41275 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41276
8126d904
UD
412772011-03-18 Ulrich Drepper <drepper@gmail.com>
41278
042c49c6 41279 [BZ #12583]
8126d904
UD
41280 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41281 character representation.
41282 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41283
ccfe366e
RA
412842011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41285
41286 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41287 END(__isnan) to END(__isnanf) to match function entry point/label
41288 EALIGN(__isnanf,...).
41289
c6e13027
JJ
412902011-03-10 Jakub Jelinek <jakub@redhat.com>
41291
41292 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41293
33f85a3f
UD
412942011-03-10 Ulrich Drepper <drepper@gmail.com>
41295
028478fa
UD
41296 [BZ #12510]
41297 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41298 copy from the symbol referenced in the relocation to initialize the
41299 used variable.
41300 Patch by Piotr Bury <pbury@goahead.com>.
41301 * elf/Makefile: Add rules to build and tst-unique3.
41302 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41303 * elf/tst-unique3.cc: New file.
41304 * elf/tst-unique3.h: New file.
41305 * elf/tst-unique3lib.cc: New file.
41306 * elf/tst-unique3lib2.cc: New file.
41307
33f85a3f
UD
41308 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41309
03592fc7
MF
413102011-03-10 Mike Frysinger <vapier@gentoo.org>
41311
41312 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41313 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41314 to _start.
03592fc7 41315
6a5ee102
UD
413162011-03-06 Ulrich Drepper <drepper@gmail.com>
41317
41318 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41319 to-be-loaded object along a path to loader is ld.so.
41320
7e4ba49c
HJ
413212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41322 Ulrich Drepper <drepper@gmail.com>
41323
41324 * sysdeps/x86_64/memset.S: After aligning destination, code
41325 branches to different locations depending on the value of
41326 misalignment, when multiarch is enabled. Fix this.
41327
413282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41329
41330 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41331 Set _x86_64_preferred_memory_instruction for AMD processsors.
41332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41333 Set bit_Prefer_SSE_for_memop for AMD processors.
41334
13a804de
UD
413352011-03-04 Ulrich Drepper <drepper@gmail.com>
41336
41337 * libio/fmemopen.c (fmemopen): Optimize a bit.
41338
9d25c392
AS
413392011-03-03 Andreas Schwab <schwab@redhat.com>
41340
41341 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41342
a5543c6a
RM
413432011-03-03 Roland McGrath <roland@redhat.com>
41344
41345 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41346
012d35f7
DM
413472011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41348
7e4ba49c 41349 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41350 __bzero_ultra1 instead of __memset_ultra1.
41351
4bff6e01
AS
413522011-02-23 Andreas Schwab <schwab@redhat.com>
41353 Ulrich Drepper <drepper@gmail.com>
41354
41355 [BZ #12509]
41356 * include/link.h (struct link_map): Add l_orig_initfini.
41357 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41358 returning unsuccessfully.
41359 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41360 close of a file loaded at startup, restore the original l_initfini
41361 list.
41362 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41363 list, store the pointer.
41364 * elf/Makefile ($(objpfx)noload-mem): New rule.
41365 (noload-ENV): Define.
41366 (tests): Add $(objpfx)noload-mem.
41367 * elf/noload.c: Include <memcheck.h>.
41368 (main): Call mtrace. Close all opened handles.
41369
f2092faf
AS
413702011-02-17 Andreas Schwab <schwab@redhat.com>
41371
41372 [BZ #12454]
41373 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41374 dependencies are missing.
41375
6c8a2e88
ST
413762011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41377
f2092faf 41378 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41379 Hurd needs munmap.
41380 * sysdeps/mach/hurd/ifreq.h: New file.
41381
84a42118
PB
413822011-01-27 Petr Baudis <pasky@suse.cz>
41383 Ulrich Drepper <drepper@gmail.com>
41384
071f805e 41385 [BZ 12445]#
84a42118
PB
41386 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41387 to extend_alloca().
41388 * stdio-common/bug23.c: New file.
41389 * stdio-common/Makefile (tests): Add bug23.
41390
e23fe25b
AS
413912010-09-28 Andreas Schwab <schwab@redhat.com>
41392 Ulrich Drepper <drepper@gmail.com>
41393
41394 [BZ #12489]
41395 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41396 before performing relro protection. At old place add assertion
41397 to make sure nothing changed.
41398
d3f02e10
NS
413992011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41400 Glauber de Oliveira Costa <glommer@gmail.com>
41401
41402 * elf/elf.h: Add new ARM TLS relocs.
41403
d55fd7a5
RA
414042011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41405
41406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41407 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41408 cast from r3.
41409 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41410 'tests' variable.
41411 * sysdeps/wordsize-64/tst-writev.c: New file.
41412
2206397e
RA
414132011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41414
41415 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41416 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41417 insns in _dl_start to prevent a TOC reference before relocs are
41418 resolved.
41419
e9433893
UD
414202011-02-15 Ulrich Drepper <drepper@gmail.com>
41421
41422 [BZ #12469]
41423 * Makeconfig: Remove RANLIB definition.
41424 * Makerules: Don't use RANLIB.
41425 * aclocal.m4: Remove ranlib test.
41426 * configure.in: No need to check for ranlib.
41427 * elf/rtld-Rules: Don't use RANLIB.
41428
f75286c6
ST
414292011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41430
8e31c82d
ST
41431 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41432 protection macro.
41433 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41434 inclusion protection macro.
41435
f75286c6
ST
41436 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41437 SIGRTMIN and SIGRTMAX and print information in that case only when
41438 SIGRTMIN is defined.
41439
c1d0e639
JJ
414402011-02-11 Jakub Jelinek <jakub@redhat.com>
41441
41442 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41443 arginfo fn returning -1.
41444
41445 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41446 and thousands string is zero terminated.
41447
edf9294e
AS
414482011-02-03 Andreas Schwab <schwab@redhat.com>
41449
41450 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41451 sysdeps/unix/sysv/linux/bits/socket.h.
41452
2b7e92df
ST
414532011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41454
edf9294e
AS
41455 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41456 (__CPU_COUNT): Remove old macros.
41457 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41458 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41459 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41460 (__sched_cpualloc, __sched_cpufree): Add declarations.
41461
a4c7ea7b
UD
414622011-02-05 Ulrich Drepper <drepper@gmail.com>
41463
41464 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41465 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41466 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41467 (readdhstai): Return value of addhstaiX call.
41468 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41469 (addgrbyX): Return value returned by cache_addgr.
41470 (readdgrbyname): Return value returned by addgrbyX.
41471 (readdgrbygid): Likewise.
41472 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41473 (addpwbyX): Return value returned by cache_addpw.
41474 (readdpwbyname): Return value returned by addhstbyX.
41475 (readdpwbyuid): Likewise.
41476 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41477 (addservbyX): Return value returned by cache_addserv.
41478 (readdservbyname): Return value returned by addservbyX:
41479 (readdservbyport): Likewise.
41480 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41481 (addhstbyX): Return value returned by cache_addhst.
41482 (readdhstbyname): Return value returned by addhstbyX.
41483 (readdhstbyaddr): Likewise.
41484 (readdhstbynamev6): Likewise.
41485 (readdhstbyaddrv6): Likewise.
41486 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41487 (readdinitgroups): Return value returned by addinitgroupsX.
41488 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41489 (prune_cache): Keep track of timeout value of re-added entries.
41490 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41491 * nscd/nscd.h: Adjust prototypes of readd* functions.
41492
a0bf67cc
RM
414932011-02-04 Roland McGrath <roland@redhat.com>
41494
41495 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41496 (nis_stats): Likewise.
41497 * nis/nis_modify.c (nis_modify): Likewise.
41498 * nis/nis_remove.c (nis_remove): Likewise.
41499 * nis/nis_add.c (nis_add): Likewise.
41500
41501 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41502
41503 * posix/fnmatch_loop.c: Add some consts.
41504
41505 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41506
435b95eb
L
415072011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41508
41509 [BZ #12460]
41510 * config.make.in (config-cflags-novzeroupper): Define.
41511 * configure.in: Substitute libc_cv_cc_novzeroupper.
41512 * elf/Makefile (AVX-CFLAGS): Define.
41513 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41514 (CFLAGS-tst-auditmod4a.c): Likewise.
41515 (CFLAGS-tst-auditmod4b.c): Likewise.
41516 (CFLAGS-tst-auditmod6b.c): Likewise.
41517 (CFLAGS-tst-auditmod6c.c): Likewise.
41518 (CFLAGS-tst-auditmod7b.c): Likewise.
41519 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41520
8517b15e
UD
415212011-02-02 Ulrich Drepper <drepper@gmail.com>
41522
41523 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41524 function to the callback.
41525 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41526
10a656fe
AS
415272011-02-02 Andreas Schwab <schwab@redhat.com>
41528
41529 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41530 of errno.
41531
968dad0a
UD
415322011-01-19 Ulrich Drepper <drepper@gmail.com>
41533
9f94d2ea 41534 [BZ #11724]
968dad0a
UD
41535 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41536 of constructors.
41537 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41538 of destructors.
41539 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41540
41541 [BZ #11724]
41542 * elf/Makefile: Add rules to build and run new test.
41543 * elf/tst-initorder.c: New file.
41544 * elf/tst-initorder.exp: New file.
41545 * elf/tst-initordera1.c: New file.
41546 * elf/tst-initordera2.c: New file.
41547 * elf/tst-initordera3.c: New file.
41548 * elf/tst-initordera4.c: New file.
41549 * elf/tst-initorderb1.c: New file.
41550 * elf/tst-initorderb2.c: New file.
41551 * elf/tst-order-a1.c: New file.
41552 * elf/tst-order-a2.c: New file.
41553 * elf/tst-order-a3.c: New file.
41554 * elf/tst-order-a4.c: New file.
41555 * elf/tst-order-b1.c: New file.
41556 * elf/tst-order-b2.c: New file.
41557 * elf/tst-order-main.c: New file.
41558 New test case by George Gensure <werkt0@gmail.com>.
41559
86e92359
UD
415602010-10-01 Andreas Schwab <schwab@redhat.com>
41561
41562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41563 decoding ACE if AI_CANONIDN.
41564
5d5732b0
UD
415652011-01-18 Ulrich Drepper <drepper@gmail.com>
41566
41567 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41568
a77e8cbc
UD
415692011-01-17 Ulrich Drepper <drepper@gmail.com>
41570
6392473f
UD
41571 * version.h (RELEASE): Bump for 2.13 release.
41572 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41573
620a0529
UD
41574 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41575
18ba70a5
UD
41576 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41577 MADV_NOHUGEPAGE.
32465c3e
UD
41578 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41579 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41580 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41581 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41583 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41584
c0dafcf1
UD
41585 * posix/getconf.c: Update copyright year.
41586 * catgets/gencat.c: Likewise.
41587 * csu/version.c: Likewise.
41588 * debug/catchsegv.sh: Likewise.
41589 * debug/xtrace.sh: Likewise.
41590 * elf/ldconfig.c: Likewise.
41591 * elf/ldd.bash.in: Likewise.
41592 * elf/sprof.c (print_version): Likewise.
41593 * iconv/iconv_prog.c: Likewise.
41594 * iconv/iconvconfig.c: Likewise.
41595 * locale/programs/locale.c: Likewise.
41596 * locale/programs/localedef.c: Likewise.
41597 * malloc/memusage.sh: Likewise.
41598 * malloc/mtrace.pl: Likewise.
41599 * nscd/nscd.c (print_version): Likewise.
41600 * nss/getent.c: Likewise.
41601
a77e8cbc
UD
41602 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41603 PF_CAIF, and PF_ALG.
41604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41605
77e8bddf
AS
416062011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41607
1f20b93a
AS
41608 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41609 (modules-names): Use them.
41610 (ifunc-test-modules, ifunc-pie-tests): Define.
41611 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41612 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41613 (test-extras): Likewise.
41614 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41615 $(compile-command.c).
41616 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41617 (all-built-dso): Define.
41618 (check-textrel.out, check-execstack.out): Depend on it.
41619
77e8bddf
AS
41620 * configure.in: Don't override --enable-multi-arch.
41621
bc425b33
UD
416222011-01-15 Ulrich Drepper <drepper@gmail.com>
41623
41624 [BZ #6812]
41625 * nscd/hstcache.c (tryagain): Define.
41626 (cache_addhst): Return tryagain not notfound for temporary errors.
41627 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41628 failed.
41629
794c3ad3
UD
416302011-01-14 Ulrich Drepper <drepper@gmail.com>
41631
70181fdd
UD
41632 [BZ #10563]
41633 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41634 to make the syscall.
41635 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41636
794c3ad3
UD
41637 [BZ #12378]
41638 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41639 and fall back to matching as normal character if the string ends before
41640 the matching ']' is found. This is what POSIX requires.
41641 * posix/testfnm.c: Adjust test result.
41642 * posix/globtest.sh: Adjust test result. Add new test.
41643 * posix/tst-fnmatch.input: Likewise.
41644 * posix/tst-fnmatch2.c: Add new test.
41645
68dc9497
AS
416462010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41647
41648 * elf/Makefile (check-execstack): Revert last change. Depend on
41649 check-execstack.h.
41650 (check-execstack.h): New target.
41651 (generated): Add check-execstack.h.
41652 * elf/check-execstack.c: Include "check-execstack.h".
41653 (main): Revert last change.
41654 (handle_file): Return zero if GNU_STACK is absent and
41655 DEFAULT_STACK_PERMS doesn't include PF_X.
41656
451f001b
UD
416572011-01-13 Ulrich Drepper <drepper@gmail.com>
41658
cfa28e56
UD
41659 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41660 in child fails because the descriptor is already closed.
8cf8ce17
UD
41661 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41662 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41663 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41664
1086d70d
UD
41665 [BZ #12397]
41666 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41667 syscall.
41668
451f001b
UD
41669 [BZ #10484]
41670 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41671 temporary buffer used to handle multi lookups locally.
a85b5cb4 41672 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41673
08769175
UD
416742011-01-12 Ulrich Drepper <drepper@gmail.com>
41675
41676 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41677 loader is ld.so.
41678
5e49c52e
UD
416792011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41680
41681 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41682 alignment for SSE2.
41683
60522a5f
UD
416842011-01-12 Ulrich Drepper <drepper@gmail.com>
41685
41686 [BZ #12394]
41687 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41688 characters. When rounding increased number of integer digits recompute
41689 number of groups.
41690 * stdio-common/tst-grouping.c: New file.
41691 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41692
f257bbd7
UD
416932011-01-09 Ulrich Drepper <drepper@gmail.com>
41694
41695 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41696 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41697
41698 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41699 void.
41700 * bits/select.h: Likewise.
41701
fa9c15cb
UD
417022011-01-08 Ulrich Drepper <drepper@gmail.com>
41703
41704 * po/ja.po: Update from translation team.
41705
16c2895f
DM
417062011-01-04 David S. Miller <davem@sunset.davemloft.net>
41707
41708 [BZ #11155]
41709 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41710 implementation just like for lxstat, fxstatat, et al.
41711
2543fef2
JM
417122010-12-27 Jim Meyering <meyering@redhat.com>
41713
41714 [BZ #12348]
41715 * posix/regexec.c (build_trtable): Return failure indication upon
41716 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41717
98727dbe
UD
417182010-12-25 Ulrich Drepper <drepper@gmail.com>
41719
5bd6dc5c
UD
41720 [BZ #12201]
41721 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41722 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41723 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41724 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41725
97983464
UD
41726 [BZ #12207]
41727 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41728
98727dbe
UD
41729 [BZ #12204]
41730 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41731 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41732
4a531bb0
L
417332010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41734
41735 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41736 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41737 script has SORT_BY_INIT_PRIORITY.
41738 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41739 NO_CTORS_DTORS_SECTIONS is defined.
41740 * elf/soinit.c: Likewise.
41741 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41742 NO_CTORS_DTORS_SECTIONS is defined.
41743 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41744 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41745 * sysdeps/sh/init-first.c: Likewise.
41746 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41747
07eb4b71
UD
417482010-12-24 Ulrich Drepper <drepper@gmail.com>
41749
41750 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41751 always use the slow path.
41752
30950a5f
RA
417532010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41754
41755 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41756 similar rule which adds the sysdep directories to the header search in
41757 order to pick up the correct platform stackinfo.h.
41758 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41759 perform test if it is, otherwise return successfully without testing.
41760 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41761 DEFAULT_STACK_PERMS define in stackinfo.h.
41762 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41763 defined in stackinfo.h.
41764 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41765 DEFAULT_STACK_PERMS defined in stackinfo.h.
41766 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41767 * sysdeps/ia64/stackinfo.h: Likewise.
41768 * sysdeps/s390/stackinfo.h: Likewise.
41769 * sysdeps/sh/stackinfo.h: Likewise.
41770 * sysdeps/sparc/stackinfo.h: Likewise.
41771 * sysdeps/x86_64/stackinfo.h: Likewise.
41772 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41773 PF_X for powerpc64. Retain PF_X for powerpc32.
41774
db753e2c
UD
417752010-12-19 Ulrich Drepper <drepper@gmail.com>
41776
14b697f7
UD
41777 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41778 accurately.
db753e2c
UD
41779 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41780 GETDENTS_64BIT_ALIGNED.
41781
28300719
UD
417822010-12-14 Ulrich Drepper <dreper@gmail.com>
41783
14b697f7 41784 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41785
4f197237
AS
417862010-12-10 Andreas Schwab <schwab@redhat.com>
41787
dbb0472f
AS
41788 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41789 _GNU_SOURCE.
41790
4f197237
AS
41791 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41792 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41793 Remove __restrict.
41794 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41795 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41796
fb88ac72
UD
417972010-12-09 Ulrich Drepper <drepper@gmail.com>
41798
41799 [BZ #11655]
41800 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41801 are initialized.
41802
42acbb92
JJ
418032010-12-09 Jakub Jelinek <jakub@redhat.com>
41804
41805 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41806
c038d98d
UD
418072010-12-03 Ulrich Drepper <drepper@gmail.com>
41808
41809 * po/it.po: Update from translation team.
41810
3a4a2499
L
418112010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41812
41813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41814 unused codes.
41815
1e24cf6e
UD
418162010-11-30 Ulrich Drepper <drepper@gmail.com>
41817
41818 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41819
a7690819
AS
418202010-11-24 Andreas Schwab <schwab@redhat.com>
41821
41822 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41823 specially.
41824 (gaih_getanswer_slice): Likewise.
41825
3bf8d1b1
JJ
418262010-10-20 Jakub Jelinek <jakub@redhat.com>
41827
41828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41829
6db52fbb
PB
418302010-05-31 Petr Baudis <pasky@suse.cz>
41831
41832 [BZ #11149]
41833 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41834 silently even in the chroot mode.
41835
eaca7569
UD
418362010-11-22 Ulrich Drepper <drepper@gmail.com>
41837
41838 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41839 last patch a bit. Pretty printing
41840
3056dcdb
UD
418412010-05-31 Petr Baudis <pasky@suse.cz>
41842
41843 [BZ #10085]
41844 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41845 initialization of skip_initgroups_dyn.
41846
cf7c9078
UD
418472010-11-19 Ulrich Drepper <drepper@gmail.com>
41848
41849 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41850 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41851
a1fb5e3e
UD
418522010-11-16 Ulrich Drepper <drepper@gmail.com>
41853
41854 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41855
3540d66b
AS
418562010-11-11 Andreas Schwab <schwab@redhat.com>
41857
41858 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41859 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41860 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41861 ($(objpfx)tst-fnmatch-mem): New rule.
41862 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41863 * posix/tst-fnmatch.c (main): Call mtrace.
41864
13b69574
L
418652010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41866
41867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41868 Support Intel processor model 6 and model 0x2c.
41869
da93d214
LM
418702010-11-10 Luis Machado <luisgpm@br.ibm.com>
41871
41872 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41873 signed comparison.
41874
8ca52c6e
L
418752010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41876
41877 [BZ #12205]
41878 * string/test-strncasecmp.c (check_result): New function.
41879 (do_one_test): Use it.
41880 (check1): New function.
41881 (test_main): Use it.
41882 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41883 Support strcasecmp and strncasecmp.
41884
69da074d
UD
418852010-11-08 Ulrich Drepper <drepper@gmail.com>
41886
41887 [BZ #12194]
41888 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41889 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41890
ff02d528
L
418912010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41892
41893 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41894 IFUNC support.
41895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41896 memset-x86-64.
41897 * sysdeps/x86_64/multiarch/bzero.S: New file.
41898 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41899 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41900 * sysdeps/x86_64/multiarch/memset.S: New file.
41901 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41903 Set bit_Prefer_SSE_for_memop for Intel processors.
41904 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41905 Define.
41906 (index_Prefer_SSE_for_memop): Define.
41907 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41908
344d0b54
LM
419092010-11-04 Luis Machado <luisgpm@br.ibm.com>
41910
41911 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41912 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41913
c0dde15b
UD
419142010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41915
41916 [BZ #12191]
41917 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41918 (__x86_64_raw_data_cache_size_half): Likewise.
41919 (__x86_64_raw_shared_cache_size): Likewise.
41920 (__x86_64_raw_shared_cache_size_half): Likewise.
41921
41922 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41923 (__x86_64_raw_data_cache_size_half): Likewise.
41924 (__x86_64_raw_shared_cache_size): Likewise.
41925 (__x86_64_raw_shared_cache_size_half): Likewise.
41926 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41927 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41928 and __x86_64_raw_shared_cache_size_half. Round
41929 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41930 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41931 to multiple of 256 bytes.
41932
0e516e0e
MS
419332010-11-03 Ulrich Drepper <drepper@gmail.com>
41934
41935 [BZ #12167]
41936 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41937 of inacessible symlinks. Verify result of symlink before returning it.
41938 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41939 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41940
0e012e87
ER
419412010-10-28 Erich Ritz <erichritz@gmail.com>
41942
41943 * math/math.h (isinf): Fix typo in comment.
41944
de0ff7bc
UD
419452010-11-01 Ulrich Drepper <drepper@gmail.com>
41946
41947 * po/da.po: Update from translation team.
41948
fa41c84d
UD
419492010-10-26 Ulrich Drepper <drepper@gmail.com>
41950
41951 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41952 is added to the list.
41953
f0967738
AK
419542010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41955 Ulrich Drepper <drepper@gmail.com>
41956
41957 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41958 the global list here. Move code to...
41959 (_dl_add_to_namespace_list): ...here. New function.
41960 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41961 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41962 * elf/dl-load.c (lose): Don't remove the element from the list.
41963 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41964 (_dl_map_object): Likewise.
41965
419662010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41967
41968 [BZ #12159]
41969 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41970 into all bytes of SSE register.
41971 Patch by Richard Li <richardpku@gmail.com>.
41972
f0967738 419732010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41974
41975 [BZ #12140]
41976 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41977 perturbing.
41978
d0b9e94f
MB
419792010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41980
41981 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41982 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41983 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41984 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41986 submachine.
41987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41988
8e9f92e9
AS
419892010-10-22 Andreas Schwab <schwab@redhat.com>
41990
41991 * include/dlfcn.h (__RTLD_SECURE): Define.
41992 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41993 mode & __RTLD_SECURE instead.
41994 (open_path): Rename preloaded parameter to secure.
41995 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41996 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41997 * elf/dl-deps.c (openaux): Likewise.
41998 * elf/rtld.c (struct map_args): Remove is_preloaded.
41999 (map_doit): Don't use it.
42000 (dl_main): Likewise.
42001 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42002 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42003
bc96fbda
AS
420042010-09-09 Andreas Schwab <schwab@redhat.com>
42005
42006 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42007 (sysd-rules-targets): Remove duplicates.
42008 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42009 rtld-%.$o dependency.
42010
22cd1c9b
AS
420112010-10-18 Andreas Schwab <schwab@redhat.com>
42012
42013 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42014 _dl_map_object do it.
42015
18edac48
UD
420162010-10-19 Ulrich Drepper <drepper@gmail.com>
42017
42018 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42019 fast fma builtins, define the macros in the C99 standard.
42020 (FP_FAST_FMAF): Likewise.
42021 (FP_FAST_FMAL): Likewise.
42022 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42023
42024 * bits/mathdef.h: Update copyright year.
42025 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42026
d2050124
MM
420272010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42028
42029 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42030 builtins, define the macros in the C99 standard.
42031 (FP_FAST_FMAF): Likewise.
42032 (FP_FAST_FMAL): Likewise.
42033 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42034 multiply/add.
42035 (FP_FAST_FMAF): Likewise.
42036
475facd1
JJ
420372010-10-15 Jakub Jelinek <jakub@redhat.com>
42038
42039 [BZ #3268]
42040 * math/libm-test.inc (fma_test): Some new testcases.
42041 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42042 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42043 y and infinite z. Do multiplication by C already in long double.
42044 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42046 y and infinite z. Do bitwise or of inexact bit into u.d.
42047 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42048 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42049 * sysdeps/i386/fpu/s_fma.S: Removed.
42050 * sysdeps/i386/fpu/s_fmal.S: Removed.
42051
7c08a05c
JJ
420522010-10-16 Jakub Jelinek <jakub@redhat.com>
42053
42054 [BZ #3268]
42055 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42057 computation is not scheduled after fetestexcept. Fix value
42058 of minimum denormal long double.
42059
f3f7372d
JJ
420602010-10-14 Jakub Jelinek <jakub@redhat.com>
42061
42062 [BZ #3268]
42063 * math/libm-test.inc (fma_test): Add some more tests.
42064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42065 correctly.
42066
14d43591
AS
420672010-10-15 Andreas Schwab <schwab@redhat.com>
42068
42069 * scripts/data/localplt-s390-linux-gnu.data: New file.
42070 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42071
5e908464
JJ
420722010-10-13 Jakub Jelinek <jakub@redhat.com>
42073
42074 [BZ #3268]
42075 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42076 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42077 instead of dbl-64.
42078 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42079 inlines.
42080 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42082 if one of x and y is very large and the other is subnormal.
42083 * sysdeps/s390/fpu/s_fmaf.c: New file.
42084 * sysdeps/s390/fpu/s_fma.c: New file.
42085 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42086 * sysdeps/powerpc/fpu/s_fma.S: New file.
42087 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42088 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42089 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42090
420912010-10-12 Jakub Jelinek <jakub@redhat.com>
42092
42093 [BZ #3268]
42094 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42095 fma tests.
42096 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42097 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42098 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42099 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42100 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42101 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42103
b833d51f
UD
421042010-10-12 Ulrich Drepper <drepper@redhat.com>
42105
42106 [BZ #12078]
42107 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42108 * posix/bug-regex31.input: Add test case.
42109
1751705d
UD
421102010-10-11 Ulrich Drepper <drepper@gmail.com>
42111
e9b9cbf5
UD
42112 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42113 * posix/bug-regex31.input: New file.
42114
42115 [BZ #12078]
42116 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42117 (parse_sub_exp): Fix last change, use postorder.
42118
ef06edbe
UD
42119 * posix/bug-regex31.c: New file.
42120 * posix/Makefile: Add rules to build and run bug-regex31.
42121
a129c80d
UD
42122 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42123
42124 [BZ #12078]
42125 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42126
b76b818e
UD
42127 [BZ #12108]
42128 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42129 to have entries in sys_siglist.
42130
1751705d
UD
42131 [BZ #12093]
42132 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42133 be NULL.
42134
9ff8d36f
JJ
421352010-10-07 Jakub Jelinek <jakub@redhat.com>
42136
42137 [BZ #3268]
42138 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42139 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42140 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42141 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42142 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42143 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42144 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42145 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42146 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42147 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42148 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42149 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42150 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42151 * math/ftestexcept.c (fetestexcept): Likewise.
42152 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42153 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42154 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42155 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42156 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42157 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42158 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42159
af325969
UD
421602010-10-11 Ulrich Drepper <drepper@gmail.com>
42161
c579b202 42162 [BZ #12107]
af325969
UD
42163 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42164 newline.
42165
67a67b95
UD
421662010-10-06 Ulrich Drepper <drepper@gmail.com>
42167
42168 * string/bug-strstr1.c: New file.
42169 * string/Makefile: Add rules to build and run bug-strstr1.
42170
5fb308bc
EB
421712010-10-05 Eric Blake <eblake@redhat.com>
42172
42173 [BZ #12092]
42174 * string/str-two-way.h (two_way_long_needle): Always clear memory
42175 when skipping input due to the shift table.
42176
45db99c7
UD
421772010-10-03 Ulrich Drepper <drepper@gmail.com>
42178
3b111893
UD
42179 [BZ #12005]
42180 * malloc/mcheck.c: Handle large requests.
42181
45db99c7
UD
42182 [BZ #12077]
42183 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42184 for strncmp and strncasecmp.
42185 * string/stratcliff.c: Add tests for strcmp and strncmp.
42186 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42187
cf7a1eb8
NI
421882010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42189
42190 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42191 __set_fpscr.
42192
6484ba5e
AJ
421932010-09-30 Andreas Jaeger <aj@suse.de>
42194
42195 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42196 (CGROUP_SUPER_MAGIC): Define.
42197 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42198 Handle btrfs and cgroup file systems.
42199 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42200 Likewise.
42201
91c42559
LM
422022010-09-27 Luis Machado <luisgpm@br.ibm.com>
42203
42204 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42205 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42206
87a97932
AK
422072010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42208
42209 [BZ #12067]
42210 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42211 trying to locate the ELF header.
42212
c21cc9bc
AS
422132010-09-27 Andreas Schwab <schwab@redhat.com>
42214
42215 [BZ #11611]
42216 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42217 Mask out sign-bit copies when constructing f_fsid.
42218
315970f6
PB
422192010-09-24 Petr Baudis <pasky@suse.cz>
42220
42221 * debug/stack_chk_fail_local.c: Add missing licence exception.
42222 * debug/warning-nop.c: Likewise.
42223
1ac7a2c7
JM
422242010-09-15 Joseph Myers <joseph@codesourcery.com>
42225
42226 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42227 implementing getdents64 using getdents syscall, set d_type if
42228 __ASSUME_GETDENTS32_D_TYPE.
42229
56801c50
AS
422302010-09-16 Andreas Schwab <schwab@redhat.com>
42231
42232 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42233 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42234
dda51327
UD
422352010-09-21 Ulrich Drepper <drepper@redhat.com>
42236
42237 [BZ #12037]
42238 * posix/unistd.h: Undo change of feature selection for ftruncate from
42239 2010-01-11.
42240
8ffcee4a
UD
422412010-09-20 Ulrich Drepper <drepper@redhat.com>
42242
a545ecd9 42243 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42244 detection.
42245
e24f0a8b
AS
422462010-09-20 Andreas Schwab <schwab@redhat.com>
42247
42248 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42249 fanotify_mark.
42250 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42251
7291c56f
AS
422522010-09-14 Andreas Schwab <schwab@redhat.com>
42253
42254 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42255 variables after CHECK_SP call.
42256 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42257
bc5fb037
AS
422582010-09-13 Andreas Schwab <schwab@redhat.com>
42259 Ulrich Drepper <drepper@redhat.com>
42260
42261 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42262 re-relocationg ld.so.
42263 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42264 _dl_init_paths call.
42265 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42266 here anymore.
42267
e66e7419
UD
422682010-09-14 Ulrich Drepper <drepper@redhat.com>
42269
42270 * resolv/res_init.c (__res_vinit): Count the default server we added.
42271
c044aa75
CLT
422722010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42273 Ulrich Drepper <drepper@redhat.com>
42274
42275 [BZ #11968]
42276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42277 (____longjmp_chk): Use %ebx for saving value across system call.
42278 Add unwind info.
42279
32cf4069
AS
422802010-09-06 Andreas Schwab <schwab@redhat.com>
42281
42282 * manual/Makefile: Don't mix pattern rules with normal rules.
42283
817328ee
AS
422842010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42285
42286 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42287 operation.
42288 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42289 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42290 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42291 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42292 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42293 Likewise.
42294
29fddf61
UD
422952010-09-04 Ulrich Drepper <drepper@redhat.com>
42296
42297 [BZ #11979]
42298 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42299 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42300
0959ffc9
UD
423012010-09-02 Ulrich Drepper <drepper@redhat.com>
42302
42303 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42304 * sysdeps/x86_64/addmul_1.S: Likewise.
42305 * sysdeps/x86_64/lshift.S: Likewise.
42306 * sysdeps/x86_64/mul_1.S: Likewise.
42307 * sysdeps/x86_64/rshift.S: Likewise.
42308 * sysdeps/x86_64/sub_n.S: Likewise.
42309 * sysdeps/x86_64/submul_1.S: Likewise.
42310
ece29840
ST
423112010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42312
0959ffc9
UD
42313 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42314 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42315 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42316 * bits/sched.h [__need_schedparam]
ece29840 42317 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42318 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42319 (__defined_schedparam): Define to 1.
ece29840
ST
42320 (__sched_param): New structure, identical to sched_param.
42321 (__need_schedparam): Undefine.
42322
e53a31fe
MF
423232010-08-31 Mike Frysinger <vapier@gentoo.org>
42324
fdc0c10d
MF
42325 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42326 (epoll_create1): Declare.
42327
e53a31fe
MF
42328 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42329
a726d796
AS
423302010-08-31 Andreas Schwab <schwab@redhat.com>
42331
42332 [BZ #7066]
42333 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42334 shifting retval into place.
42335
2f3e3dc7
UD
423362010-09-01 Ulrich Drepper <drepper@redhat.com>
42337
f2933da9
UD
42338 * nis/rpcsvc/nis.h: Update copyright notice.
42339 * nis/rpcsvc/nis.x: Likewise.
42340 * nis/rpcsvc/nis_callback.h: Likewise.
42341 * nis/rpcsvc/nis_callback.x: Likewise.
42342 * nis/rpcsvc/nis_object.x: Likewise.
42343 * nis/rpcsvc/nis_tags.h: Likewise.
42344 * nis/rpcsvc/yp.h: Likewise.
42345 * nis/rpcsvc/yp.x: Likewise.
42346 * nis/rpcsvc/ypupd.h: Likewise.
42347 * nis/yp_xdr.c: Likewise.
42348 * nis/ypupdate_xdr.c: Likewise.
42349
2f3e3dc7
UD
42350 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42351 mainly the body of pmap_getport. Add parameters to specify timeouts.
42352 (pmap_getport): Use __libc_rpc_getport.
42353 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42354 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42355 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42356
f3dcc2f9
AS
423572010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42358
42359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42360 fanotify_mark.
42361
6d34eb5b
RM
423622010-08-27 Roland McGrath <roland@redhat.com>
42363
42364 * sysdeps/i386/i686/multiarch/Makefile
42365 (CFLAGS-varshift.c): New variable.
42366
9ea3de11
UD
423672010-08-27 Ulrich Drepper <drepper@redhat.com>
42368
c96d23fc
UD
42369 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42370 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42371
9ea3de11
UD
42372 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42373
42374 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42375
623aac7f
L
423762010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42377
42378 * sysdeps/x86_64/strlen.S: Unroll the loop.
42379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42380 strlen-sse2 strlen-sse2-bsf.
42381 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42382 __strlen_no_bsf if bit_Slow_BSF is set.
42383 (__strlen_sse42): Removed.
42384 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42385 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42386
8b2b7715
RM
423872010-08-25 Roland McGrath <roland@redhat.com>
42388
42389 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42390 * sysdeps/x86_64/multiarch/varshift.c: New file.
42391 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42392 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42393 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42394 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42395
e73015f2
L
423962010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42397
42398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42399 strlen-sse2 strlen-sse2-bsf.
42400 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42401 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42402 (__strlen_sse2): Removed.
42403 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42404 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42406 bit_Slow_BSF for Atom.
42407 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42408 (index_Slow_BSF): Define.
42409 (HAS_SLOW_BSF): Define.
42410
df24a73e
UD
424112010-08-25 Ulrich Drepper <drepper@redhat.com>
42412
42413 [BZ #10851]
42414 * resolv/res_init.c (__res_vinit): When no server address at all
42415 is given default to loopback.
42416
f2ac4868
RM
424172010-08-24 Roland McGrath <roland@redhat.com>
42418
09055553
RM
42419 * configure.in: Remove config-name.h generation.
42420 * configure: Regenerated.
42421 * config-name.in: File removed.
42422 * scripts/config-uname.sh: New file.
42423 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42424 ($(objdir)config-name.h): New target.
42425
f2ac4868
RM
42426 * sunrpc/rpc_parse.h: Avoid nested comment.
42427
73f27d5e
RH
424282010-08-24 Richard Henderson <rth@redhat.com>
42429 Ulrich Drepper <drepper@redhat.com>
42430 H.J. Lu <hongjiu.lu@intel.com>
42431
42432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42434 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42435 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42436 _mm_alignr_epi8 with _mm_loadu_si128.
42437 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42438 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42439 (__m128i_shift_right): Removed.
42440 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42441 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42442 * sysdeps/x86_64/multiarch/varshift.h: New file.
42443 * sysdeps/x86_64/multiarch/varshift.S: New file.
42444
84b9230c
MF
424452010-08-21 Mike Frysinger <vapier@gentoo.org>
42446
42447 * configure.in: Move assembler checks to before sysdep dir checking.
42448
9bbd0ddc
PB
424492010-08-20 Petr Baudis <pasky@suse.cz>
42450
42451 * LICENSES: Sync the sunrpc license.
42452
9da4bb31
UD
424532010-08-19 Ulrich Drepper <drepper@redhat.com>
42454
a7ab6ec8
UD
42455 * sunrpc/auth_des.c: Update copyright notice once again.
42456 * sunrpc/auth_none.c: Likewise.
42457 * sunrpc/auth_unix.c: Likewise.
42458 * sunrpc/authdes_prot.c: Likewise.
42459 * sunrpc/authuxprot.c: Likewise.
42460 * sunrpc/bindrsvprt.c: Likewise.
42461 * sunrpc/clnt_gen.c: Likewise.
42462 * sunrpc/clnt_perr.c: Likewise.
42463 * sunrpc/clnt_raw.c: Likewise.
42464 * sunrpc/clnt_simp.c: Likewise.
42465 * sunrpc/clnt_tcp.c: Likewise.
42466 * sunrpc/clnt_udp.c: Likewise.
42467 * sunrpc/clnt_unix.c: Likewise.
42468 * sunrpc/des_crypt.c: Likewise.
42469 * sunrpc/des_soft.c: Likewise.
42470 * sunrpc/get_myaddr.c: Likewise.
42471 * sunrpc/getrpcport.c: Likewise.
42472 * sunrpc/key_call.c: Likewise.
42473 * sunrpc/key_prot.c: Likewise.
42474 * sunrpc/openchild.c: Likewise.
42475 * sunrpc/pm_getmaps.c: Likewise.
42476 * sunrpc/pm_getport.c: Likewise.
42477 * sunrpc/pmap_clnt.c: Likewise.
42478 * sunrpc/pmap_prot.c: Likewise.
42479 * sunrpc/pmap_prot2.c: Likewise.
42480 * sunrpc/pmap_rmt.c: Likewise.
42481 * sunrpc/rpc/auth.h: Likewise.
42482 * sunrpc/rpc/auth_unix.h: Likewise.
42483 * sunrpc/rpc/clnt.h: Likewise.
42484 * sunrpc/rpc/des_crypt.h: Likewise.
42485 * sunrpc/rpc/key_prot.h: Likewise.
42486 * sunrpc/rpc/netdb.h: Likewise.
42487 * sunrpc/rpc/pmap_clnt.h: Likewise.
42488 * sunrpc/rpc/pmap_prot.h: Likewise.
42489 * sunrpc/rpc/pmap_rmt.h: Likewise.
42490 * sunrpc/rpc/rpc.h: Likewise.
42491 * sunrpc/rpc/rpc_des.h: Likewise.
42492 * sunrpc/rpc/rpc_msg.h: Likewise.
42493 * sunrpc/rpc/svc.h: Likewise.
42494 * sunrpc/rpc/svc_auth.h: Likewise.
42495 * sunrpc/rpc/types.h: Likewise.
42496 * sunrpc/rpc/xdr.h: Likewise.
42497 * sunrpc/rpc_clntout.c: Likewise.
42498 * sunrpc/rpc_cmsg.c: Likewise.
42499 * sunrpc/rpc_common.c: Likewise.
42500 * sunrpc/rpc_cout.c: Likewise.
42501 * sunrpc/rpc_dtable.c: Likewise.
42502 * sunrpc/rpc_hout.c: Likewise.
42503 * sunrpc/rpc_main.c: Likewise.
42504 * sunrpc/rpc_parse.c: Likewise.
42505 * sunrpc/rpc_parse.h: Likewise.
42506 * sunrpc/rpc_prot.c: Likewise.
42507 * sunrpc/rpc_sample.c: Likewise.
42508 * sunrpc/rpc_scan.c: Likewise.
42509 * sunrpc/rpc_scan.h: Likewise.
42510 * sunrpc/rpc_svcout.c: Likewise.
42511 * sunrpc/rpc_tblout.c: Likewise.
42512 * sunrpc/rpc_util.c: Likewise.
42513 * sunrpc/rpc_util.h: Likewise.
42514 * sunrpc/rpcinfo.c: Likewise.
42515 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42516 * sunrpc/rpcsvc/key_prot.x: Likewise.
42517 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42518 * sunrpc/rpcsvc/mount.x: Likewise.
42519 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42520 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42521 * sunrpc/rpcsvc/rex.x: Likewise.
42522 * sunrpc/rpcsvc/rstat.x: Likewise.
42523 * sunrpc/rpcsvc/rusers.x: Likewise.
42524 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42525 * sunrpc/rpcsvc/spray.x: Likewise.
42526 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42527 * sunrpc/rtime.c: Likewise.
42528 * sunrpc/svc.c: Likewise.
42529 * sunrpc/svc_auth.c: Likewise.
42530 * sunrpc/svc_authux.c: Likewise.
42531 * sunrpc/svc_raw.c: Likewise.
42532 * sunrpc/svc_run.c: Likewise.
42533 * sunrpc/svc_simple.c: Likewise.
42534 * sunrpc/svc_tcp.c: Likewise.
42535 * sunrpc/svc_udp.c: Likewise.
42536 * sunrpc/svc_unix.c: Likewise.
42537 * sunrpc/svcauth_des.c: Likewise.
42538 * sunrpc/xcrypt.c: Likewise.
42539 * sunrpc/xdr.c: Likewise.
42540 * sunrpc/xdr_array.c: Likewise.
42541 * sunrpc/xdr_float.c: Likewise.
42542 * sunrpc/xdr_mem.c: Likewise.
42543 * sunrpc/xdr_rec.c: Likewise.
42544 * sunrpc/xdr_ref.c: Likewise.
42545 * sunrpc/xdr_sizeof.c: Likewise.
42546 * sunrpc/xdr_stdio.c: Likewise.
42547
9da4bb31
UD
42548 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42549 handling.
42550
bdaa77bc
AS
425512010-08-19 Andreas Schwab <schwab@redhat.com>
42552
42553 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42554
fe2f79db
LM
425552010-08-19 Luis Machado <luisgpm@br.ibm.com>
42556
42557 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42558 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42559 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42560 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42561 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42562 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42563 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42564 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42565 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42566 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42567 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42568 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42569 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42570 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42571
b9b42ee0
AB
425722010-07-26 Anton Blanchard <anton@samba.org>
42573
42574 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42575 * malloc/arena.c (heap_trim): Likewise.
42576
1c06ba31
UD
425772010-08-16 Ulrich Drepper <drepper@redhat.com>
42578
42579 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42580 here. Not...
42581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42582 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42583
f8392f40
L
425842010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42585
42586 * sysdeps/i386/elf/Makefile: New file.
42587
3162f12e
AS
425882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42589
42590 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42591 from fanotify_init.
42592 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42593 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42594
28c90b2c
UD
425952010-08-15 Ulrich Drepper <drepper@redhat.com>
42596
42597 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42598 of strncasecmp_l.
1feccb6c 42599 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42600
ca6bb004
UD
426012010-08-14 Ulrich Drepper <drepper@redhat.com>
42602
e9f82e0d
UD
42603 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42604 strncase_l-nonascii.
42605 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42606 Add strncase_l-ssse3.
42607 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42608 * sysdeps/x86_64/strcmp.S: Likewise.
42609 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42610 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42611 * sysdeps/x86_64/strncase.S: New file.
42612 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42613 * sysdeps/x86_64/strncase_l.S: New file.
42614 * string/Makefile (strop-tests): Add strncasecmp.
42615 * string/test-strncasecmp.c: New file.
42616
42617 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42618 warning.
42619
ca6bb004
UD
42620 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42621 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42622
052fa7b3
AS
426232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42624
42625 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42626
962dba78
UD
426272010-08-12 Ulrich Drepper <drepper@redhat.com>
42628
42629 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42630 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42631 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42632
bebff237
AM
426332010-05-01 Alan Modra <amodra@gmail.com>
42634
42635 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42636 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42637 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42638 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42639 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42640 tidying. Don't tail-call __sigjmp_save for static lib.
42641 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42642 save location.
42643 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42644 (CALL_MCOUNT): Add eh info, and nop after bl.
42645 (TAIL_CALL_SYSCALL_ERROR): New macro.
42646 (PSEUDO_RET): Use it.
42647 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42648 Correct save location of integer regs and cr.
42649 (_dl_profile_resolve): Correct cr save location. Delete nops
42650 after bl when SHARED. Reduce cfi size a little by better
42651 placement of cfi directives.
42652 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42653 make a stack frame. Instead use parm save area as a temp.
42654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42655 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42657 Don't make a stack frame for parent, use parm save area.
42658 Increase child stack frame to 112 bytes. Don't save unused reg,
42659 and adjust reg usage. Set up cfi on error recovery and
42660 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42662 (__makecontext): Add dummy nop after jump to exit.
42663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42664 Use correct parm save area and cr save, reduce stack frame.
42665 Correct cfi for possible PSEUDO_RET frame setup.
42666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42667 Branch to local label emitted by PSEUDO_RET rather than
42668 __syscall_error.
42669
02637374
AS
426702010-08-12 Andreas Schwab <schwab@redhat.com>
42671
42672 [BZ #11904]
42673 * locale/programs/locale.c (print_assignment): New function.
42674 (show_locale_vars): Use it.
42675
c3e2f19b
UD
426762010-08-11 Ulrich Drepper <drepper@redhat.com>
42677
3cdaa6ad
UD
42678 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42679 field.
42680 (struct statfs64): Likewise.
42681 (_STATFS_F_FLAGS): Define.
42682 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42683 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42684 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42685 (ST_VALID): Define locally.
42686 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42687 __statvfs_getflags, use the provided value.
42688 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42689 __ASSUME_STATFS_F_FLAGS.
42690
754f7da3
UD
42691 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42692
10b3bedc
UD
42693 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42694 Add sys/fanotify.h.
42695 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42696 fanotify_mask for GLIBC_2.13.
42697 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42698 fanotify_init and fanotify_mark.
42699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42700 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42701
c08fb0d7
UD
42702 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42703 Add prlimit.
42704 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42705 prlimit64 for GLIBC_2.13.
42706 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42707 prlimit64.
42708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42709 syscall.
42710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42711 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42712 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42713 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42715 add prlimit alias.
42716 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42717
15bac72b
UD
42718 [BZ #11903]
42719 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42720 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42721
c3e2f19b
UD
42722 * nss/Makefile: Add rules to build and run tst-nss-test1.
42723 * shlib-versions: Add entry for libnss_test1.
42724 * nss/nss_test1.c: New file.
42725 * nss/tst-nss-test1.c: New file.
42726
42727 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42728 (__nss_configure_lookup): Set appropriate entry in
42729 __nss_configure_lookup to true.
42730 * nss/nsswitch.h: Define enum with indeces of databases in
42731 databases and __nss_database_custom arrays. Declare
42732 __nss_database_custom.
42733 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42734 to avoid using nscd when custom rules are installed.
42735 * nss/getXXbyYY_r.c: Likewise.
42736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42737
42738 * nss/nss_files/files-parse.c: Whitespace fixes.
42739
f15ce4d8
UD
427402010-08-09 Ulrich Drepper <drepper@redhat.com>
42741
42742 [BZ #11883]
42743 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42744 * posix/fnmatch_loop.c: Likewise.
42745
d22e4cc9
AK
427462010-07-17 Andi Kleen <ak@linux.intel.com>
42747
42748 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42749 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42750 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42751 * Versions.def [GLIBC_2.13]: Add.
42752
805bc17d
UD
427532010-08-06 Ulrich Drepper <drepper@redhat.com>
42754
42755 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42756 Also fail if tpwd after pwuid call is NULL.
42757
5a42321d
ST
427582010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42759
42760 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42761 when converting to ms.
42762
fd3ebeda
ST
427632010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42764
42765 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42766 EOPNOTSUPP errors with ENOTTY.
42767 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42768 EOPNOTSUPP errors with ENOTTY.
42769
73507d3a
UD
427702010-07-31 Ulrich Drepper <drepper@redhat.com>
42771
42772 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42773 Add strcasecmp_l-ssse3.
42774 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42775 strcasecmp.
42776 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42777 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42778 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42779
fe36dd02
UD
427802010-07-30 Ulrich Drepper <drepper@redhat.com>
42781
66f6765a
UD
42782 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42783
42e08a54
UD
42784 * string/Makefile (strop-tests): Add strcasecmp.
42785 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42786 strcasecmp_l-nonascii.
42787 (gen-as-const-headers): Add locale-defines.sym.
42788 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42789 * sysdeps/x86_64/strcasecmp.S: New file.
42790 * sysdeps/x86_64/strcasecmp_l.S: New file.
42791 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42792 * sysdeps/x86_64/locale-defines.sym: New file.
42793 * string/test-strcasecmp.c: New file.
42794
fe36dd02
UD
42795 * string/test-strcasestr.c: Test both ends of the range of characters.
42796 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42797
48cbc0d6
RM
427982010-07-29 Roland McGrath <roland@redhat.com>
42799
76e6d6bc 42800 [BZ #11856]
48cbc0d6
RM
42801 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42802
880113d9
UD
428032010-07-27 Ulrich Drepper <drepper@redhat.com>
42804
42805 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42806 for ld.so.
42807
deb9cabb
AS
428082010-07-27 Andreas Schwab <schwab@redhat.com>
42809
42810 * manual/memory.texi (Malloc Tunable Parameters): Document
42811 M_PERTURB.
42812
1c7570ff
RM
428132010-07-26 Roland McGrath <roland@redhat.com>
42814
42815 [BZ #11840]
42816 * configure.in (-fgnu89-inline check): Set and substitute
42817 gnu89_inline, not libc_cv_gnu89_inline.
42818 * configure: Regenerated.
42819 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42820
24fb0f88
UD
428212010-07-26 Ulrich Drepper <drepper@redhat.com>
42822
42823 * string/test-strnlen.c: New file.
42824 * string/Makefile (strop-tests): Add strnlen.
42825 * string/tester.c (test_strnlen): Add a few more test cases.
42826 * string/tst-strlen.c: Better error reporting.
42827
42828 * sysdeps/x86_64/strnlen.S: New file.
42829
8e96b93a
UD
428302010-07-24 Ulrich Drepper <drepper@redhat.com>
42831
42832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42833 lower-latency instructions.
42834
dbc676d4
UD
428352010-07-23 Ulrich Drepper <drepper@redhat.com>
42836
42837 * string/test-strcasestr.c: New file.
42838 * string/test-strstr.c: New file.
42839 * string/Makefile (strop-tests): Add strstr and strcasestr.
42840 * string/str-two-way.h: Don't undefine MAX.
42841 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42842
f6a31e0e
AS
428432010-07-21 Andreas Schwab <schwab@redhat.com>
42844
42845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42846 strcasestr-nonascii.
42847 (CFLAGS-strcasestr-nonascii.c): Define.
42848 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42849 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42850 Remove unused attribute.
42851
5dbc3b6c
RM
428522010-07-20 Roland McGrath <roland@redhat.com>
42853
42854 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42855 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42856 ld.so.cache was broken. With it, there is no way to disable dsocaps
42857 like LD_HWCAP_MASK can disable hwcaps.
42858
23d101d8
EPM
428592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42860
42861 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42862
cc9f2e47
UD
428632010-07-16 Ulrich Drepper <drepper@redhat.com>
42864
42865 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42866 call in strcasestr.
42867 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42868 __strcasestr_sse42_nonascii.
42869 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42870 strcasestr-nonascii.c.
42871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42872
77c1b069
LM
428732010-06-15 Luis Machado <luisgpm@br.ibm.com>
42874
42875 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42876 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42877 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42878 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42879
440566c3
UD
428802010-07-09 Ulrich Drepper <drepper@redhat.com>
42881
42882 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42883 fcntl.
42884
5be9d05d
AS
428852010-07-06 Andreas Schwab <schwab@redhat.com>
42886
c30b7ee2 42887 [BZ #11577]
5be9d05d
AS
42888 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42889 dl_signal_cerror.
42890
8a492a67
UD
428912010-07-06 Ulrich Drepper <drepper@redhat.com>
42892
42893 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42894 _PC_PIPE_BUF using F_GETPIPE_SZ.
42895
713df3d5
RM
428962010-07-05 Roland McGrath <roland@redhat.com>
42897
42898 * manual/arith.texi (Rounding Functions): Fix rint description
42899 implicit in round description.
42900
702e8f14
UD
429012010-07-02 Ulrich Drepper <drepper@redhat.com>
42902
42903 * elf/Makefile: Fix linking for a few tests to make recent linker
42904 happy.
42905
52ed8be9
AS
429062010-06-30 Andreas Schwab <schwab@redhat.com>
42907
42908 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42909 $(common-objpfx)libc_nonshared.a.
42910
f47c9a11
LM
429112010-06-21 Luis Machado <luisgpm@br.ibm.com>
42912
42913 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42914 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42915 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42916 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42917 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42918 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42919 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42920 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42935 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42936 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42937 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42938 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42939 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42940 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42941 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42942 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42943 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42944 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42945 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42946 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42961
6fb8cbcb
L
429622010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42963
42964 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42965 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42966 * string/memmove.c (memmove): Renamed to ...
42967 (MEMMOVE): ...this. Default to memmove.
42968 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42969 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42970 (END_CHK): Define.
42971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42972 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42973 mempcpy-ssse3-back memmove-ssse3-back.
42974 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42975 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42976 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42977 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42978 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42979 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42980 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42981 * sysdeps/x86_64/multiarch/memmove.c: New file.
42982 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42983 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42984 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42985 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42986 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42988 Define.
42989 (index_Fast_Copy_Backward): Define.
42990 (HAS_ARCH_FEATURE): Define.
42991 (HAS_FAST_REP_STRING): Define.
42992 (HAS_FAST_COPY_BACKWARD): Define.
42993
4e733bac 429942010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42995
42996 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42997 Restore proper fallback handling.
42998
63c4ed22
UD
429992010-06-19 Ulrich Drepper <drepper@redhat.com>
43000
ac2b484c
UD
43001 [BZ #11701]
43002 * posix/group_member.c (__group_member): Correct checking loop.
43003
63c4ed22
UD
43004 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43005 OOM in getpwuid_r correctly. Return error number when the caller
43006 should return, otherwise -1.
43007 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43008 call returning > 0 value.
43009 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43010
765ade4b
AS
430112010-06-07 Andreas Schwab <schwab@redhat.com>
43012
43013 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43014 libc_nonshared.a from targets in modules-names.
43015
80da2e09
KS
430162010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43017
43018 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43019 requires it.
43020
158db122
LM
430212010-06-10 Luis Machado <luisgpm@br.ibm.com>
43022
43023 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43024 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43026 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43027
caa78cf8
AS
430282010-06-02 Andreas Schwab <schwab@redhat.com>
43029
43030 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43031
b2ef2c01
UD
430322010-06-14 Ulrich Drepper <drepper@redhat.com>
43033
43034 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43035 and F_GETPIPE_SZ.
43036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43037 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43041 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43042
fbd643b6
RM
430432010-06-14 Roland McGrath <roland@redhat.com>
43044
43045 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43046
f32f2869
JJ
430472010-06-07 Jakub Jelinek <jakub@redhat.com>
43048
43049 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43050 __REDIRECT followed by __THROW.
43051 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43052 * posix/getopt.h (getopt): Likewise.
43053
2a50c078
EPM
430542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43055
43056 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43057 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43058 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43059 in AT_FLAGS.
43060 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43061 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43062
eb5ad2eb
LM
430632010-05-28 Luis Machado <luisgpm@br.ibm.com>
43064
43065 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43066
3c88fe1e
L
430672010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43068
43069 [BZ #11640]
43070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43071 Properly check family and model.
43072
d2f73151
TY
430732010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43074
43075 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43076
ebd2e13d
LM
430772010-05-24 Luis Machado <luisgpm@br.ibm.com>
43078
43079 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43080
b32b8b45
UD
430812010-05-21 Ulrich Drepper <drepper@redhat.com>
43082
43083 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43084 symbol reference.
43085
9acbe24d
AS
430862010-05-19 Andreas Schwab <schwab@redhat.com>
43087
43088 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43089 symbol reference.
43090
f0ccf6ea
AS
430912010-05-21 Andreas Schwab <schwab@redhat.com>
43092
3d04ff3a
AS
43093 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43094 and internal_recvmmsg.
43095 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43096 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43097 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43098 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43099
f0ccf6ea
AS
43100 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43101 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43102 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43103
5b08ac57
AS
431042010-05-20 Andreas Schwab <schwab@redhat.com>
43105
43106 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43107
4828935d
LM
431082010-05-17 Luis Machado <luisgpm@br.ibm.com>
43109
43110 POWER7 optimizations.
43111 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43112 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43113
373d545e
UD
431142010-05-19 Ulrich Drepper <drepper@redhat.com>
43115
43116 * version.h: Update for 2.13 development version.
43117
21a2b1ae
AS
431182010-05-12 Andrew Stubbs <ams@codesourcery.com>
43119
43120 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43121 exceptions. Return 0.
43122
3f7dcb2b
RM
431232010-05-07 Roland McGrath <roland@redhat.com>
43124
43125 * elf/ldconfig.c (main): Add a const.
43126
5f24d53a 431272010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43128
a160f8d8
UD
43129 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43130 (args_options): Add no-idn option.
43131 (ahosts_keys_int): Add idn_flags to ai_flags.
43132 (parse_option): Handle 'i' option to clear idn_flags.
43133
5f24d53a
UD
43134 * malloc/malloc.c (_int_free): Possible race in the most recently
43135 added check. Only act on the data if no current modification
43136 happened.
265bb1ce
UD
43137
43138See ChangeLog.17 for earlier changes.