1 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10 Intel MPX bound registers before _dl_profile_fixup.
11 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12 registers after _dl_profile_fixup. Save and restore bound
13 registers bnd0/bnd1 when calling _dl_call_pltexit.
14 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15 (LR_BND_OFFSET): Likewise.
16 (LRV_BND0_OFFSET): Likewise.
17 (LRV_BND1_OFFSET): Likewise.
19 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23 * sysdeps/mach/hurd/i386/tls.h: ... here.
24 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
25 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
39 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40 * sysdeps/s390/configure: Regenerate.
42 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
45 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46 Set round-to-nearest internally to reduce error accumulation.
48 2014-04-16 Alan Modra <amodra@gmail.com>
52 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53 * math/libm-test.inc (frexp_test_data): Add tests.
54 * NEWS: Update fixed bug list.
56 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58 * benchtests/Makefile: Depend on libraries in build directory.
59 (bench-math): Separate out math tests.
60 (bench-pthread): Separate out pthread tests.
61 (bench): Include math and pthread tests.
63 2014-04-14 Carlos O'Donell <carlos@redhat.com>
66 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
69 2014-04-14 Carlos O'Donell <carlos@redhat.com>
71 * configure.ac: Remove SELinux header check.
72 * configure: Regenerate.
73 * nscd/selinux.c (perms): Array of const char* to permission names.
74 (nscd_request_avc_has_perm): Call security_deny_unknown to find
75 default policy. Call string_to_security_class and string_to_av_perm to
76 translate strings. Enforce default policy and call avs_has_perm with
77 results of translated strings.
79 2014-04-13 David S. Miller <davem@davemloft.net>
81 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83 2014-04-12 Allan McRae <allan@archlinux.org>
86 * manual/string.texi (Collation Functions): Fix qsort argument
88 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
90 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
92 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
93 Make the test a no-op if there are no exceptions defined.
95 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
97 * elf/Makefile (tests): make tst-dlopen-aout conditional on
98 enable-hardcoded-path-in-tests
100 2014-04-11 Will Newton <will.newton@linaro.org>
102 * benchtests/Makefile (extra-objs): Add json-lib.o.
103 (bench-func): Tidy up JSON output.
104 * benchtests/bench-skeleton.c: Include json-lib.h.
105 (main): Use JSON library functions to do output of
107 * benchtests/bench-timing-type.c (main): Output the
108 timing type simply, leaving formatting to the user.
109 * benchtests/json-lib.c: New file.
110 * benchtests/json-lib.h: Likewise.
112 2014-04-11 Torvald Riegel <triegel@redhat.com>
115 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
116 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
117 memory barriers. Add comments.
118 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
119 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
120 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
121 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
122 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
123 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
125 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
127 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
128 * sysdeps/s390/s390-64/configure.ac: ... this ...
129 * sysdeps/s390/configure.ac: ... to here.
130 * sysdeps/s390/s390-32/configure: Delete file.
131 * sysdeps/s390/s390-64/configure: Delete file.
132 * sysdeps/s390/configure: Regenerate.
134 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
136 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
138 2014-04-11 Will Newton <will.newton@linaro.org>
140 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
141 to zero if it is not defined elsewhere. (mtrim): Test
142 the value of MALLOC_DEBUG with #if rather than #ifdef.
144 2014-04-10 Torvald Riegel <triegel@redhat.com>
146 * benchtests/pthread_once-inputs: New file.
147 * benchtests/pthread_once-source.c: New file.
148 * benchtests/README: Update documentation.
150 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
151 H.J. Lu <hongjiu.lu@intel.com>
153 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
154 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
155 * sysdeps/x86_64/configure: Regenerated.
156 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
158 (REGISTER_SAVE_RAX): Likewise.
159 (REGISTER_SAVE_RCX): Likewise.
160 (REGISTER_SAVE_RDX): Likewise.
161 (REGISTER_SAVE_RSI): Likewise.
162 (REGISTER_SAVE_RDI): Likewise.
163 (REGISTER_SAVE_R8): Likewise.
164 (REGISTER_SAVE_R9): Likewise.
165 (REGISTER_SAVE_BND0): Likewise.
166 (REGISTER_SAVE_BND1): Likewise.
167 (REGISTER_SAVE_BND2): Likewise.
168 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
169 bound registers when calling _dl_fixup.
171 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
173 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
174 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
176 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
177 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
178 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
179 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
180 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
181 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
182 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
184 2014-04-09 Peter Brett <peter@peter-b.co.uk>
187 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
188 pathconf(_PC_NAME_MAX).
190 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
194 (__PTHREAD_SPINS): Move definition to ...
195 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
196 (__PTHREAD_SPINS): ... here.
197 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
198 (__PTHREAD_SPIN): Likewise.
199 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
200 (__PTHREAD_SPIN): Likewise.
201 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
202 (__PTHREAD_SPIN): Likewise.
203 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
204 (__PTHREAD_SPIN): Likewise.
205 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
206 (__PTHREAD_SPIN): Likewise.
207 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
208 (__PTHREAD_SPIN): Likewise.
209 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
210 (__PTHREAD_SPIN): Likewise.
211 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
212 (__PTHREAD_SPIN): Likewise.
213 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
214 (__PTHREAD_SPIN): Likewise.
215 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
216 (__PTHREAD_SPIN): Likewise.
217 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
218 (__PTHREAD_SPIN): Likewise.
219 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
220 (__PTHREAD_SPIN): Likewise.
222 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
224 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
225 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
226 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
227 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
229 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
230 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
231 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
232 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
234 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
235 strlen symbol for non multi-arch builds.
236 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
237 missing hidden_def and weak_alias.
239 2014-04-08 Carlos O'Donell <carlos@redhat.com>
241 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
243 2014-04-07 Will Newton <will.newton@linaro.org>
245 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
246 and contents. [!_LIBC] Remove #ifndef and contents.
247 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
248 * string/memccpy.c (__memccpy): Use ANSI prototype.
249 * string/memfrob.c (memfrob): Likewise.
250 * string/strcoll.c (STRCOLL): Likewise.
251 * string/strlen.c (strlen): Likewise.
252 * string/strtok.c (STRTOK): Likewise.
253 * string/strcat.c: Remove unused #include of memcopy.h.
254 (strcat): Use ANSI prototype.
255 * string/strchr.c: Remove unused #include of memcopy.h.
256 (strchr): Use ANSI prototype.
257 * string/strcmp.c: Remove unused #include of memcopy.h.
258 (strcmp): Use ANSI prototype.
259 * string/strcpy.c: Remove unused #include of memcopy.h.
260 (strcpy): Use ANSI prototype.
262 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
264 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
265 * config.make.in (config-extra-cppflags): Set it from
267 * configure.ac (libc_extra_cflags): Make it accumulate over
269 (libc_extra_cppflags): New flag.
270 * configure. Regenerate.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
272 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
273 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
276 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
280 result for FE_DOWNWARD rounding mode.
281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
285 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
287 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
288 in function argument name.
290 2014-04-03 David Svoboda <svoboda@cert.org>
293 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
296 2014-04-03 Roland McGrath <roland@hack.frob.com>
298 * elf/dl-unmap-segments.h: New file.
299 * sysdeps/generic/ldsodefs.h
300 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
301 * elf/dl-close.c: Include <dl-unmap-segments.h>.
302 * elf/dl-fptr.c: Likewise.
303 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
304 * sysdeps/aarch64/tlsdesc.c: Likewise.
305 * sysdeps/arm/tlsdesc.c: Likewise.
306 * sysdeps/i386/tlsdesc.c: Likewise.
307 * sysdeps/tile/dl-runtime.c: Likewise.
308 * sysdeps/x86_64/tlsdesc.c: Likewise.
309 * elf/dl-load.h: New file.
310 * elf/dl-load.c: Include it.
311 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
312 Macros moved to dl-load.h.
313 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
314 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
315 Use _dl_unmap_segments in place of __munmap.
316 Break out segment-mapping loop into ...
317 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
319 2014-04-03 Will Newton <will.newton@linaro.org>
321 * elf/dl-lookup.c (do_lookup_x): Remove comment
322 referring to nested function and move variable
323 declarations down to before first use.
325 2014-04-02 Joseph Myers <joseph@codesourcery.com>
329 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
331 * math/s_catanf.c (__catanf): Likewise.
332 * math/s_catanh.c (__catanh): Likewise.
333 * math/s_catanhf.c (__catanhf): Likewise.
334 * math/s_catanhl.c (__catanhl): Likewise.
335 * math/s_catanl.c (__catanl): Likewise.
336 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
337 by positive zero when computing -Inf result.
338 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
339 (catanh_test): Likewise.
340 * sysdeps/i386/fpu/libm-test-ulps: Update.
341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
344 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
345 instead of using underflowing value in computing result.
346 * math/s_clog10.c (__clog10): Likewise.
347 * math/s_clog10f.c (__clog10f): Likewise.
348 * math/s_clog10l.c (__clog10l): Likewise.
349 * math/s_clogf.c (__clogf): Likewise.
350 * math/s_clogl.c (__clogl): Likewise.
351 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
352 (clog10_test): Likewise.
353 * sysdeps/i386/fpu/libm-test-ulps: Update.
354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
356 2014-04-02 Alan Modra <amodra@gmail.com>
359 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
360 output when value is near a power of two. Use int64_t for lx and
361 remove casts. Use decimal rather than hex exponent constants.
362 Don't use long double multiplication when double will suffice.
363 * math/libm-test.inc (nextafter_test_data): Add tests.
364 * NEWS: Add 16739 and 16786 to bug list.
366 2014-04-02 Alan Modra <amodra@gmail.com>
368 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
370 2014-04-02 Alan Modra <amodra@gmail.com>
372 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
374 2014-04-01 Will Newton <will.newton@linaro.org>
376 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
377 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
379 2014-04-01 Florian Weimer <fweimer@redhat.com>
382 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
383 * nptl/tst-setuid2.c: New file.
384 * nptl/Makefile (xtests): Add tst-setuid2.
386 2014-04-01 Alan Modra <amodra@gmail.com>
389 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
391 2014-03-31 Joseph Myers <joseph@codesourcery.com>
395 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
396 set errno as appropriate.
397 * math/w_scalbf.c (__scalbf): Likewise.
398 * math/w_scalbl.c (__scalbl): Likewise.
399 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
400 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
401 * math/libm-test.inc (scalb_test_data): Add errno expectations.
405 * math/w_atan2.c: Include <errno.h>.
406 (__atan2): Set errno for result underflowing to zero.
407 * math/w_atan2f.c: Include <errno.h>.
408 (__atan2f): Set errno for result underflowing to zero.
409 * math/w_atan2l.c: Include <errno.h>.
410 (__atan2l): Set errno for result underflowing to zero.
411 * math/auto-libm-test-in: Don't allow missing errno for some atan2
413 * math/auto-libm-test-out: Regenerated.
415 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
417 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
418 Encode instruction correctly in little endian.
419 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
423 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
425 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
428 2014-03-31 Joseph Myers <joseph@codesourcery.com>
431 * sysdeps/unix/sysv/linux/kernel-features.h
432 [__sparc__ && !__arch64__ && !__sparc_v9__]
433 (__ASSUME_SET_ROBUST_LIST): Do not define.
434 [__sparc__ && !__arch64__ && !__sparc_v9__]
435 (__ASSUME_FUTEX_LOCK_PI): Likewise.
436 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
438 * sysdeps/unix/sysv/linux/arm/kernel-features.h
439 (__ASSUME_FUTEX_LOCK_PI): Undefine.
440 (__ASSUME_REQUEUE_PI): Likewise.
441 (__ASSUME_SET_ROBUST_LIST): Likewise.
442 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
443 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
445 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
446 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
448 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
450 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
452 * sysdeps/unix/sysv/linux/mips/kernel-features.h
453 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
455 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
456 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
460 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
462 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
464 2014-03-31 Will Newton <will.newton@linaro.org>
466 * benchtests/Makefile (bench): Add ffs and ffsll to list
468 * benchtests/ffs-inputs: New file.
469 * benchtests/ffsll-inputs: Likewise.
471 2014-03-29 Joseph Myers <joseph@codesourcery.com>
474 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
475 too large before casting to int.
476 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
477 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
478 * math/libm-test.inc (scalb_test_data): Add more tests.
480 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
482 * benchtests/Makefile (DETAILED_OPT): New make option.
483 (bench-func): Run benchmark program with -d if DETAILED_OPT is
485 * benchtests/bench-skeleton.c: Include stdbool.h.
486 (main): Store and print timings per input.
487 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
488 member to each argument value.
489 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
490 (_print_arg_data): Initialize per-input timing to 0.
492 * benchtests/Makefile (timing-type): New binary.
493 (bench-clean): Also remove bench-timing-type.
494 (bench): New target for timing-type.
495 (bench-func): Print output in JSON format.
496 * benchtests/bench-skeleton.c (main): Print output in JSON
498 * benchtests/bench-timing-type.c: New file.
499 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
500 (TIMING_PRINT_STATS): Remove.
501 * benchtests/scripts/bench.py (_print_arg_data): Store variant
504 * benchtests/bench-modf.c: Remove.
505 * benchtests/modf-inputs: New inputs file.
507 2014-03-28 Joseph Myers <joseph@codesourcery.com>
510 * math/s_clog10.c (M_PI_LOG10E): New macro.
511 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
512 imaginary parts are 0.
513 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
514 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
515 imaginary parts are 0.
516 * math/s_clog10l.c (M_PI_LOG10El): New macro.
517 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
518 imaginary parts are 0.
519 * math/libm-test.inc (clog10_test_data): Update expected results
520 for when real and imaginary parts are 0.
522 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
524 * elf/dl-load.c: Finish conversion of __builtin_expect into
527 2014-03-27 Joseph Myers <joseph@codesourcery.com>
530 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
531 1+x for argument with exponent below -67.
532 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
534 * math/auto-libm-test-in: Add more tests of exp.
535 * math/auto-libm-test-out: Regenerated.
537 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
540 * inet/getnetgrent_r.c (get_nonempty_val): New function.
541 (nscd_getnetgrent): Use it.
544 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
547 2014-03-27 Andi Kleen <ak@linux.intel.com>
549 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
550 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
551 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
552 Remove out of line section. Use cfi intrinsics.
553 (LLL_STUB_UNWIND_INFO*): Remove.
554 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
555 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
556 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
557 Remove out of line section. Use cfi intrinsics.
558 (LLL_STUB_UNWIND_INFO*): Remove.
560 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
563 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
566 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
568 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
570 2014-03-26 Joseph Myers <joseph@codesourcery.com>
573 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
575 * math/test-fenv-preserve.c: New file.
576 * math/Makefile (tests): Add test-fenv-preserve.
578 2014-03-26 Will Newton <will.newton@linaro.org>
580 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
582 2014-03-25 Roland McGrath <roland@hack.frob.com>
584 * scripts/versionlist.awk: Partition the version sets and emit all
585 GLIBC_* (sorted) before all others (sorted).
587 2014-03-25 Joseph Myers <joseph@codesourcery.com>
589 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
592 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
594 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
597 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
599 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
602 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
606 2014-03-25 Andreas Schwab <schwab@suse.de>
608 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
609 label to be used after in6ailist is initialized.
611 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
613 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
614 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
616 2014-03-25 Joseph Myers <joseph@codesourcery.com>
620 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
622 (fp_formats): Update initializers.
623 (init_fp_formats): Initialize new field.
624 (output_for_one_input_case): Allow underflow for results up to
626 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
627 * math/auto-libm-test-in: Don't mark some underflows from asin and
629 * math/auto-libm-test-out: Regenerated.
630 * sysdeps/i386/fpu/libm-test-ulps: Update.
631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
633 2014-03-25 Andreas Schwab <schwab@suse.de>
635 * libio/Makefile (tst-ftell-partial-wide-ENV)
636 (tst-ftell-active-handler-ENV): Define.
638 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
640 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
642 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
644 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
646 2014-03-24 Joseph Myers <joseph@codesourcery.com>
648 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
649 * sysdeps/x86_64/fpu/multiarch/e_exp.c
650 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
652 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
655 * elf/dl-load.c (open_verify): Add mode parameter.
656 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
657 (open_path): Change from boolean 'secure' to complete flag 'mode'
658 (_dl_map_object): Adjust.
659 * elf/Makefile (tests): Add tst-dlopen-aout.
660 * elf/tst-dlopen-aout.c: New test.
662 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
665 * sysdeps/unix/sysv/linux/s390/bits/stat.h
666 (struct stat): Rename member pad0 to __glibc_reserved0.
668 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
671 * sysdeps/s390/s390-32/bits/wordsize.h
672 (__WORDSIZE32_SIZE_ULONG): New define.
673 * sysdeps/s390/s390-64/bits/wordsize.h
674 (__WORDSIZE32_SIZE_ULONG): Likewise.
675 * sysdeps/generic/stdint.h (SIZE_MAX):
676 Define as UL if __WORDSIZE32_SIZE_ULONG.
678 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
681 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
682 (__glibc_reserved0): New variable.
683 (sa_flags): Change type to int.
685 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
687 * posix/Makefile (before-compile): Use += before-compile instead
690 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
692 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
693 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
695 2014-03-20 Andreas Schwab <schwab@suse.de>
698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
699 non-matching result from nscd.
701 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
703 * scripts/bench.py: Moved to ...
704 * benchtests/scripts/bench.py: ... here.
705 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
707 2014-03-24 Andreas Schwab <schwab@suse.de>
710 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
711 alloca_account and account alloca use for struct in6ailist.
713 2014-03-24 Joseph Myers <joseph@codesourcery.com>
716 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
717 rounding mode to recompute results that overflow to infinity or
719 * math/auto-libm-test-in: Don't mark tests as expected to fail for
721 * math/auto-libm-test-out: Regenerated.
722 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
723 (ccosh_test): Likewise.
724 (csin_test_data): Use plus_oflow.
725 (csin_test): Use ALL_RM_TEST.
726 (csinh_test_data): Use plus_oflow.
727 (csinh_test): Use ALL_RM_TEST.
728 * sysdeps/i386/fpu/libm-test-ulps: Update.
729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
731 2014-03-21 Joseph Myers <joseph@codesourcery.com>
733 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
734 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
735 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
738 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
740 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
741 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
742 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
743 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
745 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
746 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
748 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
749 * sysdeps/i386/fpu/libm-test-ulps: Update.
750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
752 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
754 * scripts/bench.pl: Remove file.
755 * scripts/bench.py: New benchmark script.
756 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
757 * benchtests/README: Mention python dependency.
758 * scripts/pylintrc: New file.
759 * scripts/pylint: New file.
761 * bits/mathdef.h: Use #ifdef instead of #if.
762 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
763 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
764 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
765 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
766 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
767 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
769 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
770 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
772 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
774 and strpbrk-ppc64 objects.
775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
776 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
777 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
778 multiarch strpbrk for POWER7.
779 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
780 multiarch strpbrk for PPC64.
781 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
783 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
786 2014-03-20 Joseph Myers <joseph@codesourcery.com>
788 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
789 (atan_test): Likewise.
790 (atanh_test_data): Use NO_TEST_INLINE for two tests.
791 (atanh_test): Use ALL_RM_TEST.
792 (atan2_test_data): Likewise.
793 (cabs_test): Likewise.
794 (cacosh_test): Likewise.
795 (carg_test): Likewise.
796 (casin_test): Likewise.
797 (casinh_test): Likewise.
798 (cbrt_test): Likewise.
799 (csqrt_test): Likewise.
800 (erf_test): Likewise.
801 (erfc_test): Likewise.
802 (pow10_test): Likewise.
803 (exp2_test): Likewise.
804 (hypot_test): Likewise.
807 (lgamma_test): Likewise.
808 (gamma_test): Likewise.
809 (sincos_test): Likewise.
810 (tanh_test): Likewise.
813 * sysdeps/i386/fpu/libm-test-ulps: Update.
814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
816 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
818 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
820 and strcspn-ppc64 objects.
821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
822 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
823 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
824 multiarch strcspn for POWER7.
825 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
826 multiarch strcspn for PPC64.
827 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
829 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
832 2014-03-20 Joseph Myers <joseph@codesourcery.com>
834 * math/gen-libm-test.pl (generate_testfile): Expect only function
835 name as argument to AUTO_TESTS_* and pass results for all rounding
837 (parse_auto_input): Separate inputs of automatic tests from
838 outputs before storing in %auto_tests.
839 * math/libm-test.inc (acos_test_data): Update call to
841 (acos_test): Use ALL_RM_TEST.
842 (acos_tonearest_test_data): Remove.
843 (acos_test_tonearest): Likewise.
844 (acos_towardzero_test_data): Likewise.
845 (acos_test_towardzero): Likewise.
846 (acos_downward_test_data): Likewise.
847 (acos_test_downward): Likewise.
848 (acos_upward_test_data): Likewise.
849 (acos_test_upward): Likewise.
850 (acosh_test_data): Update call to AUTO_TESTS_f_f.
851 (asin_test_data): Likewise.
852 (asin_test): Use ALL_RM_TEST.
853 (asin_tonearest_test_data): Remove.
854 (asin_test_tonearest): Likewise.
855 (asin_towardzero_test_data): Likewise.
856 (asin_test_towardzero): Likewise.
857 (asin_downward_test_data): Likewise.
858 (asin_test_downward): Likewise.
859 (asin_upward_test_data): Likewise.
860 (asin_test_upward): Likewise.
861 (asinh_test_data): Update call to AUTO_TESTS_f_f.
862 (atan_test_data): Likewise.
863 (atanh_test_data): Likewise.
864 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
865 (cabs_test_data): Update call to AUTO_TESTS_c_f.
866 (carg_test_data): Likewise.
867 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
868 (ccos_test_data): Update call to AUTO_TESTS_c_c.
869 (ccosh_test_data): Likewise.
870 (cexp_test_data): Likewise.
871 (clog_test_data): Likewise.
872 (clog10_test_data): Likewise.
873 (cos_test_data): Update call to AUTO_TESTS_f_f.
874 (cos_test): Use ALL_RM_TEST.
875 (cos_tonearest_test_data): Remove.
876 (cos_test_tonearest): Likewise.
877 (cos_towardzero_test_data): Likewise.
878 (cos_test_towardzero): Likewise.
879 (cos_downward_test_data): Likewise.
880 (cos_test_downward): Likewise.
881 (cos_upward_test_data): Likewise.
882 (cos_test_upward): Likewise.
883 (cosh_test_data): Update call to AUTO_TESTS_f_f.
884 (cosh_test): Use ALL_RM_TEST.
885 (cosh_tonearest_test_data): Remove.
886 (cosh_test_tonearest): Likewise.
887 (cosh_towardzero_test_data): Likewise.
888 (cosh_test_towardzero): Likewise.
889 (cosh_downward_test_data): Likewise.
890 (cosh_test_downward): Likewise.
891 (cosh_upward_test_data): Likewise.
892 (cosh_test_upward): Likewise.
893 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
894 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
895 (ctan_test_data): Likewise.
896 (ctan_test): Use ALL_RM_TEST.
897 (ctan_tonearest_test_data): Remove.
898 (ctan_test_tonearest): Likewise.
899 (ctan_towardzero_test_data): Likewise.
900 (ctan_test_towardzero): Likewise.
901 (ctan_downward_test_data): Likewise.
902 (ctan_test_downward): Likewise.
903 (ctan_upward_test_data): Likewise.
904 (ctan_test_upward): Likewise.
905 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
906 (ctanh_test): Use ALL_RM_TEST.
907 (ctanh_tonearest_test_data): Remove.
908 (ctanh_test_tonearest): Likewise.
909 (ctanh_towardzero_test_data): Likewise.
910 (ctanh_test_towardzero): Likewise.
911 (ctanh_downward_test_data): Likewise.
912 (ctanh_test_downward): Likewise.
913 (ctanh_upward_test_data): Likewise.
914 (ctanh_test_upward): Likewise.
915 (erf_test_data): Update call to AUTO_TESTS_f_f.
916 (erfc_test_data): Likewise.
917 (exp_test_data): Likewise.
918 (exp_test): Use ALL_RM_TEST.
919 (exp_tonearest_test_data): Remove.
920 (exp_test_tonearest): Likewise.
921 (exp_towardzero_test_data): Likewise.
922 (exp_test_towardzero): Likewise.
923 (exp_downward_test_data): Likewise.
924 (exp_test_downward): Likewise.
925 (exp_upward_test_data): Likewise.
926 (exp_test_upward): Likewise.
927 (exp10_test_data): Update call to AUTO_TESTS_f_f.
928 (exp10_test): Use ALL_RM_TEST.
929 (exp10_tonearest_test_data): Remove.
930 (exp10_test_tonearest): Likewise.
931 (exp10_towardzero_test_data): Likewise.
932 (exp10_test_towardzero): Likewise.
933 (exp10_downward_test_data): Likewise.
934 (exp10_test_downward): Likewise.
935 (exp10_upward_test_data): Likewise.
936 (exp10_test_upward): Likewise.
937 (exp2_test_data): Update call to AUTO_TESTS_f_f.
938 (expm1_test_data): Likewise.
939 (expm1_test): Use ALL_RM_TEST.
940 (expm1_tonearest_test_data): Remove.
941 (expm1_test_tonearest): Likewise.
942 (expm1_towardzero_test_data): Likewise.
943 (expm1_test_towardzero): Likewise.
944 (expm1_downward_test_data): Likewise.
945 (expm1_test_downward): Likewise.
946 (expm1_upward_test_data): Likewise.
947 (expm1_test_upward): Likewise.
948 (fma_test_data): Update call to AUTO_TESTS_fff_f.
949 (fma_test): Use ALL_RM_TEST.
950 (fma_towardzero_test_data): Remove.
951 (fma_test_towardzero): Likewise.
952 (fma_downward_test_data): Likewise.
953 (fma_test_downward): Likewise.
954 (fma_upward_test_data): Likewise.
955 (fma_test_upward): Likewise.
956 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
957 (j0_test_data): Update call to AUTO_TESTS_f_f.
958 (j1_test_data): Likewise.
959 (jn_test_data): Update call to AUTO_TESTS_if_f.
960 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
961 (log_test_data): Update call to AUTO_TESTS_f_f.
962 (log10_test_data): Likewise.
963 (log1p_test_data): Likewise.
964 (log2_test_data): Likewise.
965 (pow_test_data): Update call to AUTO_TESTS_ff_f.
966 (pow_tonearest_test_data): Likewise.
967 (sin_test_data): Update call to AUTO_TESTS_f_f.
968 (sin_test): Use ALL_RM_TEST.
969 (sin_tonearest_test_data): Remove.
970 (sin_test_tonearest): Likewise.
971 (sin_towardzero_test_data): Likewise.
972 (sin_test_towardzero): Likewise.
973 (sin_downward_test_data): Likewise.
974 (sin_test_downward): Likewise.
975 (sin_upward_test_data): Likewise.
976 (sin_test_upward): Likewise.
977 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
978 (sinh_test_data): Update call to AUTO_TESTS_f_f.
979 (sinh_test): Use ALL_RM_TEST.
980 (sinh_tonearest_test_data): Remove.
981 (sinh_test_tonearest): Likewise.
982 (sinh_towardzero_test_data): Likewise.
983 (sinh_test_towardzero): Likewise.
984 (sinh_downward_test_data): Likewise.
985 (sinh_test_downward): Likewise.
986 (sinh_upward_test_data): Likewise.
987 (sinh_test_upward): Likewise.
988 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
989 (sqrt_test): Use ALL_RM_TEST.
990 (sqrt_tonearest_test_data): Remove.
991 (sqrt_test_tonearest): Likewise.
992 (sqrt_towardzero_test_data): Likewise.
993 (sqrt_test_towardzero): Likewise.
994 (sqrt_downward_test_data): Likewise.
995 (sqrt_test_downward): Likewise.
996 (sqrt_upward_test_data): Likewise.
997 (sqrt_test_upward): Likewise.
998 (tan_test_data): Update call to AUTO_TESTS_f_f.
999 (tan_test): Use ALL_RM_TEST.
1000 (tan_tonearest_test_data): Remove.
1001 (tan_test_tonearest): Likewise.
1002 (tan_towardzero_test_data): Likewise.
1003 (tan_test_towardzero): Likewise.
1004 (tan_downward_test_data): Likewise.
1005 (tan_test_downward): Likewise.
1006 (tan_upward_test_data): Likewise.
1007 (tan_test_upward): Likewise.
1008 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1009 (tgamma_test_data): Likewise.
1010 (y0_test_data): Likewise.
1011 (y1_test_data): Likewise.
1012 (yn_test_data): Update call to AUTO_TESTS_if_f.
1013 (main): Do not call removed functions.
1015 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1017 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1018 (ldexp_test_data): Remove.
1019 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1021 (scalb_test): Use ALL_RM_TEST.
1023 2014-03-19 Andreas Schwab <schwab@suse.de>
1025 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1027 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1030 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1031 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1032 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1033 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1034 (__ASSUME_PREADV): Undefine.
1035 (__ASSUME_PWRITEV): Likewise.
1037 2014-03-18 Roland McGrath <roland@hack.frob.com>
1039 * bits/mman-linux.h: Add comment about non-Linux use.
1040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1041 bits/mman-linux.h resting place.
1043 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1044 * bits/mman-linux.h: ... here.
1046 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048 * conform/conformtest.pl: Add standard definition when calling C
1049 preprocessor on data files.
1050 (checknamespace): Remove unused variable.
1052 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1054 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1055 minus_oflow, plus_uflow and minus_uflow in expected results.
1056 * math/libm-test.inc (scalbn_test_data): Add more tests of
1057 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1059 (scalbn_test): Use ALL_RM_TEST.
1060 (scalbln_test_data): Add more tests of negative arguments. Use
1061 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1062 (scalbln_test): Use ALL_RM_TEST.
1064 2014-03-18 Roland McGrath <roland@hack.frob.com>
1066 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1068 2014-03-18 Will Newton <will.newton@linaro.org>
1070 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1073 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1075 * Makerules [!subdir] (check-abi): Exit with error status if a
1078 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1080 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1081 for rint. Include results for all rounding modes.
1082 (nearbyint_test): Use ALL_RM_TEST.
1083 (rint_test_data): Include all tests used for nearbyint.
1085 2014-03-17 Will Newton <will.newton@linaro.org>
1087 * nptl/sysdeps/pthread/pthread.h: Revert previous
1090 * sysdeps/generic/ldsodefs.h: Revert previous
1093 * libio/genops.c: Revert previous change.
1094 * libio/libioP.h: Likewise.
1095 * stdio-common/vfprintf.c: Likewise.
1097 * sysdeps/generic/math_private.h: Revert previous
1100 * sysdeps/generic/math_private.h: Check whether
1101 HAVE_RM_CTX is defined with #ifdef rather
1104 * argp/argp-fmtstream.h: Check whether
1105 __STRICT_ANSI__ is defined with #ifdef rather
1107 * argp/argp.h: Likewise.
1109 * libio/genops.c: Check whether
1110 _IO_JUMPS_OFFSET is defined with #ifdef rather
1112 * libio/libioP.h: Likewise.
1113 * stdio-common/vfprintf.c: Likewise.
1115 * sysdeps/generic/ldsodefs.h: Check whether
1116 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1119 * nptl/sysdeps/pthread/pthread.h: Check
1120 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1123 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1125 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1127 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1131 * libio/fileops.c (_IO_file_open): Seek to end of file but
1132 don't cache the offset.
1133 (get_file_offset): Remove function.
1134 (do_ftell): Use cached offset when available.
1135 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1136 don't cache the offset.
1137 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1139 (do_one_test): Call it.
1140 (do_ftell_test): Fix up expected old offset for a+ mode.
1141 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1144 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1145 up test status with function return status.
1146 (do_write_test): Likewise.
1147 (do_append_test): Likewise.
1149 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1150 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1153 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1155 * math/gen-libm-test.pl (parse_args): Handle results specified for
1156 each rounding mode separately.
1157 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1158 tests and results from lrint_tonearest_test_data,
1159 lrint_towardzero_test_data, lrint_downward_test_data and
1160 lrint_upward_test_data.
1161 (lrint_test): Use ALL_RM_TEST.
1162 (lrint_tonearest_test_data): Remove.
1163 (lrint_test_tonearest): Likewise.
1164 (lrint_towardzero_test_data): Likewise.
1165 (lrint_test_towardzero): Likewise.
1166 (lrint_downward_test_data): Likewise.
1167 (lrint_test_downward): Likewise.
1168 (lrint_upward_test_data): Likewise.
1169 (lrint_test_upward): Likewise.
1170 (llrint_test_data): Merge in per-rounding-mode tests and results
1171 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1172 llrint_downward_test_data and llrint_upward_test_data.
1173 (llrint_test): Use ALL_RM_TEST.
1174 (llrint_tonearest_test_data): Remove.
1175 (llrint_test_tonearest): Likewise.
1176 (llrint_towardzero_test_data): Likewise.
1177 (llrint_test_towardzero): Likewise.
1178 (llrint_downward_test_data): Likewise.
1179 (llrint_test_downward): Likewise.
1180 (llrint_upward_test_data): Likewise.
1181 (llrint_test_upward): Likewise.
1182 (rint_test_data): Merge in per-rounding-mode tests and results
1183 from rint_tonearest_test_data, rint_towardzero_test_data,
1184 rint_downward_test_data and rint_upward_test_data. Add
1185 per-rounding-mode results for tests not in those arrays.
1186 (rint_test): Use ALL_RM_TEST.
1187 (rint_tonearest_test_data): Remove.
1188 (rint_test_tonearest): Likewise.
1189 (rint_towardzero_test_data): Likewise.
1190 (rint_test_towardzero): Likewise.
1191 (rint_downward_test_data): Likewise.
1192 (rint_test_downward): Likewise.
1193 (rint_upward_test_data): Likewise.
1194 (rint_test_upward): Likewise.
1195 (main): Don't call removed functions.
1197 2014-03-14 Roland McGrath <roland@hack.frob.com>
1199 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1200 "Compiled on ..." crapola. It is anti-useful.
1202 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1204 * scripts/evaluate-test.sh: Handle fourth argument to determine
1205 whether test run should stop on failure.
1206 * Makeconfig (stop-on-test-failure): New variable.
1207 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1208 $(stop-on-test-failure).
1209 * Makefile (tests): Give a summary of results from testing and
1210 exit with failure status if they include an ERROR or FAIL.
1212 * manual/install.texi (Configuring and compiling): Mention
1213 stop-on-test-failure=y.
1214 * INSTALL: Regenerated.
1216 2014-03-14 Roland McGrath <roland@hack.frob.com>
1218 * scripts/versionlist.awk: New file.
1219 * Makerules [$(build-shared) = yes]
1220 (postclean-generated): Add Versions.def, not Versions.def.v and
1222 ($(common-objpfx)Versions.def.v.i): Target removed.
1223 ($(common-objpfx)Versions.def): New target.
1224 ($(common-objpfx)Versions.all): Depend on that rather that
1225 $(common-objpfx)Versions.def.v.
1226 * Versions.def: File removed.
1228 * Makeconfig (+gccwarn): Add -Wundef.
1229 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1230 a dl-sysdep.h breaking its contract.
1231 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1232 * include/stackinfo.h: New file.
1233 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1234 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1235 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1236 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1237 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1238 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1239 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1240 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1241 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1242 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1243 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1244 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1245 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1246 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1247 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1249 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1252 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1254 * math/libm-test.inc (round_test_data): Add more tests.
1256 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1259 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1261 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1263 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1266 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1268 * math/libm-test.inc (ceil_test_data): Add more tests.
1270 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272 * math/libm-test.inc (trunc_test_data): Add more tests related to
1275 2014-03-14 Roland McGrath <roland@hack.frob.com>
1277 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1278 with #if rather than #ifdef.
1279 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1281 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1283 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1284 first. Disable AVX-512 GCC support if assembler doesn't support
1286 * sysdeps/x86_64/configure: Regenerated.
1288 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1290 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1291 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1292 (__old_pthread_attr_setstack): Likewise.
1293 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1294 [!_STACK_GROWS_DOWN]: Likewise.
1296 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1298 * config.make.in (have-bash2): Delete.
1299 * configure.ac (libc_cv_have_bash2): Delete.
1300 * configure: Regenerate.
1301 * elf/Makefile (common-ldd-rewrite): Rename to ...
1302 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1303 (sh-ldd-rewrite): Delete.
1304 (bash-ldd-rewrite): Delete.
1305 (have-bash2): Delete checks.
1306 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1308 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1310 * config.make.in (have-ksh): Delete.
1312 * configure.ac (libc_cv_have_ksh): Delete.
1313 * configure: Regenerate.
1315 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1317 * elf/Makefile: Delete $(have-ksh) check.
1318 ($(objpfx)sotruss): Change KSH to BASH.
1319 * elf/sotruss.ksh: Rename to ...
1320 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1321 function style to match POSIX. Drop ksh vim mode setting.
1323 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1325 * manual/time.texi (Specifying the Time Zone with TZ): Change
1326 Tuesday to Thursday.
1328 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1330 * debug/tst-longjmp_chk2.c: Update header comment.
1331 (stackoverflow_handler): Add comment. Call assert on pass value.
1333 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1335 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1336 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1337 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1338 (La_x86_64_vector): Add zmm.
1339 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1340 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1341 ($(objpfx)tst-audit10): New target.
1342 ($(objpfx)tst-audit10.out): Likewise.
1343 (tst-audit10-ENV): New.
1344 (AVX512-CFLAGS): Likewise.
1345 (CFLAGS-tst-audit10.c): Likewise.
1346 (CFLAGS-tst-auditmod10a.c): Likewise.
1347 (CFLAGS-tst-auditmod10b.c): Likewise.
1348 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1349 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1350 * sysdeps/x86_64/configure: Regenerated.
1351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1352 AVX-512 zmm register support.
1353 (_dl_x86_64_save_sse): Likewise.
1354 (_dl_x86_64_restore_sse): Likewise.
1355 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1356 size vector registers.
1357 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1358 (ZMM_SIZE): Likewise.
1359 * sysdeps/x86_64/tst-audit10.c: New file.
1360 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1361 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1363 2014-03-13 Roland McGrath <roland@hack.frob.com>
1365 * configure.ac (HAVE_EHDR_START): New check.
1366 * configure: Regenerated.
1367 * config.h.in (HAVE_EHDR_START): New #undef.
1368 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1369 assuming the lowest-addressed segment maps the start of the file.
1371 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1373 * INSTALL: Regenerated.
1375 2014-03-13 Will Newton <will.newton@linaro.org>
1377 * manual/setjmp.texi (System V contexts): Improve
1378 clarity and grammar of documentation.
1380 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1383 * elf/Makefile (tests): Add tst-pie2.
1384 (tests-pie): Add tst-pie2.
1385 * elf/tst-pie2.c: New file.
1386 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1388 * elf/rtld.c (map_doit): Load executable as lt_executable.
1389 (dl_main): Likewise.
1391 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1394 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1395 (__ASSUME_PSELECT): Undefine.
1397 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1400 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1401 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1403 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1404 selector for static builds.
1406 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1412 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1414 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1415 selector for static builds.
1417 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1419 * sysdeps/mips/math_private.h [__mips_hard_float]
1420 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1421 libc_feresetround_mips_ctx.
1422 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1423 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1424 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1427 * math/s_nextafter.c (__nextafter): Do not return value from
1428 overflowing computation.
1429 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1430 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1431 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1433 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1435 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1436 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1438 2014-03-11 Roland McGrath <roland@hack.frob.com>
1440 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1441 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1442 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1443 the new mov targetting sp.
1445 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1448 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1449 Define it for static builds as well.
1450 (NO_BZERO_IMPL): Likewise.
1452 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1454 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1455 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1456 multiarch strspn for PPC64.
1457 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1458 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1460 (__libc_ifunc_impl_list): Likewise.
1461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1462 multiarch optimizations
1463 * string/strspn.c (strspn): Using macro to redefine symbol name.
1465 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1466 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1468 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1469 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1470 multiarch strncat for PPC64.
1471 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1472 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1474 (__libc_ifunc_impl_list): Likewise.
1475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1476 multiarch optimizations
1478 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1481 * nscd/nscd.service: Make service type forking.
1483 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1485 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1486 sign in non default rounding modes.
1487 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1489 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1491 * math/libm-test.inc (ALL_RM_TEST): New macro.
1492 (ceil_test): Use ALL_RM_TEST.
1493 (cimag_test): Likewise.
1494 (conj_test): Likewise.
1495 (copysign_test): Likewise.
1496 (cproj_test): Likewise.
1497 (creal_test): Likewise.
1498 (fabs_test): Likewise.
1499 (floor_test): Likewise.
1500 (fmax_test): Likewise.
1501 (fmin_test): Likewise.
1502 (fmod_test): Likewise.
1503 (fpclassify_test): Likewise.
1504 (frexp_test): Likewise.
1505 (ilogb_test): Likewise.
1506 (isfinite_test): Likewise.
1507 (finite_test): Likewise.
1508 (isgreater_test): Likewise.
1509 (isgreaterequal_test): Likewise.
1510 (isinf_test): Likewise.
1511 (isless_test): Likewise.
1512 (islessequal_test): Likewise.
1513 (islessgreater_test): Likewise.
1514 (isnan_test): Likewise.
1515 (isnormal_test): Likewise.
1516 (issignaling_test): Likewise.
1517 (isunordered_test): Likewise.
1518 (logb_test): Likewise.
1519 (logb_downward_test_data): Remove.
1520 (logb_test_downward): Likewise.
1521 (lround_test): Use ALL_RM_TEST.
1522 (llround_test): Likewise.
1523 (modf_test): Likewise.
1524 (nexttoward_test): Likewise.
1525 (remainder_test): Likewise.
1526 (drem_test): Likewise.
1527 (remainder_tonearest_test_data): Likewise.
1528 (remainder_test_tonearest): Likewise.
1529 (drem_test_tonearest): Likewise.
1530 (remainder_towardzero_test_data): Likewise.
1531 (remainder_test_towardzero): Likewise.
1532 (drem_test_towardzero): Likewise.
1533 (remainder_downward_test_data): Likewise.
1534 (remainder_test_downward): Likewise.
1535 (drem_test_downward): Likewise.
1536 (remainder_upward_test_data): Likewise.
1537 (remainder_test_upward): Likewise.
1538 (drem_test_upward): Likewise.
1539 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1540 (round_test): Use ALL_RM_TEST.
1541 (signbit_test): Likewise.
1542 (trunc_test): Likewise.
1543 (significand_test): Likewise.
1544 (main): Don't call removed functions.
1546 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1549 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1551 (ILL_ILLOPN): Likewise.
1552 (ILL_ILLADR): Likewise.
1553 (ILL_ILLTRP): Likewise.
1554 (ILL_PRVOPC): Likewise.
1555 (ILL_PRVREG): Likewise.
1556 (ILL_COPROC): Likewise.
1557 (ILL_BADSTK): Likewise.
1558 (FPE_INTDIV): Likewise.
1559 (FPE_INTOVF): Likewise.
1560 (FPE_FLTDIV): Likewise.
1561 (FPE_FLTOVF): Likewise.
1562 (FPE_FLTUND): Likewise.
1563 (FPE_FLTRES): Likewise.
1564 (FPE_FLTINV): Likewise.
1565 (FPE_FLTSUB): Likewise.
1566 (SEGV_MAPERR): Likewise.
1567 (SEGV_ACCERR): Likewise.
1568 (BUS_ADRALN): Likewise.
1569 (BUS_ADRERR): Likewise.
1570 (BUS_OBJERR): Likewise.
1571 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1572 (TRAP_TRACE): Likewise.
1573 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1575 (CLD_KILLED): Likewise.
1576 (CLD_DUMPED): Likewise.
1577 (CLD_TRAPPED): Likewise.
1578 (CLD_STOPPED): Likewise.
1579 (CLD_CONTINUED): Likewise.
1580 (POLL_IN): Likewise.
1581 (POLL_OUT): Likewise.
1582 (POLL_MSG): Likewise.
1583 (POLL_ERR): Likewise.
1584 (POLL_PRI): Likewise.
1585 (POLL_HUP): Likewise.
1586 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1588 (ILL_ILLOPN): Likewise.
1589 (ILL_ILLADR): Likewise.
1590 (ILL_ILLTRP): Likewise.
1591 (ILL_PRVOPC): Likewise.
1592 (ILL_PRVREG): Likewise.
1593 (ILL_COPROC): Likewise.
1594 (ILL_BADSTK): Likewise.
1595 (FPE_INTDIV): Likewise.
1596 (FPE_INTOVF): Likewise.
1597 (FPE_FLTDIV): Likewise.
1598 (FPE_FLTOVF): Likewise.
1599 (FPE_FLTUND): Likewise.
1600 (FPE_FLTRES): Likewise.
1601 (FPE_FLTINV): Likewise.
1602 (FPE_FLTSUB): Likewise.
1603 (SEGV_MAPERR): Likewise.
1604 (SEGV_ACCERR): Likewise.
1605 (BUS_ADRALN): Likewise.
1606 (BUS_ADRERR): Likewise.
1607 (BUS_OBJERR): Likewise.
1608 (BUS_MCEERR_AR): Likewise.
1609 (BUS_MCEERR_AO): Likewise.
1610 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1611 (TRAP_TRACE): Likewise.
1612 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1614 (CLD_KILLED): Likewise.
1615 (CLD_DUMPED): Likewise.
1616 (CLD_TRAPPED): Likewise.
1617 (CLD_STOPPED): Likewise.
1618 (CLD_CONTINUED): Likewise.
1619 (POLL_IN): Likewise.
1620 (POLL_OUT): Likewise.
1621 (POLL_MSG): Likewise.
1622 (POLL_ERR): Likewise.
1623 (POLL_PRI): Likewise.
1624 (POLL_HUP): Likewise.
1625 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1626 (ILL_ILLOPN): Likewise.
1627 (ILL_ILLADR): Likewise.
1628 (ILL_ILLTRP): Likewise.
1629 (ILL_PRVOPC): Likewise.
1630 (ILL_PRVREG): Likewise.
1631 (ILL_COPROC): Likewise.
1632 (ILL_BADSTK): Likewise.
1633 (FPE_INTDIV): Likewise.
1634 (FPE_INTOVF): Likewise.
1635 (FPE_FLTDIV): Likewise.
1636 (FPE_FLTOVF): Likewise.
1637 (FPE_FLTUND): Likewise.
1638 (FPE_FLTRES): Likewise.
1639 (FPE_FLTINV): Likewise.
1640 (FPE_FLTSUB): Likewise.
1641 (SEGV_MAPERR): Likewise.
1642 (SEGV_ACCERR): Likewise.
1643 (BUS_ADRALN): Likewise.
1644 (BUS_ADRERR): Likewise.
1645 (BUS_OBJERR): Likewise.
1646 (BUS_MCEERR_AR): Likewise.
1647 (BUS_MCEERR_AO): Likewise.
1648 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1649 (TRAP_TRACE): Likewise.
1650 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1652 (CLD_KILLED): Likewise.
1653 (CLD_DUMPED): Likewise.
1654 (CLD_TRAPPED): Likewise.
1655 (CLD_STOPPED): Likewise.
1656 (CLD_CONTINUED): Likewise.
1657 (POLL_IN): Likewise.
1658 (POLL_OUT): Likewise.
1659 (POLL_MSG): Likewise.
1660 (POLL_ERR): Likewise.
1661 (POLL_PRI): Likewise.
1662 (POLL_HUP): Likewise.
1663 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1665 (ILL_ILLOPN): Likewise.
1666 (ILL_ILLADR): Likewise.
1667 (ILL_ILLTRP): Likewise.
1668 (ILL_PRVOPC): Likewise.
1669 (ILL_PRVREG): Likewise.
1670 (ILL_COPROC): Likewise.
1671 (ILL_BADSTK): Likewise.
1672 (ILL_BADIADDR): Likewise.
1673 (ILL_BREAK): Likewise.
1674 (FPE_INTDIV): Likewise.
1675 (FPE_INTOVF): Likewise.
1676 (FPE_FLTDIV): Likewise.
1677 (FPE_FLTOVF): Likewise.
1678 (FPE_FLTUND): Likewise.
1679 (FPE_FLTRES): Likewise.
1680 (FPE_FLTINV): Likewise.
1681 (FPE_FLTSUB): Likewise.
1682 (FPE_DECOVF): Likewise.
1683 (FPE_DECDIV): Likewise.
1684 (FPE_DECERR): Likewise.
1685 (FPE_INVASC): Likewise.
1686 (FPE_INVDEC): Likewise.
1687 (SEGV_MAPERR): Likewise.
1688 (SEGV_ACCERR): Likewise.
1689 (SEGV_PSTKOVF): Likewise.
1690 (BUS_ADRALN): Likewise.
1691 (BUS_ADRERR): Likewise.
1692 (BUS_OBJERR): Likewise.
1693 (BUS_MCEERR_AR): Likewise.
1694 (BUS_MCEERR_AO): Likewise.
1695 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1696 (TRAP_TRACE): Likewise.
1697 (TRAP_BRANCH): Likewise.
1698 (TRAP_HWBKPT): Likewise.
1699 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1701 (CLD_KILLED): Likewise.
1702 (CLD_DUMPED): Likewise.
1703 (CLD_TRAPPED): Likewise.
1704 (CLD_STOPPED): Likewise.
1705 (CLD_CONTINUED): Likewise.
1706 (POLL_IN): Likewise.
1707 (POLL_OUT): Likewise.
1708 (POLL_MSG): Likewise.
1709 (POLL_ERR): Likewise.
1710 (POLL_PRI): Likewise.
1711 (POLL_HUP): Likewise.
1712 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1713 (ILL_ILLOPN): Likewise.
1714 (ILL_ILLADR): Likewise.
1715 (ILL_ILLTRP): Likewise.
1716 (ILL_PRVOPC): Likewise.
1717 (ILL_PRVREG): Likewise.
1718 (ILL_COPROC): Likewise.
1719 (ILL_BADSTK): Likewise.
1720 (FPE_INTDIV): Likewise.
1721 (FPE_INTOVF): Likewise.
1722 (FPE_FLTDIV): Likewise.
1723 (FPE_FLTOVF): Likewise.
1724 (FPE_FLTUND): Likewise.
1725 (FPE_FLTRES): Likewise.
1726 (FPE_FLTINV): Likewise.
1727 (FPE_FLTSUB): Likewise.
1728 (SEGV_MAPERR): Likewise.
1729 (SEGV_ACCERR): Likewise.
1730 (BUS_ADRALN): Likewise.
1731 (BUS_ADRERR): Likewise.
1732 (BUS_OBJERR): Likewise.
1733 (BUS_MCEERR_AR): Likewise.
1734 (BUS_MCEERR_AO): Likewise.
1735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1736 (TRAP_TRACE): Likewise.
1737 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1739 (CLD_KILLED): Likewise.
1740 (CLD_DUMPED): Likewise.
1741 (CLD_TRAPPED): Likewise.
1742 (CLD_STOPPED): Likewise.
1743 (CLD_CONTINUED): Likewise.
1744 (POLL_IN): Likewise.
1745 (POLL_OUT): Likewise.
1746 (POLL_MSG): Likewise.
1747 (POLL_ERR): Likewise.
1748 (POLL_PRI): Likewise.
1749 (POLL_HUP): Likewise.
1750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1751 (ILL_ILLOPN): Likewise.
1752 (ILL_ILLADR): Likewise.
1753 (ILL_ILLTRP): Likewise.
1754 (ILL_PRVOPC): Likewise.
1755 (ILL_PRVREG): Likewise.
1756 (ILL_COPROC): Likewise.
1757 (ILL_BADSTK): Likewise.
1758 (FPE_INTDIV): Likewise.
1759 (FPE_INTOVF): Likewise.
1760 (FPE_FLTDIV): Likewise.
1761 (FPE_FLTOVF): Likewise.
1762 (FPE_FLTUND): Likewise.
1763 (FPE_FLTRES): Likewise.
1764 (FPE_FLTINV): Likewise.
1765 (FPE_FLTSUB): Likewise.
1766 (SEGV_MAPERR): Likewise.
1767 (SEGV_ACCERR): Likewise.
1768 (BUS_ADRALN): Likewise.
1769 (BUS_ADRERR): Likewise.
1770 (BUS_OBJERR): Likewise.
1771 (BUS_MCEERR_AR): Likewise.
1772 (BUS_MCEERR_AO): Likewise.
1773 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1774 (TRAP_TRACE): Likewise.
1775 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1777 (CLD_KILLED): Likewise.
1778 (CLD_DUMPED): Likewise.
1779 (CLD_TRAPPED): Likewise.
1780 (CLD_STOPPED): Likewise.
1781 (CLD_CONTINUED): Likewise.
1782 (POLL_IN): Likewise.
1783 (POLL_OUT): Likewise.
1784 (POLL_MSG): Likewise.
1785 (POLL_ERR): Likewise.
1786 (POLL_PRI): Likewise.
1787 (POLL_HUP): Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1789 (ILL_ILLOPN): Likewise.
1790 (ILL_ILLADR): Likewise.
1791 (ILL_ILLTRP): Likewise.
1792 (ILL_PRVOPC): Likewise.
1793 (ILL_PRVREG): Likewise.
1794 (ILL_COPROC): Likewise.
1795 (ILL_BADSTK): Likewise.
1796 (FPE_INTDIV): Likewise.
1797 (FPE_INTOVF): Likewise.
1798 (FPE_FLTDIV): Likewise.
1799 (FPE_FLTOVF): Likewise.
1800 (FPE_FLTUND): Likewise.
1801 (FPE_FLTRES): Likewise.
1802 (FPE_FLTINV): Likewise.
1803 (FPE_FLTSUB): Likewise.
1804 (SEGV_MAPERR): Likewise.
1805 (SEGV_ACCERR): Likewise.
1806 (BUS_ADRALN): Likewise.
1807 (BUS_ADRERR): Likewise.
1808 (BUS_OBJERR): Likewise.
1809 (BUS_MCEERR_AR): Likewise.
1810 (BUS_MCEERR_AO): Likewise.
1811 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1812 (TRAP_TRACE): Likewise.
1813 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1815 (CLD_KILLED): Likewise.
1816 (CLD_DUMPED): Likewise.
1817 (CLD_TRAPPED): Likewise.
1818 (CLD_STOPPED): Likewise.
1819 (CLD_CONTINUED): Likewise.
1820 (POLL_IN): Likewise.
1821 (POLL_OUT): Likewise.
1822 (POLL_MSG): Likewise.
1823 (POLL_ERR): Likewise.
1824 (POLL_PRI): Likewise.
1825 (POLL_HUP): Likewise.
1826 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1827 (ILL_ILLOPN): Likewise.
1828 (ILL_ILLADR): Likewise.
1829 (ILL_ILLTRP): Likewise.
1830 (ILL_PRVOPC): Likewise.
1831 (ILL_PRVREG): Likewise.
1832 (ILL_COPROC): Likewise.
1833 (ILL_BADSTK): Likewise.
1834 (ILL_DBLFLT): Likewise.
1835 (ILL_HARDWALL): Likewise.
1836 (FPE_INTDIV): Likewise.
1837 (FPE_INTOVF): Likewise.
1838 (FPE_FLTDIV): Likewise.
1839 (FPE_FLTOVF): Likewise.
1840 (FPE_FLTUND): Likewise.
1841 (FPE_FLTRES): Likewise.
1842 (FPE_FLTINV): Likewise.
1843 (FPE_FLTSUB): Likewise.
1844 (SEGV_MAPERR): Likewise.
1845 (SEGV_ACCERR): Likewise.
1846 (BUS_ADRALN): Likewise.
1847 (BUS_ADRERR): Likewise.
1848 (BUS_OBJERR): Likewise.
1849 (BUS_MCEERR_AR): Likewise.
1850 (BUS_MCEERR_AO): Likewise.
1851 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1852 (TRAP_TRACE): Likewise.
1853 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1855 (CLD_KILLED): Likewise.
1856 (CLD_DUMPED): Likewise.
1857 (CLD_TRAPPED): Likewise.
1858 (CLD_STOPPED): Likewise.
1859 (CLD_CONTINUED): Likewise.
1860 (POLL_IN): Likewise.
1861 (POLL_OUT): Likewise.
1862 (POLL_MSG): Likewise.
1863 (POLL_ERR): Likewise.
1864 (POLL_PRI): Likewise.
1865 (POLL_HUP): Likewise.
1866 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1867 (ILL_ILLOPN): Likewise.
1868 (ILL_ILLADR): Likewise.
1869 (ILL_ILLTRP): Likewise.
1870 (ILL_PRVOPC): Likewise.
1871 (ILL_PRVREG): Likewise.
1872 (ILL_COPROC): Likewise.
1873 (ILL_BADSTK): Likewise.
1874 (FPE_INTDIV): Likewise.
1875 (FPE_INTOVF): Likewise.
1876 (FPE_FLTDIV): Likewise.
1877 (FPE_FLTOVF): Likewise.
1878 (FPE_FLTUND): Likewise.
1879 (FPE_FLTRES): Likewise.
1880 (FPE_FLTINV): Likewise.
1881 (FPE_FLTSUB): Likewise.
1882 (SEGV_MAPERR): Likewise.
1883 (SEGV_ACCERR): Likewise.
1884 (BUS_ADRALN): Likewise.
1885 (BUS_ADRERR): Likewise.
1886 (BUS_OBJERR): Likewise.
1887 (BUS_MCEERR_AR): Likewise.
1888 (BUS_MCEERR_AO): Likewise.
1889 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1890 (TRAP_TRACE): Likewise.
1891 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1893 (CLD_KILLED): Likewise.
1894 (CLD_DUMPED): Likewise.
1895 (CLD_TRAPPED): Likewise.
1896 (CLD_STOPPED): Likewise.
1897 (CLD_CONTINUED): Likewise.
1898 (POLL_IN): Likewise.
1899 (POLL_OUT): Likewise.
1900 (POLL_MSG): Likewise.
1901 (POLL_ERR): Likewise.
1902 (POLL_PRI): Likewise.
1903 (POLL_HUP): Likewise.
1904 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1905 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1908 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1909 before #include of <time.h>.
1910 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1911 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1912 (test-xfail-UNIX98/sched.h/conform): Likewise.
1914 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1916 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1917 error absence of trapping exception support.
1918 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1920 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1922 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1923 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1924 * timezone/Makefile (testdata): Move definition above include of
1926 (test-zones): New variable.
1927 (tests-special): Add zone files.
1928 (build-testdata): Use $(evaluate-test).
1930 * elf/Makefile (tests-special): Rename tests to end with .out.
1931 ($(objpfx)noload-mem): Likewise.
1932 ($(objpfx)tst-leaks1-mem): Likewise.
1933 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1934 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1935 $(objpfx)test-iconvconfig.out.
1936 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1937 set -e inside subshell and redirect output to file.
1938 * iconvdata/Makefile (generated): Rename tests to end with .out.
1940 (tests-special): Rename tests to end with .out.
1941 ($(objpfx)mtrace-tst-loading): Likewise.
1942 * intl/Makefile (generated): Likewise.
1943 (tests-special): Likewise.
1944 ($(objpfx)mtrace-tst-gettext): Likewise.
1945 * misc/Makefile (generated): Likewise.
1946 (tests-special): Likewise.
1947 ($(objpfx)tst-error1-mem): Likewise.
1948 * nptl/Makefile (tests-special): Likewise.
1949 ($(objpfx)tst-stack3-mem): Likewise.
1950 (generated): Likewise.
1951 * posix/Makefile (generated): Likewise.
1952 (tests-special): Likewise.
1953 (xtests-special): Likewise.
1954 ($(objpfx)tst-fnmatch-mem): Likewise.
1955 ($(objpfx)bug-regex2-mem): Likewise.
1956 ($(objpfx)bug-regex14-mem): Likewise.
1957 ($(objpfx)bug-regex21-mem): Likewise.
1958 ($(objpfx)bug-regex31-mem): Likewise.
1959 ($(objpfx)tst-vfork3-mem): Likewise.
1960 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1961 ($(objpfx)tst-pcre-mem): Likewise.
1962 ($(objpfx)tst-boost-mem): Likewise.
1963 ($(objpfx)bug-ga2-mem): Likewise.
1964 ($(objpfx)bug-glob2-mem): Likewise.
1965 * resolv/Makefile (generate): Likewise.
1966 (tests-special): Likewise.
1967 (xtests-special): Likewise.
1968 (generated): Likewise.
1969 ($(objpfx)mtrace-tst-leaks): Likewise.
1970 ($(objpfx)mtrace-tst-leaks2): Likewise.
1972 * scripts/merge-test-results.sh: New file.
1973 * Makefile (tests-special-notdir): New variable.
1974 (tests): Run merge-test-results.sh.
1976 * Rules (tests-special-notdir): New variable.
1977 (xtests-special-notdir): Likewise.
1978 (tests): Run merge-test-results.sh
1981 * Makeconfig (test-xfail-name): New variable.
1982 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1983 compute variable name for expected failures.
1984 * conform/Makefile (conformtest-headers-data): New variable.
1985 (conformtest-standards): Likewise.
1986 (conformtest-headers-ISO): Likewise.
1987 (conformtest-headers-ISO99): Likewise.
1988 (conformtest-headers-ISO11): Likewise.
1989 (conformtest-headers-POSIX): Likewise.
1990 (conformtest-headers-XPG3): Likewise.
1991 (conformtest-headers-XPG4): Likewise.
1992 (conformtest-headers-UNIX98): Likewise.
1993 (conformtest-headers-XOPEN2K): Likewise.
1994 (conformtest-headers-POSIX2008): Likewise.
1995 (conformtest-headers-XOPEN2K8): Likewise.
1996 (conformtest-header-list-base): Likewise.
1997 (conformtest-header-list-tests): Likewise.
1998 (conformtest-header-base): Likewise.
1999 (conformtest-header-tests): Likewise.
2000 (tests-special): Add $(conformtest-header-list-tests). If
2001 [$(fast-check) && !$(cross-compiling)], add
2002 $(conformtest-header-tests) instead of
2003 $(objpfx)run-conformtest.out.
2004 (generated): Add $(conformtest-header-list-base). If
2005 [$(fast-check) && !$(cross-compiling)], add
2006 $(conformtest-header-base). Remove previous setting.
2007 ($(conformtest-header-list-tests)): New target.
2008 (test-xfail-run-conformtest): Remove variable.
2009 ($(objpfx)run-conformtest.out): Remove target.
2010 (test-xfail-ISO11/complex.h/conform): New variable.
2011 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2012 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2013 (test-xfail-XPG3/varargs.h/conform): Likewise.
2014 (test-xfail-XPG4/varargs.h/conform): Likewise.
2015 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2016 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2017 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2018 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2019 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2020 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2021 (test-xfail-XPG3/ftw.h/conform): Likewise.
2022 (test-xfail-XPG3/grp.h/conform): Likewise.
2023 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2024 (test-xfail-XPG3/limits.h/conform): Likewise.
2025 (test-xfail-XPG3/pwd.h/conform): Likewise.
2026 (test-xfail-XPG3/search.h/conform): Likewise.
2027 (test-xfail-XPG3/signal.h/conform): Likewise.
2028 (test-xfail-XPG3/stdio.h/conform): Likewise.
2029 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2030 (test-xfail-XPG3/string.h/conform): Likewise.
2031 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2032 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2033 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2034 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2035 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2036 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2037 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2038 (test-xfail-XPG3/termios.h/conform): Likewise.
2039 (test-xfail-XPG3/time.h/conform): Likewise.
2040 (test-xfail-XPG3/unistd.h/conform): Likewise.
2041 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2042 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2043 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2044 (test-xfail-XPG4/netdb.h/conform): Likewise.
2045 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2046 (test-xfail-XPG4/signal.h/conform): Likewise.
2047 (test-xfail-XPG4/stdio.h/conform): Likewise.
2048 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2049 (test-xfail-XPG4/stropts.h/conform): Likewise.
2050 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2051 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2052 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2053 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2054 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2055 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2056 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2057 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2058 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2059 (test-xfail-XPG4/termios.h/conform): Likewise.
2060 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2061 (test-xfail-XPG4/unistd.h/conform): Likewise.
2062 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2063 (test-xfail-POSIX/sched.h/conform): Likewise.
2064 (test-xfail-POSIX/signal.h/conform): Likewise.
2065 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2066 (test-xfail-POSIX/tar.h/conform): Likewise.
2067 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2068 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2069 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2070 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2071 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2072 (test-xfail-UNIX98/sched.h/conform): Likewise.
2073 (test-xfail-UNIX98/signal.h/conform): Likewise.
2074 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2075 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2076 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2077 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2078 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2079 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2080 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2081 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2082 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2083 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2084 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2085 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2086 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2087 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2088 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2089 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2090 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2091 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2092 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2093 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2094 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2095 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2096 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2097 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2098 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2099 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2100 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2101 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2102 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2103 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2104 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2105 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2106 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2107 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2108 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2109 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2110 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2111 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2112 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2113 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2114 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2115 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2116 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2117 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2118 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2119 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2120 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2121 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2122 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2123 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2124 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2125 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2126 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2127 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2128 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2129 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2130 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2131 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2132 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2133 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2134 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2135 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2136 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2137 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2138 (conformtest-cc-flags): Likewise.
2139 ($(conformtest-header-tests): New target.
2140 * conform/check-header-lists.sh: New file.
2141 * conform/run-conformtest.sh: Remove.
2143 * conform/conformtest.pl: Allow ' and \ in values given for
2145 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2147 [POSIX] (sys/types.h): Likewise.
2148 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2150 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2152 * conform/data/signal.h-data (SIGIO): Remove expectation.
2153 [XPG3] (SIGBUS): Do not expect.
2154 [POSIX || XPG3] (SIGPOLL): Likewise.
2155 [POSIX || XPG3] (SIGPROF): Likewise.
2156 [POSIX || XPG3] (SIGSYS): Likewise.
2157 [XPG3] (SIGTRAP): Likewise.
2158 [POSIX || XPG3] (SIGURG): Likewise.
2159 [POSIX || XPG3] (SIGVTALRM): Likewise.
2160 [POSIX || XPG3] (SIGXCPU): Likewise.
2161 [POSIX || XPG3] (SIGXFSZ): Likewise.
2162 [POSIX] (SA_SIGINFO): Expect.
2163 [XPG3] (siginfo_t): Do not expect type or contents.
2164 [POSIX] (si_pid): Do not expect element.
2165 [POSIX] (si_uid): Likewise.
2166 [POSIX] (si_addr): Likewise.
2167 [POSIX] (si_status): Likewise.
2168 [POSIX] (si_band): Likewise.
2169 [XPG4] (si_value): Likewise.
2170 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2171 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2172 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2173 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2174 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2175 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2176 [POSIX || XPG3] (ILL_COPROC): Likewise.
2177 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2178 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2179 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2180 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2181 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2182 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2183 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2184 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2185 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2186 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2187 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2188 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2189 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2190 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2191 [POSIX || XPG3] (CLD_EXITED): Likewise.
2192 [POSIX || XPG3] (CLD_KILLED): Likewise.
2193 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2194 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2195 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2196 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2197 [POSIX || XPG3] (POLL_IN): Likewise.
2198 [POSIX || XPG3] (POLL_OUT): Likewise.
2199 [POSIX || XPG3] (POLL_MSG): Likewise.
2200 [POSIX || XPG3] (POLL_ERR): Likewise.
2201 [POSIX || XPG3] (POLL_PRI): Likewise.
2202 [POSIX || XPG3] (POLL_HUP): Likewise.
2203 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2204 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2205 (SIG*): Do not allow.
2206 [XPG3] (si_*): Likewise.
2207 [XPG3] (SI_*): Likewise.
2208 [XPG3 || XPG4] (sigev_*): Likewise.
2209 [XPG3 || XPG4] (SIGEV_*): Likewise.
2210 [XPG3 || XPG4] (sival_*): Likewise.
2211 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2212 [POSIX || XPG3] (BUS_*): Likewise.
2213 [POSIX || XPG3] (CLD_*): Likewise.
2214 [POSIX || XPG3] (FPE_*): Likewise.
2215 [POSIX || XPG3] (ILL_*): Likewise.
2216 [POSIX || XPG3] (POLL_*): Likewise.
2217 [POSIX || XPG3] (SEGV_*): Likewise.
2218 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2219 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2220 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2221 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2222 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2223 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2224 Specify type and value.
2225 (TVERSLEN): Likewise.
2226 (REGTYPE): Likewise.
2227 (AREGTYPE): Likewise.
2228 (LNKTYPE): Likewise.
2229 (SYMTYPE): Likewise.
2230 (CHRTYPE): Likewise.
2231 (BLKTYPE): Likewise.
2232 (DIRTYPE): Likewise.
2233 (FIFOTYPE): Likewise.
2234 (CONTTYPE): Likewise.
2239 (TUWRITE): Likewise.
2242 (TGWRITE): Likewise.
2245 (TOWRITE): Likewise.
2247 [POSIX] (TSVTX): Expect constant.
2249 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2251 * Makefile (tests): Change dependencies to ....
2252 (tests-special): ... additions to this variable.
2253 (tests): Depend on $(tests-special).
2254 * Makerules (check-abi-list): New variable.
2255 (check-abi): Depend on $(check-abi-list).
2256 [$(subdir) = elf] (tests-special): Add
2257 $(objpfx)check-abi-libc.out.
2258 [$(build-shared) = yes && subdir] (tests-special): Add
2260 [$(build-shared) = yes && subdir] (tests): Do not depend on
2262 * Rules (tests): Depend on $(tests-special).
2263 (xtests): Depend on $(xtests-special).
2264 * catgets/Makefile (tests): Change dependencies to ....
2265 (tests-special): ... additions to this variable.
2266 * conform/Makefile (tests): Change dependencies to ....
2267 (tests-special): ... additions to this variable.
2268 * elf/Makefile (tests): Change dependencies to ....
2269 (tests-special): ... additions to this variable.
2270 * grp/Makefile (tests): Change dependencies to ....
2271 (tests-special): ... additions to this variable.
2272 * iconv/Makefile (xtests): Change dependencies to ....
2273 (xtests-special): ... additions to this variable.
2274 * iconvdata/Makefile (tests): Change dependencies to ....
2275 (tests-special): ... additions to this variable.
2276 * intl/Makefile (tests): Change dependencies to ....
2277 (tests-special): ... additions to this variable. Also add
2278 $(objpfx)tst-gettext.out.
2279 * io/Makefile (tests): Change dependencies to ....
2280 (tests-special): ... additions to this variable.
2281 * libio/Makefile (tests): Change dependencies to ....
2282 (tests-special): ... additions to this variable.
2283 * malloc/Makefile (tests): Change dependencies to ....
2284 (tests-special): ... additions to this variable.
2285 * misc/Makefile (tests): Change dependencies to ....
2286 (tests-special): ... additions to this variable.
2287 * nptl/Makefile (tests): Change dependencies to ....
2288 (tests-special): ... additions to this variable.
2289 * nptl_db/Makefile (tests): Change dependencies to ....
2290 (tests-special): ... additions to this variable.
2291 * posix/Makefile (tests): Change dependencies to ....
2292 (tests-special): ... additions to this variable.
2293 (xtests): Change dependencies to ....
2294 (xtests-special): ... additions to this variable.
2295 * resolv/Makefile (tests): Change dependencies to ....
2296 (tests-special): ... additions to this variable.
2297 (xtests): Change dependencies to ....
2298 (xtests-special): ... additions to this variable.
2299 * stdio-common/Makefile (tests): Change dependencies to ....
2300 (tests-special): ... additions to this variable.
2301 (do-tst-unbputc): Remove target.
2302 (do-tst-printf): Likewise.
2303 * stdlib/Makefile (tests): Change dependencies to ....
2304 (tests-special): ... additions to this variable.
2305 * string/Makefile (tests): Change dependencies to ....
2306 (tests-special): ... additions to this variable.
2307 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2308 (tests-special): ... additions to this variable.
2310 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2312 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2314 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2315 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2317 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2318 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2319 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2320 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2321 * conform/data/libgen.h-data [XPG3]: Likewise.
2322 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2323 * conform/data/ndbm.h-data [XPG3]: Likewise.
2324 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2325 * conform/data/netdb.h-data [XPG3]: Likewise.
2326 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2327 * conform/data/poll.h-data [XPG3]: Likewise.
2328 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2329 * conform/data/strings.h-data [XPG3]: Likewise.
2330 * conform/data/stropts.h-data [XPG3]: Likewise.
2331 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2332 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2333 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2335 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2336 * conform/data/sys/time.h-data [XPG3]: Likewise.
2337 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2338 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2339 * conform/data/sys/un.h-data [XPG3]: Likewise.
2340 * conform/data/syslog.h-data [XPG3]: Likewise.
2341 * conform/data/ucontext.h-data [XPG3]: Likewise.
2342 * conform/data/utmpx.h-data [XPG3]: Likewise.
2343 * conform/data/varargs.h-data [UNIX98]: Enable file.
2345 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2347 * math/libm-test.inc (struct test_f_f_data): Move expected results
2348 into structure for each rounding mode.
2349 (struct test_ff_f_data): Likewise.
2350 (struct test_ff_f_data_nexttoward): Likewise.
2351 (struct test_fi_f_data): Likewise.
2352 (struct test_fl_f_data): Likewise.
2353 (struct test_if_f_data): Likewise.
2354 (struct test_fff_f_data): Likewise.
2355 (struct test_c_f_data): Likewise.
2356 (struct test_f_f1_data): Likewise.
2357 (struct test_fF_f1_data): Likewise.
2358 (struct test_ffI_f1_data): Likewise.
2359 (struct test_c_c_data): Likewise.
2360 (struct test_cc_c_data): Likewise.
2361 (struct test_f_i_data): Likewise.
2362 (struct test_ff_i_data): Likewise.
2363 (struct test_f_l_data): Likewise.
2364 (struct test_f_L_data): Likewise.
2365 (struct test_fFF_11_data): Likewise.
2367 (RM_FE_DOWNWARD): Likewise.
2368 (RM_FE_TONEAREST): Likewise.
2369 (RM_FE_TOWARDZERO): Likewise.
2370 (RM_FE_UPWARD): Likewise.
2371 (RUN_TEST_LOOP_f_f): Update references to expected results.
2372 (RUN_TEST_LOOP_2_f): Likewise.
2373 (RUN_TEST_LOOP_fff_f): Likewise.
2374 (RUN_TEST_LOOP_c_f): Likewise.
2375 (RUN_TEST_LOOP_f_f1): Likewise.
2376 (RUN_TEST_LOOP_fF_f1): Likewise.
2377 (RUN_TEST_LOOP_fI_f1): Likewise.
2378 (RUN_TEST_LOOP_ffI_f1): Likewise.
2379 (RUN_TEST_LOOP_c_c): Likewise.
2380 (RUN_TEST_LOOP_cc_c): Likewise.
2381 (RUN_TEST_LOOP_f_i): Likewise.
2382 (RUN_TEST_LOOP_f_i_tg): Likewise.
2383 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2384 (RUN_TEST_LOOP_f_b): Likewise.
2385 (RUN_TEST_LOOP_f_b_tg): Likewise.
2386 (RUN_TEST_LOOP_f_l): Likewise.
2387 (RUN_TEST_LOOP_f_L): Likewise.
2388 (RUN_TEST_LOOP_fFF_11): Likewise.
2389 * math/gen-libm-test.pl (parse_args): Output four copies of
2390 expected results for each test.
2392 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2393 (__ASSUME_UTIMES): Remove.
2394 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2395 (__ASSUME_UTIMES): Likewise.
2397 * math/gen-auto-libm-tests.c: Update comment on output format.
2398 (output_for_one_input_case): Generate before-rounding and
2399 after-rounding information as conditions on output flags not
2400 floating-point format.
2401 * math/auto-libm-test-out: Regenerated.
2402 * math/gen-libm-test.pl (cond_value): New function.
2403 (or_cond_value): Use cond_value.
2404 (generate_testfile): Handle conditional exceptions.
2406 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2408 * math/libm-test.inc (max_valid_error): New variable.
2409 (init_max_error): Take new argument specifying whether function
2410 results are exactly determined. Set max_valid_error and bound
2411 other variables for errors based on this argument.
2412 (set_max_error): Do not record results above max_valid_error.
2413 (check_float_internal): Only accept errors of up to 0.5ulps if
2414 also at most max_valid_error.
2415 (START): Take new argument EXACT and pass it to init_max_error.
2416 (acos_test): Update call to START.
2417 (acos_test_tonearest): Likewise.
2418 (acos_test_towardzero): Likewise.
2419 (acos_test_downward): Likewise.
2420 (acos_test_upward): Likewise.
2421 (acosh_test): Likewise.
2422 (asin_test): Likewise.
2423 (asin_test_tonearest): Likewise.
2424 (asin_test_towardzero): Likewise.
2425 (asin_test_downward): Likewise.
2426 (asin_test_upward): Likewise.
2427 (asinh_test): Likewise.
2428 (atan_test): Likewise.
2429 (atanh_test): Likewise.
2430 (atan2_test): Likewise.
2431 (cabs_test): Likewise.
2432 (cacos_test): Likewise.
2433 (cacosh_test): Likewise.
2434 (carg_test): Likewise.
2435 (casin_test): Likewise.
2436 (casinh_test): Likewise.
2437 (catan_test): Likewise.
2438 (catanh_test): Likewise.
2439 (cbrt_test): Likewise.
2440 (ccos_test): Likewise.
2441 (ccosh_test): Likewise.
2442 (ceil_test): Likewise.
2443 (cexp_test): Likewise.
2444 (cimag_test): Likewise.
2445 (clog_test): Likewise.
2446 (clog10_test): Likewise.
2447 (conj_test): Likewise.
2448 (copysign_test): Likewise.
2449 (cos_test): Likewise.
2450 (cos_test_tonearest): Likewise.
2451 (cos_test_towardzero): Likewise.
2452 (cos_test_downward): Likewise.
2453 (cos_test_upward): Likewise.
2454 (cosh_test): Likewise.
2455 (cosh_test_tonearest): Likewise.
2456 (cosh_test_towardzero): Likewise.
2457 (cosh_test_downward): Likewise.
2458 (cosh_test_upward): Likewise.
2459 (cpow_test): Likewise.
2460 (cproj_test): Likewise.
2461 (creal_test): Likewise.
2462 (csin_test): Likewise.
2463 (csinh_test): Likewise.
2464 (csqrt_test): Likewise.
2465 (ctan_test): Likewise.
2466 (ctan_test_tonearest): Likewise.
2467 (ctan_test_towardzero): Likewise.
2468 (ctan_test_downward): Likewise.
2469 (ctan_test_upward): Likewise.
2470 (ctanh_test): Likewise.
2471 (ctanh_test_tonearest): Likewise.
2472 (ctanh_test_towardzero): Likewise.
2473 (ctanh_test_downward): Likewise.
2474 (ctanh_test_upward): Likewise.
2475 (erf_test): Likewise.
2476 (erfc_test): Likewise.
2477 (exp_test): Likewise.
2478 (exp_test_tonearest): Likewise.
2479 (exp_test_towardzero): Likewise.
2480 (exp_test_downward): Likewise.
2481 (exp_test_upward): Likewise.
2482 (exp10_test): Likewise.
2483 (exp10_test_tonearest): Likewise.
2484 (exp10_test_towardzero): Likewise.
2485 (exp10_test_downward): Likewise.
2486 (exp10_test_upward): Likewise.
2487 (pow10_test): Likewise.
2488 (exp2_test): Likewise.
2489 (expm1_test): Likewise.
2490 (expm1_test_tonearest): Likewise.
2491 (expm1_test_towardzero): Likewise.
2492 (expm1_test_downward): Likewise.
2493 (expm1_test_upward): Likewise.
2494 (fabs_test): Likewise.
2495 (fdim_test): Likewise.
2496 (floor_test): Likewise.
2497 (fma_test): Likewise.
2498 (fma_test_towardzero): Likewise.
2499 (fma_test_downward): Likewise.
2500 (fma_test_upward): Likewise.
2501 (fmax_test): Likewise.
2502 (fmin_test): Likewise.
2503 (fmod_test): Likewise.
2504 (fpclassify_test): Likewise.
2505 (frexp_test): Likewise.
2506 (hypot_test): Likewise.
2507 (ilogb_test): Likewise.
2508 (isfinite_test): Likewise.
2509 (finite_test): Likewise.
2510 (isgreater_test): Likewise.
2511 (isgreaterequal_test): Likewise.
2512 (isinf_test): Likewise.
2513 (isless_test): Likewise.
2514 (islessequal_test): Likewise.
2515 (islessgreater_test): Likewise.
2516 (isnan_test): Likewise.
2517 (isnormal_test): Likewise.
2518 (issignaling_test): Likewise.
2519 (isunordered_test): Likewise.
2520 (j0_test): Likewise.
2521 (j1_test): Likewise.
2522 (jn_test): Likewise.
2523 (ldexp_test): Likewise.
2524 (lgamma_test): Likewise.
2525 (gamma_test): Likewise.
2526 (lrint_test): Likewise.
2527 (lrint_test_tonearest): Likewise.
2528 (lrint_test_towardzero): Likewise.
2529 (lrint_test_downward): Likewise.
2530 (lrint_test_upward): Likewise.
2531 (llrint_test): Likewise.
2532 (llrint_test_tonearest): Likewise.
2533 (llrint_test_towardzero): Likewise.
2534 (llrint_test_downward): Likewise.
2535 (llrint_test_upward): Likewise.
2536 (log_test): Likewise.
2537 (log10_test): Likewise.
2538 (log1p_test): Likewise.
2539 (log2_test): Likewise.
2540 (logb_test): Likewise.
2541 (logb_test_downward): Likewise.
2542 (lround_test): Likewise.
2543 (llround_test): Likewise.
2544 (modf_test): Likewise.
2545 (nearbyint_test): Likewise.
2546 (nextafter_test): Likewise.
2547 (nexttoward_test): Likewise.
2548 (pow_test): Likewise.
2549 (pow_test_tonearest): Likewise.
2550 (pow_test_towardzero): Likewise.
2551 (pow_test_downward): Likewise.
2552 (pow_test_upward): Likewise.
2553 (remainder_test): Likewise.
2554 (drem_test): Likewise.
2555 (remainder_test_tonearest): Likewise.
2556 (drem_test_tonearest): Likewise.
2557 (remainder_test_towardzero): Likewise.
2558 (drem_test_towardzero): Likewise.
2559 (remainder_test_downward): Likewise.
2560 (drem_test_downward): Likewise.
2561 (remainder_test_upward): Likewise.
2562 (drem_test_upward): Likewise.
2563 (remquo_test): Likewise.
2564 (rint_test): Likewise.
2565 (rint_test_tonearest): Likewise.
2566 (rint_test_towardzero): Likewise.
2567 (rint_test_downward): Likewise.
2568 (rint_test_upward): Likewise.
2569 (round_test): Likewise.
2570 (scalb_test): Likewise.
2571 (scalbn_test): Likewise.
2572 (scalbln_test): Likewise.
2573 (signbit_test): Likewise.
2574 (sin_test): Likewise.
2575 (sin_test_tonearest): Likewise.
2576 (sin_test_towardzero): Likewise.
2577 (sin_test_downward): Likewise.
2578 (sin_test_upward): Likewise.
2579 (sincos_test): Likewise.
2580 (sinh_test): Likewise.
2581 (sinh_test_tonearest): Likewise.
2582 (sinh_test_towardzero): Likewise.
2583 (sinh_test_downward): Likewise.
2584 (sinh_test_upward): Likewise.
2585 (sqrt_test): Likewise.
2586 (sqrt_test_tonearest): Likewise.
2587 (sqrt_test_towardzero): Likewise.
2588 (sqrt_test_downward): Likewise.
2589 (sqrt_test_upward): Likewise.
2590 (tan_test): Likewise.
2591 (tan_test_tonearest): Likewise.
2592 (tan_test_towardzero): Likewise.
2593 (tan_test_downward): Likewise.
2594 (tan_test_upward): Likewise.
2595 (tanh_test): Likewise.
2596 (tgamma_test): Likewise.
2597 (trunc_test): Likewise.
2598 (y0_test): Likewise.
2599 (y1_test): Likewise.
2600 (yn_test): Likewise.
2601 (significand_test): Likewise.
2603 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2604 individual tests in comment.
2605 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2606 (prev_max_error): New variable.
2607 (prev_real_max_error): Likewise.
2608 (prev_imag_max_error): Likewise.
2609 (compare_ulp_data): Don't refer to test names in comment.
2610 (find_test_ulps): Remove function.
2611 (find_function_ulps): Likewise.
2612 (find_complex_function_ulps): Likewise.
2613 (init_max_error): Take function name as argument. Look up ulps
2615 (print_ulps): Remove function.
2616 (print_max_error): Use prev_max_error instead of calling
2618 (print_complex_max_error): Use prev_real_max_error and
2619 prev_imag_max_error instead of calling find_complex_function_ulps.
2620 (check_float_internal): Take max_ulp parameter instead of calling
2621 find_test_ulps. Don't call print_ulps.
2622 (check_float): Update call to check_float_internal.
2623 (check_complex): Update calls to check_float_internal.
2624 (START): Pass argument to init_max_error.
2625 * math/gen-libm-test.pl (%results): Don't include "kind"
2627 (parse_ulps): Don't handle ulps of individual tests.
2628 (print_ulps_file): Likewise.
2629 (output_ulps): Likewise.
2630 * math/README.libm-test: Update.
2631 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2633 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2634 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2635 * sysdeps/arm/libm-test-ulps: Likewise.
2636 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2637 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2638 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2639 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2640 * sysdeps/microblaze/libm-test-ulps: Likewise.
2641 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2642 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2644 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2645 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2646 * sysdeps/sh/libm-test-ulps: Likewise.
2647 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2648 * sysdeps/tile/libm-test-ulps: Likewise.
2649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2651 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2653 * math/libm-test.inc (print_complex_max_error): Check separately
2654 whether real and imaginary errors are within allowed range and
2655 pass 0 to print_complex_function_ulps instead of value within
2658 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2660 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2662 (get_handles_fopen): Likewise.
2663 (do_write_test): Likewise.
2665 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2667 * libio/fileops.c (do_ftell): Use cached offset when
2669 * libio/iofwide.c (do_ftell_wide): Likewise.
2670 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2672 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2675 * libio/libioP.h (get_file_offset): New function.
2676 * libio/fileops.c (get_file_offset): Likewise.
2677 (do_ftell): Likewise.
2678 (_IO_new_file_seekoff): Split out ftell logic.
2679 * libio/wfileops.c (do_ftell_wide): Likewise.
2680 (_IO_wfile_seekoff): Split out ftell logic.
2681 * libio/tst-ftell-active-handler.c: New test case.
2682 * libio/Makefile (tests): Add it.
2684 2014-03-03 Roland McGrath <roland@hack.frob.com>
2686 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2687 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2689 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2692 * nscd/connections.c (nscd_init): Call do_exit.
2693 (start_threads): Call do_exit and notify_parent.
2694 (begin_drop_privileges): Call do_exit.
2695 (finish_drop_privileges): Likewise.
2696 * nscd/selinux.c (preserve_capabilities): Likewise.
2697 (install_real_capabilities): Likewise.
2698 (nscd_selinux_enabled): Likewise.
2699 (avc_create_thread): Likewise.
2700 (avc_alloc_lock): Likewise.
2701 (nscd_avc_init): Likewise.
2702 * nscd/nscd.c (parent_fd): New static variable.
2703 (main): Create a pipe between parent and child processes.
2704 Skip closing parent_fd.
2705 (monitor_child): New function.
2706 (do_exit): Likewise.
2707 (notify_parent): Likewise.
2708 * nscd/nscd.h (notify_parent): Likewise.
2709 (do_exit): Likewise.
2711 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2713 * malloc/malloc.c (__libc_calloc): Revert last change.
2715 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2719 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2721 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2725 (__libc_ifunc_impl_list): Likewise.
2726 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2727 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2728 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2729 * string/strrchr.c: Define STRRCHR.
2731 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2733 * benchtest/bench-strtok.c (simple_strtok): Delete.
2734 (strtok_string): Use as benchmark.
2735 * string/strtok (STRTOK): New macro.
2737 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2739 * manual/threads.texi: Add header and standard comments to all
2742 * elf/dl-lookup.c (check_match): New function.
2743 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2744 (do_lookup_x): Remove nested function check_match. Use non-nested
2745 function check_match.
2747 2014-02-28 Roland McGrath <roland@hack.frob.com>
2749 * csu/Makefile (generated, before-compile): Use += rather than =.
2750 * catgets/Makefile (generated, generated-dirs): Likewise.
2751 * debug/Makefile (generated): Likewise.
2752 * dlfcn/Makefile (generated): Likewise.
2753 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2754 * iconvdata/Makefile (before-compile, generated): Likewise.
2755 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2756 * libio/Makefile (generated): Likewise.
2757 * malloc/Makefile (generated): Likewise.
2758 * manual/Makefile (generated, generated-dirs): Likewise.
2759 * misc/Makefile (generated): Likewise.
2760 * posix/Makefile (generated): Likewise.
2761 * resolv/Makefile (generated): Likewise.
2762 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2763 * timezone/Makefile (generated, generated-dirs): Likewise.
2765 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2767 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2772 POWER8 llround ifunc implementation.
2773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2774 POWER8 implementation.
2775 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2776 POWER8 llround implementation.
2778 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2783 POWER8 llrint ifunc implementation.
2784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2785 POWER8 implementation.
2786 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2787 POWER8 llrint implementation.
2789 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2794 POWER8 finite ifunc implementation.
2795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2796 POWER8 implementation.
2797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2799 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2800 POWER8 finite implementation.
2801 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2803 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2805 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2808 POWER8 isinf ifunc implementation.
2809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2810 POWER8 implementation.
2811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2813 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2814 POWER8 isinf implementation.
2815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2817 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2820 Add hwcap2 initialization.
2821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2824 POWER8 isnan ifunc implementation.
2825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2826 POWER8 implementation.
2827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2830 POWER8 isnan implementation.
2831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2833 2014-02-27 Joey Ye <joey.ye@arm.com>
2835 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2836 (_FP_NANFRAC_Q): Set to zero.
2838 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2841 * math/auto-libm-test-in: New test inputs.
2842 * math/auto-libm-test-out: Regenerate.
2843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2848 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2850 * scripts/evaluate-test.sh: Take new argument indicating whether
2851 failure is expected.
2852 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2853 indicating whether failure is expected.
2854 * conform/Makefile (test-xfail-run-conformtest): New variable.
2855 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2857 * posix/Makefile (test-xfail-annexc): New variable.
2858 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2860 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2862 * argp/Makefile: Include Makeconfig immediately after defining
2864 * assert/Makefile: Likewise.
2865 * benchtests/Makefile: Likewise.
2866 * catgets/Makefile: Likewise.
2867 * conform/Makefile: Likewise.
2868 * crypt/Makefile: Likewise.
2869 * csu/Makefile: Likewise.
2870 (all): Remove target.
2871 * ctype/Makefile: Include Makeconfig immediately after defining
2873 * debug/Makefile: Likewise.
2874 * dirent/Makefile: Likewise.
2875 * dlfcn/Makefile: Likewise.
2876 * gmon/Makefile: Likewise.
2877 * gnulib/Makefile: Likewise.
2878 * grp/Makefile: Likewise.
2879 * gshadow/Makefile: Likewise.
2880 * hesiod/Makefile: Likewise.
2881 * hurd/Makefile: Likewise.
2882 (all): Remove target.
2883 * iconvdata/Makefile: Include Makeconfig immediately after
2885 * inet/Makefile: Likewise.
2886 * intl/Makefile: Likewise.
2887 * io/Makefile: Likewise.
2888 * libio/Makefile: Likewise.
2889 (all): Remove target.
2890 * locale/Makefile: Include Makeconfig immediately after defining
2892 * login/Makefile: Likewise.
2893 * mach/Makefile: Likewise.
2894 (all): Remove target.
2895 * malloc/Makefile: Include Makeconfig immediately after defining
2897 (all): Remove target.
2898 * manual/Makefile: Include Makeconfig immediately after defining
2900 * math/Makefile: Likewise.
2901 * misc/Makefile: Likewise.
2902 * nis/Makefile: Likewise.
2903 * nss/Makefile: Likewise.
2904 * po/Makefile: Likewise.
2905 (all): Remove target.
2906 * posix/Makefile: Include Makeconfig immediately after defining
2908 * pwd/Makefile: Likewise.
2909 * resolv/Makefile: Likewise.
2910 * resource/Makefile: Likewise.
2911 * rt/Makefile: Likewise.
2912 * setjmp/Makefile: Likewise.
2913 * shadow/Makefile: Likewise.
2914 * signal/Makefile: Likewise.
2915 * socket/Makefile: Likewise.
2916 * soft-fp/Makefile: Likewise.
2917 * stdio-common/Makefile: Likewise.
2918 * stdlib/Makefile: Likewise.
2919 * streams/Makefile: Likewise.
2920 * string/Makefile: Likewise.
2921 * sunrpc/Makefile: Likewise.
2922 (all): Remove target.
2923 * sysvipc/Makefile: Include Makeconfig immediately after defining
2925 * termios/Makefile: Likewise.
2926 * time/Makefile: Likewise.
2927 * timezone/Makefile: Likewise.
2928 (all): Remove target.
2929 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2931 * wctype/Makefile: Likewise.
2933 2014-02-26 Steve Ellcey <sellcey@mips.com>
2935 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2936 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2937 (libc_feholdexcept_setround_mips): Ditto.
2938 (libc_feholdsetround): New.
2939 (libc_feholdsetroundf): New.
2940 (libc_feholdsetroundl): New.
2941 (libc_feupdateenv_test_mips): New.
2942 (libc_feupdateenv_test): New.
2943 (libc_feupdateenv_testf): New.
2944 (libc_feupdateenv_testl): New.
2945 (libc_feresetround): New.
2946 (libc_feresetroundf): New.
2947 (libc_feresetroundl): New.
2948 (libc_fetestexcept_mips): New.
2949 (libc_fetestexcept): New.
2950 (libc_fetestexceptf): New.
2951 (libc_fetestexceptl): New.
2953 (libc_feholdexcept_setround_mips_ctx): New.
2954 (libc_feholdexcept_setround_ctx): New.
2955 (libc_feholdexcept_setroundf_ctx): New.
2956 (libc_feholdexcept_setroundl_ctx): New.
2957 (libc_fesetenv_mips_ctx): New.
2958 (libc_fesetenv_ctx): New.
2959 (libc_fesetenv_ctxf): New.
2960 (libc_fesetenv_ctxl): New.
2961 (libc_feupdateenv_mips_ctx): New.
2962 (libc_feupdateenv_ctx): New.
2963 (libc_feupdateenvf_ctx): New.
2964 (libc_feupdateenvl_ctx): New.
2965 (libc_feholdsetround_mips_ctx): New.
2966 (libc_feholdsetround_ctx): New.
2967 (libc_feholdsetroundf_ctx): New.
2968 (libc_feholdsetroundl_ctx): New.
2969 (libc_feresetround_mips_ctx): New.
2970 (libc_feresetround_ctx): New.
2971 (libc_feresetroundf_ctx): New.
2972 (libc_feresetroundl_ctx): New.
2974 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2976 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2978 * manual/ipc.texi: New file.
2979 * manual/Makefile (chapters): Add ipc.
2980 * manual/job.texi: Add "Inter-Process Communication" to next.
2981 * manual/process.texi: Add "Inter-Process Communication" to prev.
2983 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2987 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2989 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2991 * manual/arith.texi: Fix spaces after sentences.
2992 * manual/charset.texi: Likewise.
2993 * manual/errno.texi: Likewise.
2994 * manual/install.texi: Likewise.
2995 * manual/llio.texi: Likewise.
2996 * manual/locale.texi: Likewise.
2997 * manual/maint.texi: Likewise.
2998 * manual/math.texi: Likewise.
2999 * manual/memory.texi: Likewise.
3000 * manual/message.texi: Likewise.
3001 * manual/probes.texi: Likewise.
3002 * manual/resource.texi: Likewise.
3003 * manual/signal.texi: Likewise.
3004 * manual/socket.texi: Likewise.
3005 * manual/stdio.texi: Likewise.
3006 * manual/string.texi: Likewise.
3007 * manual/time.texi: Likewise.
3008 * manual/users.texi: Likewise.
3010 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3013 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3014 _DEFAULT_SOURCE is defined.
3016 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3017 Carlos O'Donell <carlos@redhat.com>
3020 * elf/dl-tls.c (_dl_count_modids): New function.
3021 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3022 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3023 audit library and increment generation counter.
3024 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3025 * elf/tst-audit9.c: New file.
3026 * elf/tst-auditmod9a.c: New file.
3027 * elf/tst-auditmod9b.c: New file.
3028 * elf/Makefile: Add rules to build and run tst-audit9.
3030 2014-02-25 Florian Weimer <fweimer@redhat.com>
3033 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3035 2014-02-25 Will Newton <will.newton@linaro.org>
3037 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3038 (__longjmp): Restore sp and lr before restoring callee
3039 saved registers. Add longjmp and longjmp_target
3040 SystemTap probe point.
3041 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3042 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3043 Define to zero to match jmpbuf layout.
3044 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3045 (__sigsetjmp): Save sp and lr before saving callee
3046 saved registers. Add setjmp SystemTap probe point.
3048 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3052 2014-02-24 Andreas Schwab <schwab@suse.de>
3055 * elf/pldd.c (wait_for_ptrace_stop): New function.
3056 (main): Call it after attaching.
3058 2014-02-22 Roland McGrath <roland@hack.frob.com>
3060 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3061 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3062 Versions files is now verboten.
3063 * hurd/Versions (libc: GLIBC_2.0):
3064 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3065 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3066 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3067 * mach/Versions: Likewise.
3069 * csu/Versions: Remove unused %include.
3070 * resolv/Versions: Likewise.
3072 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3074 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3075 ($(objpfx)check-local-headers.out): Likewise.
3076 ($(objpfx)begin-end-check.out): Likewise.
3077 * Makerules (check-abi-%.out): Likewise.
3078 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3079 ($(objpfx)test2.cat): Likewise.
3080 ($(objpfx)de/libc.cat): Likewise.
3081 ($(objpfx)test-gencat.out): Likewise.
3082 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3083 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3084 ($(objpfx)noload-mem): Likewise.
3085 ($(objpfx)tst-pathopt.out): Likewise.
3086 ($(objpfx)tst-rtld-load-self.out): Likewise.
3087 ($(objpfx)tst-array1-cmp.out): Likewise.
3088 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3089 ($(objpfx)tst-array2-cmp.out): Likewise.
3090 ($(objpfx)tst-array3-cmp.out): Likewise.
3091 ($(objpfx)tst-array4-cmp.out): Likewise.
3092 ($(objpfx)tst-array5-cmp.out): Likewise.
3093 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3094 ($(objpfx)check-textrel.out): Likewise.
3095 ($(objpfx)check-execstack.out): Likewise.
3096 ($(objpfx)check-localplt.out): Likewise.
3097 ($(objpfx)order2-cmp.out): Likewise.
3098 ($(objpfx)tst-leaks1-mem): Likewise.
3099 ($(objpfx)tst-leaks1-static-mem): Likewise.
3100 ($(objpfx)tst-initorder-cmp.out): Likewise.
3101 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3102 ($(objpfx)tst-unused-dep.out): Likewise.
3103 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3104 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3105 * iconv/Makefile (test-iconvconfig): Likewise.
3106 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3107 ($(objpfx)iconv-test.out): Likewise.
3108 ($(objpfx)tst-tables.out): Likewise.
3109 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3110 ($(objpfx)tst-gettext.out): Likewise.
3111 ($(objpfx)tst-translit.out): Likewise.
3112 ($(objpfx)tst-gettext2.out): Likewise.
3113 ($(objpfx)tst-gettext4.out): Likewise.
3114 ($(objpfx)tst-gettext6.out): Likewise.
3115 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3116 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3117 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3118 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3120 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3121 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3122 ($(objpfx)wordexp-tst.out): Likewise.
3123 ($(objpfx)annexc.out): Likewise.
3124 ($(objpfx)tst-fnmatch-mem): Likewise.
3125 ($(objpfx)bug-regex2-mem): Likewise.
3126 ($(objpfx)bug-regex14-mem): Likewise.
3127 ($(objpfx)bug-regex21-mem): Likewise.
3128 ($(objpfx)bug-regex31-mem): Likewise.
3129 ($(objpfx)tst-vfork3-mem): Likewise.
3130 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3131 ($(objpfx)tst-pcre-mem): Likewise.
3132 ($(objpfx)tst-boost-mem): Likewise.
3133 ($(objpfx)tst-getconf.out): Likewise.
3134 ($(objpfx)bug-ga2-mem): Likewise.
3135 ($(objpfx)bug-glob2-mem): Likewise.
3136 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3137 ($(objpfx)mtrace-tst-leaks2): Likewise.
3138 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3139 ($(objpfx)tst-printf.out): Likewise.
3140 ($(objpfx)tst-setvbuf1.out): Likewise.
3141 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3142 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3143 ($(objpfx)tst-fmtmsg.out): Likewise.
3144 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3147 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3148 * bits/sigaction.h [__USE_MISC]: Likewise.
3149 * bits/waitstatus.h: Update #endif comments.
3150 * ctype/ctype.h: Likewise.
3151 * dirent/dirent.h: Likewise.
3152 [__USE_MISC]: Remove redundant conditionals.
3153 * grp/grp.h: Update #endif comments.
3154 [__USE_GNU]: Remove redundant conditionals.
3155 [__USE_MISC]: Likewise.
3156 * inet/netinet/in.h [__USE_GNU]: Likewise.
3157 * io/sys/stat.h [__USE_MISC]: Likewise.
3158 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3159 * libio/bits/stdio.h: Update #endif comments.
3160 [__USE_MISC]: Remove redundant conditionals.
3161 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3162 * libio/stdio.h: Update #endif comments.
3163 [__USE_MISC]: Remove redundant conditionals.
3164 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3165 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3166 * math/math.h: Update #else and #endif comments.
3167 [__USE_MISC]: Remove redundant conditionals.
3168 * misc/sys/uio.h: Update #endif comments.
3169 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3170 * posix/glob.h [__USE_MISC]: Likewise.
3171 * posix/sys/types.h: Update #endif comments.
3172 [__USE_MISC]: Remove redundant conditionals.
3173 * posix/sys/wait.h: Update #endif comments.
3174 [__USE_MISC]: Remove redundant conditionals.
3175 * posix/unistd.h: Update #endif comments.
3176 [__USE_MISC]: Remove redundant conditionals.
3177 * pwd/pwd.h [__USE_GNU]: Likewise.
3178 [__USE_MISC]: Likewise.
3179 * resolv/netdb.h [__USE_GNU]: Likewise.
3180 * signal/signal.h: Update #endif comments.
3181 [__USE_MISC]: Remove redundant conditionals.
3182 * stdlib/stdlib.h: Update #else and #endif comments.
3183 [__USE_MISC]: Remove redundant conditionals.
3184 [__USE_GNU]: Likewise.
3185 * string/bits/string2.h [__USE_MISC]: Likewise.
3186 * string/string.h: Update #endif comments.
3187 [__USE_MISC]: Remove redundant conditionals.
3188 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3191 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3192 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3194 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3198 [__USE_MISC]: Remove redundant conditionals.
3199 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3200 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3201 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3202 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3203 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3205 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3206 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3208 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3209 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3211 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3213 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3214 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3216 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3218 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3219 * sysdeps/x86/bits/string.h: Update #endif comments.
3220 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3222 * time/sys/time.h: Update #endif comments.
3223 * time/time.h: Likewise.
3224 [__USE_MISC]: Remove redundant conditionals.
3226 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3229 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3231 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3233 * Versions.def (librt): Add GLIBC_2.17.
3235 2014-02-21 Adam Conrad <adconrad@0c3.net>
3237 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3238 synonym for _SYS_AUXV_H to allow direct inclusion.
3239 * sysdeps/sparc/bits/hwcap.h: Likewise.
3240 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3241 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3242 * sysdeps/sparc/sysdep.h: Likewise.
3244 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3246 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3248 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3250 * benchtests/bench-strrchr.c: Print length instead of position.
3252 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3255 * sysdeps/unix/sysv/linux/kernel-features.h
3256 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3257 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3258 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3259 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3261 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3262 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3263 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3264 (__ASSUME_SENDMMSG): Define instead of using previous
3265 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3266 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3267 (__ASSUME_SENDMMSG_SYSCALL): Define.
3268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3269 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3272 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3274 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3275 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3278 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3279 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3280 [__ASSUME_SENDMMSG]: Change conditionals to
3281 [__ASSUME_SENDMMSG_SOCKETCALL].
3282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3283 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3285 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3286 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3288 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3289 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3290 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3291 [!__ASSUME_SENDMMSG]: Change conditional to
3292 [!__ASSUME_SENDMMSG_SOCKETCALL].
3293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3294 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3298 * sysdeps/unix/sysv/linux/kernel-features.h
3299 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3300 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3301 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3302 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3303 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3304 [__i386__ || __sparc__]
3305 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3306 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3307 (__ASSUME_RECVMMSG): Define instead of using previous
3308 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3309 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3310 (__ASSUME_RECVMMSG_SYSCALL): Define.
3311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3320 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3321 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3322 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3323 [__ASSUME_RECVMMSG]: Change condition to
3324 [__ASSUME_RECVMMSG_SOCKETCALL].
3325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3328 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3329 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3330 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3332 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3333 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3334 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3335 [!__ASSUME_RECVMMSG]: Change condition to
3336 [!__ASSUME_RECVMMSG_SOCKETCALL].
3337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3338 (__ASSUME_RECVMMSG_SYSCALL): Define.
3341 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3342 __powerpc__ || __s390__ || __sh__ || __sparc__]
3343 (__ASSUME_SOCKETCALL): Define.
3344 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3345 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3346 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3347 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3348 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3349 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3350 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3351 (__ASSUME_ACCEPT4): Define instead of using previous
3352 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3353 __powerpc__ || __sparc__ || __s390__)] condition.
3354 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3355 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3356 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3357 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3358 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3359 [!__ASSUME_ACCEPT4]: Change condition to
3360 [!__ASSUME_ACCEPT4_SOCKETCALL].
3361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3362 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3363 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3365 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3366 __ASSUME_ACCEPT4_SYSCALL.
3367 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3368 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3370 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3371 __ASSUME_ACCEPT4_SYSCALL.
3372 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3373 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3374 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3375 [__ASSUME_ACCEPT4]: Change condition to
3376 [__ASSUME_ACCEPT4_SOCKETCALL].
3377 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3378 (__ASSUME_SOCKETCALL): Define.
3379 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3381 (__ASSUME_SOCKETCALL): Define.
3382 (__ASSUME_ACCEPT4): Remove.
3383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3385 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3386 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3389 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3391 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3393 (HWCAP_ARM_LPAE): Likewise.
3394 (HWCAP_ARM_EVTSTRM): Likewise.
3395 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3396 Add vpfd32, lpae and evtstrm.
3397 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3400 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3402 * math/auto-libm-test-in: Add tests of clog10.
3403 * math/auto-libm-test-out: Regenerated.
3404 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3405 * sysdeps/i386/fpu/libm-test-ulps: Update.
3406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3408 2014-02-18 Andreas Schwab <schwab@suse.de>
3411 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3412 Store non-zero if the second buffer was newly allocated.
3413 (send_dg): Likewise.
3414 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3415 to send_vc and send_dg.
3416 (res_nsend): Pass NULL for ansp2_malloced.
3417 * resolv/res_query.c (__libc_res_nquery): Add parameter
3418 answerp2_malloced and pass it down to __libc_res_nsend.
3419 (res_nquery): Pass additional NULL to __libc_res_nquery.
3420 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3421 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3422 second answer buffer if answerp2_malloced was set.
3423 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3424 (__libc_res_nquerydomain): Add parameter
3425 answerp2_malloced and pass it down to __libc_res_nquery.
3426 (res_nquerydomain): Pass additional NULL to
3427 __libc_res_nquerydomain.
3428 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3429 additional NULL to __libc_res_nsend and __libc_res_nquery.
3430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3431 additional NULL to __libc_res_nsearch.
3432 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3433 parameter of __libc_res_nsearch to check for separately allocated
3435 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3437 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3438 additional NULL to __libc_res_nquery.
3439 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3441 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3442 * include/resolv.h: Update prototypes of __libc_res_nquery,
3443 __libc_res_nsearch, __libc_res_nsend.
3445 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3447 * math/auto-libm-test-in: Add tests of fma.
3448 * math/auto-libm-test-out: Regenerated.
3449 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3450 (fma_towardzero_test_data): Likewise.
3451 (fma_downward_test_data): Likewise.
3452 (fma_upward_test_data): Likewise.
3453 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3455 (rounding_modes): Add values for new field.
3456 (func_calc_method): Add value mpfr_fff_f.
3457 (func_calc_desc): Add mpfr_fff_f union field.
3458 (test_function): Add field exact_args.
3459 (FUNC): Add macro argument EXACT_ARGS.
3460 (FUNC_mpfr_f_f): Update call to FUNC.
3461 (FUNC_mpfr_f_f): Likewise.
3462 (FUNC_mpfr_ff_f): Likewise.
3463 (FUNC_mpfr_if_f): Likewise.
3464 (FUNC_mpc_c_f): Likewise.
3465 (FUNC_mpc_c_c): Likewise.
3466 (test_functions): Add fma. Update calls to FUNC.
3467 (handle_input_arg): Add argument exact_args.
3468 (add_test): Update call to handle_input_arg.
3469 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3470 (output_for_one_input_case): Update call to calc_generic_results.
3471 Recalculate exact zero results in each rounding mode.
3473 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3474 non-negative before setting low bit.
3475 * math/auto-libm-test-in: Mark one asin test possibly having
3477 * math/auto-libm-test-out: Regenerated.
3478 * sysdeps/i386/fpu/libm-test-ulps: Update.
3479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3481 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3483 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3484 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3485 ports/sysdeps/unix/sysv/linux/microblaze.
3486 * README: Add missing listing for microblaze*-*-linux-gnu.
3488 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3490 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3491 * sysdeps/unix/sysv/linux/ia64: Move directory from
3492 ports/sysdeps/unix/sysv/linux/ia64.
3493 * README: Update listing for ia64-*-linux-gnu.
3495 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3496 Joseph Myers <joseph@codesourcery.com>
3498 * Makeconfig (test-name): New variable.
3499 (evaluate-test): Likewise.
3500 * Makerules (do-test-clean): Remove .test-result files.
3501 (common-mostlyclean): Likewise.
3502 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3503 * scripts/evaluate-test.sh: New file.
3505 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3507 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3508 separate $(objpfx)tst-fopenloc-cmp.out and
3509 $(objpfx)tst-fopenloc-mem.out targets.
3510 (tests): Update dependencies.
3511 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3512 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3513 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3514 (tst-rxspencer-no-utf8-ARGS): New variable.
3515 (tst-rxspencer-no-utf8-ENV): Likewise.
3516 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3517 instead of $(objpfx)tst-rxspencer-mem.
3518 ($(objpfx)tst-rxspencer-mem): Change target to
3519 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3520 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3521 * posix/tst-rxspencer-no-utf8.c: New file.
3523 * elf/Makefile ($(objpfx)order.out): Remove rule.
3524 [$(run-built-tests) = yes] (tests): Depend on
3525 $(objpfx)order-cmp.out.
3526 ($(objpfx)order-cmp.out): New rule.
3527 [$(run-built-tests) = yes] (tests): Depend on
3528 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3529 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3530 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3531 $(objpfx)tst-array5-static-cmp.out.
3532 ($(objpfx)tst-array1.out): Remove rule.
3533 ($(objpfx)tst-array1-cmp.out): New rule.
3534 ($(objpfx)tst-array1-static.out): Remove rule.
3535 ($(objpfx)tst-array1-static-cmp.out): New rule.
3536 ($(objpfx)tst-array2.out): Remove rule.
3537 ($(objpfx)tst-array2-cmp.out): New rule.
3538 ($(objpfx)tst-array3.out): Remove rule.
3539 ($(objpfx)tst-array3-cmp.out): New rule.
3540 ($(objpfx)tst-array4.out): Remove rule.
3541 ($(objpfx)tst-array4-cmp.out): New rule.
3542 ($(objpfx)tst-array5.out): Remove rule.
3543 ($(objpfx)tst-array5-cmp.out): New rule.
3544 ($(objpfx)tst-array5-static.out): Remove rule.
3545 ($(objpfx)tst-array5-static-cmp.out): New rule.
3546 [$(run-built-tests) = yes] (tests): Depend on
3547 $(objpfx)order2-cmp.out.
3548 ($(objpfx)order2.out): Remove rule.
3549 ($(objpfx)order2-cmp.out): New rule.
3550 ($(objpfx)tst-initorder.out): Remove rule.
3551 [$(run-built-tests) = yes] (tests): Depend on
3552 $(objpfx)tst-initorder-cmp.out.
3553 ($(objpfx)tst-initorder-cmp.out): New rule.
3554 ($(objpfx)tst-initorder2.out): Remove rule.
3555 [$(run-built-tests) = yes] (tests): Depend on
3556 $(objpfx)tst-initorder2-cmp.out.
3557 ($(objpfx)tst-initorder2-cmp.out): New rule.
3558 [$(run-built-tests) = yes] (tests): Depend on
3559 $(objpfx)tst-unused-dep-cmp.out.
3560 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3561 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3562 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3563 on $(objpfx)tst-setvbuf1-cmp.out.
3564 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3565 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3566 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3567 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3568 ($(objpfx)tst-svc.out): Remove rule.
3569 ($(objpfx)tst-svc-cmp.out): New rule.
3571 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3573 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3574 * ctype/ctype.h [__USE_MISC]: Likewise.
3575 * dirent/dirent.h [__USE_MISC]: Likewise.
3576 * grp/grp.h [__USE_MISC]: Likewise.
3577 * io/fcntl.h [__USE_MISC]: Likewise.
3578 * io/sys/stat.h [__USE_MISC]: Likewise.
3579 * libio/stdio.h [__USE_MISC]: Likewise.
3580 * posix/unistd.h [__USE_MISC]: Likewise.
3581 * pwd/pwd.h [__USE_MISC]: Likewise.
3582 * stdlib.h [__USE_MISC]: Likewise.
3583 * string/bits/string2.h [__USE_MISC]: Likewise.
3584 * string/string.h [__USE_MISC]: Likewise.
3585 * time/time.h [__USE_MISC]: Likewise.
3587 2014-02-13 Andreas Schwab <schwab@suse.de>
3590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3591 second answer buffer if it was separately allocated.
3593 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3595 * sysdeps/mips/math-tests.h: Include <features.h>.
3596 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3597 (ROUNDING_TESTS_long_double): Do not define.
3598 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3599 (EXCEPTION_TESTS_long_double): Likewise.
3600 * sysdeps/mips/mips64/libm-test-ulps: Update.
3602 * include/features.h (__USE_BSD): Remove macro definitions.
3603 (__USE_SVID): Likewise.
3604 (_BSD_SOURCE): Likewise.
3605 (_SVID_SOURCE): Likewise.
3606 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3607 from definition of _DEFAULT_SOURCE.
3608 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3610 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3611 * bits/mman.h [__USE_BSD]: Likewise.
3612 * bits/termios.h [__USE_BSD]: Likewise.
3613 * bits/waitstatus.h [__USE_BSD]: Likewise.
3614 * ctype/ctype.h [__USE_SVID]: Likewise.
3615 * dirent/dirent.h [__USE_BSD]: Likewise.
3616 * grp/grp.h [__USE_SVID]: Likewise.
3617 [__USE_BSD]: Likewise.
3618 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3619 * io/fcntl.h [__USE_BSD]: Likewise.
3620 * io/ftw.h [__USE_BSD]: Likewise.
3621 * io/sys/stat.h [__USE_BSD]: Likewise.
3622 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3623 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3624 * libio/stdio.h [__USE_SVID]: Likewise.
3625 [__USE_BSD]: Likewise.
3626 * math/math.h [__USE_SVID]: Likewise.
3627 [__USE_BSD]: Likewise.
3628 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3629 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3630 * misc/search.h [__USE_SVID]: Likewise.
3631 * misc/sys/mman.h [__USE_BSD]: Likewise.
3632 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3633 * misc/sys/uio.h [__USE_BSD]: Likewise.
3634 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3635 * posix/glob.h [__USE_BSD]: Likewise.
3636 * posix/regex.h [__USE_BSD]: Likewise.
3637 * posix/sys/types.h [__USE_BSD]: Likewise.
3638 [__USE_SVID]: Likewise.
3639 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3640 * posix/sys/wait.h [__USE_BSD]: Likewise.
3641 [__USE_SVID]: Likewise.
3642 * posix/unistd.h [__USE_BSD]: Likewise.
3643 [__USE_SVID]: Likewise.
3644 * pwd/pwd.h [__USE_SVID]: Likewise.
3645 * resolv/netdb.h [__USE_BSD]: Likewise.
3646 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3647 * signal/signal.h [__USE_BSD]: Likewise.
3648 [__USE_SVID]: Likewise.
3649 * socket/sys/socket.h [__USE_BSD]: Likewise.
3650 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3651 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3652 [__USE_SVID]: Likewise.
3653 * string/bits/string2.h [__USE_BSD]: Likewise.
3654 [__USE_SVID]: Likewise.
3655 * string/bits/string3.h [__USE_BSD]: Likewise.
3656 * string/endian.h [__USE_BSD]: Likewise.
3657 * string/string.h [__USE_SVID]: Likewise.
3658 [__USE_BSD]: Likewise.
3659 * string/strings.h [__USE_BSD]: Likewise.
3660 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3661 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3662 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3663 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3664 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3665 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3672 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3673 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3675 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3677 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3678 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3679 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3681 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3683 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3684 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3685 * termios/termios.h [__USE_BSD]: Likewise.
3686 * time/sys/time.h [__USE_BSD]: Likewise.
3687 * time/time.h [__USE_BSD]: Likewise.
3688 [__USE_SVID]: Likewise.
3690 * Makefile (subdir_targets): Remove subdir_lint.out.
3692 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3693 (do-tst-printf): Likewise.
3694 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3695 $(objpfx)tst-printf.out.
3697 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3699 * Makerules (check-abi-%): Change target to
3700 $(objpfx)check-abi-%.out.
3701 (check-abi target): Update dependencies.
3702 (check-abi-pattern variable): Redirect output of diff to $@.
3703 (check-abi variable): Likewise.
3704 * elf/Makefile (check-abi): Update dependencies.
3706 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3708 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3709 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3711 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3712 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3713 value has largest subnormal exponent.
3714 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3715 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3716 * sysdeps/aarch64/soft-fp/sfp-machine.h
3717 (_FP_TININESS_AFTER_ROUNDING): New macro.
3718 * sysdeps/alpha/soft-fp/sfp-machine.h
3719 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3720 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3722 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3723 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3724 * sysdeps/mips/soft-fp/sfp-machine.h
3725 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3726 * sysdeps/powerpc/soft-fp/sfp-machine.h
3727 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3728 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3731 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3732 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3733 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3734 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3737 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3740 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3743 2014-02-12 Richard Henderson <rth@redhat.com>
3745 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3746 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3747 * sysdeps/unix/sysv/linux/alpha: Move directory from
3748 ports/sysdeps/unix/sysv/linux/alpha.
3749 * README: Update listing for alpha-*-linux-gnu.
3751 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3753 * include/features.h: Update comment documenting feature test
3755 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3757 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3758 (_SVID_SOURCE): Likewise.
3759 (_DEFAULT_SOURCE): Update description of default features.
3760 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3762 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3763 (S_ISVTX): Likewise.
3764 * manual/math.texi (Mathematical Constants): Likewise.
3765 * manual/signal.texi (Interrupted Primitives): Likewise.
3766 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3767 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3768 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3769 Don't refer to _SVID_SOURCE in warning text.
3771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3773 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3775 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3776 * sysdeps/mips/dl-lookup.c: Remove.
3777 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3779 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3782 * math/auto-libm-test-in: Add testcase for expl.
3783 * math/auto-libm-test-out: Regenerate.
3784 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3785 calculation of unsafe.
3786 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3788 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3790 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3791 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3792 ports/sysdeps/unix/sysv/linux/aarch64.
3793 * README: Update listing for aarch64*-*-linux-gnu.
3795 2014-02-11 Will Newton <will.newton@linaro.org>
3797 * manual/probes.texi (Mathematical Function Probes): Use
3798 "triggered" instead of "hit".
3800 2014-02-11 Will Newton <will.newton@linaro.org>
3802 * manual/probes.texi (Internal Probes): Add documentation
3803 of setjmp, longjmp and longjmp_target probes.
3805 2014-02-11 Will Newton <will.newton@linaro.org>
3807 * include/stap-probe.h: Add comment about probe argument
3810 2014-02-11 Will Newton <will.newton@linaro.org>
3812 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3813 definition. (tr_where, tr_freehook, tr_mallochook,
3814 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3816 2014-02-11 David S. Miller <davem@davemloft.net>
3818 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3819 processing int_tests.
3821 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3823 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3824 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3825 * sysdeps/unix/sysv/linux/mips: Move directory from
3826 ports/sysdeps/unix/sysv/linux/mips.
3827 * README: Update listing for mips-*-linux-gnu and
3830 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3832 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3833 * sysdeps/unix/sysv/linux/m68k: Move directory from
3834 ports/sysdeps/unix/sysv/linux/m68k.
3835 * README: Update listing for m68k-*-linux-gnu.
3837 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3839 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3840 * sysdeps/unix/sysv/linux/generic: Move directory from
3841 ports/sysdeps/unix/sysv/linux/generic.
3842 * sysdeps/unix/sysv/linux/tile: Move directory from
3843 ports/sysdeps/unix/sysv/linux/tile.
3844 * README: Update listing for tile*-*-linux-gnu.
3846 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3848 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3849 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3850 * catgets/open_catalog.c (__open_catalog): Likewise.
3851 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3852 * debug/confstr_chk.c: Likewise.
3853 * debug/fread_chk.c (__fread_chk): Likewise.
3854 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3855 * debug/getgroups_chk.c: Likewise.
3856 * debug/mbsnrtowcs_chk.c: Likewise.
3857 * debug/mbsrtowcs_chk.c: Likewise.
3858 * debug/mbstowcs_chk.c: Likewise.
3859 * debug/memcpy_chk.c: Likewise.
3860 * debug/memmove_chk.c: Likewise.
3861 * debug/mempcpy_chk.c: Likewise.
3862 * debug/memset_chk.c: Likewise.
3863 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3864 * debug/strcat_chk.c (__strcat_chk): Likewise.
3865 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3866 * debug/strncat_chk.c (__strncat_chk): Likewise.
3867 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3868 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3869 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3870 * debug/wcpncpy_chk.c: Likewise.
3871 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3872 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3873 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3874 * debug/wcsncpy_chk.c: Likewise.
3875 * debug/wcsnrtombs_chk.c: Likewise.
3876 * debug/wcsrtombs_chk.c: Likewise.
3877 * debug/wcstombs_chk.c: Likewise.
3878 * debug/wmemcpy_chk.c: Likewise.
3879 * debug/wmemmove_chk.c: Likewise.
3880 * debug/wmempcpy_chk.c: Likewise.
3881 * debug/wmemset_chk.c: Likewise.
3882 * dirent/scandirat.c (SCANDIRAT): Likewise.
3883 * dlfcn/dladdr1.c (dladdr1): Likewise.
3884 * dlfcn/dladdr.c (dladdr): Likewise.
3885 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3886 * dlfcn/dlerror.c (__dlerror): Likewise.
3887 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3888 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3889 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3890 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3891 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3892 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3893 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3894 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3896 * elf/dl-conflict.c: Likewise.
3897 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3898 * elf/dl-dst.h: Likewise.
3899 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3900 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3901 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3902 * elf/dl-init.c (call_init, _dl_init): Likewise.
3903 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3904 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3905 _dl_map_object_from_fd, open_verify, open_path,
3906 _dl_map_object): Likewise.
3907 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3909 * elf/dl-minimal.c (__libc_memalign): Likewise.
3910 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3911 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3912 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3913 * elf/dl-sym.c (do_sym): Likewise.
3914 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3915 _dl_tls_get_addr_soft): Likewise.
3916 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3917 * elf/dl-writev.h (_dl_writev): Likewise.
3918 * elf/ldconfig.c (search_dir): Likewise.
3919 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3921 * elf/setup-vdso.h (setup_vdso): Likewise.
3922 * grp/compat-initgroups.c (compat_call): Likewise.
3923 * grp/fgetgrent.c (fgetgrent): Likewise.
3924 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3925 * grp/putgrent.c (putgrent): Likewise.
3926 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3928 * hurd/hurdinit.c: Likewise.
3929 * iconvdata/8bit-gap.c (struct): Likewise.
3930 * iconvdata/ansi_x3.110.c : Likewise.
3931 * iconvdata/big5.c : Likewise.
3932 * iconvdata/big5hkscs.c : Likewise.
3933 * iconvdata/cp1255.c: Likewise.
3934 * iconvdata/cp1258.c : Likewise.
3935 * iconvdata/cp932.c : Likewise.
3936 * iconvdata/euc-cn.c: Likewise.
3937 * iconvdata/euc-jisx0213.c : Likewise.
3938 * iconvdata/euc-jp.c: Likewise.
3939 * iconvdata/euc-jp-ms.c : Likewise.
3940 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3941 * iconvdata/gb18030.c : Likewise.
3942 * iconvdata/gbbig5.c (const): Likewise.
3943 * iconvdata/gbgbk.c: Likewise.
3944 * iconvdata/gbk.c : Likewise.
3945 * iconvdata/ibm1364.c : Likewise.
3946 * iconvdata/ibm930.c : Likewise.
3947 * iconvdata/ibm932.c: Likewise.
3948 * iconvdata/ibm933.c : Likewise.
3949 * iconvdata/ibm935.c : Likewise.
3950 * iconvdata/ibm937.c : Likewise.
3951 * iconvdata/ibm939.c : Likewise.
3952 * iconvdata/ibm943.c: Likewise.
3953 * iconvdata/iso_11548-1.c: Likewise.
3954 * iconvdata/iso-2022-cn.c : Likewise.
3955 * iconvdata/iso-2022-cn-ext.c : Likewise.
3956 * iconvdata/iso-2022-jp-3.c: Likewise.
3957 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3958 * iconvdata/iso-2022-kr.c : Likewise.
3959 * iconvdata/iso646.c (gconv_end): Likewise.
3960 * iconvdata/iso_6937-2.c : Likewise.
3961 * iconvdata/iso_6937.c : Likewise.
3962 * iconvdata/iso8859-1.c: Likewise.
3963 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3964 * iconvdata/shift_jisx0213.c : Likewise.
3965 * iconvdata/sjis.c : Likewise.
3966 * iconvdata/t.61.c : Likewise.
3967 * iconvdata/tcvn5712-1.c : Likewise.
3968 * iconvdata/tscii.c: Likewise.
3969 * iconvdata/uhc.c : Likewise.
3970 * iconvdata/unicode.c (gconv_end): Likewise.
3971 * iconvdata/utf-16.c (gconv_end): Likewise.
3972 * iconvdata/utf-32.c (gconv_end): Likewise.
3973 * iconvdata/utf-7.c (base64): Likewise.
3974 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3975 * iconv/gconv_close.c (__gconv_close): Likewise.
3976 * iconv/gconv_open.c (__gconv_open): Likewise.
3977 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3978 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3979 internal_ucs4le_loop_single, ucs4le_internal_loop,
3980 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3981 * iconv/iconv.c (iconv): Likewise.
3982 * iconv/iconv_close.c: Likewise.
3983 * iconv/loop.c (SINGLE): Likewise.
3984 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3985 * include/atomic.h: Likewise.
3986 * inet/inet6_option.c (option_alloc): Likewise.
3987 * intl/bindtextdom.c (set_binding_values): Likewise.
3988 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3989 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3990 * intl/localealias.c (read_alias_file): Likewise.
3991 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3992 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3993 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3994 * libio/fmemopen.c (fmemopen): Likewise.
3995 * libio/iofgets.c (_IO_fgets): Likewise.
3996 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3997 * libio/iofgetws.c (fgetws): Likewise.
3998 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3999 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4000 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4001 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4002 * locale/findlocale.c (_nl_find_locale): Likewise.
4003 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4004 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4006 * locale/setlocale.c (setlocale): Likewise.
4007 * login/programs/pt_chown.c (main): Likewise.
4008 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4009 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4010 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4011 mmap, mmap64, mremap, munmap): Likewise.
4012 * math/e_exp2l.c: Likewise.
4013 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4014 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4015 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4016 * math/s_catan.c (__catan): Likewise.
4017 * math/s_catanf.c (__catanf): Likewise.
4018 * math/s_catanh.c (__catanh): Likewise.
4019 * math/s_catanhf.c (__catanhf): Likewise.
4020 * math/s_catanhl.c (__catanhl): Likewise.
4021 * math/s_catanl.c (__catanl): Likewise.
4022 * math/s_ccosh.c (__ccosh): Likewise.
4023 * math/s_ccoshf.c (__ccoshf): Likewise.
4024 * math/s_ccoshl.c (__ccoshl): Likewise.
4025 * math/s_cexp.c (__cexp): Likewise.
4026 * math/s_cexpf.c (__cexpf): Likewise.
4027 * math/s_cexpl.c (__cexpl): Likewise.
4028 * math/s_clog10.c (__clog10): Likewise.
4029 * math/s_clog10f.c (__clog10f): Likewise.
4030 * math/s_clog10l.c (__clog10l): Likewise.
4031 * math/s_clog.c (__clog): Likewise.
4032 * math/s_clogf.c (__clogf): Likewise.
4033 * math/s_clogl.c (__clogl): Likewise.
4034 * math/s_csin.c (__csin): Likewise.
4035 * math/s_csinf.c (__csinf): Likewise.
4036 * math/s_csinh.c (__csinh): Likewise.
4037 * math/s_csinhf.c (__csinhf): Likewise.
4038 * math/s_csinhl.c (__csinhl): Likewise.
4039 * math/s_csinl.c (__csinl): Likewise.
4040 * math/s_csqrt.c (__csqrt): Likewise.
4041 * math/s_csqrtf.c (__csqrtf): Likewise.
4042 * math/s_csqrtl.c (__csqrtl): Likewise.
4043 * math/s_ctan.c (__ctan): Likewise.
4044 * math/s_ctanf.c (__ctanf): Likewise.
4045 * math/s_ctanh.c (__ctanh): Likewise.
4046 * math/s_ctanhf.c (__ctanhf): Likewise.
4047 * math/s_ctanhl.c (__ctanhl): Likewise.
4048 * math/s_ctanl.c (__ctanl): Likewise.
4049 * math/w_pow.c: Likewise.
4050 * math/w_powf.c: Likewise.
4051 * math/w_powl.c: Likewise.
4052 * math/w_scalb.c (sysv_scalb): Likewise.
4053 * math/w_scalbf.c (sysv_scalbf): Likewise.
4054 * math/w_scalbl.c (sysv_scalbl): Likewise.
4055 * misc/error.c (error_tail): Likewise.
4056 * misc/pselect.c (__pselect): Likewise.
4057 * nis/nis_callback.c (__nis_create_callback): Likewise.
4058 * nis/nis_call.c (__nisfind_server): Likewise.
4059 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4060 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4061 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4062 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4063 * nis/nis_lookup.c (nis_lookup): Likewise.
4064 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4065 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4066 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4067 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4068 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4069 internal_getgrgid_r): Likewise.
4070 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4072 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4073 internal_getpwuid_r): Likewise.
4074 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4075 internal_getspnam_r): Likewise.
4076 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4077 _nss_nis_getaliasbyname_r): Likewise.
4078 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4079 _nss_nis_getntohost_r): Likewise.
4080 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4081 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4083 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4084 internal_nis_gethostent_r, internal_gethostbyname2_r,
4085 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4086 _nss_nis_gethostbyname4_r): Likewise.
4087 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4088 initgroups_netid): Likewise.
4089 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4090 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4091 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4092 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4093 _nss_nis_getprotobynumber_r): Likewise.
4094 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4095 _nss_nis_getsecretkey): Likewise.
4096 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4097 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4099 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4100 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4101 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4102 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4103 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4104 _nss_nis_getspnam_r): Likewise.
4105 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4107 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4108 _nss_nisplus_getntohost_r): Likewise.
4109 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4110 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4111 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4112 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4113 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4115 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4116 _nss_nisplus_getnetbyaddr_r): Likewise.
4117 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4118 _nss_nisplus_getprotobynumber_r): Likewise.
4119 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4120 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4121 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4123 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4124 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4125 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4126 _nss_nisplus_getspnam_r): Likewise.
4127 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4128 * nscd/aicache.c (addhstaiX): Likewise.
4129 * nscd/cache.c (cache_search, prune_cache): Likewise.
4130 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4131 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4132 * nscd/grpcache.c (addgrbyX): Likewise.
4133 * nscd/hstcache.c (addhstbyX): Likewise.
4134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4135 * nscd/mem.c (gc, mempool_alloc): Likewise.
4136 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4138 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4140 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4141 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4142 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4144 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4145 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4146 * nscd/nscd_helper.c (__readvall, open_socket,
4147 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4148 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4149 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4150 * nscd/pwdcache.c (addpwbyX): Likewise.
4151 * nscd/selinux.c (preserve_capabilities): Likewise.
4152 * nscd/servicescache.c (addservbyX): Likewise.
4153 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4154 * posix/fnmatch.c (fnmatch): Likewise.
4155 * posix/getopt.c (_getopt_internal_r): Likewise.
4156 * posix/glob.c (glob, glob_in_dir): Likewise.
4157 * posix/wordexp.c (exec_comm_child): Likewise.
4158 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4159 gaih_getanswer_slice): Likewise.
4160 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4161 * resolv/res_init.c: Likewise.
4162 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4163 * resolv/res_query.c (__libc_res_nquery): Likewise.
4164 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4166 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4167 * stdio-common/perror.c (perror): Likewise.
4168 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4169 * stdio-common/tmpnam.c (tmpnam): Likewise.
4170 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4171 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4172 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4173 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4174 * stdlib/putenv.c (putenv): Likewise.
4175 * stdlib/setenv.c (__add_to_environ): Likewise.
4176 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4177 * stdlib/strtol_l.c (INTERNAL): Likewise.
4178 * string/memmem.c (memmem): Likewise.
4179 * string/strerror.c (strerror): Likewise.
4180 * string/strnlen.c (__strnlen): Likewise.
4181 * string/test-memmem.c (simple_memmem): Likewise.
4182 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4183 * sunrpc/pm_getport.c (__get_socket): Likewise.
4184 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4185 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4186 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4187 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4189 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4190 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4191 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4192 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4193 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4194 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4195 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4196 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4197 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4198 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4199 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4200 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4202 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4204 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4205 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4206 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4207 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4209 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4213 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4214 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4215 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4216 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4217 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4218 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4219 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4222 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4223 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4225 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4226 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4229 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4231 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4233 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4235 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4237 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4239 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4240 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4241 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4242 * sysdeps/posix/sleep.c: Likewise.
4243 * sysdeps/posix/tempname.c: Likewise.
4244 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4245 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4248 elf_machine_rela): Likewise.
4249 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4251 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4252 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4254 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4255 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4256 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4257 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4258 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4259 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4260 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4261 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4262 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4263 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4264 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4265 elf_machine_lazy_rel): Likewise.
4266 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4267 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4268 elf_machine_lazy_rel): Likewise.
4269 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4270 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4271 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4272 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4273 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4274 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4275 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4276 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4278 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4279 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4280 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4281 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4282 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4283 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4284 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4285 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4286 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4287 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4288 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4290 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4291 (__posix_fallocate64_l64): Likewise.
4292 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4293 (posix_fallocate): Likewise.
4294 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4296 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4297 getifaddrs_internal): Likewise.
4298 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4299 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4300 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4301 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4302 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4303 (__posix_fallocate64_l64): Likewise.
4304 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4306 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4309 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4310 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4311 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4314 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4315 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4316 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4318 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4319 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4320 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4322 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4323 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4324 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4326 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4327 (posix_fallocate): Likewise.
4328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4329 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4330 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4331 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4332 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4334 * time/asctime.c (asctime_internal): Likewise.
4335 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4336 * time/tzset.c (__tzset_parse_tz): Likewise.
4337 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4338 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4339 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4340 * wcsmbs/wcsmbsload.h: Likewise.
4342 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4345 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4347 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4349 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4350 arena_get2): Remove THREAD_STATS conditionals.
4351 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4352 __malloc_stats, int): Likewise.
4354 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4356 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4357 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4359 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4361 * manual/setjmp.texi: Fix typos/grammar errors.
4363 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4365 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4366 Only return early when n is <= 0. Delete unused return statement.
4368 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4370 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4371 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4372 * debug/tst-longjmp_chk3.c: New file.
4374 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4376 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4377 (test_main): Replace code with set_fortify_handler call.
4378 * debug/test-strcpy_chk.c: Likewise.
4379 * debug/tst-chk1.c: Likewise.
4380 * debug/tst-longjmp_chk.c: Likewise.
4381 * test-skeleton.c: Include fcntl.h & paths.h
4382 (set_fortify_handler): Define.
4384 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4386 * debug/tst-longjmp_chk.c: Add header comment and include
4388 (do_test): Mark static.
4389 (TEST_FUNCTION): Define.
4391 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4393 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4394 (IP_PMTUDISC_INTERFACE): Likewise.
4395 (IP_MULTICAST_IF): Likewise.
4396 (IP_MULTICAST_TTL): Likewise.
4397 (IP_MULTICAST_LOOP): Likewise.
4398 (IP_ADD_MEMBERSHIP): Likewise.
4399 (IP_DROP_MEMBERSHIP): Likewise.
4400 (IP_UNBLOCK_SOURCE): Likewise.
4401 (IP_BLOCK_SOURCE): Likewise.
4402 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4403 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4404 (IP_MSFILTER): Likewise.
4405 (MCAST_JOIN_GROUP): Likewise.
4406 (MCAST_BLOCK_SOURCE): Likewise.
4407 (MCAST_UNBLOCK_SOURCE): Likewise.
4408 (MCAST_LEAVE_GROUP): Likewise.
4409 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4410 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4411 (MCAST_MSFILTER): Likewise.
4412 (IP_MULTICAST_ALL): Likewise.
4413 (IP_UNICAST_IF): Likewise.
4415 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4417 * timezone/Makefile: Delete $(have-ksh) check.
4418 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4419 * timezone/tzselect.ksh: Add +x mode bits.
4421 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4423 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4424 (ANON_INODE_FS_MAGIC): Likewise.
4425 (BDEVFS_MAGIC): Likewise.
4426 (BINFMTFS_MAGIC): Likewise.
4427 (BTRFS_TEST_MAGIC): Likewise.
4428 (CRAMFS_MAGIC_WEND): Likewise.
4429 (DEBUGFS_MAGIC): Likewise.
4430 (ECRYPTFS_SUPER_MAGIC): Likewise.
4431 (EXT3_SUPER_MAGIC): Likewise.
4432 (EXT4_SUPER_MAGIC): Likewise.
4433 (FUTEXFS_SUPER_MAGIC): Likewise.
4434 (HOSTFS_SUPER_MAGIC): Likewise.
4435 (HUGETLBFS_MAGIC): Likewise.
4436 (MINIX3_SUPER_MAGIC): Likewise.
4437 (MTD_INODE_FS_MAGIC): Likewise.
4438 (NILFS_SUPER_MAGIC): Likewise.
4439 (OPENPROM_SUPER_MAGIC): Likewise.
4440 (PIPEFS_MAGIC): Likewise.
4441 (PSTOREFS_MAGIC): Likewise.
4442 (QNX6_SUPER_MAGIC): Likewise.
4443 (RAMFS_MAGIC): Likewise.
4444 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4445 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4446 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4447 (SECURITYFS_MAGIC): Likewise.
4448 (SELINUX_MAGIC): Likewise.
4449 (SMACK_MAGIC): Likewise.
4450 (SOCKFS_MAGIC): Likewise.
4451 (SQUASHFS_MAGIC): Likewise.
4452 (STACK_END_MAGIC): Likewise.
4453 (TMPFS_MAGIC): Likewise.
4454 (USBDEVICE_SUPER_MAGIC): Likewise.
4455 (V9FS_MAGIC): Likewise.
4456 (XENFS_SUPER_MAGIC): Likewise.
4457 (CRAMFS_MAGIC): Fix typo in comment.
4458 (EXT2_SUPER_MAGIC): Update comment.
4459 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4461 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4463 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4464 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4465 * sysdeps/unix/sysv/linux/arm: Move directory from
4466 ports/sysdeps/unix/sysv/linux/arm.
4467 * README: Update listing for arm-*-linux-gnueabi.
4469 * README: Remove mention of am33.
4471 2014-02-07 Roland McGrath <roland@hack.frob.com>
4473 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4474 than the comma operator, to avoid "rhs of comma has no effect"
4476 (__sigfillset, __sigandset, __sigorset): Likewise.
4477 * include/signal.h (__sigemptyset): Likewise.
4478 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4480 2014-02-07 Allan McRae <allan@archlinux.org>
4482 * version.h (RELEASE): Set to "development".
4483 (VERSION): Set to "2.19.90"
4484 * NEWS: Add 2.20 section.
4486 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4489 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4491 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4493 * manual/contrib.texi: Update entry for Carlos O'Donell,
4494 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4496 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4498 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4500 * sysdeps/unix/sysv/linux/kernel-features.h
4501 [__LINUX_KERNEL_VERSION >= 0x020621]
4502 (__ASSUME_PROC_PID_TASK_COMM): Define.
4504 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4507 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4508 conversion when destination buffer does not have enough space.
4509 * libio/tst-ftell-partial-wide.c: New test case.
4510 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4512 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4513 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4514 Leonard and Allan McRae.
4516 2014-02-04 David S. Miller <davem@davemloft.net>
4518 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4521 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4550 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4552 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4553 * shlib-versions: Likewise.
4555 2014-02-04 Roland McGrath <roland@hack.frob.com>
4556 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4559 (abilist-pattern): New variable, set to %-le.abilist.
4561 * Makerules (abilist-pattern): New variable.
4562 (vpath): Use $(abilist-pattern) in place of %.abilist.
4563 (check-abi-% pattern rule): Likewise.
4564 (check-abi, update-abi): Likewise.
4566 2014-02-04 Eric Wong <normalperson@yhbt.net>
4568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4570 2014-02-04 Eric Wong <normalperson@yhbt.net>
4572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4574 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4576 * manual/startup.texi: Add next, previous, and top entries for
4577 the `Program Arguments' and `Environment Variables' nodes.
4579 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4581 * manual/macros.texi: Add comments before MTASC-safety macros.
4583 * manual/users.texi: Document MTASC-safety properties.
4585 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4586 pthread_getspecific, pthread_setspecific): Format with
4587 @deftypefun, and add @safety note.
4588 * manual/signal.texi: Move comments that analyze the above
4589 functions to their home place.
4591 2014-02-03 Allan McRae <allan@archlinux.org>
4593 * po/sl.po: Update Slovenian translation from translation project.
4595 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4597 * manual/time.texi (timegm): Add missing blank after @c.
4598 Reported by Joseph Myers <joseph@codesourcery.com>.
4600 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4602 * manual/check-safety.sh: New.
4603 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4605 * manual/terminal.texi: Document MTASC-safety properties.
4607 * manual/filesys.texi: Document MTASC-safety properties.
4609 * manual/errno.texi: Document MTASC-safety properties.
4611 * manual/intro.texi: Document safety identifiers and
4614 * manual/string.texi (wcstok): Fix prototype.
4615 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4617 * manual/time.texi: Document MTASC-safety properties.
4619 * manual/string.texi: Document MTASC-safety properties.
4621 * manual/threads.texi: Document MTASC-safety properties.
4623 * manual/stdio.texi: Document MTASC-safety properties.
4625 * manual/syslog.texi: Document MTASC-safety properties.
4627 * manual/sysinfo.texi: Document MTASC-safety properties.
4629 * manual/startup.texi: Document MTASC-safety properties.
4631 * manual/socket.texi: Document MTASC-safety properties.
4633 * manual/signal.texi: Document MTASC-safety properties.
4635 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4637 * manual/setjmp.texi: Document MTASC-safety properties.
4639 * manual/search.texi: Document MTASC-safety properties.
4641 * manual/resource.texi: Document MTASC-safety properties.
4643 * manual/process.texi: Document MTASC-safety properties.
4645 * manual/platform.texi: Document MTASC-safety properties.
4647 * manual/pipe.texi: Document MTASC-safety properties.
4649 * manual/pattern.texi: Document MTASC-safety properties.
4651 * manual/message.texi: Document MTASC-safety properties.
4654 * manual/memory.texi: Document MTASC-safety properties.
4656 * manual/math.texi: Document MTASC-safety properties.
4658 * manual/locale.texi: Document MTASC-safety properties.
4660 * manual/llio.texi: Document MTASC-safety properties.
4662 * manual/libdl.texi: New.
4664 * manual/lang.texi: Document MTASC-safety properties.
4666 * manual/job.texi: Document MTASC-safety properties.
4668 * manual/getopt.texi: Document MTASC-safety properties.
4670 * manual/ctype.texi: Document MTASC-safety properties.
4672 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4675 * csu/libc-tls.c (static_map): Remove variable.
4676 (__libc_setup_tls): Use main executable's link map for TLS data.
4677 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4678 casing for LM_ID_BASE and GL(dl_nns).
4679 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4680 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4681 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4682 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4683 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4685 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4688 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4690 * manual/debug.texi: Document MTASC-safety properties.
4692 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4695 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4696 of __x86_64__ when disabling x87 inline functions.
4698 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4700 * manual/charset.texi: Document MTASC-safety properties.
4702 * manual/crypt.texi: Document MTASC-safety properties.
4704 * manual/conf.texi: Document MTASC-safety properties.
4706 * manual/arith.texi: Document MTASC-safety properties.
4708 * manual/argp.texi: Document MTASC-safety properties.
4710 * manual/macros.texi: Introduce macros to document multi
4711 thread, asynchronous signal and asynchronous cancellation
4713 * manual/intro.texi: Introduce the properties themselves.
4715 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4717 * sysdeps/sh/sh4/Makefile: New file.
4719 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4721 * math/gen-libm-test.pl ($srcdir): New variable.
4722 ($auto_input): Use it.
4724 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4727 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4728 access beyond array bounds when parsing netgroups file.
4730 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4731 the old buffer before realloc.
4733 2014-01-27 Allan McRae <allan@archlinux.org>
4735 * po/fr.po: Update French translation from translation project.
4737 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4739 * sysdeps/sh/libm-test-ulps: Regenerate.
4741 2014-01-24 David S. Miller <davem@davemloft.net>
4743 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4745 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4747 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4748 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4750 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4753 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4754 string pointers after reallocation.
4756 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4758 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4759 __SH4A__ instead of __SH_FPU_ANY__.
4761 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4763 * sysdeps/sh/fpu_control.h: New file.
4764 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4765 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4766 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4767 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4768 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4769 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4770 * sysdeps/sh/sys/ucontext.h: Remove.
4771 * sysdeps/sh/sys: Remove directory.
4773 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4775 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4776 s390/sys/ucontext.h.
4777 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4778 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4780 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4783 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4785 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4789 Adjust the vDSO correctly for internal calls.
4790 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4792 2014-01-20 Allan McRae <allan@archlinux.org>
4794 * po/ca.po: Update Catalan translation from translation project.
4796 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4798 * sysdeps/s390/sotruss-lib.c: New file.
4800 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4803 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4804 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4805 local calls issues by not having a PLT stub required for IFUNC calls.
4806 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4808 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4810 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4811 * math/test-fpucw-static.c: Likewise.
4813 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4816 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4818 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4820 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4821 implementation for powerpc.
4823 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4826 * sysdeps/posix/system.c (__libc_system): Do not enable
4827 asynchronous cancellation.
4829 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4832 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4833 handling only for numbers special also in the IEEE case.
4835 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4837 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4839 2014-01-11 Allan McRae <allan@archlinux.org>
4841 * po/bg.po: Update Bulgarian translation from translation project.
4843 * po/de.po: Update German translation from translation project.
4845 2014-01-10 Roland McGrath <roland@hack.frob.com>
4847 * sysdeps/generic/gcc-compat.h: New file.
4849 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4851 * benchtests/asin-inputs: Correct slow inputs.
4852 * benchtests/acos-inputs: Likewise.
4854 2014-01-10 Allan McRae <allan@archlinux.org>
4856 * po:sv.po: Update Swedish translation from translation project.
4858 * po/vi.po: Update Vietnamese translation from translation project.
4860 * po/eo.po: Update Esperanto translation from translation project.
4862 * po/cs.po: Update Czech translation from translation project.
4864 * po/nl.po: Update Dutch translation from translation project.
4866 * po/pl.po: Update Polish translation from translation project.
4868 * po/ru.po: Update Russian translation from translation project.
4870 * po/uk.po: Update Ukrainian translation from translation project.
4872 2014-01-08 Brooks Moses <bmoses@google.com>
4874 * elf/dl-load.c: Fix comment typo.
4876 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4878 * po/header.pot: Rename to...
4879 * po/pot.header: ... this.
4880 * po/Makefile: Use pot.header.
4882 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4883 Maxim Kuvyrkov <maxim@kugelworks.com>
4886 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4887 SRC and DEST against LEN.
4889 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4892 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4894 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4896 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4900 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4904 for large positive arguments.
4906 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4908 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4910 * math/auto-libm-test-in: Mark various tests with
4911 xfail-rounding:ldbl-128ibm.
4912 * math/auto-libm-test-out: Regenerated.
4915 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4916 Increase overflow threshold.
4918 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4921 * stdio-common/vfprintf.c: Check for integer overflow.
4923 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4925 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4926 the first argument and return value of __tls_get_addr_internal.
4928 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4930 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4931 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4933 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4935 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4936 * sysdeps/s390/rtld-global-offsets.sym: New file.
4937 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4939 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4940 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4941 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4943 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4944 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4950 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4951 halfs of GPRs for high_gprs contexts.
4952 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4953 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4955 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4957 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4959 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4960 for high GPRs (uc_high_gprs) and for future extensions
4962 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4963 for future extensions (__reserved).
4964 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4966 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4967 SC_HIGHGPRS offset definition.
4968 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4969 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4971 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4973 * Versions.def: Add GLIBC_2.19 for libpthread.
4974 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4975 siglongjmp for libpthread with GLIBC_2.19 symver.
4976 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4977 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4978 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4979 * sysdeps/s390/__longjmp.c: New file.
4980 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4981 * sysdeps/s390/longjmp.c: New file.
4982 * sysdeps/s390/setjmp.S: New file.
4983 * sysdeps/s390/sigjmp.S: New file.
4984 * sysdeps/s390/v1-longjmp.c: New file.
4985 * sysdeps/s390/v1-setjmp.h: New file.
4986 * sysdeps/s390/v1-sigjmp.c: New file.
4987 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4988 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4990 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4991 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4992 versioned symbols for ____longjmp_chk.
4993 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5003 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5004 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5005 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5006 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5007 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5008 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5009 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5010 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5011 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5012 * sysdeps/s390/rtld-__longjmp.c: New file.
5013 * sysdeps/s390/rtld-setjmp.S: New file.
5015 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5018 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5019 Return -__logl (x) for small positive arguments without evaluating
5022 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5024 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5026 (__ptrace_peeksiginfo_args): ... this.
5027 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5028 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5029 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5031 2014-01-06 Allan McRae <allan@archlinux.org>
5033 * inet/netinet/in.h: Fix typo in comment.
5035 2014-01-05 Andreas Jaeger <aj@suse.de>
5037 * sysdeps/i386/fpu/libm-test-ulps: Update.
5039 2014-01-05 Allan McRae <allan@archlinux.org>
5041 * po/libc.pot: Regenerated.
5043 * malloc/memusagestat.c: Fix gettext call formatting.
5045 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5047 * nscd/nscd.c: Improve usage() output.
5049 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5051 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5052 * sysdeps/unix/sysv/linux/configure: Regenerated.
5053 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5054 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5056 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5059 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5060 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5062 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5064 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5065 extra tokens at end of #undef directive.
5066 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5067 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5068 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5070 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5072 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5074 * math/auto-libm-test-in: Mark various tests with
5075 xfail-rounding:ldbl-128ibm.
5076 * math/auto-libm-test-out: Regenerated.
5078 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5082 numbers with subnormal high part when calculating exponent.
5085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5089 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5091 (__ieee754_acoshl): Use __log1pl not __log1p.
5093 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5095 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5096 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5097 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5098 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5099 Convert to GNU style.
5100 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5101 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5102 memalign_check, __malloc_set_state): Likewise.
5103 * malloc/mallocbug.c (main): Likewise.
5104 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5105 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5106 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5107 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5108 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5109 * malloc/malloc.h: Likewise.
5110 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5111 memalignhook, reallochook, mabort): Likewise.
5112 * malloc/mcheck.h: Likewise.
5113 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5114 mmap64, mremap, munmap, dest): Likewise.
5115 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5116 * malloc/morecore.c (__default_morecore): Likewise.
5117 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5118 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5119 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5120 print_and_abort): Likewise.
5121 * malloc/obstack.h: Likewise.
5122 * malloc/set-freeres.c (__libc_freeres): Likewise.
5123 * malloc/tst-mallocstate.c (main): Likewise.
5124 * malloc/tst-mtrace.c (main): Likewise.
5125 * malloc/tst-realloc.c (do_test): Likewise.
5127 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5130 * nscd/netgroupcache.c (do_notfound): New function.
5131 (addgetnetgrentX): Use it.
5134 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5135 NSS_STATUS_NOTFOUND.
5137 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5139 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5142 2014-01-01 Allan McRae <allan@archlinux.org>
5144 * scripts/update-copyrights: Update configure input file suffix.
5146 * NEWS: Update copyright year.
5147 * catgets/gencat.c: Likewise.
5148 * csu/version.c: Likewise.
5149 * debug/catchsegv.sh: Likewise.
5150 * debug/pcprofiledump.c: Likewise.
5151 * debug/xtrace.sh: Likewise.
5152 * elf/ldconfig.c: Likewise.
5153 * elf/ldd.bash.in: Likewise.
5154 * elf/pldd.c: Likewise.
5155 * elf/sotruss.ksh: Likewise.
5156 * elf/sprof.c: Likewise.
5157 * iconv/iconv_prog.c: Likewise.
5158 * iconv/iconvconfig.c: Likewise.
5159 * locale/programs/locale.c: Likewise.
5160 * locale/programs/localedef.c: Likewise.
5161 * login/programs/pt_chown.c: Likewise.
5162 * malloc/memusage.sh: Likewise.
5163 * malloc/memusagestat.c: Likewise.
5164 * malloc/mtrace.pl: Likewise.
5165 * manual/libc.texinfo: Likewise.
5166 * nscd/nscd.c: Likewise.
5167 * nss/getent.c: Likewise.
5168 * nss/makedb.c: Likewise.
5169 * posix/getconf.c: Likewise.
5170 * scripts/test-installation.pl: Likewise.
5172 * All files with FSF copyright notices: Update copyright dates
5173 using scripts/update-copyrights.
5174 * intl/plural.c: Regenerated.
5175 * locale/programs/charmap-kw.h: Likewise.
5176 * locale/programs/locfile-kw.h: Likewise.
5178 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5180 * sysdeps/unix/sysv/linux/configure: Regenerated.
5181 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5182 the linux/fanotify.h header.
5183 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5184 HAVE_LINUX_FANOTIFY_H is defined.
5186 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * benchtests/cos-inputs: New inputs.
5189 * benchtests/sin-inputs: Likewise.
5191 * benchtests/atan-inputs: New inputs. Fix name of multiple
5192 precision fallback inputs.
5194 * benchtests/atanh-inputs: New inputs.
5195 * benchtests/tanh-inputs: Likewise.
5197 * benchtests/acosh-inputs: New inputs.
5198 * benchtests/asinh-inputs: Likewise.
5200 * benchtests/cosh-inputs: New inputs.
5201 * benchtests/sinh-inputs: Likewise.
5203 * benchtests/acos-inputs: Add more inputs.
5204 * benchtests/asin-inputs: Likewise.
5206 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5209 * manual/arith.texi: Fix spelling.
5210 * manual/charset.texi: Likewise.
5211 * manual/errno.texi: Likewise.
5212 * manual/filesys.texi: Likewise.
5213 * manual/lang.texi: Likewise.
5214 * manual/llio.texi: Likewise.
5215 * manual/locale.texi: Likewise.
5216 * manual/message.texi: Likewise.
5217 * manual/resource.texi: Likewise.
5218 * manual/search.texi: Likewise.
5219 * manual/setjmp.texi: Likewise.
5220 * manual/stdio.texi: Likewise.
5221 * manual/string.texi: Likewise.
5222 * manual/sysinfo.texi: Likewise.
5223 * manual/time.texi: Likewise.
5225 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5227 * po/sl.po: New file.
5229 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5231 * .gitignore: Add core/.gdbinit/.gdb_history.
5233 2013-12-27 Allan McRae <allan@archlinux.org>
5236 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5237 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5239 2013-12-24 Brooks Moses <bmoses@google.com>
5241 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5242 all compilers that claim C++98 compliance, not just GCC.
5243 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5246 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5248 * NEWS: Restore accidentally deleted bug-fix entries.
5250 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5251 Ondřej Bílka <neleai@seznam.cz>
5254 * malloc/malloc.c (_int_free): Perform sanity check only if we
5257 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5260 * manual/stdio.texi (String Input Conversions): Clarify that character
5261 classes are not supported.
5263 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5267 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5270 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5271 Calculate results for small negative arguments directly rather
5272 than using reflection formula with special underflow handling.
5274 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5275 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5276 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5277 (fchflags): Likewise.
5279 (setlogin): Likewise.
5280 (sigaltstack): Likewise.
5283 (sigsetmask): Likewise.
5285 (waitpid): Likewise.
5286 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5287 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5289 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5290 * sysdeps/unix/bsd/Makefile: ... here.
5291 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5292 * sysdeps/unix/bsd/Versions: ... here.
5293 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5294 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5295 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5296 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5297 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5298 * sysdeps/unix/bsd/sigblock.c: ... here.
5299 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5300 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5301 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5302 * sysdeps/unix/bsd/sigvec.c: ... here.
5303 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5304 * sysdeps/unix/bsd/tcdrain.c: ... here.
5305 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5306 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5307 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5308 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5309 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5310 * sysdeps/unix/bsd/wait.c: ... here.
5311 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5312 * sysdeps/unix/bsd/wait3.c: ... here.
5313 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5314 * sysdeps/unix/bsd/waitpid.c: ... here.
5316 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5319 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5320 round-to-nearest for [!USE_AS_EXPM1L].
5321 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5322 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5323 more tests of exp and exp10. Expect some exp10 tests to miss
5324 exceptions or fail in directed rounding modes.
5325 * math/auto-libm-test-out: Regenerated.
5326 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5327 (exp10_test_tonearest): New function.
5328 (exp10_towardzero_test_data): New array.
5329 (exp10_test_towardzero): New function.
5330 (exp10_downward_test_data): New array.
5331 (exp10_test_downward): New function.
5332 (exp10_upward_test_data): New array.
5333 (exp10_test_upward): New function.
5334 (main): Call the new functions.
5335 * sysdeps/i386/fpu/libm-test-ulps: Update.
5336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5338 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5340 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5341 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5342 * math/auto-libm-test-out: Regenerated.
5343 * math/libm-test.inc (acosh_test_data): Add more tests.
5344 (atanh_test_data): Likewise.
5345 (ceil_test_data): Likewise.
5346 (copysign_test_data): Likewise.
5347 * sysdeps/i386/fpu/libm-test-ulps: Update.
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5350 * timezone/checktab.awk: Update from tzcode 2013i.
5351 * timezone/private.h: Likewise.
5352 * timezone/scheck.c: Likewise.
5353 * timezone/tzfile.h: Likewise.
5354 * timezone/tzselect.ksh: Likewise.
5355 * timezone/zdump.c: Likewise.
5356 * timezone/zic.c: Likewise.
5358 * math/auto-libm-test-in: Add tests of cpow.
5359 * math/auto-libm-test-out: Regenerated.
5360 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5361 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5363 (func_calc_desc): Add mpc_cc_c union field.
5364 (test_functions): Add cpow.
5365 (special_fill_2pi): New function.
5366 (special_real_inputs): Add 2pi.
5367 (calc_generic_results): Handle mpc_cc_c.
5368 * sysdeps/i386/fpu/libm-test-ulps: Update.
5369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5371 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5372 csqrt, ctan and ctanh.
5373 * math/auto-libm-test-out: Regenerated.
5374 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5375 (TEST_COND_x86): Likewise.
5376 (ccos_test_data): Use AUTO_TESTS_c_c.
5377 (ccosh_test_data): Likewise.
5378 (cexp_test_data): Likewise.
5379 (clog_test_data): Likewise.
5380 (csqrt_test_data): Likewise.
5381 (ctan_test_data): Likewise.
5382 (ctan_tonearest_test_data): Likewise.
5383 (ctan_towardzero_test_data): Likewise.
5384 (ctan_downward_test_data): Likewise.
5385 (ctan_upward_test_data): Likewise.
5386 (ctanh_test_data): Likewise.
5387 (ctanh_tonearest_test_data): Likewise.
5388 (ctanh_towardzero_test_data): Likewise.
5389 (ctanh_downward_test_data): Likewise.
5390 (ctanh_upward_test_data): Likewise.
5391 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5393 (func_calc_desc): Add mpc_c_c union field.
5394 (FUNC_mpc_c_c): New macro.
5395 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5396 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5398 (special_fill_min_subnorm_p120): New function.
5399 (special_real_inputs): Add min_subnorm_p120.
5400 (calc_generic_results): Handle mpc_c_c.
5401 * sysdeps/i386/fpu/libm-test-ulps: Update.
5402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5404 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5406 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5407 do_sin_slow): New functions.
5408 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5409 cslow2, csloww1, csloww2): Use the new functions.
5411 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5412 Use M to change sign of result instead of X. Assume X is
5414 (csloww1): Likewise.
5418 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5425 (sloww1): Don't adjust sign of DX.
5426 (csloww1): Likewise.
5427 (sloww2): Use X directly and don't adjust sign of DX.
5428 (csloww2): Likewise.
5430 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5432 * math/auto-libm-test-in: Add tests of cabs and carg.
5433 * math/auto-libm-test-out: Regenerated.
5434 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5435 (carg_test_data): Likewise.
5436 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5438 (func_calc_desc): Add mpc_c_f union field.
5439 (test_functions): Add cabs and carg.
5440 (calc_generic_results): Handle mpc_c_f.
5442 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5443 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5444 as a macro and a compat symbol.
5445 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5446 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5447 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5448 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5449 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5450 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5452 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5454 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5456 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5458 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5460 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5462 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5463 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5466 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5470 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5472 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5473 trailing whitespace removed.
5474 * scripts/config.guess: Update to version 2013-11-29.
5475 * scripts/config.sub: Update to version 2013-10-01.
5477 * math/auto-libm-test-in: Add tests of sincos.
5478 * math/auto-libm-test-out: Regenerated.
5479 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5480 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5482 (func_calc_desc): Add mpfr_f_11 union field.
5483 (test_functions): Add sincos.
5484 (calc_generic_results): Handle mpfr_f_11.
5485 * sysdeps/i386/fpu/libm-test-ulps: Update.
5486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5488 2013-12-19 Andreas Schwab <schwab@suse.de>
5490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5492 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5493 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5494 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5496 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5498 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5499 * sysdeps/i386/fpu/libm-test-ulps: Update.
5500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5503 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5504 round-to-nearest mode when using frndint.
5505 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5506 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5509 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5511 * math/auto-libm-test-out: Regenerated.
5512 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5513 (TEST_COND_x86): Likewise.
5514 (expm1_tonearest_test_data): New array.
5515 (expm1_test_tonearest): New function.
5516 (expm1_towardzero_test_data): New array.
5517 (expm1_test_towardzero): New function.
5518 (expm1_downward_test_data): New array.
5519 (expm1_test_downward): New function.
5520 (expm1_upward_test_data): New array.
5521 (expm1_test_upward): New function.
5522 (main): Run the new test functions.
5523 * sysdeps/i386/fpu/libm-test-ulps: Update.
5524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5526 * include/features.h: Update comment documenting feature test
5527 macros. Mention _DEFAULT_SOURCE in comment.
5528 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5529 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5530 _BSD_SOURCE and _SVID_SOURCE.
5531 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5532 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5533 !_SVID_SOURCE]: Likewise.
5534 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5535 (__USE_POSIX_IMPLICITLY): Define.
5536 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5537 (_POSIX_SOURCE): Undefine and redefine.
5538 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5539 (_POSIX_C_SOURCE): Likewise.
5540 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5541 (Feature Test Macros): Update documentation of default features.
5543 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5545 * benchtests/Makefile: Add bench-strtok.
5546 * benchtests/bench-strtok.c: New file: strtok benchtest.
5548 2013-12-19 Allan McRae <allan@archlinux.org>
5550 * manual/install.texi: Suppress menu for plain text output.
5551 * INSTALL: Regenerated.
5553 2013-12-18 Brooks Moses <bmoses@google.com>
5556 * misc/getauxval.c: Include errno.h.
5557 (__getauxval): Set errno to ENOENT if the requested type is not
5559 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5560 don't declare with __attribute_const__.
5561 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5562 * manual/startup.texi: Document that getauxval sets errno.
5564 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5566 * math/auto-libm-test-in: Add tests of jn and yn.
5567 * math/auto-libm-test-out: Regenerated.
5568 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5569 (yn_test_data): Likewise.
5570 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5572 (func_calc_desc): Add mpfr_if_f union field.
5573 (FUNC_mpfr_if_f): New macro.
5574 (test_functions): Add jn and yn.
5575 (calc_generic_results): Assert type of second input for
5576 mpfr_ff_f. Handle mpfr_if_f.
5577 (output_for_one_input_case): Disable all checking for arguments
5578 fitting floating-point types in case of an integer argument.
5579 * sysdeps/i386/fpu/libm-test-ulps: Update.
5580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5583 Don't expect fegetround reference in libm.so.
5585 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5587 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5588 $(config-cflags-nofma).
5590 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5592 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5593 * math/auto-libm-test-out: Regenerated.
5596 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5597 to determine exponent and adjust argument to have exponent of -1.
5598 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5600 * math/auto-libm-test-out: Regenerated.
5601 * sysdeps/i386/fpu/libm-test-ulps: Update.
5602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5604 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5606 * manual/probes.texi: Remove cases when per-thread arenas are
5609 2013-12-18 Andreas Schwab <schwab@suse.de>
5611 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5612 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5613 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5614 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5615 * sysdeps/i386/i686/multiarch/Makefile: Update.
5616 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5618 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5620 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5621 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5623 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5626 Support TZ transition times < 00:00:00.
5627 This is needed for version-3 tz-format files; it supports time
5628 stamps past 2037 for America/Godthab (the only entry in the tz
5629 database for which this change is relevant).
5630 * manual/time.texi (TZ Variable): Document transition times
5631 from -167:59:59 through -00:00:01.
5632 * time/tzset.c (tz_rule): Time of day is now signed.
5633 (__tzset_parse_tz): Parse negative time of day.
5635 Document TZ transition times >= 25:00:00.
5636 * manual/time.texi (TZ Variable): Document transition times from
5637 25:00:00 through 167:59:59. These are already supported, and this
5638 support will help with version-3 tz-format files.
5640 * manual/time.texi (TZ Variable): Modernize North America example
5641 to reflect current (i.e., 2007-and-later) daylight saving rules.
5643 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5645 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5647 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5648 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5649 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5651 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5652 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5653 * sysdeps/unix/bsd/clock.c: Likewise.
5654 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5655 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5656 * sysdeps/unix/bsd/init-posix.c: Likewise.
5657 * sysdeps/unix/bsd/poll.c: Likewise.
5658 * sysdeps/unix/bsd/ptsname.c: Likewise.
5659 * sysdeps/unix/bsd/seekdir.c: Likewise.
5660 * sysdeps/unix/bsd/setegid.c: Likewise.
5661 * sysdeps/unix/bsd/seteuid.c: Likewise.
5662 * sysdeps/unix/bsd/setgid.c: Likewise.
5663 * sysdeps/unix/bsd/setrgid.c: Likewise.
5664 * sysdeps/unix/bsd/setruid.c: Likewise.
5665 * sysdeps/unix/bsd/setsid.c: Likewise.
5666 * sysdeps/unix/bsd/setuid.c: Likewise.
5667 * sysdeps/unix/bsd/sigaction.c: Likewise.
5668 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5669 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5670 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5671 * sysdeps/unix/bsd/telldir.c: Likewise.
5672 * sysdeps/unix/bsd/times.c: Likewise.
5673 * sysdeps/unix/bsd/usleep.c: Likewise.
5675 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5676 ($(objpfx)libbsd-compat.a): Remove rule.
5678 * include/features.h (__FAVOR_BSD): Do not define.
5679 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5680 features conflicting with POSIX.
5681 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5682 (_BSD_SOURCE): Remove description of not being a subset of other
5683 feature test macros.
5684 * manual/job.texi (getpgrp): Do not document BSD version.
5685 (getpgid): Do not document by reference to BSD getpgrp.
5686 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5687 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5688 * signal/signal.h [__FAVOR_BSD]: Likewise.
5689 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5690 instead of making contents conditional on [__FAVOR_BSD].
5691 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5693 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5697 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5700 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5701 values below 2**-450, not 2**-500.
5702 * math/auto-libm-test-in: Don't allow spurious underflow from
5704 * math/auto-libm-test-out: Regenerated.
5708 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5709 values of ha and hb and sort them after adjusting subnormal
5711 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5713 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5714 values of ea and eb and sort them after adjusting subnormal
5716 * math/auto-libm-test-in: Do not expect some hypot tests of
5717 subnormals to fail. Add more hypot tests.
5718 * math/auto-libm-test-out: Regenerated.
5720 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5723 * sysdeps/sh/s_fma.c: New file.
5724 * sysdeps/sh/s_fmaf.c: New file.
5725 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5727 * sysdeps/sh/Implies: Add sh/soft-fp.
5729 2013-12-16 Roland McGrath <roland@hack.frob.com>
5731 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5732 level of indirection to members `objname', `errstring', `malloced'.
5733 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5734 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5735 it as the __longjmp argument (just pass 1 instead).
5736 (_dl_catch_error): Initialize C with argument pointers and address of
5737 volatile local ERRCODE rather than copying values out of C at return.
5739 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5741 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5742 * math/auto-libm-test-out: Regenerated.
5743 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5744 (hypot_test_data): Likewise.
5745 (pow_test_data): Likewise.
5746 (pow_tonearest_test_data): Likewise.
5747 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5749 (func_calc_desc): Add mpfr_ff_f union field.
5750 (FUNC_mpfr_ff_f): New macro.
5751 (test_functions): Add atan2, hypot and pow.
5752 (special_fill_min): New function.
5753 (special_fill_minus_min): Likewise.
5754 (special_fill_min_subnorm): Likewise.
5755 (special_fill_minus_min_subnorm): Likewise.
5756 (special_real_inputs): Add min, -min, min_subnorm and
5758 (calc_generic_results): Handle mpfr_ff_f.
5759 * sysdeps/i386/fpu/libm-test-ulps: Update.
5760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5762 2013-12-16 Will Newton <will.newton@linaro.org>
5764 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5765 (Aligned Memory Blocks): Add documentation for aligned_alloc
5766 and suggest it as an alternative to posix_memalign.
5767 (Hooks for Malloc): Document __memalign_hook is also called
5768 for aligned_alloc. (Summary of Malloc): Add summary for
5769 aligned alloc. Document __memalign_hook is also called
5772 2013-12-16 Will Newton <will.newton@linaro.org>
5774 * manual/memory.texi (Malloc Examples): Clarify default
5775 alignment documentation. Suggest posix_memalign rather
5776 than memalign or valloc.
5777 (Aligned Memory Blocks): Remove suggestion to use memalign
5778 or valloc. Remove obsolete comment about BSD.
5779 Document memalign errno values and mark the function obsolete.
5780 Document posix_memalign returned error codes. Mark valloc
5781 as obsolete. (Hooks for Malloc): __memalign_hook is also
5782 called for posix_memalign and valloc.
5783 (Summary of Malloc): Add posix_memalign to function summary.
5784 __memalign_hook is also called for posix_memalign and valloc.
5786 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5788 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5792 (sloww): Use mynumber union. Expand ternary operator into
5794 (cslow): use mynumber union.
5796 2013-12-16 Allan McRae <allan@archlinux.org>
5798 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5799 * configure: Regenerated.
5801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5804 * configure.ac: Added --enable-maintainer-mode. Check for
5805 autoconf when enabled.
5806 * configure: Regenerated.
5808 * nscd/nscd.service: New file.
5809 * nscd/nscd.tmpfiles: New file.
5811 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5814 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5815 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5816 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5817 (strstr): Add __strstr_sse2_unaligned ifunc.
5818 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5819 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5820 (strcasestr): Remove __strcasestr_sse42 ifunc.
5821 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5822 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5825 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5827 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5828 * sysdeps/sh/bits/fenv.h: ... here.
5829 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5831 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5833 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5835 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5838 hypotf multiarch implementations.
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5841 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5842 multiarch hypot for PPC64.
5843 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5846 multiarch hypotf for PPC64.
5848 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5851 modff multiarch implementations.
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5855 multiarch modf for PPC64.
5856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5859 multiarch modff for PPC64.
5861 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5864 and logl multiarch implementations.
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5868 multiarch logb for PPC64.
5869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5872 multiarch logb for PPC64.
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5876 multiarch logb for PPC64.
5878 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5881 isinff multiarch implementation.
5882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5886 multiarch isinf for PPC64.
5887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5890 multiarch isinff for PPC64.
5892 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5895 finitef multiarch implementation.
5896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5900 multiarch finite for PPC64.
5901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5904 multiarch finitef for PPC64.
5906 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5909 lrint multiarch implementation.
5910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5914 multiarch llrint for PPC64.
5915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5916 multiarch lrint for PPC64.
5918 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5921 copysignf multiarch implementation.
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5927 multiarch copysign for PPC64.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5929 multiarch copysignf for PPC64.
5931 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5934 multiarch implementation.
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5943 multiarch llround for PPC64.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5945 multiarch trunc for PPC64.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5947 multiarch truncf for PPC64.
5949 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5952 multiarch implementation.
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5961 multiarch llround for PPC64.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5963 multiarch round for PPC64.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5965 multiarch roundf for PPC64.
5967 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5970 multiarch implementation.
5971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5979 multiarch llround for PPC64.
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5981 multiarch floor for PPC64.
5982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5983 multiarch floorf for PPC64.
5985 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5988 multiarch implementation.
5989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5997 multiarch llround for PPC64.
5998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5999 multiarch ceil for PPC64.
6000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6001 multiarch ceilf for PPC64.
6003 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6006 multiarch implementation.
6007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6014 multiarch llround for PPC64.
6015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6016 multiarch lround for PPC64.
6018 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6021 multiarch implementation.
6022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6029 multiarch isnan for PPC64.
6030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6031 multiarch isnanf for PPC64.
6033 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6035 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6036 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6037 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6038 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6039 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6042 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6044 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6045 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6049 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6052 multiarch implementations.
6053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6054 (__libc_ifunc_impl_list): Likewise.
6055 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6056 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6057 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6058 multiarch stpcpy for PPC64.
6060 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6063 multiarch implementations.
6064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6065 (__libc_ifunc_impl_list): Likewise.
6066 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6067 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6068 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6069 multiarch strcpy for PPC64.
6071 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6073 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6074 redefine function name.
6075 (_wordcopy_fwd_dest_aligned): Likewise.
6076 (_wordcopy_bwd_aligned): Likewise.
6077 (_wordcopy_bwd_dest_aligned): Likewise.
6078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6079 multiarch implementations.
6080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6081 (__libc_ifunc_impl_list): Likewise.
6082 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6083 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6084 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6085 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6086 multiarch wcscpy for PPC64.
6088 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6091 multiarch implementations.
6092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6093 (__libc_ifunc_impl_list): Likewise.
6094 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6095 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6096 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6097 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6098 multiarch wcscpy for PPC64.
6100 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6103 multiarch implementations.
6104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6105 (__libc_ifunc_impl_list): Likewise.
6106 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6107 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6108 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6109 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6110 multiarch wcsrchr for PPC64.
6112 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6115 multiarch implementations.
6116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6117 (__libc_ifunc_impl_list): Likewise.
6118 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6119 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6120 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6121 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6122 multiarch wcschr for PPC64.
6124 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6127 multiarch implementations.
6128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6129 (__libc_ifunc_impl_list): Likewise.
6130 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6131 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6132 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6133 multiarch strchrnul for PPC64.
6135 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6140 (__libc_ifunc_impl_list): Likewise.
6141 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6142 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6143 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6144 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6147 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6152 (__libc_ifunc_impl_list): Likewise.
6153 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6154 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6155 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6156 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6159 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6162 multiarch implementations.
6163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6164 (__libc_ifunc_impl_list): Likewise.
6165 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6166 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6167 strncasecmp for PPC64.
6168 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6169 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6170 multiarch strncasecmp_l for PPC64.
6172 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6175 multiarch implementations.
6176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6177 (__libc_ifunc_impl_list): Likewise.
6178 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6179 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6180 multiarch strcasecmp for PPC64.
6181 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6183 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6184 multiarch strcasecmp_l for PPC64.
6186 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6191 (__libc_ifunc_impl_list): Likewise.
6192 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6193 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6194 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6197 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6202 (__libc_ifunc_impl_list): Likewise.
6203 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6204 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6205 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6208 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6213 (__libc_ifunc_impl_list): Likewise.
6214 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6215 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6216 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6217 rawmemrchr for PPC64.
6219 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6224 (__libc_ifunc_impl_list): Likewise.
6225 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6226 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6227 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6230 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6235 (__libc_ifunc_impl_list): Likewise.
6236 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6237 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6238 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6241 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6246 (__libc_ifunc_impl_list): Likewise.
6247 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6248 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6249 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6252 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6254 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6255 avoid cretion of __bzero symbol.
6256 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6258 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6260 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6263 multiarch implementations.
6264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6265 (__libc_ifunc_impl_list): Likewise.
6266 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6267 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6268 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6269 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6271 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6272 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6273 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6274 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6275 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6277 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6279 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6285 (__libc_ifunc_impl_list): Likewise.
6286 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6287 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6288 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6289 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6292 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6295 multiarch for POWER/PPC64.
6296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6297 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6303 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6304 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6307 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6309 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6310 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6311 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6312 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6313 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6314 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6316 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6317 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6318 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6319 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6320 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6321 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6322 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6323 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6332 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6334 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6336 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6338 * benchtests/Makefile (bench): Add exp2 and log2.
6339 (LDLIBS-bench-exp2): Add -lm.
6340 (LDLIBS-bench-log2): Likewise.
6341 * benchtests/exp2-inputs: New inputs file.
6342 * benchtests/log2-inputs: New inputs file.
6343 * benchtests/log-inputs: Add new inputs.
6344 * benchtests/tan-inputs: Likewise.
6346 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6348 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6350 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6351 csloww1, csloww2): ... from here.
6353 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6354 instead of structures.
6355 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6356 (POLYNOMIAL): Likewise.
6357 (TAYLOR_SLOW): Likewise.
6365 (bsloww1): Likewise.
6366 (bsloww2): Likewise.
6369 (csloww1): Likewise.
6370 (csloww2): Likewise.
6372 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6374 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6375 (__malloc_assert, __libc_realloc, __libc_calloc,
6376 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6378 * malloc/hooks.c (realloc_check): Likewise.
6380 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6382 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6383 * malloc/arena.c: Remove PER_THREAD conditional.
6384 [!PER_THREAD]: Remove code.
6385 (ptmalloc_unlock_all2): Likewise.
6386 (ptmalloc_init): Likewise.
6387 (_int_new_arena): Likewise.
6388 (arena_get2): Likewise.
6389 * malloc/hooks.c (__malloc_get_state): Likewise.
6390 (__malloc_set_state): Likewise.
6391 * malloc/malloc.c: Likewise.
6392 (struct malloc_state): Likewise.
6393 (struct malloc_par): Likewise.
6394 (__libc_realloc): Likewise.
6395 (__libc_mallopt): Likewise.
6397 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6399 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6401 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6403 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6404 macro to a function. Check for zero perturb_byte.
6405 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6407 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6409 * malloc/malloc.c: (force_reg): Remove.
6410 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6411 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6412 force_reg by atomic_forced_read.
6413 * malloc/arena.c (ptmalloc_init): Likewise.
6414 * malloc/hooks.c (top_check): Likewise.
6416 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6420 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6424 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6426 * math/auto-libm-test-in: Add tests of lgamma.
6427 * math/auto-libm-test-out: Regenerated.
6428 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6429 (M_LOG_2_SQRT_PIl): Likewise.
6430 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6431 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6433 (func_calc_desc): Add mpfr_f_f1 union field.
6442 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6443 (test_functions): Add lgamma.
6444 (calc_generic_results): Handle mpfr_f_f1.
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6448 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6451 __mpn_add_n for PowerPC64/POWER7.
6452 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6453 __mpn_sub_n for PowerPC64/POWER7.
6455 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6457 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6458 __mpn_addmul_1 for PowerPC64.
6459 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6460 __mpn_submul_1 for PowerPC64.
6461 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6463 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6466 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6469 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6471 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6475 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6477 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6478 add multiarch folders.
6479 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6480 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6481 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6482 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6483 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6484 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6485 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6486 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6487 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6488 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6489 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6497 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6500 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6506 multiarch __ieee754_hypot for PowerPC32.
6507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6512 multiarch __ieee754_hypotf for PowerPC32.
6514 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6517 long_double_symbol only if __logbl is defined.
6518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6519 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6521 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6523 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6525 path for implementation.
6526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6527 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6529 logb, and logbl multiarch implementations for PowerPC32.
6530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6535 multiarch logb for PowerPC32.
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6541 multiarch logbf for PowerPC32.
6542 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6546 multiarch logbl implementation for PowerPC32.
6548 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6551 and modff multiarch implementations.
6552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6557 multiarch modf for PowerPC32.
6558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6563 multiarch modff for PowerPC32.
6565 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6568 and lrintf multiarch implementations.
6569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6574 multiarch lrint for PowerPC32.
6575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6576 file: multiarch lrintf for PowerPC32.
6578 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6581 and lroundf multiarch implementations.
6582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6589 multiarch lround for PowerPC32.
6590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6591 file: multiarch lroundf for PowerPC32.
6593 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6596 copysign and copysignf multiarch implementations.
6597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6602 file: multiarch copysign for PowerPC32.
6603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6604 file: multiarch copysignf for PowerPC32.
6606 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6609 and truncf multiarch implementations.
6610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6615 multiarch trunc for PowerPC32.
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6621 multiarch truncf for PowerPC32.
6623 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6626 and roundf multiarch implementations.
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6632 multiarch round for PowerPC32.
6633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6638 multiarch roundf for PowerPC32.
6640 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6643 and floorf multiarch implementations.
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6649 multiarch floor for PowerPC32.
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6655 multiarch floorf for PowerPC32.
6657 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6660 and ceilf multiarch implementations.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6666 multiarch ceil for PowerPC32.
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6672 multiarch ceilf for PowerPC32.
6674 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6678 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6681 and finitef multiarch implementations.
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6687 multiarch finite for PowerPC32.
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6691 file: multiarch finitef for PowerPC32.
6693 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6696 and isinff multiarch implementations.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6702 multiarch isinf for PowerPC32.
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6706 multiarch isinff for PowerPC32.
6708 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6710 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6711 alias when __isnan is defined.
6712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6713 and isnanf multiarch implementations.
6714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6723 multiarch isnan for PowerPC32.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6729 multiarch isnanf for PowerPC32.
6731 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6734 and sqrtf multiarch implementations.
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6740 multiarch sqrt for PowerPC32.
6741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6746 multiarch sqrtf for PowerPC32.
6748 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6751 and llroundf multiarch implementations.
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6759 file: multiarch llround for PowerPC32.
6760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6761 file: multiarch llroundf for PowerPC32.
6763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6766 multiarch PowerPC32 fpu implementations.
6767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6772 multiarch llrint for PowerPC32.
6773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6780 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6784 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6786 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6788 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6790 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6792 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6793 multiarch wordcopy for PPC32.
6794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6796 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6797 (__libc_ifunc_impl_list): Likewise.
6798 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6799 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6800 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6801 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6802 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6803 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6805 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6815 multiarch wcscpy for PPC32.
6816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6819 (__libc_ifunc_impl_list): Likewise.
6820 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6821 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6822 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6823 sysdeps/powerpc/power6/wcscpy.c.
6825 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6827 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6835 multiarch wcsrchr for PPC32.
6836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6839 (__libc_ifunc_impl_list): Likewise.
6840 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6841 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6842 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6843 sysdeps/powerpc/power6/wcsrchr.c.
6845 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6853 multiarch wcschr for PPc32.
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6857 (__libc_ifunc_impl_list): Likewise.
6858 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6859 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6860 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6861 sysdeps/powerpc/power6/wcschr.c.
6863 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6866 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6868 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6869 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6870 file: multiarch strchr for PPC32.
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6874 (__libc_ifunc_impl_list): Likewise.
6876 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6878 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6880 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6885 multiarch strchrnul for PPC32.
6886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6889 (__libc_ifunc_impl_list): Likewise.
6891 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6896 multiarch strncasecmp for PPC32.
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6900 multiarch strncasecmp_l for PPC32.
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6902 strncasecmp multiarch objects.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6904 (__libc_ifunc_impl_list): Likewise.
6906 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6908 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6910 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6911 multiarch strncasecmp for PPC32.
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6915 multiarch strcasecmp_l for PPC32.
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6919 (__libc_ifunc_impl_list): Likewise.
6921 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6923 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6925 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6928 multiarch strncmp for PPC32.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6932 (__libc_ifunc_impl_list): Likewise.
6934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6937 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6944 (__libc_ifunc_impl_list): Likewise.
6946 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6956 (__libc_ifunc_impl_list): Likewise.
6958 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6960 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6962 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6965 multiarch rawmemchr for PPC32.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6969 (__libc_ifunc_impl_list): Likewise.
6971 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6978 file: memrchr multiarch for PPC32.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6982 (__libc_ifunc_impl_list): Likewise.
6984 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6991 multiarch memchr for PPC32.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6995 (__libc_ifunc_impl_list): Likewise.
6997 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6999 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7002 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7005 file: multiarch mempcpy for PPC32.
7006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7009 (__libc_ifunc_impl_list): Likewise.
7011 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7014 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7017 multiarch bzero for PPC32.
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7022 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7023 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7024 file: multiarch memset for PPC32.
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7027 memset multiarch objects.
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7029 (__libc_ifunc_impl_list): Likewise.
7031 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7042 (__libc_ifunc_impl_list): Likewise.
7044 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7054 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7055 multiarch memcpy for PPC32.
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7059 (__libc_ifunc_impl_list): Likewise.
7061 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7064 support multiarch for POWER/PPC32.
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7069 Implies file to make multiarch folder appers before the fpu and
7070 default folder for power4 configuration.
7072 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7074 * scripts/bench.pl: Append volatile keyword to type.
7076 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7078 * sysdeps/sh/sotruss-lib.c: New file.
7079 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7081 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7085 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7088 * math/w_tgamma.c: Include <errno.h>.
7089 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7090 * math/w_tgammaf.c: Include <errno.h>.
7091 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7092 * math/w_tgammal.c: Include <errno.h>.
7093 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7094 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7095 underflow. Add more tgamma tests.
7096 * math/auto-libm-test-out: Regenerated.
7097 * sysdeps/i386/fpu/libm-test-ulps: Update.
7098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7100 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7101 sin, sinh, tan, tanh, tgamma, y0 and y1.
7102 * math/auto-libm-test-out: Regenerated.
7103 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7104 (TEST_COND_x86): Likewise.
7105 (M_E2l): Remove macro.
7107 (M_2_SQRT_PIl): Likewise.
7108 (M_SQRT_PIl): Likewise.
7109 (M_1_DIV_El): Likewise.
7110 (log_test_data): Use AUTO_TESTS_f_f.
7111 (log10_test_data): Likewise.
7112 (log1p_test_data): Likewise.
7113 (log2_test_data): Likewise.
7114 (sin_test_data): Likewise.
7115 (sin_tonearest_test_data): Likewise.
7116 (sin_towardzero_test_data): Likewise.
7117 (sin_downward_test_data): Likewise.
7118 (sin_upward_test_data): Likewise.
7119 (sinh_test_data): Likewise.
7120 (sinh_tonearest_test_data): Likewise.
7121 (sinh_towardzero_test_data): Likewise.
7122 (sinh_downward_test_data): Likewise.
7123 (sinh_upward_test_data): Likewise.
7124 (tan_test_data): Likewise.
7125 (tan_tonearest_test_data): Likewise.
7126 (tan_towardzero_test_data): Likewise.
7127 (tan_downward_test_data): Likewise.
7128 (tan_upward_test_data): Likewise.
7129 (tanh_test_data): Likewise.
7130 (tgamma_test_data): Likewise.
7131 (y0_test_data): Likewise.
7132 (y1_test_data): Likewise.
7133 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7134 (special_real_inputs): Add pi/4.
7135 * sysdeps/i386/fpu/libm-test-ulps: Update.
7136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7138 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7140 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7141 "longjmp_target" static probes.
7142 (__longjmp): Rename to __longjmp_symbol.
7143 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7144 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7145 on which longjmp to generate.
7146 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7147 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7149 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7150 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7151 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7152 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7153 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7154 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7156 __longjmp_symbol based on which __longjmp to generate.
7157 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7159 (setjmp): Rename to setjmp_symbol.
7160 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7161 (_setjmp): Rename to _setjmp_symbol.
7162 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7163 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7164 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7165 which setjmp to generate.
7166 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7167 "longjmp_target" static probes.
7169 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7171 * benchtests/README: Add note about output arguments.
7172 * benchtests/bench-sincos.c: Remove file.
7173 * benchtests/sincos-inputs: New file.
7174 * scripts/bench.pl: Identify output arguments and define
7175 static variables for them.
7177 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7180 * Makefile (INSTALL): Add install-plain.texi as the primary
7182 * manual/install-plain.texi: New file.
7183 * manual/install.texi: Include node directive only for
7184 non-plaintext output.
7186 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7188 * stdlib/longlong.h: Update from GCC.
7192 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7193 * math/w_j0f.c (y0f): Likewise.
7194 * math/w_j0l.c (__y0l): Likewise.
7195 * math/w_j1.c (y1): Likewise.
7196 * math/w_j1f.c (y1f): Likewise.
7197 * math/w_j1l.c (__y1l): Likewise
7198 * math/w_jn.c (yn): Likewise.
7199 * math/w_jnf.c (ynf): Likewise.
7200 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7201 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7202 value for Bessel function domain errors outside _SVID_ mode.
7203 Adjust sign of return value for yn (negative integer, 0).
7204 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7205 by zero in return for negative x and set sign appropriately for
7207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7208 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7209 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7210 expectations in error cases.
7211 (y1_test_data): Likewise.
7212 (yn_test_data): Likewise.
7213 * sysdeps/i386/fpu/libm-test-ulps: Update.
7214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7216 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7218 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7219 "64" to "64-v1". Add "64-v2".
7220 (abi-64-options): Rename to ...
7221 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7222 (abi-64-condition): Rename to ...
7223 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7224 (abi-64-ld-soname): Rename to ...
7225 (abi-64-v1-ld-soname): ... this.
7226 (abi-64-v2-options): Define.
7227 (abi-64-v2-condition): Likewise.
7228 (abi-64-v2-ld-soname): Likewise.
7229 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7230 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7235 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7236 Alan Modra <amodra@gmail.com>
7238 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7239 New versions for use with the ELFv2 ABI.
7240 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7241 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7243 (struct La_ppc64v2_retval): Likewise.
7244 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7245 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7246 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7247 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7248 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7249 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7250 Do not save or restore CR.
7251 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7252 (_dl_profile_resolve): Do no save or restore CR. Support extended
7253 return values for ELFv2 ABI. Fix location of FPR return registers.
7254 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7255 updated values for _CALL_ELF == 2.
7256 (La_regs, La_retval, int_retval): Likewise.
7258 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7260 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7261 (FRAME_MIN_SIZE_PARM): Likewise.
7262 (FRAME_BACKCHAIN): Likewise.
7263 (FRAME_CR_SAVE): Likewise.
7264 (FRAME_LR_SAVE): Likewise.
7265 (FRAME_TOC_SAVE): Likewise.
7266 (FRAME_PARM_SAVE): Likewise.
7267 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7268 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7269 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7270 (call_mcount_parm_offset): New macro.
7271 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7272 (PROF): Use symbolic stack frame offsets.
7273 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7274 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7275 Redefine in terms of FRAME_MIN_SIZE.
7276 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7277 (_dl_profile_resolve): Likewise. Update comment.
7278 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7279 symbols stack frame offsets.
7280 (__sigsetjmp): Likewise.
7281 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7282 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7283 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7284 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7287 (FRAME_BACKCHAIN): Remove.
7288 (FRAME_CR_SAVE): Likewise.
7289 (FRAME_LR_SAVE): Likewise.
7290 (FRAME_COMPILER_DW): Likewise.
7291 (FRAME_LINKER_DW): Likewise.
7292 (FRAME_TOC_SAVE): Likewise.
7293 (FRAME_PARM_SAVE): Likewise.
7294 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7295 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7296 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7298 (CHECK_SP): Use symbolic stack frame offsets.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7300 zone" instead of caller's parameter save area for temp storage.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7302 Likewise. Also, use symbolic stack frame offsets.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7304 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7305 our own stack frame instead of the caller's.
7306 (__socket): Use symbolic stack frame offsets.
7308 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7309 Alan Modra <amodra@gmail.com>
7311 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7313 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7314 PPC64_LOCAL_ENTRY_OFFSET): Define.
7315 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7317 (elf_machine_fixup_plt): Call it.
7318 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7320 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7321 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7322 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7323 r2 before calling target.
7325 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7326 Alan Modra <amodra@gmail.com>
7328 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7329 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7330 versions of macros to support ELFv2 ABI.
7331 (LOCALENTRY): New macro.
7332 (ENTRY, EALIGN): Use it.
7333 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7334 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7335 fall through into ENTRY entry point.
7336 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7337 Only define if _CALL_ELF != 2.
7339 (elf_machine_matches_host): Verify ABI version matches.
7340 (RTLD_START): Use LOCALENTRY.
7341 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7342 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7343 (PLT_ENTRY_WORDS): New macro.
7344 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7345 (elf_machine_runtime_setup): Support ELFv2 ABI.
7346 (elf_machine_fixup_plt): Likewise.
7347 (elf_machine_plt_conflict): Likewise.
7348 (resolve_ifunc): Likewise.
7349 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7350 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7353 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7355 (makecontext): Support ELFv2 ABI.
7356 * elf/elf.h (EF_PPC64_ABI): Define.
7358 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7360 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7361 New assembler macro.
7362 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7363 [ASSEMBLER] (ENTRY): ... but instead here ...
7364 [ASSEMBLER] (EALIGN): ... and here.
7365 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7366 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7367 [!ASSEMBLER] (ENTRY_2): Use it.
7368 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7369 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7370 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7371 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7372 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7374 Use PPC64_LOAD_FUNCPTR.
7376 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7378 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7380 2013-12-04 Alan Modra <amodra@gmail.com>
7382 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7383 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7384 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7385 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7388 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7389 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7390 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7391 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7392 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7394 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7397 (__makecontext): Fix incorrect CFI when backtracing out of
7398 context created via makecontext.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7400 (__setcontext): Fix incorrect CFI during switch to new context.
7401 (__novec_setcontext): Likewise.
7403 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7406 * time/strptime_l.c (__strptime_internal): Allow modifiers
7408 * time/tst-strptime.c (day_tests): Add testcase.
7411 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7413 * scripts/bench.pl: Skip over blank lines.
7415 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7418 * manual/time.texi (Calendar Time): Clarify what timezone functions
7421 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7425 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7427 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7429 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7430 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7431 * debug/memset_chk.c (__memset_chk): Likewise.
7432 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7433 * debug/strncpy_chk.c: Likewise.
7435 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7439 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7440 (__ieee754_exp): For possibly underflowing results, check size of
7441 result and force underflow exception if required.
7442 * math/auto-libm-test-in: Add more tests of exp.
7443 * math/auto-libm-test-out: Regenerated.
7444 * sysdeps/i386/fpu/libm-test-ulps: Update.
7445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7448 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7449 * math/w_exp2f.c (__exp2f): Likewise.
7450 * math/w_exp2l.c (__exp2l): Likewise.
7451 * math/auto-libm-test-in: Do not allow missing errno on exp2
7453 * math/auto-libm-test-out: Regenerated.
7455 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7458 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7459 handle filename validation.
7460 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7463 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7466 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7467 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7468 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7470 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7471 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7472 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7473 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7474 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7475 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7476 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7477 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7478 Add more erfc tests.
7479 * math/auto-libm-test-out: Regenerated.
7480 * sysdeps/i386/fpu/libm-test-ulps: Update.
7481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7483 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7484 exp2, expm1, j0 and j1.
7485 * math/auto-libm-test-out: Regenerated.
7486 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7487 (erfc_test_data): Likewise.
7488 (exp_test_data): Likewise.
7489 (exp_tonearest_test_data): Likewise.
7490 (exp_towardzero_test_data): Likewise.
7491 (exp_downward_test_data): Likewise.
7492 (exp_upward_test_data): Likewise.
7493 (exp10_test_data): Likewise.
7494 (exp2_test_data): Likewise.
7495 (expm1_test_data): Likewise.
7496 (j0_test_data): Likewise.
7497 (j1_test_data): Likewise.
7498 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7499 (input_flag_type): Add flag_xfail_rounding.
7500 (input_flags): Add xfail-rounding.
7501 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7502 (output_for_one_input_case): Handle flag_xfail_rounding.
7503 * sysdeps/i386/fpu/libm-test-ulps: Update.
7504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7506 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7509 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7512 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7515 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7516 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7517 (STAP_PROBE0): New macro.
7518 (STAP_PROBE1): Likewise.
7519 (STAP_PROBE2): Likewise.
7520 (STAP_PROBE3): Likewise.
7521 (STAP_PROBE4): Likewise.
7523 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7525 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7527 2013-12-02 Steve Ellcey <sellcey@mips.com>
7529 * benchtests/Makefile (bench): Add sqrt.
7530 (LDLIBS-bench-sqrt): New.
7531 * benchtests/sqrt-input: New.
7533 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7535 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7536 (GAIH_EAI): Likewise.
7537 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7538 (gaih_inet): Likewise.
7539 (getaddrinfo): Don't use GAIH_EAI.
7541 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7542 (struct gaih): Remove definition.
7544 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7546 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7547 Use HERRNOP directly.
7549 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7553 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7555 * math/gen-auto-libm-tests.c (test_functions): Add more
7556 single-argument functions.
7557 (special_fill_pi_2): New function.
7558 (special_fill_minus_pi_2): Likewise.
7559 (special_fill_pi_6): Likewise.
7560 (special_fill_minus_pi_6): Likewise.
7561 (special_fill_pi_3): Likewise.
7562 (special_fill_2pi_3): Likewise.
7563 (special_fill_e): Likewise.
7564 (special_fill_1_e): Likewise.
7565 (special_fill_e_minus_1): Likewise.
7566 (special_real_inputs): Add more special inputs.
7567 (output_for_one_input_case): Do not require ERANGE on underflow to
7568 zero if round-to-nearest result does not underflow to zero, unless
7569 exact results required.
7570 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7571 atan, atanh, cbrt, cos and cosh.
7572 * math/auto-libm-test-out: Regenerated.
7573 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7574 (acos_tonearest_test_data): Likewise.
7575 (acos_towardzero_test_data): Likewise.
7576 (acos_downward_test_data): Likewise.
7577 (acos_upward_test_data): Likewise.
7578 (acosh_test_data): Likewise.
7579 (asin_test_data): Likewise.
7580 (asin_tonearest_test_data): Likewise.
7581 (asin_towardzero_test_data): Likewise.
7582 (asin_upward_test_data): Likewise.
7583 (asinh_test_data): Likewise.
7584 (atan_test_data): Likewise.
7585 (atanh_test_data): Likewise.
7586 (cbrt_test_data): Likewise.
7587 (cos_test_data): Likewise.
7588 (cos_tonearest_test_data): Likewise.
7589 (cos_towardzero_test_data): Likewise.
7590 (cos_downward_test_data): Likewise.
7591 (cos_upward_test_data): Likewise.
7592 (cosh_test_data): Likewise.
7593 (cosh_tonearest_test_data): Likewise.
7594 (cosh_towardzero_test_data): Likewise.
7595 (cosh_downward_test_data): Likewise.
7596 (cosh_upward_test_data): Likewise.
7597 * sysdeps/i386/fpu/libm-test-ulps: Update.
7598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7600 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7603 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7604 * math/w_exp10f.c (__exp10f): Likewise.
7605 * math/w_exp10l.c (__exp10l): Likewise.
7606 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7607 errno settings in existing tests.
7610 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7611 precision control set to double precision.
7612 * sysdeps/i386/fpu/w_sqrt.c: New file.
7613 * math/auto-libm-test-in: Add more tests.
7614 * math/auto-libm-test-out: Update.
7616 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7617 (sqrt_test_tonearest): New function.
7618 (sqrt_towardzero_test_data): New variable.
7619 (sqrt_test_towardzero): New function.
7620 (sqrt_downward_test_data): New variable.
7621 (sqrt_test_downward): New function.
7622 (sqrt_upward_test_data): New variable.
7623 (sqrt_test_upward): New function.
7624 (main): Call the new functions.
7626 * math/gen-auto-libm-tests.c: New file.
7627 * math/auto-libm-test-in: Likewise.
7628 * math/auto-libm-test-out: New generated file.
7629 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7631 (%beautify): Add generated representations of zero.
7632 (top level): Set $auto_input and call parse_auto_input.
7633 (beautify): Remove trailing "f" from hex float constants.
7634 (parse_args): Handle XFAIL_TEST.
7635 (convert_condition): New function.
7636 (or_value): Likewise.
7637 (or_cond_value): Likewise.
7638 (generate_testfile): Handle AUTO_TESTS_* lines.
7639 (parse_auto_input): New function.
7640 * math/libm-test.inc (XFAIL_TEST): New macro.
7641 (ERRNO_UNCHANGED): Update value.
7642 (ERRNO_EDOM): Likewise.
7643 (ERRNO_ERANGE): Likewise.
7644 (IGNORE_RESULT): Likewise.
7645 (TEST_COND_flt_32): New macro.
7646 (TEST_COND_dbl_64): Likewise.
7647 (TEST_COND_ldbl_96_intel): Likewise.
7648 (TEST_COND_ldbl_96_m68k): Likewise.
7649 (TEST_COND_ldbl_128): Likewise.
7650 (TEST_COND_ldbl_128ibm): Likewise.
7651 (TEST_COND_long32): Likewise.
7652 (TEST_COND_long64): Likewise.
7653 (TEST_COND_before_rounding): Likewise.
7654 (TEST_COND_after_rounding): Likewise.
7655 (enable_test): Handle XFAIL_TEST flag.
7656 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7657 with finite results.
7658 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7661 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7662 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7665 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7666 __tls_get_addr_internal instead of __tls_get_offset in order to
7667 avoid GOT pointer dependency. Make rtld export
7668 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7669 __tls_get_addr since we are a __tls_get_offset platform.
7670 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7671 GOT pointer being set up before.
7672 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7674 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7676 * manual/math.texi (Errors in Math Functions): Document accuracy
7680 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7681 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7684 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7686 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7697 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7698 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7699 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7700 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7701 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7703 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7705 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7707 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7708 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7709 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7710 atomic-feupdateenv and flt-rounds.
7711 * sysdeps/powerpc/nofpu/Versions (libc): Add
7712 __atomic_feholdexcept, __atomic_feclearexcept,
7713 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7714 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7715 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7716 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7717 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7722 * manual/arith.texi (FP Exceptions): Document that exceptions may
7723 not be raised when matherr is used.
7724 (Math Error Reporting): Document overflow in directed rounding
7725 modes. Document that errno may not be set when finite values are
7726 returned on overflow. Document intent to set errno on underflow
7727 only for underflow to zero.
7730 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7731 round-to-nearest then adjust result for other rounding modes.
7732 * include/fenv.h (fegetround): Use libm_hidden_proto.
7733 * math/fegetround.c (fegetround): Use libm_hidden_def.
7734 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7735 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7736 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7737 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7739 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7740 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7741 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7742 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7744 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7747 * nss/Versions (libnss_files): Add
7748 _nss_files_gethostbyname3_r.
7749 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7751 (HOST_DB_LOOKUP): Remove macro.
7752 (_nss_files_gethostbyname_r): Implement function without the
7753 HOST_DB_LOOKUP macro.
7754 (_nss_files_gethostbyname2_r): Likewise.
7756 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7758 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7760 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7762 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7763 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7766 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7768 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7769 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7770 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7771 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7772 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7773 __fe_nomask_env_priv and attribute_hidden.
7774 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7775 (libc_feupdateenv_test_ppc): Likewise.
7776 (libc_feresetround_ppc): Likewise.
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7778 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7779 compat_symbol macro.
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7781 (__fe_nomask_env): Likewise.
7782 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7784 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7786 * string/Makefile: Remove ifunc tests.
7787 * string/test-string.h: Define TEST_IFUNC.
7788 * string/test-bcopy-ifunc.c: Remove.
7789 * string/test-bzero-ifunc.c: Likewise.
7790 * string/test-memccpy-ifunc.c: Likewise.
7791 * string/test-memchr-ifunc.c: Likewise.
7792 * string/test-memcmp-ifunc.c: Likewise.
7793 * string/test-memcpy-ifunc.c: Likewise.
7794 * string/test-memmem-ifunc.c: Likewise.
7795 * string/test-memmove-ifunc.c: Likewise.
7796 * string/test-mempcpy-ifunc.c: Likewise.
7797 * string/test-memrchr-ifunc.c: Likewise.
7798 * string/test-memset-ifunc.c: Likewise.
7799 * string/test-rawmemchr-ifunc.c: Likewise.
7800 * string/test-stpcpy-ifunc.c: Likewise.
7801 * string/test-stpncpy-ifunc.c: Likewise.
7802 * string/test-strcasecmp-ifunc.c: Likewise.
7803 * string/test-strcasestr-ifunc.c: Likewise.
7804 * string/test-strcat-ifunc.c: Likewise.
7805 * string/test-strchr-ifunc.c: Likewise.
7806 * string/test-strchrnul-ifunc.c: Likewise.
7807 * string/test-strcmp-ifunc.c: Likewise.
7808 * string/test-strcpy-ifunc.c: Likewise.
7809 * string/test-strcspn-ifunc.c: Likewise.
7810 * string/test-strlen-ifunc.c: Likewise.
7811 * string/test-strncasecmp-ifunc.c: Likewise.
7812 * string/test-strncat-ifunc.c: Likewise.
7813 * string/test-strncmp-ifunc.c: Likewise.
7814 * string/test-strncpy-ifunc.c: Likewise.
7815 * string/test-strnlen-ifunc.c: Likewise.
7816 * string/test-strpbrk-ifunc.c: Likewise.
7817 * string/test-strrchr-ifunc.c: Likewise.
7818 * string/test-strspn-ifunc.c: Likewise.
7819 * string/test-strstr-ifunc.c: Likewise.
7821 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7823 * benchtests/Makefile: Remove ifunc tests.
7824 * benchtests/bench-string.h: Define TEST_IFUNC.
7825 * benchtests/bench-bcopy-ifunc.c: Remove.
7826 * benchtests/bench-bzero-ifunc.c: Likewise.
7827 * benchtests/bench-memccpy-ifunc.c: Likewise.
7828 * benchtests/bench-memchr-ifunc.c: Likewise.
7829 * benchtests/bench-memcmp-ifunc.c: Likewise.
7830 * benchtests/bench-memcpy-ifunc.c: Likewise.
7831 * benchtests/bench-memmem-ifunc.c: Likewise.
7832 * benchtests/bench-memmove-ifunc.c: Likewise.
7833 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7834 * benchtests/bench-memrchr-ifunc.c: Likewise.
7835 * benchtests/bench-memset-ifunc.c: Likewise.
7836 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7837 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7838 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7839 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7840 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7841 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7842 * benchtests/bench-strcat-ifunc.c: Likewise.
7843 * benchtests/bench-strchr-ifunc.c: Likewise.
7844 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7845 * benchtests/bench-strcmp-ifunc.c: Likewise.
7846 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7847 * benchtests/bench-strcpy-ifunc.c: Likewise.
7848 * benchtests/bench-strcspn-ifunc.c: Likewise.
7849 * benchtests/bench-strlen-ifunc.c: Likewise.
7850 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7851 * benchtests/bench-strncat-ifunc.c: Likewise.
7852 * benchtests/bench-strncmp-ifunc.c: Likewise.
7853 * benchtests/bench-strncpy-ifunc.c: Likewise.
7854 * benchtests/bench-strnlen-ifunc.c: Likewise.
7855 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7856 * benchtests/bench-strrchr-ifunc.c: Likewise.
7857 * benchtests/bench-strsep-ifunc.c: Likewise.
7858 * benchtests/bench-strspn-ifunc.c: Likewise.
7859 * benchtests/bench-strstr-ifunc.c: Likewise.
7861 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7863 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7865 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7867 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7868 * rt/aio.h: Likewise.
7869 * sysdeps/gnu/bits/utmp.h: Likewise.
7870 * sysdeps/gnu/bits/utmpx.h: Likewise.
7871 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7872 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7873 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7874 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7875 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7876 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7877 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7878 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7879 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7880 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7881 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7882 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7883 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7885 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7886 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7887 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7888 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7889 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7890 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7891 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7892 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7893 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7894 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7895 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7897 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7898 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7899 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7900 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7901 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7902 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7903 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7904 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7905 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7906 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7907 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7908 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7909 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7910 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7911 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7912 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7914 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7917 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7918 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7920 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7922 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7923 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7926 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7929 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7930 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7931 (__fesetround): Remove define.
7932 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7933 rounding and exceptions handling.
7934 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7935 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7936 (__fe_nomask_env): Likewise.
7937 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7938 __fegetround instead of fegetround.
7939 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7940 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7942 2013-11-21 Roland McGrath <roland@hack.frob.com>
7944 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7947 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7949 2013-11-21 Meador Inge <meadori@codesourcery.com>
7952 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7953 (encrypt_r): Likewise.
7954 * malloc/obstack.h (obstack_free): Likewise.
7955 * posix/unistd.h (encrypt): Likewise.
7957 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7959 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7960 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7961 DL_CALL_DT_FINI() that call the functions directly.
7962 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7963 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7964 * elf/dl-fini.c: Likewise.
7966 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7968 * malloc/hooks.c (memalign_check): Add alignment rounding.
7969 * malloc/malloc.c (_mid_memalign): New function.
7970 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7971 Implement by calling _mid_memalign.
7972 * manual/probes.texi (Memory Allocation Probes): Remove
7973 memory_valloc_retry and memory_pvalloc_retry.
7975 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7977 * locale/programs/locarchive.c (open_archive): Add const
7978 qualifier to ARCHIVEFNAME and copy default fname to
7982 * libio/tst-widetext.input: Rename Oriya to Odia.
7983 * locale/iso-639.def: Likewise.
7985 * manual/probes.texi (Mathematical Function Probes): Add
7986 documentation for sin, cos, asin and acos probes.
7987 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7988 (__sin32): Add slowasin probe.
7989 (__cos32): Add slowacos probe.
7990 (__mpsin): Add slowsin probe.
7991 (__mpcos): Add slowcos probe.
7993 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7996 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7997 thread-local __sim_exceptions_thread and global
7998 __sim_exceptions_global.
7999 (__sim_disabled_exceptions): Change to thread-local
8000 __sim_disabled_exceptions_thread and global
8001 __sim_disabled_exceptions_global.
8002 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8003 and global __sim_round_mode_global.
8004 (__simulate_exceptions): Use thread-local floating-point state and
8005 set global state from it as needed.
8006 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8007 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8008 __sim_round_mode_thread.
8009 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8010 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8011 and global __sim_exceptions_global.
8012 (__sim_disabled_exceptions): Change to thread-local
8013 __sim_disabled_exceptions_thread and global
8014 __sim_disabled_exceptions_global.
8015 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8016 and global __sim_round_mode_global.
8017 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8018 (SIM_SET_GLOBAL): Likewise.
8019 * sysdeps/powerpc/soft-fp/sfp-machine.h
8020 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8021 __sim_round_mode_thread.
8022 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8023 __sim_disabled_exceptions_thread.
8024 (__sim_exceptions): Change to __sim_exceptions_thread.
8025 (__sim_disabled_exceptions): Change to
8026 __sim_disabled_exceptions_thread.
8027 (__sim_round_mode): Change to __sim_round_mode_thread.
8028 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8029 thread-local floating-point state and set global state from it as
8031 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8032 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8033 (__sim_disabled_exceptions): Remove extern declaration.
8034 (feenableexcept): Use thread-local floating-point state and set
8035 global state from it as needed.
8036 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8038 (__sim_disabled_exceptions): Likewise.
8039 (__sim_round_mode): Likewise.
8040 (__fegetenv): Use thread-local floating-point state.
8041 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8042 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8043 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8044 floating-point state and set global state from it as needed.
8045 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8046 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8047 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8049 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8050 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8052 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8053 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8054 Use __sim_round_mode_thread.
8055 * math/test-fenv-tls.c: New file.
8056 * math/Makefile (tests): Add test-fenv-tls.
8057 ($(objpfx)test-fenv-tls): Depend on
8058 $(common-objpfx)nptl/libpthread.so.
8060 2013-11-19 Andreas Schwab <schwab@suse.de>
8062 * locale/programs/locale.c (show_info): Decode wordarray elements.
8063 * locale/categories.def (LC_MONETARY): Add element for
8064 _NL_MONETARY_CRNCYSTR.
8065 * locale/C-monetary.c (conversion_rate): New variable.
8066 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8069 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8071 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8072 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8074 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8076 * elf/Makefile (tst-auxv): New test.
8077 * elf/tst-auxv.c: New
8078 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8080 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8082 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8083 (hidden_proto): Caller changed.
8084 (hidden_tls_proto): New macro.
8085 (libc_hidden_tls_proto): Likewise.
8086 (rtld_hidden_tls_proto): Likewise.
8087 (libm_hidden_tls_proto): Likewise.
8088 (libresolv_hidden_tls_proto): Likewise.
8089 (librt_hidden_tls_proto): Likewise.
8090 (libdl_hidden_tls_proto): Likewise.
8091 (libnss_files_hidden_tls_proto): Likewise.
8092 (libnsl_hidden_tls_proto): Likewise.
8093 (libnss_nisplus_hidden_tls_proto): Likewise.
8094 (libutil_hidden_tls_proto): Likewise.
8096 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8099 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8100 (decompose_rpath): Defer expansion to fillin_rpath.
8101 (_dl_init_paths): Pass linkmap to fillin_rpath.
8103 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8105 * benchtests/Makefile: Add strsep.
8106 * benchtests/bench-strsep.c: New file: strsep benchtest.
8107 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8109 2013-11-18 Andreas Schwab <schwab@suse.de>
8111 * locale/programs/locale.c (show_info) [case byte]: Check for
8112 '\377' instead of '\177'.
8113 * locale/C-monetary.c (not_available): Always use "\377".
8114 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8115 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8116 detect unavailable sign_posn locale elements.
8117 * locale/localeconv.c (__localeconv): For grouping and
8118 mon_grouping handle "\177" and "\377" like no grouping.
8119 (INT_ELEM): New macro. Use it to set all numeric members.
8120 * locale/programs/ld-monetary.c (monetary_read)
8121 <tok_mon_grouping>: Normalize single -1 to the empty string.
8122 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8125 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8128 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8129 when we match (nil).
8130 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8132 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8134 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8135 (NO_TEST_INLINE): Update value.
8136 (ERRNO_UNCHANGED): Likewise.
8137 (ERRNO_EDOM): Likewise.
8138 (ERRNO_ERANGE): Likewise.
8139 (IGNORE_RESULT): Likewise.
8140 (check_float_internal): Check signs of NaN results if
8142 (check_complex): Pass TEST_NAN_SIGN flag through to second
8143 check_float_internal call.
8144 (copysign_test_data): Add tests with quiet NaNs as second
8145 argument. Use TEST_NAN_SIGN.
8146 (fabs_test_data): Add test of negative quiet NaN argument. Use
8148 (signbit_test_data): Add tests of quiet NaN argument.
8149 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8151 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8153 (parse_args): Handle function results specified as IGNORE.
8154 * math/libm-test.inc (IGNORE_RESULT): New macro.
8155 (check_float_internal): Do not check numerical result if flag
8157 (check_complex): Pass through IGNORE_RESULT to second
8158 check_float_internal call.
8159 (check_int): Do not check numerical result if flag IGNORE_RESULT
8161 (check_long): Likewise.
8162 (check_bool): Likewise.
8163 (check_longlong): Likewise.
8164 (lrint_test_data): Add tests of infinite and NaN arguments.
8165 (lrint_tonearest_test_data): Likewise.
8166 (lrint_towardzero_test_data): Likewise.
8167 (lrint_downward_test_data): Likewise.
8168 (lrint_upward_test_data): Likewise.
8169 (llrint_test_data): Likewise.
8170 (llrint_tonearest_test_data): Likewise.
8171 (llrint_towardzero_test_data): Likewise.
8172 (llrint_downward_test_data): Likewise.
8173 (llrint_upward_test_data): Likewise.
8174 (lround_test_data): Likewise.
8175 (llround_test_data): Likewise.
8177 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8178 (ERRNO_UNCHANGED): Update value.
8179 (ERRNO_EDOM): Likewise.
8180 (ERRNO_ERANGE): Likewise.
8181 (NO_TEST_INLINE_FLOAT): New macro.
8182 (NO_TEST_INLINE_DOUBLE): Likewise.
8183 (enable_test): New function.
8184 (RUN_TEST_f_f): Check enable_test before running test.
8185 (RUN_TEST_2_f): Likewise.
8186 (RUN_TEST_fff_f): Likewise.
8187 (RUN_TEST_c_f): Likewise.
8188 (RUN_TEST_f_f1): Likewise.
8189 (RUN_TEST_fF_f1): Likewise.
8190 (RUN_TEST_fI_f1): Likewise.
8191 (RUN_TEST_ffI_f1): Likewise.
8192 (RUN_TEST_c_c): Likewise.
8193 (RUN_TEST_cc_c): Likewise.
8194 (RUN_TEST_f_i): Likewise.
8195 (RUN_TEST_f_i_tg): Likewise.
8196 (RUN_TEST_ff_i_tg): Likewise.
8197 (RUN_TEST_f_b): Likewise.
8198 (RUN_TEST_f_b_tg): Likewise.
8199 (RUN_TEST_f_l): Likewise.
8200 (RUN_TEST_f_L): Likewise.
8201 (RUN_TEST_fFF_11): Likewise.
8202 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8204 (cosh_test_data): Likewise.
8205 (exp_test_data): Likewise.
8206 (expm1_test_data): Likewise.
8207 (hypot_test_data): Likewise.
8208 (pow_test_data): Likewise.
8209 (sinh_test_data): Likewise.
8210 (tanh_test_data): Likewise.
8211 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8214 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8215 tests with quiet NaN input and output.
8216 (acosh_test_data): Likewise.
8217 (asin_test_data): Likewise.
8218 (asinh_test_data): Likewise.
8219 (atan_test_data): Likewise.
8220 (atanh_test_data): Likewise.
8221 (atan2_test_data): Likewise.
8222 (cbrt_test_data): Likewise.
8223 (cos_test_data): Likewise.
8224 (cosh_test_data): Likewise.
8225 (erf_test_data): Likewise.
8226 (erfc_test_data): Likewise.
8227 (exp_test_data): Likewise.
8228 (exp10_test_data): Likewise.
8229 (exp2_test_data): Likewise.
8230 (expm1_test_data): Likewise.
8231 (hypot_test_data): Likewise.
8232 (j0_test_data): Likewise.
8233 (j1_test_data): Likewise.
8234 (jn_test_data): Likewise.
8235 (lgamma_test_data): Likewise.
8236 (log_test_data): Likewise.
8237 (log10_test_data): Likewise.
8238 (log1p_test_data): Likewise.
8239 (log2_test_data): Likewise.
8240 (pow_test_data): Likewise.
8241 (scalb_test_data): Likewise.
8242 (sin_test_data): Likewise.
8243 (sincos_test_data): Likewise.
8244 (sinh_test_data): Likewise.
8245 (tan_test_data): Likewise.
8246 (tanh_test_data): Likewise.
8247 (tgamma_test_data): Likewise.
8248 (y0_test_data): Likewise.
8249 (y1_test_data): Likewise.
8250 (yn_test_data): Likewise.
8253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8254 argument being NaN and avoid computations with second argument in
8256 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8257 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8258 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8260 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8262 * locale/iso-639.def: Add Chitwani Tharu (the).
8264 2013-11-14 Andreas Schwab <schwab@suse.de>
8266 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8267 word instead of empty string.
8269 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8272 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8274 (__fe_nomask_env): Likewise.
8276 2013-11-13 Steve Ellcey <sellcey@mips.com>
8278 * benchtests/bench-timing.h: Include time.h.
8280 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8283 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8285 * sysdeps/unix/sysv/linux/configure: Regenerated.
8287 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8290 * stdlib/strtod_l.c (round_and_return): Do not consider
8291 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8292 exponent one less than half the least subnormal exponent.
8293 * stdlib/test-strtod-round-data: Add more tests.
8294 * stdlib/tst-strtod-round.c (tests): Regenerated.
8296 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8299 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8300 (__fe_mask_env): Likewise.
8301 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8302 libm_hidden_proto and add function prototype.
8303 (__fe_mask_env): Add function prototype.
8304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8305 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8307 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8309 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8311 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8313 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8314 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8316 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8318 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8319 of htab_find_slot().
8321 2013-11-11 David S. Miller <davem@davemloft.net>
8324 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8325 symbol in the non-vis3 case in static builds.
8326 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8327 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8328 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8329 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8331 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8334 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8337 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8339 * benchtests/Makefile: Add bench-strtod.
8340 * benchtests/bench-strtod.c: New file: strtod benchtest
8342 2013-11-11 Andreas Schwab <schwab@suse.de>
8345 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8346 terminating NUL in key length.
8348 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8350 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8351 Add artificial ODP entry for vDSO symbol for PPC64.
8352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8353 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8355 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8358 * nss/getent.c (services_keys): Recognize services starting with digit.
8360 2013-11-06 David S. Miller <davem@davemloft.net>
8363 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8364 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8366 2013-11-06 Will Newton <will.newton@linaro.org>
8368 * manual/memory.texi (Malloc Examples): Remove register
8369 keyword from examples.
8371 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8373 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8375 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8378 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8379 depending on [__GCC_IEC_559 > 0].
8380 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8381 depending on [__GCC_IEC_559_COMPLEX > 0].
8383 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8385 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8388 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8390 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8392 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8395 * malloc/malloc (malloc_info): Do not handle first bin as
8398 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8400 * locale/iso-639.def: Add Central Nahuatl (nhn).
8402 2013-11-01 Bruno Haible <bruno@clisp.org>
8405 * manual/math.texi (BSD Random): Specify range upper bound as
8408 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8410 * locale/iso-639.def: Add Meadow Mari (mhr).
8412 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8414 [BZ #14752], [BZ #15763]
8415 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8417 * rt/tst_shm.c: Add test for escaping directory.
8419 2013-10-31 Andreas Schwab <schwab@suse.de>
8422 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8423 followed by 'x' as part of digit sequence.
8424 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8426 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8429 * configure.ac: allow GNU Make 4.0 and greater.
8430 * configure: Regenerated.
8432 2013-10-30 Will Newton <will.newton@linaro.org>
8435 * malloc/hooks.c (memalign_check): Limit alignment to the
8436 maximum representable power of two.
8437 * malloc/malloc.c (__libc_memalign): Likewise.
8438 * malloc/tst-memalign.c (do_test): Add test for very
8439 large alignment values.
8440 * malloc/tst-posix_memalign.c (do_test): Likewise.
8442 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8445 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8446 (munmap_chunk): Likewise.
8447 (mremap_chunk): Likewise.
8449 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8452 * stdlib/div.c (div): Remove obsolete code.
8453 * stdlib/ldiv.c (ldiv): Likewise.
8454 * stdlib/lldiv.c (lldiv): Likewise.
8456 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8459 * nss/nss_files/files-XXX.c (get_contents_ret): New
8461 (get_contents): New function.
8462 (internal_getent): Use it. Expand size of LINEBUFLEN.
8464 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8466 * configure.in: Moved to ...
8467 * configure.ac: ... here. Change reference to configure.in
8469 * sysdeps/arm/preconfigure.ac: ... here.
8470 configure.in to configure.ac.
8471 * sysdeps/gnu/configure.in: Moved to ...
8472 * sysdeps/gnu/configure.ac: ... here.
8473 * sysdeps/i386/configure.in: Moved to ...
8474 * sysdeps/i386/configure.ac: ... here.
8475 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8476 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8477 * sysdeps/mach/configure.in: Moved to ...
8478 * sysdeps/mach/configure.ac: ... here.
8479 * sysdeps/mach/hurd/configure.in: Moved to ...
8480 * sysdeps/mach/hurd/configure.ac: ... here.
8481 * sysdeps/powerpc/configure.in: Moved to ...
8482 * sysdeps/powerpc/configure.ac: ... here.
8483 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8484 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8485 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8486 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8487 * sysdeps/s390/s390-32/configure.in: Moved to ...
8488 * sysdeps/s390/s390-32/configure.ac: ... here.
8489 * sysdeps/s390/s390-64/configure.in: Moved to ...
8490 * sysdeps/s390/s390-64/configure.ac: ... here.
8491 * sysdeps/sh/configure.in: Moved to ...
8492 * sysdeps/sh/configure.ac: ... here.
8493 * sysdeps/sparc/configure.in: Moved to ...
8494 * sysdeps/sparc/configure.ac: ... here.
8495 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8496 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8497 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8498 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8499 * sysdeps/x86_64/configure.in: Moved to ...
8500 * sysdeps/x86_64/configure.ac: ... here.
8501 * sysdeps/x86_64/preconfigure.in: Moved to ...
8502 * sysdeps/x86_64/preconfigure.ac: ... here.
8503 * aclocal.m4: Change reference to configure.in to configure.ac.
8504 * config.h.in: Likewise.
8505 * manual/install.texi: Likewise.
8506 * manual/maint.texi: Likewise.
8507 * Makefile: Likewise.
8508 * malloc/Makefile: Likewise.
8509 * nscd/Makefile: Likewise.
8510 * Makeconfig: Change reference to configure.in and
8511 preconfigure.in to configure.ac and preconfigure.ac
8513 * INSTALL: Regenerated.
8514 * configure: Likewise.
8515 * sysdeps/gnu/configure: Likewise.
8516 * sysdeps/i386/configure: Likewise.
8517 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8518 * sysdeps/mach/configure: Likewise.
8519 * sysdeps/mach/hurd/configure: Likewise.
8520 * sysdeps/powerpc/configure: Likewise.
8521 * sysdeps/powerpc/powerpc32/configure: Likewise.
8522 * sysdeps/powerpc/powerpc64/configure: Likewise.
8523 * sysdeps/s390/s390-32/configure: Likewise.
8524 * sysdeps/s390/s390-64/configure: Likewise.
8525 * sysdeps/sh/configure: Likewise.
8526 * sysdeps/sparc/configure: Likewise.
8527 * sysdeps/unix/sysv/linux/configure: Likewise.
8528 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8529 * sysdeps/x86_64/configure: Likewise.
8530 * sysdeps/x86_64/preconfigure: Likewise.
8532 2013-10-29 Andreas Schwab <schwab@suse.de>
8534 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8536 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8538 * benchtests/pow-inputs: Add new inputs.
8540 * benchtests/exp-inputs: Add new inputs.
8542 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8543 conditional check for return value.
8544 (__cos32): Likewise.
8546 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8548 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8549 to provide a boost for large inputs with word alignment.
8550 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8551 implementation based on optimized PPC64 strcpy.
8552 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8553 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8554 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8555 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8557 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8560 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8562 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8565 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8566 * time/tst-strptime.c (day_tests): Add testcase.
8568 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8571 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8573 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8576 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8577 MAP_FAILED on error.
8579 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8582 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8583 heap for large requests.
8585 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8588 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8589 result if the result has no associated interface.
8590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8591 interface for all 127.X.Y.Z addresses.
8593 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8595 * locale/iso-639.def: Add Ligurian (lij)
8597 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8600 * sunrpc/rpc_main.c: Document rpcgen -5.
8602 2013-10-19 Michael Stahl <mstahl@redhat.com>
8604 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8606 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8609 * posix/glob.c: Match only directories when trailing slash is present.
8610 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8611 (main): Add testcase.
8613 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8616 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8618 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8620 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8621 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8622 AUTH_DES and cindex for FIPS 140-2.
8623 (DES Encryption): Add cindex FIPS 46-3.
8625 * locale/locarchive.h (struct locarhandle): Add fname.
8626 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8627 if an optional argument was specified to --list-archive,
8629 * locale/programs/locarchive.c (show_archive_content): Take new
8630 argument fname and pass it via ah.fname to open_archive.
8631 * locale/programs/localedef.h: Update decl.
8632 (open_archive): If AH->fname is non-null, open that file
8633 rather than the default file name, and don't ignore ENOENT.
8634 (create_archive): Set AH.fname to NULL.
8635 (delete_locales_from_archive): Likewise.
8636 (add_locales_to_archive): Likewise.
8637 * locale/programs/locfile.c (write_all_categories): Likewise.
8639 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8640 Aldy Hernandez <aldyh@redhat.com>
8642 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8643 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8644 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8645 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8646 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8647 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8648 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8649 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8650 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8651 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8652 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8653 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8654 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8655 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8656 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8658 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8660 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8662 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8664 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8665 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8667 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8668 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8669 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8670 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8672 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8673 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8674 * sysdeps/powerpc/preconfigure: Likewise.
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8677 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8678 Replace contents of file by #include of <fenv_libc.h>.
8679 * sysdeps/powerpc/soft-fp/sfp-machine.h
8680 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8682 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8683 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8684 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8690 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8691 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8692 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8695 Allow copysignl PLT reference to be missing.
8697 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8698 Joseph Myers <joseph@codesourcery.com
8701 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8703 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8705 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8707 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8708 * elf/tst-tls1.c: Likewise.
8709 * elf/tst-tls10.h: Likewise.
8710 * elf/tst-tls14.c: Likewise.
8711 * elf/tst-tls2.c: Likewise.
8712 * elf/tst-tls3.c: Likewise.
8713 * elf/tst-tls4.c: Likewise.
8714 * elf/tst-tls5.c: Likewise.
8715 * elf/tst-tls6.c: Likewise.
8716 * elf/tst-tls7.c: Likewise.
8717 * elf/tst-tls8.c: Likewise.
8718 * elf/tst-tls9.c: Likewise.
8719 * elf/tst-tlsmod1.c: Likewise.
8720 * elf/tst-tlsmod13.c: Likewise.
8721 * elf/tst-tlsmod13a.c: Likewise.
8722 * elf/tst-tlsmod14a.c: Likewise.
8723 * elf/tst-tlsmod16a.c: Likewise.
8724 * elf/tst-tlsmod16b.c: Likewise.
8725 * elf/tst-tlsmod2.c: Likewise.
8726 * elf/tst-tlsmod3.c: Likewise.
8727 * elf/tst-tlsmod4.c: Likewise.
8728 * elf/tst-tlsmod5.c: Likewise.
8729 * elf/tst-tlsmod6.c: Likewise.
8731 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8734 * malloc/malloc.c: remove checks for statistics.
8736 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8739 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8740 * inet/tst-network.c: Add testcase.
8742 2013-10-17 Andreas Schwab <schwab@suse.de>
8745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8746 to determine canonical name.
8748 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8750 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8751 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8774 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8775 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8780 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8809 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8812 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8813 make result into a quiet NaN.
8815 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8817 * soft-fp/adddf3.c: Fix horizontal whitespace.
8818 * soft-fp/addsf3.c: Likewise.
8819 * soft-fp/addtf3.c: Likewise.
8820 * soft-fp/divdf3.c: Likewise.
8821 * soft-fp/divsf3.c: Likewise.
8822 * soft-fp/divtf3.c: Likewise.
8823 * soft-fp/double.h: Likewise.
8824 * soft-fp/eqdf2.c: Likewise.
8825 * soft-fp/eqsf2.c: Likewise.
8826 * soft-fp/eqtf2.c: Likewise.
8827 * soft-fp/extenddftf2.c: Likewise.
8828 * soft-fp/extended.h: Likewise.
8829 * soft-fp/extendsfdf2.c: Likewise.
8830 * soft-fp/extendsftf2.c: Likewise.
8831 * soft-fp/extendxftf2.c: Likewise.
8832 * soft-fp/fixdfdi.c: Likewise.
8833 * soft-fp/fixdfsi.c: Likewise.
8834 * soft-fp/fixdfti.c: Likewise.
8835 * soft-fp/fixsfdi.c: Likewise.
8836 * soft-fp/fixsfsi.c: Likewise.
8837 * soft-fp/fixsfti.c: Likewise.
8838 * soft-fp/fixtfdi.c: Likewise.
8839 * soft-fp/fixtfsi.c: Likewise.
8840 * soft-fp/fixtfti.c: Likewise.
8841 * soft-fp/fixunsdfdi.c: Likewise.
8842 * soft-fp/fixunsdfsi.c: Likewise.
8843 * soft-fp/fixunsdfti.c: Likewise.
8844 * soft-fp/fixunssfdi.c: Likewise.
8845 * soft-fp/fixunssfsi.c: Likewise.
8846 * soft-fp/fixunssfti.c: Likewise.
8847 * soft-fp/fixunstfdi.c: Likewise.
8848 * soft-fp/fixunstfsi.c: Likewise.
8849 * soft-fp/fixunstfti.c: Likewise.
8850 * soft-fp/floatdidf.c: Likewise.
8851 * soft-fp/floatdisf.c: Likewise.
8852 * soft-fp/floatditf.c: Likewise.
8853 * soft-fp/floatsidf.c: Likewise.
8854 * soft-fp/floatsisf.c: Likewise.
8855 * soft-fp/floatsitf.c: Likewise.
8856 * soft-fp/floattidf.c: Likewise.
8857 * soft-fp/floattisf.c: Likewise.
8858 * soft-fp/floattitf.c: Likewise.
8859 * soft-fp/floatundidf.c: Likewise.
8860 * soft-fp/floatundisf.c: Likewise.
8861 * soft-fp/floatunditf.c: Likewise.
8862 * soft-fp/floatunsidf.c: Likewise.
8863 * soft-fp/floatunsisf.c: Likewise.
8864 * soft-fp/floatunsitf.c: Likewise.
8865 * soft-fp/floatuntidf.c: Likewise.
8866 * soft-fp/floatuntisf.c: Likewise.
8867 * soft-fp/floatuntitf.c: Likewise.
8868 * soft-fp/fmadf4.c: Likewise.
8869 * soft-fp/fmasf4.c: Likewise.
8870 * soft-fp/fmatf4.c: Likewise.
8871 * soft-fp/gedf2.c: Likewise.
8872 * soft-fp/gesf2.c: Likewise.
8873 * soft-fp/getf2.c: Likewise.
8874 * soft-fp/ledf2.c: Likewise.
8875 * soft-fp/lesf2.c: Likewise.
8876 * soft-fp/letf2.c: Likewise.
8877 * soft-fp/muldf3.c: Likewise.
8878 * soft-fp/mulsf3.c: Likewise.
8879 * soft-fp/multf3.c: Likewise.
8880 * soft-fp/negdf2.c: Likewise.
8881 * soft-fp/negsf2.c: Likewise.
8882 * soft-fp/negtf2.c: Likewise.
8883 * soft-fp/op-1.h: Likewise.
8884 * soft-fp/op-2.h: Likewise.
8885 * soft-fp/op-4.h: Likewise.
8886 * soft-fp/op-8.h: Likewise.
8887 * soft-fp/op-common.h: Likewise.
8888 * soft-fp/quad.h: Likewise.
8889 * soft-fp/single.h: Likewise.
8890 * soft-fp/soft-fp.h: Likewise.
8891 * soft-fp/sqrtdf2.c: Likewise.
8892 * soft-fp/sqrtsf2.c: Likewise.
8893 * soft-fp/sqrttf2.c: Likewise.
8894 * soft-fp/subdf3.c: Likewise.
8895 * soft-fp/subsf3.c: Likewise.
8896 * soft-fp/subtf3.c: Likewise.
8897 * soft-fp/truncdfsf2.c: Likewise.
8898 * soft-fp/trunctfdf2.c: Likewise.
8899 * soft-fp/trunctfsf2.c: Likewise.
8900 * soft-fp/trunctfxf2.c: Likewise.
8901 * soft-fp/unorddf2.c: Likewise.
8902 * soft-fp/unordsf2.c: Likewise.
8903 * soft-fp/unordtf2.c: Likewise.
8905 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8907 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8908 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8910 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8912 * elf/dl-libc.c: Clear initfini list after freeing.
8914 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8916 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8917 * soft-fp/addsf3.c: Likewise.
8918 * soft-fp/addtf3.c: Likewise.
8919 * soft-fp/divdf3.c: Likewise.
8920 * soft-fp/divsf3.c: Likewise.
8921 * soft-fp/divtf3.c: Likewise.
8922 * soft-fp/double.h: Likewise.
8923 * soft-fp/eqdf2.c: Likewise.
8924 * soft-fp/eqsf2.c: Likewise.
8925 * soft-fp/eqtf2.c: Likewise.
8926 * soft-fp/extenddftf2.c: Likewise.
8927 * soft-fp/extended.h: Likewise.
8928 * soft-fp/extendsfdf2.c: Likewise.
8929 * soft-fp/extendsftf2.c: Likewise.
8930 * soft-fp/extendxftf2.c: Likewise.
8931 * soft-fp/fixdfdi.c: Likewise.
8932 * soft-fp/fixdfsi.c: Likewise.
8933 * soft-fp/fixdfti.c: Likewise.
8934 * soft-fp/fixsfdi.c: Likewise.
8935 * soft-fp/fixsfsi.c: Likewise.
8936 * soft-fp/fixsfti.c: Likewise.
8937 * soft-fp/fixtfdi.c: Likewise.
8938 * soft-fp/fixtfsi.c: Likewise.
8939 * soft-fp/fixtfti.c: Likewise.
8940 * soft-fp/fixunsdfdi.c: Likewise.
8941 * soft-fp/fixunsdfsi.c: Likewise.
8942 * soft-fp/fixunsdfti.c: Likewise.
8943 * soft-fp/fixunssfdi.c: Likewise.
8944 * soft-fp/fixunssfsi.c: Likewise.
8945 * soft-fp/fixunssfti.c: Likewise.
8946 * soft-fp/fixunstfdi.c: Likewise.
8947 * soft-fp/fixunstfsi.c: Likewise.
8948 * soft-fp/fixunstfti.c: Likewise.
8949 * soft-fp/floatdidf.c: Likewise.
8950 * soft-fp/floatdisf.c: Likewise.
8951 * soft-fp/floatditf.c: Likewise.
8952 * soft-fp/floatsidf.c: Likewise.
8953 * soft-fp/floatsisf.c: Likewise.
8954 * soft-fp/floatsitf.c: Likewise.
8955 * soft-fp/floattidf.c: Likewise.
8956 * soft-fp/floattisf.c: Likewise.
8957 * soft-fp/floattitf.c: Likewise.
8958 * soft-fp/floatundidf.c: Likewise.
8959 * soft-fp/floatundisf.c: Likewise.
8960 * soft-fp/floatunsidf.c: Likewise.
8961 * soft-fp/floatunsisf.c: Likewise.
8962 * soft-fp/floatuntidf.c: Likewise.
8963 * soft-fp/floatuntisf.c: Likewise.
8964 * soft-fp/floatuntitf.c: Likewise.
8965 * soft-fp/fmadf4.c: Likewise.
8966 * soft-fp/fmasf4.c: Likewise.
8967 * soft-fp/fmatf4.c: Likewise.
8968 * soft-fp/gedf2.c: Likewise.
8969 * soft-fp/gesf2.c: Likewise.
8970 * soft-fp/getf2.c: Likewise.
8971 * soft-fp/ledf2.c: Likewise.
8972 * soft-fp/lesf2.c: Likewise.
8973 * soft-fp/letf2.c: Likewise.
8974 * soft-fp/muldf3.c: Likewise.
8975 * soft-fp/mulsf3.c: Likewise.
8976 * soft-fp/multf3.c: Likewise.
8977 * soft-fp/negdf2.c: Likewise.
8978 * soft-fp/negsf2.c: Likewise.
8979 * soft-fp/negtf2.c: Likewise.
8980 * soft-fp/op-1.h: Likewise.
8981 * soft-fp/op-2.h: Likewise.
8982 * soft-fp/op-4.h: Likewise.
8983 * soft-fp/op-8.h: Likewise.
8984 * soft-fp/op-common.h: Likewise.
8985 * soft-fp/quad.h: Likewise.
8986 * soft-fp/single.h: Likewise.
8987 * soft-fp/soft-fp.h: Likewise.
8988 * soft-fp/sqrtdf2.c: Likewise.
8989 * soft-fp/sqrtsf2.c: Likewise.
8990 * soft-fp/sqrttf2.c: Likewise.
8991 * soft-fp/subdf3.c: Likewise.
8992 * soft-fp/subsf3.c: Likewise.
8993 * soft-fp/subtf3.c: Likewise.
8994 * soft-fp/truncdfsf2.c: Likewise.
8995 * soft-fp/trunctfdf2.c: Likewise.
8996 * soft-fp/trunctfsf2.c: Likewise.
8997 * soft-fp/trunctfxf2.c: Likewise.
8998 * soft-fp/unorddf2.c: Likewise.
8999 * soft-fp/unordsf2.c: Likewise.
9000 * soft-fp/unordtf2.c: Likewise.
9002 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9005 * misc/error.c (error_tail): Fix possible buffer overflow.
9007 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9010 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9013 2013-10-14 P. J. McDermott <pj@pehjota.net>
9016 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9017 testing pipefail option.
9019 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9021 * soft-fp/double.h: Indent preprocessor directives inside #if.
9022 * soft-fp/extended.h: Likewise.
9023 * soft-fp/op-2.h: Likewise.
9024 * soft-fp/op-4.h: Likewise.
9025 * soft-fp/op-common.h: Likewise.
9026 * soft-fp/quad.h: Likewise.
9027 * soft-fp/single.h: Likewise.
9028 * soft-fp/soft-fp.h: Likewise.
9030 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9032 * iconv/iconv_prog.c: Fix typos.
9033 * stdio-common/psiginfo-data.h: Likewise.
9035 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9038 * locale/setlocale.c: Fix typo.
9040 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9043 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9044 signaling NaN arguments.
9045 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9046 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9049 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9051 * soft-fp/gesf2.c (__gesf2): Likewise.
9052 * soft-fp/getf2.c (__getf2): Likewise.
9053 * soft-fp/ledf2.c (__ledf2): Likewise.
9054 * soft-fp/lesf2.c (__lesf2): Likewise.
9055 * soft-fp/letf2.c (__letf2): Likewise.
9057 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9058 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9059 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9060 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9061 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9062 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9063 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9064 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9065 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9066 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9067 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9068 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9069 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9070 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9071 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9072 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9073 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9074 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9075 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9076 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9077 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9078 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9079 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9080 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9081 * soft-fp/floattidf.c (__floattidf): Likewise.
9082 * soft-fp/floattisf.c (__floattisf): Likewise.
9083 * soft-fp/floattitf.c (__floattitf): Likewise.
9084 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9085 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9086 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9087 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9088 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9089 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9090 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9091 * soft-fp/gesf2.c (__gesf2): Likewise.
9092 * soft-fp/getf2.c (__getf2): Likewise.
9093 * soft-fp/ledf2.c (__ledf2): Likewise.
9094 * soft-fp/lesf2.c (__lesf2): Likewise.
9095 * soft-fp/letf2.c (__letf2): Likewise.
9097 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9098 Undefine and redefine.
9099 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9100 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9101 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9102 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9103 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9104 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9105 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9106 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9107 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9108 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9109 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9110 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9111 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9112 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9113 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9116 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9117 without decrementing exponent if mantissa >= that for the
9119 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9120 denominator, not >. Decrement exponent in < case instead of
9121 incrementing in >= case.
9122 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9123 without decrementing exponent if mantissa >= that for the
9126 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9127 computing saturated result for unsigned overflow.
9129 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9130 Jeff Law <law@redhat.com>
9132 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9133 (atan2Mp): Add systemtap probe marker.
9134 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9135 (__ieee754_log): Add systemtap probe marker.
9136 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9137 (atanMp): Add systemtap probe marker.
9138 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9139 (tanMp): Add systemtap probe marker.
9140 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9141 (__slowexp): Add systemtap probe marker.
9142 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9143 (__slowpow): Add systemtap probe marker.
9144 * manual/probes.texi: Document probes.
9146 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9149 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9151 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9153 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9154 written to buffer but not flushed.
9155 * libio/iofwrite_u.c: Likewise.
9156 * libio/iopadn.c: Return bytes returned even if EOF was
9158 * libio/iowpadn.c: Likewise.
9159 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9160 if _IO_padn does not write the whole buffer.
9161 [!COMPILE_WPRINTF] (PAD): Likewise.
9163 2013-10-10 David S. Miller <davem@davemloft.net>
9165 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9168 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9170 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9171 instead of FSF address.
9172 * soft-fp/fixdfti.c: Likewise.
9173 * soft-fp/fixsfti.c: Likewise.
9174 * soft-fp/fixtfti.c: Likewise.
9175 * soft-fp/fixunsdfti.c: Likewise.
9176 * soft-fp/fixunssfti.c: Likewise.
9177 * soft-fp/fixunstfti.c: Likewise.
9178 * soft-fp/floattidf.c: Likewise.
9179 * soft-fp/floattisf.c: Likewise.
9180 * soft-fp/floattitf.c: Likewise.
9181 * soft-fp/floatuntidf.c: Likewise.
9182 * soft-fp/floatuntisf.c: Likewise.
9183 * soft-fp/floatuntitf.c: Likewise.
9184 * soft-fp/trunctfxf2.c: Likewise.
9186 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9187 * soft-fp/fixdfti.c: Likewise.
9188 * soft-fp/fixsfti.c: Likewise.
9189 * soft-fp/fixtfti.c: Likewise.
9190 * soft-fp/fixunsdfti.c: Likewise.
9191 * soft-fp/fixunssfti.c: Likewise.
9192 * soft-fp/fixunstfti.c: Likewise.
9193 * soft-fp/floattidf.c: Likewise.
9194 * soft-fp/floattisf.c: Likewise.
9195 * soft-fp/floattitf.c: Likewise.
9196 * soft-fp/floatuntidf.c: Likewise.
9197 * soft-fp/floatuntisf.c: Likewise.
9198 * soft-fp/floatuntitf.c: Likewise.
9199 * soft-fp/trunctfxf2.c: Likewise.
9201 2013-10-10 David S. Miller <davem@davemloft.net>
9203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9205 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9207 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9208 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9209 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9216 for NaNs before doing comparisons on argument.
9217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9220 2013-10-10 Will Newton <will.newton@linaro.org>
9222 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9223 passed to _int_memalign does not overflow.
9225 2013-10-10 Torvald Riegel <triegel@redhat.com>
9227 * scripts/bench.pl: Add include-sources directive.
9228 * benchtests/README: Update documentation.
9230 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9232 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9233 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9234 instead of FP_INIT_ROUNDMODE.
9235 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9236 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9239 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9240 copy class of input value.
9241 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9242 not handle exceptions.
9243 * soft-fp/negsf2.c (__negsf2): Likewise.
9244 * soft-fp/negtf2.c (__negtf2): Likewise.
9245 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9247 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9249 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9250 semicolon. From Linux kernel.
9252 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9254 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9256 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9259 * manual/socket.texi: Added statement about buffer
9260 for gethostbyname2_r.
9262 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9264 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9265 Use .p2align directive instead, throughout.
9266 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9267 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9268 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9269 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9270 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9271 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9272 * sysdeps/x86_64/strchr.S: Likewise.
9273 * sysdeps/x86_64/strrchr.S: Likewise.
9275 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9277 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9279 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9281 * sysdeps/generic/math_private.h (__mpsin1): Remove
9283 (__mpcos1): Likewise.
9284 (__mpsin): New argument __range_reduce.
9285 (__mpcos): Likewise.
9286 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9287 (slow): Use __mpsin and __mpcos.
9294 (bsloww1): Likewise.
9295 (bsloww2): Likewise.
9298 (csloww1): Likewise.
9299 (csloww2): Likewise.
9300 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9301 range_reduce. Merge in __mpsin1.
9302 (__mpcos): Likewise.
9304 (__mpcos1): Likewise.
9306 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9308 * locale/loadlocale.c (_nl_intern_locale_data): Use
9310 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9311 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9312 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9313 obstack data is appropriately aligned.
9314 (obstack_int32_grow_fast): Likewise.
9315 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9316 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9317 (add_locale_uint32_array): Likewise.
9319 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9321 * benchtests/Makefile: Remove ARGLIST and RET variables.
9322 ($(objpfx)bench-%.c): Pass only function name to the script.
9323 * benchtests/README: Update documentation.
9324 * benchtests/acos-inputs: Add new directives.
9325 * benchtests/acosh-inputs: Likewise.
9326 * benchtests/asin-inputs: Likewise.
9327 * benchtests/asinh-inputs: Likewise.
9328 * benchtests/atan-inputs: Likewise.
9329 * benchtests/atanh-inputs: Likewise.
9330 * benchtests/cos-inputs: Likewise.
9331 * benchtests/cosh-inputs: Likewise.
9332 * benchtests/exp-inputs: Likewise.
9333 * benchtests/log-inputs: Likewise.
9334 * benchtests/pow-inputs: Likewise.
9335 * benchtests/rint-inputs: Likewise.
9336 * benchtests/sin-inputs: Likewise.
9337 * benchtests/sinh-inputs: Likewise.
9338 * benchtests/tan-inputs: Likewise.
9339 * benchtests/tanh-inputs: Likewise.
9340 * scripts/bench.pl: Add support for new directives.
9342 2013-10-07 Alan Modra <amodra@gmail.com>
9344 * README: Fix careless merge.
9346 2013-10-05 Alan Modra <amodra@gmail.com>
9348 * NEWS: Mention powerpc64le support and bugs fixed.
9349 * README: Both big-endian and little-endian powerpc64 supported.
9351 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9353 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9354 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9355 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9356 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9358 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9360 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9363 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9365 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9366 Move -mhard-float appending from
9367 ports/sysdeps/powerpc/powerpc32/Makefile.
9368 [$(with-fp) = yes] (ASFLAGS): Likewise.
9369 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9370 * sysdeps/powerpc/nofpu: Move directory from
9371 ports/sysdeps/powerpc/nofpu.
9372 * sysdeps/powerpc/soft-fp: Move directory from
9373 ports/sysdeps/powerpc/soft-fp.
9374 * sysdeps/powerpc/powerpc32/405: Move directory from
9375 ports/sysdeps/powerpc/powerpc32/405.
9376 * sysdeps/powerpc/powerpc32/440: Move directory from
9377 ports/sysdeps/powerpc/powerpc32/440.
9378 * sysdeps/powerpc/powerpc32/464: Move directory from
9379 ports/sysdeps/powerpc/powerpc32/464.
9380 * sysdeps/powerpc/powerpc32/476: Move directory from
9381 ports/sysdeps/powerpc/powerpc32/476.
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9383 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9385 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9387 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9389 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9391 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9392 * README: Update for powerpc-*-linux-gnu software floating point
9395 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9396 case to powerpc/powerpc32*.
9397 * sysdeps/unix/sysv/linux/configure: Regenerated.
9399 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9400 (_FPU_MASK_OM): Define as 0x04.
9401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9409 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9412 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9415 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9416 and setcontext_e500.
9418 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9420 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9422 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9424 * manual/threads.texi (Default Thread Attributes): Fix typo.
9426 2013-10-04 Will Newton <will.newton@linaro.org>
9428 * malloc/Makefile: Add tst-memalign.
9429 * malloc/tst-memalign.c: New file.
9431 * malloc/tst-posix_memalign.c: Add comments.
9432 (do_test): Add comments and call free on all potentially
9433 allocated pointers. Add space after cast.
9435 * malloc/tst-pvalloc.c: Add comments.
9436 (do_test): Add comments and call free on all potentially
9437 allocated pointers. Remove duplicate check for NULL pointer.
9438 Add space after cast.
9440 * malloc/tst-valloc.c: Add comments.
9441 (do_test): Add comments and call free on all potentially
9442 allocated pointers. Remove duplicate check for NULL pointer.
9443 Add space after cast.
9445 2013-10-04 Alan Modra <amodra@gmail.com>
9447 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9448 Use stdint types in rather than __attribute__((mode())).
9449 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9451 2013-10-04 Alan Modra <amodra@gmail.com>
9453 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9454 Correct handling of unaligned relocs for little-endian.
9455 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9457 2013-10-04 Alan Modra <amodra@gmail.com>
9459 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9460 * configure: Regenerate.
9461 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9462 * shlib-versions: Likewise.
9464 2013-10-04 Alan Modra <amodra@gmail.com>
9466 * string/tester.c (test_memrchr): Increment reported test cycle.
9468 2013-10-04 Alan Modra <amodra@gmail.com>
9470 * string/test-memcpy.c (do_one_test): When reporting errors, print
9471 string address and don't overrun end of string.
9473 2013-10-04 Alan Modra <amodra@gmail.com>
9475 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9476 insrdi. Make better use of reg selection to speed exit slightly.
9477 Schedule entry path a little better. Remove useless "are we done"
9478 checks on entry to main loop. Handle wrapping around zero address.
9479 Correct main loop count. Handle single left-over word from main
9480 loop inline rather than by using loop_small. Remove extra word
9481 case in loop_small caused by wrong loop count. Add little-endian
9483 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9484 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9486 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9487 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9488 support. Avoid rlwimi.
9489 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9491 2013-10-04 Alan Modra <amodra@gmail.com>
9493 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9495 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9496 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9497 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9498 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9499 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9500 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9502 2013-10-04 Alan Modra <amodra@gmail.com>
9504 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9505 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9506 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9507 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9508 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9509 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9510 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9511 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9512 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9513 use of regs. Use power7 mtocrf. Tidy function tails.
9515 2013-10-04 Alan Modra <amodra@gmail.com>
9517 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9518 Formatting. Consistently use rXXX register defines or rN defines.
9519 Use early exit labels that avoid restoring unused non-volatile regs.
9520 Make cr field use more consistent with rWORDn compares. Rename
9521 regs used as shift registers for unaligned loop, using rN defines
9522 for short lifetime/multiple use regs.
9523 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9524 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9525 addi 1,1,64 to pop stack frame. Simplify return value code.
9526 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9528 2013-10-04 Alan Modra <amodra@gmail.com>
9530 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9531 support. Correct typos, formatting. Optimize tail. Use insrdi
9533 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9534 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9535 little-endian support. Correct typos.
9536 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9538 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9539 in loop and entry code to keep "and." results.
9540 (strchr): Add little-endian support. Comment. Move cntlzd
9542 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9544 2013-10-04 Alan Modra <amodra@gmail.com>
9546 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9547 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9548 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9549 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9551 2013-10-04 Alan Modra <amodra@gmail.com>
9553 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9554 (rTMP): Define as r11.
9555 (strcmp): Add little-endian support. Optimise tail.
9556 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9557 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9558 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9559 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9560 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9562 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9564 2013-10-04 Alan Modra <amodra@gmail.com>
9566 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9567 little-endian support. Remove unnecessary "are we done" tests.
9568 Handle "s" wrapping around zero and extremely large "size".
9569 Correct main loop count. Handle single left-over word from main
9570 loop inline rather than by using small_loop. Correct comments.
9571 Delete "zero" tail, use "end_max" instead.
9572 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9574 2013-10-04 Alan Modra <amodra@gmail.com>
9576 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9577 support. Don't branch over align.
9578 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9579 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9580 support. Rearrange tmp reg use to suit. Comment.
9581 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9583 2013-10-04 Alan Modra <amodra@gmail.com>
9585 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9587 2013-10-04 Alan Modra <amodra@gmail.com>
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9590 conditional form of branch and link when obtaining pc.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9593 2013-10-04 Alan Modra <amodra@gmail.com>
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9600 2013-10-04 Alan Modra <amodra@gmail.com>
9602 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9603 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9604 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9605 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9606 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9607 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9608 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9609 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9610 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9611 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9613 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9614 Alistair Popple <alistair@ozlabs.au.ibm.com>
9615 Alan Modra <amodra@gmail.com>
9618 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9619 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9620 _dl_hwcap access for little-endian.
9621 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9622 destroy vmx regs when saving unaligned.
9623 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9624 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9625 destroy vmx regs when saving unaligned.
9627 2013-10-04 Alan Modra <amodra@gmail.com>
9629 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9630 Don't use a union to pack hi/low value.
9632 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9634 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9636 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9638 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9639 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9640 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9642 2013-10-04 Alan Modra <amodra@gmail.com>
9644 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9645 constants to usual value for .cst8 section, and remove redundant
9647 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9648 constant for 0x1p52. Load little-endian words of double from
9649 correct stack offsets.
9651 2013-10-04 Alan Modra <amodra@gmail.com>
9653 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9654 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9655 words of double from correct stack offsets.
9656 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9657 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9658 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9659 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9660 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9662 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9663 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9664 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9665 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9666 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9667 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9668 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9669 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9670 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9671 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9672 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9674 2013-10-04 Alan Modra <amodra@gmail.com>
9676 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9677 64-bit int/double union.
9678 (_FPU_SETCW): Likewise.
9679 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9680 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9682 2013-10-04 Alan Modra <amodra@gmail.com>
9684 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9685 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9687 2013-10-04 Alan Modra <amodra@gmail.com>
9689 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9690 use vector int constants.
9691 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9693 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9695 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9696 array with long long.
9697 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9698 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9699 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9700 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9701 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9702 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9703 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9704 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9705 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9706 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9707 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9708 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9709 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9711 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9713 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9714 (__signbit): Likewise. Correct for little-endian.
9715 (__signbitl): Call __signbit.
9716 (lrint): Correct for little-endian.
9717 (lrintf): Call lrint.
9719 2013-10-04 Alan Modra <amodra@gmail.com>
9721 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9722 union 32-bit int array member with 64-bit int array.
9723 (t515, tm256): Double rather than long double.
9724 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9726 2013-10-04 Alan Modra <amodra@gmail.com>
9728 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9730 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9732 version of math_ldbl.h.
9734 2013-10-04 Alan Modra <amodra@gmail.com>
9736 [BZ #15734], [BZ #15735]
9737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9738 all uses of ieee875 long double macros and unions. Simplify test
9739 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9740 ldbl_extract_mantissa value for ix,iy exponents. Properly
9741 normalize after ldbl_extract_mantissa, and don't add hidden bit
9742 already handled. Don't treat low word of ieee854 mantissa like
9743 low word of IBM long double and mask off bit when testing for
9745 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9746 all uses of ieee875 long double macros and unions. Simplify tests
9747 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9748 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9749 two1022, instead use their values. Recognise that tests for large
9750 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9751 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9752 Rewrite all uses of ieee875 long double macros and unions. Simplify
9753 test for 0.0L and nan. Correct negation.
9754 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9755 ieee875 long double macros and unions. Correct output for large
9756 magnitude x. Correct absolute value calculation.
9757 (__erfcl): Likewise.
9758 * math/libm-test.inc: Add tests for errors discovered in IBM long
9759 double versions of fmodl, remainderl, erfl and erfcl.
9761 2013-10-04 Alan Modra <amodra@gmail.com>
9763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9764 all uses of ieee854 long double macros and unions. Simplify tests
9765 for long doubles that are fully specified by the high double.
9766 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9768 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9769 Remove dead code too.
9770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9771 (__ieee754_ynl): Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9775 Remove dead code too.
9776 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9786 Comment on variable precision.
9787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9790 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9794 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9796 2013-10-04 Alan Modra <amodra@gmail.com>
9798 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9799 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9800 all uses of ieee854 long double macros and unions.
9801 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9802 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9803 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9804 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9805 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9809 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9810 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9812 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9813 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9814 Simplify sign and nan test too.
9815 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9816 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9820 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9823 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9824 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9830 2013-10-04 Alan Modra <amodra@gmail.com>
9832 * stdio-common/printf_size.c (__printf_size): Don't use
9833 union ieee854_long_double in fpnum union.
9834 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9835 signbit macro to retrieve sign from long double.
9836 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9837 retrieve sign from long double.
9838 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9839 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9840 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9841 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9842 * math/test-misc.c (main): Don't use union ieee854_long_double.
9844 2013-10-04 Alan Modra <amodra@gmail.com>
9847 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9848 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9849 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9850 calculation. Remove unnecessary test for denormal exponent.
9851 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9852 Correct handling of denormals. Avoid undefined shift behaviour.
9853 Correct normalisation of low mantissa when low double is denormal.
9854 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9855 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9856 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9857 Correct normalisation of low mantissa. Test for overflow of high
9858 mantissa and normalise.
9859 (ldbl_nearbyint): Use more readable constant for two52.
9860 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9861 (__mpn_construct_long_double): Fix test for overflow of high
9862 mantissa and correct normalisation. Avoid undefined shift.
9864 2013-10-04 Alan Modra <amodra@gmail.com>
9866 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9867 (union ibm_extended_long_double): Define as an array of ieee754_double.
9868 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9869 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9870 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9871 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9880 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9882 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9883 page size instead of calling getpagesize.
9885 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9886 (LOCFILE_ALIGN_MASK): Likewise.
9887 (LOCFILE_ALIGN_UP): Likewise.
9888 (LOCFILE_ALIGNED_P): Likewise.
9889 * locale/programs/ld-collate.c (collate_output): Use the new
9890 macros instead of __alignof__ (int32_t).
9891 * locale/weight.h (findidx): Likewise.
9893 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9896 * manual/string.texi: Fix strncat and wcsncat.
9898 2013-10-03 Brooks Moses <bmoses@google.com>
9901 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9902 * Makerules: ...here, and adjust associated comments.
9904 2013-10-02 Will Newton <will.newton@linaro.org>
9906 * malloc/Makefile: Add tst-pvalloc.
9907 * malloc/tst-pvalloc.c: New file.
9909 2013-10-02 Will Newton <will.newton@linaro.org>
9911 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9912 improve test coverage.
9914 2013-10-02 Will Newton <will.newton@linaro.org>
9916 * malloc/Makefile: Add tst-posix_memalign.
9917 * malloc/tst-posix_memalign.c: New file.
9919 2013-10-01 Eric Blake <eblake@redhat.com>
9921 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9922 Use __THROWNL rather than __THROW on static functions.
9924 2013-09-30 Petr Machata <pmachata@redhat.com>
9926 * elf/elf.h (R_AARCH64_ABS16): New macro.
9927 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9928 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9929 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9930 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9931 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9932 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9933 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9934 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9935 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9936 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9937 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9938 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9939 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9940 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9941 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9942 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9943 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9944 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9945 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9946 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9947 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9948 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9949 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9950 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9951 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9952 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9953 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9954 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9955 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9956 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9957 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9958 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9959 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9960 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9961 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9962 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9963 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9964 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9965 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9966 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9967 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9968 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9969 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9970 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9971 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9972 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9973 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9974 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9975 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9976 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9977 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9978 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9979 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9980 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9981 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9982 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9983 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9984 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9985 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9986 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9987 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9988 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9989 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9990 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9991 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9992 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9993 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9994 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9995 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9996 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9997 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9998 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9999 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10000 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10001 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10002 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10003 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10004 (R_AARCH64_TLSDESC_LDR): Likewise.
10005 (R_AARCH64_TLSDESC_ADD): Likewise.
10006 (R_AARCH64_TLSDESC_CALL): Likewise.
10008 2013-09-30 Andreas Schwab <schwab@suse.de>
10011 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10012 the nss database lookup.
10013 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10016 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10018 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10020 2013-09-28 P. J. McDermott <pj@pehjota.net>
10022 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10023 ${Bash-specific parameter/pattern/string} parameter expansion.
10024 * sysdeps/unix/make-syscalls.sh: Likewise.
10026 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10028 * sysdeps/sh/stackguard-macros.h: New file.
10030 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10034 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10035 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10036 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10037 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10039 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10041 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10042 Fix thread ID register.
10044 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10046 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10047 [POSIX || UNIX98]: Require rather than permitting all symbols from
10049 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10050 element of struct sched_param.
10051 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10052 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10053 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10054 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10057 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10059 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10060 argument calculation.
10062 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10064 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10066 [POSIX] (pthread_attr_t): Do not require type.
10067 [POSIX] (pthread_cond_t): Likewise.
10068 [POSIX] (pthread_condattr_t): Likewise.
10069 [POSIX] (pthread_key_t): Likewise.
10070 [POSIX] (pthread_mutex_t): Likewise.
10071 [POSIX] (pthread_mutexattr_t): Likewise.
10072 [POSIX] (pthread_once_t): Likewise.
10073 [POSIX] (pthread_t): Likewise.
10074 [POSIX-based standards] (pthread_atfork): Expect function.
10076 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10077 Richard Sandiford <richard@codesourcery.com>
10079 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10080 (swap_endianness_p): New extern variable.
10081 (set_big_endian): New inline function.
10082 (maybe_swap_uint32): Likewise.
10083 (maybe_swap_uint32_array): Likewise.
10084 (maybe_swap_uint32_obstack): Likewise.
10085 * locale/programs/locfile.c: Include <stdbool.h>.
10086 (swap_endianness_p): New variable.
10087 (add_locale_uint32): Call maybe_swap_uint32.
10088 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10089 (write_locale_data): Call maybe_swap_uint32_array.
10090 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10092 (obstack_int32_grow_fast): Likewise.
10093 (output_weightwc): Call maybe_swap_uint32_obstack.
10094 (collate_output): Likewise.
10095 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10096 (OPT_LITTLE_ENDIAN): Likewise.
10097 (options): Add --little-endian and --big-endian options.
10098 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10099 * locale/programs/locarchive.c: Include "locfile.h".
10103 (create_archive): Use the new macros to access fields of
10104 structures directly mapped from or written to locale archives.
10105 (oldlocrecentcmp): Likewise.
10106 (enlarge_archive): Likewise.
10107 (insert_name): Likewise.
10108 (add_alias): Likewise.
10109 (add_locale): Likewise.
10110 (delete_locales_from_archive): Likewise.
10111 (show_archive_content): Likewise.
10112 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10115 2013-09-24 Roland McGrath <roland@hack.frob.com>
10117 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10118 http://www.gnu.org/doc/freemanuals.texi.
10119 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10121 2013-09-24 Will Newton <will.newton@linaro.org>
10123 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10126 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10128 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10131 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10133 * manual/threads.texi (POSIX Threads): Fix a typo.
10135 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10138 * string/tst-strcoll-overflow.c: New test case.
10139 * string/Makefile (xtests): Add tst-strcoll-overflow.
10140 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10141 cache if string sizes may cause integer overflow.
10144 * string/strcoll_l.c (coll_seq): New members rule, idx,
10145 save_idx and back_us.
10146 (get_next_seq_nocache): New function.
10147 (do_compare_nocache): New function.
10148 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10151 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10154 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10155 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10156 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10159 * elf/Makefile (tests): Add tst-ptrguard1.
10160 (tests-static): Add tst-ptrguard1-static.
10161 (tst-ptrguard1-ARGS): Define.
10162 (tst-ptrguard1-static-ARGS): Define.
10163 * elf/tst-ptrguard1.c: New file.
10164 * elf/tst-ptrguard1-static.c: New file.
10165 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10166 * sysdeps/i386/stackguard-macros.h: Likewise.
10167 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10168 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10169 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10170 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10171 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10172 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10174 2013-09-23 Hector Marco <hecmargi@upv.es>
10175 Ismael Ripoll <iripoll@disca.upv.es>
10176 Carlos O'Donell <carlos@redhat.com>
10179 * sysdeps/generic/stackguard-macros.h: Define
10180 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10181 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10182 Define __pointer_chk_guard_local.
10183 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10184 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10186 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10189 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10191 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10193 * include/string.h (__ffs): Declare as hidden.
10194 * string/ffs.c (__ffs): Define as hidden.
10195 * sysdeps/i386/ffs.c (__ffs): Likewise.
10196 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10197 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10198 * sysdeps/s390/ffs.c (__ffs): Likewise.
10199 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10201 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10203 * NEWS: Mention malloc probes.
10205 * malloc/arena.c (new_heap): New memory_heap_new probe.
10206 (grow_heap): New memory_heap_more probe.
10207 (shrink_heap): New memory_heap_less probe.
10208 (heap_trim): New memory_heap_free probe.
10209 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10210 (systrim): New memory_sbrk_less probe.
10211 * manual/probes.texi: Document them.
10213 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10214 * manual/probes.texi: Document it.
10216 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10217 (__libc_realloc): Add memory_realloc_retry probe.
10218 (__libc_memalign): Add memory_memalign_retry probe.
10219 (__libc_valloc): Add memory_valloc_retry probe.
10220 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10221 (__libc_calloc): Add memory_calloc_retry probe.
10222 * manual/probes.texi: Document them.
10224 * malloc/arena.c (get_free_list): Add probe
10225 memory_arena_reuse_free_list.
10226 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10227 and memory_arena_reuse.
10228 (arena_get2) [!PER_THREAD]: Likewise.
10229 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10230 memory_arena_reuse_realloc.
10231 * manual/probes.texi: Document them.
10233 * malloc/malloc.c (__libc_free): Add
10234 memory_mallopt_free_dyn_thresholds probe.
10235 (__libc_mallopt): Add multiple memory_mallopt probes.
10236 * manual/probes.texi: Document them.
10238 * malloc/malloc.c: Include stap-probe.h.
10239 (__libc_mallopt): Add memory_mallopt probe.
10240 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10241 * manual/probes.texi: New.
10242 * manual/Makefile (chapters): Add probes.
10243 * manual/threads.texi: Set next node.
10245 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10247 [BZ #15963, #13985]
10248 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10249 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10250 Add `Chinese' to `nan' entry name.
10252 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10254 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10255 (POLYNOMIAL): Likewise.
10256 (TAYLOR_SINCOS): Likewise.
10257 (TAYLOR_SLOW): Likewise.
10258 (__sin): Use TAYLOR_SINCOS.
10260 (slow): Use TAYLOR_SLOW.
10262 (bsloww): Likewise.
10263 (csloww): Likewise.
10265 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10267 * stdlib/strtod_l.c: Fix buffer overrun.
10269 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10271 * benchtests/Makefile (bench): Add sincos.
10272 * benchtests/bench-sincos.c: New file.
10274 * math/libm-test.inc (cos_test_data): New test inputs.
10275 (sin_test_data): Likewise.
10277 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10283 (sloww1): Likewise.
10284 (sloww2): Likewise.
10285 (bsloww1): Likewise.
10286 (bsloww2): Likewise.
10287 (cslow2): Likewise.
10288 (csloww1): Likewise.
10289 (csloww2): Likewise.
10291 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10300 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10302 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10303 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10304 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10305 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10306 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10307 * elf/cache.c (print_entry): Handle the new cache flags.
10309 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10310 Aldy Hernandez <aldyh@redhat.com>
10312 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10313 Change condition to [_SOFT_FLOAT].
10314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10326 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10329 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10332 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10334 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10335 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10336 (__longjmp): Use LOAD_GP to load saved GPRs.
10337 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10338 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10339 (__sigsetjmp): Use SAVE_GP to save GPRs.
10341 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10342 Do not append -msoft-float.
10343 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10345 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10347 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10349 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10352 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10353 (_FPU_GETCW): Use initial "__" on variable and field names but not
10354 on macro parameter name.
10355 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10356 parentheses around reference to macro parameter.
10358 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10360 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10362 (ctype_startup): Use uint32_t in cast and sizeof for
10365 2013-09-11 Jia Liu <proljc@gmail.com>
10367 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10369 [__FreeBSD__]: Likewise.
10371 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10374 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10375 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10376 (strchr): Remove __strchr_sse42 ifunc selection.
10377 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10378 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10380 2013-09-11 Will Newton <will.newton@linaro.org>
10382 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10383 parameter to RES. Remove hardcoded 1000 value.
10384 * benchtests/bench-skeleton.c (main): Pass RES parameter
10385 to TIMING_INIT and multiply result by 1000.
10387 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10391 2013-09-11 Andreas Schwab <schwab@suse.de>
10393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10395 (O_TMPFILE) [__USE_GNU]: Define.
10396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10399 2013-09-11 Will Newton <will.newton@linaro.org>
10402 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10405 2013-09-11 Will Newton <will.newton@linaro.org>
10408 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10411 2013-09-11 Will Newton <will.newton@linaro.org>
10414 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10417 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10419 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10420 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10425 2013-09-10 Allan McRae <allan@archlinux.org>
10428 * manual/arith.texi (Parsing of Floats): Clarify
10432 * manual/install.texi (Running make install): Mention
10434 * INSTALL: Regenerated.
10436 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10438 * csu/init-first.c (_init): Remove the !SHARED condition around
10439 FPU control word initialization.
10440 * elf/dl-support.c (_dl_fpu_control): New variable.
10441 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10442 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10443 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10444 * math/test-fpucw-static.c: New file.
10445 * math/test-fpucw-ieee.c: New file.
10446 * math/test-fpucw-ieee-static.c: New file.
10447 * math/Makefile (tests): Add `test-fpucw-ieee' and
10449 (tests-static): New variable.
10450 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10452 [($(build-shared),yes)]
10453 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10455 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10458 2013-09-09 Allan McRae <allan@archlinux.org>
10461 * manual/string.texi (Collation Functions): Fix typo in
10463 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10466 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10469 * libio/memstream.c (open_memstream): Fix memory leak.
10470 * libio/wmemstream.c (open_wmemstream): Likewise.
10473 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10475 2013-09-09 Will Newton <will.newton@linaro.org>
10477 * malloc/Makefile: Add tst-realloc to tests.
10478 * malloc/tst-realloc.c: New file.
10480 2013-09-09 Allan McRae <allan@archlinux.org>
10483 * COPYING: Update from GNU website to fix FSF address.
10484 * COPYING.LIB: Likewise.
10486 2013-09-06 David S. Miller <davem@davemloft.net>
10488 * po/zh_TW.po: Update Chinese (traditional) translation from
10489 translation project.
10491 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10492 Joseph Myers <joseph@codesourcery.com>
10494 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10496 (obstack_chunk_alloc): New macro.
10497 (obstack_chunk_free): Likewise.
10498 (record_offset): New function.
10499 (init_locale_data): Likewise.
10500 (align_locale_data): Likewise.
10501 (add_locale_empty): Likewise.
10502 (add_locale_raw_data): Likewise.
10503 (add_locale_raw_obstack): Likewise.
10504 (add_locale_string): Likewise.
10505 (add_locale_wstring): Likewise.
10506 (add_locale_uint32): Likewise.
10507 (add_locale_uint32_array): Likewise.
10508 (add_locale_char): Likewise.
10509 (start_locale_structure): Likewise.
10510 (end_locale_structure): Likewise.
10511 (start_locale_prelude): Likewise.
10512 (end_locale_prelude): Likewise.
10513 (write_locale_data): Take locale_file structure rather than an
10515 * locale/programs/locfile.h: Include "obstack.h".
10516 (struct locale_file): Change to store locale file contents instead
10518 (init_locale_data): New prototype.
10519 (align_locale_data): Likewise.
10520 (add_locale_empty): Likewise.
10521 (add_locale_raw_data): Likewise.
10522 (add_locale_raw_obstack): Likewise.
10523 (add_locale_string): Likewise.
10524 (add_locale_wstring): Likewise.
10525 (add_locale_uint32): Likewise.
10526 (add_locale_uint32_array): Likewise.
10527 (add_locale_char): Likewise.
10528 (start_locale_structure): Likewise.
10529 (end_locale_structure): Likewise.
10530 (start_locale_prelude): Likewise.
10531 (end_locale_prelude): Likewise.
10532 (write_locale_data): Update prototype.
10533 * locale/programs/3level.h (struct TABLE): Remove result field.
10534 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10535 Use new locale_file interface.
10536 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10537 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10538 * locale/programs/ld-address.c (address_output): Use new
10539 locale_file interface.
10540 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10542 (collate_finish): Don't call collseq_table_finalize.
10543 (collate_output): Use new locale_file interface.
10544 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10546 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10547 (TABLE): Move defines earlier in file.
10548 (ELEMENT): Likewise.
10549 (DEFAULT): Likewise.
10550 (wctrans_table_add): Move macro and inline function earlier in
10552 (struct wctype_table): Move type earlier in file.
10553 (add_locale_wctype_table): New static prototype.
10554 (struct locale_ctype_t): Use logical types instead of struct iovec
10555 pointers for members.
10556 (ctype_output): Use new locale_file interface.
10557 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10558 new locale_file interface.
10559 (allocate_arrays): Update for use of new locale_file interface.
10560 * locale/programs/ld-identification.c (identification_output): Use
10561 new locale_file interface.
10562 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10563 * locale/programs/ld-messages.c (messages_output): Likewise.
10564 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10565 * locale/programs/ld-name.c (name_output): Likewise.
10566 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10567 * locale/programs/ld-paper.c (paper_output): Likewise.
10568 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10569 * locale/programs/ld-time.c (time_output): Likewise.
10571 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10573 * benchtests/Makefile: Add memrchr benchmark.
10574 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10575 benchmark as memrchr.
10576 * benchtests/bench-memrchr-ifunc.c: New file.
10577 * benchtests/bench-memrchr.c: New file.
10579 2013-09-06 Will Newton <will.newton@linaro.org>
10581 * benchtests/Makefile (string-bench): Add memcpy.
10583 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10584 Cong Wang <amwang@redhat.com>
10587 * sysdeps/unix/sysv/linux/bits/in.h
10588 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10589 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10590 before __USE_KERNEL_IPV6_DEFS uses.
10591 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10593 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10594 sockaddr_in6, or ipv6_mreq.
10596 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10598 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10599 memory access for final bytes in some large inputs.
10600 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10602 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10604 * string/test-memrchr.c: New file.
10605 * string/test-memrchr-ifunc.c: New file.
10606 * string/Makefile: Add new memrchr testcase.
10608 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10610 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10611 fanotify_init returns EPERM.
10613 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10615 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10617 (top level): Treat second token from macro or constant entries for
10618 allowed headers as allowed.
10619 * include/complex.h: Condition internal declarations on
10621 * include/fenv.h: Condition include of <stdbool.h> and internal
10622 declarations on [!_ISOMAC].
10624 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10627 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10629 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10631 * configure.in (--enable-versioning): Remove configure option.
10632 (libc_cv_asm_symver_directive): Remove configure test.
10633 (libc_cv_ld_version_script_option): Likewise.
10634 (VERSIONING): Remove variable and AC_SUBST.
10635 (DO_VERSIONING): Remove AC_DEFINE.
10636 * configure: Regenerated.
10637 * config.h.in (DO_VERSIONING): Remove macro.
10638 * Makerules [$(versioning) = yes]: Change conditionals to
10639 [$(build-shared) = yes].
10640 * config.make.in (versioning): Remove variable.
10641 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10642 [$(build-shared) = yes].
10643 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10644 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10645 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10646 [$(build-shared) = yes].
10647 * extra-lib.mk [$(versioning) = yes]: Likewise.
10648 * hurd/Makefile [$(versioning) = yes]: Likewise.
10649 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10651 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10653 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10654 [SHARED && !NO_HIDDEN].
10655 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10657 [SHARED && DO_VERSIONING]: Likewise..
10658 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10659 [$(build-shared) = yes].
10660 * manual/install.texi (--disable-versioning): Remove
10662 * INSTALL: Regenerated.
10663 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10665 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10666 [$(build-shared) = yes].
10667 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10668 * sysdeps/i386/i686/multiarch/strstr-c.c
10669 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10670 [SHARED && !NO_HIDDEN].
10671 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10672 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10673 * sysdeps/powerpc/powerpc32/dl-machine.c
10674 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10675 * sysdeps/powerpc/powerpc32/sysdep.h
10676 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10677 to [SHARED && PIC && !NO_HIDDEN].
10678 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10679 conditional to [SHARED].
10681 2013-09-04 Will Newton <will.newton@linaro.org>
10683 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10684 * benchtests/bench-string.h: Include bench-timing.h instead
10685 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10686 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10687 call to HP_TIMING_DIFF_INIT.
10688 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10689 instead of hp-timing.h macros.
10690 * benchtests/bench-memchr.c: Likewise.
10691 * benchtests/bench-memcmp.c: Likewise.
10692 * benchtests/bench-memcpy.c: Likewise.
10693 * benchtests/bench-memmem.c: Likewise.
10694 * benchtests/bench-memmove.c: Likewise.
10695 * benchtests/bench-memset.c: Likewise.
10696 * benchtests/bench-rawmemchr.c: Likewise.
10697 * benchtests/bench-strcasecmp.c: Likewise.
10698 * benchtests/bench-strcasestr.c: Likewise.
10699 * benchtests/bench-strcat.c: Likewise.
10700 * benchtests/bench-strchr.c: Likewise.
10701 * benchtests/bench-strcmp.c: Likewise.
10702 * benchtests/bench-strcpy.c: Likewise.
10703 * benchtests/bench-strcpy_chk.c: Likewise.
10704 * benchtests/bench-strlen.c: Likewise.
10705 * benchtests/bench-strncasecmp.c: Likewise.
10706 * benchtests/bench-strncat.c: Likewise.
10707 * benchtests/bench-strncmp.c: Likewise.
10708 * benchtests/bench-strncpy.c: Likewise.
10709 * benchtests/bench-strnlen.c: Likewise.
10710 * benchtests/bench-strpbrk.c: Likewise.
10711 * benchtests/bench-strrchr.c: Likewise.
10712 * benchtests/bench-strspn.c: Likewise.
10713 * benchtests/bench-strstr.c: Likewise.
10715 2013-09-04 Will Newton <will.newton@linaro.org>
10717 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10719 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10722 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10723 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10724 * math/libm-test.inc (lgamma_test_data): Add more tests.
10725 * sysdeps/i386/fpu/libm-test-ulps: Update.
10726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10728 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10730 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10734 Add strcmp-sse2-unaligned
10735 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10737 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10739 * Versions.def (libc): Add GLIBC_2.19.
10741 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10743 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10744 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10746 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10749 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10750 intermediate calculations in recurrence.
10751 (__ieee754_ynf): Likewise.
10752 * math/libm-test.inc (jn_test_data): Do not allow spurious
10753 underflow exception. Add more tests.
10754 (yn_test_data): Add more tests.
10755 * sysdeps/i386/fpu/libm-test-ulps: Update.
10756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10758 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10760 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10762 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10764 * csu/init-first.c: Fix then/than typos.
10765 * locale/programs/ld-collate.c: Likewise.
10766 * locale/programs/linereader.h: Likewise.
10767 * manual/charset.texi: Likewise.
10768 * manual/filesys.texi: Likewise.
10769 * manual/stdio.texi: Likewise.
10770 * manual/string.texi: Likewise.
10771 * stdlib/fmtmsg.c: Likewise.
10772 * sysdeps/i386/stpncpy.S: Likewise.
10773 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10774 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10775 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10776 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10778 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10780 * elf/dl-open.c: Fix typos.
10781 * iconvdata/gbbig5.c: Likewise.
10782 * iconvdata/iso-2022-jp.c: Likewise.
10783 * iconv/gconv_int.h: Likewise.
10784 * iconv/loop.c: Likewise.
10785 * nis/rpcsvc/nis.h: Likewise.
10786 * resolv/ns_name.c: Likewise.
10787 * stdio-common/vfscanf.c: Likewise.
10788 * streams/stropts.h: Likewise.
10789 * sunrpc/rpc_thread.c: Likewise.
10790 * sysdeps/i386/strpbrk.S: Likewise.
10791 * sysdeps/ieee754/k_standard.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10794 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10795 * sysdeps/mach/hurd/profil.c: Likewise.
10796 * sysdeps/s390/dl-procinfo.h: Likewise.
10797 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10798 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10799 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10800 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10801 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10803 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10805 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10806 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10808 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10810 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10811 aix specific files.
10812 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10813 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10814 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10816 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10817 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10818 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10819 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10821 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10822 Roland McGrath <roland@hack.frob.com>
10824 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10825 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10827 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10829 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10830 __executable_start symbol instead of _start.
10832 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10834 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10835 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10837 * sysdeps/gnu/ldsodefs.h: ... this new file.
10839 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10840 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10841 instead of ELFOSABI_LINUX.
10843 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10844 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10845 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10846 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10848 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10849 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10850 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10852 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10853 (ibm_extended_long_double): Add ieee_nan member.
10854 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10855 (do_test): New function.
10857 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10859 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10860 functions, renamed from truncdfsf_test, trunctfsf_test,
10862 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10864 (do_test): Run all these.
10866 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10868 * argp/argp-help.c: Fix typos.
10869 * argp/argp-parse.c: Likewise.
10870 * debug/backtracesyms.c: Likewise.
10871 * elf/elf.h: Likewise.
10872 * malloc/malloc.c: Likewise.
10873 * nis/nis_print.c: Likewise.
10874 * resolv/res_comp.c: Likewise.
10875 * stdlib/stdlib.h: Likewise.
10876 * sunrpc/clnt_tcp.c: Likewise.
10877 * sunrpc/clnt_udp.c: Likewise.
10878 * sunrpc/clnt_unix.c: Likewise.
10879 * sysdeps/unix/bsd/ptsname.c: Likewise.
10880 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10881 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10888 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10890 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10892 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10895 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10898 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10899 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10900 ($(objpfx)bug-dl-leaf): New rule.
10901 ($(objpfx)bug-dl-leaf.so): Likewise.
10902 ($(objpfx)bug-dl-leaf.out): Likewise.
10903 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10904 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10905 * dlfcn/bug-dl-leaf.c: New test.
10906 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10907 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10908 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10909 (dlclose): Likewise.
10910 (dlmopen): Likewise.
10912 2013-08-27 Roland McGrath <roland@hack.frob.com>
10914 * include/netdb.h [!_ISOMAC]:
10915 Don't include <tls.h>.
10916 (h_errno, __libc_h_errno): Move declaration and macros out of
10919 * include/resolv.h [_RESOLV_H_]:
10920 Don't include <tls.h>.
10921 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10922 * resolv/res_libc.c: Don't include <tls.h>.
10923 (_res): Use __attribute__ ((nocommon)) in place of
10924 __attribute__ ((section (".bss"))).
10926 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10927 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10929 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10931 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10932 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10934 * resolv/res_mkquery.c: Include <sys/time.h>.
10936 * inet/ifreq.c: Moved to ...
10937 * sysdeps/unix/ifreq.c: ... here.
10938 * inet/ifreq.c: New file, true stub version.
10940 * socket/sa_len.c: New file.
10941 * socket/Makefile (aux): Add it.
10942 * sysdeps/unix/sysv/linux/Makefile
10943 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10944 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10945 and #include <socket/sa_len.c>.
10946 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10947 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10949 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10950 * bits/socket.h: ... here.
10952 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10953 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10954 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10956 2013-08-27 Andreas Schwab <schwab@suse.de>
10959 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10960 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10961 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10962 * string/test-strcasecmp.c (test_main): Run tests in several
10964 * string/test-strncasecmp.c (test_main): Likewise.
10966 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10967 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10968 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10970 (__strncasecmp_ssse3) [PIC]: Likewise.
10972 2013-08-26 Roland McGrath <roland@hack.frob.com>
10974 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10976 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10977 instead of explicitly declaring xdecrypt.
10978 * nis/nss_nis/nis-publickey.c: Likewise.
10980 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10983 * nscd/aicache.c: Include res_hconf.h.
10984 (addhstaiX): Initialize res_hconf.
10986 2013-08-26 Andreas Schwab <schwab@suse.de>
10988 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10989 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10991 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10993 * nscd/aicache.c (addhstaiX): Fix indentation.
10995 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10997 * configure.ac: Quote $build_pt_chown test.
10998 * configure: Regenerated.
11000 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11003 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11004 * math/s_cexpf.c (__cexpf): Likewise.
11005 * math/s_cexpl.c (__cexpl): Likewise.
11006 * math/libm-test.inc (cexp_test_data): Correct expected return
11007 value for NaN + i0. Add another test.
11009 2013-08-22 David S. Miller <davem@davemloft.net>
11011 * po/ca.po: Update Catalan translation from translation project.
11012 * po/uk.po: Add Ukrainian translations from translation project.
11014 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11017 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11018 is infinite, not alongside NaN test.
11019 * math/s_fdimf.c (__fdimf): Likewise.
11020 * math/s_fdiml.c (__fdiml): Likewise.
11021 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11022 errno is unchanged.
11024 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11026 * argp/argp-help.c: Fix typos.
11027 * crypt/speeds.c: Likewise.
11028 * csu/check_fds.c: Likewise.
11029 * elf/dl-load.c: Likewise.
11030 * elf/dl-open.c: Likewise.
11031 * elf/reldep3.c: Likewise.
11032 * elf/reldep.c: Likewise.
11033 * elf/sprof.c: Likewise.
11034 * iconv/iconv_charmap.c: Likewise.
11035 * iconv/skeleton.c: Likewise.
11036 * iconv/strtab.c: Likewise.
11037 * io/lockf64.c: Likewise.
11038 * libio/libioP.h: Likewise.
11039 * resolv/gai_notify.c: Likewise.
11040 * resolv/ns_name.c: Likewise.
11041 * resolv/ns_samedomain.c: Likewise.
11042 * resolv/res_send.c: Likewise.
11043 * stdlib/random.c: Likewise.
11044 * sunrpc/rpc/xdr.h: Likewise.
11045 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11046 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11047 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11048 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11049 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11053 * sysdeps/mach/hurd/check_fds.c: Likewise.
11054 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11055 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11056 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11057 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11058 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11059 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11060 * sysdeps/pthread/aio_notify.c: Likewise.
11061 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11062 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11063 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11064 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11065 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11067 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11069 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11070 version if bit_Slow_SSE4_2 is set.
11071 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11074 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11077 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11078 trampoline stack frame information.
11079 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11080 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11081 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11082 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11083 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11084 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11085 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11086 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11088 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11089 interrupting a syscall and set with option SA_SIGINFO.
11091 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11094 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11095 argument is infinite.
11096 * math/s_cprojf.c (__cprojf): Likewise.
11097 * math/s_cprojl.c (__cprojl): Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11099 * math/libm-test.inc (cproj_test_data): Add more tests.
11101 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11103 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11104 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11105 size. Use __ffs to determine corresponding shift.
11107 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11108 Roland McGrath <roland@hack.frob.com>
11110 * Makefile (INSTALL): Remove trailing blank lines from output of
11113 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11115 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11116 Align 32 bit compat elf_greg to 8 bytes.
11118 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11120 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11122 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11124 * string/strcoll_l.c (coll_seq): New structure.
11125 (get_next_seq_cached): New function.
11126 (get_next_seq): New function.
11127 (do_compare): New function.
11128 (STRCOLL): Use GNU style definition. Simplify implementation
11129 by using get_next_seq, get_next_seq_cached and do_compare.
11131 2013-08-16 Florian Weimer <fweimer@redhat.com>
11135 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11137 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11139 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11140 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11141 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11143 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11144 GETDENTS_64BIT_ALIGNED.
11145 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11146 * manual/filesys.texi (Reading/Closing Directory): Document
11147 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11149 * manual/conf.texi (Limits for Files): Add portability note to
11150 NAME_MAX, PATH_MAX.
11151 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11153 2013-08-13 Andreas Schwab <schwab@suse.de>
11156 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11158 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11159 LDBL_MAX_EXP >= 16384]: Add tests for it.
11161 2013-08-12 David S. Miller <davem@davemloft.net>
11163 * version.h (RELEASE): Set to "development".
11164 (VERSION): Set to "2.18.90".
11165 * NEWS: Add 2.19 section.
11167 2013-08-03 David S. Miller <davem@davemloft.net>
11169 * po/ko.po: Update Korean translation from translation project.
11171 2013-08-01 David S. Miller <davem@davemloft.net>
11173 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11174 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11177 2013-07-30 David S. Miller <davem@davemloft.net>
11179 * po/fr.po: Update French translation from translation project.
11181 2013-07-28 David S. Miller <davem@davemloft.net>
11183 * po/cs.po: Update Czech translation from translation project.
11185 * po/sv.po: Update Swedish translation from translation project.
11187 2013-07-27 David S. Miller <davem@davemloft.net>
11189 * po/eo.po: Update Esperanto translation from translation project.
11191 * po/vi.po: Update Vietnamese translation from translation project.
11193 * po/de.po: Update German translation from translation project.
11195 2013-07-26 David S. Miller <davem@davemloft.net>
11197 * po/bg.po: Update Bulgarian translation from translation project.
11199 * po/nl.po: Update Dutch translation from translation project.
11200 * po/pl.po: Update Polish translation from translation project.
11201 * po/ru.po: Update Russian translation from translation project.
11203 2013-07-24 David S. Miller <davem@davemloft.net>
11205 * po/libc.pot: Update.
11207 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11209 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11210 variable page size.
11211 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11212 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11213 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11215 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11217 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11219 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11220 Andreas Schwab <schwab@suse.de>
11221 Roland McGrath <roland@hack.frob.com>
11222 Joseph Myers <joseph@codesourcery.com>
11223 Carlos O'Donell <carlos@redhat.com>
11226 * config.h.in: Define HAVE_PT_CHOWN.
11227 * config.make.in (build-pt-chown): New variable.
11228 * configure.in (--enable-pt_chown): New configure option.
11229 * configure: Regenerate.
11230 * login/Makefile: Include Makeconfig. Build pt_chown only if
11231 build-pt-chown is enabled.
11232 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11233 pt_chown to fix pty ownership.
11234 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11236 * manual/install.texi (Configuring and compiling): Mention
11237 --enable-pt_chown. Add @findex for grantpt.
11238 * INSTALL: Regenerate.
11240 2013-07-20 David S. Miller <davem@davemloft.net>
11242 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11243 difference between 32-bit and 64-bit.
11245 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11248 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11249 Avoid system header dependency with -ffreestanding.
11250 ($(objpfx)bits/syscall%d): Likewise.
11252 2013-07-13 David S. Miller <davem@davemloft.net>
11254 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11255 underflows from atanl/atan2l due to bug 15319.
11256 (casinh_test_data): Likewise.
11258 2013-07-07 David S. Miller <davem@davemloft.net>
11260 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11262 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11264 * sysdeps/i386/fpu/libm-test-ulps: Update.
11265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11267 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11269 * configure.in (--enable-lock-elision): Fix message text.
11270 * INSTALL: Regenerate.
11271 * configure: Regenerate.
11273 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11277 2013-07-03 Andreas Jaeger <aj@suse.de>
11279 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11281 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11282 (ptrace_peeksiginfo_args): Add.
11283 (__ptrace_peeksiginfo_flags): Add.
11284 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11285 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11286 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11288 2013-07-03 Allan McRae <allan@archlinux.org>
11290 * sysdeps/i386/fpu/libm-test-ulps: Update.
11292 2013-07-02 David S. Miller <davem@davemloft.net>
11294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11296 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11300 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11302 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11305 2013-07-02 Andi Kleen <ak@linux.intel.com>
11307 * config.h.in (ENABLE_LOCK_ELISION): Add.
11308 * configure.in (--enable-lock-elision): Add option.
11309 * manual/install.texi: Document --enable lock elision.
11310 * configure: Regenerate
11311 * INSTALL: Regenerate.
11313 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11315 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11316 SSE4.2 strcasecmp for libc.a.
11317 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11319 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11322 * soft-fp/op-common.h (_FP_FMA): New macro.
11323 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11324 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11325 (_FP_MUL_MEAT_1_imm): ... here.
11326 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11327 (_FP_MUL_MEAT_1_wide): ... here.
11328 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11329 (_FP_MUL_MEAT_1_hard): ... here.
11330 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11331 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11332 (_FP_MUL_MEAT_2_wide): ... here.
11333 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11334 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11335 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11336 (_FP_MUL_MEAT_2_gmp): ... here.
11337 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11338 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11339 (_FP_MUL_MEAT_4_wide): ... here.
11340 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11341 (_FP_MUL_MEAT_4_gmp): ... here.
11342 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11343 (_FP_WFRACBITS_DW_S): Likewise.
11344 (_FP_WFRACXBITS_DW_S): Likewise.
11345 (_FP_HIGHBIT_DW_S): Likewise.
11346 (FP_FMA_S): Likewise.
11347 (_FP_FRAC_HIGH_DW_S): Likewise.
11348 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11349 (_FP_WFRACBITS_DW_D): Likewise.
11350 (_FP_WFRACXBITS_DW_D): Likewise.
11351 (_FP_HIGHBIT_DW_D): Likewise.
11352 (FP_FMA_D): Likewise.
11353 (_FP_FRAC_HIGH_DW_D): Likewise.
11354 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11355 (_FP_WFRACBITS_DW_E): Likewise.
11356 (_FP_WFRACXBITS_DW_E): Likewise.
11357 (_FP_HIGHBIT_DW_E): Likewise.
11358 (FP_FMA_E): Likewise.
11359 (_FP_FRAC_HIGH_DW_E): Likewise.
11360 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11361 (_FP_WFRACBITS_DW_Q): Likewise.
11362 (_FP_WFRACXBITS_DW_Q): Likewise.
11363 (_FP_HIGHBIT_DW_Q): Likewise.
11364 (FP_FMA_Q): Likewise.
11365 (_FP_FRAC_HIGH_DW_Q): Likewise.
11366 * soft-fp/fmasf4.c: New file.
11367 * soft-fp/fmadf4.c: Likewise.
11368 * soft-fp/fmatf4.c: Likewise.
11370 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11373 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11375 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11377 (index_Slow_SSE4_2): Likewise.
11378 (index_Prefer_PMINUB_for_stringop): Likewise.
11379 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11380 bit_Slow_SSE4_2 is set.
11381 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11382 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11384 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11386 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11387 rtld_global._dl_hwcap2.
11388 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11390 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11391 POWER8 feature descriptions defined in _dl_hwcap2.
11392 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11393 string handling for POWER8 feature bits.
11394 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11395 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11396 _dl_powerpc_cap_flags.
11397 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11398 * sysdeps/powerpc/rtld-global-offsets.sym
11399 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11400 _dl_hwcap2 in the rtld_global_ro structure.
11402 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11404 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11405 hardware capabilities in support of AT_HWCAP2.
11406 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11407 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11409 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11410 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11411 explicitly the unknown a_type display mechanism is used.
11412 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11413 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11415 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11416 to macro prototype for AT_HWCAP2 support.
11417 * sysdeps/i386/dl-procinfo.h: Likewise.
11418 * sysdeps/s390/dl-procinfo.h: Likewise.
11419 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11420 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11421 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11422 return -1 for unknown a_type display fallback.
11423 * sysdeps/sparc/dl-procinfo.h: Likewise.
11424 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11425 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11427 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11429 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11430 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11432 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11435 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11436 mprotect making __stack_prot writable.
11438 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11439 Joseph Myers <joseph@codesourcery.com>
11441 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11442 as being properly aligned.
11444 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11446 * dlfcn/modstatic5.c: New file.
11447 * dlfcn/tststatic5.c: New file.
11448 * dlfcn/Makefile (tests): Add tststatic5.
11449 (tests-static): Likewise.
11450 (modules-names): Add modstatic5.
11451 (tststatic5-ENV): New variable.
11452 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11455 * elf/dl-support.c (_dl_main_map): New variable.
11456 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11457 (_dl_nns, _dl_load_adds): Set to 1.
11458 (_dl_initial_searchlist): Refer to _dl_main_map.
11459 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11460 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11461 call to _dl_get_origin.
11462 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11464 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11465 * dlfcn/modstatic3.c: New file.
11466 * dlfcn/tststatic3.c: New file.
11467 * dlfcn/tststatic4.c: New file.
11468 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11469 (tests-static): Likewise.
11470 (modules-names): Add modstatic3.
11471 (tststatic3-ENV, tststatic4-ENV): New variables.
11472 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11473 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11475 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11477 * configure.in (CC): Require GCC version 4.4 or later.
11478 * configure: Regenerated.
11479 * manual/install.texi (Tools for Compilation): Update GCC version
11481 * INSTALL: Regenerated.
11483 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11486 * string/test-memcmp.c (check2): New.
11487 (main): Call check2.
11489 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11491 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11494 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11496 (dl_open_worker) [!SHARED]: ... here.
11498 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11500 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11502 2013-06-25 Richard Henderson <rth@redhat.com>
11504 * locale/programs/locarchive.c: Include <libc-internal.h>
11506 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11508 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11509 trailing whitespace removed.
11511 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11514 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11515 * locale/programs/locarchive.c: Include libc-mmap.h.
11516 (prepare_address_space): Take two new outputs (the mmap base and len).
11517 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11519 (create_archive): Declare new mmap base and len values for
11520 prepare_address_space, and store the result in ah.
11521 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11522 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11523 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11524 Declare new mmap base and len values for
11525 prepare_address_space, and store the result in new_ah.
11526 (open_archive): Declare new mmap base and len values for
11527 prepare_address_space, and store the result in ah.
11528 (close_archive): If ah->mmap_base is not NULL, use that and
11529 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11530 * sysdeps/generic/libc-mmap.h: New file.
11532 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11534 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11535 (ALIGN_UP): Likewise.
11536 (PTR_ALIGN_DOWN): Likewise.
11537 (PTR_ALIGN_UP): Likewise.
11539 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11541 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11542 entry mapped to PPC_PLATFORM_POWER8.
11543 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11545 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11546 (_dl_string_platform): Add case for exporting platform position for
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11549 search path to sysdeps/powerpc/powerpc32/power8 directory.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11551 search path to sysdeps/powerpc/powerpc64/power8 directory.
11552 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11553 power7 directories.
11554 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11555 power7 directories.
11557 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11559 * INSTALL: Regenerate.
11561 * nscd/connections.c (nscd_init): Fix comment.
11563 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11565 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11568 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11569 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11571 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11573 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11575 (DL_DST_REQ_STATIC): Remove macro.
11577 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11580 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11581 with a shift of 0 bits.
11583 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11585 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11588 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11591 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11593 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11595 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11596 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11597 accepts -fno-tree-loop-distribute-patterns.
11598 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11599 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11601 * string/memset.c (memset): Likewise.
11602 * string/test-memmove.c (simple_memmove): Disable loop transformation
11604 * string/test-memset.c (simple_memset): Likewise.
11605 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11606 * benchtests/bench-memset.c (simple_memset): Likewise.
11607 * configure: Regenerated.
11609 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11611 * math/test-misc.c (main): Ignore fesetround failure when failures
11612 of subsequent rounding tests would be ignored.
11615 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11616 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11617 * math/fegetenv.c (__fegetenv): Return 0.
11618 * math/fegetexcept.c (fegetexcept): Return 0.
11619 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11621 * math/feholdexcpt.c (feholdexcept): Return 0.
11622 * math/fesetenv.c (__fesetenv): Return 0.
11623 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11624 argument FE_TONEAREST.
11625 * math/feupdateenv.c (__feupdateenv): Return 0.
11626 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11628 2013-06-18 Roland McGrath <roland@hack.frob.com>
11630 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11631 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11632 ($(objpfx)rtld-%.os rules): Use them.
11634 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11636 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11639 2013-06-17 Roland McGrath <roland@hack.frob.com>
11641 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11642 length of target pattern, then descending length of dependency pattern.
11643 * configure.in (AWK): Require gawk 3.1.2 or newer.
11644 * manual/install.texi (Tools for Compilation): Say that we do.
11645 * configure: Regenerated.
11647 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11648 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11649 * scripts/sysd-rules.awk: ... this new script.
11650 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11651 than a glob-style pattern.
11653 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11655 * math/test-misc.c (main): Do not treat incorrectly rounded
11656 conversions as failure unless ROUNDING_TESTS passes.
11658 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11661 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11662 restore exception state around main square root computation, then
11663 check for inexactness explicitly.
11665 * math/libm-test.inc (fma_test_data): Add another test.
11667 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11669 * manual/threads.texi (Non-POSIX Extensions): New document
11670 node. Document pthread_getattr_default_np and
11671 pthread_setattr_default_np.
11673 * Versions.def (libpthread): Add GLIBC_2.18.
11674 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11683 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11694 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11697 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11699 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11700 H.J. Lu <hjl.tools@gmail.com>
11703 * sysdeps/x86_64/rtld-memset.c: Remove file.
11704 * sysdeps/x86_64/rtld-memset.S: New file.
11706 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11708 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11709 (test_in_one_mode): Take arguments for whether the rounding mode
11710 is supported for each floating-point type.
11711 (do_test): Pass new arguments to test_in_one_mode using
11714 2013-06-13 Roland McGrath <roland@hack.frob.com>
11716 * posix/tst-waitid.c (do_test): Distinguish different instances of
11717 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11718 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11719 before entering the kernel for waitpid.
11721 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11723 * NEWS: Fix note on clock function precision. Text by Roland
11726 2013-06-13 Roland McGrath <roland@hack.frob.com>
11728 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11729 it into place only when and if the sanity check passes.
11731 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11733 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11734 output for whether conversion result is exact. Take argument
11735 indicating whether type is IBM long double.
11736 (round_for_all): Change need_exact field to ibm_ld.
11737 * stdlib/tst-strtod-round.c (struct exactness): New type.
11738 (struct test): Change bool ld_ok field to struct exactness exact.
11739 (TEST): Update all definitions for change to field.
11740 (tests): Regenerate array contents.
11741 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11742 field value. Check for IBM long double here.
11743 (do_test): Update calls to test_in_one_mode.
11745 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11748 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11749 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11751 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11754 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11755 generated by the compiler on loop optimizations.
11756 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11757 general definitions.
11759 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11761 * math/bug-nextafter.c: Include <math-tests.h>.
11762 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11764 * math/bug-nexttoward.c: Include <math-tests.h>.
11765 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11767 * math/test-misc.c: Include <math-tests.h>.
11768 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11771 2013-06-12 Andreas Jaeger <aj@suse.de>
11773 * po/ia.po: Update Interlingua translation from translation
11776 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11778 * include/fenv.h: Include stdbool.h.
11779 (struct rm_ctx): New structure.
11780 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11782 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11783 (SET_RESTORE_ROUNDF): Likewise.
11784 (SET_RESTORE_ROUNDL): Likewise.
11785 (SET_RESTORE_ROUND_NOEX): Likewise.
11786 (SET_RESTORE_ROUND_NOEXF): Likewise.
11787 (SET_RESTORE_ROUND_NOEXL): Likewise.
11788 (SET_RESTORE_ROUND_53BIT): Likewise.
11789 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11790 (libc_feresetround_noexf_ctx): Likewise.
11791 (libc_feresetround_noexl_ctx): Likewise.
11792 (libc_feholdsetround_53bit_ctx): Likewise.
11793 (libc_feresetround_53bit_ctx): Likewise.
11794 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11795 (libc_feholdexcept_setround_sse_ctx): New function.
11796 (libc_fesetenv_sse_ctx): Likewise.
11797 (libc_feupdateenv_sse_ctx): Likewise.
11798 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11799 (libc_feholdexcept_setround_387_ctx): Likewise.
11800 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11801 (libc_feholdsetround_387_prec_ctx): Likewise.
11802 (libc_feholdsetround_387_ctx): Likewise.
11803 (libc_feholdsetround_387_53bit_ctx): Likewise.
11804 (libc_feholdsetround_sse_ctx): Likewise.
11805 (libc_feresetround_sse_ctx): Likewise.
11806 (libc_feresetround_387_ctx): Likewise.
11807 (libc_feupdateenv_387_ctx): Likewise.
11808 (libc_feholdexcept_setroundf_ctx): Define macro.
11809 (libc_fesetenvf_ctx): Likewise.
11810 (libc_feupdateenvf_ctx): Likewise.
11811 (libc_feholdsetroundf_ctx): Likewise.
11812 (libc_feresetroundf_ctx): Likewise.
11813 (libc_feholdexcept_setround_ctx): Likewise.
11814 (libc_fesetenv_ctx): Likewise.
11815 (libc_feupdateenv_ctx): Likewise.
11816 (libc_feholdsetround_ctx): Likewise.
11817 (libc_feresetround_ctx): Likewise.
11818 (libc_feholdexcept_setroundl_ctx): Likewise.
11819 (libc_feupdateenvl_ctx): Likewise.
11820 (libc_feholdsetroundl_ctx): Likewise.
11821 (libc_feresetroundl_ctx): Likewise.
11822 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11823 (libc_feresetround_53bit_ctx): Likewise.
11825 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11827 * locale/iso-639.def: Convert to UTF-8.
11829 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11831 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11832 (EXCEPTION_TESTS_double): Likewise.
11833 (EXCEPTION_TESTS_long_double): Likewise.
11834 (EXCEPTION_TESTS): Likewise.
11835 * math/libm-test.inc (test_exceptions): Only test exceptions if
11836 EXCEPTION_TESTS (FLOAT).
11838 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11840 * benchtests/Makefile (string-bench): Add strcpy_chk and
11842 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11843 * benchtests/bench-stpcpy_chk.c: New file.
11844 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11845 * benchtests/bench-strcpy_chk.c: New file.
11846 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11848 (do_test): Likewise.
11850 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11852 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11853 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11854 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11855 with tabs where appropriate.
11856 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11858 [PPC_PLATFORM_PPC440]: Likewise.
11859 [PPC_PLATFORM_PPC464]: Likewise.
11860 [PPC_PLATFORM_PPC476]: Likewise.
11861 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11862 ppc464, and ppc476 platform strings merging from ports/
11865 2013-06-11 Andreas Schwab <schwab@suse.de>
11868 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11869 (from_ucs4_idx): Regenerate.
11870 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11871 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11872 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11873 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11874 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11875 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11876 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11877 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11878 from FROM_LOOP and TO_LOOP specific macros.
11879 (BODY): Handle combining characters.
11880 * iconvdata/BIG5HKSCS.irreversible: Update.
11881 * iconvdata/BIG5HKSCS.precomposed: New file.
11882 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11884 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11886 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11888 * include/sys/time.h: Fix indentation and add copyright header.
11890 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11891 (do_test): Likewise.
11892 * string/test-memchr.c (do_one_test): Likewise.
11893 (do_test): Likewise.
11894 * string/test-memcmp.c (do_one_test): Likewise.
11895 (do_test): Likewise.
11896 * string/test-memcpy.c (do_one_test): Likewise.
11897 (do_test): Likewise.
11898 * string/test-memmem.c (do_one_test): Likewise.
11899 (do_test): Likewise.
11900 (do_random_tests): Likewise.
11901 * string/test-memmove.c (do_one_test): Likewise.
11902 (do_test): Likewise.
11903 * string/test-memset.c (do_one_test): Likewise.
11904 (do_test): Likewise.
11905 * string/test-rawmemchr.c (do_one_test): Likewise.
11906 (do_test): Likewise.
11907 * string/test-strcasecmp.c (do_one_test): Likewise.
11908 (do_test): Likewise.
11909 * string/test-strcasestr.c (do_one_test): Likewise.
11910 (do_test): Likewise.
11911 * string/test-strcat.c (do_one_test): Likewise.
11912 (do_test): Likewise.
11913 * string/test-strchr.c (do_one_test): Likewise.
11914 (do_test): Likewise.
11915 * string/test-strcmp.c (do_one_test): Likewise.
11916 (do_test): Likewise.
11917 * string/test-strcpy.c (do_one_test): Likewise.
11918 (do_test): Likewise.
11919 * string/test-string.h: Likewise.
11920 (test_init): Likewise.
11921 * string/test-strlen.c (do_one_test): Likewise.
11922 (do_test): Likewise.
11923 * string/test-strncasecmp.c (do_one_test): Likewise.
11924 (do_test): Likewise.
11925 * string/test-strncat.c (do_one_test): Likewise.
11926 (do_test): Likewise.
11927 * string/test-strncmp.c (do_one_test): Likewise.
11928 (do_test_limit): Likewise.
11929 (do_test): Likewise.
11930 * string/test-strncpy.c (do_one_test): Likewise.
11931 (do_test): Likewise.
11932 * string/test-strnlen.c (do_one_test): Likewise.
11933 (do_test): Likewise.
11934 * string/test-strpbrk.c (do_one_test): Likewise.
11935 (do_test): Likewise.
11936 * string/test-strrchr.c (do_one_test): Likewise.
11937 (do_test): Likewise.
11938 * string/test-strspn.c (do_one_test): Likewise.
11939 (do_test): Likewise.
11940 * string/test-strstr.c (do_one_test): Likewise.
11941 (do_test): Likewise.
11943 * benchtests/Makefile (string-bench): Add string benchmarks.
11944 * benchtests/bench-bcopy-ifunc.c: New file.
11945 * benchtests/bench-bcopy.c: New file.
11946 * benchtests/bench-bzero-ifunc.c: New file.
11947 * benchtests/bench-bzero.c: New file.
11948 * benchtests/bench-memccpy-ifunc.c: New file.
11949 * benchtests/bench-memccpy.c: New file.
11950 * benchtests/bench-memchr-ifunc.c: New file.
11951 * benchtests/bench-memchr.c: New file.
11952 * benchtests/bench-memcmp-ifunc.c: New file.
11953 * benchtests/bench-memcmp.c: New file.
11954 * benchtests/bench-memmem-ifunc.c: New file.
11955 * benchtests/bench-memmem.c: New file.
11956 * benchtests/bench-memmove-ifunc.c: New file.
11957 * benchtests/bench-memmove.c: New file.
11958 * benchtests/bench-mempcpy-ifunc.c: New file.
11959 * benchtests/bench-mempcpy.c: New file.
11960 * benchtests/bench-memset-ifunc.c: New file.
11961 * benchtests/bench-memset.c: New file.
11962 * benchtests/bench-rawmemchr-ifunc.c: New file.
11963 * benchtests/bench-rawmemchr.c: New file.
11964 * benchtests/bench-stpcpy-ifunc.c: New file.
11965 * benchtests/bench-stpcpy.c: New file.
11966 * benchtests/bench-stpncpy-ifunc.c: New file.
11967 * benchtests/bench-stpncpy.c: New file.
11968 * benchtests/bench-strcasecmp-ifunc.c: New file.
11969 * benchtests/bench-strcasecmp.c: New file.
11970 * benchtests/bench-strcasestr-ifunc.c: New file.
11971 * benchtests/bench-strcasestr.c: New file.
11972 * benchtests/bench-strcat-ifunc.c: New file.
11973 * benchtests/bench-strcat.c: New file.
11974 * benchtests/bench-strchr-ifunc.c: New file.
11975 * benchtests/bench-strchr.c: New file.
11976 * benchtests/bench-strchrnul-ifunc.c: New file.
11977 * benchtests/bench-strchrnul.c: New file.
11978 * benchtests/bench-strcmp-ifunc.c: New file.
11979 * benchtests/bench-strcmp.c: New file.
11980 * benchtests/bench-strcpy-ifunc.c: New file.
11981 * benchtests/bench-strcpy.c: New file.
11982 * benchtests/bench-strcspn-ifunc.c: New file.
11983 * benchtests/bench-strcspn.c: New file.
11984 * benchtests/bench-strlen-ifunc.c: New file.
11985 * benchtests/bench-strlen.c: New file.
11986 * benchtests/bench-strncasecmp-ifunc.c: New file.
11987 * benchtests/bench-strncasecmp.c: New file.
11988 * benchtests/bench-strncat-ifunc.c: New file.
11989 * benchtests/bench-strncat.c: New file.
11990 * benchtests/bench-strncmp-ifunc.c: New file.
11991 * benchtests/bench-strncmp.c: New file.
11992 * benchtests/bench-strncpy-ifunc.c: New file.
11993 * benchtests/bench-strncpy.c: New file.
11994 * benchtests/bench-strnlen-ifunc.c: New file.
11995 * benchtests/bench-strnlen.c: New file.
11996 * benchtests/bench-strpbrk-ifunc.c: New file.
11997 * benchtests/bench-strpbrk.c: New file.
11998 * benchtests/bench-strrchr-ifunc.c: New file.
11999 * benchtests/bench-strrchr.c: New file.
12000 * benchtests/bench-strspn-ifunc.c: New file.
12001 * benchtests/bench-strspn.c: New file.
12002 * benchtests/bench-strstr-ifunc.c: New file.
12003 * benchtests/bench-strstr.c: New file.
12005 * benchtests/Makefile: Disable parallel execution of targets.
12006 (string-bench): Add memcpy.
12007 (benchset): New variable to store a list of benchmark sets.
12008 (bench-func): Renamed from bench.
12009 (bench-set): New target.
12010 (bench): Depend on bench-func and bench-set.
12011 * benchtests/README: Add section on benchmark sets.
12012 * benchtests/bench-memcpy-ifunc.c: New file.
12013 * benchtests/bench-memcpy.c: New file.
12014 * benchtests/bench-string.h: New file.
12016 2013-06-11 Andreas Schwab <schwab@suse.de>
12019 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12020 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12021 values in the triple.
12022 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12023 terminator in the group key.
12025 2013-06-11 Andreas Jaeger <aj@suse.de>
12027 * po/zh_TW.po: Update Chinese (traditional) translation from
12028 translation project.
12030 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12032 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12033 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12034 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12035 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12036 (clock_getcpuclockid): Likewise.
12037 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12038 Add weak_alias and libc_hidden_def.
12039 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12040 * rt/clock_gettime.c (clock_gettime): Rename to
12041 __clock_gettime. Add weak_alias and libc_hidden_def.
12042 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12043 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12044 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12045 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12046 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12048 * rt/clock_settime.c (clock_settime): Rename to
12049 __clock_settime. Add weak_alias and libc_hidden_def.
12050 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12052 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12054 * mach/err_boot.sub: Remove trailing whitespace.
12055 * mach/err_ipc.sub: Likewise.
12056 * mach/err_mach.sub: Likewise.
12058 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12059 (ROUNDING_TESTS_double): Likewise.
12060 (ROUNDING_TESTS_long_double): Likewise.
12061 (ROUNDING_TESTS): Likewise.
12062 * math/libm-test.inc: Include <math-tests.h>.
12063 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12064 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12065 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12066 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12068 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12070 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12073 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12075 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12076 otherwise empty TRANS lines.
12077 * sysdeps/gnu/errlist.c: Regenerated.
12079 * catgets/gencat.c (error_print): Use (void) in function
12081 * crypt/crypt_util.c (__init_des): Likewise.
12082 * crypt/speeds.c (Stop): Likewise.
12084 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12085 * inet/ruserpass.c (token): Likewise.
12086 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12087 * intl/localealias.c (extend_alias_table): Likewise.
12088 * intl/plural-exp.c (init_germanic_plural): Likewise.
12089 * libio/fcloseall.c (__fcloseall): Likewise.
12090 * libio/genops.c (_IO_flush_all): Likewise.
12091 (_IO_flush_all_linebuffered): Likewise.
12092 (_IO_cleanup): Likewise.
12093 (_IO_iter_begin): Likewise.
12094 (_IO_iter_end): Likewise.
12095 (_IO_list_lock): Likewise.
12096 (_IO_list_unlock): Likewise.
12097 (_IO_list_resetlock): Likewise.
12098 * libio/getchar.c (getchar): Likewise.
12099 * libio/getchar_u.c (getchar_unlocked): Likewise.
12100 * libio/getwchar.c (getwchar): Likewise.
12101 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12102 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12103 * login/getpt.c (__getpt): Likewise.
12104 * login/tst-utmp.c (main): Likewise.
12105 * malloc/hooks.c (__malloc_check_init): Likewise.
12106 * malloc/malloc.c (__malloc_stats): Likewise.
12107 * malloc/mtrace.c (tr_break): Likewise.
12108 (mtrace): Likewise.
12109 (muntrace): Likewise.
12110 * misc/fstab.c (endfsent): Likewise.
12111 * misc/getclktck.c (__getclktck): Likewise.
12112 * misc/getdtsz.c (__getdtablesize): Likewise.
12113 * misc/gethostid.c (gethostid): Likewise.
12114 * misc/getpagesize.c (__getpagesize): Likewise.
12115 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12116 (__get_nprocs): Likewise.
12117 (__get_phys_pages): Likewise.
12118 (__get_avphys_pages): Likewise.
12119 * misc/getttyent.c (getttyent): Likewise.
12120 (setttyent): Likewise.
12121 (endttyent): Likewise.
12122 * misc/getusershell.c (getusershell): Likewise.
12123 (endusershell): Likewise.
12124 (setusershell): Likewise.
12125 (initshells): Likewise.
12126 * misc/hsearch.c (__hdestroy): Likewise.
12127 * misc/sync.c (sync): Likewise.
12128 * misc/syslog.c (closelog_internal): Likewise.
12129 (closelog): Likewise.
12130 * misc/ttyslot.c (ttyslot): Likewise.
12131 * misc/vhangup.c (vhangup): Likewise.
12132 * posix/fork.c (__fork): Likewise.
12133 * posix/getegid.c (__getegid): Likewise.
12134 * posix/geteuid.c (__geteuid): Likewise.
12135 * posix/getgid.c (__getgid): Likewise.
12136 * posix/getpid.c (__getpid): Likewise.
12137 * posix/getppid.c (__getppid): Likewise.
12138 * posix/getuid.c (__getuid): Likewise.
12139 * posix/pause.c (pause): Likewise.
12140 * posix/setpgrp.c (setpgrp): Likewise.
12141 * posix/setsid.c (__setsid): Likewise.
12142 * posix/test-vfork.c (noop): Likewise.
12143 * resolv/gethnamaddr.c (_endhtent): Likewise.
12144 (_gethtent): Likewise.
12145 (ht_endhostent): Likewise.
12146 (gethostent): Likewise.
12147 (dns_service): Likewise.
12148 * stdlib/drand48.c (drand48): Likewise.
12149 * stdlib/lrand48.c (lrand48): Likewise.
12150 * stdlib/mrand48.c (mrand48): Likewise.
12151 * stdlib/rand.c (rand): Likewise.
12152 * stdlib/random.c (__random): Likewise.
12153 * stdlib/setenv.c (clearenv): Likewise.
12154 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12155 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12156 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12157 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12158 (__get_nprocs): Likewise.
12159 (__get_phys_pages): Likewise.
12160 (__get_avphys_pages): Likewise.
12161 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12162 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12163 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12164 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12165 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12166 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12167 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12168 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12169 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12170 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12171 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12172 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12173 * sysdeps/posix/clock.c (clock): Likewise.
12174 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12175 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12176 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12177 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12178 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12179 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12180 (__get_nprocs_conf): Likewise.
12181 (__get_phys_pages): Likewise.
12182 (__get_avphys_pages): Likewise.
12183 * time/clock.c (clock): Likewise.
12184 * time/tzset.c (__tzname_max): Likewise.
12186 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12188 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12189 (__bswap_32): Do not use "register".
12190 * crypt/crypt.c (_ufc_doit_r): Likewise.
12191 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12192 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12193 * gmon/gmon.c (__monstartup): Likewise.
12194 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12195 * hurd/hurdmalloc.c (more_memory): Likewise.
12196 (malloc): Likewise.
12198 (realloc): Likewise.
12199 (malloc_fork_prepare): Likewise.
12200 (malloc_fork_parent): Likewise.
12201 (malloc_fork_child): Likewise.
12202 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12203 (_svcauth_des): Likewise.
12204 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12205 * inet/inet_net.c (inet_network): Likewise.
12206 * inet/inet_netof.c (inet_netof): Likewise.
12207 * inet/rcmd.c (__validuser2_sa): Likewise.
12208 * io/fts.c (fts_open): Likewise.
12209 (fts_load): Likewise.
12210 (fts_close): Likewise.
12211 (fts_read): Likewise.
12212 (fts_children): Likewise.
12213 (fts_build): Likewise.
12214 (fts_stat): Likewise.
12215 (fts_sort): Likewise.
12216 (fts_alloc): Likewise.
12217 (fts_lfree): Likewise.
12218 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12219 (_IO_file_xsgetn): Likewise.
12220 (_IO_file_xsgetn_mmap): Likewise.
12221 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12222 (_IO_cookie_write): Likewise.
12223 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12224 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12225 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12226 * malloc/obstack.c (_obstack_begin): Likewise.
12227 (_obstack_begin_1): Likewise.
12228 (_obstack_newchunk): Likewise.
12229 (_obstack_allocated_p): Likewise.
12230 (obstack_free): Likewise.
12231 (_obstack_memory_used): Likewise.
12232 * misc/getttyent.c (getttynam): Likewise.
12233 (getttyent): Likewise.
12236 * misc/getusershell.c (initshells): Likewise.
12237 * misc/syslog.c (__vsyslog_chk): Likewise.
12238 * misc/ttyslot.c (ttyslot): Likewise.
12239 * nis/nis_hash.c (__nis_hash): Likewise.
12240 * posix/fnmatch_loop.c (FCT): Likewise.
12241 * posix/getconf.c (print_all): Likewise.
12243 * posix/getopt.c (exchange): Likewise.
12244 * posix/glob.c (globfree): Likewise.
12245 (prefix_array): Likewise.
12246 (__glob_pattern_type): Likewise.
12247 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12248 (NS_GET32): Likewise.
12249 (NS_PUT16): Likewise.
12250 (NS_PUT32): Likewise.
12251 * resolv/gethnamaddr.c (getanswer): Likewise.
12252 (gethostbyname2): Likewise.
12253 (gethostbyaddr): Likewise.
12254 (_gethtent): Likewise.
12255 (_gethtbyname2): Likewise.
12256 (_gethtbyaddr): Likewise.
12257 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12258 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12259 * resolv/res_init.c (__res_vinit): Likewise.
12260 (net_mask): Likewise.
12261 * resolv/res_mkquery.c (outchar): Likewise.
12263 * stdio-common/printf_fp.c (outchar): Likewise.
12265 * stdio-common/printf_fphex.c (outchar): Likewise.
12267 * stdio-common/printf_size.c (outchar): Likewise.
12269 * stdio-common/test_rdwr.c (main): Likewise.
12270 * stdio-common/tfformat.c (matches): Likewise.
12271 * stdio-common/vfprintf.c (outchar): Likewise.
12272 (printf_unknown): Likewise.
12273 (buffered_vfprintf): Likewise.
12274 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12275 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12276 (ReadFile): Likewise.
12277 * stdlib/qsort.c (SWAP): Likewise.
12278 (_quicksort): Likewise.
12279 * stdlib/setenv.c (__add_to_environ): Likewise.
12280 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12281 * stdlib/strtol_l.c (__strtol_l): Likewise.
12282 * stdlib/tst-strtod.c (main): Likewise.
12283 * stdlib/tst-strtol.c (main): Likewise.
12284 * stdlib/tst-strtoll.c (main): Likewise.
12285 * string/bits/string2.h (__strcmp_cc): Likewise.
12286 (__strcmp_cg): Likewise.
12287 (__strcspn_c1): Likewise.
12288 (__strcspn_c2): Likewise.
12289 (__strcspn_c3): Likewise.
12290 (__strspn_c1): Likewise.
12291 (__strspn_c2): Likewise.
12292 (__strspn_c3): Likewise.
12293 (__strsep_1c): Likewise.
12294 (__strsep_2c): Likewise.
12295 (__strsep_3c): Likewise.
12296 * string/memccpy.c (__memccpy): Likewise.
12297 * string/stpcpy.c (__stpcpy): Likewise.
12298 * string/strcmp.c (strcmp): Likewise.
12299 * string/strrchr.c (strrchr): Likewise.
12300 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12302 * sysdeps/mach/hurd/getcwd.c
12303 (_hurd_canonicalize_directory_name_internal): Likewise.
12304 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12305 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12306 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12307 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12308 Likewise, in both definitions.
12309 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12311 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12312 64] (__bswap_64): Likewise.
12313 * time/test_time.c (main): Likewise.
12314 * time/tzfile.c (__tzfile_read): Likewise.
12315 (__tzfile_compute): Likewise.
12316 * time/tzset.c (__tzset_parse_tz): Likewise.
12317 (tzset_internal): Likewise.
12318 (compute_change): Likewise.
12319 * wcsmbs/wcscat.c (__wcscat): Likewise.
12320 * wcsmbs/wcschr.c (wcschr): Likewise.
12321 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12322 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12323 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12324 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12325 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12326 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12327 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12328 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12329 * wcsmbs/wmemset.c (wmemset): Likewise.
12331 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12333 * scripts/config.guess: Update to version 2013-05-16.
12334 * scripts/config.sub: Update to version 2013-04-24.
12335 * scripts/install-sh: Update to version 2011-11-20.07.
12336 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12337 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12339 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12341 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12342 * elf/sln.c: Likewise.
12343 * hurd/hurd/ioctl.h: Likewise.
12344 * hurd/hurdmalloc.c: Likewise.
12345 * hurd/xattr.c: Likewise.
12346 * include/shlib-compat.h: Likewise.
12347 * inet/ruserpass.c: Likewise.
12348 * libio/iofgets_u.c: Likewise.
12349 * libio/iofgetws_u.c: Likewise.
12350 * locale/programs/ld-identification.c: Likewise.
12351 * locale/programs/ld-time.c: Likewise.
12352 * mach/msg-destroy.c: Likewise.
12353 * nss/nss_files/files-netgrp.c: Likewise.
12354 * resolv/res_data.c: Likewise.
12355 * soft-fp/op-1.h: Likewise.
12356 * soft-fp/op-2.h: Likewise.
12357 * soft-fp/op-4.h: Likewise.
12358 * soft-fp/op-common.h: Likewise.
12359 * stdio-common/printf_fphex.c: Likewise.
12360 * stdlib/strtod_l.c: Likewise.
12361 * sunrpc/rpc/clnt.h: Likewise.
12362 * sysdeps/generic/framestate.c: Likewise.
12363 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12364 * sysdeps/i386/bsd-setjmp.S: Likewise.
12365 * sysdeps/i386/__longjmp.S: Likewise.
12366 * sysdeps/i386/setjmp.S: Likewise.
12367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12368 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12369 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12370 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12374 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12384 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12385 * sysdeps/ieee754/support.c: Likewise.
12386 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12387 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12388 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12389 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12390 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12391 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12392 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12393 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12394 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12395 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12396 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12397 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12398 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12399 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12400 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12401 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12402 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12405 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12407 * posix/transbug.c: Remove executable mode.
12409 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12411 * crypt/speeds.c: Remove trailing whitespace.
12412 * dlfcn/default.c: Likewise.
12413 * elf/ifuncdep2.c: Likewise.
12414 * elf/ifuncmain1.c: Likewise.
12415 * elf/ifuncmain1vis.c: Likewise.
12416 * elf/testobj.h: Likewise.
12417 * elf/tst-stackguard1.c: Likewise.
12418 * gmon/sys/gmon.h: Likewise.
12419 * hurd/hurdmsg.c: Likewise.
12420 * hurd/new-fd.c: Likewise.
12421 * hurd/ports-get.c: Likewise.
12422 * iconvdata/ibm1008_420.c: Likewise.
12423 * inet/tst-getni1.c: Likewise.
12424 * inet/tst-getni2.c: Likewise.
12425 * libio/ioungetc.c: Likewise.
12426 * libio/wfiledoalloc.c: Likewise.
12427 * manual/libm-err-tab.pl: Likewise.
12428 * math/w_dremf.c: Likewise.
12429 * misc/ftruncate.c: Likewise.
12430 * posix/bug-glob2.c: Likewise.
12431 * posix/tst-pcre.c: Likewise.
12432 * posix/wait4.c: Likewise.
12433 * resolv/README: Likewise.
12434 * resolv/res_debug.h: Likewise.
12435 * resolv/tst-inet_ntop.c: Likewise.
12436 * setjmp/bug269-setjmp.c: Likewise.
12437 * soft-fp/extended.h: Likewise.
12438 * soft-fp/op-1.h: Likewise.
12439 * soft-fp/op-2.h: Likewise.
12440 * soft-fp/op-4.h: Likewise.
12441 * soft-fp/op-8.h: Likewise.
12442 * soft-fp/testit.c: Likewise.
12443 * stdio-common/bug16.c: Likewise.
12444 * stdlib/random.c: Likewise.
12445 * sunrpc/rpcsvc/rquota.x: Likewise.
12446 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12447 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12448 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12449 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12450 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12451 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12452 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12453 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12454 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12455 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12456 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12475 * sysdeps/ieee754/s_lib_version.c: Likewise.
12476 * sysdeps/mach/hurd/check_fds.c: Likewise.
12477 * sysdeps/mach/hurd/getsockname.c: Likewise.
12478 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12479 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12480 * sysdeps/powerpc/bits/link.h: Likewise.
12481 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12482 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12483 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12484 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12485 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12486 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12487 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12488 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12489 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12490 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12491 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12492 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12493 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12494 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12495 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12496 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12498 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12499 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12500 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12501 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12502 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12503 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12504 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12505 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12506 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12507 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12508 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12509 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12510 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12511 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12513 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12514 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12515 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12516 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12517 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12518 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12519 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12520 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12521 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12522 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12523 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12524 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12525 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12526 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12527 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12528 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12529 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12530 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12533 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12534 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12535 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12536 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12537 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12538 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12539 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12540 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12541 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12542 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12543 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12544 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12545 * sysdeps/powerpc/sysdep.h: Likewise.
12546 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12547 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12548 * sysdeps/sh/dl-trampoline.S: Likewise.
12549 * sysdeps/sh/memset.S: Likewise.
12550 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12551 * sysdeps/sh/strlen.S: Likewise.
12552 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12553 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12554 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12555 * sysdeps/sparc/sparc32/rem.S: Likewise.
12556 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12557 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12558 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12559 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12560 * sysdeps/sparc/sparc32/urem.S: Likewise.
12561 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12562 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12563 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12564 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12565 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12566 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12567 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12568 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12569 * sysdeps/unix/bsd/times.c: Likewise.
12570 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12571 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12575 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12576 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12577 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12578 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12579 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12580 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12581 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12582 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12583 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12584 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12585 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12586 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12587 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12588 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12589 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12590 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12591 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12592 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12593 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12594 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12595 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12596 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12597 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12598 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12599 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12600 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12601 * sysdeps/x86_64/strcspn.S: Likewise.
12603 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12605 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12606 generated file. Regenerate properly from gen-translit.pl.
12607 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12608 locale/C-translit.h.
12610 2013-06-05 Andreas Schwab <schwab@suse.de>
12613 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12614 week as 6 instead of -1.
12615 * time/tst-strptime.c (day_tests): Add test case.
12617 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12619 * sysdeps/generic/math_private.h
12620 (libc_feholdexcept_setround_53bit): Replace with
12621 libc_feholdsetround_53bit.
12622 (libc_feupdateenv_53bit): Replace with
12623 libc_feresetround_53bit.
12624 (SET_RESTORE_ROUND_53BIT): Adjust.
12626 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12628 * string/test-strchrnul.c: Add copyright header.
12630 * posix/tst-getaddrinfo4.c: Increase test timeout.
12632 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12635 * math/libm-test.inc (MAX_EXP): Remove
12637 (ulp): Use MIN_EXP - MANT_DIG.
12638 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12640 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12642 * po/be.po: Revert last change.
12643 * po/zh_CN.po: Likewise.
12644 * po/header.pot: Likewise.
12646 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12648 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12649 link-libc-deps to empty as target-specific variable.
12650 * Makerules (link-libc-args): New variable.
12651 (libc-for-link): Likewise.
12652 (link-libc-deps): Likewise.
12653 (lib%.so): Depend on $(link-libc-deps). Link with
12655 (build-module): Link with $(link-libc-args).
12656 (build-module-asneeded): Likewise.
12657 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12659 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12660 target-specific variable.
12661 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12662 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12663 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12665 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12667 ($(objpfx)libpcprofile.so): Likewise.
12668 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12670 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12671 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12672 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12674 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12675 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12676 * login/Makefile ($(objpfx)libutil.so): Likewise.
12677 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12678 * math/Makefile ($(objpfx)libm.so): Likewise.
12679 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12680 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12681 variable instead of depending directly on libc.
12682 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12683 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12685 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12687 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12688 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12689 ($(objpfx)libanl.so): Likewise.
12690 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12692 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12694 * sysdeps/i386/fpu/Makefile: Remove file.
12695 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12696 ($(objpfx)libm.so): Remove dependency on ld.so.
12698 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12701 * nis/yp_xdr.c (XDRMAXNAME): Define.
12702 (XDRMAXRECORD): Define.
12703 (xdr_domainname): Use XDRMAXNAME.
12704 (xdr_mapname): Likewise.
12705 (xdr_peername): Likewise.
12706 (xdr_keydat): Use XDRMAXRECORD.
12707 (xdr_valdat): Likewise.
12709 2013-05-30 Jeff Law <law@redhat.com>
12712 * manual/errno.texi (ESTALE): Update to account for more than
12713 just NFS file systems.
12714 * sysdeps/gnu/errlist.c: Regenerated.
12716 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12719 * elf/Makefile (tests): Add tst-null-argv.
12720 (modules-names): Add tst-null-argv-lib.
12721 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12722 (tst-null-argv-ENV): Set environment for tst-null-argv.
12723 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12724 (RTLD_PROGNAME): New macro.
12725 * elf/tst-null-argv.c: New test case.
12726 * elf/tst-null-argv-lib.c: Library for test case.
12727 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12728 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12729 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12730 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12731 * elf/dl-init.c (call_init): Likewise.
12732 (_dl_init): Likewise.
12733 * elf/dl-load.c (print_search_path): Likewise.
12734 (_dl_map_object): Likewise.
12735 * elf/dl-lookup.c (do_lookup_x): Likewise.
12736 (add_dependency): Likewise.
12737 (_dl_lookup_symbol_x): Likewise.
12738 (_dl_debug_bindings): Likewise.
12739 * elf/dl-open.c (_dl_show_scope): Likewise.
12740 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12741 * elf/dl-version.c (match_symbol): Likewise.
12742 (_dl_check_map_versions): Likewise.
12743 * elf/rtld.c (dl_main): Likewise.
12744 (print_unresolved): Use RTLD_PROGNAME.
12745 (print_missing_version): Likewise.
12746 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12747 (elf_machine_rela): Likewise.
12748 * sysdeps/powerpc/powerpc32/dl-machine.c
12749 (__process_machine_rela): Likewise.
12750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12752 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12754 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12756 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12763 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12765 * po/be.po: Add descriptive title.
12766 * po/zh_CN.po: Likewise.
12767 * po/header.pot: Likewise.
12769 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12771 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12773 (enlarge_archive): Likewise.
12775 2013-05-28 Ben North <ben@redfrontdoor.org>
12777 * manual/arith.texi (frexp): It is the magnitude of the return
12778 value which lies in [0.5, 1), not the return value itself.
12780 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12784 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12786 * stdio-common/bug26.c (main): Correct fscanf template.
12788 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12789 declare _dl_skip_args.
12791 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12794 * manual/platform.texi: Add missing @end deftypefun.
12796 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12799 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12800 bit of mantissa of 2^16382.
12801 * math/libm-test.inc (hypot_test_data): Add more tests.
12803 * math/libm-test.inc: Add drem and pow10 to list of tested
12805 (pow10_test): New function.
12806 (drem_test): Likewise.
12807 (drem_test_tonearest): Likewise.
12808 (drem_test_towardzero): Likewise.
12809 (drem_test_downward): Likewise.
12810 (drem_test_upward): Likewise.
12811 (main): Call the new functions.
12813 * math/libm-test.inc (finite_test_data): Remove.
12814 (finite_test): Run tests from isfinite_test_data.
12815 (gamma_test_data): Remove.
12816 (gamma_test): Run tests from lgamma_test_data.
12817 * sysdeps/i386/fpu/libm-test-ulps: Update.
12818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12820 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12822 * manual/platform.texi: Add PowerPC PPR function set documentation.
12823 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12826 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12828 * math/libm-test.inc (MAX_EXP): Define.
12830 (ulp): New function.
12831 (check_float_internal): Use ULPDIFF.
12832 (cpow_test): Disable failing test.
12833 (check_ulp): Test ulp() implemetnation.
12834 (main): Call check_ulp before starting tests.
12836 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12838 * math/gen-libm-test.pl (generate_testfile): Do not handle
12839 START_DATA and END_DATA.
12840 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12842 (acos_tonearest_test_data): Likewise.
12843 (acos_towardzero_test_data): Likewise.
12844 (acos_downward_test_data): Likewise.
12845 (acos_upward_test_data): Likewise.
12846 (acosh_test_data): Likewise.
12847 (asin_test_data): Likewise.
12848 (asin_tonearest_test_data): Likewise.
12849 (asin_towardzero_test_data): Likewise.
12850 (asin_downward_test_data): Likewise.
12851 (asin_upward_test_data): Likewise.
12852 (asinh_test_data): Likewise.
12853 (atan_test_data): Likewise.
12854 (atanh_test_data): Likewise.
12855 (atan2_test_data): Likewise.
12856 (cabs_test_data): Likewise.
12857 (cacos_test_data): Likewise.
12858 (cacosh_test_data): Likewise.
12859 (carg_test_data): Likewise.
12860 (casin_test_data): Likewise.
12861 (casinh_test_data): Likewise.
12862 (catan_test_data): Likewise.
12863 (catanh_test_data): Likewise.
12864 (cbrt_test_data): Likewise.
12865 (ccos_test_data): Likewise.
12866 (ccosh_test_data): Likewise.
12867 (ceil_test_data): Likewise.
12868 (cexp_test_data): Likewise.
12869 (cimag_test_data): Likewise.
12870 (clog_test_data): Likewise.
12871 (clog10_test_data): Likewise.
12872 (conj_test_data): Likewise.
12873 (copysign_test_data): Likewise.
12874 (cos_test_data): Likewise.
12875 (cos_tonearest_test_data): Likewise.
12876 (cos_towardzero_test_data): Likewise.
12877 (cos_downward_test_data): Likewise.
12878 (cos_upward_test_data): Likewise.
12879 (cosh_test_data): Likewise.
12880 (cosh_tonearest_test_data): Likewise.
12881 (cosh_towardzero_test_data): Likewise.
12882 (cosh_downward_test_data): Likewise.
12883 (cosh_upward_test_data): Likewise.
12884 (cpow_test_data): Likewise.
12885 (cproj_test_data): Likewise.
12886 (creal_test_data): Likewise.
12887 (csin_test_data): Likewise.
12888 (csinh_test_data): Likewise.
12889 (csqrt_test_data): Likewise.
12890 (ctan_test_data): Likewise.
12891 (ctan_tonearest_test_data): Likewise.
12892 (ctan_towardzero_test_data): Likewise.
12893 (ctan_downward_test_data): Likewise.
12894 (ctan_upward_test_data): Likewise.
12895 (ctanh_test_data): Likewise.
12896 (ctanh_tonearest_test_data): Likewise.
12897 (ctanh_towardzero_test_data): Likewise.
12898 (ctanh_downward_test_data): Likewise.
12899 (ctanh_upward_test_data): Likewise.
12900 (erf_test_data): Likewise.
12901 (erfc_test_data): Likewise.
12902 (exp_test_data): Likewise.
12903 (exp_tonearest_test_data): Likewise.
12904 (exp_towardzero_test_data): Likewise.
12905 (exp_downward_test_data): Likewise.
12906 (exp_upward_test_data): Likewise.
12907 (exp10_test_data): Likewise.
12908 (exp2_test_data): Likewise.
12909 (expm1_test_data): Likewise.
12910 (fabs_test_data): Likewise.
12911 (fdim_test_data): Likewise.
12912 (finite_test_data): Likewise.
12913 (floor_test_data): Likewise.
12914 (fma_test_data): Likewise.
12915 (fma_towardzero_test_data): Likewise.
12916 (fma_downward_test_data): Likewise.
12917 (fma_upward_test_data): Likewise.
12918 (fmax_test_data): Likewise.
12919 (fmin_test_data): Likewise.
12920 (fmod_test_data): Likewise.
12921 (fpclassify_test_data): Likewise.
12922 (frexp_test_data): Likewise.
12923 (gamma_test_data): Likewise.
12924 (hypot_test_data): Likewise.
12925 (ilogb_test_data): Likewise.
12926 (isfinite_test_data): Likewise.
12927 (isgreater_test_data): Likewise.
12928 (isgreaterequal_test_data): Likewise.
12929 (isinf_test_data): Likewise.
12930 (isless_test_data): Likewise.
12931 (islessequal_test_data): Likewise.
12932 (islessgreater_test_data): Likewise.
12933 (isnan_test_data): Likewise.
12934 (isnormal_test_data): Likewise.
12935 (issignaling_test_data): Likewise.
12936 (isunordered_test_data): Likewise.
12937 (j0_test_data): Likewise.
12938 (j1_test_data): Likewise.
12939 (jn_test_data): Likewise.
12940 (ldexp_test_data): Likewise.
12941 (lgamma_test_data): Likewise.
12942 (lrint_test_data): Likewise.
12943 (lrint_tonearest_test_data): Likewise.
12944 (lrint_towardzero_test_data): Likewise.
12945 (lrint_downward_test_data): Likewise.
12946 (lrint_upward_test_data): Likewise.
12947 (llrint_test_data): Likewise.
12948 (llrint_tonearest_test_data): Likewise.
12949 (llrint_towardzero_test_data): Likewise.
12950 (llrint_downward_test_data): Likewise.
12951 (llrint_upward_test_data): Likewise.
12952 (log_test_data): Likewise.
12953 (log10_test_data): Likewise.
12954 (log1p_test_data): Likewise.
12955 (log2_test_data): Likewise.
12956 (logb_test_data): Likewise.
12957 (logb_downward_test_data): Likewise.
12958 (lround_test_data): Likewise.
12959 (llround_test_data): Likewise.
12960 (modf_test_data): Likewise.
12961 (nearbyint_test_data): Likewise.
12962 (nextafter_test_data): Likewise.
12963 (nexttoward_test_data): Likewise.
12964 (pow_test_data): Likewise.
12965 (pow_tonearest_test_data): Likewise.
12966 (pow_towardzero_test_data): Likewise.
12967 (pow_downward_test_data): Likewise.
12968 (pow_upward_test_data): Likewise.
12969 (remainder_test_data): Likewise.
12970 (remainder_tonearest_test_data): Likewise.
12971 (remainder_towardzero_test_data): Likewise.
12972 (remainder_downward_test_data): Likewise.
12973 (remainder_upward_test_data): Likewise.
12974 (remquo_test_data): Likewise.
12975 (rint_test_data): Likewise.
12976 (rint_tonearest_test_data): Likewise.
12977 (rint_towardzero_test_data): Likewise.
12978 (rint_downward_test_data): Likewise.
12979 (rint_upward_test_data): Likewise.
12980 (round_test_data): Likewise.
12981 (scalb_test_data): Likewise.
12982 (scalbn_test_data): Likewise.
12983 (scalbln_test_data): Likewise.
12984 (signbit_test_data): Likewise.
12985 (sin_test_data): Likewise.
12986 (sin_tonearest_test_data): Likewise.
12987 (sin_towardzero_test_data): Likewise.
12988 (sin_downward_test_data): Likewise.
12989 (sin_upward_test_data): Likewise.
12990 (sincos_test_data): Likewise.
12991 (sinh_test_data): Likewise.
12992 (sinh_tonearest_test_data): Likewise.
12993 (sinh_towardzero_test_data): Likewise.
12994 (sinh_downward_test_data): Likewise.
12995 (sinh_upward_test_data): Likewise.
12996 (sqrt_test_data): Likewise.
12997 (tan_test_data): Likewise.
12998 (tan_tonearest_test_data): Likewise.
12999 (tan_towardzero_test_data): Likewise.
13000 (tan_downward_test_data): Likewise.
13001 (tan_upward_test_data): Likewise.
13002 (tanh_test_data): Likewise.
13003 (tgamma_test_data): Likewise.
13004 (trunc_test_data): Likewise.
13005 (y0_test_data): Likewise.
13006 (y1_test_data): Likewise.
13007 (yn_test_data): Likewise.
13008 (significand_test_data): Likewise.
13010 * math/gen-libm-test.pl (@functions): Remove variable.
13011 (generate_testfile): Don't handle START and END lines.
13012 * math/libm-test.inc (START): New macro.
13014 (END_COMPLEX): Likewise.
13015 (acos_test): Use END macro without arguments.
13016 (acos_test_tonearest): Likewise.
13017 (acos_test_towardzero): Likewise.
13018 (acos_test_downward): Likewise.
13019 (acos_test_upward): Likewise.
13020 (acosh_test): Likewise.
13021 (asin_test): Likewise.
13022 (asin_test_tonearest): Likewise.
13023 (asin_test_towardzero): Likewise.
13024 (asin_test_downward): Likewise.
13025 (asin_test_upward): Likewise.
13026 (asinh_test): Likewise.
13027 (atan_test): Likewise.
13028 (atanh_test): Likewise.
13029 (atan2_test): Likewise.
13030 (cabs_test): Likewise.
13031 (cacos_test): Use END_COMPLEX macro without arguments.
13032 (cacosh_test): Likewise.
13033 (carg_test): Use END macro without arguments.
13034 (casin_test): Use END_COMPLEX macro without arguments.
13035 (casinh_test): Likewise.
13036 (catan_test): Likewise.
13037 (catanh_test): Likewise.
13038 (cbrt_test): Use END macro without arguments.
13039 (ccos_test): Use END_COMPLEX macro without arguments.
13040 (ccosh_test): Likewise.
13041 (ceil_test): Use END macro without arguments.
13042 (cexp_test): Use END_COMPLEX macro without arguments.
13043 (cimag_test): Use END macro without arguments.
13044 (clog_test): Use END_COMPLEX macro without arguments.
13045 (clog10_test): Likewise.
13046 (conj_test): Likewise.
13047 (copysign_test): Use END macro without arguments.
13048 (cos_test): Likewise.
13049 (cos_test_tonearest): Likewise.
13050 (cos_test_towardzero): Likewise.
13051 (cos_test_downward): Likewise.
13052 (cos_test_upward): Likewise.
13053 (cosh_test): Likewise.
13054 (cosh_test_tonearest): Likewise.
13055 (cosh_test_towardzero): Likewise.
13056 (cosh_test_downward): Likewise.
13057 (cosh_test_upward): Likewise.
13058 (cpow_test): Use END_COMPLEX macro without arguments.
13059 (cproj_test): Likewise.
13060 (creal_test): Use END macro without arguments.
13061 (csin_test): Use END_COMPLEX macro without arguments.
13062 (csinh_test): Likewise.
13063 (csqrt_test): Likewise.
13064 (ctan_test): Likewise.
13065 (ctan_test_tonearest): Likewise.
13066 (ctan_test_towardzero): Likewise.
13067 (ctan_test_downward): Likewise.
13068 (ctan_test_upward): Likewise.
13069 (ctanh_test): Likewise.
13070 (ctanh_test_tonearest): Likewise.
13071 (ctanh_test_towardzero): Likewise.
13072 (ctanh_test_downward): Likewise.
13073 (ctanh_test_upward): Likewise.
13074 (erf_test): Use END macro without arguments.
13075 (erfc_test): Likewise.
13076 (exp_test): Likewise.
13077 (exp_test_tonearest): Likewise.
13078 (exp_test_towardzero): Likewise.
13079 (exp_test_downward): Likewise.
13080 (exp_test_upward): Likewise.
13081 (exp10_test): Likewise.
13082 (exp2_test): Likewise.
13083 (expm1_test): Likewise.
13084 (fabs_test): Likewise.
13085 (fdim_test): Likewise.
13086 (finite_test): Likewise.
13087 (floor_test): Likewise.
13088 (fma_test): Likewise.
13089 (fma_test_towardzero): Likewise.
13090 (fma_test_downward): Likewise.
13091 (fma_test_upward): Likewise.
13092 (fmax_test): Likewise.
13093 (fmin_test): Likewise.
13094 (fmod_test): Likewise.
13095 (fpclassify_test): Likewise.
13096 (frexp_test): Likewise.
13097 (gamma_test): Likewise.
13098 (hypot_test): Likewise.
13099 (ilogb_test): Likewise.
13100 (isfinite_test): Likewise.
13101 (isgreater_test): Likewise.
13102 (isgreaterequal_test): Likewise.
13103 (isinf_test): Likewise.
13104 (isless_test): Likewise.
13105 (islessequal_test): Likewise.
13106 (islessgreater_test): Likewise.
13107 (isnan_test): Likewise.
13108 (isnormal_test): Likewise.
13109 (issignaling_test): Likewise.
13110 (isunordered_test): Likewise.
13111 (j0_test): Likewise.
13112 (j1_test): Likewise.
13113 (jn_test): Likewise.
13114 (ldexp_test): Likewise.
13115 (lgamma_test): Likewise.
13116 (lrint_test): Likewise.
13117 (lrint_test_tonearest): Likewise.
13118 (lrint_test_towardzero): Likewise.
13119 (lrint_test_downward): Likewise.
13120 (lrint_test_upward): Likewise.
13121 (llrint_test): Likewise.
13122 (llrint_test_tonearest): Likewise.
13123 (llrint_test_towardzero): Likewise.
13124 (llrint_test_downward): Likewise.
13125 (llrint_test_upward): Likewise.
13126 (log_test): Likewise.
13127 (log10_test): Likewise.
13128 (log1p_test): Likewise.
13129 (log2_test): Likewise.
13130 (logb_test): Likewise.
13131 (logb_test_downward): Likewise.
13132 (lround_test): Likewise.
13133 (llround_test): Likewise.
13134 (modf_test): Likewise.
13135 (nearbyint_test): Likewise.
13136 (nextafter_test): Likewise.
13137 (nexttoward_test): Likewise.
13138 (pow_test): Likewise.
13139 (pow_test_tonearest): Likewise.
13140 (pow_test_towardzero): Likewise.
13141 (pow_test_downward): Likewise.
13142 (pow_test_upward): Likewise.
13143 (remainder_test): Likewise.
13144 (remainder_test_tonearest): Likewise.
13145 (remainder_test_towardzero): Likewise.
13146 (remainder_test_downward): Likewise.
13147 (remainder_test_upward): Likewise.
13148 (remquo_test): Likewise.
13149 (rint_test): Likewise.
13150 (rint_test_tonearest): Likewise.
13151 (rint_test_towardzero): Likewise.
13152 (rint_test_downward): Likewise.
13153 (rint_test_upward): Likewise.
13154 (round_test): Likewise.
13155 (scalb_test): Likewise.
13156 (scalbn_test): Likewise.
13157 (scalbln_test): Likewise.
13158 (signbit_test): Likewise.
13159 (sin_test): Likewise.
13160 (sin_test_tonearest): Likewise.
13161 (sin_test_towardzero): Likewise.
13162 (sin_test_downward): Likewise.
13163 (sin_test_upward): Likewise.
13164 (sincos_test): Likewise.
13165 (sinh_test): Likewise.
13166 (sinh_test_tonearest): Likewise.
13167 (sinh_test_towardzero): Likewise.
13168 (sinh_test_downward): Likewise.
13169 (sinh_test_upward): Likewise.
13170 (sqrt_test): Likewise.
13171 (tan_test): Likewise.
13172 (tan_test_tonearest): Likewise.
13173 (tan_test_towardzero): Likewise.
13174 (tan_test_downward): Likewise.
13175 (tan_test_upward): Likewise.
13176 (tanh_test): Likewise.
13177 (tgamma_test): Likewise.
13178 (trunc_test): Likewise.
13179 (y0_test): Likewise.
13180 (y1_test): Likewise.
13181 (yn_test): Likewise.
13182 (significand_test): Likewise.
13184 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13187 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13189 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13192 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13193 __ppc_mdoio and __ppc_mdoom.
13194 * manual/platform.texi: Document new functions __ppc_yield,
13195 __ppc_mdoio and __ppc_mdoom.
13197 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13199 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13200 (main): Mention "tls" pseudo-hwcap is legacy.
13201 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13203 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13205 * math/gen-libm-test.pl (parse_args): Output only string of
13206 arguments as text for test name, not full call or descriptions of
13207 tests for extra outputs.
13208 (generate_testfile): Do not pass function name to parse_args.
13209 Generate this_func variable from START.
13210 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13212 (struct test_ff_f_data): Likewise.
13213 (test_ff_f_data_nexttoward): Likewise.
13214 (struct test_fi_f_data): Likewise.
13215 (struct test_fl_f_data): Likewise.
13216 (struct test_if_f_data): Likewise.
13217 (struct test_fff_f_data): Likewise.
13218 (struct test_c_f_data): Likewise.
13219 (struct test_f_f1_data): Likewise. Remove field extra_name.
13220 (struct test_fF_f1_data): Likewise.
13221 (struct test_ffI_f1_data): Likewise.
13222 (struct test_c_c_data): Rename test_name field to arg_str.
13223 (struct test_cc_c_data): Likewise.
13224 (struct test_f_i_data): Likewise.
13225 (struct test_ff_i_data): Likewise.
13226 (struct test_f_l_data): Likewise.
13227 (struct test_f_L_data): Likewise.
13228 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13230 (COMMON_TEST_SETUP): New macro.
13231 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13232 (COMMON_TEST_CLEANUP): Likewise.
13233 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13234 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13236 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13237 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13239 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13240 (RUN_TEST_fff_f): Take argument string. Call new setup and
13242 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13243 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13245 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13246 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13248 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13249 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13251 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13252 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13254 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13255 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13257 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13258 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13260 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13261 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13263 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13264 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13266 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13267 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13269 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13270 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13272 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13273 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13275 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13276 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13278 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13279 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13281 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13282 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13284 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13285 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13287 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13289 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13291 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13292 to _sifields.sigfault.
13293 (si_addr_lsb): Define new macro.
13294 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13295 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13296 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13298 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13301 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13303 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13305 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13306 loading the domain.
13308 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13310 * math/gen-libm-test.pl (parse_args): Do not include expected
13311 result in test name.
13312 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13314 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13315 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13316 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13319 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13321 * benchtests/Makefile: Sort function entries.
13323 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13324 tanh, asinh, acosh, atanh.
13325 * benchtests/acos-inputs: New file.
13326 * benchtests/acosh-inputs: New file.
13327 * benchtests/asin-inputs: New file.
13328 * benchtests/asinh-inputs: New file.
13329 * benchtests/atanh-inputs: New file.
13330 * benchtests/cosh-inputs: New file.
13331 * benchtests/log-inputs: New file.
13332 * benchtests/sinh-inputs: New file.
13333 * benchtests/tanh-inputs: New file.
13335 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13338 * posix/tst-getaddrinfo4.c: New test.
13339 * posix/Makefile (tests): Add it.
13341 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13344 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13345 when no services were used.
13346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13347 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13349 2013-05-21 Andreas Schwab <schwab@suse.de>
13352 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13353 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13355 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13356 redundant variable declarations and reallocation of buffer when
13357 parsing as IPv6 address. Always set NSS status when called from
13358 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13359 buffer too small. Correct computation of needed size.
13360 * nss/Makefile (tests): Add test-digits-dots.
13361 * nss/test-digits-dots.c: New test.
13363 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13365 * benchtests/Makefile: Remove instructions for adding
13367 * benchtests/README: New file to explain how to execute and
13368 enhance the benchmark tests.
13370 2013-05-21 Andreas Schwab <schwab@suse.de>
13373 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13374 * setjmp/tst-sigsetjmp.c: New test.
13376 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13378 * sysdeps/x86_64/memset.S (memset): New implementation.
13379 (__bzero): Likewise.
13380 (__memset_tail): New function.
13382 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13384 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13385 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13386 __memcpy_sse2_unaligned ifunc selection.
13387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13388 Add memcpy-sse2-unaligned.S.
13389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13390 Add: __memcpy_sse2_unaligned.
13392 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13395 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13396 math_force_eval before restoring floating-point envrionment.
13397 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13400 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13402 (__nearbyintl): Use math_force_eval before restoring
13403 floating-point environment.
13404 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13406 * math/gen-libm-test.pl (special_functions): Remove.
13407 (parse_args): Don't handle TEST_extra. Handle functions with no
13409 * math/libm-test.inc (struct test_sincos_data): Replace with
13410 struct test_fFF_11_data.
13411 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13412 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13413 (sincos_test_data): Change element type to struct
13414 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13415 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13416 RUN_TEST_LOOP_sincos.
13417 * math/README.libm-test: Don't mention special handling of
13418 individual functions.
13419 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13420 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13421 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13422 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13423 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13426 * math/gen-libm-test.pl (get_variable): Remove function.
13427 (parse_args): Don't show pointer parameters to call in test
13428 names. Use "extra output N" in test names for extra outputs
13429 rather than naming variables.
13431 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13434 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13435 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13436 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13438 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13440 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13443 * math/gen-libm-test.pl (@tests): Remove variable.
13444 ($count): Likewise.
13445 (new_test): Remove function.
13446 (show_exceptions): New function.
13447 (special_functions): Use show_exceptions instead of new_test.
13448 (parse_args): Likewise.
13449 (generate_testfile): Pass only function name in generated call to
13450 print_max_error or print_complex_max_error.
13451 (get_ulps): Do not handle complex tests specially.
13452 (output_test): Rename to ...
13453 (get_all_ulps_for_test): ... this. Return a string rather than
13454 printing to a file. Require ulps to be present.
13455 (output_ulps): Generate arrays rather than #defines.
13456 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13457 (struct ulp_data): New type.
13458 (BUILD_COMPLEX_ULP): Remove macro.
13459 (compare_ulp_data): New function.
13460 (find_ulps): Likewise.
13461 (find_test_ulps): Likewise.
13462 (find_function_ulps): Likewise.
13463 (find_complex_function_ulps): Likewise.
13464 (print_max_error): Determine allowed ulps using
13465 find_function_ulps.
13466 (print_complex_max_error): Determine allowed ulps using
13467 find_complex_function_ulps.
13468 (check_float_internal): Determine max ulps using find_test_ulps.
13469 (check_float): Do not take max_ulp parameter. Update call to
13470 check_float_internal.
13471 (check_complex): Likewise.
13472 (check_int): Do not take max_ulp parameter.
13473 (check_long): Likewise.
13474 (check_bool): Likewise.
13475 (check_longlong): Likewise.
13476 (struct test_f_f_data): Remove max_ulp field.
13477 (struct test_ff_f_data): Likewise.
13478 (struct test_ff_f_data_nexttoward): Likewise.
13479 (struct test_fi_f_data): Likewise.
13480 (struct test_fl_f_data): Likewise.
13481 (struct test_if_f_data): Likewise.
13482 (struct test_fff_f_data): Likewise.
13483 (struct test_c_f_data): Likewise.
13484 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13485 (struct test_fF_f1_data): Likewise.
13486 (struct test_ffI_f1_data): Likewise.
13487 (struct test_c_c_data): Remove max_ulp field.
13488 (struct test_cc_c_data): Likewise.
13489 (struct test_f_i_data): Likewise.
13490 (struct test_ff_i_data): Likewise.
13491 (struct test_f_l_data): Likewise.
13492 (struct test_f_L_data): Likewise.
13493 (struct test_sincos_data): Likewise.
13494 (RUN_TEST_f_f): Do not handle ulps.
13495 (RUN_TEST_LOOP_f_f): Likewise.
13496 (RUN_TEST_2_f): Likewise.
13497 (RUN_TEST_LOOP_2_f): Likewise.
13498 (RUN_TEST_fff_f): Likewise.
13499 (RUN_TEST_LOOP_fff_f): Likewise.
13500 (RUN_TEST_c_f): Likewise.
13501 (RUN_TEST_LOOP_c_f): Likewise.
13502 (RUN_TEST_f_f1): Likewise.
13503 (RUN_TEST_LOOP_f_f1): Likewise.
13504 (RUN_TEST_fF_f1): Likewise.
13505 (RUN_TEST_LOOP_fF_f1): Likewise.
13506 (RUN_TEST_fI_f1): Likewise.
13507 (RUN_TEST_LOOP_fI_f1): Likewise.
13508 (RUN_TEST_ffI_f1): Likewise.
13509 (RUN_TEST_LOOP_ffI_f1): Likewise.
13510 (RUN_TEST_c_c): Likewise.
13511 (RUN_TEST_LOOP_c_c): Likewise.
13512 (RUN_TEST_cc_c): Likewise.
13513 (RUN_TEST_LOOP_cc_c): Likewise.
13514 (RUN_TEST_f_i): Likewise.
13515 (RUN_TEST_LOOP_f_i): Likewise.
13516 (RUN_TEST_f_i_tg): Likewise.
13517 (RUN_TEST_LOOP_f_i_tg): Likewise.
13518 (RUN_TEST_ff_i_tg): Likewise.
13519 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13520 (RUN_TEST_f_b): Likewise.
13521 (RUN_TEST_LOOP_f_b): Likewise.
13522 (RUN_TEST_f_b_tg): Likewise.
13523 (RUN_TEST_LOOP_f_b_tg): Likewise.
13524 (RUN_TEST_f_l): Likewise.
13525 (RUN_TEST_LOOP_f_l): Likewise.
13526 (RUN_TEST_f_L): Likewise.
13527 (RUN_TEST_LOOP_f_L): Likewise.
13528 (RUN_TEST_sincos): Likewise.
13529 (RUN_TEST_LOOP_sincos): Likewise.
13531 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13535 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13536 main case of finite arguments, set rounding mode to FE_TONEAREST
13537 and discard exceptions.
13538 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13540 (remainder_tonearest_test_data): New variable.
13541 (remainder_test_tonearest): New function.
13542 (remainder_towardzero_test_data): New variable.
13543 (remainder_test_towardzero): New function.
13544 (remainder_downward_test_data): New variable.
13545 (remainder_test_downward): New function.
13546 (remainder_upward_test_data): New variable.
13547 (remainder_test_upward): New function.
13548 (main): Call the new test functions.
13550 * math/libm-test.inc (struct test_f_f1_data): Remove field
13552 (struct test_fF_f1_data): Likewise.
13553 (struct test_ffI_f1_data): Likewise.
13554 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13555 based on value of EXTRA_EXPECTED.
13556 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13557 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13558 EXTRA_VAR based on value of EXTRA_EXPECTED.
13559 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13560 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13561 EXTRA_VAR based on value of EXTRA_EXPECTED.
13562 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13563 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13564 EXTRA_VAR based on value of EXTRA_EXPECTED.
13565 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13566 * math/gen-libm-test.pl (parse_args): Don't output initializers
13567 for extra output values.
13569 * math/libm-test.inc (check_int): Expect result to be exactly
13570 equal to expected value and do not handle ulps.
13571 (check_long): Likewise.
13572 (check_longlong): Likewise.
13574 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13576 (cimag_test_data): Likewise.
13577 (conj_test_data): Likewise.
13578 (copysign_test_data): Likewise.
13579 (cproj_test_data): Likewise.
13580 (creal_test_data): Likewise.
13581 (fabs_test_data): Likewise.
13582 (fdim_test_data): Likewise.
13583 (finite_test_data): Likewise.
13584 (floor_test_data): Likewise.
13585 (fmax_test_data): Likewise.
13586 (fmin_test_data): Likewise.
13587 (fmod_test_data): Likewise.
13588 (fpclassify_test_data): Likewise.
13589 (frexp_test_data): Likewise.
13590 (ilogb_test_data): Likewise.
13591 (isfinite_test_data): Likewise.
13592 (isgreater_test_data): Likewise.
13593 (isgreaterequal_test_data): Likewise.
13594 (isinf_test_data): Likewise.
13595 (isless_test_data): Likewise.
13596 (islessequal_test_data): Likewise.
13597 (islessgreater_test_data): Likewise.
13598 (isnan_test_data): Likewise.
13599 (isnormal_test_data): Likewise.
13600 (issignaling_test_data): Likewise.
13601 (isunordered_test_data): Likewise.
13602 (ldexp_test_data): Likewise.
13603 (lrint_test_data): Likewise.
13604 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13605 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13606 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13607 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13608 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13609 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13611 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13612 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13613 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13614 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13616 (lrint_downward_test_data): Test for "inexact" exceptions.
13617 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13618 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13619 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13621 (lrint_upward_test_data): Test for "inexact" exceptions.
13622 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13624 (llrint_test_data): Test for "inexact" exceptions.
13625 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13626 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13627 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13628 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13629 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13630 (llrint_downward_test_data): Test for "inexact" exceptions.
13631 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13632 (llrint_upward_test_data): Test for "inexact" exceptions.
13633 (logb_test_data): Likewise.
13634 (logb_downward_test_data): Likewise.
13635 (nextafter_test_data): Likewise.
13636 (nexttoward_test_data): Likewise.
13637 (remainder_test_data): Likewise.
13638 (remquo_test_data): Likewise.
13639 (scalbn_test_data): Likewise.
13640 (scalbln_test_data): Likewise.
13641 (signbit_test_data): Likewise.
13642 (sqrt_test_data): Likewise.
13643 (significand_test_data): Likewise.
13645 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13648 * benchtests/bench-modf.c (struct args): Mark arg0 as
13650 * scripts/bench.pl: Mark members of struct args as volatile.
13652 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13655 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13656 negative infinity on POWER6 or lower.
13657 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13659 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13662 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13663 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13664 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13665 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13666 (_FP_SETQNAN): New macro.
13667 (_FP_SETQNAN_SEMIRAW): Likewise.
13668 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13669 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13670 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13671 (FP_EXTEND): Use _FP_FRAC_SNANP.
13672 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13673 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13675 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13677 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13680 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13682 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13683 with DIVIDE_BY_ZERO_EXCEPTION.
13684 (gamma_test_data): Likewise.
13685 (lgamma_test_data): Likewise.
13686 (log_test_data): Likewise.
13687 (log10_test_data): Likewise.
13688 (log2_test_data): Likewise.
13689 (tgamma_test_data): Likewise.
13691 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13692 (acos_test_tonearest): Likewise.
13693 (acos_test_towardzero): Likewise.
13694 (acos_test_downward): Likewise.
13695 (acos_test_upward): Likewise.
13696 (acosh_test): Likewise.
13697 (asin_test): Likewise.
13698 (asin_test_tonearest): Likewise.
13699 (asin_test_towardzero): Likewise.
13700 (asin_test_downward): Likewise.
13701 (asin_test_upward): Likewise.
13702 (asinh_test): Likewise.
13703 (atan_test): Likewise.
13704 (atanh_test): Likewise.
13705 (atan2_test): Likewise.
13706 (cabs_test): Likewise.
13707 (cacos_test): Likewise.
13708 (cacosh_test): Likewise.
13709 (casin_test): Likewise.
13710 (casinh_test): Likewise.
13711 (catan_test): Likewise.
13712 (catanh_test): Likewise.
13713 (cbrt_test): Likewise.
13714 (ccos_test): Likewise.
13715 (ccosh_test): Likewise.
13716 (cexp_test): Likewise.
13717 (clog_test): Likewise.
13718 (clog10_test): Likewise.
13719 (cos_test): Likewise.
13720 (cos_test_tonearest): Likewise.
13721 (cos_test_towardzero): Likewise.
13722 (cos_test_downward): Likewise.
13723 (cos_test_upward): Likewise.
13724 (cosh_test): Likewise.
13725 (cosh_test_tonearest): Likewise.
13726 (cosh_test_towardzero): Likewise.
13727 (cosh_test_downward): Likewise.
13728 (cosh_test_upward): Likewise.
13729 (cpow_test): Likewise.
13730 (csin_test): Likewise.
13731 (csinh_test): Likewise.
13732 (csqrt_test): Likewise.
13733 (ctan_test): Likewise.
13734 (ctan_test_tonearest): Likewise.
13735 (ctan_test_towardzero): Likewise.
13736 (ctan_test_downward): Likewise.
13737 (ctan_test_upward): Likewise.
13738 (ctanh_test): Likewise.
13739 (ctanh_test_tonearest): Likewise.
13740 (ctanh_test_towardzero): Likewise.
13741 (ctanh_test_downward): Likewise.
13742 (ctanh_test_upward): Likewise.
13743 (erf_test): Likewise.
13744 (erfc_test): Likewise.
13745 (exp_test): Likewise.
13746 (exp_test_tonearest): Likewise.
13747 (exp_test_towardzero): Likewise.
13748 (exp_test_downward): Likewise.
13749 (exp_test_upward): Likewise.
13750 (exp10_test): Likewise.
13751 (exp2_test): Likewise.
13752 (expm1_test): Likewise.
13753 (fmod_test): Likewise.
13754 (gamma_test): Likewise.
13755 (hypot_test): Likewise.
13756 (j0_test): Likewise.
13757 (j1_test): Likewise.
13758 (jn_test): Likewise.
13759 (lgamma_test): Likewise.
13760 (log_test): Likewise.
13761 (log10_test): Likewise.
13762 (log1p_test): Likewise.
13763 (log2_test): Likewise.
13764 (logb_test_downward): Likewise.
13765 (pow_test): Likewise.
13766 (pow_test_tonearest): Likewise.
13767 (pow_test_towardzero): Likewise.
13768 (pow_test_downward): Likewise.
13769 (pow_test_upward): Likewise.
13770 (remainder_test): Likewise.
13771 (remquo_test): Likewise.
13772 (sin_test): Likewise.
13773 (sin_test_tonearest): Likewise.
13774 (sin_test_towardzero): Likewise.
13775 (sin_test_downward): Likewise.
13776 (sin_test_upward): Likewise.
13777 (sincos_test): Likewise.
13778 (sinh_test): Likewise.
13779 (sinh_test_tonearest): Likewise.
13780 (sinh_test_towardzero): Likewise.
13781 (sinh_test_downward): Likewise.
13782 (sinh_test_upward): Likewise.
13783 (sqrt_test): Likewise.
13784 (tan_test): Likewise.
13785 (tan_test_tonearest): Likewise.
13786 (tan_test_towardzero): Likewise.
13787 (tan_test_downward): Likewise.
13788 (tan_test_upward): Likewise.
13789 (tanh_test): Likewise.
13790 (tgamma_test): Likewise.
13791 (y0_test): Likewise.
13792 (y1_test): Likewise.
13793 (yn_test): Likewise.
13795 * math/gen-libm-test.pl (adjust_arg): Remove function.
13796 (special_function): Remove argument $in_func. Only handle
13797 generating output for tables of tests, not inside functions.
13798 (parse_args): Likewise.
13799 (generate_testfile): Remove variable $in_func. Update call to
13801 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13802 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13803 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13804 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13805 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13806 (MAX_VALUE_INIT): Rename macro to max_value.
13807 (MIN_VALUE_INIT): Rename macro to min_value.
13808 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13809 (plus_zero): Remove variable.
13810 (minus_zero): Likewise.
13811 (plus_infty): Likewise.
13812 (minus_infty): Likewise.
13813 (qnan_value): Likewise.
13814 (max_value): Likewise.
13815 (min_value): Likewise.
13816 (min_subnorm_value): Likewise.
13818 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13820 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13821 uint64_t or uint32_t usage.
13822 * crypt/sha256-block.c: Likewise.
13823 * crypt/sha256-crypt.c: Likewise.
13824 * crypt/sha256.c: Likewise.
13825 * crypt/sha512-block.c: Likewise.
13826 * crypt/sha512-crypt.c: Likewise.
13827 * crypt/sha512.c: Likewise.
13828 * debug/backtrace-tst.c: Likewise.
13829 * debug/pcprofiledump.c: Likewise.
13830 * elf/cache.c: Likewise.
13831 * elf/dl-cache.c: Likewise.
13832 * elf/dl-misc.c: Likewise.
13833 * elf/dl-profile.c: Likewise.
13834 * elf/dl-support.c: Likewise.
13835 * elf/ldconfig.c: Likewise.
13836 * elf/sprof.c: Likewise.
13837 * iconv/dummy-repertoire.c: Likewise.
13838 * iconv/iconv_charmap.c: Likewise.
13839 * iconv/skeleton.c: Likewise.
13840 * iconvdata/8bit-generic.c: Likewise.
13841 * iconvdata/cp737.h: Likewise.
13842 * iconvdata/cp775.h: Likewise.
13843 * iconvdata/ibm1008.h: Likewise.
13844 * iconvdata/ibm1025.h: Likewise.
13845 * iconvdata/ibm1046.h: Likewise.
13846 * iconvdata/ibm1097.h: Likewise.
13847 * iconvdata/ibm1112.h: Likewise.
13848 * iconvdata/ibm1122.h: Likewise.
13849 * iconvdata/ibm1123.h: Likewise.
13850 * iconvdata/ibm1124.h: Likewise.
13851 * iconvdata/ibm1129.h: Likewise.
13852 * iconvdata/ibm1130.h: Likewise.
13853 * iconvdata/ibm1132.h: Likewise.
13854 * iconvdata/ibm1133.h: Likewise.
13855 * iconvdata/ibm1137.h: Likewise.
13856 * iconvdata/ibm1140.h: Likewise.
13857 * iconvdata/ibm1141.h: Likewise.
13858 * iconvdata/ibm1142.h: Likewise.
13859 * iconvdata/ibm1143.h: Likewise.
13860 * iconvdata/ibm1144.h: Likewise.
13861 * iconvdata/ibm1145.h: Likewise.
13862 * iconvdata/ibm1146.h: Likewise.
13863 * iconvdata/ibm1147.h: Likewise.
13864 * iconvdata/ibm1148.h: Likewise.
13865 * iconvdata/ibm1149.h: Likewise.
13866 * iconvdata/ibm1153.h: Likewise.
13867 * iconvdata/ibm1154.h: Likewise.
13868 * iconvdata/ibm1155.h: Likewise.
13869 * iconvdata/ibm1156.h: Likewise.
13870 * iconvdata/ibm1157.h: Likewise.
13871 * iconvdata/ibm1158.h: Likewise.
13872 * iconvdata/ibm1160.h: Likewise.
13873 * iconvdata/ibm1161.h: Likewise.
13874 * iconvdata/ibm1162.h: Likewise.
13875 * iconvdata/ibm1163.h: Likewise.
13876 * iconvdata/ibm1164.h: Likewise.
13877 * iconvdata/ibm1166.h: Likewise.
13878 * iconvdata/ibm1167.h: Likewise.
13879 * iconvdata/ibm12712.h: Likewise.
13880 * iconvdata/ibm1390.h: Likewise.
13881 * iconvdata/ibm1399.h: Likewise.
13882 * iconvdata/ibm16804.h: Likewise.
13883 * iconvdata/ibm4517.h: Likewise.
13884 * iconvdata/ibm4899.h: Likewise.
13885 * iconvdata/ibm4909.h: Likewise.
13886 * iconvdata/ibm4971.h: Likewise.
13887 * iconvdata/ibm5347.h: Likewise.
13888 * iconvdata/ibm803.h: Likewise.
13889 * iconvdata/ibm856.h: Likewise.
13890 * iconvdata/ibm901.h: Likewise.
13891 * iconvdata/ibm902.h: Likewise.
13892 * iconvdata/ibm9030.h: Likewise.
13893 * iconvdata/ibm9066.h: Likewise.
13894 * iconvdata/ibm921.h: Likewise.
13895 * iconvdata/ibm922.h: Likewise.
13896 * iconvdata/ibm9448.h: Likewise.
13897 * iconvdata/isiri-3342.h: Likewise.
13898 * iconvdata/jis0201.h: Likewise.
13899 * include/link.h: Likewise.
13900 * include/netdb.h: Likewise.
13901 * inet/check_native.c: Likewise.
13902 * inet/check_pf.c: Likewise.
13903 * inet/getipv4sourcefilter.c: Likewise.
13904 * inet/getnameinfo.c: Likewise.
13905 * inet/getsourcefilter.c: Likewise.
13906 * inet/htonl.c: Likewise.
13907 * inet/setipv4sourcefilter.c: Likewise.
13908 * inet/setsourcefilter.c: Likewise.
13909 * inet/test-inet6_opt.c: Likewise.
13910 * inet/tst-network.c: Likewise.
13911 * locale/C-collate.c: Likewise.
13912 * locale/C-ctype.c: Likewise.
13913 * locale/C-time.c: Likewise.
13914 * locale/C-translit.h: Likewise.
13915 * locale/loadarchive.c: Likewise.
13916 * locale/programs/3level.h: Likewise.
13917 * locale/programs/charmap.c: Likewise.
13918 * locale/programs/charmap.h: Likewise.
13919 * locale/programs/ld-address.c: Likewise.
13920 * locale/programs/ld-collate.c: Likewise.
13921 * locale/programs/ld-ctype.c: Likewise.
13922 * locale/programs/ld-identification.c: Likewise.
13923 * locale/programs/ld-measurement.c: Likewise.
13924 * locale/programs/ld-messages.c: Likewise.
13925 * locale/programs/ld-monetary.c: Likewise.
13926 * locale/programs/ld-name.c: Likewise.
13927 * locale/programs/ld-numeric.c: Likewise.
13928 * locale/programs/ld-paper.c: Likewise.
13929 * locale/programs/ld-telephone.c: Likewise.
13930 * locale/programs/ld-time.c: Likewise.
13931 * locale/programs/linereader.c: Likewise.
13932 * locale/programs/locale.c: Likewise.
13933 * locale/programs/locarchive.c: Likewise.
13934 * locale/programs/locfile.h: Likewise.
13935 * locale/programs/repertoire.c: Likewise.
13936 * locale/programs/simple-hash.c: Likewise.
13937 * locale/programs/simple-hash.h: Likewise.
13938 * malloc/memusage.c: Likewise.
13939 * malloc/memusagestat.c: Likewise.
13940 * nis/nis_defaults.c: Likewise.
13941 * nis/nis_hash.c: Likewise.
13942 * nis/nis_print.c: Likewise.
13943 * nis/nis_xdr.c: Likewise.
13944 * nscd/connections.c: Likewise.
13945 * nscd/hstcache.c: Likewise.
13946 * nscd/nscd_gethst_r.c: Likewise.
13947 * nscd/nscd_getserv_r.c: Likewise.
13948 * nscd/nscd_helper.c: Likewise.
13949 * nscd/servicescache.c: Likewise.
13950 * nss/makedb.c: Likewise.
13951 * nss/nss_db/db-XXX.c: Likewise.
13952 * nss/nss_db/db-initgroups.c: Likewise.
13953 * nss/nss_db/db-netgrp.c: Likewise.
13954 * nss/nss_files/files-network.c: Likewise.
13955 * nss/nss_files/files-parse.c: Likewise.
13956 * posix/bug-regex5.c: Likewise.
13957 * posix/fnmatch_loop.c: Likewise.
13958 * posix/regcomp.c: Likewise.
13959 * posix/regexec.c: Likewise.
13960 * posix/tst-rfc3484-2.c: Likewise.
13961 * posix/tst-rfc3484-3.c: Likewise.
13962 * posix/tst-rfc3484.c: Likewise.
13963 * resolv/nss_dns/dns-canon.c: Likewise.
13964 * resolv/nss_dns/dns-network.c: Likewise.
13965 * resolv/res_init.c: Likewise.
13966 * resolv/res_mkquery.c: Likewise.
13967 * resolv/tst-aton.c: Likewise.
13968 * stdlib/cxa_atexit.c: Likewise.
13969 * stdlib/cxa_finalize.c: Likewise.
13970 * stdlib/gen-fpioconst.c: Likewise.
13971 * stdlib/strtol_l.c: Likewise.
13972 * string/tst-endian.c: Likewise.
13973 * sunrpc/auth_des.c: Likewise.
13974 * sunrpc/clnt_udp.c: Likewise.
13975 * sunrpc/rtime.c: Likewise.
13976 * sunrpc/svcauth_des.c: Likewise.
13977 * sunrpc/xdr.c: Likewise.
13978 * sunrpc/xdr_intXX_t.c: Likewise.
13979 * sunrpc/xdr_rec.c: Likewise.
13980 * sysdeps/generic/ldconfig.h: Likewise.
13981 * sysdeps/generic/ldsodefs.h: Likewise.
13982 * sysdeps/generic/memusage.h: Likewise.
13983 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13984 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13986 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13987 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13993 * sysdeps/posix/getaddrinfo.c: Likewise.
13994 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13996 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13997 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13998 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13999 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14000 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14001 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14002 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14003 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14004 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14005 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14006 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14007 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14008 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14009 * sysdeps/x86_64/dl-tls.h: Likewise.
14010 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14011 * time/alt_digit.c: Likewise.
14012 * time/era.c: Likewise.
14013 * wcsmbs/tst-c16c32-1.c: Likewise.
14015 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14017 * math/libm-test.inc (struct test_sincos_data): New type.
14018 (RUN_TEST_LOOP_sincos): New macro.
14019 (sincos_test_data): New variable.
14020 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14022 2013-05-16 Richard Henderson <rth@redhat.com>
14024 * math/atest-exp2.c (LIMB64): New macro.
14025 (CONSTSZ): New macro.
14026 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14028 (print_mpn_fp): ... to function scope.
14029 (read_mpn_hex): Remove.
14030 (get_log2): Remove.
14031 (exp2_mpn): Use mp_log2.
14032 (main): Use mp_exp1.
14034 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14036 * math/libm-test.inc: Remove comment about not testing "inexact"
14038 (INEXACT_EXCEPTION): New macro.
14039 (NO_INEXACT_EXCEPTION): Likewise.
14040 (INVALID_EXCEPTION_OK): Update value.
14041 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14042 (OVERFLOW_EXCEPTION_OK): Likewise.
14043 (UNDERFLOW_EXCEPTION_OK): Likewise.
14044 (IGNORE_ZERO_INF_SIGN): Likewise.
14045 (ERRNO_UNCHANGED): Likewise.
14046 (ERRNO_EDOM): Likewise.
14047 (ERRNO_ERANGE): Likewise.
14048 (test_exceptions): Handle testing "inexact" exceptions.
14049 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14050 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14051 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14052 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14054 (rint_towardzero_test_data): Likewise.
14055 (rint_downward_test_data): Likewise.
14056 (rint_upward_test_data): Likewise.
14058 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14059 with OVERFLOW_EXCEPTION.
14060 (exp10_test_data): Likewise.
14061 (exp2_test_data): Likewise.
14062 (expm1_test_data): Likewise.
14063 (lgamma_test_data): Likewise.
14064 (pow_test_data): Likewise.
14065 (tgamma_test_data): Likewise.
14066 (yn_test_data): Remove duplicate test of overflow.
14068 * math/libm-test.inc (struct test_cc_c_data): New type.
14069 (RUN_TEST_LOOP_cc_c): New macro.
14070 (cpow_test_data): New variable.
14071 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14073 * math/libm-test.inc (struct test_f_L_data): New type.
14074 (RUN_TEST_LOOP_f_L): New macro.
14075 (llrint_test_data): New variable.
14076 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14077 (llrint_tonearest_test_data): New variable.
14078 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14079 (llrint_towardzero_test_data): New variable.
14080 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14081 (llrint_downward_test_data): New variable.
14082 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14083 (llrint_upward_test_data): New variable.
14084 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14085 (llround_test_data): New variable.
14086 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14088 2013-05-13 Peter Collingbourne <pcc@google.com>
14090 * math/atest-exp2.c (get_log2): Remove const attribute.
14092 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14094 * math/libm-test.inc (struct test_f_l_data): New type.
14095 (RUN_TEST_LOOP_f_l): New macro.
14096 (lrint_test_data): New variable.
14097 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14098 (lrint_tonearest_test_data): New variable.
14099 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14100 (lrint_towardzero_test_data): New variable.
14101 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14102 (lrint_downward_test_data): New variable.
14103 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14104 (lrint_upward_test_data): New variable.
14105 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14106 (lround_test_data): New variable.
14107 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14109 2013-05-15 Peter Collingbourne <pcc@google.com>
14111 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14112 (EXTRACT_WORDS64) Use where appropriate.
14113 (INSERT_WORDS64) Likewise.
14115 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14116 constraints with x constraints.
14117 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14119 * malloc/obstack.c (_obstack_compat): Add initializer.
14121 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14123 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14124 si_trapno and add si_addr_lsb to _sifields.sigfault.
14125 (si_trapno): Remove macro.
14126 (si_addr_lsb): Define new macro.
14127 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14129 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14131 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14132 instead of TEST_f_l.
14133 (llrint_test_tonearest): Likewise.
14134 (llrint_test_towardzero): Likewise.
14135 (llrint_test_downward): Likewise.
14136 (llrint_test_upward): Likewise.
14137 (llround_test): Likewise.
14139 * math/libm-test.inc (struct test_f_i_data): Add comment.
14140 (RUN_TEST_LOOP_f_b): New macro.
14141 (RUN_TEST_LOOP_f_b_tg): Likewise.
14142 (finite_test_data): New variable.
14143 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14144 (isfinite_test_data): New variable.
14145 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14146 (isinf_test_data): New variable.
14147 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14148 (isnan_test_data): New variable.
14149 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14150 (isnormal_test_data): New variable.
14151 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14152 (issignaling_test_data): New variable.
14153 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14154 (signbit_test_data): New variable.
14155 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14157 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14158 with INVALID_EXCEPTION.
14159 (acosh_test_data): Likewise.
14160 (asin_test_data): Likewise.
14161 (atanh_test_data): Likewise.
14162 (fmod_test_data): Likewise.
14163 (log_test_data): Likewise.
14164 (log10_test_data): Likewise.
14165 (log2_test_data): Likewise.
14166 (pow_test_data): Likewise.
14167 (sqrt_test_data): Likewise.
14168 (y0_test_data): Likewise.
14169 (y1_test_data): Likewise.
14170 (yn_test_data): Likewise.
14172 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14175 * math/libm-test.inc (struct test_ff_i_data): New type.
14176 (RUN_TEST_LOOP_ff_i_tg): New macro.
14177 (isgreater_test_data): New variable.
14178 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14179 (isgreaterequal_test_data): New variable.
14180 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14181 (isless_test_data): New variable.
14182 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14183 (islessequal_test_data): New variable.
14184 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14185 (islessgreater_test_data): New variable.
14186 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14187 (isunordered_test_data): New variable.
14188 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14190 2013-05-14 David S. Miller <davem@davemloft.net>
14192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14194 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14196 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14198 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14200 (struct test_f_i_data): Change type of max_ulp to int.
14202 * math/libm-test.inc (test_ffI_f1_data): New type.
14203 (RUN_TEST_LOOP_ffI_f1): New macro.
14204 (remquo_test_data): New variable.
14205 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14207 * setjmp/tst-setjmp-fp.c: New file.
14208 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14209 (link-libm): New variable.
14210 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14212 * math/libm-test.inc (struct test_f_i_data): New type.
14213 (RUN_TEST_LOOP_f_i): New macro.
14214 (RUN_TEST_LOOP_f_i_tg): Likewise.
14215 (fpclassify_test_data): New variable.
14216 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14217 (ilogb_test_data): New variable.
14218 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14220 * math/libm-test.inc (scalbln_test): Correct function name in END
14223 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14224 (RUN_TEST_LOOP_fI_f1): New macro.
14225 (frexp_test_data): New variable.
14226 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14228 * math/libm-test.inc (struct test_fF_f1_data): New type.
14229 (RUN_TEST_LOOP_fF_f1): New macro.
14230 (modf_test_data): New variable.
14231 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14233 * math/libm-test.inc (struct test_f_f1_data): New type.
14234 (RUN_TEST_LOOP_f_f1): New macro.
14235 (gamma_test_data): New variable.
14236 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14237 (lgamma_test_data): New variable.
14238 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14240 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14242 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14243 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14244 (main): Comment "tls" pseudo-hwcap.
14246 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14248 * math/libm-test.inc (struct test_fl_f_data): New type.
14249 (RUN_TEST_LOOP_fl_f): New variable.
14250 (scalbln_test_data): New variable.
14251 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14253 * math/libm-test.inc (struct test_fi_f_data): New type.
14254 (RUN_TEST_LOOP_fi_f): New macro.
14255 (ldexp_test_data): New variable.
14256 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14257 (scalbn_test_data): New variable.
14258 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14260 * math/libm-test.inc (struct test_c_f_data): New type.
14261 (RUN_TEST_LOOP_c_f): New macro.
14262 (cabs_test_data): New variable.
14263 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14264 (carg_test_data): New variable.
14265 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14266 (cimag_test_data): New variable.
14267 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14268 (creal_test_data): New variable.
14269 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14271 * math/libm-test.inc (struct test_if_f_data): New type.
14272 (RUN_TEST_LOOP_if_f): New macro.
14273 (jn_test_data): New variable.
14274 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14275 (yn_test_data): New variable.
14276 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14278 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14280 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14282 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14283 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14285 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14287 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14288 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14289 (bench-deps): Add bench-timing.h.
14290 * benchtests-bench-skeleton.c: Include bench-timing.h.
14291 (main): Use TIMING_* macros instead of clock_gettime.
14292 * benchtests/bench-timing.h: New file.
14295 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14296 Renamed from _LIB_VERSION.
14297 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14299 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14301 * math/libm-test.inc (struct test_fff_f_data): New type.
14302 (RUN_TEST_LOOP_fff_f): New macro.
14303 (fma_test_data): New variable.
14304 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14305 (fma_towardzero_test_data): New variable.
14306 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14307 (fma_downward_test_data): New variable.
14308 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14309 (fma_upward_test_data): New variable.
14310 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14312 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14313 (struct test_c_c_data): New type.
14314 (RUN_TEST_LOOP_c_c): New macro.
14315 (cacos_test_data): New variable.
14316 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14317 (cacosh_test_data): New variable.
14318 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14319 (casin_test_data): New variable.
14320 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14321 (casinh_test_data): New variable.
14322 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14323 (catan_test_data): New variable.
14324 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14325 (catanh_test_data): New variable.
14326 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14327 (ccos_test_data): New variable.
14328 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14329 (ccosh_test_data): New variable.
14330 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14331 (cexp_test_data): New variable.
14332 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14333 (clog_test_data): New variable.
14334 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14335 (clog10_test_data): New variable.
14336 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14337 (conj_test_data): New variable.
14338 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14339 (cproj_test_data): New variable.
14340 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14341 (csin_test_data): New variable.
14342 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14343 (csinh_test_data): New variable.
14344 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14345 (csqrt_test_data): New variable.
14346 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14347 (ctan_test_data): New variable.
14348 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14349 (ctan_tonearest_test_data): New variable.
14350 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14351 (ctan_towardzero_test_data): New variable.
14352 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14353 (ctan_downward_test_data): New variable.
14354 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14355 (ctan_upward_test_data): New variable.
14356 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14357 (ctanh_test_data): New variable.
14358 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14359 (ctanh_tonearest_test_data): New variable.
14360 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14361 (ctanh_towardzero_test_data): New variable.
14362 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14363 (ctanh_downward_test_data): New variable.
14364 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14365 (ctanh_upward_test_data): New variable.
14366 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14367 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14370 * math/libm-test.inc (struct test_ff_f_data): New type.
14371 (struct test_ff_f_data_nexttoward): Likewise.
14372 (RUN_TEST_LOOP_2_f): New macro.
14373 (RUN_TEST_LOOP_ff_f): Likewise.
14374 (atan2_test_data): New variable.
14375 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14376 (copysign_test_data): New variable.
14377 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14378 (fdim_test_data): New variable.
14379 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14380 (fmax_test_data): New variable.
14381 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14382 (fmin_test_data): New variable.
14383 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14384 (fmod_test_data): New variable.
14385 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14386 (hypot_test_data): New variable.
14387 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14388 (nextafter_test_data): New variable.
14389 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14390 (nexttoward_test_data): New variable.
14391 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14392 (pow_test_data): New variable.
14393 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14394 (pow_tonearest_test_data): New variable.
14395 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14396 (pow_towardzero_test_data): New variable.
14397 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14398 (pow_downward_test_data): New variable.
14399 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14400 (pow_upward_test_data): New variable.
14401 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14402 (remainder_test_data): New variable.
14403 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14404 (scalb_test_data): New variable.
14405 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14406 * sysdeps/i386/fpu/libm-test-ulps: Update.
14408 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14410 * math/libm-test.inc (fma_test): Use max_value instead of local
14412 (nextafter_test): Likewise.
14414 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14415 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14416 (acos_downward_test_data): New variable.
14417 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14418 (acos_upward_test_data): New variable.
14419 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14420 (acosh_test_data): New variable.
14421 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14422 (asin_test_data): New variable.
14423 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14424 (asin_tonearest_test_data): New variable.
14425 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14426 (asin_towardzero_test_data): New variable.
14427 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14428 (asin_downward_test_data): New variable.
14429 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14430 (asin_upward_test_data): New variable.
14431 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14432 (asinh_test_data): New variable.
14433 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14434 (atan_test_data): New variable.
14435 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14436 (atanh_test_data): New variable.
14437 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14438 (cbrt_test_data): New variable.
14439 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14440 (ceil_test_data): New variable.
14441 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14442 (cos_test_data): New variable.
14443 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14444 (cos_tonearest_test_data): New variable.
14445 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14446 (cos_towardzero_test_data): New variable.
14447 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14448 (cos_downward_test_data): New variable.
14449 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14450 (cos_upward_test_data): New variable.
14451 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14452 (cosh_test_data): New variable.
14453 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14454 (cosh_tonearest_test_data): New variable.
14455 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14456 (cosh_towardzero_test_data): New variable.
14457 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14458 (cosh_downward_test_data): New variable.
14459 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14460 (cosh_upward_test_data): New variable.
14461 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14462 (erf_test_data): New variable.
14463 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14464 (erfc_test_data): New variable.
14465 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14466 (exp_test_data): New variable.
14467 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14468 (exp_tonearest_test_data): New variable.
14469 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14470 (exp_towardzero_test_data): New variable.
14471 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14472 (exp_downward_test_data): New variable.
14473 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14474 (exp_upward_test_data): New variable.
14475 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14476 (exp10_test_data): New variable.
14477 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14478 (exp2_test_data): New variable.
14479 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14480 (expm1_test_data): New variable.
14481 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14482 (fabs_test_data): New variable.
14483 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14484 (floor_test_data): New variable.
14485 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14486 (j0_test_data): New variable.
14487 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14488 (j1_test_data): New variable.
14489 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14490 (log_test_data): New variable.
14491 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14492 (log10_test_data): New variable.
14493 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14494 (log1p_test_data): New variable.
14495 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14496 (log2_test_data): New variable.
14497 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14498 (logb_test_data): New variable.
14499 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14500 (logb_downward_test_data): New variable.
14501 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14502 (nearbyint_test_data): New variable.
14503 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14504 (rint_test_data): New variable.
14505 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14506 (rint_tonearest_test_data): New variable.
14507 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14508 (rint_towardzero_test_data): New variable.
14509 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14510 (rint_downward_test_data): New variable.
14511 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14512 (rint_upward_test_data): New variable.
14513 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14514 (round_test_data): New variable.
14515 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14516 (sin_test_data): New variable.
14517 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14518 (sin_tonearest_test_data): New variable.
14519 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14520 (sin_towardzero_test_data): New variable.
14521 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14522 (sin_downward_test_data): New variable.
14523 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14524 (sin_upward_test_data): New variable.
14525 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14526 (sinh_test_data): New variable.
14527 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14528 (sinh_tonearest_test_data): New variable.
14529 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14530 (sinh_towardzero_test_data): New variable.
14531 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14532 (sinh_downward_test_data): New variable.
14533 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14534 (sinh_upward_test_data): New variable.
14535 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14536 (sqrt_test_data): New variable.
14537 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14538 (tan_test_data): New variable.
14539 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14540 (tan_tonearest_test_data): New variable.
14541 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14542 (tan_towardzero_test_data): New variable.
14543 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14544 (tan_downward_test_data): New variable.
14545 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14546 (tan_upward_test_data): New variable.
14547 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14548 (tanh_test_data): New variable.
14549 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14550 (tgamma_test_data): New variable.
14551 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14552 (trunc_test_data): New variable.
14553 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14554 (y0_test_data): New variable.
14555 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14556 (y1_test_data): New variable.
14557 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14558 (significand_test_data): New variable.
14559 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14561 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14564 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14566 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14568 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14570 2013-05-10 Andreas Jaeger <aj@suse.de>
14573 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14574 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14576 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14578 * math/gen-libm-test.pl (adjust_arg): New function.
14579 (special_functions): Handle generating output in both functions
14581 (parse_args): Likewise.
14582 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14583 $in_func argument to parse_args.
14584 * math/libm-test.inc (struct test_f_f_data): New type.
14585 (IF_ROUND_INIT_): New macro.
14586 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14587 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14588 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14589 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14590 (ROUND_RESTORE_): Likewise.
14591 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14592 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14593 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14594 (ROUND_RESTORE_FE_UPWARD): Likewise.
14595 (RUN_TEST_LOOP_f_f): New macro.
14596 (acos_test_data): New variable.
14597 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14598 (acos_tonearest_test_data): New variable.
14599 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14601 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14603 * benchtests/bench-skeleton.c (startup): Fix coding style.
14605 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14608 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14609 negative infinity argument.
14610 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14611 negative infinity argument.
14612 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14613 negative infinity argument.
14614 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14617 2013-05-10 Florian Weimer <fweimer@redhat.com>
14619 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14620 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14621 * iconv/iconv_prog.c (main): Likewise.
14622 * locale/programs/charmap-dir.c (charmap_readdir)
14623 (fopen_uncompressed): Likewise.
14624 * locale/programs/locfile.c (siblings_uncached)
14625 (write_locale_data): Use lstat64 instead of lstat.
14626 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14629 2013-05-10 Andreas Jaeger <aj@suse.de>
14632 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14634 Include <locale.h>.
14636 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14638 * elf/dl-close.c (_dl_close_worker): Add comments.
14640 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14643 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14645 (__ieee754_rem_pio2l): Update comments.
14648 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14650 (__ieee754_rem_pio2l): Update comments.
14652 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14653 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14655 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14658 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14659 (M_PI_34_LOG10El): Likewise.
14660 (M_PI2_LOG10El): Likewise.
14661 (M_PI4_LOG10El): Likewise.
14662 (M_PI_LOG10El): Likewise.
14664 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14668 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14670 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14671 (MINUS_ZERO_INIT): Likewise.
14672 (PLUS_INFTY_INIT): Likewise.
14673 (MINUS_INFTY_INIT): Likewise.
14674 (QNAN_VALUE_INIT): Likewise.
14675 (MAX_VALUE_INIT): Likewise.
14676 (MIN_VALUE_INIT): Likewise.
14677 (MIN_SUBNORM_VALUE_INIT): Likewise.
14678 (plus_zero): Initialize with PLUS_ZERO_INIT.
14679 (minus_zero): Initialize with MINUS_ZERO_INIT.
14680 (plus_infty): Initialize with PLUS_INFTY_INIT.
14681 (minus_infty): Initialize with MINUS_INFTY_INIT.
14682 (qnan_value): Initialize with QNAN_VALUE_INIT.
14683 (max_value): Initialize with MAX_VALUE_INIT.
14684 (min_value): Initialize with MIN_VALUE_INIT.
14685 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14687 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14688 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14689 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14690 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14692 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14693 (RUN_TEST_2_f): Likewise.
14694 (RUN_TEST_ff_f): Likewise.
14695 (RUN_TEST_fi_f): Likewise.
14696 (RUN_TEST_fl_f): Likewise.
14697 (RUN_TEST_fff_f): Likewise.
14698 (RUN_TEST_c_f): Likewise.
14699 (RUN_TEST_f_f1): Likewise.
14700 (RUN_TEST_fF_f1): Likewise.
14701 (RUN_TEST_fI_f1): Likewise.
14702 (RUN_TEST_ffI_f1): Likewise.
14703 (RUN_TEST_c_c): Likewise.
14704 (RUN_TEST_cc_c): Likewise.
14705 (RUN_TEST_f_i): Likewise.
14706 (RUN_TEST_f_i_tg): Likewise.
14707 (RUN_TEST_ff_i_tg): Likewise.
14708 (RUN_TEST_f_b): Likewise.
14709 (RUN_TEST_f_b_tg): Likewise.
14710 (RUN_TEST_f_l): Likewise.
14711 (RUN_TEST_f_L): Likewise.
14712 (RUN_TEST_sincos): Likewise.
14713 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14714 whether to show exceptions. Do not include ");\n" in return
14716 (special_functions): Output call to RUN_TEST_sincos instead of
14717 check_float calls. Update calls to new_test.
14718 (parse_args): Output call to single RUN_TEST_* macro instead of
14719 check_* calls and other assignments. Update calls to new_test.
14725 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14726 input to result for tgamma overflow.
14727 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14728 (gamma_coeff): New variable.
14729 (NCOEFF): New macro.
14730 (gamma_positive): New function.
14731 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14732 underflow here. Use gamma_positive instead of exp (lgamma) for
14734 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14735 (gamma_coeff): New variable.
14736 (NCOEFF): New macro.
14737 (gammaf_positive): New function.
14738 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14739 underflow here. Use gamma_positive instead of exp (lgamma) for
14741 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14742 (gamma_coeff): New variable.
14743 (NCOEFF): New macro.
14744 (gammal_positive): New function.
14745 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14746 underflow here. Use gamma_positive instead of exp (lgamma) for
14748 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14749 (gamma_coeff): New variable.
14750 (NCOEFF): New macro.
14751 (gammal_positive): New function.
14752 (__ieee754_gammal_r): Handle positive infinity, overflow and
14753 underflow here. Handle NaN the same as positive infinity. Remove
14754 check x < 0xffffffff for negative integers. Use gamma_positive
14755 instead of exp (lgamma) for other arguments.
14756 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14757 (gamma_coeff): New variable.
14758 (NCOEFF): New macro.
14759 (gammal_positive): New function.
14760 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14761 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14766 * sysdeps/generic/math_private.h (__gamma_productf): New
14768 (__gamma_product): Likewise.
14769 (__gamma_productl): Likewise.
14770 * math/Makefile (libm-calls): Add gamma_product.
14771 * math/libm-test.inc (tgamma_test): Add more tests.
14772 * sysdeps/i386/fpu/libm-test-ulps: Update.
14773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14775 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14777 * benchtests/bench-skeleton.c (main): Preheat CPU.
14779 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14781 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14783 2013-05-07 Roland McGrath <roland@hack.frob.com>
14785 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14786 and _dl_skip_args_internal.
14788 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14790 * manual/message.texi (Message Translation): Talk about users.
14791 Message to key mapping impacts design.
14793 2013-05-06 Roland McGrath <roland@hack.frob.com>
14795 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14797 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14799 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14800 * sysdeps/wordsize-64/glob64.c: ... here.
14802 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14803 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14806 * debug/getlogin_r_chk.c: Moved to ...
14807 * login/getlogin_r_chk.c: ... here.
14808 * debug/Makefile (routines): Move getlogin_r_chk to ...
14809 * login/Makefile (routines): ... here.
14810 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14811 * login/Versions (libc: GLIBC_2.4): ... here.
14813 * io/poll.c (__poll): Renamed from poll.
14814 Add libc_hidden_def.
14815 (poll): Define as weak alias.
14817 * debug/ptsname_r_chk.c: Moved to ...
14818 * login/ptsname_r_chk.c: ... here.
14819 * debug/Makefile (routines): Move ptsname_r_chk to ...
14820 * login/Makefile (routines): ... here.
14821 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14822 * login/Versions (libc: GLIBC_2.4): ... here.
14824 * posix/getlogin.c: Moved to ...
14825 * login/getlogin.c: ... here.
14826 * posix/getlogin_r.c: Moved to ...
14827 * login/getlogin_r.c: ... here.
14828 * posix/getlogin_r.c: Moved to ...
14829 * login/getlogin_r.c: ... here.
14830 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14831 * login/Makefile (routines): ... here.
14832 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14833 * login/Versions (libc: GLIBC_2.0): ... here.
14835 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14836 (setrlimit): Define as weak alias.
14838 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14839 Call __ names for open, ftruncate, and close.
14840 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14841 (truncate): Define as weak alias.
14843 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14845 * math/gen-libm-test.pl (parse_args): Initialize x before each
14846 test of frexp, modf and remquo.
14848 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14849 test signgam value.
14851 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14855 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14859 2013-05-06 Roland McGrath <roland@hack.frob.com>
14861 * elf/dl-writev.h: New file.
14862 * elf/dl-misc.c: Include it.
14863 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14864 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14866 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14868 * math/libm-test.inc (noXFails): Remove variable.
14869 (noXPasses): Likewise.
14870 (BUILD_COMPLEX_INT): Remove macro.
14871 (print_screen): Remove xfail argument.
14872 (print_screen_max_error): Likewise.
14873 (update_stats): Likewise.
14874 (print_max_error): Likewise. Update calls to other affected
14876 (print_complex_max_error): Likewise.
14877 (test_single_exception): Update calls to print_screen.
14878 (test_single_errno): Likewise.
14879 (check_float_internal): Remove xfail argument. Update calls to
14880 other affected functions.
14881 (check_float): Likewise.
14882 (check_complex): Likewise.
14883 (check_int): Likewise.
14884 (check_long): Likewise.
14885 (check_bool): Likewise.
14886 (check_longlong): Likewise.
14887 (main): Don't print noXFails and noXPasses.
14888 * math/gen-libm-test.pl (top level): Don't mention expected
14889 failure handling in comment.
14890 (new_test): Don't handle expected failures.
14891 (parse_args): Don't mention expected failure handling in comment.
14892 (generate_testfile): Don't handle expected failures.
14893 (parse_ulps): Likewise.
14894 (print_ulps_file): Likewise.
14895 (get_failure): Remove function.
14896 (output_test): Don't handle expected failures.
14897 * make/README.libm-test: Don't mention expected failure handling.
14899 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14900 (minus_zero): Likewise.
14901 (plus_infty): Likewise.
14902 (minus_infty): Likewise.
14903 (qnan_value): Likewise.
14904 (max_value): Likewise.
14905 (min_value): Likewise.
14906 (min_subnorm_value): Likewise.
14907 (initialize): Do not initialize those variables dynamically.
14909 2013-05-03 Roland McGrath <roland@hack.frob.com>
14911 * io/open.c (__open_2): Moved to ...
14912 * io/open_2.c: ... this new file.
14913 * io/open64.c (__open64_2): Moved to ...
14914 * io/open64_2.c: ... this new file.
14915 * io/openat.c (__openat_2): Moved to ...
14916 * io/openat_2.c: ... this new file.
14917 * io/openat64.c (__openat64_2): Moved to ...
14918 * io/openat64_2.c: ... this new file.
14919 * io/Makefile (routines): Add them.
14920 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14921 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14922 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14923 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14924 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14925 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14926 (__openat64): Add hidden_ver.
14927 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14928 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14930 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14931 Separately conditionalize setting of GLRO(dl_sysinfo) so
14932 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14933 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14935 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14937 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14938 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14940 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14941 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14942 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14943 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14944 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14946 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14948 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14949 test signgam value.
14951 * math/libm-test.inc (hypot_test): Do not use
14952 IGNORE_ZERO_INF_SIGN.
14954 2013-05-03 Andreas Jaeger <aj@suse.de>
14956 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14958 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14959 (PF_MAX): Adjust for VSOCK change.
14961 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14965 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14968 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14969 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14970 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14972 2013-05-02 David S. Miller <davem@davemloft.net>
14974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14976 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14978 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14980 2013-05-01 Roland McGrath <roland@hack.frob.com>
14982 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14984 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14987 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14988 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14989 Use __attribute__ ((__gnu_inline__)).
14990 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14991 Don't use __attribute__ ((__gnu_inline__)).
14993 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14996 * math/s_catan.c (__catan): Handle small real or imaginary part of
14997 input specially to avoid spurious underflow.
14998 * math/s_catanf.c (__catanf): Likewise.
14999 * math/s_catanh.c (__catanh): Likewise.
15000 * math/s_catanhf.c (__catanhf): Likewise.
15001 * math/s_catanhl.c (__catanhl): Likewise.
15002 * math/s_catanl.c (__catanl): Likewise.
15003 * math/libm-test.inc (catan_test): Add more tests.
15004 (catanh_test): Likewise.
15005 * sysdeps/i386/fpu/libm-test-ulps: Update.
15006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15008 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15012 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15015 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15016 accurately for denominator in atan2.
15017 * math/s_catanf.c (__catanf): Likewise.
15018 * math/s_catanh.c (__catanh): Likewise.
15019 * math/s_catanhf.c (__catanhf): Likewise.
15020 * math/s_catanhl.c (__catanhl): Likewise.
15021 * math/s_catanl.c (__catanl): Likewise.
15022 * math/libm-test.inc (catan_test): Add more tests.
15023 (catanh_test): Likewise.
15024 * sysdeps/i386/fpu/libm-test-ulps: Update.
15025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15027 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15029 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15031 * benchtests/Makefile (bench): Remove slow benchmarks.
15032 * benchtests/atan-inputs: Add slow benchmark inputs.
15033 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15034 (BENCH_FUNC): Accept variant offset.
15036 * benchtests/bench-skeleton.c (main): Run benchmark for each
15038 * benchtests/cos-inputs: Add slow benchmark inputs.
15039 * benchtests/exp-inputs: Likewise.
15040 * benchtests/pow-inputs: Likewise.
15041 * benchtests/sin-inputs: Likewise.
15042 * benchtests/slowatan-inputs: Remove.
15043 * benchtests/slowatan.c: Remove.
15044 * benchtests/slowcos-inputs: Remove.
15045 * benchtests/slowcos.c: Remove.
15046 * benchtests/slowexp-inputs: Remove.
15047 * benchtests/slowexp.c: Remove.
15048 * benchtests/slowpow-inputs: Remove.
15049 * benchtests/slowpow.c: Remove.
15050 * benchtests/slowsin-inputs: Remove.
15051 * benchtests/slowsin.c: Remove.
15052 * benchtests/slowtan-inputs: Remove.
15053 * benchtests/slowtan.c: Remove.
15054 * benchtests/tan-inputs: Add slow benchmark inputs.
15055 * scripts/bench.pl: Parse comments and directives.
15057 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15059 ($(objpfx)bench-%.c): Remove *-ITER.
15060 * benchtests/bench-modf.c: Remove definition of ITER.
15061 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15062 (main): Loop for DURATION seconds instead of fixed number of
15064 * scripts/bench.pl: Don't expect iterations in parameters.
15066 2013-04-29 Roland McGrath <roland@hack.frob.com>
15068 * io/fchdir.c (__fchdir): Renamed from fchdir.
15069 (fchdir): Define as weak alias.
15071 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15073 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15074 (ERRNO_EDOM): Likewise.
15075 (ERRNO_ERANGE): Likewise.
15076 (noErrnoTests): New variable.
15077 (init_max_error): Set errno to 0.
15078 (test_single_errno): New function.
15079 (test_errno): Likewise.
15080 (check_float_internal): Call test_errno. Set errno to 0.
15081 (check_complex): Refer to errno tests in comment.
15082 (check_int): Call test_errno. Set errno to 0.
15083 (check_long): Likewise.
15084 (check_bool): Likewise.
15085 (check_longlong): Likewise.
15086 (cos_test): Use ERRNO_* flags for errno tests instead of
15088 (expm1_test): Likewise.
15089 (fmod_test): Likewise.
15090 (ilogb_test): Likewise.
15091 (lgamma_test): Likewise.
15092 (pow_test): Likewise.
15093 (remainder_test): Likewise.
15094 (sin_test): Likewise.
15095 (tan_test): Likewise.
15096 (yn_test): Likewise.
15097 (initialize): Set errno to 0.
15098 (main): Print number of errno tests.
15099 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15101 2013-04-29 Andreas Jaeger <aj@suse.de>
15104 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15108 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15109 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15113 * stdlib/random.c (__initstate): Return NULL if
15117 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15118 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15121 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15125 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15127 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15128 of individual tests.
15129 (casin_test): Likewise.
15130 (casinh_test): Likewise.
15132 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15135 * math/s_catan.c (__catan): Handle arguments with large real or
15136 imaginary part separately without squaring.
15137 * math/s_catanf.c (__catanf): Likewise.
15138 * math/s_catanh.c (__catanh): Likewise.
15139 * math/s_catanhf.c (__catanhf): Likewise.
15140 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15142 (__catanhl): Handle arguments with large real or imaginary part
15143 separately without squaring.
15144 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15146 (__catanl): Handle arguments with large real or imaginary part
15147 separately without squaring.
15148 * math/libm-test.inc (catan_test): Add more tests.
15149 (catanh_test): Likewise.
15150 * sysdeps/i386/fpu/libm-test-ulps: Update.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15153 2013-04-27 Andreas Jaeger <aj@suse.de>
15156 * stdlib/stdlib.h: Update guards for qecvt.
15157 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15160 2013-04-27 Allan McRae <allan@archlinux.org>
15162 * sysdeps/i386/fpu/libm-test-ulps: Update.
15164 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15167 * math/s_catan.c: Include <float.h>.
15168 (__catan): Ensure underflow exception occurs for underflowed
15170 * math/s_catanf.c: Include <float.h>.
15171 (__catanf): Ensure underflow exception occurs for underflowed
15173 * math/s_catanh.c: Include <float.h>.
15174 (__catanh): Ensure underflow exception occurs for underflowed
15176 * math/s_catanhf.c: Include <float.h>.
15177 (__catanhf): Ensure underflow exception occurs for underflowed
15179 * math/s_catanhl.c: Include <float.h>.
15180 (__catanhl): Ensure underflow exception occurs for underflowed
15182 * math/s_catanl.c: Include <float.h>.
15183 (__catanl): Ensure underflow exception occurs for underflowed
15185 * math/libm-test.inc (catan_test): Add more tests.
15186 (catanh_test): Likewise.
15189 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15190 underflowed result.
15191 * math/s_ccoshf.c (__ccoshf): Likewise.
15192 * math/s_ccoshl.c (__ccoshl): Likewise.
15193 * math/s_csin.c (__csin): Likewise.
15194 * math/s_csinf.c (__csinf): Likewise.
15195 * math/s_csinh.c (__csinh): Likewise.
15196 * math/s_csinhf.c (__csinhf): Likewise.
15197 * math/s_csinhl.c (__csinhl): Likewise.
15198 * math/s_csinl.c (__csinl): Likewise.
15199 * math/libm-test.inc (ccos_test): Add more tests.
15200 (ccosh_test): Likewise.
15201 (csin_test): Likewise.
15202 (csinh_test): Likewise.
15204 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15206 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15207 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15208 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15209 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15210 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15211 powerpc/power5+/fpu folders.
15212 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15215 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15219 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15221 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15222 additions to variable.
15223 [$(config-machine) = x86_64] (modules-names): Likewise.
15224 ($(objpfx)tst-audit3): Remove dependency.
15225 ($(objpfx)tst-audit3.out): Likewise.
15226 ($(objpfx)tst-audit4): Likewise.
15227 ($(objpfx)tst-audit4.out): Likewise.
15228 ($(objpfx)tst-audit5): Likewise.
15229 ($(objpfx)tst-audit5.out): Likewise.
15230 ($(objpfx)tst-audit6): Likewise.
15231 ($(objpfx)tst-audit6.out): Likewise.
15232 ($(objpfx)tst-audit7): Likewise.
15233 ($(objpfx)tst-audit7.out): Likewise.
15234 (tst-audit3-ENV): Remove variable.
15235 (tst-audit4-ENV): Likewise.
15236 (tst-audit5-ENV): Likewise.
15237 (tst-audit6-ENV): Likewise.
15238 (tst-audit7-ENV): Likewise.
15239 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15240 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15241 addition to variable.
15242 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15243 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15244 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15245 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15246 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15247 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15248 tst-audit3, tst-audit4 and tst-audit5.
15249 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15250 tst-audit6 and tst-audit7.
15251 [$(subdir) = elf] (modules-names): Add audit modules for those
15253 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15254 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15255 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15256 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15257 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15258 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15259 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15260 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15261 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15262 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15263 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15264 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15265 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15266 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15267 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15268 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15270 [$(subdir) = elf && $(config-cflags-avx) = yes]
15271 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15272 [$(subdir) = elf && $(config-cflags-avx) = yes]
15273 (CFLAGS-tst-auditmod4a.c): Likewise.
15274 [$(subdir) = elf && $(config-cflags-avx) = yes]
15275 (CFLAGS-tst-auditmod4b.c): Likewise.
15276 [$(subdir) = elf && $(config-cflags-avx) = yes]
15277 (CFLAGS-tst-auditmod6b.c): Likewise.
15278 [$(subdir) = elf && $(config-cflags-avx) = yes]
15279 (CFLAGS-tst-auditmod6c.c): Likewise.
15280 [$(subdir) = elf && $(config-cflags-avx) = yes]
15281 (CFLAGS-tst-auditmod7b.c): Likewise.
15282 * elf/tst-audit3.c: Move to ...
15283 * sysdeps/x86_64/tst-audit3.c: ... here.
15284 * elf/tst-audit4.c: Move to ...
15285 * sysdeps/x86_64/tst-audit4.c: ... here.
15286 * elf/tst-audit5.c: Move to ...
15287 * sysdeps/x86_64/tst-audit5.c: ... here.
15288 * elf/tst-audit6.c: Move to ...
15289 * sysdeps/x86_64/tst-audit6.c: ... here.
15290 * elf/tst-audit7.c: Move to ...
15291 * sysdeps/x86_64/tst-audit7.c: ... here.
15292 * elf/tst-auditmod3a.c: Move to ...
15293 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15294 * elf/tst-auditmod3b.c: Move to ...
15295 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15296 * elf/tst-auditmod4a.c: Move to ...
15297 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15298 * elf/tst-auditmod4b.c: Move to ...
15299 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15300 * elf/tst-auditmod5a.c: Move to ...
15301 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15302 * elf/tst-auditmod5b.c: Move to ...
15303 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15304 * elf/tst-auditmod6a.c: Move to ...
15305 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15306 * elf/tst-auditmod6b.c: Move to ...
15307 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15308 * elf/tst-auditmod6c.c: Move to ...
15309 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15310 * elf/tst-auditmod7a.c: Move to ...
15311 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15312 * elf/tst-auditmod7b.c: Move to ...
15313 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15315 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15318 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15319 define unconditionally.
15320 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15321 define unconditionally.
15322 (INT8_C, INT16_C, etc.): Likewise.
15324 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15326 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15327 __ehdr_start with hidden visibility.
15329 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15331 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15333 * math/libm-test.inc (cos_test): Use accurate hex constants.
15334 (sincost_test): Likewise.
15336 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15338 * math/libm-test.inc (catan_test): Add more tests.
15339 (catanh_test): Likewise.
15341 * math/s_catanf.c (__catanf): Use suffixed floating-point
15343 * math/s_catanhf.c (__catanhf): Likewise.
15344 * math/s_catanhl.c (__catanhl): Likewise.
15345 * math/s_catanl.c (__catanl): Likewise.
15348 * math/s_catan.c (__catan): Calculate imaginary part of result
15349 with log1p not log unless computing log of number close to 0.
15350 * math/s_catanf.c (__catanf): Likewise.
15351 * math/s_catanl.c (__catanl): Likewise.
15352 * math/s_catanh.c (__catanh): Calculate real part of result with
15353 log1p not log unless computing log of number close to 0.
15354 * math/s_catanhf.c (__catanhf): Likewise.
15355 * math/s_catanhl.c (__catanhl): Likewise.
15356 * math/libm-test.inc (catan_test): Add more tests.
15357 (catanh_test): Likewise.
15358 * sysdeps/i386/fpu/libm-test-ulps: Update.
15359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15361 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15363 * benchtests/Makefile: Mention files in which fast and slow
15364 paths of math functions are implemented.
15366 2013-04-23 Roland McGrath <roland@hack.frob.com>
15368 * sysdeps/posix/timespec_get.c: New file.
15370 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15372 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15374 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15376 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15377 powerpc/power5/fpu folders.
15378 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15379 * benchtests/Makefile: Add modf testcase.
15380 * benchtests/bench-modf.c: New file: Benchmark test for mo
15382 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15385 * time/Makefile (tests): Add tst-strptime-whitespace.
15386 * time/strptime_l.c (get_number): Use ISSPACE.
15387 (__strptime_internal): Likewise.
15388 * time/tst-strptime-whitespace.c: New test case.
15390 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15392 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15394 (_nss_files_init): Set it here.
15396 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15398 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15399 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15402 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15404 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15406 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15408 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15411 2013-04-21 David S. Miller <davem@davemloft.net>
15413 * po/ru.po: Update Russion translation from translation project.
15415 2013-04-17 Adam Conrad <adconrad@0c3.net>
15417 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15420 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15422 * configure.in: Remove i386 configure warning. Remove i386 case.
15423 * configure: Regenerate.
15424 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15425 Add example to error message.
15426 * sysdeps/i386/configure: Regenerate.
15428 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15430 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15432 * benchtests/cos-inputs: New file.
15433 * benchtests/slowcos-inputs: New file.
15434 * benchtests/slowcos.c: New file.
15435 * benchtests/slowtan-inputs: New file.
15436 * benchtests/slowtan.c: New file.
15437 * benchtests/tan-inputs: New file.
15439 2013-04-16 Roland McGrath <roland@hack.frob.com>
15441 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15444 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15446 * benchtests/Makefile: Include cppflags-iterator.mk to add
15447 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15449 * Makefile.in (bench-clean): New target.
15450 * benchtests/Makefile (bench-clean): Likewise.
15452 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15454 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15456 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15458 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15460 2013-04-15 Andreas Schwab <schwab@suse.de>
15462 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15463 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15464 * nscd/pwdcache.c (cache_addpw): Likewise.
15465 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15468 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15470 * benchtests/Makefile (bench): Write all output to
15471 bench-out.tmp together.
15473 2013-04-15 Andreas Schwab <schwab@suse.de>
15475 * nscd/nscd.c (main): Don't fork again after closing files.
15477 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15479 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15481 * benchtests/Rules (bench-deps): Collect dependencies into a
15482 single variable. Add Makefile to dependencies.
15483 ($(objpfx)bench-%.c): Depend on bench-deps.
15485 2013-04-12 Roland McGrath <roland@hack.frob.com>
15486 Xavier Roche <roche+kml2@exalead.com>
15489 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15490 just that it's a file descriptor.
15491 * manual/llio.texi (Synchronizing AIO Operations): Update description
15492 for EBADF error from aio_fsync.
15494 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15496 * Rules (bench): Move target definition...
15497 * benchtests/Makefile: ... here.
15499 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15501 * math/libm-test.inc (cos_test): Fix PI/2 test.
15502 (sincos_test): Likewise.
15503 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15504 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15506 2013-04-11 Andreas Schwab <schwab@suse.de>
15509 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15510 accept exponent character only when digits were seen.
15511 * stdio-common/Makefile (tests): Add bug26.
15512 * stdio-common/bug26.c: New file.
15515 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15518 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15520 * Makeconfig (rtld-prefix): Define built linker prefix.
15521 * Rules (run-bench): Use it.
15522 * math/Makefile (run-regen-ulps): Likewise.
15524 * Rules (bench): Remove eval.
15526 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15527 Roland McGrath <roland@hack.frob.com>
15528 Ondrej Bilka <neleai@seznam.cz>
15531 * time/getdate.c: Include ctype.h and alloca.h.
15532 (__getdate_r): Trim leading and trailing spaces of input.
15533 * time/tst-getdate.c (tests): Add tests with leading and
15536 2013-04-08 Roland McGrath <roland@hack.frob.com>
15539 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15540 when computing value.
15542 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15544 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15545 Use testrun.sh to run libm tests.
15548 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15550 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15553 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15555 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15557 * Makefile.in (regen-ulps): New target.
15558 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15559 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15560 [ifneq (no,$(PERL)] (regen-ulps): New target.
15561 [ifeq (no,$(PERL)] (regen-ulps): New target.
15562 * math/libm-test.inc (ulps_file_name): Define.
15563 (output_dir): New variable.
15564 (options): Add "output-dir" option.
15565 (parse_opt): Handle 'o' case.
15566 (main): If output_dir is non-NULL use it as a prefix
15568 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15570 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15572 [BZ #10060, #10062]
15573 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15574 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15575 fail configure if __sync_val_compare_and_swap is not inlined.
15576 * sysdeps/i386/configure: Regenerate.
15577 * configure.in: Build for i686 when configured for i386.
15578 * configure: Regenerate.
15579 * README: Remove i386 reference.
15581 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15583 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15584 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15586 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15588 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15589 (lmsnanval): New variables.
15590 (F): Add conversion tests.
15591 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15592 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15594 * stdio-common/tstdiomisc.c (F): Properly collect individual
15597 [BZ #14686, #15336]
15598 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15599 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15600 Instead, use input NaN values or generate a qNaN by arithmetic
15601 operation. Also fix bugs to comply with the standard.
15602 * math/libm-test.inc (remainder_test): Add more tests.
15604 [BZ #15335, #15342]
15605 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15607 input NaN values or generate a qNaN by arithmetic operation.
15609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15612 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15615 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15618 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15619 underflowed result.
15620 * math/s_cexpf.c (__cexpf): Likewise.
15621 * math/s_cexpl.c (__cexpl): Likewise.
15622 * math/libm-test.inc (cexp_test): Add more tests.
15624 2013-04-03 Andreas Schwab <schwab@suse.de>
15627 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15628 order arrays from heap if bigger than alloca cutoff.
15630 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15632 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15633 (SNAN_TESTS_double): Refer to GCC PR56831.
15634 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15637 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 * Rules (bench): Move bench.out after the run is complete.
15641 * Rules (bench): Echo currently running benchmark.
15643 * benchtests/Makefile (bench): Add atan and slowatan.
15644 * benchtests/atan-inputs: New file.
15645 * benchtests/slowatan-inputs: New file.
15646 * benchtests/slowatan.c: New file.
15648 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15649 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15653 * sysdeps/unix/sysv/linux/kernel-features.h
15654 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15655 __ASSUME_XFS_RESTRICTED_CHOWN.
15656 * sysdeps/unix/sysv/linux/pathconf.c
15657 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15658 Save and restore errno.
15660 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15663 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15664 arguments using __kernel_casinh.
15665 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15666 arguments using __kernel_casinhf.
15667 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15668 arguments using __kernel_casinhl.
15669 * math/libm-test.inc (cacosh_test): Add more tests.
15670 * sysdeps/i386/fpu/libm-test-ulps: Update.
15671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15673 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15675 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15676 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15678 * bench/Makefile (bench): Add sin and slowsin.
15679 * benchtests/sin-inputs: New file.
15680 * benchtests/slowsin-inputs: New file.
15681 * benchtests/slowsin.c: New file.
15683 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15684 (bench): Add slowexp and slowpow.
15685 (exp-ITER): Increase iterations.
15686 (pow-ITER): Likewise.
15687 * benchtests/exp-inputs: Change input.
15688 * benchtests/pow-inputs: Likewise.
15689 * benchtests/slowexp-inputs: New file.
15690 * benchtests/slowexp.c: New file.
15691 * benchtests/slowpow-inputs: New file.
15692 * benchtests/slowpow.c: New file.
15694 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15696 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15698 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15699 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15700 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15701 * benchtests/Makefile: Add rint benchtest.
15702 * benchtests/rint-inputs: Input for rint benchtest.
15704 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15706 * Versions.def (libm): Add GLIBC_2.18.
15707 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15708 hidden libm prototypes.
15709 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15710 * math/Makefile (libm-calls): Add s_issignaling.
15711 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15712 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15713 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15715 * math/math.h [__USE_GNU] (issignaling): New macro.
15716 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15717 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15719 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15722 * manual/arith.texi (issignaling): New section.
15723 * manual/libm-err-tab.pl (@all_functions): Update comment.
15724 * math/gen-libm-test.pl (parse_args): Apply special handling for
15726 * math/libm-test.inc (print_float, issignaling_test): New
15728 (check_float_internal): Add issignaling checks.
15729 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15730 default definition.
15731 * sysdeps/powerpc/math-tests.h: New file.
15732 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15734 * math/test-snan.c (TEST_FUNC): Likewise.
15736 2013-03-30 David S. Miller <davem@davemloft.net>
15738 * po/de.po: Update from translation team.
15740 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15743 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15744 imaginary part less than 1.0 and real part less than 0.5
15746 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15747 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15748 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15749 (cacos_test): Add more tests.
15750 (casin_test): Likewise.
15751 (casinh_test): Likewise.
15752 * sysdeps/i386/fpu/libm-test-ulps: Update.
15753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15755 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15757 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15758 ONE with its value.
15760 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15761 (__pow_mp): Replace ONE and MONE with their values.
15762 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15764 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15765 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15766 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15767 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15769 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15771 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15772 (__pow_mp): Replace ZERO and MZERO with their values.
15773 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15775 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15777 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15778 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15781 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15783 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15785 2013-03-28 Roland McGrath <roland@hack.frob.com>
15787 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15788 Declare with __attribute__ ((weak)).
15789 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15790 Call __call_tls_dtors only if it's not NULL.
15792 2013-03-28 Roland McGrath <roland@hack.frob.com>
15794 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15795 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15796 magic __ehdr_start linker symbol if it's defined.
15797 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15798 them up here if it was already done.
15800 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15801 (_dl_aux_init): Use const in cast when setting it.
15802 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15803 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15804 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15806 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15808 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15809 * csu/libc-tls.c: Nor here.
15810 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15812 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15813 (__libc_message): Never call vsyslog.
15815 2013-03-28 Alan Modra <amodra@gmail.com>
15817 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15819 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15822 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15825 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15829 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15832 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15833 Don't add gid passed as argument.
15835 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15837 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15840 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15841 imaginary part between 1.0 and 1.5 and real part less than 0.5
15843 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15844 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15845 * math/libm-test.inc (cacos_test): Add more tests.
15846 (casin_test): Likewise.
15847 (casinh_test): Likewise.
15848 * sysdeps/i386/fpu/libm-test-ulps: Update.
15849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15851 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15853 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15856 (denorm): Likewise.
15857 (__dbl_mp): Likewise.
15858 (add_magnitudes): Likewise.
15859 (sub_magnitudes): Likewise.
15867 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15869 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15870 (__dubcos): Likewise.
15871 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15872 (__ieee754_acos): Likewise.
15873 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15874 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15875 (__exp1): Likewise.
15876 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15879 (my_log2): Likewise.
15880 (checkint): Likewise.
15881 * sysdeps/ieee754/dbl-64/e_remainder.c
15882 (__ieee754_remainder): Likewise.
15883 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15884 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15885 (bsloww): Likewise.
15886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15888 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15889 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15890 MANTISSA_STORE_T to store computations on mantissa. Use
15891 macros for rounding and division.
15892 (denorm): Likewise.
15893 (__dbl_mp): Likewise.
15894 (add_magnitudes): Likewise.
15895 (sub_magnitudes): Likewise.
15898 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15899 powers of two in terms of TWOPOW macro.
15900 (mp_no): Make type of mantissa as MANTISSA_T.
15901 [!RADIXI]: Define RADIXI.
15902 [!TWO52]: Define TWO52.
15903 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15905 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15907 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15908 llroundl symbol when building for PPC32.
15910 2013-03-24 Mark H Weaver <mhw@netris.org>
15912 * manual/arith.texi (Normalization Functions): Fix prototypes for
15913 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15915 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15918 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15919 high value to check if expl overflow.
15920 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15921 to check for underflow and overflow.
15922 * math/libm-test.inc: Add exp test.
15924 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15927 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15930 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15932 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15935 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15937 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15938 wrap blocks consisting of several statements.
15940 * sysdeps/generic/math-tests.h: New file.
15941 * sysdeps/i386/fpu/math-tests.h: Likewise.
15942 * math/test-snan.c: Include it.
15943 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15945 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15948 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15949 (__ieee754_j0l): Do not improve calculations using cos of twice
15950 input for inputs above LDBL_MAX / 2.0L.
15951 (__ieee754_y0l): Likewise.
15952 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15953 (__ieee754_j1l): Do not improve calculations using cos of twice
15954 input for inputs above LDBL_MAX / 2.0L.
15955 (__ieee754_y1l): Likewise.
15956 * math/libm-test.inc (j0_test): Add another test.
15957 (j1_test): Likewise.
15958 (y0_test): Likewise.
15959 (y1_test): Likewise.
15960 * sysdeps/i386/fpu/libm-test-ulps: Update.
15962 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15964 * Rules ($(objpfx)bench-%.c): Include code from a C source
15967 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15970 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15971 imaginary part 1.0 and real part less than 0.5 specially.
15972 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15973 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15974 * math/libm-test.inc (cacos_test): Add more tests.
15975 (casin_test): Likewise.
15976 (casinh_test): Likewise.
15977 * sysdeps/i386/fpu/libm-test-ulps: Update.
15978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15980 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15982 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15983 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15985 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15987 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15988 * config.make.in (config-cflags-sse4): Remove variable.
15989 (config-cflags-avx): Likewise.
15990 (config-cflags-sse2avx): Likewise.
15991 (config-cflags-novzeroupper): Likewise.
15992 (config-asflags-i686): Likewise.
15993 (have-mfma4): Likewise.
15994 (have-as-vis3): Likewise.
15996 * configure.in (MIG): Do not AC_SUBST.
15997 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15998 (libc_cv_cc_sse4): Do not AC_SUBST.
15999 (libc_cv_cc_avx): Likewise.
16000 (libc_cv_cc_sse2avx): Likewise.
16001 (libc_cv_cc_novzeroupper): Likewise.
16002 (libc_cv_cc_fma4): Likewise.
16003 (libc_cv_as_i686): Likewise.
16004 (libc_cv_sparc_as_vis3): Likewise.
16005 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16007 (config-asflags-i686): Likewise.
16008 (config-cflags-avx): Likewise.
16009 (config-cflags-sse2avx): Likewise.
16010 (have-mfma4): Likewise.
16011 (config-cflags-novzeroupper): Likewise.
16012 * sysdeps/mach/configure.in (MIG): Likewise.
16013 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16014 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16016 (config-cflags-avx): Likewise.
16017 (config-cflags-sse2avx): Likewise.
16018 (have-mfma4): Likewise.
16019 (config-cflags-novzeroupper): Likewise.
16020 * configure: Regenerated.
16021 * sysdeps/i386/configure: Likewise.
16022 * sysdeps/mach/configure: Likewise.
16023 * sysdeps/sparc/configure: Likewise.
16024 * sysdeps/x86_64/configure: Likewise.
16026 2013-03-20 Roland McGrath <roland@hack.frob.com>
16029 * locale/programs/localedef.c (options): Put N_ translation marker
16030 on argument names, not just descriptions.
16032 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16034 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16036 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16039 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16041 2013-03-19 Roland McGrath <roland@hack.frob.com>
16043 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16044 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16045 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16046 [!BEFORE_ABORT] (before_abort): New function.
16047 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16048 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16049 (writev_for_fatal): New function.
16050 (WRITEV_FOR_FATAL): New macro; call that.
16051 (backtrace_and_maps): New function.
16052 (BEFORE_ABORT): New macro; call that.
16053 (struct str_list): Type removed.
16054 (__libc_message, __libc_fatal): Functions removed.
16055 Include <sysdeps/posix/libc_fatal.c> instead.
16057 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16059 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16061 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16064 2013-03-19 Andreas Schwab <schwab@suse.de>
16066 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16067 * sysdeps/gnu/configure: Regenerate.
16069 * configure.in: Substitute libc_cv_rtlddir.
16070 * configure: Regenerate.
16071 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16072 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16073 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16074 * elf/Makefile (install-others, CFLAGS-interp.c)
16075 (ldso_install, common-ldd-rewrite): Likewise.
16076 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16077 $(inst_slibdir)/$(rtld-installed-name).
16078 * scripts/rellns-sh: Add -p option.
16079 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16082 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16084 * manual/nptl.texi: Renamed to ...
16085 * manual/threads.texi: ... this.
16086 * manual/Makefile (chapters): Update.
16088 2013-03-18 Roland McGrath <roland@hack.frob.com>
16091 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16092 on argument names, not just descriptions.
16093 * malloc/memusagestat.c (options): Likewise.
16094 * nss/getent.c (options): Likewise.
16096 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16099 * iconv/iconv_prog.c (options): Put N_ translation marker
16100 on argument names, not just descriptions.
16101 * iconv/iconvconfig.c (options): Likewise.
16103 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16105 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16106 implementation which is faster on all x86_64 architectures.
16107 Tested on AMD, Intel Nehalem, SNB, IVB.
16108 * sysdeps/x86_64/strnlen.S: Likewise.
16110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16111 Remove all multiarch strlen and strnlen versions.
16112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16113 Remove strlen and strnlen related parts.
16115 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16116 Inline strlen part.
16117 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16119 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16120 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16121 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16122 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16123 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16124 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16126 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16128 * manual/memory.texi (Malloc Tunable Parameters):
16129 Sort parameters alphabetically. Add comments for missing entries.
16131 2013-03-17 David S. Miller <davem@davemloft.net>
16133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16135 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16138 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16139 for arguments at most half maximum finite value.
16140 * math/libm-test.inc (j0_test): Add more tests.
16141 (j1_test): Likewise.
16142 (y0_test): Likewise.
16143 (y1_test): Likewise.
16144 * sysdeps/i386/fpu/libm-test-ulps: Update.
16145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16148 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16149 1 / x and functions P and Q for arguments above 0x1p256L.
16150 (__ieee754_y0l): Likewise.
16151 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16152 (__ieee754_y1l): Likewise.
16153 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16154 (j1_test): Likewise.
16155 (y0_test): Likewise.
16156 (y1_test): Likewise.
16158 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16160 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16163 2013-03-15 Roland McGrath <roland@hack.frob.com>
16165 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16166 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16167 zero since it's initialized to EXEC_PAGESIZE.
16169 * sysdeps/unix/sysv/linux/ldsodefs.h
16170 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16171 * sysdeps/generic/ldsodefs.h: ... here.
16173 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16175 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16177 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16179 * math/test-snan.c: Renamed from
16180 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16181 * math/Makefile (tests): Add test-snan.
16182 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16185 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16186 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16188 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16189 __builtin_nan family of functions.
16190 * math/libm-test.inc (initialize): Initialize qnan_value with
16191 __builtin_nan family of functions.
16192 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16194 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16196 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16197 storage class. Initialize qNaN_var and sNaN_var with
16198 __builtin_nan and __builtin_nans families of functions,
16201 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16202 (sqrt_test): Remove duplicate test with qNaN input.
16203 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16204 (round_test, signbit_test, significand_test): Note missing +/-Inf
16205 as well as qNaN tests.
16207 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16208 qNaN_var. Fix a few strings, too.
16209 * math/libm-test.inc (nan_value): Rename to qnan_value.
16210 * math/gen-libm-test.pl (%beautify): Adjust to that.
16211 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16212 * math/test-misc.c (main): Likewise.
16213 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16214 to __qnan_bytes, and __qnan_union, respectively.
16215 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16217 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16218 and lqnanval, respectively.
16219 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16220 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16221 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16222 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16224 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16225 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16228 * math/test-misc.c (main): Fix copy'n'pastos.
16229 * misc/tst-efgcvt.c (special): Likewise.
16231 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16232 Remove declarations.
16234 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16236 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16237 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16238 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16239 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16241 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16243 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16244 macro to return vdso values correctly in IFUNC implementations.
16245 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16246 Optimization by using IFUNC.
16248 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16249 Richard Henderson <rth@redhat.com>
16250 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16252 * Makefile.in (bench): New target.
16253 * NEWS: Mention the benchmark framework.
16254 * Rules (bench): Likewise.
16255 (binaries-bench): Generate binaries for functions to
16257 * benchtests/Makefile: New makefile for benchmark tests.
16258 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16260 * benchtests/exp-inputs: New input file for EXP function.
16261 * benchtests/pow-inputs: New input file for POW function.
16262 * scripts/bench.pl: New script to generate source files for
16263 benchmark programs.
16265 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16267 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16268 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16269 computations on mantissa. Use macros for rounding and
16271 (denorm): Likewise.
16272 (__dbl_mp): Likewise.
16273 (add_magnitudes): Likewise.
16274 (sub_magnitudes): Likewise.
16277 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16278 powers of two in terms of TWOPOW macro.
16279 (mp_no): Make type of mantissa as MANTISSA_T.
16280 [!RADIXI]: Define RADIXI.
16281 [!TWO52]: Define TWO52.
16282 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16284 * manual/nptl.texi (cindex): Modify threads to pthreads.
16286 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16288 * sysdeps/x86_64/preconfigure: Regenerated.
16290 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16293 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16295 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16296 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16298 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16299 * math/libm-test.inc (j0_test): Do not allow one spurious
16300 underflow exception.
16301 (y1_test): Likewise.
16303 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16305 * manual/Makefile (chapters): Add nptl.
16306 * manual/debug.texi (Debugging Support): Add link to Threads
16308 * manual/nptl.texi: New file.
16310 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16312 2013-03-14 Petr Baudis <pasky@ucw.cz>
16314 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16315 for non-NULL pointer before the memory validity test. Pointed
16316 out by Holger Brunck <holger.brunck@keymile.com>.
16318 2013-03-13 Andreas Schwab <schwab@suse.de>
16320 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16323 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16325 * timezone/zic.c: Update from tzcode 2013b.
16327 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16329 * manual/install.texi (Configuring and compiling):
16330 Mention i686 and i586.
16331 * INSTALL: Regenerate.
16333 2013-03-12 Roland McGrath <roland@hack.frob.com>
16335 * sysdeps/init_array/elf-init.c: New file.
16337 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16338 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16340 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16341 __gmon_start__ as global, but as static with a .preinit_array pointer.
16342 * sysdeps/init_array/gmon-start.c: New file. Use that.
16343 * sysdeps/init_array/crti.S: New file, empty except for comments.
16344 * sysdeps/init_array/crtn.S: Likewise.
16346 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16348 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16351 Remove Prefer_SSE_for_memop.
16352 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16353 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16354 HAS_PREFER_SSE_FOR_MEMOP.
16355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16358 Remove bzero, memset ifunc support.
16359 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16360 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16361 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16362 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16364 2013-03-11 Andreas Schwab <schwab@suse.de>
16367 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16370 (GLIBC_2.16): Remove pthread_atfork.
16372 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16374 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16375 (ptestcases.h): Likewise.
16377 2013-03-08 Roland McGrath <roland@hack.frob.com>
16379 * Makeconfig ($(common-objpfx)config.status): Depend on
16380 sysdeps/*/preconfigure{,.in} too.
16382 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16384 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16385 (__free_hook): Use void * instead of __malloc_ptr_t.
16386 (__malloc_hook): Likewise.
16387 (__realloc_hook): Likewise.
16388 (__memalign_hook): Likewise.
16389 (__after_morecore_hook): Likewise.
16390 * malloc/arena.c (save_malloc_hook): Likewise.
16391 (save_free_hook): Likewise.
16392 * malloc/hooks.c (malloc_hook_ini): Likewise.
16393 (realloc_hook_ini): Likewise.
16394 (memalign_hook_ini): Likewise.
16395 * malloc/malloc.c (malloc_hook_ini): Likewise.
16396 (realloc_hook_ini): Likewise.
16397 (memalign_hook_ini): Likewise.
16398 (__free_hook): Likewise.
16399 (__malloc_hook): Likewise.
16400 (__realloc_hook): Likewise.
16401 (__memalign_hook): Likewise.
16402 (__libc_malloc): Likewise.
16403 (__libc_free): Likewise.
16404 (__libc_realloc): Likewise.
16405 (__libc_memalign): Likewise.
16406 (__libc_valloc): Likewise.
16407 (__libc_pvalloc): Likewise.
16408 (__libc_calloc): Likewise.
16409 (__posix_memalign): Likewise.
16410 * malloc/morecore.c (__sbrk): Likewise.
16411 (__default_morecore): Likewise.
16413 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16415 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16416 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16417 __malloc_ptrdiff_t.
16419 * malloc/malloc.h (__malloc_size_t): Remove macro.
16420 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16422 (old_memalign_hook): Likewise.
16423 (old_realloc_hook): Likewise.
16424 (struct hdr): Likewise.
16426 (mallochook): Likewise.
16427 (memalignhook): Likewise.
16428 (reallochook): Likewise.
16429 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16430 (tr_old_realloc_hook): Likewise.
16431 (tr_old_memalign_hook): Likewise.
16432 (tr_mallochook): Likewise.
16433 (tr_reallochook): Likewise.
16434 (tr_memalignhook): Likewise.
16436 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16439 default_ldbl_pack and using as default implementation.
16440 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16442 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16443 redundant definition.
16444 (ldbl_insert_mantissa): Likewise.
16445 (ldbl_canonicalize): Likewise.
16446 (ldbl_nearbyint): Likewise.
16447 (ldbl_pack): Rename to ldbl_pack_ppc.
16448 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16449 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16450 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16452 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16455 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16456 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16457 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16459 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16460 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16461 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16463 2013-03-07 Andreas Jaeger <aj@suse.de>
16465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16468 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16470 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16471 Include mpa.h and declare __MPEXP.
16472 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16473 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16474 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16475 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16476 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16477 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16478 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16480 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16481 (__slowpow): Use long double EXPL and LOGL functions to
16483 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16484 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16487 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16488 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16491 intermediate variable to calculate exponent.
16493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16497 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16498 [!NO__SQR]: Define __sqr.
16499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16500 and NO__SQR. Remove all code except __mul and __sqr. Include
16501 sysdeps/ieee754/dbl-64/mpa.c.
16502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16505 * posix/Makefile (tests): Add tst-pathconf.
16506 * posix/tst-pathconf.c: New test case.
16507 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16509 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16511 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16513 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16515 2013-03-06 Andreas Jaeger <aj@suse.de>
16517 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16518 definition via __MAP_ANONYMOUS.
16520 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16521 it's not part of Linux headers.
16523 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16524 (MAP_HUGE_MASK): Define.
16526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16528 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16531 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16532 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16534 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16535 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16537 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16539 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16540 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16541 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16542 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16543 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16544 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16546 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16550 Handle f2fs and efivarfs.
16552 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16555 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16556 (EFIVARFS_MAGIC): Add.
16557 (F2FS_LINK_MAX): Add.
16559 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16561 * stdio-common/vfprintf.c: Replace __builtin_expect with
16564 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16567 * sysdeps/generic/bp-sym.h: Remove file.
16568 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16569 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16570 <bp-sym.h> and <bp-asm.h>.
16571 (__longjmp): Don't use BP_SYM.
16572 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16574 (memcpy): Don't use BP_SYM.
16575 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16576 <bp-sym.h> and <bp-asm.h>.
16577 (memcpy): Don't use BP_SYM.
16578 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16580 (memcpy): Don't use BP_SYM.
16581 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16583 (memset): Don't use BP_SYM.
16584 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16585 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16586 (__bzero): Don't use BP_SYM.
16587 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16588 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16589 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16590 <bp-sym.h> and <bp-asm.h>.
16591 (memcmp): Don't use BP_SYM. Remove comment about bounded
16593 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16594 <bp-sym.h> and <bp-asm.h>.
16595 (memcpy): Don't use BP_SYM.
16596 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16597 <bp-sym.h> and <bp-asm.h>.
16598 (memset): Don't use BP_SYM.
16599 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16600 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16601 (__bzero): Don't use BP_SYM.
16602 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16603 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16604 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16605 <bp-sym.h> and <bp-asm.h>.
16606 (strncmp): Don't use BP_SYM. Remove comment about bounded
16608 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16609 <bp-sym.h> and <bp-asm.h>.
16610 (memcpy): Don't use BP_SYM.
16611 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16612 <bp-sym.h> and <bp-asm.h>.
16613 (memset): Don't use BP_SYM.
16614 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16615 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16616 (__bzero): Don't use BP_SYM.
16617 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16618 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16619 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16620 <bp-sym.h> and <bp-asm.h>.
16621 (__memchr): Don't use BP_SYM.
16622 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16623 <bp-sym.h> and <bp-asm.h>.
16624 (memcmp): Don't use BP_SYM. Remove comment about bounded
16626 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16627 <bp-sym.h> and <bp-asm.h>.
16628 (memcpy): Don't use BP_SYM.
16629 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16630 <bp-sym.h> and <bp-asm.h>.
16631 (__mempcpy): Don't use BP_SYM.
16632 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16633 <bp-sym.h> and <bp-asm.h>.
16634 (__memrchr): Don't use BP_SYM.
16635 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16636 <bp-sym.h> and <bp-asm.h>.
16637 (memset): Don't use BP_SYM.
16638 (__bzero): Likewise.
16639 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16640 <bp-sym.h> and <bp-asm.h>.
16641 (__rawmemchr): Don't use BP_SYM.
16642 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16643 <bp-sym.h> and <bp-asm.h>.
16644 (__STRCMP): Don't use BP_SYM.
16645 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16646 <bp-sym.h> and <bp-asm.h>.
16647 (strchr): Don't use BP_SYM.
16648 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16649 <bp-sym.h> and <bp-asm.h>.
16650 (__strchrnul): Don't use BP_SYM.
16651 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16652 <bp-sym.h> and <bp-asm.h>.
16653 (strlen): Don't use BP_SYM.
16654 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16655 <bp-sym.h> and <bp-asm.h>.
16656 (strncmp): Don't use BP_SYM. Remove comment about bounded
16658 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16659 <bp-sym.h> and <bp-asm.h>.
16660 (__strnlen): Don't use BP_SYM.
16661 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16662 <bp-sym.h> and <bp-asm.h>.
16663 (__GI__setjmp): Don't use BP_SYM.
16664 (_setjmp): Likewise.
16665 (__sigsetjmp): Likewise.
16666 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16667 (L(start_addresses)): Don't use BP_SYM.
16668 (_start): Likewise.
16669 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16671 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16672 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16673 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16674 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16675 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16677 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16678 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16679 about bounded pointers.
16680 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16681 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16682 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16684 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16685 about bounded pointers. Remove GKM FIXME comments.
16686 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16687 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16689 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16690 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16691 Remove GKM FIXME comments.
16692 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16693 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16694 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16696 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16697 about bounded pointers. Remove GKM FIXME comment.
16698 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16700 (strncmp): Don't use BP_SYM. Remove comment about bounded
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16703 <bp-sym.h> and <bp-asm.h>.
16704 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16706 <bp-sym.h> and <bp-asm.h>.
16707 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16710 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16712 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16715 2013-03-05 David S. Miller <davem@davemloft.net>
16717 * po/es.po: Update from translation team.
16719 2013-03-05 Andreas Jaeger <aj@suse.de>
16721 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16722 <bits/mman-linux.h>.
16723 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16725 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16726 <bits/mman-linux.h> to end of file.
16727 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16729 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16730 <bits/mman-linux.h> to end of file.
16731 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16734 <bits/mman-linux.h> to end of file.
16736 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16737 (MCL_CURRENT, MCL_FUTURE): Define here.
16739 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16742 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16744 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16746 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16748 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16749 fourth parameter needed for rt_sigprocmask syscall.
16750 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16751 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16752 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16753 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16754 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16755 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16757 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16760 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16761 comment about bounded pointers.
16762 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16763 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16765 2013-03-04 Andreas Jaeger <aj@suse.de>
16767 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16768 common definitions.
16770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16771 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16772 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16773 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16774 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16775 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16777 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16780 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16781 __ieee754_sqrl instead of __sqrl.
16783 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16785 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16786 * sysdeps/powerpc/fpu_control.h: ... here.
16787 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16788 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16789 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16790 * sysdeps/powerpc/bits/mathinline.h: ... here.
16792 2013-03-01 Roland McGrath <roland@hack.frob.com>
16794 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16795 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16796 to just [NEED_DL_SYSINFO_DSO].
16797 * elf/dl-support.c: Likewise.
16798 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16799 * elf/rtld.c (dl_main): Likewise.
16800 * elf/setup-vdso.h (setup_vdso): Likewise.
16801 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16802 * sysdeps/unix/sysv/linux/dl-sysdep.c
16803 (_dl_discover_osversion): Likewise.
16805 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16807 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16808 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16810 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16812 * NEWS: Mention libm performance improvements and non-x86 PI
16815 * csu/libc-start.c (__pthread_initialize_minimal): Change
16816 function arguments.
16817 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16819 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16822 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16823 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16826 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16828 (memcpy): Don't use BP_SYM.
16829 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16831 (__mpn_add_n): Don't use BP_SYM.
16832 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16833 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16835 (__mpn_addmul_1): Don't use BP_SYM.
16836 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16837 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16839 (_setjmp): Don't use BP_SYM.
16840 (__novmx_setjmp): Likewise.
16841 (__GI__setjmp): Likewise.
16842 (__vmx_setjmp): Likewise.
16843 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16845 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16846 (__bzero): Don't use BP_SYM.
16847 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16848 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16849 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16850 <bp-sym.h> and <bp-asm.h>.
16851 (memcpy): Don't use BP_SYM.
16852 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16853 <bp-sym.h> and <bp-asm.h>.
16854 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16855 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16856 <bp-sym.h> and <bp-asm.h>.
16857 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16858 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16860 (__mpn_lshift): Don't use BP_SYM.
16861 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16862 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16864 (memset): Don't use BP_SYM.
16865 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16866 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16867 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16869 (__mpn_mul_1): Don't use BP_SYM.
16870 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16871 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16872 <bp-sym.h> and <bp-asm.h>.
16873 (memcmp): Don't use BP_SYM.
16874 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16875 <bp-sym.h> and <bp-asm.h>.
16876 (memcpy): Don't use BP_SYM.
16877 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16878 <bp-sym.h> and <bp-asm.h>.
16879 (memset): Don't use BP_SYM.
16880 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16881 <bp-sym.h> and <bp-asm.h>.
16882 (strncmp): Don't use BP_SYM.
16883 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16884 <bp-sym.h> and <bp-asm.h>.
16885 (memcpy): Don't use BP_SYM.
16886 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16887 <bp-sym.h> and <bp-asm.h>.
16888 (memset): Don't use BP_SYM.
16889 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16890 <bp-sym.h> and <bp-asm.h>.
16891 (__memchr): Don't use BP_SYM.
16892 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16893 <bp-sym.h> and <bp-asm.h>.
16894 (memcmp): Don't use BP_SYM.
16895 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16896 <bp-sym.h> and <bp-asm.h>.
16897 (memcpy): Don't use BP_SYM.
16898 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16899 <bp-sym.h> and <bp-asm.h>.
16900 (__mempcpy): Don't use BP_SYM.
16901 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16902 <bp-sym.h> and <bp-asm.h>.
16903 (__memrchr): Don't use BP_SYM.
16904 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16905 <bp-sym.h> and <bp-asm.h>.
16906 (memset): Don't use BP_SYM.
16907 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16908 <bp-sym.h> and <bp-asm.h>.
16909 (__rawmemchr): Don't use BP_SYM.
16910 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16911 <bp-sym.h> and <bp-asm.h>.
16912 (__STRCMP): Don't use BP_SYM.
16913 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16914 <bp-sym.h> and <bp-asm.h>.
16915 (strchr): Don't use BP_SYM.
16916 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16917 <bp-sym.h> and <bp-asm.h>.
16918 (__strchrnul): Don't use BP_SYM.
16919 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16920 <bp-sym.h> and <bp-asm.h>.
16921 (strlen): Don't use BP_SYM.
16922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16923 <bp-sym.h> and <bp-asm.h>.
16924 (strncmp): Don't use BP_SYM.
16925 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16926 <bp-sym.h> and <bp-asm.h>.
16927 (__strnlen): Don't use BP_SYM.
16928 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16930 (__mpn_rshift): Don't use BP_SYM.
16931 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16932 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16933 <bp-sym.h> and <bp-asm.h>.
16934 (__sigsetjmp): Don't use BP_SYM.
16935 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16936 (L(start_addresses)): Don't use BP_SYM.
16937 (_start): Likewise.
16938 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16940 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16941 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16942 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16943 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16945 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16946 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16947 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16948 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16950 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16952 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16953 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16955 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16957 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16958 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16959 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16961 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16963 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16965 (strncmp): Don't use BP_SYM,
16966 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16968 (__mpn_sub_n): Don't use BP_SYM.
16969 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16970 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16972 (__mpn_submul_1): Don't use BP_SYM.
16973 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16975 <bp-sym.h> and <bp-asm.h>.
16976 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16978 <bp-sym.h> and <bp-asm.h>.
16979 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16982 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16985 Use ZK to minimize writes to Z.
16986 (sub_magnitudes): Simplify code a bit.
16987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16988 Use ZK to minimize writes to Z.
16989 (sub_magnitudes): Simplify code a bit.
16991 2013-02-27 Roland McGrath <roland@hack.frob.com>
16993 * csu/gmon-start.c: Add special exception to license text.
16995 2013-02-27 Richard Henderson <rth@redhat.com>
16997 * scripts/config.guess: Update from config.git.
16998 * scripts/config.sub: Likewise.
17000 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17002 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17004 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17006 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17008 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17010 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17012 2013-02-26 Roland McGrath <roland@hack.frob.com>
17014 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17015 [$(build-shared = yes].
17017 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17019 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17020 (__mul): Reduce iterations for calculating mantissa.
17022 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17024 (__mpranred): Likewise.
17027 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17028 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17030 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17032 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17033 Define __attribute__.
17035 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17037 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17039 * posix/regex_internal.h (__attribute): Remove.
17040 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17041 (re_string_context_at): Likewise.
17042 (bitset_not): Use __attribute__ and mark function as possibly
17044 (bitset_merge): Likewise.
17045 (bitset_mask): Likewise.
17046 (re_string_char_size_at): Likewise.
17047 (re_string_wchar_at): Likewise.
17048 (re_string_elem_size_at): Likewise.
17050 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17052 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17056 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17060 (denorm): Likewise.
17061 (__dbl_mp): Likewise.
17062 (add_magnitudes): Likewise.
17063 (sub_magnitudes): Likewise.
17067 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17070 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17073 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17077 up changes with default code.
17078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17081 2013-02-24 Allan McRae <allan@archlinux.org>
17083 * manual/socket.texi (The Internet Namespace): Order menu items
17084 to match that in the file.
17086 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17087 node listing of the info page menu.
17089 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17092 * sysdeps/i386/bp-asm.h: Remove file.
17093 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17094 (PARMS): Do not use macros from bp-asm.h.
17098 (__mpn_add_n): Do not use BP_SYM
17099 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17101 (PARMS): Do not use macros from bp-asm.h.
17104 (__mpn_addmul_1): Do not use BP_SYM
17105 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17107 (PARMS): Do not use macros from bp-asm.h.
17108 (SIGMSK): Likewise.
17109 (_setjmp): Likewise. Do not use BP_SYM.
17110 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17112 (PARMS): Do not use macros from bp-asm.h.
17113 (SIGMSK): Likewise.
17114 (setjmp): Likewise. Do not use BP_SYM.
17115 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17117 (PARMS): Do not use macros from bp-asm.h.
17118 (__frexp): Do not use BP_SYM.
17120 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17122 (PARMS): Do not use macros from bp-asm.h.
17123 (__frexpf): Do not use BP_SYM.
17124 (frexpf): Likewise.
17125 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17127 (PARMS): Do not use macros from bp-asm.h.
17128 (__frexpl): Do not use BP_SYM.
17129 (frexpl): Likewise.
17130 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17132 (PARMS): Do not use macros from bp-asm.h.
17133 (__remquo): Do not use BP_SYM.
17134 (remquo): Likewise.
17135 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17137 (PARMS): Do not use macros from bp-asm.h.
17138 (__remquof): Do not use BP_SYM.
17139 (remquof): Likewise.
17140 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17142 (PARMS): Do not use macros from bp-asm.h.
17143 (__remquol): Do not use BP_SYM.
17144 (remquol): Likewise.
17145 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17147 (PARMS): Do not use macros from bp-asm.h.
17150 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17151 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17153 (PARMS): Do not use macros from bp-asm.h.
17154 (strlen): Do not use BP_SYM.
17155 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17157 (PARMS): Do not use macros from bp-asm.h.
17161 (__mpn_add_n): Do not use BP_SYM.
17162 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17164 (PARMS): Do not use macros from bp-asm.h.
17167 (__mpn_addmul_1): Do not use BP_SYM.
17168 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17171 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17173 (PARMS): Do not use macros from bp-asm.h.
17176 (__mpn_lshift): Do not use BP_SYM.
17177 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17179 (PARMS): Do not use macros from bp-asm.h.
17183 (memcpy): Likewise. Do not use BP_SYM.
17184 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17185 libc_hidden_def and weak_alias.
17186 (mempcpy): Do not use BP_SYM in weak_alias.
17187 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17189 (PARMS): Do not use macros from bp-asm.h.
17192 [!BZERO_P] (CHR): Likewise.
17193 (memset): Likewise. Do not use BP_SYM.
17194 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17196 (PARMS): Do not use macros from bp-asm.h.
17199 (__mpn_mul_1): Do not use BP_SYM.
17200 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17202 (PARMS): Do not use macros from bp-asm.h.
17205 (__mpn_rshift): Do not use BP_SYM.
17206 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17208 (PARMS): Do not use macros from bp-asm.h.
17211 (strchr): Likewise. Do not use BP_SYM.
17212 (index): Do not use BP_SYM in weak_alias.
17213 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17215 (PARMS): Do not use macros from bp-asm.h.
17218 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17219 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17221 (PARMS): Do not use macros from bp-asm.h.
17222 (strlen): Do not use BP_SYM.
17223 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17225 (PARMS): Do not use macros from bp-asm.h.
17229 (__mpn_sub_n): Do not use BP_SYM.
17230 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17232 (PARMS): Do not use macros from bp-asm.h.
17235 (__mpn_submul_1): Do not use BP_SYM.
17236 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17238 (PARMS): Do not use macros from bp-asm.h.
17242 (__mpn_add_n): Do not use BP_SYM.
17243 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17246 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17248 (PARMS): Do not use macros from bp-asm.h.
17251 (memcmp): Do not use BP_SYM.
17252 (bcmp): Do not use BP_SYM in weak_alias.
17253 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17255 (PARMS): Do not use macros from bp-asm.h.
17259 (memcpy): Likewise. Do not use BP_SYM.
17260 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17262 (PARMS): Do not use macros from bp-asm.h.
17266 (memmove): Likewise. Do not use BP_SYM.
17267 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17269 (PARMS): Do not use macros from bp-asm.h.
17273 (__mempcpy): Likewise. Do not use BP_SYM.
17274 (mempcpy): Do not use BP_SYM in weak_alias.
17275 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17277 (PARMS): Do not use macros from bp-asm.h.
17280 [!BZERO_P] (CHR): Likewise.
17281 (memset): Likewise. Do not use BP_SYM.
17282 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17284 (PARMS): Do not use macros from bp-asm.h.
17286 (strcmp): Do not use BP_SYM.
17287 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17289 (PARMS): Do not use macros from bp-asm.h.
17292 [USE_AS_STRTOK_R] (SAVE): Likewise.
17293 (FUNCTION): Likewise. Do not use BP_SYM.
17294 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17296 (strtok_r): Likewise.
17297 (__GI___strtok_r): Likewise.
17298 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17299 (PARMS): Do not use macros from bp-asm.h.
17302 (__mpn_lshift): Do not use BP_SYM.
17303 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17304 (PARMS): Do not use macros from bp-asm.h.
17307 (__memchr): Do not use BP_SYM.
17308 (memchr): Do not use BP_SYM in weak_alias.
17309 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17310 (PARMS): Do not use macros from bp-asm.h.
17313 (memcmp): Do not use BP_SYM.
17314 (bcmp): Do not use BP_SYM in weak_alias.
17315 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17316 (PARMS): Do not use macros from bp-asm.h.
17319 (__mpn_mul_1): Do not use BP_SYM.
17320 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17322 (PARMS): Do not use macros from bp-asm.h.
17325 (__rawmemchr): Do not use BP_SYM.
17326 (rawmemchr): Do not use BP_SYM in weak_alias.
17327 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17328 (PARMS): Do not use macros from bp-asm.h.
17331 (__mpn_rshift): Do not use BP_SYM.
17332 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17333 (PARMS): Do not use macros from bp-asm.h.
17334 (SIGMSK): Likewise.
17335 (__sigsetjmp): Likewise. Do not use BP_SYM.
17336 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17337 (_start): Do not use BP_SYM.
17338 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17339 (PARMS): Do not use macros from bp-asm.h.
17342 (__stpcpy): Likewise. Do not use BP_SYM.
17343 (stpcpy): Do not use BP_SYM in weak_alias.
17344 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17346 (PARMS): Do not use macros from bp-asm.h.
17350 (__stpncpy): Likewise. Do not use BP_SYM.
17351 (stpncpy): Do not use BP_SYM in weak_alias.
17352 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17353 (PARMS): Do not use macros from bp-asm.h.
17356 (strchr): Likewise. Do not use BP_SYM.
17357 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17359 (PARMS): Do not use macros from bp-asm.h.
17362 (__strchrnul): Likewise. Do not use BP_SYM.
17363 (strchrnul): Do not use BP_SYM in weak_alias.
17364 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17366 (PARMS): Do not use macros from bp-asm.h.
17368 (strcspn): Do not use BP_SYM.
17369 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17371 (PARMS): Do not use macros from bp-asm.h.
17374 (strpbrk): Likewise. Do not use BP_SYM.
17375 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17377 (PARMS): Do not use macros from bp-asm.h.
17380 (strrchr): Likewise. Do not use BP_SYM.
17381 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17382 (PARMS): Do not use macros from bp-asm.h.
17384 (strspn): Do not use BP_SYM.
17385 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17386 (PARMS): Do not use macros from bp-asm.h.
17390 (FUNCTION): Likewise. Do not use BP_SYM.
17391 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17393 (strtok_r): Likewise.
17394 (__GI___strtok_r): Likewise.
17395 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17396 (PARMS): Do not use macros from bp-asm.h.
17400 (__mpn_sub_n): Do not use BP_SYM.
17401 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17403 (PARMS): Do not use macros from bp-asm.h.
17406 (__mpn_submul_1): Do not use BP_SYM.
17407 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17409 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17411 (PARMS): Do not use macros from bp-asm.h.
17416 (__clone): Do not use BP_SYM.
17417 (clone): Do not use BP_SYM in weak_alias.
17418 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17420 (PARMS): Do not use macros from bp-asm.h.
17422 (__mmap64): Do not use BP_SYM.
17423 (mmap64): Do not use BP_SYM in weak_alias.
17424 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17425 <bp-sym.h> and <bp-asm.h>.
17426 (PARMS): Do not use macros from bp-asm.h.
17427 (__posix_fadvise64_l64): Do not use BP_SYM.
17428 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17429 (PARMS): Do not use macros from bp-asm.h.
17431 (semtimedop): Do not use BP_SYM.
17432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17435 2013-02-21 Allan McRae <allan@archlinux.org>
17437 * manual/message.texi (Charset conversion in gettext):
17438 Move @end statement to beginning of line.
17440 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17447 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17448 (denorm): Likewise.
17449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17452 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17454 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17455 tail-call to the resolved function if pltexit isn't needed.
17457 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17460 or Y being zero as being unlikely.
17461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17464 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17466 * manual/nss.texi (System Databases and Name Service Switch):
17467 Remove frobnicate @pxref.
17469 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17471 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17472 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17474 2013-02-20 Petr Machata <pmachata@redhat.com>
17476 * elf/elf.h (R_ARM_TARGET1): New macro.
17477 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17478 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17479 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17480 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17481 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17482 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17483 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17484 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17485 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17486 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17487 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17488 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17489 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17490 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17491 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17492 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17493 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17494 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17495 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17496 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17497 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17498 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17499 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17500 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17501 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17502 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17503 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17504 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17505 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17506 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17507 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17508 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17509 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17510 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17511 (R_ARM_THM_GOT_BREL12): Likewise.
17512 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17513 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17514 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17515 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17516 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17517 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17518 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17519 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17520 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17522 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17524 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17525 __attribute_used__ to __attribute__ ((unused)).
17527 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17529 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17532 comment formatting.
17533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17535 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17538 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17540 (ENTER): Remove both macro definitions.
17542 (CHECK_BOUNDS_LOW): Likewise.
17543 (CHECK_BOUNDS_HIGH): Likewise.
17544 (CHECK_BOUNDS_BOTH): Likewise.
17545 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17546 (RETURN_BOUNDED_POINTER): Likewise.
17547 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17548 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17549 (POP_ERRNO_LOCATION_RETURN): Likewise.
17550 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17551 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17552 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17554 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17555 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17556 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17557 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17558 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17559 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17560 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17561 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17562 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17563 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17564 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17565 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17566 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17567 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17569 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17570 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17572 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17573 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17574 * sysdeps/i386/i586/memset.S (memset): Likewise.
17575 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17576 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17577 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17579 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17580 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17581 Change uses of L(2) to L(out).
17582 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17583 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17584 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17585 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17586 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17588 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17589 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17591 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17592 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17593 (RETURN): Do not use macro LEAVE.
17594 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17595 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17596 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17597 * sysdeps/i386/i686/memset.S (memset): Likewise.
17598 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17599 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17600 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17601 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17603 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17604 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17605 L(1_2) and L(1_3) into L(1).
17606 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17607 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17608 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17609 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17610 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17611 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17612 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17613 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17614 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17616 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17617 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17618 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17619 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17620 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17621 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17622 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17623 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17624 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17625 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17626 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17627 * sysdeps/i386/strspn.S (strspn): Likewise.
17628 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17630 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17631 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17632 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17633 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17634 L(1_3) into L(1_1).
17635 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17636 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17637 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17639 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17641 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17643 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17646 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17648 * math/atest-exp.c (exp_mpn): Remove ROUND.
17649 * math/atest-exp2.c (exp_mpn): Likewise.
17650 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17652 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17653 * stdlib/tst-tls-atexit-lib.c: Likewise.
17654 * stdlib/tst-tls-atexit.c: Likewise.
17656 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17658 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17659 and __attribute_alloc_size__.
17661 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17663 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17664 __attribute_alloc_size__.
17665 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17666 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17668 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17670 * include/programs/xmalloc.h: New file.
17671 * catgets/gencat.c: Include it.
17672 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17673 * elf/pldd.c: Likewise.
17674 * iconv/iconv_charmap.c: Likewise.
17675 * iconv/iconvconfig.c: Likewise.
17676 * iconv/strtab.c: Likewise.
17677 * locale/programs/locale.c: Likewise.
17678 * locale/programs/localedef.h: Likewise.
17679 * locale/programs/simple-hash.c: Likewise.
17680 * nscd/nscd.h: Likewise.
17681 * nss/makedb.c: Likewise.
17682 * sysdeps/generic/ldconfig.h: Likewise.
17684 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17686 * Versions.def: Add GLIBC_2.18.
17687 * include/link.h (struct link_map): New member l_tls_dtor_count.
17688 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17689 (__call_tls_dtors): Likewise.
17690 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17691 __cxa_thread_atexit_impl.
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17700 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17708 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17709 (tests): Add test case tst-tls-atexit.
17710 (modules-names): Add shared library for tst-tls-atexit.
17711 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17712 (GLIBC_PRIVATE): Add __call_tls_dtors.
17713 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17715 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17716 * stdlib/tst-tls-atexit.c: New test case.
17717 * stdlib/tst-tls-atexit-lib.c: New test case.
17719 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17721 * elf/Versions (ld): Add _dl_find_dso_for_object.
17722 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17723 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17724 (dl_open_worker): Use _dl_find_dso_for_object.
17725 * elf/dl-sym.c (do_sym): Likewise.
17726 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17728 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17730 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17731 Syntactic changes only.
17732 (_dl_runtime_profile): Do a tail-call to the resolved function.
17734 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17737 * sysdeps/x86_64/bp-asm.h: Remove file.
17738 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17739 <bp-sym.h> and <bp-asm.h>.
17740 (__clone): Do not use BP_SYM.
17741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17742 <bp-sym.h> and <bp-asm.h>.
17743 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17744 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17746 (_setjmp): Do not use BP_SYM.
17747 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17749 (setjmp): Do not use BP_SYM.
17750 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17752 (mempcpy): Do not use BP_SYM in weak_alias.
17753 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17755 (strchr): Do not use BP_SYM.
17756 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17758 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17759 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17760 (_start): Do not use BP_SYM.
17761 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17763 (strcat): Do not use BP_SYM.
17764 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17766 (STRCMP): Do not use BP_SYM.
17767 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17769 (STRCPY): Do not use BP_SYM.
17770 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17772 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17774 (FUNCTION): Do not use BP_SYM.
17775 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17777 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17779 2013-02-17 Andreas Jaeger <aj@suse.de>
17781 * time/Versions: Sort entries.
17782 * string/Versions: Likewise.
17783 * resolv/Versions: Likewise.
17784 * posix/Versions: Likewise.
17785 * iconv/Versions: Likewise.
17786 * elf/Versions: Likewise.
17787 * wcsmbs/Versions: Likewise.
17789 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17791 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17792 loop termination condition.
17794 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17795 variable to calculate EZ.
17798 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17799 the lower precision input.
17801 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17804 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17805 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17806 (run-via-rtld-prefix): Do not handle %-bp tests.
17807 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17808 (all-object-suffixes): Remove .ob.
17809 (bppfx): Remove variable.
17810 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17811 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17812 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17813 [$(build-bounded) = yes] (libtype.ob): Likewise.
17814 * Makerules (elide-routines.ob): Remove variable.
17815 (do-tests-clean): Do not handle *-bp.out.
17816 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17817 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17818 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17819 (tests): Do not include $(tests-bp.out).
17820 (xtests): Do not include $(xtests-bp.out).
17821 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17822 [$(build-bounded) = yes] ($(addprefix
17823 $(objpfx),$(binaries-bounded))): Remove rule.
17824 ($(objpfx)%-bp.out): Remove rule.
17825 * config.make.in (build-bounded): Remove variable.
17826 * crypt/Makefile [$(build-bounded) = yes]
17827 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17828 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17829 append to variable.
17830 [$(build-bounded) = yes] (install-lib): Likewise.
17831 [$(build-bounded) = yes] (generated): Likewise.
17832 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17834 * intl/Makefile [$(build-bounded) = yes]
17835 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17836 * math/Makefile [$(build-bounded) = yes]
17837 ($(tests:%=$(objpfx)%-bp): Likewise.
17838 * misc/Makefile [$(build-bounded) = yes]
17839 ($(objpfx)tst-tsearch-bp): Likewise.
17840 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17841 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17843 * string/Makefile (o-objects.ob): Remove variable.
17844 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17845 (CFLAGS-.ob): Remove variable.
17846 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17847 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17848 both definitions of variable.
17849 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17850 (ASFLAGS-.ob): Remove variable.
17852 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17855 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17856 Remove __BOUNDED_POINTERS__ from condition.
17857 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17858 * string/bits/string2.h [!__NO_STRING_INLINES &&
17859 !__BOUNDED_POINTERS__]: Likewise.
17860 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17862 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17863 Remove conditional code.
17864 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17865 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17866 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17870 * csu/libc-start.c: Do not include <bp-sym.h>.
17871 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17872 * elf/dl-open.c: Do not include <bp-sym.h>.
17873 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17874 * math/fegetenv.c: Do not include <bp-sym.h>.
17875 (fegetenv): Do not use BP_SYM in versioned symbols.
17876 * nptl/sysdeps/pthread/bits/libc-lockP.h
17877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17880 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17882 (__pthread_mutex_destroy): Likewise.
17883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17884 (__pthread_mutex_lock): Likewise.
17885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17886 (__pthread_mutex_trylock): Likewise.
17887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17888 (__pthread_mutex_unlock): Likewise.
17889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17890 (__pthread_mutexattr_init): Likewise.
17891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17892 (__pthread_mutexattr_destroy): Likewise.
17893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17894 (__pthread_mutexattr_settype): Likewise.
17895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17896 (__pthread_rwlock_init): Likewise.
17897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17898 (__pthread_rwlock_destroy): Likewise.
17899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17900 (__pthread_rwlock_rdlock): Likewise.
17901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17902 (__pthread_rwlock_tryrdlock): Likewise.
17903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17904 (__pthread_rwlock_wrlock): Likewise.
17905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17906 (__pthread_rwlock_trywrlock): Likewise.
17907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17908 (__pthread_rwlock_unlock): Likewise.
17909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17910 (__pthread_key_create): Likewise.
17911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17912 (__pthread_setspecific): Likewise.
17913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17914 (__pthread_getspecific): Likewise.
17915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17918 (_pthread_cleanup_push_defer): Likewise.
17919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17920 (_pthread_cleanup_pop_restore): Likewise.
17921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17922 (pthread_setcancelstate): Likewise.
17923 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17925 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17926 (memchr): Do not use BP_SYM in weak_alias.
17927 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17928 (fegetenv): Do not use BP_SYM in versioned symbols.
17929 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17930 (fesetenv): Do not use BP_SYM in versioned symbols.
17931 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17932 (feupdateenv): Do not use BP_SYM in versioned symbols.
17933 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17934 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17935 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17936 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17937 (open64): Do not use BP_SYM in weak_alias.
17938 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17939 (fegetenv): Do not use BP_SYM in versioned symbols.
17940 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17941 (fesetenv): Do not use BP_SYM in versioned symbols.
17942 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17943 (feupdateenv): Do not use BP_SYM in versioned symbols.
17944 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17945 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17946 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17947 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17948 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17949 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17950 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17952 (__libc_start_main): Do not use BP_SYM.
17954 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17957 redundant return line.
17959 (denorm): Likewise.
17960 (dbl_mp): Likewise.
17961 (sub_magnitudes): Likewise.
17967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17969 (denorm): Likewise.
17970 (dbl_mp): Likewise.
17971 (sub_magnitudes): Likewise.
17978 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17980 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17981 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17984 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17985 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17986 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17987 of __mul for squares.
17988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17992 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17993 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17995 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17998 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18000 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18001 prototype or function definition. Rename ubp_* variables and
18002 parameters. Remove argv definitions conditional on
18003 [__BOUNDED_POINTERS__].
18004 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18005 * elf/dl-runtime.c (_dl_fixup): Likewise.
18006 * include/set-hooks.h (RUN_HOOK): Likewise.
18007 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18009 * string/strcpy.c (strcpy): Do not use __unbounded.
18010 * sysdeps/generic/frame.h (struct layout): Likewise.
18011 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18012 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18013 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18014 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18015 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18016 (__backtrace): Likewise.
18017 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18019 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18020 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18021 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18023 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18024 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18025 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18026 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18027 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18028 Do not use __unbounded.
18029 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18030 Rename __unboundedrlimits parameter to rlimits in prototype.
18031 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18032 Do not use __unbounded.
18033 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18034 not use __ptrvalue.
18035 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18036 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18037 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18038 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18039 __ptrvalue or __unbounded.
18040 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18041 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18043 (__new_msgctl): Do not use __ptrvalue.
18044 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18046 (__libc_msgrcv): Do not use __ptrvalue.
18047 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18048 startup_info): Do not use __unbounded.
18049 (__libc_start_main): Likewise. Rename ubp_* variables and
18050 parameters. Remove argv definitions conditional on
18051 [__BOUNDED_POINTERS__].
18052 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18054 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18056 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18058 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18060 (__new_shmctl): Do not use __ptrvalue.
18061 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18062 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18064 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18065 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18066 (__libc_sigaction): Likewise.
18067 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18070 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18072 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18074 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18076 * string/mempcpy.c: Implement by calling memcpy.
18078 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18085 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18086 values in the mantissa.
18088 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18089 minimize writes to Z.
18090 (sub_magnitudes): Simplify code a bit.
18092 2013-02-12 Roland McGrath <roland@hack.frob.com>
18094 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18095 from the message. The linker prefixes all warnings with that already.
18097 2013-02-12 Andreas Schwab <schwab@suse.de>
18100 * posix/regexec.c (extend_buffers): Add parameter min_len.
18101 (check_matching): Pass minimum needed length.
18102 (clean_state_log_if_needed): Likewise.
18103 (get_subexp): Likewise.
18104 * posix/Makefile (tests): Add bug-regex34.
18105 (bug-regex34-ENV): Define.
18106 * posix/bug-regex34.c: New file.
18109 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18110 elements compare against the byte sequence of it, not its name.
18111 * posix/Makefile (tests): Add bug-regex35.
18112 (bug-regex35-ENV): Define.
18113 * posix/bug-regex35.c: New file.
18115 2013-02-11 Tom de Vries <tom@codesourcery.com>
18117 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18119 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18120 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18121 (CHECK_EOL): Add undef.
18123 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18125 * bits/stdlib-bsearch.h: New file.
18126 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18127 * stdlib/stdlib.h: Likewise.
18129 2013-02-11 Roland McGrath <roland@hack.frob.com>
18131 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18132 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18134 * manual/search.texi (Array Search Function): Add missing const in
18136 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18137 declaration to use rlim_t.
18138 (Basic Scheduling Functions): Remove erroneous const from
18139 sched_getparam prototype. Remove erroneous * from
18140 sched_get_priority_max and sched_get_priority_min prototypes.
18141 (Resource Usage): Fix summary @comment on vtimes to refer to
18142 sys/vtimes.h rather than vtimes.h.
18143 Add missing *s in vtimes prototype.
18144 (Limits on Resources): Fix ulimit prototype to return long int.
18145 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18146 prototypes to use long int rather than double.
18147 (BSD Random): Fix initstate and setstate to use char *, not void *.
18148 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18149 prototype to make second argument 'struct aiocb64 *const[]'.
18150 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18151 (Status of AIO Operations): Remove erroneous const in aio_return and
18152 aio_return64 prototypes.
18153 (Synchronizing I/O): Fix sync prototype to return void.
18154 * manual/startup.texi (Suboptions): Remove an erroneous const in
18155 getsubopt prototype.
18156 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18157 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18158 use size_t rather than int.
18159 (Scanning All Users): Likewise for getpwent_r.
18160 (Setting Groups): Add missing const to setgroups prototype.
18161 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18162 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18163 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18164 'const void *' rather than 'const char *'.
18165 (Host Address Functions): Likewise for inet_ntop.
18166 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18167 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18168 ssize_t for return value.
18169 (Sending Data): Likewise for send, sendto, sendmsg.
18170 (Socket Option Functions): Add a missing const in setsockopt prototype.
18171 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18172 use wchar_t for the argument.
18173 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18174 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18176 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18177 double/float/long double for second argument.
18178 Fix return types of significand, significandf, significandl.
18179 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18180 argument in fchmod prototype.
18181 (File Owner): Use uid_t and gid_t in fchown prototype.
18182 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18183 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18184 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18185 use 'const struct dirent **' as argument types to CMP function pointer
18187 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18188 (File Times): Fix summary magic @comment for struct utimbuf and utime
18189 to refer to utime.h, not time.h.
18190 * manual/string.texi (Argz Functions): Add missing const in
18191 argz_extract and argz_next prototypes.
18192 (Finding Tokens in a String): Likewise for basename.
18193 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18194 (Copying and Concatenation): Fix typo in wmemmove prototype.
18195 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18196 (Signal Stack): Remove erroneous const in sigstack prototype.
18197 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18199 (Simple Calendar Time): Likewise for stime.
18200 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18202 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18203 say sys/sysctl.h instead.
18204 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18205 and vsyslog prototypes.
18207 2013-02-11 Tom de Vries <tom@codesourcery.com>
18209 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18212 2013-02-11 Roland McGrath <roland@hack.frob.com>
18214 * misc/sys/mman.h: Fix typo in mremap comment.
18216 2013-02-08 Roland McGrath <roland@hack.frob.com>
18218 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18219 the '\0' terminator.
18221 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18224 * debug/segfault.c: Don't include <bp-checks.h>.
18225 * sysdeps/generic/bp-checks.h: Remove file.
18226 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18227 (__GETDENTS): Don't use CHECK_N.
18228 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18229 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18230 (__getgroups): Don't use CHECK_N.
18231 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18232 (setgroups): Don't use CHECK_N.
18233 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18234 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18235 (__libc_msgrcv): Don't use CHECK_N.
18236 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18237 (__libc_msgsnd): Don't use CHECK_N.
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18240 (__libc_pread): Don't use CHECK_N.
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18242 include <bp-checks.h>.
18243 (__libc_pread64): Don't use CHECK_N.
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18245 include <bp-checks.h>.
18246 (__libc_pwrite): Don't use CHECK_N.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18248 include <bp-checks.h>.
18249 (__libc_pwrite64): Don't use CHECK_N.
18250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18252 (__libc_pread): Don't use CHECK_N.
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18254 include <bp-checks.h>.
18255 (__libc_pread64): Don't use CHECK_N.
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18257 include <bp-checks.h>.
18258 (__libc_pwrite): Don't use CHECK_N.
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18260 include <bp-checks.h>.
18261 (__libc_pwrite64): Don't use CHECK_N.
18262 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18263 (do_pread): Don't use CHECK_N.
18264 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18265 (do_pread64): Don't use CHECK_N.
18266 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18267 (do_pwrite): Don't use CHECK_N.
18268 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18269 (do_pwrite64): Don't use CHECK_N.
18270 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18271 (__libc_readv): Don't use CHECK_N.
18272 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18273 (semop): Don't use CHECK_N.
18274 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18276 (semtimedop): Don't use CHECK_N.
18277 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18278 (__libc_pread): Don't use CHECK_N.
18279 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18281 (__libc_pread64): Don't use CHECK_N.
18282 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18284 (__libc_pwrite): Don't use CHECK_N.
18285 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18287 (__libc_pwrite64): Don't use CHECK_N.
18288 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18290 (__libc_msgrcv): Don't use CHECK_N.
18291 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18292 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18293 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18294 (__libc_writev): Don't use CHECK_N.
18296 2013-02-08 Roland McGrath <roland@hack.frob.com>
18298 * string/strcpy.c: Removed unused variable.
18300 * Makeconfig (+sysdep-includes): Define with := rather than =.
18301 Use an existing include/ subdir of each sysdeps dir before it.
18303 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18305 * nscd/connection.c (register_traced_file): Comment function.
18306 [HAVE_INOTIFY] (union __inev): Define.
18307 [HAVE_INOTIFY] (inotify_check_files): New function.
18308 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18309 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18311 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18313 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18315 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18316 loaded if not already and that a failure is permanent.
18318 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18321 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18322 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18324 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18327 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18328 (CHECK_1_NULL_OK): Likewise.
18329 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18330 (__fxstat): Do not use CHECK_1.
18331 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18333 (___fxstat64): Do not use CHECK_1.
18334 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18336 (__fxstatat): Do not use CHECK_1.
18337 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18339 (__fxstatat64): Do not use CHECK_1.
18340 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18342 (__fxstat): Do not use CHECK_1.
18343 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18345 (__fxstatat): Do not use CHECK_1.
18346 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18348 (__getresgid): Do not use CHECK_1.
18349 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18351 (__getresuid): Do not use CHECK_1.
18352 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18354 (__lxstat): Do not use CHECK_1.
18355 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18357 (__old_msgctl): Do not use CHECK_1.
18358 (__new_msgctl): Likewise.
18359 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18361 (__new_setrlimit): Do not use CHECK_1.
18362 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18364 (__old_shmctl): Do not use CHECK_1.
18365 (__new_shmctl): Likewise.
18366 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18368 (__xstat): Do not use CHECK_1.
18369 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18370 (__lxstat): Do not use CHECK_1.
18371 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18373 (___lxstat64): Do not use CHECK_1.
18374 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18375 (__old_msgctl): Do not use CHECK_1.
18376 (__new_msgctl): Likewise.
18377 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18379 (__gettimeofday): Do not use CHECK_1.
18380 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18381 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18382 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18384 (__gettimeofday): Do not use CHECK_1.
18385 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18386 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18387 (__new_shmctl): Do not use CHECK_1.
18388 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18390 (do_sigtimedwait): Do not use CHECK_1.
18391 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18393 (do_sigwaitinfo): Do not use CHECK_1.
18394 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18396 (msgctl): Do not use CHECK_1.
18397 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18399 (shmctl): Do not use CHECK_1.
18400 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18401 (ustat): Do not use CHECK_1.
18402 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18404 (__fxstat): Do not use CHECK_1.
18405 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18407 (__fxstatat): Do not use CHECK_1.
18408 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18410 (__lxstat): Do not use CHECK_1.
18411 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18413 (__xstat): Do not use CHECK_1.
18414 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18415 (__xstat): Do not use CHECK_1.
18416 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18417 (___xstat64): Do not use CHECK_1.
18420 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18422 (CHECK_BOUNDS_HIGH): Likewise.
18423 * string/strcpy.c: Do not include <bp-checks.h>.
18424 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18426 2013-02-07 Roland McGrath <roland@hack.frob.com>
18428 * nscd/nscd-client.h (__nscd_drop_map_ref):
18429 Add __attribute__ ((unused)).
18430 * nis/nss-nisplus.h (niserr2nss): Likewise.
18432 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18433 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18435 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18436 Remove inline keyword.
18437 * include/rounding-mode.h (round_away): Likewise.
18438 * libio/wfileops.c (adjust_wide_data): Likewise.
18439 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18440 (__m128i_strloadu_tolower): Likewise.
18441 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18442 (__m128i_strloadu_tolower): Likewise.
18443 * time/mktime.c (ydhms_diff): Likewise.
18444 * locale/elem-hash.h (elem_hash): Likewise.
18445 * locale/setlocale.c (setdata): Likewise.
18446 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18447 (re_string_wchar_at): Likewise.
18448 (bitset_not, bitset_merge, bitset_mask): Likewise.
18449 [!(__GNUC__ > 3)] (inline): Remove macro.
18450 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18451 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18452 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18453 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18454 * string/memcmp.c (memcmp_bytes): Likewise.
18455 * locale/programs/locarchive.c (compute_hashval): Likewise.
18456 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18457 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18458 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18459 * nss/getent.c (print_rpc, print_protocols): Likewise.
18460 (print_passwd, print_group, print_aliases): Likewise.
18461 * nis/nss-nisplus.h (niserr2nss): Likewise.
18462 * nscd/connections.c (restart_p): Likewise.
18463 Change return type to bool.
18465 2013-02-05 Roland McGrath <roland@hack.frob.com>
18467 * Makeconfig (all-Depend-files): Add existing
18468 $(sorted-subdirs:=/Depend) files.
18469 (all-subdirs): Remove nss.
18470 * sysdeps/unix/inet/Subdirs: Add it here instead.
18471 * hesiod/Depend: New file.
18473 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18474 instead of calling alloca.
18476 * io/lseek.c (__lseek): Rename to __libc_lseek.
18477 Define __lseek as an alias.
18479 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18481 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18483 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18484 else clause and remove check for non-standard endianness.
18486 2013-02-04 David S. Miller <davem@davemloft.net>
18488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18490 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18493 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18494 (__ubp_memchr): Remove prototype.
18495 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18496 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18497 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18498 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18499 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18501 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18502 (__ubp_memchr): Likewise.
18503 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18504 (__ubp_memchr): Likewise.
18505 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18506 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18507 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18508 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18510 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18511 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18512 (__getcwd): Do not use CHECK_STRING.
18513 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18515 (__real_chown): Do not use CHECK_STRING.
18516 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18518 (fchownat): Do not use CHECK_STRING.
18519 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18521 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18523 (__lchown): Do not use CHECK_STRING.
18524 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18525 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18526 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18527 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18529 include <bp-checks.h>.
18530 (truncate64): Do not use CHECK_STRING.
18531 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18533 (__real_chown): Do not use CHECK_STRING.
18534 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18536 (__lchown): Do not use CHECK_STRING.
18537 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18539 (__chown): Do not use CHECK_STRING.
18540 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18542 (truncate64): Do not use CHECK_STRING.
18543 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18545 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18546 (__xmknod): Do not use CHECK_STRING.
18547 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18549 (__xmknodat): Do not use CHECK_STRING.
18550 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18551 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18553 2013-02-04 Andreas Schwab <schwab@suse.de>
18556 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18557 * include/netdb.h: Likewise for h_errno.
18558 * elf/tst-stackguard1.c: Include <tls.h>.
18560 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18562 * elf/link.h (struct link_map): Extend the l_addr comment.
18563 * include/link.h (struct link_map): Likewise.
18565 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18568 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18569 (BOUNDED_1): Remove macro.
18570 * debug/backtrace.c: Don't include <bp-checks.h>.
18571 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18572 (__backtrace): Likewise.
18573 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18575 (__backtrace): Don't use BOUNDED_1.
18576 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18578 (__backtrace): Don't use BOUNDED_1.
18579 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18580 (__backtrace): Don't use BOUNDED_1.
18581 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18582 (shmat): Don't use BOUNDED_N.
18584 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18587 * sysdeps/generic/bp-start.h: Remove file.
18588 * csu/libc-start.c: Don't include <bp-start.h>.
18589 (LIBC_START_MAIN): Set up __environ directly instead of using
18590 INIT_ARGV_and_ENVIRON.
18591 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18595 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18597 (CHECK_FCNTL): Likewise.
18598 (CHECK_N_PAGES): Likewise.
18601 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18603 (CHECK_SIGSET_NULL_OK): Likewise.
18604 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18606 (sigpending): Don't use CHECK_SIGSET.
18607 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18609 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18610 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18612 (do_sigsuspend): Don't use CHECK_SIGSET.
18613 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18615 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18616 (do_sigwait): Don't use CHECK_SIGSET.
18617 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18619 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18620 include <bp-checks.h>.
18621 (sigpending): Don't use CHECK_SIGSET.
18622 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18623 include <bp-checks.h>.
18624 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18625 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18627 (sigpending): Don't use CHECK_SIGSET.
18628 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18630 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18633 * sysdeps/generic/bp-semctl.h: Remove file.
18634 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18635 <bp-checks.h> and <bp-semctl.h>.
18636 (__old_semctl): Don't use CHECK_SEMCTL.
18637 (__new_semctl): Likewise.
18638 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18640 (__old_semctl): Don't use CHECK_SEMCTL.
18641 (__new_semctl): Likewise.
18642 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18643 <bp-checks.h> and <bp-semctl.h>.
18644 (__old_semctl): Don't use CHECK_SEMCTL.
18645 (__new_semctl): Likewise.
18646 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18647 <bp-checks.h> and <bp-semctl.h>.
18648 (semctl): Don't use CHECK_SEMCTL.
18651 * Makerules (elide-bp-thunks): Remove variable.
18652 (elide-routines.oS): Don't use $(elide-bp-thunks).
18653 (elide-routines.os): Likewise.
18654 (elide-routines.o): Likewise.
18655 (elide-routines.op): Likewise.
18656 (elide-routines.og): Likewise.
18657 (objects): Don't use $(bp-thunks).
18658 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18660 (common-generated): Do not add s-proto-bp.d.
18661 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18664 Do not generate makefile rules for bounded-pointer thunks.
18665 * sysdeps/generic/bp-thunks.h: Remove file.
18666 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18667 * sysdeps/unix/s-proto-bp.S: Likewise.
18670 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18671 parts of result separately when argument is not close to line from
18672 -i to i and one part of argument is small.
18673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18675 * math/libm-test.inc (cacos_test): Add more tests.
18676 (casin_test): Likewise.
18677 (casinh_test): Likewise.
18678 * sysdeps/i386/fpu/libm-test-ulps: Update.
18679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18681 2013-01-31 David S. Miller <davem@davemloft.net>
18683 * po/de.po: Update from translation team.
18685 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18687 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18689 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18691 * configure.in (_AC_PROG_CC_C89): New definition.
18692 * configure: Regenerate.
18694 * configure.in (AC_PROG_CPP): New definition.
18695 * configure: Regenerate.
18697 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18699 * debug/tst-backtrace.h: New file.
18700 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18701 (ret): Remove variable.
18703 (FAIL): Remove macro.
18704 (NO_INLINE): Likewise.
18705 (fn1): Use match function instead of strstr.
18706 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18707 (ret): Remove variable.
18709 (FAIL): Remove macro.
18710 (NO_INLINE): Likewise.
18711 (fn): Use match function instead of strstr.
18712 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18713 (ret): Remove variable.
18715 (FAIL): Remove macro.
18716 (NO_INLINE): Likewise.
18717 (handle_signal): Use match function instead of strstr.
18718 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18719 (ret): Remove variable.
18721 (FAIL): Remove macro.
18722 (NO_INLINE): Likewise.
18723 (handle_signal): Use match function instead of strstr.
18725 2013-01-23 Roland McGrath <roland@hack.frob.com>
18727 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18729 2013-01-23 David S. Miller <davem@davemloft.net>
18731 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18732 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18733 argument of CAS if possible.
18734 * sysdeps/sparc/sparc64/bits/atomic.h
18735 (__arch_compare_and_exchange_val_32_acq): Likewise.
18736 (__arch_compare_and_exchange_val_64_acq): Likewise.
18738 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18740 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18741 * sysdeps/posix/ulimit.c: ... this.
18742 Include <limits.h>.
18743 * sysdeps/unix/bsd/ulimit.c: Remove file.
18745 2013-01-23 Adam Conrad <adconrad@0c3.net>
18747 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18748 (LDFLAGS-tst-array5): Likewise.
18750 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18753 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18754 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18755 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18756 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18758 2013-01-21 David S. Miller <davem@davemloft.net>
18760 * sysdeps/sparc/backtrace.c: New file.
18761 * sysdeps/sparc/sparc32/backtrace.h: New file.
18762 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18763 * sysdeps/sparc/sparc64/backtrace.h: New file.
18764 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18765 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18768 2013-01-21 Andreas Schwab <schwab@suse.de>
18771 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18774 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18776 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18780 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18781 Mark Mitchell <mark@codesourcery.com>
18782 Tom de Vries <tom@codesourcery.com>
18783 Paul Pluzhnikov <ppluzhnikov@google.com>
18785 * debug/tst-backtrace2.c: New file.
18786 * debug/tst-backtrace3.c: Likewise.
18787 * debug/tst-backtrace4.c: Likewise.
18788 * debug/tst-backtrace5.c: Likewise.
18789 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18790 (CFLAGS-tst-backtrace3.c): Likewise.
18791 (CFLAGS-tst-backtrace4.c): Likewise.
18792 (CFLAGS-tst-backtrace5.c): Likewise.
18793 (LDFLAGS-tst-backtrace2): Likewise.
18794 (LDFLAGS-tst-backtrace3): Likewise.
18795 (LDFLAGS-tst-backtrace4): Likewise.
18796 (LDFLAGS-tst-backtrace5): Likewise.
18797 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18798 tst-backtrace4 and tst-backtrace5.
18800 2013-01-18 Anton Blanchard <anton@samba.org>
18801 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18803 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18804 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18805 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18806 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18808 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18809 "+r" and remove output regs list as redundant. Add explicit inline
18810 asm to specify register of return val to work around compiler codegen
18811 bug. Remove (int) cast on return value. Add return type parameter to
18812 use in macro so that this macro does not truncate return value for
18814 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18815 pass to INTERNAL_VSYSCALL_NCS.
18816 (INLINE_VSYSCALL): Add 'long int' as return type to
18817 INTERNAL_VSYSCALL_NCS macro invocation.
18818 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18819 INTERNAL_VSYSCALL_NCS macro invocation.
18820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18822 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18825 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18826 Fix application of SIMD FP exception mask.
18828 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18829 mp_no from a power of two.
18830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18831 __mpexp_twomm1. Use __pow_mp.
18833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18836 2013-01-17 David S. Miller <davem@davemloft.net>
18838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18840 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18843 * include/complex.h: Condition contents on [!_COMPLEX_H].
18844 (__kernel_casinhf): New prototype.
18845 (__kernel_casinh): Likewise.
18846 (__kernel_casinhl): Likewise.
18847 * math/Makefile (libm_calls): Add k_casinh.
18848 * math/k_casinh.c: New file.
18849 * math/k_casinhf.c: Likewise.
18850 * math/k_casinhl.c: Likewise.
18851 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18852 finite nonzero arguments.
18853 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18854 finite nonzero arguments.
18855 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18856 finite nonzero arguments.
18857 * math/s_casinh.c: Do not include <float.h>.
18858 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18859 * math/s_casinhf.c: Do not include <float.h>.
18860 (__casinhf): Move code for finite nonzero arguments to
18862 * math/s_casinhl.c: Do not include <float.h>.
18863 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18865 (__casinhl): Move code for finite nonzero arguments to
18867 * math/libm-test.inc (cacos_test): Add more tests.
18868 * sysdeps/i386/fpu/libm-test-ulps: Update.
18869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18871 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18873 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18874 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18875 [!HAVE_MREMAP]: Remove [defined linux] case.
18876 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18878 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18880 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18882 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18884 * elf/elf.h (R_386_SIZE32): New relocation.
18885 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18887 (elf_machine_rela): Likewise.
18888 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18889 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18891 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18893 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18894 (FP_FAST_FMA): Do not define.
18895 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18896 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18897 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18898 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18899 !_SOFT_FLOAT]: Likewise.
18900 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18901 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18903 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18904 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18905 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18906 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18907 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18908 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18911 2013-01-16 Andreas Schwab <schwab@suse.de>
18914 * include/stdlib.h (__mktemp): Add declaration.
18915 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18916 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18918 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18920 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18922 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18923 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18924 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18926 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18927 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18929 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18931 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18932 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18933 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18935 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18936 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18938 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18940 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18942 2013-01-15 David S. Miller <davem@davemloft.net>
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18945 trunc{,f} to libm-sysdep_routes.
18946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18956 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18957 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18958 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18959 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18960 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18961 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18964 nearbyint{,f} to libm-sysdep_routes.
18965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18976 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18978 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18979 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18982 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18983 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18985 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18986 libc_feholdexcept and libc_fesetenv.
18988 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18990 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18992 2013-01-14 David S. Miller <davem@davemloft.net>
18994 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18995 (SPARC_ASM_VIS2_IFUNC): Likewise.
18996 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18998 use of 'siam' instruction.
18999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19032 routines to libm-sysdep_routines.
19033 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19036 fdim/fdimf to libm-sysdep_routines.
19037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19045 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19046 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19047 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19048 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19050 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19053 to optimize copies.
19055 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19060 local variable MPTWO.
19061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19064 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19066 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19069 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19071 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19073 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19075 * manual/pattern.texi (glob_t): Document gl_flags.
19076 (glob64_t): Likewise.
19078 2013-01-11 David S. Miller <davem@davemloft.net>
19080 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19081 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19082 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19083 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19084 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19085 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19086 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19087 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19088 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19089 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19090 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19091 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19092 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19094 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19095 sparc V9 rather than using V8 code.
19096 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19097 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19099 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19101 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19104 2013-01-11 Roland McGrath <roland@hack.frob.com>
19106 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19107 not in the main loop.
19108 * configure: Regenerated.
19110 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19112 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19113 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19115 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19116 [!__GLIBC_HAVE_LONG_LONG] case.
19117 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19118 condition to just #else.
19119 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19120 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19121 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19122 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19124 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19125 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19126 #elif condition to just #else.
19127 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19128 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19129 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19130 #elif condition to just #else.
19132 2013-01-11 Steve Ellcey <sellcey@mips.com>
19134 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19135 (EF_MIPS_ARCH_64): Fix value.
19136 (EF_MIPS_ARCH_32R2): New.
19137 (EF_MIPS_ARCH_64R2): New.
19139 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19141 * Makeconfig (+link-pie-before-libc): New.
19142 (+link-pie-after-libc): Likewise.
19143 (+link-pie-tests): Likewise.
19144 (+link-pie): Rewritten.
19145 (link-before-libc): Remove $(config-LDFLAGS).
19146 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19147 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19148 (config-LDFLAGS): Renamed to ...
19149 (rtld-LDFLAGS): This.
19150 (rtld-tests-LDFLAGS): New macro.
19151 (link-libc-rpath-link): Likewise.
19152 (link-libc-tests-rpath-link): Likewise.
19153 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19154 (link-libc): Prepand $(link-libc-rpath-link).
19155 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19156 (test-program-prefix): New macro.
19157 (test-via-rtld-prefix): Likewise.
19158 (test-program-cmd): Likewise.
19159 (host-test-program-cmd): Likewise.
19160 * Makefile ($(common-objpfx)testrun.sh): Replace
19161 $(run-program-prefix) with $(test-program-prefix).
19162 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19164 ($(common-objpfx)shlib.lds): Likewise.
19165 (build-module-helper): Likewise.
19166 ($(common-objpfx)format.lds): Likewise.
19167 * Rules (binaries-pie-tests): New.
19168 (binaries-pie-notests): Likewise.
19169 (binaries-pie): Rewritten.
19170 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19171 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19172 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19173 (make-test-out): Replace $(host-built-program-cmd) with
19174 $(host-test-program-cmd).
19175 * config.make.in (build-hardcoded-path-in-tests): New variable.
19176 * configure.in (--enable-hardcoded-path-in-tests): New configure
19178 (hardcoded_path_in_tests): New AC_SUBST.
19179 * configure: Regenerated.
19180 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19181 $(built-program-cmd) with $(test-program-cmd).
19182 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19183 (test_program_cmd): This.
19184 * elf/Makefile ($(objpfx)order.out): Run test with
19185 $(test-program-prefix).
19186 ($(objpfx)order2.out): Likewise.
19187 ($(objpfx)tst-initorder.out): Likewise.
19188 ($(objpfx)tst-initorder2.out): Likewise.
19189 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19190 $(test-program-cmd).
19191 ($(objpfx)tst-array1-static.out): Likewise.
19192 ($(objpfx)tst-array2.out): Likewise.
19193 ($(objpfx)tst-array3.out): Likewise.
19194 ($(objpfx)tst-array4.out): Likewise.
19195 ($(objpfx)tst-array5.out): Likewise.
19196 ($(objpfx)tst-array5-static.out): Likewise.
19197 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19198 $(test-program-cmd).
19199 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19200 $(run-program-prefix) with $(test-program-prefix).
19201 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19202 (test_program_prefix): This.
19203 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19204 $(run-program-prefix) with $(test-program-prefix).
19205 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19206 (test_program_prefix): This.
19207 * iconvdata/tst-tables.sh: Likewise.
19208 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19209 $(run-program-prefix) with $(test-program-prefix).
19210 ($(objpfx)tst-translit.out): Likewise.
19211 ($(objpfx)tst-gettext2.out): Likewise.
19212 ($(objpfx)tst-gettext4.out): Likewise.
19213 ($(objpfx)tst-gettext6.out): Likewise.
19214 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19215 (test_program_prefix): This.
19216 * intl/tst-gettext2.sh: Likewise.
19217 * intl/tst-gettext4.sh Likewise.
19218 * intl/tst-gettext6.sh: Likewise.
19219 * intl/tst-translit.sh: Likewise.
19220 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19221 with $(test-program-cmd).
19222 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19223 $(run-program-prefix) with $(test-program-prefix).
19224 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19225 (test_program_prefix): This.
19226 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19227 $(run-program-prefix) with $(test-program-prefix).
19228 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19229 (test_program_prefix): This.
19230 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19231 * posix/Makefile ($(objpfx)globtest.out): Replace
19232 $(run-via-rtld-prefix) and $(test-wrapper) with
19233 $(test-program-prefix) and $(test-via-rtld-prefix).
19234 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19235 $(test-program-prefix).
19236 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19237 $(host-test-program-cmd).
19238 (tst-spawn-ARGS): Likewise.
19239 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19240 $(test-program-prefix).
19241 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19242 (test_via_rtld_prefix): This.
19243 (test_wrapper): Renamed to ...
19244 (test_program_prefix): This.
19245 (run_program_prefix): Replaced by test_program_prefix.
19246 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19247 (test_program_prefix): This.
19248 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19249 with $(host-test-program-cmd).
19250 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19251 $(run-program-prefix) with $(test-program-prefix).
19252 ($(objpfx)tst-printf.out): Likewise.
19253 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19254 $(test-program-cmd).
19255 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19256 (test_program_prefix): This.
19257 * stdio-common/tst-unbputc.sh: Likewise.
19258 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19259 $(run-program-prefix) with $(test-program-prefix).
19260 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19261 (test_program_prefix): This.
19262 * string/Makefile ($(objpfx)tst-svc.out): Replace
19263 $(built-program-cmd) with $(test-program-cmd).
19265 2013-01-11 Andreas Jaeger <aj@suse.de>
19268 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19269 value. Sync with Linux 3.7.
19271 2013-01-10 David S. Miller <davem@davemloft.net>
19273 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19274 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19275 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19277 2013-01-10 Roland McGrath <roland@hack.frob.com>
19279 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19281 * configure: Regenerated.
19283 2013-01-10 David S. Miller <davem@davemloft.net>
19285 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19286 sparc V9 rather than using V8 code.
19287 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19288 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19290 2013-01-10 Roland McGrath <roland@hack.frob.com>
19292 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19293 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19294 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19295 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19296 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19297 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19298 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19299 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19300 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19301 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19302 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19303 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19304 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19305 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19306 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19307 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19308 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19309 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19310 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19311 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19312 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19313 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19314 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19315 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19316 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19317 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19318 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19320 2013-01-10 David S. Miller <davem@davemloft.net>
19322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19324 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19326 * posix/Makefile (tests-static): New variable.
19327 (tests): Add $(tests-static).
19328 (tst-exec-static-ARGS): New variable.
19329 (tst-spawn-static-ARGS): Likewise.
19330 * posix/tst-exec-static.c: New file.
19331 * posix/tst-spawn-static.c: Likewise.
19332 * posix/tst-exec.c: Support run directly.
19333 * posix/tst-spawn.c: Likewise.
19335 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19337 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19339 * math/bits/mathcalls.h (llrint): Likewise.
19340 (llround): Likewise.
19341 * stdlib/stdlib.h (struct drand48_data): Likewise.
19342 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19343 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19344 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19346 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19348 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19349 (elf_greg_t): Likewise.
19350 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19351 (__jmp_buf): Likewise.
19352 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19354 (llrint): Likewise, for all definitions.
19355 (llrintl): Likewise.
19357 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19358 Remove [__GNUC__] condition.
19359 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19360 condition to just [__USE_ISOC99].
19361 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19363 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19366 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19367 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19369 (_POSIX_V6_ILP32_OFF32): Likewise.
19370 (_XBS5_ILP32_OFF32): Likewise.
19371 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19372 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19374 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19376 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19378 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19379 doubles __mpexp_twomm1. Adjust usage.
19380 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19383 2013-01-10 Andreas Schwab <schwab@suse.de>
19386 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19387 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19389 2013-01-09 David S. Miller <davem@davemloft.net>
19392 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19393 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19394 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19395 TCP_FASTOPEN): Define.
19396 (tcp_repair_opt): New structure.
19397 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19399 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19400 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19401 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19402 (tcp_cookie_transactions): New structure.
19404 2013-01-09 Anton Blanchard <anton@samba.org>
19406 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19407 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19408 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19409 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19411 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19413 * include/features.h (__USE_ANSI): Remove.
19415 2013-01-09 Roland McGrath <roland@hack.frob.com>
19417 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19419 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19421 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19423 * sysdeps/s390/fpu/libm-test-ulps: Update.
19425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19427 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19431 (denorm): Likewise.
19432 (__mp_dbl): Likewise.
19433 (__dbl_mp): Likewise.
19434 (add_magnitudes): Likewise.
19435 (sub_magnitudes): Likewise.
19441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19445 (denorm): Likewise.
19446 (__mp_dbl): Likewise.
19447 (__dbl_mp): Likewise.
19448 (add_magnitudes): Likewise.
19449 (sub_magnitudes): Likewise.
19455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19459 (denorm): Likewise.
19460 (__mp_dbl): Likewise.
19461 (__dbl_mp): Likewise.
19462 (add_magnitudes): Likewise.
19463 (sub_magnitudes): Likewise.
19470 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19472 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19473 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19474 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19475 2 && __USE_EXTERN_INLINES]: Likewise.
19477 2013-01-08 Andreas Jaeger <aj@suse.de>
19480 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19482 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19483 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19485 2013-01-07 Anton Blanchard <anton@samba.org>
19487 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19488 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19489 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19490 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19491 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19492 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19493 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19494 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19496 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19497 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19498 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19499 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19501 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19502 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19503 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19504 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19505 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19506 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19507 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19508 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19509 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19510 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19511 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19512 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19513 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19514 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19516 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19517 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19519 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19520 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19521 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19522 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19523 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19524 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19525 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19526 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19527 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19529 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19531 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19533 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19534 (__MALLOC_PMT): Likewise.
19535 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19536 [__GNUC__], only on [_LIBC].
19537 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19538 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19539 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19540 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19541 forward declaration.
19542 (realloc_hook_ini): Likewise.
19543 (memalign_hook_ini): Likewise.
19544 (__libc_memalign): Do not use __MALLOC_PMT in variable
19546 (__libc_valloc): Likewise.
19547 (__libc_pvalloc): Likewise.
19548 (__libc_calloc): Likewise.
19549 (__posix_memalign): Likewise.
19552 * math/s_casinh.c: Include <float.h>.
19553 (__casinh): Do not do computation with squaring and square root
19554 for large arguments.
19555 * math/s_casinhf.c: Include <float.h>.
19556 (__casinhf): Do not do computation with squaring and square root
19557 for large arguments.
19558 * math/s_casinhl.c: Include <float.h>.
19559 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19560 (__casinhl): Do not do computation with squaring and square root
19561 for large arguments.
19562 * math/libm-test.inc (casin_test): Add more tests.
19563 (casinh_test): Likewise.
19564 * sysdeps/i386/fpu/libm-test-ulps: Update.
19565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19567 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19569 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19570 (__x86_64_raw_data_cache_size): Likewise.
19571 (__x86_64_data_cache_size_half): Likewise.
19572 (__x86_64_raw_data_cache_size_half): Likewise.
19573 (__x86_64_shared_cache_size): Likewise.
19574 (__x86_64_raw_shared_cache_size): Likewise.
19575 (__x86_64_shared_cache_size_half): Likewise.
19576 (__x86_64_raw_shared_cache_size_half): Likewise.
19577 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19579 (__x86_data_cache_size): This.
19580 (__x86_64_raw_data_cache_size): Renamed to ...
19581 (__x86_raw_data_cache_size): This.
19582 (__x86_64_data_cache_size_half): Renamed to ...
19583 (__x86_data_cache_size_half): This.
19584 (__x86_64_raw_data_cache_size_half): Renamed to ...
19585 (__x86_raw_data_cache_size_half): This.
19586 (__x86_64_shared_cache_size): Renamed to ...
19587 (__x86_shared_cache_size): This.
19588 (__x86_64_raw_shared_cache_size): Renamed to ...
19589 (__x86_raw_shared_cache_size): This.
19590 (__x86_64_shared_cache_size_half): Renamed to ...
19591 (__x86_shared_cache_size_half): This.
19592 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19593 (__x86_raw_shared_cache_size_half): This.
19594 * sysdeps/x86_64/memcpy.S: Updated.
19595 * sysdeps/x86_64/memset.S: Likewise.
19596 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19600 2013-01-04 David S. Miller <davem@davemloft.net>
19602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19604 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19606 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19607 1 to avoid redefinition warning.
19608 (__USE_GNU): Don't define.
19609 (init_signaling_nan): Protoize.
19611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19613 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19615 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19617 (__cpymn): Likewise.
19618 (norm): Remove commented code.
19619 (denorm): Likewise.
19620 (__mp_dbl): Likewise.
19622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19623 (__cpymn): Likewise.
19624 (norm): Remove commented code.
19625 (denorm): Likewise.
19626 (__mp_dbl): Likewise.
19629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19630 mp_no value for 1.0 and 2.0.
19631 (norm): Use RADIXI instead of radixi.d.
19632 (denorm): Likewise.
19633 (__mul): Use 0.0 instead of zero.d.
19634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19635 mp_no value for 1.0 and 2.0.
19636 (norm): Use RADIXI instead of radixi.d.
19637 (denorm): Likewise.
19638 (__mul): Use 0.0 instead of zero.d.
19640 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19643 * math/s_casinh.c (__casinh): Reduce finite argument to first
19644 quadrant then set signs of results at the end.
19645 * math/s_casinhf.c (__casinhf): Likewise.
19646 * math/s_casinhl.c (__casinhl): Likewise.
19647 * math/libm-test.inc (casin_test): Add more tests.
19648 (casinh_test): Likewise.
19649 * sysdeps/i386/fpu/libm-test-ulps: Update.
19650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19652 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19654 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19656 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19658 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19660 (denorm): Likewise.
19661 (__mp_dbl): Likewise.
19664 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19665 and adjust the header comment.
19667 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19668 variable name from declaration.
19670 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19673 Initialize COMMON_CPUID_INDEX_7 element.
19674 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19675 (CPUID_RTM): Likewise.
19676 (HAS_RTM): Likewise.
19677 (COMMON_CPUID_INDEX_7): New enum.
19679 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19682 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19683 size is zero, record memory as freed.
19685 2013-01-03 Andreas Jaeger <aj@suse.de>
19687 * po/ia.po: Add new Interlingua translation.
19689 2012-01-03 Allan McRae <allan@archlinux.org>
19691 * locale/programs/localedef.c: Fix description of '--posix' flag.
19693 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19695 * NEWS: Update dates in second copyright notice.
19696 * README: Update copyright dates in example.
19697 * manual/libc.texinfo: Update copyright dates.
19698 * scripts/test-installation.pl: Update copyright date in --version
19701 * hurd/ctty-input.c: Fix copyright notice formatting.
19702 * hurd/ctty-output.c: Likewise.
19703 * hurd/dtable.c: Likewise.
19704 * hurd/hurd-raise.c: Likewise.
19705 * hurd/hurdprio.c: Likewise.
19706 * hurd/msgportdemux.c: Likewise.
19707 * misc/sys/file.h: Likewise.
19708 * misc/sys/ioctl.h: Likewise.
19709 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19710 * sysdeps/mach/hurd/chdir.c: Likewise.
19711 * sysdeps/mach/hurd/fchdir.c: Likewise.
19712 * sysdeps/mach/hurd/rename.c: Likewise.
19713 * sysdeps/mach/hurd/rmdir.c: Likewise.
19714 * sysdeps/mach/hurd/seekdir.c: Likewise.
19715 * sysdeps/mach/hurd/setsid.c: Likewise.
19716 * sysdeps/posix/wait3.c: Likewise.
19718 * All files with FSF copyright notices: Update copyright dates
19719 using scripts/update-copyrights.
19720 * intl/plural.c: Regenerated.
19721 * locale/programs/charmap-kw.h: Likewise.
19722 * locale/programs/locfile-kw.h: Likewise.
19724 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19726 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19729 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19730 calculation loop and add branch prediction.
19732 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19733 check access beyond bounds of m1np.
19735 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19737 (__inv): Remove local variable MPTWO to use the global
19739 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19740 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19742 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19743 MP3HALFS static const.
19745 2013-01-01 David S. Miller <davem@davemloft.net>
19747 * po/ca.po: Update from translation team.
19749 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19751 * scripts/update-copyrights: New file.
19752 * Makeconfig: Reformat copyright notice.
19753 * ctype/ctype.h: Likewise.
19754 * debug/swprintf_chk.c: Likewise.
19755 * elf/dl-cache.c: Likewise.
19756 * elf/dl-debug.c: Likewise.
19757 * elf/dl-object.c: Likewise.
19758 * grp/initgroups.c: Likewise.
19759 * hurd/Makefile: Likewise.
19760 * hurd/hurd/signal.h: Likewise.
19761 * hurd/hurdfault.c: Likewise.
19762 * hurd/hurdioctl.c: Likewise.
19763 * hurd/hurdlookup.c: Likewise.
19764 * hurd/intr-msg.c: Likewise.
19765 * iconv/gconv_open.c: Likewise.
19766 * libio/swprintf.c: Likewise.
19767 * locale/lc-ctype.c: Likewise.
19768 * locale/nl_langinfo.c: Likewise.
19769 * mach/Machrules: Likewise.
19770 * mach/Makefile: Likewise.
19771 * malloc/obstack.h: Likewise.
19772 * manual/Makefile: Likewise.
19773 * manual/tsort.awk: Likewise.
19774 * misc/bits/stab.def: Likewise.
19775 * nis/nis_print_group_entry.c: Likewise.
19776 * nis/nis_table.c: Likewise.
19777 * nis/nss_compat/compat-pwd.c: Likewise.
19778 * nis/nss_compat/compat-spwd.c: Likewise.
19779 * po/Makefile: Likewise.
19780 * posix/fnmatch.c: Likewise.
19781 * posix/regex.h: Likewise.
19782 * resolv/Makefile: Likewise.
19783 * resolv/nss_dns/dns-network.c: Likewise.
19784 * resolv/res_hconf.c: Likewise.
19785 * scripts/gen-sorted.awk: Likewise.
19786 * soft-fp/soft-fp.h: Likewise.
19787 * stdio-common/printf.h: Likewise.
19788 * stdlib/monetary.h: Likewise.
19789 * stdlib/random.c: Likewise.
19790 * stdlib/random_r.c: Likewise.
19791 * sysdeps/generic/Makefile: Likewise.
19792 * sysdeps/gnu/Makefile: Likewise.
19793 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19795 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19800 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19801 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19803 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19804 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19805 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19806 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19807 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19808 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19809 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19810 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19811 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19813 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19814 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19815 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19817 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19818 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19821 * sysdeps/mach/hurd/errnos.awk: Likewise.
19822 * sysdeps/mach/hurd/fork.c: Likewise.
19823 * sysdeps/mach/hurd/getcwd.c: Likewise.
19824 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19825 * sysdeps/mach/hurd/mmap.c: Likewise.
19826 * sysdeps/mach/hurd/utimes.c: Likewise.
19827 * sysdeps/mach/hurd/xmknod.c: Likewise.
19828 * sysdeps/posix/profil.c: Likewise.
19829 * sysdeps/posix/readdir_r.c: Likewise.
19830 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19831 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19832 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19833 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19835 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19836 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19837 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19839 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19840 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19841 * sysdeps/pthread/lio_listio.c: Likewise.
19842 * sysdeps/sparc/dl-procinfo.h: Likewise.
19843 * sysdeps/unix/i386/sysdep.S: Likewise.
19844 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19845 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19846 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19847 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19849 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19850 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19851 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19852 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19853 * sysdeps/wordsize-32/divdi3.c: Likewise.
19854 * time/sys/time.h: Likewise.
19855 * wcsmbs/Makefile: Likewise.
19857 2013-01-01 David S. Miller <davem@davemloft.net>
19859 * po/fr.po: Update from translation team.
19861 * catgets/gencat.c: Update copyright year.
19862 * csu/version.c: Likewise.
19863 * debug/catchsegv.sh: Likewise.
19864 * debug/pcprofiledump.c: Likewise.
19865 * debug/xtrace.sh: Likewise.
19866 * elf/ldconfig.c: Likewise.
19867 * elf/ldd.bash.in: Likewise.
19868 * elf/pldd.c: Likewise.
19869 * elf/sotruss.ksh: Likewise.
19870 * elf/sprof.c: Likewise.
19871 * iconv/iconv_prog.c: Likewise.
19872 * iconv/iconvconfig.c: Likewise.
19873 * locale/programs/locale.c: Likewise.
19874 * locale/programs/localedef.c: Likewise.
19875 * login/programs/pt_chown.c: Likewise.
19876 * malloc/memusage.sh: Likewise.
19877 * malloc/memusagestat.c: Likewise.
19878 * malloc/mtrace.pl: Likewise.
19879 * nscd/nscd.c: Likewise.
19880 * nss/getent.c: Likewise.
19881 * nss/makedb.c: Likewise.
19882 * posix/getconf.c: Likewise.
19884 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19886 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19889 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19891 * math/bits/mathcalls.h (modf): Use __nonnull.
19893 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19895 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19896 (split): Use macro CN instead of the bare value.
19897 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19900 instead of the bare value.
19901 (power1): Likewise.
19903 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19907 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19909 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19911 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19912 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19913 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19914 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19916 2012-12-28 Andreas Jaeger <aj@suse.de>
19918 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19919 values are from Linux 3.7.
19921 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19922 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19924 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19926 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19929 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19931 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19932 variables with preprocessor constants.
19933 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19934 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19935 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19937 2012-12-27 Bruno Haible <bruno@clisp.org>
19940 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19943 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19946 and use variable directly.
19947 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19949 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19951 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19954 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19956 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19957 include directive. Remove local variable MPONE.
19958 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19959 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19960 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19962 2012-12-25 David S. Miller <davem@davemloft.net>
19964 * version.h (RELEASE): Set to "development".
19965 (VERSION): Set to "2.17.90".
19966 * NEWS: Add 2.18 section.
19968 2012-12-21 David S. Miller <davem@davemloft.net>
19970 * po/hr.po: Update from translation team.
19972 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19974 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19976 2012-12-19 Steve Ellcey <sellcey@mips.com>
19978 * NEWS: Mention new memcpy for MIPS.
19980 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19982 * manual/contrib.texi (Contributors): Spelling correction.
19984 2012-12-15 David S. Miller <davem@davemloft.net>
19986 * po/ru.po: Update from translation team.
19988 2012-12-13 David S. Miller <davem@davemloft.net>
19990 * NEWS: Mention IFUNC testsuite enhancements.
19992 * po/pl.po: Update from translation team.
19993 * po/bg.po: Likewise.
19995 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19996 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19998 2012-12-11 David S. Miller <davem@davemloft.net>
20000 * po/sv.po: Update from translation team.
20002 * po/vi.po: Update from translation team.
20004 * po/cs.po: Update from translation team.
20006 * po/de.po: Update from translation team.
20007 * po/eo.po: Likewise.
20008 * po/nl.po: Likewise.
20010 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20013 * manual/argp.texi (Argp Helper Functions): Move node to follow
20014 Argp Parsing State.
20017 * manual/conf.texi (Limits on File System Capacity): Mention if
20018 terminating null is included in the max size.
20020 2012-12-10 Andreas Jaeger <aj@suse.de>
20022 * po/cs.po: Update from translation team.
20024 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20026 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20027 void pointer and cast to uintptr_t.
20028 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20030 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20031 * sysdeps/s390/s390-64/memset.S: Likewise.
20033 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20036 * menual/message.texi (Message Translation): Fix typos.
20037 (Helper programs for gettext): Likewise.
20039 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20042 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20045 2012-12-07 David S. Miller <davem@davemloft.net>
20047 * po/libc.pot: Update.
20049 2012-12-07 Richard Henderson <rth@redhat.com>
20052 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20053 normal/normal case to before the switch.
20054 (_FP_DIV): Likewise.
20056 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20057 Mike Frysinger <vapier@gentoo.org>
20059 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20060 check for __NR_fadvise64_64.
20062 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20064 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20065 0, not just to plain "0" as a statement.
20066 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20069 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20071 * NEWS: Use sourceware.org in Bugzilla URL.
20073 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20076 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20078 * stdio-common/tst-put-error.c (do_test): Add newline to the
20079 padded test to ensure flush.
20081 2012-12-05 Jeff Law <law@redhat.com>
20083 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20085 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20087 * README: Don't refer to ports add-on as distributed separately.
20088 Mention AArch64 in list of systems supported in the ports add-on.
20090 * LICENSES: Add more non-FSF copyright and license notices.
20092 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20095 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20097 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20098 10000 as width of padded output.
20100 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20102 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20104 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20105 variable LX with __attribute__ ((unused)).
20106 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20108 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20109 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20110 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20111 with __attribute__ ((unused)).
20113 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20115 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20117 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20119 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20120 (CFLAGS-nldbl-acos.c): New variable.
20121 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20140 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20141 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20142 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20143 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20144 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20145 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20146 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20147 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20148 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20149 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20150 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20151 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20152 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20153 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20154 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20155 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20156 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20157 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20158 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20159 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20160 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20161 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20162 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20163 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20164 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20165 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20166 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20167 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20168 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20169 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20170 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20171 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20172 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20173 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20174 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20175 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20176 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20177 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20178 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20179 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20180 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20181 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20182 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20183 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20184 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20185 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20186 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20187 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20188 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20189 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20190 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20191 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20192 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20193 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20194 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20195 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20196 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20197 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20198 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20199 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20200 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20201 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20202 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20203 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20204 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20205 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20206 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20207 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20208 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20209 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20210 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20211 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20212 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20213 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20214 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20215 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20216 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20217 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20220 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20224 whole low double instead of just low 47 bits when splitting values
20227 2012-12-03 Allan McRae <allan@archlinux.org>
20229 * manual/stdio.texi (Predefined Printf Handlers): Remove
20230 @hsep and @vsep usage.
20232 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20234 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20235 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20237 2012-12-03 Jeff Law <law@redhat.com>
20239 * time/sys/time.h (settimeofday): Do not mark TV argument
20242 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20244 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20245 when currently writing and seek to current position when not.
20246 * libio/Makefile (tests): Remove bug-fclose1.
20247 * libio/bug-fclose1.c: Delete.
20249 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20251 * manual/arith.texi (feenableexcept): Fix typo.
20252 (fedisableexcept): Likewise.
20254 2012-11-30 Roland McGrath <roland@hack.frob.com>
20256 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20257 second, differently-typed declaration, rather than a cast.
20259 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20261 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20262 * include/rpc/svc.h: ... here.
20264 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20267 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20268 depending n and resplen2 to catch cases where answer
20271 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20273 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20274 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20276 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20278 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20280 2012-11-29 Roland McGrath <roland@hack.frob.com>
20282 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20284 2012-11-28 Jeff Law <law@redhat.com>
20287 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20288 dataset_temporary. Track alloca usage into alloca_used.
20289 If dataset is large allocate and release it via malloc/free.
20291 2012-06-04 Florian Weimer <fweimer@redhat.com>
20294 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20296 2012-11-28 David S. Miller <davem@davemloft.net>
20298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20300 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20303 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20304 of pi/2 rounded to nearest to 64 bits.
20305 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20306 nearest to 64 bits.
20307 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20310 2012-11-28 Jeff Law <law@redhat.com>
20311 Martin Osvald <mosvald@redhat.com>
20314 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20315 * sunrpc/svc.c: Include time.h.
20316 (__svc_accept_failed): New function.
20317 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20318 any reason other than EINTR, call __svc_accept_failed.
20319 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20320 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20322 2012-11-28 Andreas Schwab <schwab@suse.de>
20324 * scripts/abilist.awk: Also handle indirect functions in .opd
20327 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20330 * sysdeps/x86/fpu/powl_helper.c: New file.
20331 * sysdeps/x86/fpu/Makefile: Likewise.
20332 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20334 (__ieee754_powl): Use __powl_helper for finite arguments except
20335 integer exponents below 8.
20336 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20338 (__ieee754_powl): Use __powl_helper for finite arguments except
20339 integer exponents below 8.
20340 * math/libm-test.inc (pow_test): Add more tests and enable some
20341 previously disabled tests.
20342 * sysdeps/i386/fpu/libm-test-ulps: Update.
20343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20345 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20346 Carlos O'Donell <carlos_odonell@mentor.com>
20348 * nss/makedb.c (is_prime): Assert that input is odd and greater
20349 than 4. Note that fact in a comment too.
20350 (next_prime): Add 4 to input.
20352 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20355 * libio/Makefile (tests): Add test case tst-fwrite-error.
20356 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20357 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20358 * libio/tst-fwrite-error.c: New test case.
20360 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20362 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20363 before casting to void *.
20364 * include/libc-internal.h (__pointer_type): New macro.
20365 (__integer_if_pointer_type_sub): Likewise.
20366 (__integer_if_pointer_type): Likewise.
20367 (cast_to_integer): Likewise.
20368 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20369 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20370 before casting to atomic64_t.
20371 (atomic_exchange_acq): Likewise.
20372 (__arch_exchange_and_add_body): Likewise.
20373 (__arch_add_body): Likewise.
20374 (atomic_add_negative): Likewise.
20375 (atomic_add_zero): Likewise.
20377 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20379 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20380 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20381 (add_fdes): Likewise.
20382 (linear_search_fdes): Likewise.
20383 (binary_search_unencoded_fdes): Likewise.
20385 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20387 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20389 2012-11-24 Adam Conrad <adconrad@0c3.net>
20391 * configure.in: Autodetect C++ header directories.
20392 * configure: Regenerated.
20394 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20396 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20398 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20402 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20404 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20405 LDBL_MANT_DIG == 106]: Disable some tests.
20406 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20408 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20413 input for small inputs. Return +/- pi/2 for large inputs.
20414 * math/libm-test.inc (atan_test): Add more tests.
20416 * sysdeps/generic/unwind-dw2-fde-glibc.c
20417 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20418 __attribute__ ((unused)).
20421 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20422 x * y if x and y are nonzero and z is zero.
20425 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20426 nonzero exponents with absolute value below 0x1p-117 to +/-
20430 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20431 up arguments below 2**-450, not just those below 2**-500.
20432 * math/libm-test.inc (hypot_test): Add another test.
20435 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20436 Return a+b for ratio over 2**120, not 2**60.
20437 * math/libm-test.inc (hypot_test): Add another test.
20439 * math/libm-test.inc (clog_test): Use
20440 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20441 (clog10_test): Likewise.
20444 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20446 2012-11-22 Andreas Schwab <schwab@suse.de>
20448 * sysdeps/i386/fpu/libm-test-ulps: Update.
20450 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20452 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20453 printf output with newline.
20455 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20458 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20459 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20460 -z nodlopen, -z initfirst and -z execstack support.
20461 * configure: Regenerated.
20463 * elf/elf.h (DF_1_NODIRECT): New macro.
20464 (DF_1_IGNMULDEF): Likewise.
20465 (DF_1_NOKSYMS): Likewise.
20466 (DF_1_NOHDR): Likewise.
20467 (DF_1_EDITED): Likewise.
20468 (DF_1_NORELOC): Likewise.
20469 (DF_1_SYMINTPOSE): Likewise.
20470 (DF_1_GLOBAUDIT): Likewise.
20471 (DF_1_SINGLETON): Likewise.
20472 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20473 DT_1_SUPPORTED_MASK bits.
20474 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20476 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20478 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20480 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20482 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20485 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20486 (sendmmsg): Move declarations...
20487 * socket/sys/socket.h: ... here.
20488 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20489 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20491 * socket/recvmmsg.c: ... this new file.
20492 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20493 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20494 definition of __sendmmsg hidden.
20495 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20496 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20497 Move ENOSYS stub into and include it from...
20498 * socket/sendmmsg.c: ... this new file.
20499 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20500 (sysdep_routines): Move recvmmsg and sendmmsg...
20501 * socket/Makefile (routines): ... here.
20502 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20503 (GLIBC_PRIVATE): Add __sendmmsg.
20504 * include/sys/socket.h (__sendmmsg): Add declarations.
20505 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20508 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20510 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20511 variable I1 with __attribute__ ((unused)).
20512 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20514 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20516 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20517 DUMMY variables with __attribute__ ((unused)).
20519 * bits/byteswap.h: Include <bits/types.h>.
20520 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20522 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20524 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20525 string_t. Do not manually set errno.
20526 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20527 length with __strnlen. Make sure to both set errno and return it on
20530 2012-11-19 David S. Miller <davem@davemloft.net>
20532 With help from Joseph Myers.
20533 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20534 very large arguments properly.
20535 * math/libm-test.inc (atan_test): New tests.
20536 (atan2_test): New tests.
20537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20540 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20543 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20546 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20547 [POSIX] (EADDRNOTAVAIL): Likewise.
20548 [POSIX] (EAFNOSUPPORT): Likewise.
20549 [POSIX] (EALREADY): Likewise.
20550 [POSIX] (ECONNABORTED): Likewise.
20551 [POSIX] (ECONNREFUSED): Likewise.
20552 [POSIX] (ECONNRESET): Likewise.
20553 [POSIX] (EDESTADDRREQ): Likewise.
20554 [POSIX] (EDQUOT): Likewise.
20555 [POSIX] (EHOSTUNREACH): Likewise.
20556 [POSIX] (EIDRM): Likewise.
20557 [POSIX] (EISCONN): Likewise.
20558 [POSIX] (ELOOP): Likewise.
20559 [POSIX] (EMULTIHOP): Likewise.
20560 [POSIX] (ENETDOWN): Likewise.
20561 [POSIX] (ENETUNREACH): Likewise.
20562 [POSIX] (ENOBUFS): Likewise.
20563 [POSIX] (ENODATA): Likewise.
20564 [POSIX] (ENOLINK): Likewise.
20565 [POSIX] (ENOMSG): Likewise.
20566 [POSIX] (ENOPROTOOPT): Likewise.
20567 [POSIX] (ENOSR): Likewise.
20568 [POSIX] (ENOSTR): Likewise.
20569 [POSIX] (ENOTCONN): Likewise.
20570 [POSIX] (ENOTSOCK): Likewise.
20571 [POSIX] (EOPNOTSUPP): Likewise.
20572 [POSIX] (EOVERFLOW): Likewise.
20573 [POSIX] (EPROTO): Likewise.
20574 [POSIX] (EPROTONOSUPPORT): Likewise.
20575 [POSIX] (EPROTOTYPE): Likewise.
20576 [POSIX] (ESTALE): Likewise.
20577 [POSIX] (ETIME): Likewise.
20578 [POSIX] (ETXTBSY): Likewise.
20579 [POSIX] (EWOULDBLOCK): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20581 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20582 [POSIX] (SEEK_CUR): Likewise.
20583 [POSIX] (SEEK_END): Likewise.
20584 [POSIX || UNIX98] (mode_t): Do not require.
20585 [POSIX] (off_t): Likewise.
20586 [POSIX] (pid_t): Likewise.
20587 [POSIX] (sys/stat.h): Do not allow header.
20588 [POSIX] (unistd.h): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20590 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20592 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20594 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20595 sigevent): Specify elements.
20596 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20598 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20599 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20601 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20602 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20603 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20604 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20605 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20606 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20607 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20608 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20610 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20611 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20612 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20613 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20614 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20616 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20618 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20620 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20622 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20623 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20624 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20625 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20626 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20627 Specify lower bound on value.
20628 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20629 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20630 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20631 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20632 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20633 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20634 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20635 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20637 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20639 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20640 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20641 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20642 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20643 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20644 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20645 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20646 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20647 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20648 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20649 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20650 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20651 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20652 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20653 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20654 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20656 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20658 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20659 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20660 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20661 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20662 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20663 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20665 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20666 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20667 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20668 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20669 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20670 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20671 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20673 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20674 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20675 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20676 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20677 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20678 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20679 specify as optional.
20680 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20681 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20682 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20683 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20684 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20685 [XPG3] (NL_LANGMAX): Likewise.
20686 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20687 [POSIX || XPG3] (NL_NMAX): Likewise.
20688 [POSIX || XPG3] (NL_SETMAX): Likewise.
20689 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20690 [XPG3] (NZERO): Likewise.
20691 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20692 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20693 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20694 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20695 (REG_ERANGE): Expect.
20696 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20698 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20699 Use (void) in prototype.
20700 [POSIX] (*_t): Allow.
20701 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20702 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20703 (WRDE_BADVAL): Expect.
20705 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20707 [XPG3 || XPG4] (O_RSYNC): Likewise.
20708 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20710 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20711 [XPG3 || XPG4] (sigqueue): Likewise.
20712 [XPG3 || XPG4] (sigtimedwait): Likewise.
20713 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20714 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20715 [XPG3 || XPG4] (vsnprintf): Likewise.
20716 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20718 [XPG3 || XPG4] (blksize_t): Likewise.
20719 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20721 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20722 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20723 [XPG3 || XPG4] (struct itimerspec): Likewise.
20724 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20725 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20726 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20727 [XPG3 || XPG4] (clockid_t): Likewise.
20728 [XPG3 || XPG4] (timer_t): Likewise.
20729 [XPG3 || XPG4] (clock_getres): Likewise.
20730 [XPG3 || XPG4] (clock_gettime): Likewise.
20731 [XPG3 || XPG4] (clock_settime): Likewise.
20732 [XPG3 || XPG4] (nanosleep): Likewise.
20733 [XPG3 || XPG4] (timer_create): Likewise.
20734 [XPG3 || XPG4] (timer_delete): Likewise.
20735 [XPG3 || XPG4] (timer_gettime): Likewise.
20736 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20737 [XPG3 || XPG4] (timer_settime): Likewise.
20738 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20739 [XPG3 || XPG4] (getlogin_r): Likewise.
20740 [XPG3 || XPG4] (pread): Likewise.
20741 [XPG3 || XPG4] (pthread_atfork): Likewise.
20742 [XPG3 || XPG4] (pwrite): Likewise.
20745 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20748 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20750 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20751 finalizing MALLSTREAM.
20753 * sysdeps/mach/hurd/syncfs.c: New file.
20755 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20758 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20759 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20760 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20761 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20762 (_nss_dns_gethostbyname4_r): Likewise.
20763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20764 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20766 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20769 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20771 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20773 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20774 * elf/cache.c (print_entry): Print ",AArch64" for
20777 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20778 * elf/cache.c (print_entry): Print ",hard-float" for
20781 2012-11-18 David S. Miller <davem@davemloft.net>
20783 With help from Joseph Myers.
20784 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20786 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20788 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20789 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20791 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20792 * math/libm-test.inc (y0_test): New tests.
20793 (y1_test): New tests.
20794 * sysdeps/i386/fpu/libm-test-ulps: Update.
20795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20798 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20800 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20802 * configure: Regenerated.
20804 2012-11-17 David S. Miller <davem@davemloft.net>
20807 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20808 nonzero exponents with absolute value below 0x1p-128 to +/-
20811 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20813 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20815 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20817 * posix/getconf-speclist.c: New file.
20818 * posix/posix-envs.def: Likewise.
20819 * posix/confstr.c (START_ENV_GROUP): New macro.
20820 (END_ENV_GROUP): Likewise.
20821 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20822 (KNOWN_PRESENT_ENV_STRING): Likewise.
20823 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20824 (UNKNOWN_ENVIRONMENT): Likewise.
20825 (confstr): Include posix-envs.def instead of handling
20826 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20827 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20828 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20829 (END_ENV_GROUP): Likewise.
20830 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20831 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20832 (UNKNOWN_ENVIRONMENT): Likewise.
20833 (__sysconf): Include posix-envs.def instead of handling associated
20834 cases directly here.
20835 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20836 preprocessing getconf-speclist.c rather than running getconf or
20837 generating empty file.
20839 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20841 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20843 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20846 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20848 2012-11-16 David S. Miller <davem@davemloft.net>
20850 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20851 smaller than LDBL_EPSILON/2.0L, just return xm1.
20853 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20855 * elf/tst-array1.c (init): Set constructor priority to 1000.
20856 (fini): Set destructor priority to 1000.
20857 * elf/tst-array2dep.c: Likewise.
20859 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20862 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20863 (_IO_new_file_xsputn): Also return EOF if none of the input
20864 data was written when overflow failed.
20865 * libio/iopadn.c (_IO_padn): Likewise.
20866 * libio/iowpadn.c (_IO_wpadn): Likewise.
20867 * stdio-common/tst-put-error.c: Add copyright notice.
20868 (do_test): Add case for printing padded string.
20869 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20870 _IO_padn returned error.
20871 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20872 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20875 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20877 * libio/libioP.h: Add comment note that the references to C++
20878 bits are now obsolete.
20880 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20882 * math/libm-test.inc (check_complex): Use asprintf.
20884 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20886 * debug/pcprofiledump.c (print_version): Update copyright year.
20887 * malloc/memusagestat.c (print_version): Likewise.
20889 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20892 * elf/Makefile (tests): Add tst-audit8.
20893 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20894 ($(objpfx)tst-audit8.out): New target.
20895 (tst-audit8-ENV): New variable.
20896 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20897 audit if l_reloc_result is NULL.
20898 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20899 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20900 * elf/tst-audit8.c: New file.
20902 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20904 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20905 * misc/Makefile (CFLAGS-select.c): Define.
20906 * posix/Makefile (CFLAGS-pause.c): Define.
20908 2012-11-13 David S. Miller <davem@davemloft.net>
20910 * crypt/Makefile: Move test targets after toplevel Rules
20911 inclusion. Grab any necessary sysdep routines when linking.
20912 * crypt/md5.c (md5_process_block): Remove define, we will always
20913 name it __md5_process_block.
20914 (md5_finish_ctx): Update md5_process_block call.
20915 (md5_stream): Likewise.
20916 (md5_process_bytes): Likewise.
20917 (md5_process_block): Rename to __md5_process_block and move to ...
20918 * crypt/md5-block.c: ... here.
20919 * crypt/sha256.c (sha256_process_block): Move to ...
20920 * crypt/sha256-block.c: ... here.
20921 * crypt/sha512.c (sha512_process_block): Move to ...
20922 * crypt/sha512-block.c: ... here.
20923 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20925 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20926 * sysdeps/sparc/sparc64/multiarch/Makefile
20927 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20929 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20930 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20932 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20933 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20934 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20935 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20936 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20937 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20938 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20939 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20942 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20943 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20945 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20947 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20949 * timezone/tzselect.ksh: Update from tzcode git revision
20950 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20951 * timezone/zdump.c: Likewise.
20952 * timezone/zic.c: Likewise.
20953 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20954 in TZVERSION setting, not $(PKGVERSION).
20955 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20956 REPORT_BUGS_TO settings.
20959 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20962 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20964 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20965 detection to immediately after _FP_ROUND().
20966 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20969 2012-11-11 David S. Miller <davem@davemloft.net>
20971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20973 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20974 __close rather than their public counterparts.
20976 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20978 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20980 [UNIX98] (sem_timedwait): Do not expect.
20981 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20982 [XPG4 || UNIX98] (sockatmark): Do not expect.
20983 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20984 (clock_getcpuclockid): Do not expect.
20985 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20986 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20988 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20989 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20990 [UNIX98] (vwscanf): Likewise.
20991 [UNIX98] (vswscanf): Likewise.
20993 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20995 * timezone/version.h: Remove file.
20996 * timezone/README: Do not refer to version.h.
20997 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20998 $(objpfx)version.h.
20999 ($(objpfx)zdump.o): Likewise.
21000 ($(objpfx)version.h): New target.
21002 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21004 * timezone/README: Don't mention modification to tzselect.ksh.
21005 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21006 work on unmodified tzselect.ksh. Substitute version numbers in
21009 * Makefile (format-me): Remove.
21010 (INSTALL): Adjust indentation. Use commands directly instead of
21011 using $(format-me).
21013 * aclocal.m4 (ACX_PKGVERSION): New macro.
21014 (ACX_BUGURL): Likewise.
21015 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21016 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21017 (REPORT_BUGS_TO): Likewise.
21018 * configure: Regenerated.
21019 * config.h.in (PKGVERSION): New macro.
21020 (REPORT_BUGS_TO): Likewise.
21021 * config.make.in (PKGVERSION): New variable.
21022 (PKGVERSION_TEXI): Likewise.
21023 (REPORT_BUGS_TO): Likewise.
21024 (REPORT_BUGS_TEXI): Likewise.
21025 * Makefile (format-me): Use -I$(common-objpfx)manual.
21026 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21027 ($(common-objpfx)manual/%): New target.
21028 (manual/%): Remove target.
21029 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21030 (print_version): Use PKGVERSION.
21031 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21032 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21033 and REPORT_BUGS_TO.
21034 ($(objpfx)xtrace): Likewise.
21035 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21036 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21037 (print_version): Use PKGVERSION.
21038 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21039 (do_version): Use PKGVERSION.
21040 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21042 (common-ldd-rewrite): Likewise.
21043 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21044 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21045 (print_version): Use PKGVERSION.
21046 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21047 * elf/pldd.c (argp_program_bug_address): Remove variable.
21048 (more_help): New function.
21049 (argp): Use more_help.
21050 (print_version): Use PKGVERSION.
21051 * elf/sln.c (main): Use PKGVERSION.
21052 (usage): Use REPORT_BUGS_TO.
21053 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21054 (top level): Use PKGVERSION.
21055 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21056 (print_version): Use PKGVERSION.
21057 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21058 (print_version): Use PKGVERSION.
21059 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21060 (print_version): Use PKGVERSION.
21061 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21062 (print_version): Use PKGVERSION.
21063 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21064 (print_version): Use PKGVERSION.
21065 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21066 (print_version): Use PKGVERSION.
21067 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21069 ($(objpfx)memusage): Likewise.
21070 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21071 (do_version): Use PKGVERSION.
21072 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21073 (print_version): Use PKGVERSION.
21074 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21075 ($PKGVERSION): New variable.
21076 ($REPORT_BUGS_TO): Likewise.
21077 (usage): Use $REPORT_BUGS_TO.
21078 (top level): Use $PKGVERSION.
21079 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21080 ($(objpfx)pkgvers.texi): New rule.
21081 ($(objpfx)stamp-pkgvers): Likewise.
21082 * manual/install.texi: Include pkgvers.texi.
21083 (--with-pkgversion): Document new configure option.
21084 (--with-bugurl): Likewise.
21085 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21086 than necessarily for this particular distribution. Use
21087 REPORT_BUGS_TO for where to report bugs.
21088 * INSTALL: Regenerated.
21089 * manual/libc.texinfo: Include pkgvers.texi.
21090 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21091 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21092 (print_version): Use PKGVERSION.
21093 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21094 (print_version): Use PKGVERSION.
21095 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21096 (print_version): Use PKGVERSION.
21097 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21098 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21100 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21101 (print_version): Use PKGVERSION.
21102 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21103 (print_version): Use PKGVERSION.
21104 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21107 * timezone/checktab.awk: Update from tzcode 2012i.
21108 * timezone/ialloc.c: Likewise.
21109 * timezone/private.h: Likewise.
21110 * timezone/scheck.c: Likewise.
21111 * timezone/tzfile.h: Likewise.
21112 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21113 (TZVERSION): Hardcode tzcode version number.
21114 * timezone/zdump.c: Update from tzcode 2012i.
21115 * timezone/zic.c: Likewise.
21116 * timezone/version.h: New file.
21117 * timezone/README: Describe version.h. Update upstream location.
21120 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21121 (mktemp): Enable declaration.
21122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21139 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21140 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21141 for copies of such integer values.
21142 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21143 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21145 2012-11-09 Andreas Jaeger <aj@suse.de>
21147 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21148 definitions and declarations that are provided by
21149 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21151 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21153 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21154 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21155 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21158 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21160 * elf/elf.h: Update comment before AArch64 relocations.
21162 2012-11-07 David S. Miller <davem@davemloft.net>
21164 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21165 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21166 (__start_context): Declare.
21167 (__makecontext_ret): Delete.
21168 (__makecontext): Hook up __start_context instead of
21170 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21171 (sysdep_routines): Add __start_context when in stdlib.
21173 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21175 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21176 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21177 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21179 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21180 (READELF): New variable. Use it instead of hardcoded "readelf".
21182 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21184 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21185 * sysdeps/x86/Makefile: Here.
21186 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21187 * sysdeps/x86/tst-xmmymm.sh: This.
21189 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21191 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21193 [UNIX98] (pthread_barrier_t): Do not expect.
21194 [UNIX98] (pthread_barrierattr_t): Likewise.
21195 [UNIX98] (pthread_spinlock_t): Likewise.
21196 [UNIX98] (pthread_barrier_destroy): Likewise.
21197 [UNIX98] (pthread_barrier_init): Likewise.
21198 [UNIX98] (pthread_barrier_wait): Likewise.
21199 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21200 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21201 [UNIX98] (pthread_barrierattr_init): Likewise.
21202 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21203 [UNIX98] (pthread_getcpuclockid): Likewise.
21204 [UNIX98] (pthread_mutex_timedlock): Likewise.
21205 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21206 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21207 [UNIX98] (pthread_sigmask): Likewise.
21208 [UNIX98] (pthread_spin_destroy): Likewise.
21209 [UNIX98] (pthread_spin_init): Likewise.
21210 [UNIX98] (pthread_spin_lock): Likewise.
21211 [UNIX98] (pthread_spin_trylock): Likewise.
21212 [UNIX98] (pthread_spin_unlock): Likewise.
21213 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21215 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21216 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21217 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21218 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21219 [XPG3 || XPG4] (pthread_key_t): Likewise.
21220 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21221 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21222 [XPG3 || XPG4] (pthread_once_t): Likewise.
21223 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21224 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21225 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21226 [XPG3 || XPG4] (pthread_t): Likewise.
21228 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21230 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21232 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21233 Change function return type to int.
21235 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21236 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21237 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21238 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21239 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21240 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21241 [!POSIX] (posix_madvise): Likewise.
21242 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21244 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21245 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21246 (mode_t): Likewise.
21247 (posix_mem_offset): Likewise.
21248 (posix_typed_mem_get_info): Likewise.
21249 (posix_typed_mem_open): Likewise.
21251 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21252 Change condition to [XOPEN2K8].
21254 * conform/conformtest.pl: Preprocess allow-header data with -x c
21255 instead of from stdin.
21256 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21257 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21258 [C99-based standards] (cerfc): Likewise.
21259 [C99-based standards] (cexp2): Likewise.
21260 [C99-based standards] (cexpm1): Likewise.
21261 [C99-based standards] (clog10): Likewise.
21262 [C99-based standards] (clog1p): Likewise.
21263 [C99-based standards] (clog2): Likewise.
21264 [C99-based standards] (clgamma): Likewise.
21265 [C99-based standards] (ctgamma): Likewise.
21266 [C99-based standards] (cerff): Likewise.
21267 [C99-based standards] (cerfcf): Likewise.
21268 [C99-based standards] (cexp2f): Likewise.
21269 [C99-based standards] (cexpm1f): Likewise.
21270 [C99-based standards] (clog10f): Likewise.
21271 [C99-based standards] (clog1pf): Likewise.
21272 [C99-based standards] (clog2f): Likewise.
21273 [C99-based standards] (clgammaf): Likewise.
21274 [C99-based standards] (ctgammaf): Likewise.
21275 [C99-based standards] (cerfl): Likewise.
21276 [C99-based standards] (cerfcl): Likewise.
21277 [C99-based standards] (cexp2l): Likewise.
21278 [C99-based standards] (cexpm1l): Likewise.
21279 [C99-based standards] (clog10l): Likewise.
21280 [C99-based standards] (clog1pl): Likewise.
21281 [C99-based standards] (clog2l): Likewise.
21282 [C99-based standards] (clgammal): Likewise.
21283 [C99-based standards] (ctgammal): Likewise.
21284 * conform/data/inttypes.h-data [C99-based standards]: Include
21285 stdint.h-data. Remove all expectations for stdint.h contents.
21286 [C99-based standards] (PRI*): Do not allow.
21287 [C99-based standards] (SCN*): Likewise.
21288 [C99-based standards] (*_t): Likewise.
21289 [C99-based-standards] (PRId8): Expect macro.
21290 [C99-based-standards] (PRIi8): Likewise.
21291 [C99-based-standards] (PRIo8): Likewise.
21292 [C99-based-standards] (PRIu8): Likewise.
21293 [C99-based-standards] (PRIx8): Likewise.
21294 [C99-based-standards] (PRIX8): Likewise.
21295 [C99-based-standards] (SCNd8): Likewise.
21296 [C99-based-standards] (SCNi8): Likewise.
21297 [C99-based-standards] (SCNo8): Likewise.
21298 [C99-based-standards] (SCNu8): Likewise.
21299 [C99-based-standards] (SCNx8): Likewise.
21300 [C99-based-standards] (PRIdLEAST8): Likewise.
21301 [C99-based-standards] (PRIiLEAST8): Likewise.
21302 [C99-based-standards] (PRIoLEAST8): Likewise.
21303 [C99-based-standards] (PRIuLEAST8): Likewise.
21304 [C99-based-standards] (PRIxLEAST8): Likewise.
21305 [C99-based-standards] (PRIXLEAST8): Likewise.
21306 [C99-based-standards] (SCNdLEAST8): Likewise.
21307 [C99-based-standards] (SCNiLEAST8): Likewise.
21308 [C99-based-standards] (SCNoLEAST8): Likewise.
21309 [C99-based-standards] (SCNuLEAST8): Likewise.
21310 [C99-based-standards] (SCNxLEAST8): Likewise.
21311 [C99-based-standards] (PRIdFAST8): Likewise.
21312 [C99-based-standards] (PRIiFAST8): Likewise.
21313 [C99-based-standards] (PRIoFAST8): Likewise.
21314 [C99-based-standards] (PRIuFAST8): Likewise.
21315 [C99-based-standards] (PRIxFAST8): Likewise.
21316 [C99-based-standards] (PRIXFAST8): Likewise.
21317 [C99-based-standards] (SCNdFAST8): Likewise.
21318 [C99-based-standards] (SCNiFAST8): Likewise.
21319 [C99-based-standards] (SCNoFAST8): Likewise.
21320 [C99-based-standards] (SCNuFAST8): Likewise.
21321 [C99-based-standards] (SCNxFAST8): Likewise.
21322 [C99-based-standards] (PRId16): Likewise.
21323 [C99-based-standards] (PRIi16): Likewise.
21324 [C99-based-standards] (PRIo16): Likewise.
21325 [C99-based-standards] (PRIu16): Likewise.
21326 [C99-based-standards] (PRIx16): Likewise.
21327 [C99-based-standards] (PRIX16): Likewise.
21328 [C99-based-standards] (SCNd16): Likewise.
21329 [C99-based-standards] (SCNi16): Likewise.
21330 [C99-based-standards] (SCNo16): Likewise.
21331 [C99-based-standards] (SCNu16): Likewise.
21332 [C99-based-standards] (SCNx16): Likewise.
21333 [C99-based-standards] (PRIdLEAST16): Likewise.
21334 [C99-based-standards] (PRIiLEAST16): Likewise.
21335 [C99-based-standards] (PRIoLEAST16): Likewise.
21336 [C99-based-standards] (PRIuLEAST16): Likewise.
21337 [C99-based-standards] (PRIxLEAST16): Likewise.
21338 [C99-based-standards] (PRIXLEAST16): Likewise.
21339 [C99-based-standards] (SCNdLEAST16): Likewise.
21340 [C99-based-standards] (SCNiLEAST16): Likewise.
21341 [C99-based-standards] (SCNoLEAST16): Likewise.
21342 [C99-based-standards] (SCNuLEAST16): Likewise.
21343 [C99-based-standards] (SCNxLEAST16): Likewise.
21344 [C99-based-standards] (PRIdFAST16): Likewise.
21345 [C99-based-standards] (PRIiFAST16): Likewise.
21346 [C99-based-standards] (PRIoFAST16): Likewise.
21347 [C99-based-standards] (PRIuFAST16): Likewise.
21348 [C99-based-standards] (PRIxFAST16): Likewise.
21349 [C99-based-standards] (PRIXFAST16): Likewise.
21350 [C99-based-standards] (SCNdFAST16): Likewise.
21351 [C99-based-standards] (SCNiFAST16): Likewise.
21352 [C99-based-standards] (SCNoFAST16): Likewise.
21353 [C99-based-standards] (SCNuFAST16): Likewise.
21354 [C99-based-standards] (SCNxFAST16): Likewise.
21355 [C99-based-standards] (PRId32): Likewise.
21356 [C99-based-standards] (PRIi32): Likewise.
21357 [C99-based-standards] (PRIo32): Likewise.
21358 [C99-based-standards] (PRIu32): Likewise.
21359 [C99-based-standards] (PRIx32): Likewise.
21360 [C99-based-standards] (PRIX32): Likewise.
21361 [C99-based-standards] (SCNd32): Likewise.
21362 [C99-based-standards] (SCNi32): Likewise.
21363 [C99-based-standards] (SCNo32): Likewise.
21364 [C99-based-standards] (SCNu32): Likewise.
21365 [C99-based-standards] (SCNx32): Likewise.
21366 [C99-based-standards] (PRIdLEAST32): Likewise.
21367 [C99-based-standards] (PRIiLEAST32): Likewise.
21368 [C99-based-standards] (PRIoLEAST32): Likewise.
21369 [C99-based-standards] (PRIuLEAST32): Likewise.
21370 [C99-based-standards] (PRIxLEAST32): Likewise.
21371 [C99-based-standards] (PRIXLEAST32): Likewise.
21372 [C99-based-standards] (SCNdLEAST32): Likewise.
21373 [C99-based-standards] (SCNiLEAST32): Likewise.
21374 [C99-based-standards] (SCNoLEAST32): Likewise.
21375 [C99-based-standards] (SCNuLEAST32): Likewise.
21376 [C99-based-standards] (SCNxLEAST32): Likewise.
21377 [C99-based-standards] (PRIdFAST32): Likewise.
21378 [C99-based-standards] (PRIiFAST32): Likewise.
21379 [C99-based-standards] (PRIoFAST32): Likewise.
21380 [C99-based-standards] (PRIuFAST32): Likewise.
21381 [C99-based-standards] (PRIxFAST32): Likewise.
21382 [C99-based-standards] (PRIXFAST32): Likewise.
21383 [C99-based-standards] (SCNdFAST32): Likewise.
21384 [C99-based-standards] (SCNiFAST32): Likewise.
21385 [C99-based-standards] (SCNoFAST32): Likewise.
21386 [C99-based-standards] (SCNuFAST32): Likewise.
21387 [C99-based-standards] (SCNxFAST32): Likewise.
21388 [C99-based-standards] (PRId64): Likewise.
21389 [C99-based-standards] (PRIi64): Likewise.
21390 [C99-based-standards] (PRIo64): Likewise.
21391 [C99-based-standards] (PRIu64): Likewise.
21392 [C99-based-standards] (PRIx64): Likewise.
21393 [C99-based-standards] (PRIX64): Likewise.
21394 [C99-based-standards] (SCNd64): Likewise.
21395 [C99-based-standards] (SCNi64): Likewise.
21396 [C99-based-standards] (SCNo64): Likewise.
21397 [C99-based-standards] (SCNu64): Likewise.
21398 [C99-based-standards] (SCNx64): Likewise.
21399 [C99-based-standards] (PRIdLEAST64): Likewise.
21400 [C99-based-standards] (PRIiLEAST64): Likewise.
21401 [C99-based-standards] (PRIoLEAST64): Likewise.
21402 [C99-based-standards] (PRIuLEAST64): Likewise.
21403 [C99-based-standards] (PRIxLEAST64): Likewise.
21404 [C99-based-standards] (PRIXLEAST64): Likewise.
21405 [C99-based-standards] (SCNdLEAST64): Likewise.
21406 [C99-based-standards] (SCNiLEAST64): Likewise.
21407 [C99-based-standards] (SCNoLEAST64): Likewise.
21408 [C99-based-standards] (SCNuLEAST64): Likewise.
21409 [C99-based-standards] (SCNxLEAST64): Likewise.
21410 [C99-based-standards] (PRIdFAST64): Likewise.
21411 [C99-based-standards] (PRIiFAST64): Likewise.
21412 [C99-based-standards] (PRIoFAST64): Likewise.
21413 [C99-based-standards] (PRIuFAST64): Likewise.
21414 [C99-based-standards] (PRIxFAST64): Likewise.
21415 [C99-based-standards] (PRIXFAST64): Likewise.
21416 [C99-based-standards] (SCNdFAST64): Likewise.
21417 [C99-based-standards] (SCNiFAST64): Likewise.
21418 [C99-based-standards] (SCNoFAST64): Likewise.
21419 [C99-based-standards] (SCNuFAST64): Likewise.
21420 [C99-based-standards] (SCNxFAST64): Likewise.
21421 [C99-based-standards] (PRIdMAX): Likewise.
21422 [C99-based-standards] (PRIiMAX): Likewise.
21423 [C99-based-standards] (PRIoMAX): Likewise.
21424 [C99-based-standards] (PRIuMAX): Likewise.
21425 [C99-based-standards] (PRIxMAX): Likewise.
21426 [C99-based-standards] (PRIXMAX): Likewise.
21427 [C99-based-standards] (SCNdMAX): Likewise.
21428 [C99-based-standards] (SCNiMAX): Likewise.
21429 [C99-based-standards] (SCNoMAX): Likewise.
21430 [C99-based-standards] (SCNuMAX): Likewise.
21431 [C99-based-standards] (SCNxMAX): Likewise.
21432 [C99-based-standards] (PRIdPTR): Likewise.
21433 [C99-based-standards] (PRIiPTR): Likewise.
21434 [C99-based-standards] (PRIoPTR): Likewise.
21435 [C99-based-standards] (PRIuPTR): Likewise.
21436 [C99-based-standards] (PRIxPTR): Likewise.
21437 [C99-based-standards] (PRIXPTR): Likewise.
21438 [C99-based-standards] (SCNdPTR): Likewise.
21439 [C99-based-standards] (SCNiPTR): Likewise.
21440 [C99-based-standards] (SCNoPTR): Likewise.
21441 [C99-based-standards] (SCNuPTR): Likewise.
21442 [C99-based-standards] (SCNxPTR): Likewise.
21443 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21445 * conform/data/stdint.h-data: Update comments to clarify
21447 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21449 [C99-based standards] (INT8_MAX): Likewise.
21450 [C99-based standards] (INT16_MIN): Likewise.
21451 [C99-based standards] (INT16_MAX): Likewise.
21452 [C99-based standards] (INT32_MIN): Likewise.
21453 [C99-based standards] (INT32_MAX): Likewise.
21454 [C99-based standards] (INT64_MIN): Likewise.
21455 [C99-based standards] (INT64_MAX): Likewise.
21456 [C99-based standards] (UINT8_MAX): Likewise.
21457 [C99-based standards] (UINT16_MAX): Likewise.
21458 [C99-based standards] (UINT32_MAX): Likewise.
21459 [C99-based standards] (UINT64_MAX): Likewise.
21460 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21461 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21462 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21463 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21464 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21465 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21466 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21467 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21468 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21469 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21470 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21471 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21472 [C99-based standards] (INT_FAST8_MIN): Likewise.
21473 [C99-based standards] (INT_FAST8_MAX): Likewise.
21474 [C99-based standards] (INT_FAST16_MIN): Likewise.
21475 [C99-based standards] (INT_FAST16_MAX): Likewise.
21476 [C99-based standards] (INT_FAST32_MIN): Likewise.
21477 [C99-based standards] (INT_FAST32_MAX): Likewise.
21478 [C99-based standards] (INT_FAST64_MIN): Likewise.
21479 [C99-based standards] (INT_FAST64_MAX): Likewise.
21480 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21481 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21482 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21483 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21484 [C99-based standards] (INTPTR_MIN): Likewise.
21485 [C99-based standards] (INTPTR_MAX): Likewise.
21486 [C99-based standards] (UINTPTR_MAX): Likewise.
21487 [C99-based standards] (INTMAX_MIN): Likewise.
21488 [C99-based standards] (INTMAX_MAX): Likewise.
21489 [C99-based standards] (UINTMAX_MAX): Likewise.
21490 [C99-based standards] (PTRDIFF_MIN): Likewise.
21491 [C99-based standards] (PTRDIFF_MAX): Likewise.
21492 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21493 [C99-based standards] (SIZE_MAX): Likewise.
21494 [C99-based standards] (WCHAR_MAX): Likewise.
21495 [C99-based standards] (WINT_MAX): Likewise.
21496 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21497 constraint on value.
21498 [C99-based standards] (WCHAR_MIN): Likewise.
21499 [C99-based standards] (WINT_MIN): Likewise.
21500 [C99-based standards] (*_t): Allow.
21501 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21502 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21503 Include math.h-data and complex.h-data. Remove all expectations
21504 of math.h and complex.h contents.
21505 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21507 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21508 (struct tm): Expect tag.
21509 [C99-based-standards] (wcstof): Expect function.
21510 [C99-based-standards] (wcstold): Likewise.
21511 [C99-based-standards] (wcstoll): Likewise.
21512 [C99-based-standards] (wcstoull): Likewise.
21513 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21514 macro-int-constant. Specify type.
21515 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21516 constraint on value.
21517 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21519 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21521 [ISO C standards]: Do not allow headers.
21522 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21523 wcs[abcdefghijklmnopqrstuvwxyz]*.
21524 [ISO C standards] (*_t): Do not allow.
21525 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21527 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21528 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21530 [ISO C standards]: Do not allow headers.
21531 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21532 is[abcdefghijklmnopqrstuvwxyz]*.
21533 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21534 to[abcdefghijklmnopqrstuvwxyz]*.
21535 [ISO C standards] (*_t): Do not allow.
21536 * conform/data/stdalign.h-data: New file.
21537 * conform/data/stdbool.h-data: Likewise.
21538 * conform/data/stdnoreturn.h-data: Likewise.
21540 2012-11-07 Roland McGrath <roland@hack.frob.com>
21543 * manual/filesys.texi (Directory Entries): Typo fix.
21544 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21546 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21548 * elf/elf.h (EM_AARCH64): New macro.
21549 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21550 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21551 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21552 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21553 (R_AARCH64_TLSDESC): Likewise.
21554 (NT_ARM_TLS): Likewise.
21555 (NT_ARM_HW_BREAK): Likewise.
21556 (NT_ARM_HW_WATCH): Likewise.
21558 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21561 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21562 (__ieee754_powl): Saturate nonzero exponents with absolute value
21563 below 0x1p-79 to +/- 0x1p-79.
21564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21565 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21566 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21567 nonzero exponents with absolute value below 0x1p-32 to +/-
21569 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21570 (__ieee754_powl): Saturate nonzero exponents with absolute value
21571 below 0x1p-79 to +/- 0x1p-79.
21572 * math/libm-test.inc (pow_test): Add more tests.
21574 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21576 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21577 _dl_s390_cap_flags with kernel. Increase string length.
21578 (_dl_s390_platforms): Add z196 and zEC12.
21580 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21582 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21583 Change XOPEN21K to XOPEN2K.
21585 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21587 * string/memmove.c: Use memcpy when possible.
21589 2012-11-06 Andreas Jaeger <aj@suse.de>
21591 * po/eo.po: Update from translation team.
21593 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21597 exponent and small x and y exponents, scale x or y up. Increase
21598 by 2 the exponent used in scaling up.
21599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21601 * math/libm-test.inc (fma_test): Add more tests.
21602 (fma_test_towardzero): Likewise.
21603 (fma_test_downward): Likewise.
21604 (fma_test_upward): Likewise.
21606 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21609 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21613 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21614 namespace for names of struct fields.
21615 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21617 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21618 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21620 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21623 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21625 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21627 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21631 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21634 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21638 definitely overflow as x * y not x * y + z.
21639 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21640 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21641 * math/libm-test.inc (fma_test): Add more tests.
21642 (fma_test_towardzero): Likewise.
21643 (fma_test_downward): Likewise.
21644 (fma_test_upward): Likewise.
21646 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21650 * include/stub-tag.h: Remove file.
21651 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21653 * manual/maint.texi (Porting): Don't reference it.
21654 * Makerules ($(objpfx)stubs): Likewise.
21655 * dirent/closedir.c: Don't include <stub-tag.h>.
21656 * dirent/dirfd.c: Likewise.
21657 * dirent/fdopendir.c: Likewise.
21658 * dirent/getdents.c: Likewise.
21659 * dirent/getdents64.c: Likewise.
21660 * dirent/opendir.c: Likewise.
21661 * dirent/readdir.c: Likewise.
21662 * dirent/readdir64.c: Likewise.
21663 * dirent/readdir64_r.c: Likewise.
21664 * dirent/readdir_r.c: Likewise.
21665 * dirent/rewinddir.c: Likewise.
21666 * dirent/seekdir.c: Likewise.
21667 * dirent/telldir.c: Likewise.
21668 * gmon/profil.c: Likewise.
21669 * grp/setgroups.c: Likewise.
21670 * inet/if_index.c: Likewise.
21671 * io/access.c: Likewise.
21672 * io/chdir.c: Likewise.
21673 * io/chmod.c: Likewise.
21674 * io/chown.c: Likewise.
21675 * io/close.c: Likewise.
21676 * io/dup.c: Likewise.
21677 * io/dup2.c: Likewise.
21678 * io/dup3.c: Likewise.
21679 * io/euidaccess.c: Likewise.
21680 * io/faccessat.c: Likewise.
21681 * io/fchdir.c: Likewise.
21682 * io/fchmod.c: Likewise.
21683 * io/fchmodat.c: Likewise.
21684 * io/fchown.c: Likewise.
21685 * io/fchownat.c: Likewise.
21686 * io/fcntl.c: Likewise.
21687 * io/flock.c: Likewise.
21688 * io/fstatfs.c: Likewise.
21689 * io/fstatfs64.c: Likewise.
21690 * io/fstatvfs.c: Likewise.
21691 * io/fstatvfs64.c: Likewise.
21692 * io/futimens.c: Likewise.
21693 * io/fxstat.c: Likewise.
21694 * io/fxstat64.c: Likewise.
21695 * io/fxstatat.c: Likewise.
21696 * io/fxstatat64.c: Likewise.
21697 * io/getcwd.c: Likewise.
21698 * io/isatty.c: Likewise.
21699 * io/lchmod.c: Likewise.
21700 * io/lchown.c: Likewise.
21701 * io/link.c: Likewise.
21702 * io/linkat.c: Likewise.
21703 * io/lseek.c: Likewise.
21704 * io/lseek64.c: Likewise.
21705 * io/lxstat64.c: Likewise.
21706 * io/mkdir.c: Likewise.
21707 * io/mkdirat.c: Likewise.
21708 * io/mkfifo.c: Likewise.
21709 * io/mkfifoat.c: Likewise.
21710 * io/open.c: Likewise.
21711 * io/open64.c: Likewise.
21712 * io/openat.c: Likewise.
21713 * io/openat64.c: Likewise.
21714 * io/pipe.c: Likewise.
21715 * io/pipe2.c: Likewise.
21716 * io/poll.c: Likewise.
21717 * io/posix_fadvise.c: Likewise.
21718 * io/posix_fadvise64.c: Likewise.
21719 * io/posix_fallocate.c: Likewise.
21720 * io/posix_fallocate64.c: Likewise.
21721 * io/read.c: Likewise.
21722 * io/readlink.c: Likewise.
21723 * io/readlinkat.c: Likewise.
21724 * io/rmdir.c: Likewise.
21725 * io/sendfile.c: Likewise.
21726 * io/sendfile64.c: Likewise.
21727 * io/statfs.c: Likewise.
21728 * io/statfs64.c: Likewise.
21729 * io/statvfs.c: Likewise.
21730 * io/statvfs64.c: Likewise.
21731 * io/symlink.c: Likewise.
21732 * io/symlinkat.c: Likewise.
21733 * io/ttyname.c: Likewise.
21734 * io/ttyname_r.c: Likewise.
21735 * io/umask.c: Likewise.
21736 * io/unlink.c: Likewise.
21737 * io/unlinkat.c: Likewise.
21738 * io/utime.c: Likewise.
21739 * io/utimensat.c: Likewise.
21740 * io/write.c: Likewise.
21741 * io/xmknod.c: Likewise.
21742 * io/xmknodat.c: Likewise.
21743 * io/xstat.c: Likewise.
21744 * io/xstat64.c: Likewise.
21745 * login/getpt.c: Likewise.
21746 * login/grantpt.c: Likewise.
21747 * login/unlockpt.c: Likewise.
21748 * math/e_acoshl.c: Likewise.
21749 * math/e_acosl.c: Likewise.
21750 * math/e_asinl.c: Likewise.
21751 * math/e_atan2l.c: Likewise.
21752 * math/e_atanhl.c: Likewise.
21753 * math/e_coshl.c: Likewise.
21754 * math/e_expl.c: Likewise.
21755 * math/e_fmodl.c: Likewise.
21756 * math/e_gammal_r.c: Likewise.
21757 * math/e_hypotl.c: Likewise.
21758 * math/e_j0l.c: Likewise.
21759 * math/e_j1l.c: Likewise.
21760 * math/e_jnl.c: Likewise.
21761 * math/e_lgammal_r.c: Likewise.
21762 * math/e_log10l.c: Likewise.
21763 * math/e_log2l.c: Likewise.
21764 * math/e_logl.c: Likewise.
21765 * math/e_powl.c: Likewise.
21766 * math/e_rem_pio2l.c: Likewise.
21767 * math/e_sinhl.c: Likewise.
21768 * math/e_sqrtl.c: Likewise.
21769 * math/fclrexcpt.c: Likewise.
21770 * math/fedisblxcpt.c: Likewise.
21771 * math/feenablxcpt.c: Likewise.
21772 * math/fegetenv.c: Likewise.
21773 * math/fegetexcept.c: Likewise.
21774 * math/fegetround.c: Likewise.
21775 * math/feholdexcpt.c: Likewise.
21776 * math/fesetenv.c: Likewise.
21777 * math/fesetround.c: Likewise.
21778 * math/feupdateenv.c: Likewise.
21779 * math/fgetexcptflg.c: Likewise.
21780 * math/fraiseexcpt.c: Likewise.
21781 * math/fsetexcptflg.c: Likewise.
21782 * math/ftestexcept.c: Likewise.
21783 * math/k_cosl.c: Likewise.
21784 * math/k_rem_pio2l.c: Likewise.
21785 * math/k_sinl.c: Likewise.
21786 * math/k_tanl.c: Likewise.
21787 * math/s_asinhl.c: Likewise.
21788 * math/s_atanl.c: Likewise.
21789 * math/s_cbrtl.c: Likewise.
21790 * math/s_erfl.c: Likewise.
21791 * math/s_expm1l.c: Likewise.
21792 * math/s_log1pl.c: Likewise.
21793 * math/s_tanhl.c: Likewise.
21794 * misc/acct.c: Likewise.
21795 * misc/brk.c: Likewise.
21796 * misc/chflags.c: Likewise.
21797 * misc/chroot.c: Likewise.
21798 * misc/fchflags.c: Likewise.
21799 * misc/fgetxattr.c: Likewise.
21800 * misc/flistxattr.c: Likewise.
21801 * misc/fremovexattr.c: Likewise.
21802 * misc/fsetxattr.c: Likewise.
21803 * misc/fsync.c: Likewise.
21804 * misc/ftruncate.c: Likewise.
21805 * misc/futimes.c: Likewise.
21806 * misc/futimesat.c: Likewise.
21807 * misc/getdomain.c: Likewise.
21808 * misc/getdtsz.c: Likewise.
21809 * misc/gethostid.c: Likewise.
21810 * misc/gethostname.c: Likewise.
21811 * misc/getloadavg.c: Likewise.
21812 * misc/getpagesize.c: Likewise.
21813 * misc/getsysstats.c: Likewise.
21814 * misc/getxattr.c: Likewise.
21815 * misc/gtty.c: Likewise.
21816 * misc/ioctl.c: Likewise.
21817 * misc/lgetxattr.c: Likewise.
21818 * misc/listxattr.c: Likewise.
21819 * misc/llistxattr.c: Likewise.
21820 * misc/lremovexattr.c: Likewise.
21821 * misc/lsetxattr.c: Likewise.
21822 * misc/lutimes.c: Likewise.
21823 * misc/madvise.c: Likewise.
21824 * misc/mincore.c: Likewise.
21825 * misc/mlock.c: Likewise.
21826 * misc/mlockall.c: Likewise.
21827 * misc/mmap.c: Likewise.
21828 * misc/mprotect.c: Likewise.
21829 * misc/msync.c: Likewise.
21830 * misc/munlock.c: Likewise.
21831 * misc/munlockall.c: Likewise.
21832 * misc/munmap.c: Likewise.
21833 * misc/preadv.c: Likewise.
21834 * misc/preadv64.c: Likewise.
21835 * misc/ptrace.c: Likewise.
21836 * misc/pwritev.c: Likewise.
21837 * misc/pwritev64.c: Likewise.
21838 * misc/readv.c: Likewise.
21839 * misc/reboot.c: Likewise.
21840 * misc/remap_file_pages.c: Likewise.
21841 * misc/removexattr.c: Likewise.
21842 * misc/revoke.c: Likewise.
21843 * misc/select.c: Likewise.
21844 * misc/setdomain.c: Likewise.
21845 * misc/setegid.c: Likewise.
21846 * misc/seteuid.c: Likewise.
21847 * misc/sethostid.c: Likewise.
21848 * misc/sethostname.c: Likewise.
21849 * misc/setregid.c: Likewise.
21850 * misc/setreuid.c: Likewise.
21851 * misc/setxattr.c: Likewise.
21852 * misc/sstk.c: Likewise.
21853 * misc/stty.c: Likewise.
21854 * misc/swapoff.c: Likewise.
21855 * misc/swapon.c: Likewise.
21856 * misc/sync.c: Likewise.
21857 * misc/syncfs.c: Likewise.
21858 * misc/syscall.c: Likewise.
21859 * misc/truncate.c: Likewise.
21860 * misc/ualarm.c: Likewise.
21861 * misc/usleep.c: Likewise.
21862 * misc/ustat.c: Likewise.
21863 * misc/utimes.c: Likewise.
21864 * misc/vhangup.c: Likewise.
21865 * misc/writev.c: Likewise.
21866 * posix/_exit.c: Likewise.
21867 * posix/alarm.c: Likewise.
21868 * posix/execve.c: Likewise.
21869 * posix/fexecve.c: Likewise.
21870 * posix/fork.c: Likewise.
21871 * posix/fpathconf.c: Likewise.
21872 * posix/getaddrinfo.c: Likewise.
21873 * posix/getegid.c: Likewise.
21874 * posix/geteuid.c: Likewise.
21875 * posix/getgid.c: Likewise.
21876 * posix/getgroups.c: Likewise.
21877 * posix/getlogin.c: Likewise.
21878 * posix/getlogin_r.c: Likewise.
21879 * posix/getpgid.c: Likewise.
21880 * posix/getpid.c: Likewise.
21881 * posix/getppid.c: Likewise.
21882 * posix/getresgid.c: Likewise.
21883 * posix/getresuid.c: Likewise.
21884 * posix/getsid.c: Likewise.
21885 * posix/getuid.c: Likewise.
21886 * posix/glob64.c: Likewise.
21887 * posix/nanosleep.c: Likewise.
21888 * posix/pathconf.c: Likewise.
21889 * posix/pause.c: Likewise.
21890 * posix/posix_madvise.c: Likewise.
21891 * posix/pread.c: Likewise.
21892 * posix/pread64.c: Likewise.
21893 * posix/pwrite.c: Likewise.
21894 * posix/pwrite64.c: Likewise.
21895 * posix/sched_getaffinity.c: Likewise.
21896 * posix/sched_getp.c: Likewise.
21897 * posix/sched_gets.c: Likewise.
21898 * posix/sched_primax.c: Likewise.
21899 * posix/sched_primin.c: Likewise.
21900 * posix/sched_rr_gi.c: Likewise.
21901 * posix/sched_setaffinity.c: Likewise.
21902 * posix/sched_setp.c: Likewise.
21903 * posix/sched_sets.c: Likewise.
21904 * posix/sched_yield.c: Likewise.
21905 * posix/setgid.c: Likewise.
21906 * posix/setlogin.c: Likewise.
21907 * posix/setpgid.c: Likewise.
21908 * posix/setresgid.c: Likewise.
21909 * posix/setresuid.c: Likewise.
21910 * posix/setsid.c: Likewise.
21911 * posix/setuid.c: Likewise.
21912 * posix/sleep.c: Likewise.
21913 * posix/spawni.c: Likewise.
21914 * posix/sysconf.c: Likewise.
21915 * posix/times.c: Likewise.
21916 * posix/wait.c: Likewise.
21917 * posix/wait3.c: Likewise.
21918 * posix/wait4.c: Likewise.
21919 * posix/waitpid.c: Likewise.
21920 * resolv/gai_sigqueue.c: Likewise.
21921 * resource/getpriority.c: Likewise.
21922 * resource/getrlimit.c: Likewise.
21923 * resource/getrusage.c: Likewise.
21924 * resource/nice.c: Likewise.
21925 * resource/setpriority.c: Likewise.
21926 * resource/setrlimit.c: Likewise.
21927 * resource/ulimit.c: Likewise.
21928 * rt/aio_cancel.c: Likewise.
21929 * rt/aio_fsync.c: Likewise.
21930 * rt/aio_read.c: Likewise.
21931 * rt/aio_sigqueue.c: Likewise.
21932 * rt/aio_suspend.c: Likewise.
21933 * rt/aio_write.c: Likewise.
21934 * rt/clock_getres.c: Likewise.
21935 * rt/clock_gettime.c: Likewise.
21936 * rt/clock_nanosleep.c: Likewise.
21937 * rt/clock_settime.c: Likewise.
21938 * rt/lio_listio.c: Likewise.
21939 * rt/mq_close.c: Likewise.
21940 * rt/mq_getattr.c: Likewise.
21941 * rt/mq_notify.c: Likewise.
21942 * rt/mq_open.c: Likewise.
21943 * rt/mq_receive.c: Likewise.
21944 * rt/mq_send.c: Likewise.
21945 * rt/mq_setattr.c: Likewise.
21946 * rt/mq_timedreceive.c: Likewise.
21947 * rt/mq_timedsend.c: Likewise.
21948 * rt/mq_unlink.c: Likewise.
21949 * rt/shm_open.c: Likewise.
21950 * rt/shm_unlink.c: Likewise.
21951 * rt/timer_create.c: Likewise.
21952 * rt/timer_delete.c: Likewise.
21953 * rt/timer_getoverr.c: Likewise.
21954 * rt/timer_gettime.c: Likewise.
21955 * rt/timer_settime.c: Likewise.
21956 * setjmp/__longjmp.c: Likewise.
21957 * setjmp/setjmp.c: Likewise.
21958 * signal/kill.c: Likewise.
21959 * signal/killpg.c: Likewise.
21960 * signal/raise.c: Likewise.
21961 * signal/sigaction.c: Likewise.
21962 * signal/sigaltstack.c: Likewise.
21963 * signal/sigblock.c: Likewise.
21964 * signal/sigignore.c: Likewise.
21965 * signal/sigintr.c: Likewise.
21966 * signal/signal.c: Likewise.
21967 * signal/sigpause.c: Likewise.
21968 * signal/sigpending.c: Likewise.
21969 * signal/sigqueue.c: Likewise.
21970 * signal/sigreturn.c: Likewise.
21971 * signal/sigset.c: Likewise.
21972 * signal/sigsetmask.c: Likewise.
21973 * signal/sigstack.c: Likewise.
21974 * signal/sigsuspend.c: Likewise.
21975 * signal/sigtimedwait.c: Likewise.
21976 * signal/sigvec.c: Likewise.
21977 * signal/sigwait.c: Likewise.
21978 * signal/sigwaitinfo.c: Likewise.
21979 * signal/sysv_signal.c: Likewise.
21980 * socket/accept.c: Likewise.
21981 * socket/accept4.c: Likewise.
21982 * socket/bind.c: Likewise.
21983 * socket/connect.c: Likewise.
21984 * socket/getpeername.c: Likewise.
21985 * socket/getsockname.c: Likewise.
21986 * socket/getsockopt.c: Likewise.
21987 * socket/isfdtype.c: Likewise.
21988 * socket/listen.c: Likewise.
21989 * socket/recv.c: Likewise.
21990 * socket/recvfrom.c: Likewise.
21991 * socket/recvmsg.c: Likewise.
21992 * socket/send.c: Likewise.
21993 * socket/sendmsg.c: Likewise.
21994 * socket/sendto.c: Likewise.
21995 * socket/setsockopt.c: Likewise.
21996 * socket/shutdown.c: Likewise.
21997 * socket/sockatmark.c: Likewise.
21998 * socket/socket.c: Likewise.
21999 * socket/socketpair.c: Likewise.
22000 * stdio-common/ctermid.c: Likewise.
22001 * stdio-common/cuserid.c: Likewise.
22002 * stdio-common/remove.c: Likewise.
22003 * stdio-common/rename.c: Likewise.
22004 * stdio-common/renameat.c: Likewise.
22005 * stdio-common/tempname.c: Likewise.
22006 * stdlib/getcontext.c: Likewise.
22007 * stdlib/makecontext.c: Likewise.
22008 * stdlib/setcontext.c: Likewise.
22009 * stdlib/swapcontext.c: Likewise.
22010 * stdlib/system.c: Likewise.
22011 * streams/fattach.c: Likewise.
22012 * streams/fdetach.c: Likewise.
22013 * streams/getmsg.c: Likewise.
22014 * streams/getpmsg.c: Likewise.
22015 * streams/putmsg.c: Likewise.
22016 * streams/putpmsg.c: Likewise.
22017 * sysdeps/unix/bsd/getpt.c: Likewise.
22018 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22019 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22020 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22023 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22024 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22025 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22026 * sysvipc/msgctl.c: Likewise.
22027 * sysvipc/msgget.c: Likewise.
22028 * sysvipc/msgrcv.c: Likewise.
22029 * sysvipc/msgsnd.c: Likewise.
22030 * sysvipc/semctl.c: Likewise.
22031 * sysvipc/semget.c: Likewise.
22032 * sysvipc/semop.c: Likewise.
22033 * sysvipc/semtimedop.c: Likewise.
22034 * sysvipc/shmat.c: Likewise.
22035 * sysvipc/shmctl.c: Likewise.
22036 * sysvipc/shmdt.c: Likewise.
22037 * sysvipc/shmget.c: Likewise.
22038 * termios/tcdrain.c: Likewise.
22039 * termios/tcflow.c: Likewise.
22040 * termios/tcflush.c: Likewise.
22041 * termios/tcgetattr.c: Likewise.
22042 * termios/tcgetpgrp.c: Likewise.
22043 * termios/tcsendbrk.c: Likewise.
22044 * termios/tcsetattr.c: Likewise.
22045 * termios/tcsetpgrp.c: Likewise.
22046 * time/adjtime.c: Likewise.
22047 * time/clock.c: Likewise.
22048 * time/getitimer.c: Likewise.
22049 * time/gettimeofday.c: Likewise.
22050 * time/setitimer.c: Likewise.
22051 * time/settimeofday.c: Likewise.
22052 * time/stime.c: Likewise.
22053 * time/time.c: Likewise.
22055 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22057 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22060 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22062 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22064 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22068 FE_TONEAREST before applying Dekker multiplication and Knuth
22069 addition. Clear inexact exceptions and check for exact zero
22070 results afterwards.
22071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22072 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22073 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22074 * math/libm-test.inc (fma_test): Add more tests.
22075 (fma_test_towardzero): Likewise.
22076 (fma_test_downward): Likewise.
22077 (fma_test_upward): Likewise.
22078 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22080 (libc_fesetround): New macro.
22081 (libc_fesetroundf): Likewise.
22082 (libc_fesetroundl): Likewise.
22083 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22085 (libc_fesetround_387): Likewise.
22086 (libc_fesetroundf): New macro.
22087 (libc_fesetround): Likewise.
22088 (libc_fesetroundl): Likewise.
22089 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22091 (libc_fesetroundf): New macro.
22092 (libc_fesetround): Likewise.
22093 (libc_fesetroundl): Likewise.
22094 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22095 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22096 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22098 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22099 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22101 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22102 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22104 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22108 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22109 integer constant usable in #if and use that to give value to enum
22111 (FE_DIVBYZERO): Likewise.
22112 (FE_UNDERFLOW): Likewise.
22113 (FE_OVERFLOW): Likewise.
22114 (FE_INVALID): Likewise.
22115 (FE_INVALID_SNAN): Likewise.
22116 (FE_INVALID_ISI): Likewise.
22117 (FE_INVALID_IDI): Likewise.
22118 (FE_INVALID_ZDZ): Likewise.
22119 (FE_INVALID_IMZ): Likewise.
22120 (FE_INVALID_COMPARE): Likewise.
22121 (FE_INVALID_SOFTWARE): Likewise.
22122 (FE_INVALID_SQRT): Likewise.
22123 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22124 (FE_TONEAREST): Likewise.
22125 (FE_TOWARDZERO): Likewise.
22126 (FE_UPWARD): Likewise.
22127 (FE_DOWNWARD): Likewise.
22128 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22129 (FE_DIVBYZERO): Likewise.
22130 (FE_OVERFLOW): Likewise.
22131 (FE_UNDERFLOW): Likewise.
22132 (FE_INEXACT): Likewise.
22133 (FE_TONEAREST): Likewise.
22134 (FE_DOWNWARD): Likewise.
22135 (FE_UPWARD): Likewise.
22136 (FE_TOWARDZERO): Likewise.
22137 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22138 (FE_UNDERFLOW): Likewise.
22139 (FE_OVERFLOW): Likewise.
22140 (FE_DIVBYZERO): Likewise.
22141 (FE_INVALID): Likewise.
22142 (FE_TONEAREST): Likewise.
22143 (FE_TOWARDZERO): Likewise.
22144 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22145 (FE_OVERFLOW): Likewise.
22146 (FE_UNDERFLOW): Likewise.
22147 (FE_DIVBYZERO): Likewise.
22148 (FE_INEXACT): Likewise.
22149 (FE_TONEAREST): Likewise.
22150 (FE_TOWARDZERO): Likewise.
22151 (FE_UPWARD): Likewise.
22152 (FE_DOWNWARD): Likewise.
22153 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22154 (FE_DIVBYZERO): Likewise.
22155 (FE_OVERFLOW): Likewise.
22156 (FE_UNDERFLOW): Likewise.
22157 (FE_INEXACT): Likewise.
22158 (FE_TONEAREST): Likewise.
22159 (FE_DOWNWARD): Likewise.
22160 (FE_UPWARD): Likewise.
22161 (FE_TOWARDZERO): Likewise.
22163 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22165 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22167 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22169 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22170 commands. Quote $PWD.
22171 (blacklist_exports): Don't use remove_newlines. Replace "declare
22173 (remove_newlines): Remove.
22175 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22177 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22178 * stdlib/stdlib.h (atof): Moved to ...
22179 * include/bits/stdlib-float.h: Here. New file.
22180 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22181 * stdlib/bits/stdlib-float.h: New file.
22182 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22187 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22189 * conform/conformtest.pl (@headers): Add fenv.h.
22190 * conform/data/fenv.h-data: New file.
22191 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22192 include of <math/fenv.h>.
22194 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22195 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22196 && !UNIX98]. Enables tests for XOPEN2K8.
22197 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22198 POSIX2008]: Likewise.
22200 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22201 (struct rusage): Do not expect type or its members.
22204 * math/math.h (FP_NAN): Define macro to integer constant usable in
22205 #if and use that to give value to enum constant.
22206 (FP_INFINITE): Likewise.
22207 (FP_ZERO): Likewise.
22208 (FP_SUBNORMAL): Likewise.
22209 (FP_NORMAL): Likewise.
22211 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22213 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22214 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22217 2012-11-02 Roland McGrath <roland@hack.frob.com>
22219 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22220 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22221 autoconf-time if not.
22222 * configure.in: Remove AC_PREREQ.
22224 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22226 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22227 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22228 of the internal implementation.
22230 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22232 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22233 except include of <misc/sys/syslog.h>.
22235 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22238 function returns with a NULL context exit with zero.
22240 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22242 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22244 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22246 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22247 (run_program_cmd): This.
22248 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22249 (tst_langinfo): New variable. Use it.
22251 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22253 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22254 floating point opcodes.
22256 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22258 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22261 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22263 * sysdeps/mach/hurd/powerpc: Remove directory.
22264 * sysdeps/mach/powerpc: Likewise.
22266 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22268 * scripts/check-local-headers.sh: Ignore c++ headers.
22270 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22272 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22273 __libc_cleanup_region_start argument.
22275 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22280 x * y using scaling, not as x * y + z.
22281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22283 * math/libm-test.inc (fma_test): Add more tests.
22284 (fma_test_towardzero): Likewise.
22285 (fma_test_downward): Likewise.
22286 (fma_test_upward): Likewise.
22288 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22290 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22292 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22294 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22297 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22299 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22301 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22308 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22311 Fix the order of the list for glibc 2.17.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22315 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22319 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22322 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22323 for low part of x being zero before using __atanl (y).
22324 * math/libm-test.inc (atan2_test): Add another test.
22326 * manual/install.texi (Configuring and compiling): Document
22327 general use of test-wrapper and test-wrapper-env.
22328 * INSTALL: Regenerated.
22330 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22331 (__fma): Do not extract and scale down low bits on after-rounding
22332 systems when result rounded to normal precision would have normal
22334 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22335 (__fmal): Do not extract and scale down low bits on after-rounding
22336 systems when result rounded to normal precision would have normal
22338 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22339 (__fmal): Do not extract and scale down low bits on after-rounding
22340 systems when result rounded to normal precision would have normal
22342 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22344 (fma_test): Add more tests.
22345 (fma_test_towardzero): Likewise.
22346 (fma_test_downward): Likewise.
22347 (fma_test_upward): Likewise.
22349 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22351 * sysdeps/i386/tininess.h: Renamed to ...
22352 * sysdeps/x86/tininess.h: This.
22353 * sysdeps/x86_64/tininess.h: Removed.
22355 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22357 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22358 input. Use $(build-program-cmd).
22359 ($(objpfx)tst-array1-static.out): Likewise.
22360 ($(objpfx)tst-array2.out): Likewise.
22361 ($(objpfx)tst-array3.out): Likewise.
22362 ($(objpfx)tst-array4.out): Likewise.
22363 ($(objpfx)tst-array5.out): Likewise.
22364 ($(objpfx)tst-array5-static.out): Likewise.
22366 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22368 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22371 * nss/nsswitch.h (nss_interface_function): Provide new
22372 macro for use with NSS functions.
22373 * grp/initgroups.c: Use new macro.
22374 * nss/getXXbyYY.c: Likewise.
22375 * nss/getXXbyYY_r.c: Likewise.
22376 * nss/getXXent.c: Likewise.
22377 * nss/getXXent_r.c: Likewise.
22378 * sysdeps/posix/getaddrinfo.c: Likewise.
22380 2012-10-30 Andreas Jaeger <aj@suse.de>
22382 * po/ru.po: Update Russion translation from translation project.
22384 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22389 result and shift together with sticky bit instead of replicating
22390 round-to-nearest rounding.
22391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22392 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22393 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22394 missing underflow exceptions.
22395 (fma_test_towardzero): Add more tests.
22396 (fma_test_downward): Likewise.
22397 (fma_test_upward): Likewise.
22400 * sysdeps/generic/tininess.h: New file.
22401 * sysdeps/i386/tininess.h: Likewise.
22402 * sysdeps/sh/tininess.h: Likewise.
22403 * sysdeps/x86_64/tininess.h: Likewise.
22404 * stdlib/tst-strtod-underflow.c: Likewise.
22405 * stdlib/tst-tininess.c: Likewise.
22406 * stdlib/strtod_l.c: Include <tininess.h>.
22407 (round_and_return): Do not set errno for exact underflow cases.
22408 Force an underflow exception when setting errno for underflow.
22409 Determine underflow based on rounding to normal precision if
22410 TININESS_AFTER_ROUNDING.
22411 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22412 ERANGE for exact underflow cases.
22413 * stdlib/Makefile (tests): Add tst-tininess and
22414 tst-strtod-underflow.
22415 ($(objpfx)tst-tininess): Use $(link-libm).
22416 ($(objpfx)tst-strtod-underflow): Likewise.
22418 2012-10-30 Andreas Jaeger <aj@suse.de>
22421 * elf/Makefile (tests): Remove conditional for have-initfini-array
22422 since this is now always required and the variable does not exist
22424 (tests-static): Likewise.
22425 (modules-names): Likewise.
22427 * po/eo.po: Add Esperanto translation from translation project.
22429 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22430 merged with constructor/destructor.
22431 (init_array): Likewise.
22432 * elf/tst-array2dep.c (fini_array): Likewise.
22433 (init_array): Likewise.
22435 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22437 * manual/message.texi: Delete @cartouche tags.
22439 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22441 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22443 * sysdeps/mach/hurd/fsync.c: Likewise.
22445 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22446 [_POSIX_REALTIME_SIGNALS]: Change condition to
22447 [_POSIX_REALTIME_SIGNALS > 0].
22449 2012-10-27 Andreas Jaeger <aj@suse.de>
22451 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22452 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22454 [__WORDSIZE != 64]: Likewise.
22456 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22458 * iconvdata/tst-table.sh: Remove ${SHELL}.
22459 * iconvdata/tst-tables.sh: Likewise.
22461 2012-10-25 David S. Miller <davem@davemloft.net>
22463 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22464 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22469 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22470 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22471 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22474 2012-10-25 Roland McGrath <roland@hack.frob.com>
22476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22477 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22480 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22481 Jim Blandy <jimb@codesourcery.com>
22483 * scripts/cross-test-ssh.sh: New file.
22484 * manual/install.texi (Configuring and compiling): Document use of
22486 * INSTALL: Regenerated.
22488 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22490 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22493 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22495 * Makeconfig (run-program-prefix): Fix comment.
22497 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22498 Jim Blandy <jimb@codesourcery.com>
22500 * Makeconfig (test-wrapper): New variable,
22501 (test-wrapper-env): Likewise.
22502 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22503 (run-built-tests): Define to yes.
22504 (run-program-prefix): Use $(test-wrapper).
22505 (built-program-cmd): Likewise.
22506 * Rules (make-test-out): Use $(test-wrapper-env) and
22507 $(host-built-program-cmd).
22508 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22509 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22511 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22512 $(test-wrapper-env) to tst-rtld-load-self.sh.
22513 ($(objpfx)order2.out): Use $(test-wrapper).
22514 ($(objpfx)tst-initorder.out): Likewise.
22515 ($(objpfx)tst-initorder2.out): Likewise.
22516 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22517 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22518 (test_wrapper_env): New variable. Use it to run ld.so.
22519 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22520 Use it to run ld.so.
22521 (test_wrapper_env): Likewise.
22522 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22523 $(test-wrapper) to run-iconv-test.sh.
22524 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22525 (ICONV): Use $test_wrapper.
22526 * posix/Makefile ($(objpfx)globtest.out): Pass
22527 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22528 globtest.sh, not $(run-program-prefix).
22529 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22530 (test_wrapper): Likewise.
22531 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22532 set together with run_via_rtld_prefix.
22533 (run_program_prefix): Define in terms of test_wrapper and
22534 run_via_rtld_prefix.
22536 2012-10-24 Roland McGrath <roland@hack.frob.com>
22538 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22539 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22543 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22544 Declare __clock_getres, __clock_gettime, __clock_settime,
22545 __clock_nanosleep, and __clock_getcpuclockid.
22546 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22547 Remove librt_hidden_def (clock_gettime).
22548 * sysdeps/unix/clock_gettime.c: Likewise.
22549 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22550 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22551 * rt/clock_getres.c: Define __clock_getres as an alias.
22552 * sysdeps/posix/clock_getres.c: Likewise.
22553 * rt/clock_settime.c: Define __clock_settime as an alias.
22554 * sysdeps/unix/clock_settime.c: Likewise.
22555 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22556 * sysdeps/unix/clock_nanosleep.c: Likewise.
22557 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22558 * rt/clock-compat.c: New file.
22559 * rt/Makefile (librt-routines): Add clock-compat and move
22560 $(clock-routines) to ...
22561 (routines): ... here, new variable.
22562 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22563 Don't add get_clockfreq here.
22564 * rt/Versions (libc: GLIBC_2.17): New version set.
22565 Add clock_* symbols here.
22566 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22567 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22568 (GLIBC_2.17): Add clock_* symbols.
22569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22571 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22580 * NEWS: Mention the move.
22582 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22583 Use __open, __read, __close rather than their public counterparts.
22584 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22585 (__get_clockfreq_via_cpuinfo): Likewise.
22586 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22587 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22589 * config.h.in (HAVE_IFUNC): New #undef.
22590 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22592 * configure: Regenerated.
22594 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22596 * configure.in: Move READELF check to start of file.
22597 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22598 libc_cv_asm_gnu_indirect_function in the process.
22599 * configure: Regenerated.
22601 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22603 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22604 send the output to /dev/null.
22605 (libc_cv_cc_with_libunwind): Likewise.
22606 (libc_cv_as_noexecstack): Likewise.
22607 * configure: Regenerate.
22609 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22611 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22613 * posix/globtest.sh (TMPDIR): Do not set.
22614 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22615 (testout): Likewise.
22617 2012-10-24 Andreas Jaeger <aj@suse.de>
22619 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22620 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22621 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22622 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22623 posix_fadvise64, posix_fallocate64.
22625 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22626 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22627 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22629 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22631 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22634 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22635 <bits/fcntl-linux.h>.
22636 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22639 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22640 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22641 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22642 [__WORDSIZE != 64]: Likewise.
22644 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22646 * Makeconfig (run-built-tests): New variable.
22647 * Rules [$(cross-compiling) = yes]: Change condition to
22648 [$(run-built-tests) = no].
22649 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22650 to [$(run-built-tests) = yes].
22651 * elf/Makefile [$(cross-compiling) = no]: Likewise
22652 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22653 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22654 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22655 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22656 * io/Makefile [$(cross-compiling) = no]: Likewise.
22657 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22658 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22659 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22660 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22661 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22662 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22663 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22664 * string/Makefile [$(cross-compiling) = no]: Likewise.
22666 * posix/Makefile ($(objpfx)globtest.out): Pass
22667 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22668 $(rtld-installed-name).
22669 * posix/globtest.sh (elf_objpfx): Remove variable.
22670 (rtld_installed_name): Likewise.
22671 (library_path): Likewise.
22672 (run_program_prefix): New variable. Use for running globtest
22675 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22676 Joseph Myers <joseph@codesourcery.com>
22678 * Makeconfig (host-built-program-cmd): New variable.
22679 * elf/Makefile (tst-stackguard1-ARGS): Use
22680 $(host-built-program-cmd).
22681 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22682 (tst-spawn-ARGS): Likewise.
22683 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22685 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22686 Jim Blandy <jimb@codesourcery.com>
22688 * Makeconfig (run-via-rtld-prefix): New variable.
22689 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22690 (built-program-cmd): Likewise.
22692 2012-10-22 Andreas Jaeger <aj@suse.de>
22694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22695 __O_RSYNC if it exists, otherwise to O_SYNC.
22697 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22698 Joseph Myers <joseph@codesourcery.com>
22700 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22702 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22704 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22707 2012-10-22 Andreas Jaeger <aj@suse.de>
22709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22714 bits/fcntl-linux.h.
22716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22717 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22724 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22725 Joseph Myers <joseph@codesourcery.com>
22727 * config.make.in (NM): New variable.
22729 2012-10-21 Andreas Jaeger <aj@suse.de>
22731 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22732 definitions and declarations that are provided by
22733 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22735 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22738 * elf/Makefile (tests-static): Add tst-leaks1-static.
22739 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22740 ($(objpfx)tst-leaks1-static): New rule.
22741 ($(objpfx)tst-leaks1-static-mem): Likewise.
22742 (tst-leaks1-static-ENV): New macro.
22743 * elf/dl-open.c (dl_open_worker): Check the main application
22744 only if SHARED is defined.
22745 * elf/tst-leaks1-static.c: New file.
22747 2012-10-20 Andreas Jaeger <aj@suse.de>
22749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22750 generic values for Linux.
22751 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22752 and declarations that are provided by <bits/fcntl-linux.h> and
22753 include <bits/fcntl-linux.h>.
22754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22757 2012-10-20 Roland McGrath <roland@hack.frob.com>
22759 * io/fcntl.h: Move include of <bits/types.h> to the top and
22760 include it unconditionally.
22762 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22764 * wcsmbs/Makefile (tests-ifunc): New variable.
22765 (tests): Add $(tests-ifunc).
22766 * wcsmbs/test-wcschr-ifunc.c: New file.
22767 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22768 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22769 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22770 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22771 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22773 * string/Makefile (tests-ifunc): New variable.
22774 (tests): Add $(tests-ifunc).
22775 * string/test-memccpy.c (TEST_NAME): New macro.
22776 * string/test-memchr.c (TEST_NAME): Likewise.
22777 * string/test-memcmp.c (TEST_NAME): Likewise.
22778 * string/test-memcpy.c (TEST_NAME): Likewise.
22779 * string/test-memmem.c (TEST_NAME): Likewise.
22780 * string/test-memmove.c (TEST_NAME): Likewise.
22781 * string/test-memset.c (TEST_NAME): Likewise.
22782 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22783 * string/test-stpcpy.c (TEST_NAME): Likewise.
22784 * string/test-stpncpy.c (TEST_NAME): Likewise.
22785 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22786 * string/test-strcasestr.c (TEST_NAME): Likewise.
22787 * string/test-strcat.c (TEST_NAME): Likewise.
22788 * string/test-strchr.c (TEST_NAME): Likewise.
22789 * string/test-strcmp.c(TEST_NAME): Likewise.
22790 * string/test-strcpy.c (TEST_NAME): Likewise.
22791 * string/test-strcspn.c (TEST_NAME): Likewise.
22792 * string/test-strlen.c (TEST_NAME): Likewise.
22793 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22794 * string/test-strncmp.c (TEST_NAME): Likewise.
22795 * string/test-strncpy.c (TEST_NAME): Likewise.
22796 * string/test-strnlen.c (TEST_NAME): Likewise.
22797 * string/test-strpbrk.c (TEST_NAME): Likewise.
22798 * string/test-strrchr.c (TEST_NAME): Likewise.
22799 * string/test-strspn.c (TEST_NAME): Likewise.
22800 * string/test-strstr.c (TEST_NAME): Likewise.
22801 * string/test-bcopy-ifunc.c: New file.
22802 * string/test-bzero-ifunc.c: Likewise.
22803 * string/test-memccpy-ifunc.c: Likewise.
22804 * string/test-memchr-ifunc.c: Likewise.
22805 * string/test-memcmp-ifunc.c: Likewise.
22806 * string/test-memcpy-ifunc.c: Likewise.
22807 * string/test-memmem-ifunc.c: Likewise.
22808 * string/test-memmove-ifunc.c: Likewise.
22809 * string/test-mempcpy-ifunc.c: Likewise.
22810 * string/test-memset-ifunc.c: Likewise.
22811 * string/test-rawmemchr-ifunc.c: Likewise.
22812 * string/test-stpcpy-ifunc.c: Likewise.
22813 * string/test-stpncpy-ifunc.c: Likewise.
22814 * string/test-strcasecmp-ifunc.c: Likewise.
22815 * string/test-strcasestr-ifunc.c: Likewise.
22816 * string/test-strcat-ifunc.c: Likewise.
22817 * string/test-strchr-ifunc.c: Likewise.
22818 * string/test-strchrnul-ifunc.c: Likewise.
22819 * string/test-strcmp-ifunc.c: Likewise.
22820 * string/test-strcpy-ifunc.c: Likewise.
22821 * string/test-strcspn-ifunc.c: Likewise.
22822 * string/test-strlen-ifunc.c: Likewise.
22823 * string/test-strncasecmp-ifunc.c: Likewise.
22824 * string/test-strncat-ifunc.c: Likewise.
22825 * string/test-strncmp-ifunc.c: Likewise.
22826 * string/test-strncpy-ifunc.c: Likewise.
22827 * string/test-strnlen-ifunc.c: Likewise.
22828 * string/test-strpbrk-ifunc.c: Likewise.
22829 * string/test-strrchr-ifunc.c: Likewise.
22830 * string/test-strspn-ifunc.c: Likewise.
22831 * string/test-strstr-ifunc.c: Likewise.
22833 * debug/Makefile (tests-ifunc): New variable.
22834 (tests): Add $(tests-ifunc).
22835 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22836 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22837 * debug/test-stpcpy_chk-ifunc.c: New file.
22838 * debug/test-strcpy_chk-ifunc.c: Likewise.
22840 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22843 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22844 header is not read in.
22846 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22848 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22849 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22850 directly. Pass built executable to script as
22851 $(built-program-cmd).
22852 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22853 $testprogram without using LD_LIBRARY_PATH and $ldso.
22855 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22856 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22857 $(rtld-installed-name).
22858 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22859 (rtld_installed_name): Likewise.
22860 (library_path): Likewise.
22861 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22862 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22863 $(run-program-prefix) to tst-tables.sh.
22864 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22865 it to run tst-table-from and tst-table-to.
22866 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22867 Pass it to tst-table.sh.
22868 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22869 $(run-program-prefix) to tst-gettext.sh.
22870 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22872 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22874 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22875 to run tst-gettext.
22876 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22877 to run tst-gettext2.
22878 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22879 to run tst-translit.
22880 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22881 $(run-program-prefix) to tst-mtrace.sh.
22882 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22884 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22885 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22886 $(rtld-installed-name).
22887 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22888 (rtld_installed_name): Likewise.
22889 (run_program_prefix): New variable. Use it to run wordexp-test.
22891 * Makeconfig (ARCH): Remove all definitions.
22892 (machine): Likewise.
22893 [ARCH]: Remove conditional code.
22894 [!objdir]: Give error.
22895 [!objdir] (objpfx): Remove.
22896 [!objdir] (common-objpfx): Likewise.
22897 [!objdir] (common-objdir): Likewise.
22898 * configure.in (config_makefile): Remove. Hardcode Makefile in
22899 AC_CONFIG_FILES call.
22900 * configure: Regenerated.
22903 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22905 (testout): Likewise.
22907 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22908 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22909 $(rtld-installed-name).
22910 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22911 (rtld_installed_name): Likwise.
22912 (runit): Remove function.
22913 (run_getconf): New variable, Use it for running getconf binary.
22915 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22918 * string/test-memmem.c (check_result): New function.
22919 (do_one_test): Use it.
22920 (check1): New function.
22921 (test_main): Use it.
22923 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22925 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22927 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22929 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22930 (_G_LSEEK64): Likewise.
22931 (_G_MMAP64): Likewise.
22932 (_G_FSTAT64): Likewise.
22933 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22934 (_G_LSEEK64): Likewise.
22935 (_G_MMAP64): Likewise.
22936 (_G_FSTAT64): Likewise.
22937 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22938 unconditional. Call __mmap64 directly.
22939 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22940 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22941 __lseek64 directly.
22942 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22943 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22945 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22946 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22947 __lseek64 directly.
22948 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22949 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22950 __lseek64 directly.
22951 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22952 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22953 __lseek64 directly.
22954 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22955 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22956 __fxstat64 directly.
22957 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22958 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22960 (freopen64) [!_G_OPEN64]: Remove conditional code.
22961 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22963 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22964 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22966 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22967 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22969 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22970 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22972 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22973 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22975 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22976 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22978 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22979 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22981 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22983 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22986 * manual/memory.texi (Malloc Tunable Parameters): Add note
22987 about free list pointers overwriting some perturb bytes.
22988 Wording suggested by Roland McGrath.
22990 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22992 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22993 (lgamma_test): Likewise.
22994 (tgamma_test): Likewise.
22996 2012-10-16 Florian Weimer <fweimer@redhat.com>
22999 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23000 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23002 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23004 * NEWS: Mention BZ #14716.
23005 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23006 when removing AVAILABLE1_USES_J macro.
23008 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23010 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23011 (__bswap_64): __uint64_t for unsigned 64-bit int.
23013 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23015 * include/string.h (memmem): Declare libc hidden alias.
23016 * string/memmem.c (memmem): Define libc hidden alias.
23017 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23018 __read, __close instead of open, read, close.
23020 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23023 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23025 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23026 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23027 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23029 (__rawmemchr_sse2): Likewise.
23030 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23031 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23032 (__strchr_sse2): Likewise.
23033 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23034 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23035 (__strcasecmp_sse2): Likewise.
23036 (__strncasecmp_sse2): Likewise.
23037 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23038 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23039 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23040 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23041 (__strrchr_sse2): Likewise.
23042 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23044 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23045 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23046 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23047 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23048 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23049 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23050 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23051 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23052 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23053 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23054 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23055 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23056 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23057 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23058 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23059 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23060 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23061 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23062 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23063 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23064 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23065 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23066 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23067 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23068 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23069 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23070 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23071 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23072 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23073 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23075 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23077 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23078 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23079 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23080 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23082 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23084 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23085 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23086 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23087 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23089 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23090 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23091 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23092 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23093 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23094 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23095 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23096 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23097 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23098 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23099 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23100 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23101 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23102 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23103 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23104 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23105 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23106 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23107 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23108 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23109 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23110 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23111 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23112 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23113 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23114 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23115 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23116 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23117 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23118 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23119 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23120 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23121 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23122 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23123 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23124 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23125 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23126 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23127 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23128 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23129 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23131 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23132 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23133 * include/ifunc-impl-list.h: New file.
23134 * misc/ifunc-impl-list.c: Likewise.
23135 * misc/Makefile (routines): Add ifunc-impl-list.
23136 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23137 * string/test-string.h: Include <ifunc-impl-list.h>.
23138 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23139 impl_array): New variables.
23140 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23142 (test_init): Call __libc_ifunc_impl_list to initialize
23143 func_list if TEST_IFUNC and TEST_NAME are defined.
23145 * string/Makefile (strop-tests): Add bcopy and bzero.
23146 * string/test-bcopy.c: New file.
23147 * string/test-bzero.c: Likewise.
23148 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23150 * string/test-memset.c: Support bzero test if TEST_BZERO is
23152 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23154 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23156 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23159 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23161 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23162 * configure: Regenerated.
23164 * Makeconfig (+link-static-before-libc): Don't include
23165 $(link-static-libc).
23167 * libio/libio.h (_IO_pos_t): Remove.
23169 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23171 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23174 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23176 * crypt/crypt-entry.c: Include fips-private.h.
23177 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23178 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23179 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23180 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23182 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23184 * crypt/crypt-private.h: Include stdbool.h.
23185 (_ufc_setup_salt_r): Return bool.
23186 * crypt/crypt-entry.c: Include errno.h.
23187 (__crypt_r): Return NULL with EINVAL for bad salt.
23188 * crypt/crypt_util.c (bad_for_salt): New.
23189 (_ufc_setup_salt_r): Check that salt is long enough and within
23190 the specified alphabet.
23191 * crypt/badsalttest.c: New file.
23192 * crypt/Makefile (tests): Add it.
23193 ($(objpfx)badsalttest): New.
23195 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23197 * NEWS: Add entry for BZ #14602.
23199 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23201 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23203 * math/libm-test.inc: Update comment listing what functions and
23205 (isgreater_test): New function.
23206 (isgreaterequal_test): Likewise.
23207 (isless_test): Likewise.
23208 (islessequal_test): Likewise.
23209 (islessgreater_test): Likewise.
23210 (isunordered_test): Likewise.
23211 (main): Call the new functions.
23213 2012-10-09 Roland McGrath <roland@hack.frob.com>
23215 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23216 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23217 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23218 * sysdeps/i386/configure: Regenerated.
23219 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23220 * sysdeps/mach/configure: Regenerated.
23221 * sysdeps/mach/hurd/configure: Regenerated.
23222 * sysdeps/powerpc/configure: Regenerated.
23223 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23224 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23225 * sysdeps/s390/s390-32/configure: Regenerated.
23226 * sysdeps/s390/s390-64/configure: Regenerated.
23227 * sysdeps/sh/configure: Regenerated.
23228 * sysdeps/sparc/configure: Regenerated.
23229 * sysdeps/unix/sysv/linux/configure: Regenerated.
23230 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23231 * sysdeps/x86_64/configure: Regenerated.
23233 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23234 defined. Don't check if MAP is NULL.
23236 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23238 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23239 (_G_stat64): Likewise.
23240 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23241 (_G_stat64): Likewise.
23242 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23243 instead of struct _G_stat64.
23244 * libio/fileops.c (mmap_remap_check): Likewise.
23245 (decide_maybe_mmap): Likewise.
23246 (_IO_new_file_seekoff): Likewise.
23247 (_IO_file_stat): Likewise.
23248 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23250 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23251 instead of struct _G_stat64.
23252 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23254 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23257 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23259 (CHECK_EOL): New macro.
23260 (two_way_short_needle): Check beginning of haystack for EOL. Use
23262 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23263 Replace with CHECK_EOL.
23264 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23265 Replace with CHECK_EOL.
23267 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23269 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23271 * math/libm-test.inc: Update comment listing what functions and
23273 (finite_test): New function.
23274 (isinf_test): Likewise.
23275 (isnan_test): Likewise.
23276 (fpclassify_test): Test subnormal input.
23277 (isfinite_test): Likewise.
23278 (isnormal_test): Likewise.
23279 (main): Call the new functions.
23281 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23284 * Makerules (%.dynsym): Force C locale when running
23285 $(OBJDUMP) --dynamic-syms.
23287 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23289 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23292 2012-10-06 David S. Miller <davem@davemloft.net>
23294 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23295 upper 32-bits of the length value in %o2 since we use branch-on-register
23296 tests which consider the entire 64-bit register.
23298 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23300 * string/test-strstr.c (check2): Add a test for page boundary.
23302 2012-10-05 David S. Miller <davem@davemloft.net>
23304 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23305 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23307 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23309 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23310 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23311 and bzero when HWCAP_SPARC_CRYPTO is present.
23313 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23316 * string/test-strstr.c (check2): New function.
23317 (test_main): Call check2.
23319 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23321 * string/bug-strcasestr1.c (do_test): Moved to ...
23322 * string/test-strcasestr.c (check1): Here. New function.
23323 (do_one_test): Break out result checking code into ...
23324 (check_result): This. New function.
23325 (do_one_test): Call check_result.
23326 (test_main): Call check1.
23327 * string/bug-strchr1.c (do_test): Moved to ...
23328 * string/test-strchr.c (check1): Here. New function.
23329 (do_one_test): Break out result checking code into ...
23330 (check_result): This. New function.
23331 (do_one_test): Call check_result.
23332 (test_main): Call check1.
23333 * string/bug-strstr1.c (main): Moved to ...
23334 * string/test-strstr.c (check1): Here. New function.
23335 (do_one_test): Break out result checking code into ...
23336 (check_result): This. New function.
23337 (do_one_test): Call check_result.
23338 (test_main): Call check1.
23339 * string/bug-strcasestr1.c: Removed.
23340 * string/bug-strchr1.c: Likewise.
23341 * string/bug-strstr1.c: Likewise.
23343 * elf/Makefile (dl-routines): Add hwcaps.
23344 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23345 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23346 (_dl_important_hwcaps): Moved to ...
23347 * elf/dl-hwcaps.c: Here. New file.
23348 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23351 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23352 if IS_IN_rtld isn't defined.
23354 * elf/dl-support.c (_dl_sysinfo_map): New.
23355 Include "get-dynamic-info.h" and "setup-vdso.h".
23356 (_dl_non_dynamic_init): Call setup_vdso.
23357 * elf/dynamic-link.h: Don't include <assert.h>.
23358 (elf_get_dynamic_info): Moved to ...
23359 * elf/get-dynamic-info.h: Here. New file.
23360 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23361 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23362 * elf/setup-vdso.h: Here. New file.
23363 * elf/rtld.c: Include "setup-vdso.h".
23364 (dl_main): Call setup_vdso.
23366 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23368 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23369 creal in comment listing functions tested. List finite, isinf,
23370 isnan, isless, islessequal, isgreater, isgreaterequal,
23371 islessgreater, isunordered, lgamma_r and pow10 as functions and
23372 macros not tested. Mention which functions not tested are aliases
23373 for other functions. Fix typo. Note that signs of NaNs are not
23376 * scripts/config.guess: Update from config.git.
23377 * scripts/config.sub: Likewise.
23379 2012-10-04 Roland McGrath <roland@hack.frob.com>
23381 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23382 * misc/madvise.c (madvise): Renamed to __madvise.
23383 Make madvise a weak alias.
23384 * include/sys/mman.h: Declare __madvise.
23385 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23386 * sysdeps/unix/syscalls.list
23387 (madvise): Make __madvise the strong name, and madvise a weak alias.
23388 * sysdeps/unix/sysv/linux/syscalls.list
23389 (madvise, mmap): Remove redundant entries.
23390 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23391 * malloc/malloc.c (mtrim): Likewise.
23392 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23394 2012-10-03 Roland McGrath <roland@hack.frob.com>
23396 * sysdeps/mach/hurd/dl-cache.c: File removed.
23397 * config.h.in (USE_LDCONFIG): New #undef.
23398 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23399 * configure: Regenerated.
23400 * elf/Makefile (dl-routines): Add dl-cache only under
23401 [$(use-ldconfig) = yes].
23402 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23403 cache on [USE_LDCONFIG].
23404 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23406 * elf/rtld.c (dl_main): Likewise.
23408 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23410 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23411 _SC_LEVEL4_CACHE_LINESIZE.
23413 2012-10-03 Roland McGrath <roland@hack.frob.com>
23415 * sysdeps/unix/bsd/confstr.h: File removed.
23417 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23419 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23422 2012-10-02 Roland McGrath <roland@hack.frob.com>
23424 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23425 Make 'mapoff' field ElfW(Off) rather than off_t.
23427 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23429 * nscd/Makefile: Remove nscd-cflags and all its users.
23430 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23431 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23434 * malloc.c (malloc_printerr): Clarify error message.
23436 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23440 Set bit_FMA_Usable if FMA is supported.
23441 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23443 (bit_FMA4_Usable): Updated.
23444 (index_FMA_Usable): New macro.
23445 (CPUID_FMA): Likewise
23446 (HAS_FMA): Defined with bit_FMA_Usable.
23448 2012-10-01 Roland McGrath <roland@hack.frob.com>
23450 * bits/types.h (__swblk_t): Type removed.
23451 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23452 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23454 (__SWBLK_T_TYPE): Likewise.
23455 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23456 (__SWBLK_T_TYPE): Likewise.
23457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23458 (__SWBLK_T_TYPE): Likewise.
23459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23460 (__SWBLK_T_TYPE): Likewise.
23462 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23463 Honza Horak <hhorak@redhat.com>
23465 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23466 (xdr_mapname): Use YPMAXMAP as maxsize.
23467 (xdr_peername): Use YPMAXPEER as maxsize.
23468 (xdr_keydat): Use YPAXRECORD as maxsize.
23469 (xdr_valdat): Use YPMAXRECORD as maxsize.
23471 2012-10-01 Roland McGrath <roland@hack.frob.com>
23473 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23475 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23476 * csu/init-first.c: ... here.
23477 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23478 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23479 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23480 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23481 * sysdeps/i386/init-first.c: File removed.
23482 * sysdeps/sh/init-first.c: File removed.
23484 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23488 if x * y might underflow to zero and z is zero.
23489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23491 * math/libm-test.inc (min_subnorm_value): New variable.
23492 (fma_test): Add more tests.
23493 (fma_test_towardzero): Likewise.
23494 (fma_test_downward): Likewise
23495 (fma_test_upward): Likewise.
23496 (initialize): Set min_subnorm_value.
23498 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23503 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23504 mode for addition resulting in exact zero.
23505 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23508 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23510 * math/libm-test.inc (fma_test): Add more tests.
23511 (fma_test_towardzero): New function.
23512 (fma_test_downward): Likewise.
23513 (fma_test_upward): Likewise.
23514 (main): Call the new functions.
23516 2012-09-28 David S. Miller <davem@davemloft.net>
23518 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23520 2012-09-28 Roland McGrath <roland@hack.frob.com>
23522 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23523 instead of SIGALRM.
23525 * sysdeps/gnu/_G_config.h: Moved to ...
23526 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23527 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23528 * sysdeps/generic/_G_config.h: ... here.
23530 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23532 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23534 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23535 Conditionalize target on [libnss_test1.so-version].
23537 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23539 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23540 (elfobjdir): Move out of conditionals.
23542 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23543 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23544 (__nss_lookup_function): Conditionalize label remove_from_tree on
23545 [!DO_STATIC_NSS || SHARED], matching its only use.
23547 2012-09-28 David S. Miller <davem@davemloft.net>
23549 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23550 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23552 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23554 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23556 when HWCAP_SPARC_CRYPTO is present.
23558 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23560 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23562 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23565 * stdio-common/vfprintf.c (process_string_arg): Revert
23568 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23570 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23572 * stdio-common/tst-sprintf.c: Include <locale.h>
23573 (main): Test sprintf's handling of incomplete multibyte
23576 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23578 * elf/dl-runtime.c (VERSYMIDX): Removed.
23579 * elf/dl-version.c (VERSYMIDX): Likewise.
23580 * elf/do-rel.h (VERSYMIDX): Likewise.
23581 (VALIDX): Likewise.
23582 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23583 * elf/rtld.c (VALIDX): Likewise.
23584 (ADDRIDX): Likewise.
23585 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23586 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23587 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23588 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23589 (VALIDX): Likewise.
23590 (ADDRIDX): Likewise.
23592 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23594 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23596 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23599 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23601 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23602 addresses are in the same scope as 192.0.2/24.
23603 * posix/gai.conf: Document new scope table defaults.
23605 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23608 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23609 for ftell. Compute offsets from write pointers instead.
23610 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23612 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23615 * libio/Makefile (tests): New test case tst-fseek.
23616 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23617 combination works in wide mode.
23618 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23619 state when the external buffer state changes.
23621 2012-09-27 David S. Miller <davem@davemloft.net>
23624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23625 pass reloc->r_addend in as the 'high' argument to
23626 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23630 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23632 * rt/tst-aio2.c: Include <pthread.h>.
23633 * rt/tst-aio3.c: Likewise.
23635 2012-09-27 Steve Ellcey <sellcey@mips.com>
23637 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23639 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23641 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23642 contents on [SHARED].
23644 2012-09-26 Marek Polacek <polacek@redhat.com>
23648 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23649 for C++ and GCC <4.3 as well as for non GCC compilers.
23651 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23655 2012-09-25 Roland McGrath <roland@hack.frob.com>
23657 * Makefile.in (all, install): Declare with .PHONY.
23658 Reported by Michael Hope <michael.hope@linaro.org>.
23660 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23662 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23663 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23665 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23667 (sydep_routines): Add the new and the internal functions.
23668 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23669 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23671 (GLIBC_2.17): Add the new function.
23672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23673 (GLIBC_2.17): Likewise.
23674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23675 (GLIBC_2.17): Likewise.
23676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23677 (GLIBC_2.17): Likewise.
23678 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23680 2012-09-25 Alan Modra <amodra@gmail.com>
23682 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23683 Add release barrier before setting once_control to say
23684 initialisation is done. Add hints on lwarx. Use macro in
23686 (clear_once_control): Add release barrier.
23688 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23691 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23693 * math/s_clog10.c (__clog10): Likewise.
23694 * math/s_clog10f.c (__clog10f): Likewise.
23695 * math/s_clog10l.c (__clog10l): Likewise.
23696 * math/s_clogf.c (__clogf): Likewise.
23697 * math/s_clogl.c (__clogl): Likewise.
23698 * math/Makefile (libm-calls): Add x2y2m1.
23699 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23700 (__x2y2m1): Likewise.
23701 (__x2y2m1l): Likewise.
23702 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23703 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23704 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23705 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23706 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23707 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23708 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23709 * sysdeps/i386/fpu/libm-test-ulps: Update.
23710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23713 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23714 int as type of variable DEPTH.
23715 (glob): Use size_t instead of int as type of variables NEWCOUNT
23718 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23720 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23721 Add s_sincosf-sse2.
23722 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23723 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23724 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23725 macros for using routine as __sincosf_ia32.
23726 Use macro for function declaration and weak_alias.
23727 * sysdeps/i386/fpu/libm-test-ulps: Update.
23729 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23732 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23733 subnormal argument.
23734 * math/s_cexpf.c (__cexpf): Likewise.
23735 * math/s_csinf.c (__csinf): Likewise.
23736 * math/s_csinhf.c (__csinhf): Likewise.
23737 * math/s_ctanf.c (__ctanf): Likewise.
23738 * math/s_ctanhf.c (__ctanhf): Likewise.
23739 * math/s_ccosh.c (__ccoshf): Likewise.
23740 * math/s_cexp.c (__cexpl): Likewise.
23741 * math/s_csin.c (__csin): Likewise.
23742 * math/s_csinh.c (__csinh): Likewise.
23743 * math/s_ctan.c (__ctan): Likewise.
23744 * math/s_ctanh.c (ctanh): Likewise.
23745 * math/s_ccoshl.c (__ccoshl): Likewise.
23746 * math/s_cexpl.c (__cexpl): Likewise.
23747 * math/s_csinl.c (__csinl): Likewise.
23748 * math/s_csinhl.c (__csinhl): Likewise.
23749 * math/s_ctanl.c (__ctanl): Likewise.
23750 * math/s_ctanhl.c (__ctanhl): Likewise.
23752 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23754 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23755 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23756 (_IO_off_t): Define to __off_t, not _G_off_t.
23757 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23758 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23759 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23760 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23761 type of __dummy and __dummy2 fields.
23762 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23763 (_G_ssize_t): Likewise.
23764 (_G_off_t): Likewise.
23765 (_G_pid_t): Likewise.
23766 (_G_uid_t): Likewise.
23767 (_G_wchar_t): Likewise.
23768 (_G_wint_t): Likewise.
23769 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23770 (_G_ssize_t): Likewise.
23771 (_G_off_t): Likewise.
23772 (_G_pid_t): Likewise.
23773 (_G_uid_t): Likewise.
23774 (_G_wchar_t): Likewise.
23775 (_G_wint_t): Likewise.
23776 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23777 (_G_ssize_t): Likewise.
23778 (_G_off_t): Likewise.
23779 (_G_pid_t): Likewise.
23780 (_G_uid_t): Likewise.
23781 (_G_wchar_t): Likewise.
23782 (_G_wint_t): Likewise.
23784 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23786 * malloc/arena.c: Include malloc-sysdep.h.
23787 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23788 is sufficient to shrink the heap or an unmap is needed.
23789 * sysdeps/generic/malloc-sysdep.h: New file. Define
23790 new function check_may_shrink_heap.
23791 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23792 new function check_may_shrink_heap.
23794 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23796 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23799 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23801 * catgets/test-gencat.sh: Add "set -e".
23802 * elf/tst-pathopt.sh: Likewise.
23803 * grp/tst_fgetgrent.sh: Likewise.
23804 * iconvdata/run-iconv-test.sh: Likewise.
23805 * intl/tst-gettext.sh: Likewise.
23806 * intl/tst-gettext2.sh: Likewise.
23807 * intl/tst-gettext4.sh: Likewise.
23808 * intl/tst-gettext6.sh: Likewise.
23809 * intl/tst-translit.sh: Likewise.
23810 * io/ftwtest-sh: Likewise.
23811 * libio/test-freopen.sh: Likewise.
23812 * malloc/tst-mtrace.sh: Likewise.
23813 * posix/globtest.sh: Likewise.
23814 * posix/tst-getconf.sh: Likewise.
23815 * posix/wordexp-tst.sh: Likewise.
23816 * stdio-common/tst-printf.sh: Likewise.
23817 * stdio-common/tst-unbputc.sh: Likewise.
23818 * stdlib/tst-fmtmsg.sh: Likewise.
23819 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23820 * catgets/Makefile: Do not specify -e option when running
23821 testsuite shell scripts.
23822 * elf/Makefile: Likewise.
23823 * grp/Makefile: Likewise.
23824 * iconvdata/Makefile: Likewise.
23825 * intl/Makefile: Likewise.
23826 * io/Makefile: Likewise.
23827 * libio/Makefile: Likewise.
23828 * malloc/Makefile: Likewise.
23829 * posix/Makefile: Likewise.
23830 * stdio-common/Makefile: Likewise.
23831 * stdlib/Makefile: Likewise.
23832 * sysdeps/x86_64/Makefile: Likewise.
23834 * io/ftwtest-sh: Add copyright header.
23835 * posix/globtest.sh: Likewise.
23836 * posix/tst-getconf.sh: Likewise.
23837 * posix/wordexp-tst.sh: Likewise.
23838 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23840 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23843 * Makeconfig (+link): Defined as $(+link-static) if
23844 $(build-shared) isn't yes.
23845 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23847 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23849 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23852 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23853 new chunk size with MALLOC_ALIGN_MASK.
23855 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23858 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23860 (__printf_fphex): Determine rounding using get_rounding_mode and
23862 * stdio-common/tst-printf-round.c (struct hex_test): New
23864 (hex_tests): New variable.
23865 (test_hex_in_one_mode): New function.
23866 (do_test): Also run tests for hex float output.
23868 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23870 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23871 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23872 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23873 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23874 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23875 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23876 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23879 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23881 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23882 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23883 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23884 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23886 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23889 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23891 * elf/tst-rtld-load-self.sh: New test.
23892 * elf/Makefile: Run it.
23894 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23896 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23897 (tst-writev-ENV): Remove.
23898 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23900 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23902 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23904 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23906 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23908 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23910 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23911 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23912 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23915 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23918 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23919 * config.make.in (have-cpp-asm-debuginfo): Removed.
23920 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23921 * configure: Regenerated.
23923 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23926 * stdio-common/printf_fp.c: Include <stdbool.h> and
23928 (___printf_fp): Determine rounding using get_rounding_mode and
23930 * stdio-common/tst-printf-round.c: New file.
23931 * stdio-common/Makefile (tests): Add tst-printf-round.
23932 (link-libm): New variable.
23933 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23935 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23938 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23939 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23941 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23944 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23946 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23947 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23948 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23949 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23951 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23954 * include/rounding-mode.h: New file.
23955 * sysdeps/generic/get-rounding-mode.h: Likewise.
23956 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23957 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23958 (MAX_VALUE): New macro.
23959 (MIN_VALUE): Likewise.
23960 (overflow_value): New function.
23961 (underflow_value): Likewise.
23962 (round_and_return): Use overflow_value and underflow_value to
23963 determine return values in overflow and underflow cases. Use
23964 round_away to determine rounding depending on rounding mode.
23965 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23966 determine return values in overflow and underflow cases.
23967 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23968 (struct test_results): New structure.
23969 (struct test): Use struct test_results to store expected results
23970 for all rounding modes.
23971 (TEST): Include expected results for all rounding modes.
23972 (test_in_one_mode): New function.
23973 (do_test): Use test_in_one_mode to compute and check results.
23974 Check results for all rounding modes.
23975 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23978 2012-12-09 Allan McRae <allan@archlinux.org>
23980 * sysdeps/i386/fpu/libm-test-ulps: Update
23982 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23984 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23985 (_G_int32_t): Likewise.
23986 (_G_uint16_t): Likewise.
23987 (_G_uint32_t): Likewise.
23988 (_G_HAVE_BOOL): Likewise.
23989 (_G_HAVE_ATEXIT): Likewise.
23990 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23991 (_G_HAVE_IO_FILE_OPEN): Likewise.
23992 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23993 (_G_int32_t): Likewise.
23994 (_G_uint16_t): Likewise.
23995 (_G_uint32_t): Likewise.
23996 (_G_HAVE_BOOL): Likewise.
23997 (_G_HAVE_ATEXIT): Likewise.
23998 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23999 (_G_HAVE_IO_FILE_OPEN): Likewise.
24000 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24001 (_G_int32_t): Likewise.
24002 (_G_uint16_t): Likewise.
24003 (_G_uint32_t): Likewise.
24004 (_G_HAVE_BOOL): Likewise.
24005 (_G_HAVE_ATEXIT): Likewise.
24006 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24007 (_G_HAVE_IO_FILE_OPEN): Likewise.
24009 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24011 * csu/libc-tls.c: Update copyright years.
24013 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24015 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24016 [!_G_USING_THUNKS]: Remove conditional code.
24017 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24018 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24020 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24021 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24022 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24023 (_G_VTABLE_LABEL_PREFIX): Likewise.
24024 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24025 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24026 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24027 (_G_VTABLE_LABEL_PREFIX): Likewise.
24028 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24029 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24030 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24031 (_G_VTABLE_LABEL_PREFIX): Likewise.
24032 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24034 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24036 * libio/Makefile: Include ../Makeconfig before tests.
24037 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24038 only if $(build-shared) is yes.
24040 * iconv/gconv_db.c: Update copyright years.
24042 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24044 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24045 unwind info if defined PIC. Fix special cases description.
24046 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24048 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24050 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24052 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24054 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24056 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24059 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24060 (LDLIBS-tst-chk4): This.
24061 (LDFLAGS-tst-chk5): Renamed to ...
24062 (LDLIBS-tst-chk5): This.
24063 (LDFLAGS-tst-chk6): Renamed to ...
24064 (LDLIBS-tst-chk6): This.
24065 (LDFLAGS-tst-lfschk4): Renamed to ...
24066 (LDLIBS-tst-lfschk4): This.
24067 (LDFLAGS-tst-lfschk5): Renamed to ...
24068 (LDLIBS-tst-lfschk5): This.
24069 (LDFLAGS-tst-lfschk6): Renamed to ...
24070 (LDLIBS-tst-lfschk6): This.
24072 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24073 on $(common-objpfx)soversions.mk.
24075 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24078 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24081 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24083 * malloc/arena.c (arena_get_retry): New function that gets
24084 another arena for the caller to try its request on.
24085 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24086 current arena cannot fulfill the request.
24087 (__libc_memalign): Likewise.
24088 (__libc_memalign): Likewise.
24089 (__libc_pvalloc): Likewise.
24090 (__libc_calloc): Likewise.
24092 2012-09-05 John Tobey <john.tobey@gmail.com>
24095 * manual/arith.texi (Operations on Complex): Fix description
24096 of carg branch cut.
24098 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24101 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24105 * manual/memory.texi (Memory): Make order of menu items match
24108 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24110 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24111 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24112 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24114 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24116 * csu/libc-tls.c (static_dtv): Renamed to ...
24117 (_dl_static_dtv): This. Make it global.
24118 (_dl_initial_dtv): Removed.
24119 (__libc_setup_tls): Updated.
24120 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24121 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24124 2012-09-06 Petr Machata <pmachata@redhat.com>
24126 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24127 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24128 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24129 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24131 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24134 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24135 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24138 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24141 * Makeconfig (link-static-before-libc): Replace $(+prector)
24143 (link-static-after-libc): Replace $(+postctor) with
24145 (link-bounded): Replace $(+prector)/$(+postctor) with
24146 $(+prectorT)/$(+postctorT).
24147 (+prectorT): New macro.
24148 (+postctorT): Likewise.
24150 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24152 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24153 (round_str): Handle values above the maximum for IBM long double
24155 * stdlib/tst-strtod-round.c (tests): Regenerated.
24157 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24159 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24161 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24162 zarch_nohighgprs around the zarch optimized routines.
24163 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24164 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24165 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24168 2012-09-05 David S. Miller <davem@davemloft.net>
24170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24172 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24173 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24174 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24175 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24178 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24180 * malloc/arena.c: Fold copyright years.
24181 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24183 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24185 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24187 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24189 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24191 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24193 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24194 change internal state upon failure.
24196 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24198 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24199 * malloc/memusage.c (mmap): Likewise.
24200 (mmap64, mremap): Likewise. Adjust name in comment.
24202 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24204 * libio/fileops.c: Fix typos in comments.
24205 * libio/oldfileops.c: Likewise.
24206 * libio/wfileops.c: Likewise.
24208 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24211 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24212 (tst-malloc-usable-ENV): Set environment for test case.
24213 * malloc/hooks.c (malloc_check_get_size): New function to get
24215 * malloc/malloc.c (musable): Use malloc_check_get_size.
24216 * malloc/tst-malloc-usable.c: New test case.
24218 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24220 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24222 2012-09-05 Allan McRae <allan@archlinux.org>
24225 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24226 determine header location.
24227 * configure: Regenerated.
24229 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24231 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24233 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24234 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24236 (test): Regenerate.
24238 2012-09-04 David S. Miller <davem@davemloft.net>
24240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24242 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24244 2012-09-04 Florian Weimer <fweimer@redhat.com>
24246 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24249 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24251 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24254 * libio/iogetdelim.c: Include <limits.h>.
24255 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24256 + len + 1 would overflow.
24258 2012-09-03 Andreas Jaeger <aj@suse.de>
24260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24261 * sysdeps/i386/fpu/libm-test-ulps: Update.
24263 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24265 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24266 Add s_sinf-sse2, s_conf-sse2.
24268 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24269 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24270 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24271 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24273 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24274 for using routine as __sinf_ia32.
24275 Use macro for function declaration and weak_alias.
24276 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24277 for using routine as __cosf_ia32.
24278 Use macro for function declaration and weak_alias.
24280 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24281 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24283 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24284 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24287 * math/libm-test.inc (cos_test): Add more test cases.
24288 (sin_test): Likewise.
24289 (sincos_test): Likewise.
24291 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24293 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24294 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24296 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24298 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24301 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24302 first element of the GOT.
24303 (elf_machine_load_address): Return the difference between
24304 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24306 2012-09-01 Allan McRae <allan@archlinux.org>
24309 * configure.in (AWK): Require gawk version 3.0 or later.
24310 * configure: Regenerated.
24312 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24314 * sysdeps/unix/sysv/linux/kernel-features.h
24315 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24317 [__NR_clock_getres]: Make code unconditional.
24318 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24319 (clock_getcpuclockid): Remove code left unreachable by removal of
24321 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24322 code unconditional.
24323 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24324 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24325 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24326 Make code unconditional.
24327 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24328 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24329 * sysdeps/unix/sysv/linux/clock_settime.c
24330 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24332 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24333 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24335 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24338 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24339 scripts/test-installation.pl.
24341 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24342 and $ld_so_version if it is set.
24344 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24347 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24348 failure if reading from procfs failed.
24349 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24351 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24353 * sysdeps/unix/sysv/linux/kernel-features.h
24354 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24355 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24356 Remove conditional code.
24357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24358 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24359 Remove conditional code.
24360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24361 * sysdeps/unix/sysv/linux/i386/fxstat.c
24362 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24364 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24365 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24367 * sysdeps/unix/sysv/linux/i386/lxstat.c
24368 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24370 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24371 Remove conditional code.
24372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24373 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24374 Remove conditional code.
24375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24376 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24377 <kernel-features.h>.
24378 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24380 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24381 Remove conditional code.
24382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24383 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24384 Remove conditional.
24386 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24389 * NEWS: Add fixed bug number.
24391 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24394 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24395 underflowing exponent in case of negative sign.
24396 * stdlib/tst-strtod-round-data: Add more tests.
24397 * stdlib/tst-strtod-round.c (tests): Regenerated.
24400 * stdlib/strtod_l.c (NDIG): Remove.
24401 (HEXNDIG): Likewise.
24402 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24403 smallest representable value.
24404 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24405 lie within an exact representation of 1/2 ulp of the result.
24406 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24408 (TENS_P9_IDX): Define unconditionally.
24409 (TENS_P9_SIZE): Likewise.
24410 (TENS_P10_IDX): Likewise.
24411 (TENS_P10_SIZE): Likewise.
24412 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24413 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24414 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24415 entries for 10^2^13 and 10^2^14.
24416 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24417 (TENS_P13_IDX): Define.
24418 (TENS_P13_SIZE): Likewise.
24419 (TENS_P14_IDX): Likewise.
24420 (TENS_P14_SIZE): Likewise.
24421 (_fpioconst_pow10): Change array size to
24422 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24424 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24425 1024]: Add entries for 10^2^13 and 10^2^14.
24426 [LAST_POW10 > _LAST_POW10]: Remove #error.
24427 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24428 (_fpioconst_pow10): Change array size to
24429 FPIOCONST_POW10_ARRAY_SIZE.
24430 * stdlib/gen-fpioconst.c: New file.
24431 * stdlib/gen-tst-strtod-round.c: Likewise.
24432 * stdlib/tst-strtod-round-data: Likewise.
24433 * stdlib/tst-strtod-round.c: Likewise.
24434 * stdlib/Makefile (tests): Add tst-strtod-round.
24437 * stdlib/strtod_l.c: Include <stdint.h>.
24438 (NDEBUG): Do not define.
24439 (round_and_return): Change EXPONENT parameter to type intmax_t.
24440 Rearrange calculations to avoid internal overflow possibilities.
24441 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24442 Rearrange calculations to avoid internal overflow possibilities.
24443 Assert that number fits inside MPNSIZE limbs.
24444 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24445 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24446 calculations and add assertions to avoid internal overflow
24447 possibilities. Add casts to avoid signed/unsigned operations.
24448 * stdlib/tst-strtod-overflow.c: New file.
24449 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24451 2012-08-25 Marek Polacek <polacek@redhat.com>
24453 * time/time.h: Fix some typos in comments.
24455 2012-08-23 Roland McGrath <roland@hack.frob.com>
24457 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24458 * posix/tst-rfc3484-2.c: Likewise.
24459 * posix/tst-rfc3484-3.c: Likewise.
24461 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24463 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24464 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24466 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24468 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24469 #include of fxstatat64.c.
24471 2012-08-22 Roland McGrath <roland@hack.frob.com>
24473 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24474 * shadow/getspent_r.c: Likewise.
24475 * shadow/getspnam.c: Likewise.
24476 * shadow/getspnam_r.c: Likewise.
24477 * gshadow/getsgent.c: Likewise.
24478 * gshadow/getsgent_r.c: Likewise.
24479 * gshadow/getsgnam.c: Likewise.
24480 * gshadow/getsgnam_r.c: Likewise.
24481 * inet/getnetbyad.c: Likewise.
24482 * inet/getnetbyad_r.c: Likewise.
24483 * inet/getnetbynm.c: Likewise.
24484 * inet/getnetbynm_r.c: Likewise.
24485 * inet/getnetent.c: Likewise.
24486 * inet/getnetent_r.c: Likewise.
24487 * inet/getproto.c: Likewise.
24488 * inet/getproto_r.c: Likewise.
24489 * inet/getprtent.c: Likewise.
24490 * inet/getprtent_r.c: Likewise.
24491 * inet/getprtname.c: Likewise.
24492 * inet/getprtname_r.c: Likewise.
24493 * inet/getrpcbyname.c: Likewise.
24494 * inet/getrpcbyname_r.c: Likewise.
24495 * inet/getrpcbynumber.c: Likewise.
24496 * inet/getrpcbynumber_r.c: Likewise.
24497 * inet/getrpcent.c: Likewise.
24498 * inet/getrpcent_r.c: Likewise.
24499 * inet/getaliasent.c: Likewise.
24500 * inet/getaliasent_r.c: Likewise.
24501 * inet/getaliasname.c: Likewise.
24502 * inet/getaliasname_r.c: Likewise.
24503 * nscd/getgrgid_r.c: Likewise.
24504 * nscd/getgrnam_r.c: Likewise.
24505 * nscd/gethstbyad_r.c: Likewise.
24506 * nscd/gethstbynm3_r.c: Likewise.
24507 * nscd/getpwnam_r.c: Likewise.
24508 * nscd/getpwuid_r.c: Likewise.
24509 * nscd/getsrvbynm_r.c: Likewise.
24510 * nscd/getsrvbypt_r.c: Likewise.
24511 * nscd/gai.c: Likewise.
24513 * configure.in (build_nscd): New substituted variable, set
24514 by --disable-build-nscd and defaults to $use_nscd.
24515 * configure: Regenerated.
24516 * config.make.in (build-nscd): New substituted variable.
24517 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24518 Change conditional to require [$(build-nscd) = yes] as well.
24519 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24522 * configure.in (use_nscd): New substituted variable, set by
24523 --disable-nscd. If enabled, define USE_NSCD.
24524 * configure: Regenerated.
24525 * config.h.in: Add USE_NSCD.
24526 * config.make.in (use-nscd): New substituted variable.
24527 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24528 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24529 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24530 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24531 (CFLAGS-getgrnam_r.c): Likewise.
24532 (CFLAGS-initgroups.c): Likewise.
24533 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24534 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24536 * inet/getnetgrent_r.c
24537 (nscd_setnetgrent): New function, broken out of ...
24538 (setnetgrent): ... here. Call it.
24539 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24540 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24541 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24542 * nscd/Makefile (routines, aux): Move definitions after include of
24543 Makeconfig. Conditionalize on [$(use-nscd) != no].
24544 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24545 Conditionalize on [USE_NSCD].
24546 (is_nscd, nscd_init_cb): Likewise.
24547 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24548 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24549 * nss/nss_db/db-init.c: Likewise.
24550 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24552 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24553 (make_request): Use it.
24554 (cache_valid_p): New function.
24555 (__check_pf): Use it.
24556 * NEWS: Add item for --disable-nscd.
24558 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24560 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24561 to support sed >= 4.2.1-20-ga9bf076.
24562 * configure: Regenerated.
24564 2012-08-22 Roland McGrath <roland@hack.frob.com>
24566 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24567 Conditionalize whole body on [IREL].
24569 2012-08-22 Jeff Law <law@redhat.com>
24572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24573 if the family is PF_UNSPEC.
24575 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24577 * Makerules (lib-version): Rename from V.
24578 (install-lib-nosubdir): Change V to lib-version.
24580 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24583 * powerpc32/power6/wcschr.c: New file.
24584 * powerpc32/power6/wcscpy.c: New file.
24585 * powerpc32/power6/wcsrchr.c: New file.
24586 * powerpc64/power6/wcschr.c: New file.
24587 * powerpc64/power6/wcscpy.c: New file.
24588 * powerpc64/power6/wcsrchr.c: New file.
24590 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24592 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24593 (two_way_short_needle): Use it.
24594 * string/strstr.c (AVAILABLE1_USES_J): Define.
24595 * string/strcasestr.c: Likewise.
24597 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24599 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24602 * NEWS: Add an entry.
24603 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24604 define their defaults.
24605 (two_way_short_needle): Detect end-of-string on-the-fly.
24606 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24607 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24608 * string/bug-strcasestr1.c: New test.
24609 * string/Makefile: Run it.
24611 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24614 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24615 the first character.
24617 2012-08-21 Roland McGrath <roland@hack.frob.com>
24619 * csu/elf-init.c (__libc_csu_irel): Function removed.
24620 * csu/libc-start.c (apply_irel): New function.
24621 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24623 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24625 * sysdeps/unix/sysv/linux/kernel-features.h
24626 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24627 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24628 <kernel-features.h>.
24629 [__NR_fadvise64_64]: Make code unconditional.
24630 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24631 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24632 !__NR_fadvise64_64)]: Likewise.
24633 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24634 !__NR_fadvise64_64))]: Likewise.
24635 [__NR_fadvise64]: Make code unconditional.
24636 [!__NR_fadvise64]: Remove conditional code.
24637 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24638 <kernel-features.h>.
24639 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24641 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24644 not include <kernel-features.h>.
24645 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24647 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24649 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24650 include <kernel-features.h>.
24651 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24653 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24656 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24658 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24659 slight instruction rearrangements per scrollpipe analysis.
24660 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24662 2012-08-20 Roland McGrath <roland@hack.frob.com>
24664 * manual/syslog.texi (syslog; vsyslog, closelog):
24665 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24666 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24668 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24669 DSOCAPS to match condition on defining it.
24671 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24673 * sysdeps/unix/sysv/linux/kernel-features.h
24674 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24676 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24677 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24679 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24680 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24682 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24683 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24685 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24686 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24688 * sysdeps/unix/sysv/linux/kernel-features.h
24689 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24690 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24692 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24693 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24694 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24695 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24696 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24697 Make code unconditional.
24698 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24699 (__mmap64) [!__NR_mmap2]: Likewise.
24700 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24701 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24702 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24703 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24704 [__NR_mmap2]: Make code unconditional.
24705 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24706 (__mmap64) [!__NR_mmap2]: Likewise.
24708 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24710 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24712 2012-08-18 Andreas Jaeger <aj@suse.de>
24714 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24716 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24718 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24719 * include/unistd.h (__have_sock_cloexec): Likewise.
24720 (__have_pipe2): Likewise.
24721 (__have_dup3): Likewise.
24723 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24726 * include/unistd.h (__have_pipe2): Change define into an extern int.
24727 (__have_dup3): Likewise.
24728 * socket/have_sock_cloexec.c: Include fcntl.h.
24729 (__have_pipe2): New variable.
24730 (__have_dup3): Likewise.
24732 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24734 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24736 2012-08-17 Marek Polacek <polacek@redhat.com>
24738 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24739 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24741 2012-08-17 Roland McGrath <roland@hack.frob.com>
24743 * configure.in: Add AC_SUBST for sysheaders.
24744 * configure: Regenerated.
24745 * config.make.in (sysheaders): New substituted variable.
24747 * sysdeps/unix/mkfifo.c: Moved ...
24748 * sysdeps/posix/mkfifo.c: ... here.
24749 * sysdeps/unix/mkfifoat.c: Moved ...
24750 * sysdeps/posix/mkfifoat.c: ... here.
24752 * sysdeps/unix/utime.c: Moved ...
24753 * sysdeps/posix/utime.c: ... here.
24755 * sysdeps/unix/time.c: Moved ...
24756 * sysdeps/posix/time.c: ... here.
24757 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24758 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24760 * sysdeps/unix/nice.c: Moved ...
24761 * sysdeps/posix/nice.c: ... here.
24763 * sysdeps/unix/alarm.c: Moved ...
24764 * sysdeps/posix/alarm.c: ... here.
24766 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24768 2012-08-17 Jeff Law <law@redhat.com>
24770 * intl/Makefile (codeset_mo): New variable.
24771 ($(codeset_mo)): New target.
24772 (tst-codeset.out): Depend on that. Remove explicit rule.
24773 (tst-gettext3.out, tst-gettext5.out): Likewise.
24774 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24775 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24776 * intl/tst-codeset.sh: Remove.
24777 * intl/tst-gettext3.sh: Likewise.
24778 * intl/tst-gettext5.sh: Likewise.
24780 2012-08-17 Roland McGrath <roland@hack.frob.com>
24782 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24783 * sysdeps/unix/syscalls.list: ... here.
24785 * sysdeps/posix/getaddrinfo.c
24786 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24787 (gaiconf_init, gaiconf_reload): Use them.
24788 [!_STATBUF_ST_NSEC]
24789 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24790 Define using time_t rather than struct timespec.
24792 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24793 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24795 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24797 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24798 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24801 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24802 __libc_cleanup_push argument.
24804 * bits/param.h: New file.
24805 * misc/sys/param.h: New file.
24806 * include/sys/param.h: New file.
24807 * misc/Makefile (headers): Add bits/param.h.
24808 * sysdeps/generic/sys/param.h: File removed.
24809 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24810 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24811 * sysdeps/mach/hurd/bits/param.h: New file.
24812 * sysdeps/mach/hurd/sys/param.h: File removed.
24814 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24817 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24819 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24820 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24823 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24824 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24825 rather than -D_IO_MTSAFE_IO conditionally.
24826 * stdio-common/Makefile (CPPFLAGS): Likewise.
24827 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24828 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24829 Use $(libio-mtsafe).
24830 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24831 of -D_IO_MTSAFE_IO.
24832 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24833 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24834 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24835 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24836 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24837 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24838 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24839 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24840 (CFLAGS-fread_u_chk.c): Likewise.
24841 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24842 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24843 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24844 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24845 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24846 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24847 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24848 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24849 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24851 * libio/Makefile: Test [$(libc-reentrant) = yes]
24852 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24855 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24856 * sysdeps/pthread/configure: File removed.
24857 * sysdeps/pthread/Makeconfig: New file.
24858 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24859 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24861 2012-08-16 Gary Benson <gbenson@redhat.com>
24863 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24864 unmapping the first object in a namespace.
24866 2012-08-16 Roland McGrath <roland@hack.frob.com>
24868 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24869 (__internal_setnetgrent): ... this. Add internal_function to
24870 definition. Add libc_hidden_def.
24871 (setnetgrent): Update caller.
24872 (internal_endnetgrent): Renamed to ...
24873 (__internal_endnetgrent): ... this. Add internal_function to
24874 definition. Add libc_hidden_def.
24875 (endnetgrent): Update caller.
24876 (internal_getnetgrent_r): Renamed to ...
24877 (__internal_getnetgrent_r): ... this. Add internal_function to
24878 definition. Add libc_hidden_def.
24879 (__getnetgrent_r): Update caller.
24880 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24882 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24884 * stdlib/longlong.h: Update from GCC.
24886 2012-08-16 Roland McGrath <roland@hack.frob.com>
24888 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24889 on _QL, which is set by umul_ppmm but never used.
24890 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24891 variables, which are set by GMP macros but never used.
24892 * stdio-common/_itowa.c (_itowa): Likewise.
24893 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24894 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24896 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24898 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24899 struct La_sh_regs is not constant.
24900 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24901 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24902 and struct La_sparc64_regs are not constant.
24904 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24906 * sysdeps/unix/sysv/linux/kernel-features.h
24907 (__ASSUME_POSIX_TIMERS): Remove.
24908 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24909 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24910 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24911 Make code unconditional.
24912 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24913 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24914 Make code unconditional.
24915 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24916 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24917 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24919 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24920 Make code unconditional.
24921 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24922 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24923 (__libc_missing_posix_timers): Remove.
24925 2012-08-15 Roland McGrath <roland@hack.frob.com>
24927 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24928 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24930 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24932 * elf/dl-sym.c: Include <stdlib.h>.
24934 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24935 constants, which avoids warnings in 32-bit builds.
24937 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24938 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24940 * misc/lseek.c: File moved to ...
24941 * io/lseek.c: ... here.
24943 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24945 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24946 shifting LEN more than 31 bits at once.
24948 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24951 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24952 segmentation fault for a case of two empty input strings.
24953 * string/test-strncasecmp.c (check1): Renamed to...
24954 (bz12205): ...this.
24955 (bz14195): Add new testcase for two empty input strings and N > 0.
24956 (test_main): Call new testcase, adapt for renamed function.
24958 2012-08-15 Andreas Jaeger <aj@suse.de>
24961 * crypt/md5test2.c: New test, based on test supplied by Serge
24962 Belyshev <belyshev@depni.sinp.msu.ru>.
24963 * crypt/Makefile (xtests): Add md5test-giant..
24964 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24966 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24969 * crypt/md5.c (md5_process_block): Don't assume the buffer
24970 length is less than 2**32.
24971 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24972 length is less than 2**64.
24974 2012-08-15 Roland McGrath <roland@hack.frob.com>
24976 * string/str-two-way.h: Include <sys/param.h>.
24977 (MAX): Macro removed.
24979 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24980 Move #define and #undef of memmove to just before and after
24981 including <string.h>.
24983 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24984 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24985 and after including <string.h>. Move declarations of
24986 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24987 to before #include "string/memmove.c".
24989 * include/dirent.h: Declare __getdirentries.
24991 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24992 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24994 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24996 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24997 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24998 * sysdeps/i386/configure: Regenerated.
24999 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25000 STABS_CURRENT_FILE, and STABS_FUN.
25001 (END): Remove call to STABS_FUN_END.
25002 (STABS_CURRENT_FILE1): Delete.
25003 (STABS_CURRENT_FILE): Likewise.
25004 (STABS_FUN): Likewise.
25005 (STABS_FUN_END): Likewise.
25006 (STABS_FUN2): Likewise.
25007 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25008 * sysdeps/x86_64/configure: Regenerated.
25010 2012-08-14 Roland McGrath <roland@hack.frob.com>
25012 * elf/dl-open.c: Include <atomic.h>.
25013 * elf/dl-lookup.c: Likewise.
25015 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25017 * sysdeps/unix/sysv/linux/kernel-features.h
25018 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25019 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25021 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25023 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25024 condition on __ASSUME_CLONE_THREAD_FLAGS.
25026 2012-08-14 Andreas Jaeger <aj@suse.de>
25028 * sysdeps/i386/fpu/libm-test-ulps: Update.
25030 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25032 * include/atomic.h (atomic_exchange_and_add): Split into ...
25033 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25036 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25040 2012-08-13 Jeff Law <law@redhat.com>
25042 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25043 null byte in the output string.
25045 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25047 * sysdeps/unix/sysv/linux/kernel-features.h
25048 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25049 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25050 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25051 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25052 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25053 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25054 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25056 2012-08-09 Jeff Law <law@redhat.com>
25059 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25060 When avoid_arena is set, don't retry in the that arena. Pick the
25061 next one, whatever it might be.
25062 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25063 (arena_lock): Pass in new parameter to arena_get2.
25064 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25066 (__libc_malloc): Unify retrying after main arena failure with
25067 __libc_memalign version.
25068 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25070 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25073 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25074 to __redirect_strstr.
25075 (__strstr_sse42): Use typeof __redirect_strstr.
25076 (__strstr_ia32): Likewise.
25077 (__libc_strstr): New prototype.
25078 (strstr): Renamed to ...
25079 (__libc_strstr): This.
25080 (strstr): New strong alias of __libc_strstr.
25081 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25082 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25085 (__libc_time): New prototype.
25086 (time_ifunc): Replace time with __libc_time.
25087 (time): New strong alias and hidden definition of __libc_time.
25088 (__GI_time): Remove strong alias.
25089 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25090 Include <stddef.h>.
25091 (memmove): Redefined to __redirect_memmove.
25092 (__memmove_sse2): Use typeof __redirect_memmove.
25093 (__memmove_ssse3): Likewise.
25094 (__memmove_ssse3_back): Likewise.
25095 (__libc_memmove): New prototype.
25096 (memmove): Renamed to ...
25097 (__libc_memmove): This.
25098 (memmove): New strong alias of __libc_memmove.
25100 2012-08-08 Mark Salter <msalter@redhat.com>
25103 (R_MN10300_TLS_GD): Define.
25104 (R_MN10300_TLS_LD): Likewise.
25105 (R_MN10300_TLS_LDO): Likewise.
25106 (R_MN10300_TLS_GOTIE): Likewise.
25107 (R_MN10300_TLS_IE): Likewise.
25108 (R_MN10300_TLS_LE): Likewise.
25109 (R_MN10300_TLS_DTPMOD): Likewise.
25110 (R_MN10300_TLS_DTPOFF): Likewise.
25111 (R_MN10300_TLS_TPOFF): Likewise.
25112 (R_MN10300_SYM_DIFF): Likewise.
25113 (R_MN10300_ALIGN): Likewise.
25114 (R_MN10300_NUM): Update.
25116 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25118 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25121 2012-08-08 Roland McGrath <roland@hack.frob.com>
25123 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25125 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25126 sysdeps/unix -> sysdeps/posix move.
25127 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25129 2012-08-07 Allan McRae <allan@archlinux.org>
25132 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25133 (SUNOS_CPP): Likewise.
25134 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25136 (open_input): Call CPP using execvp.
25138 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25140 * sysdeps/unix/sysv/linux/kernel-features.h
25141 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25142 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25143 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25144 (__ASSUME_WAITID_SYSCALL): Likewise.
25145 * sysdeps/unix/sysv/linux/dl-execstack.c
25146 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25147 code unconditional.
25148 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25150 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25151 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25152 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25154 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25156 [__ASSUME_WAITID_SYSCALL]: Likewise.
25157 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25159 2012-08-07 Roland McGrath <roland@hack.frob.com>
25161 * sysdeps/unix/closedir.c: Renamed to ...
25162 * sysdeps/posix/closedir.c: ... here.
25163 * sysdeps/unix/dirfd.c: Renamed to ...
25164 * sysdeps/posix/dirfd.c: ... here.
25165 * sysdeps/unix/dirstream.h: Renamed to ...
25166 * sysdeps/posix/dirstream.h: ... here.
25167 * sysdeps/unix/fdopendir.c: Renamed to ...
25168 * sysdeps/posix/fdopendir.c: ... here.
25169 * sysdeps/unix/opendir.c: Renamed to ...
25170 * sysdeps/posix/opendir.c: ... here.
25171 * sysdeps/unix/readdir.c: Renamed to ...
25172 * sysdeps/posix/readdir.c: ... here.
25173 * sysdeps/unix/readdir_r.c: Renamed to ...
25174 * sysdeps/posix/readdir_r.c: ... here.
25175 * sysdeps/unix/rewinddir.c: Renamed to ...
25176 * sysdeps/posix/rewinddir.c: ... here.
25177 * sysdeps/unix/seekdir.c: Renamed to ...
25178 * sysdeps/posix/seekdir.c: ... here.
25179 * sysdeps/unix/telldir.c: Renamed to ...
25180 * sysdeps/posix/telldir.c: ... here.
25181 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25182 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25183 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25184 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25186 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25187 * bits/fcntl.h: ... here.
25189 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25191 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25192 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25193 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25194 (struct flock): Move l_start, l_len to the beginning.
25195 Use __pid_t for l_pid.
25196 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25197 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25198 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25199 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25200 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25201 [__USE_LARGEFILE64] (struct flock64): New type.
25202 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25204 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25205 * bits/dirent.h: ... here.
25207 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25208 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25210 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25213 Change from 2.6.0 to 2.6.16.
25214 * sysdeps/unix/sysv/linux/configure: Regenerated.
25215 * sysdeps/unix/sysv/linux/kernel-features.h
25216 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25217 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25219 (__ASSUME_UTIMES): Likewise.
25220 (__ASSUME_CLONE_STOPPED): Remove.
25221 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25222 architectures, not kernel version.
25223 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25224 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25225 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25226 (__ASSUME_WAITID_SYSCALL): Likewise.
25227 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25228 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25229 * README: State 2.6.16 as minimum Linux kernel version. Do not
25230 refer to older versions.
25232 2012-08-06 Roland McGrath <roland@hack.frob.com>
25234 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25235 Define alphasort64 as an alias.
25236 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25237 Define versionsort64 as an alias.
25238 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25239 Define scandir64 as an alias.
25240 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25241 Define scandirat64 as an alias.
25242 * dirent/alphasort64.c (alphasort64):
25243 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25244 * dirent/versionsort64.c: Likewise.
25245 * dirent/scandir64.c: Likewise.
25246 * dirent/scandirat64.c: Likewise.
25247 * sysdeps/wordsize-64/alphasort.c: File removed.
25248 * sysdeps/wordsize-64/alphasort64.c: File removed.
25249 * sysdeps/wordsize-64/scandir.c: File removed.
25250 * sysdeps/wordsize-64/scandir64.c: File removed.
25251 * sysdeps/wordsize-64/scandirat.c: File removed.
25252 * sysdeps/wordsize-64/scandirat64.c: File removed.
25253 * sysdeps/wordsize-64/versionsort.c: File removed.
25254 * sysdeps/wordsize-64/versionsort64.c: File removed.
25255 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25256 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25257 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25258 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25259 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25260 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25261 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25262 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25264 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25265 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25266 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25268 [defined __arch64__ || defined __sparcv9]
25269 (__INO_T_MATCHES_INO64_T): New macro.
25270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25271 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25272 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25273 * sysdeps/unix/sysv/linux/bits/dirent.h
25274 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25275 (_DIRENT_MATCHES_DIRENT64): New macro.
25277 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25278 Define lockf64 as an alias.
25279 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25280 Define fseeko64 as an alias.
25281 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25282 Define ftello64 as an alias.
25283 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25284 Define _IO_fgetpos64 and fgetpos64 as aliases.
25285 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25286 Define _IO_fsetpos64 and fsetpos64 as aliases.
25287 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25288 Conditionalize body on this.
25289 * libio/fseeko64.c: Likewise.
25290 * libio/ftello64.c: Likewise.
25291 * libio/iofgetpos64.c: Likewise.
25292 * libio/iofsetpos64.c: Likewise.
25293 * sysdeps/wordsize-64/lockf.c: File removed.
25294 * sysdeps/wordsize-64/lockf64.c: File removed.
25295 * sysdeps/wordsize-64/fseeko.c: File removed.
25296 * sysdeps/wordsize-64/fseeko64.c: File removed.
25297 * sysdeps/wordsize-64/ftello.c: File removed.
25298 * sysdeps/wordsize-64/ftello64.c: File removed.
25299 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25300 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25301 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25302 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25303 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25304 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25305 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25306 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25307 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25308 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25309 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25310 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25311 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25312 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25314 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25316 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25318 [defined __arch64__ || defined __sparcv9]
25319 (__OFF_T_MATCHES_OFF64_T): New macro.
25320 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25321 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25323 (__OFF_T_MATCHES_OFF64_T): New macro.
25325 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25327 * stdlib/secure-getenv.c (__secure_getenv): Replace
25328 GLIBC_2_16 with GLIBC_2_17.
25330 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25332 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25333 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25335 2012-08-03 David S. Miller <davem@davemloft.net>
25337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25339 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25341 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25343 (__ASSUME_CORRECT_SI_PID): Likewise.
25344 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25345 (__ASSUME_TMPFS_NAME): Likewise.
25346 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25347 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25348 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25349 (HAVE_AUX_SECURE): Make definition unconditional.
25350 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25351 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25353 2012-08-03 Roland McGrath <roland@hack.frob.com>
25355 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25356 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25357 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25358 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25359 __eloop_threshold instead of SYMLOOP_MAX.
25361 * sysdeps/generic/eloop-threshold.h: New file.
25362 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25364 * elf/chroot_canon.c (chroot_canon): Likewise.
25366 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25369 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25370 Change to 2.6.0 everywhere.
25371 * sysdeps/unix/sysv/linux/configure: Regenerated.
25372 * sysdeps/unix/sysv/linux/kernel-features.h
25373 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25374 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25376 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25377 (__ASSUME_FUTEX_REQUEUE): Remove.
25378 (__ASSUME_STATFS64): Define unconditionally.
25379 (__ASSUME_AT_SECURE): Likewise.
25380 (__ASSUME_CORRECT_SI_PID): Likewise.
25381 (__ASSUME_TGKILL): Define without depending on kernel version for
25383 (__ASSUME_UTIMES): Likewise.
25384 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25386 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25387 (__ASSUME_TMPFS_NAME): Likewise.
25388 * README: Update reference to Linux kernel versions.
25390 2012-08-02 Marek Polacek <polacek@redhat.com>
25393 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25394 libc_cv_asm_type_prefix with %.
25395 * configure: Regenerated.
25396 * include/libc-symbols.h: Remove comment about
25397 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25398 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25399 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25400 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25401 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25402 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25403 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25404 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25405 * elf/tst-unique2mod1.c: Likewise.
25406 * elf/tst-unique1mod2.c: Likewise.
25407 * elf/tst-unique1mod1.c: Likewise.
25408 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25409 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25410 Replace ASM_TYPE_DIRECTIVE with .type.
25411 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25412 * sysdeps/i386/sysdep.h: Likewise.
25413 * sysdeps/x86_64/sysdep.h: Likewise.
25414 * sysdeps/sh/sysdep.h: Likewise.
25415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25416 Do not define ASM_TYPE_DIRECTIVE.
25417 * sysdeps/powerpc/sysdep.h: Likewise.
25418 * sysdeps/powerpc/powerpc32/sysdep.h:
25419 Replace ASM_TYPE_DIRECTIVE with .type.
25420 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25421 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25422 * sysdeps/i386/fpu/e_powf.S: Likewise.
25423 * sysdeps/i386/fpu/e_expl.S: Likewise.
25424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25425 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25426 * sysdeps/i386/fpu/e_pow.S: Likewise.
25427 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25428 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25429 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25430 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25431 * sysdeps/i386/fpu/e_log2.S: Likewise.
25432 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25433 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25434 * sysdeps/i386/fpu/e_powl.S: Likewise.
25435 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25436 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25437 * sysdeps/i386/fpu/e_logl.S: Likewise.
25438 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25439 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25440 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25441 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25442 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25443 * sysdeps/i386/fpu/e_log.S: Likewise.
25444 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25445 * sysdeps/i386/fpu/e_logf.S: Likewise.
25446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25447 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25448 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25449 * sysdeps/i386/fpu/e_log10.S: Likewise.
25450 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25451 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25452 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25453 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25454 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25455 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25456 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25457 * sysdeps/i386/i686/strtok.S: Likewise.
25458 * sysdeps/i386/i386-mcount.S: Likewise.
25459 * sysdeps/i386/strtok.S: Likewise.
25460 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25461 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25462 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25463 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25464 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25465 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25466 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25467 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25468 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25469 * sysdeps/x86_64/_mcount.S: Likewise.
25470 * sysdeps/x86_64/strtok.S: Likewise.
25471 * sysdeps/sh/_mcount.S: Likewise.
25473 2012-08-01 Roland McGrath <roland@hack.frob.com>
25475 * libio/iofopen.c: Include <fcntl.h>.
25476 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25477 (_IO_fopen64, fopen64): Define as aliases.
25478 * libio/iofopen64.c: Include <fcntl.h>.
25479 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25480 Conditionalize body on this.
25481 * sysdeps/wordsize-64/iofopen.c: File removed.
25482 * sysdeps/wordsize-64/iofopen64.c: File removed.
25484 2012-08-01 Marek Polacek <polacek@redhat.com>
25486 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25487 Use dlfcn directly instead of a variable.
25488 (binfmt-subdir): Do not define.
25491 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25494 Remove all definitions.
25495 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25496 <kernel-features.h>.
25497 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25498 (miss_F_GETOWN_EX): Remove all definitions.
25499 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25501 [!__ASSUME_FCNTL64]: Remove conditional code.
25502 [__ASSUME_FCNTL64]: Make code unconditional.
25503 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25504 <kernel-features.h>.
25505 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25506 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25507 (lockf64) [__NR_fcntl64]: Make code unconditional.
25508 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25510 * sysdeps/unix/sysv/linux/kernel-features.h
25511 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25512 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25513 Make code unconditional.
25514 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25515 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25517 [__NR_vfork]: Make code unconditional.
25518 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25519 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25521 [__NR_vfork]: Make code unconditional.
25522 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25523 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25525 2012-08-01 Roland McGrath <roland@hack.frob.com>
25527 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25528 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25530 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25531 Define mkstemp64 as an alias.
25532 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25533 Define mkstemps64 as an alias.
25534 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25535 Define mkostemp64 as an alias.
25536 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25537 Define mkostemps64 as an alias.
25538 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25539 Conditionalize body on this.
25540 * misc/mkostemp64.c: Likewise.
25541 * misc/mkostemps64.c: Likewise.
25542 * misc/mkstemps64.c: Likewise.
25543 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25544 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25545 * sysdeps/wordsize-64/mkostemp.c: File removed.
25546 * sysdeps/wordsize-64/mkstemp.c: File removed.
25547 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25548 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25550 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25553 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25554 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25555 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25556 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25558 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25559 compat_symbol macros from <shlib-compat.h> rather than the underlying
25560 default_symbol_version and symbol_version macros, so that DEFAULT
25561 lines in shlib-versions are respected.
25562 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25564 2012-08-01 Florian Weimer <fweimer@redhat.com>
25566 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25567 Declare with warn_unused_result.
25568 (setgid, setregid, setegid, setresgid): Likewise.
25569 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25571 * WUR-REPORT: Remove set*id functions.
25573 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25575 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25577 2012-07-31 Roland McGrath <roland@hack.frob.com>
25580 * include/sys/socket.h (__libc_accept, __libc_accept4):
25581 Add attribute_hidden.
25582 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25584 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25586 * inet/getnetgrent_r.c (setup): Likewise.
25588 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25590 2012-07-31 David S. Miller <davem@davemloft.net>
25592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25594 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25597 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25598 value between 1.0 and 2.0 and smaller part has absolute value less
25600 * math/s_clog10.c (__clog10): Likewise.
25601 * math/s_clog10f.c (__clog10f): Likewise.
25602 * math/s_clog10l.c (__clog10l): Likewise.
25603 * math/s_clogf.c (__clogf): Likewise.
25604 * math/s_clogl.c (__clogl): Likewise.
25605 * math/libm-test.inc (clog_test): Add more tests.
25606 (clog10_test): Likewise.
25607 * sysdeps/i386/fpu/libm-test-ulps: Update.
25608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25610 2012-07-31 Florian Weimer <fweimer@redhat.com>
25612 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25613 Exit with zero in case no suitable GID is found, and write a
25614 message to standard error.
25616 2012-07-30 Roland McGrath <roland@hack.frob.com>
25618 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25620 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25621 (MAXPATHLEN): Removed.
25622 (NOGROUP, NODEV): New macros.
25623 (setbit, clrbit, isset, isclr): New macros.
25624 (howmany, roundup, powerof2): New macros.
25625 (DEV_BSIZE): New macro.
25627 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25628 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25630 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25631 definition on [!__NO_LONG_DOUBLE_MATH].
25633 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25634 PTR_MANGLE and PTR_DEMANGLE.
25636 * socket/accept4.c (accept4): Rename to __libc_accept4.
25637 Define accept4 as a weak alias.
25639 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25640 on [_DIRENT_HAVE_D_TYPE].
25641 * io/ftw.c (ftw_dir): Likewise.
25643 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25645 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25647 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25648 Use the BSD numbers rather than the arbitrary ones we had.
25649 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25650 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25651 (SIGXCPU, SIGXFSZ): New macros.
25654 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25655 initializer on [_LIBC_REENTRANT].
25657 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25658 definitions inside [_POSIX_MAPPED_FILES].
25660 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25662 * dirent/opendir.c: Include <fcntl.h>.
25664 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25665 (__libc_getspecific): Likewise.
25666 (__libc_key_create): Likewise.
25668 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25669 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25670 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25671 (tmpfile64): Define as alias.
25672 * sysdeps/wordsize-64/tmpfile.c: File removed.
25673 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25675 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25677 * stdio-common/vfscanf.c: Include <stdbool.h>.
25678 * nss/makedb.c: Likewise.
25679 * stdio-common/_i18n_number.h: Likewise.
25680 * argp/argp-help.c: Likewise.
25681 * posix/wordexp.c: Likewise.
25682 * sysdeps/posix/spawni.c: Likewise.
25683 * nss/nss_files/files-initgroups.c: Likewise.
25684 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25685 * nss/nss_files/files-initgroups.c: Likewise.
25686 * nss/nss_db/db-netgrp.c: Likewise.
25687 * nss/nss_db/db-initgroups.c: Likewise.
25688 * io/fchmodat.c: Include <sys/stat.h>.
25690 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25691 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25693 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25696 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25697 Add multiple inclusion protection.
25699 2012-07-27 David S. Miller <davem@davemloft.net>
25701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25703 2012-07-27 Gary Benson <gbenson@redhat.com>
25706 * elf/rtld.c: Include <stap-probe.h>.
25707 (dl_main): Added static probes "init_start" and "init_complete".
25708 * elf/dl-load.c: Include <stap-probe.h>.
25709 (lose): Take new parameter "nsid".
25710 Added static probe "map_failed".
25711 (_dl_map_object_from_fd): Pass namespace id to lose.
25712 Added static probe "map_start".
25713 (open_verify): Pass namespace id to lose.
25714 * elf/dl-open.c: Include <stap-probe.h>.
25715 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25716 and "reloc_complete".
25717 * elf/dl-close.c: Include <stap-probe.h>.
25718 (_dl_close_worker): Added static probes "unmap_start" and
25720 * elf/rtld-debugger-interface.txt: New file documenting the above.
25722 2012-07-26 Roland McGrath <roland@hack.frob.com>
25724 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25725 rather than a string variable.
25726 * sunrpc/rpc_main.c (h_output): Likewise.
25727 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25729 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25731 * inet/check_native.c: New file.
25733 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25736 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25737 if larger part has absolute value 1.0.
25738 * math/s_clog10.c (__clog10): Likewise.
25739 * math/s_clog10f.c (__clog10f): Likewise.
25740 * math/s_clog10l.c (__clog10l): Likewise.
25741 * math/s_clogf.c (__clogf): Likewise.
25742 * math/s_clogl.c (__clogl): Likewise.
25743 * math/libm-test.inc (clog_test): Add more tests.
25744 (clog10_test): Likewise.
25745 * sysdeps/i386/fpu/libm-test-ulps: Update.
25746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25748 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25749 (pltexit): Likewise.
25750 (La_regs): Likewise.
25751 (La_retval): Likewise.
25752 (int_retval): Likewise.
25753 Update #error for removed macros to refer only to definitions in
25755 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25757 (pltexit): Likewise.
25758 (La_regs): Likewise.
25759 (La_retval): Likewise.
25760 (int_retval): Likewise.
25761 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25763 (pltexit): Likewise.
25764 (La_regs): Likewise.
25765 (La_retval): Likewise.
25766 (int_retval): Likewise.
25767 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25769 (pltexit): Likewise.
25770 (La_regs): Likewise.
25771 (La_retval): Likewise.
25772 (int_retval): Likewise.
25773 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25775 (pltexit): Likewise.
25776 (La_regs): Likewise.
25777 (La_retval): Likewise.
25778 (int_retval): Likewise.
25779 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25781 (pltexit): Likewise.
25782 (La_regs): Likewise.
25783 (La_retval): Likewise.
25784 (int_retval): Likewise.
25785 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25787 (pltexit): Likewise.
25788 (La_regs): Likewise.
25789 (La_retval): Likewise.
25790 (int_retval): Likewise.
25791 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25792 macro definitions in tst-audit.h.
25793 * sysdeps/i386/tst-audit.h: New file.
25794 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25795 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25796 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25797 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25798 * sysdeps/sh/tst-audit.h: Likewise.
25799 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25800 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25801 * sysdeps/x86_64/tst-audit.h: Likewise.
25803 2012-07-26 Andreas Jaeger <aj@suse.de>
25805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25808 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25809 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25810 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25812 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25813 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25814 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25816 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25819 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25821 (si_call_addr, si_syscall, si_arch): Define new macro.
25822 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25824 (si_call_addr, si_syscall, si_arch): Define new marcro.
25825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25827 (si_call_addr, si_syscall, si_arch): Define new macro.
25828 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25830 (si_call_addr, si_syscall, si_arch): Define new macro.
25832 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25835 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25836 Change to 2.4.21 where previously 2.4.1.
25837 * sysdeps/unix/sysv/linux/configure: Regenerated.
25838 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25839 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25840 Linux kernel version.
25841 (__ASSUME_STD_AUXV): Remove.
25842 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25844 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25845 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25846 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25847 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25848 (__ASSUME_NETLINK_SUPPORT): Likewise.
25849 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25850 (__no_netlink_support): Remove conditional definition.
25851 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25853 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25854 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25855 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25856 (if_nameindex_ioctl): Remove.
25857 (if_nameindex_netlink): Do not handle __no_netlink_support.
25858 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25860 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25861 Remove conditional code.
25862 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25864 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25866 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25867 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25868 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25870 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25871 [!__ASSUME_STD_AUXV]: Remove conditional code.
25872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25873 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25874 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25876 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25877 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25879 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25881 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25882 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25884 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25886 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25889 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25892 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25893 code unconditional.
25894 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25896 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25898 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25901 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25903 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25906 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25907 code unconditional.
25908 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25910 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25912 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25915 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25916 code unconditional.
25917 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25919 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25921 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25924 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25926 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25927 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25928 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25929 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25930 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25931 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25932 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25933 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25934 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25935 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25936 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25937 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25938 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25939 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25940 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25941 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25942 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25944 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25946 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25947 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25948 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25950 2012-07-25 Florian Weimer <fweimer@redhat.com>
25952 * Versions.def: Add GLIBC_2.17.
25953 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25954 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25955 Introduce __libc_secure_getenv.
25956 * stdlib/Versions (2.17): Add secure_getenv
25957 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25958 * stdlib/secure-getenv.c: Rename __secure_getenv to
25959 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25960 symbol __secure_getenv for GLIBC_2.0.
25961 * stdlib/tst-secure-getenv.c: New.
25962 * stdlib/Makefile (tests): Add testcase.
25963 * manual/startup.texi (Environment Access): Document
25965 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25966 __libc_secure_getenv.
25967 * inet/ruserpass.c (ruserpass): Likewise.
25968 * malloc/mtrace.c (mtrace): Likewise.
25969 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25970 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25971 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25972 * sysdeps/posix/tempname.c: Likewise. Evaluate
25973 HAVE_SECURE_GETENV.
25974 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25975 __secure_getenv to __libc_secure_getenv.
25976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25989 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25991 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25992 (struct La_i86_retval): Likewise.
25993 (struct La_x86_64_regs): Likewise.
25994 (struct La_x86_64_retval): Likewise.
25995 (struct La_x32_regs): Likewise.
25996 (struct La_x32_retval): Likewise.
25997 (struct La_ppc32_regs): Likewise.
25998 (struct La_ppc32_retval): Likewise.
25999 (struct La_ppc64_regs): Likewise.
26000 (struct La_ppc64_retval): Likewise.
26001 (struct La_sh_regs): Likewise.
26002 (struct La_sh_retval): Likewise.
26003 (struct La_s390_32_regs): Likewise.
26004 (struct La_s390_32_retval): Likewise.
26005 (struct La_s390_64_regs): Likewise.
26006 (struct La_s390_64_retval): Likewise.
26007 (struct La_sparc32_regs): Likewise.
26008 (struct La_sparc32_retval): Likewise.
26009 (struct La_sparc64_regs): Likewise.
26010 (struct La_sparc64_retval): Likewise.
26011 (struct audit_ifaces): Remove architecture-specific pltenter and
26013 * sysdeps/i386/ldsodefs.h: New file.
26014 * sysdeps/powerpc/ldsodefs.h: Likewise.
26015 * sysdeps/s390/ldsodefs.h: Likewise.
26016 * sysdeps/sh/ldsodefs.h: Likewise.
26017 * sysdeps/sparc/ldsodefs.h: Likewise.
26018 * sysdeps/x86_64/ldsodefs.h: Likewise.
26020 2012-07-25 Marek Polacek <polacek@redhat.com>
26023 * math/libm-test.inc (yn_test): Add another test.
26024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26025 to ERANGE when the result is +-Inf.
26026 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26027 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26028 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26029 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26031 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26033 * conform/data/time.h-data (NULL): Use macro-constant. Require
26035 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26037 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26039 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26041 * configure.in <sysdeps resolving>: Correct printing
26043 * configure: Regenerate.
26045 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26047 * math/w_ilogb.c: Include <limits.h>.
26048 * math/w_ilogbl.c: Likewise.
26050 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26052 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26053 va_copy. Document allowing for unavailable va_copy only as
26054 pre-C99 compatibility.
26055 * manual/string.texi (Copying and Concatenation): Use va_copy
26056 instead of __va_copy in concat example.
26058 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26060 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26061 (__sendto): Use create_address_port. Initialize APORT and deallocate
26064 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26065 with O_NOLINK passed to __file_name_lookup.
26067 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26068 with O_NOLINK passed to __file_name_lookup.
26070 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26071 negative N or less than NGIDS.
26073 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26074 type to string_t. Set ERANGE as errno and return it if NAME is not big
26075 enough. Use memcpy instead of strncpy.
26077 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26079 * elf/Makefile (check-data): Remove.
26080 (localplt.data): New vpath directive.
26081 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26082 instead of $(check-data).
26083 * scripts/data/localplt-generic.data: Move to ...
26084 * sysdeps/generic/localplt.data: ... here.
26085 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26086 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26087 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26090 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26093 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26096 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26099 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26102 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26106 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26108 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26109 PPC32 and PPC64 files.
26110 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26111 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26113 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26115 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26116 __makecontext_ret to ...
26117 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26118 ... here and call exit if uc_link is NULL. New file.
26119 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26120 __makecontext_ret.S.
26121 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26122 __makecontext_ret to ...
26123 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26124 ... here and call exit if uc_link is NULL. New file.
26125 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26126 __makecontext_ret.S.
26128 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26130 * elf/elf.h (R_390_IRELATIVE): New definition.
26131 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26132 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26133 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26134 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26135 (elf_machine_lazy_rel): Likewise.
26136 * sysdeps/s390/dl-irel.h: New file.
26137 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26138 * sysdeps/s390/s390-64/memset.S: New asm code.
26139 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26140 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26141 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26142 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26143 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26144 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26145 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26146 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26147 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26148 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26149 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26150 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26151 * sysdeps/s390/s390-32/memset.S: New asm code.
26152 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26154 2012-07-17 Marek Polacek <polacek@redhat.com>
26157 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26158 * sysdeps/s390/s390-64/configure.in: Likewise.
26159 * sysdeps/sparc/configure.in: Likewise.
26160 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26161 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26162 * sysdeps/i386/configure.in: Likewise.
26163 * sysdeps/x86_64/configure.in: Likewise.
26164 * sysdeps/sh/configure.in: Likewise.
26165 * sysdeps/s390/s390-32/configure: Regenerated.
26166 * sysdeps/s390/s390-64/configure: Likewise.
26167 * sysdeps/x86_64/configure: Likewise.
26168 * sysdeps/sh/configure: Likewise.
26169 * sysdeps/powerpc/powerpc64/configure: Likewise.
26170 * sysdeps/powerpc/powerpc32/configure: Likewise.
26171 * sysdeps/sparc/configure: Likwise.
26172 * sysdeps/i386/configure: Likewise.
26174 * elf/dl-open.c: Comment fixes.
26176 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26178 * Makefile [CXX] (check-data): Remove.
26179 [CXX] (c++-types.data): New vpath directive.
26180 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26181 vpath. Do not allow for C++ type data being missing.
26182 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26183 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26184 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26185 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26186 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26187 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26188 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26191 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26194 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26197 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26200 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26203 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26206 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26209 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26212 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26213 definitions to architecture-specific files.
26214 (TLS_IE): Likewise.
26215 (TLS_LD): Likewise.
26216 (TLS_GD): Likewise.
26217 * sysdeps/i386/tls-macros.h: New file.
26218 * sysdeps/powerpc/tls-macros.h: Likewise.
26219 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26220 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26221 * sysdeps/sh/tls-macros.h: Likewise.
26222 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26223 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26224 * sysdeps/x86_64/tls-macros.h: Likewise.
26226 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26229 zero value for regular exit case.
26231 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26232 (__start_context): Preserve zero value for regular exit case.
26234 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26235 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26237 * manual/setjmp.texi (setcontext): Clarify normal process
26238 termination when uc_link is the null pointer.
26239 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26242 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26244 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26245 preprocessor. Test for each exception mask separately.
26247 2012-07-16 Andreas Jaeger <aj@suse.de>
26249 * po/ru.po: Update from translation team.
26251 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26253 * conform/data/string.h-data (NULL): Use macro-constant. Require
26255 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26256 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26257 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26258 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26259 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26261 2012-07-13 Andreas Jaeger <aj@suse.de>
26263 * po/fr.po: Update from translation team.
26265 2012-07-12 Marek Polacek <polacek@redhat.com>
26268 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26269 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26272 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26276 Change to 2.4.1 where previously 2.4.0.
26277 * sysdeps/unix/sysv/linux/configure: Regenerated.
26278 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26279 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26281 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26282 (__ASSUME_AT_CLKTCK): Remove.
26283 (__ASSUME_AT_PAGESIZE): Likewise.
26284 (__ASSUME_AT_XID): Likewise.
26285 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26286 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26287 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26289 (HAVE_AUX_PAGESIZE): Likewise.
26290 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26291 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26292 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26294 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26298 the temporary buffer used to invoke __gethostbyname2_r,
26299 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26300 host_data / struct gaih_addrtuple.
26301 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26302 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26303 header file nss/nsswitch.h.
26304 * nss/nsswitch.h (global scope): Add definition of implementation
26305 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26306 resolv/nss_dns/dns-host.c).
26308 2012-07-11 Andreas Jaeger <aj@suse.de>
26310 * po/fr.po: Update from translation team.
26312 * po/sv.po: Update from translation team
26313 * po/fr.po: Another update from translation team.
26315 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26317 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26318 for subnormals or multiply small sinh result by itself.
26319 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26322 2012-07-11 David S. Miller <davem@davemloft.net>
26324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26326 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26329 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26330 (INTERNAL_MARK): Shift it here.
26332 2012-07-10 Marek Polacek <polacek@redhat.com>
26335 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26336 libc_cv_asm_global_directive with .globl.
26337 * configure: Regenerated.
26338 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26340 * sysdeps/i386/configure: Regenerated.
26341 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26343 * sysdeps/x86_64/configure: Regenerated.
26344 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26345 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26346 * elf/tst-unique2mod2.c: Likewise.
26347 * elf/tst-unique2mod1.c: Likewise.
26348 * elf/tst-unique1mod2.c: Likewise.
26349 * elf/tst-unique1mod1.c: Likewise.
26350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26351 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26352 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26353 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26354 * sysdeps/mach/sysdep.h: Likewise.
26355 * sysdeps/i386/sysdep.h: Likewise.
26356 * sysdeps/i386/i386-mcount.S: Likewise.
26357 * sysdeps/x86_64/_mcount.S: Likewise.
26358 * sysdeps/x86_64/sysdep.h: Likewise.
26359 * sysdeps/sh/_mcount.S: Likewise.
26360 * sysdeps/sh/sysdep.h: Likewise.
26361 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26362 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26363 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26365 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26366 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26367 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26368 * locale/localeinfo.h: Likewise.
26369 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26370 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26372 2012-07-09 Roland McGrath <roland@hack.frob.com>
26375 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26377 * manual/message.texi (The Uniforum approach): Likewise.
26378 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26379 (glibc iconv Implementation): Likewise.
26381 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26384 * math/s_clog.c (__clog): Avoid scaling a value down where that
26385 could result in underflow.
26386 * math/s_clog10.c (__clog10): Likewise.
26387 * math/s_clog10f.c (__clog10f): Likewise.
26388 * math/s_clog10l.c (__clog10l): Likewise.
26389 * math/s_clogf.c (__clogf): Likewise.
26390 * math/s_clogl.c (__clogl): Likewise.
26391 * math/libm-test.inc (clog_test): Add more tests.
26392 (clog10_test): Likewise.
26393 * sysdeps/i386/fpu/libm-test-ulps: Update.
26394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26396 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26399 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26400 by 7 not 8 to examine high bit of fractional part.
26403 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26404 for call to __mcount_internal.
26405 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26406 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26407 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26409 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26412 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26413 approximation for values within 0x1p-13f of an odd multiple of
26415 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26416 exception. Add more tests.
26417 * sysdeps/i386/fpu/libm-test-ulps: Update.
26420 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26421 inputs and return -1 for them. Do not check for +Inf in case not
26422 reachable for +Inf.
26423 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26424 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26426 and return -1 for them. Do not check for +Inf in case not
26427 reachable for +Inf.
26428 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26430 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26431 and return -1 for them. Do not check for +Inf in case not
26432 reachable for +Inf.
26433 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26434 spurious underflow.
26435 * sysdeps/i386/fpu/libm-test-ulps: Update.
26436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26438 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26440 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26442 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26446 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26447 could result in spurious underflow. Scale down values above
26448 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26449 * math/s_csqrtf.c (__csqrtf): Likewise.
26450 * math/s_csqrtl.c (__csqrtl): Likewise.
26451 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26452 spurious underflow.
26453 * sysdeps/i386/fpu/libm-test-ulps: Update.
26454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26456 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26458 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26460 * catgets/xopen-msg.awk: New file.
26461 * catgets/xopen-msg.sed: Removed.
26463 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26465 * intl/po2test.awk: New file.
26466 * intl/po2test.sed: Removed.
26468 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26471 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26472 or multiply small sinh result by itself.
26473 * math/s_ctanf.c (__ctanf): Likewise.
26474 * math/s_ctanh.c (__ctanh): Likewise.
26475 * math/s_ctanhf.c (__ctanhf): Likewise.
26476 * math/s_ctanhl.c (__ctanhl): Likewise.
26477 * math/s_ctanl.c (__ctanl): Likewise.
26478 * math/libm-test.inc (ctan_test_tonearest): New function.
26479 (ctan_test_towardzero): Likewise.
26480 (ctan_test_downward): Likewise.
26481 (ctan_test_upward): Likewise.
26482 (ctanh_test_tonearest): Likewise.
26483 (ctanh_test_towardzero): Likewise.
26484 (ctanh_test_downward): Likewise.
26485 (ctanh_test_upward): Likewise.
26486 (main): Call these new functions.
26487 * sysdeps/i386/fpu/libm-test-ulps: Update.
26488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26490 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26492 * .gitignore: Delete /ports entry.
26494 2012-07-03 Andreas Jaeger <aj@suse.de>
26496 * po/bg.po: Update from translation team.
26497 * po/cs.po: Likewise.
26498 * po/de.po: Likewise.
26499 * po/hr.po: Likewise.
26500 * po/nl.pl: Likewise.
26501 * po/pl.po: Likewise.
26502 * po/vi.po: Likewise.
26504 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26506 * Makeconfig [!+link] (+link-before-libc): New variable.
26507 [!+link] (+link-after-libc): Likewise.
26508 [!+link] (+link-tests): Likewise.
26509 [!+link] (+link): Define in terms of $(+link-before-libc) and
26510 $(+link-after-libc).
26511 [!+link-static] (+link-static-before-libc): New variable.
26512 [!+link-static] (+link-static-after-libc): Likewise.
26513 [!+link-static] (+link-static-tests): Likewise.
26514 [!+link-static] (+link-static): Define in terms of
26515 $(+link-static-before-libc) and $(+link-static-after-libc).
26516 [build-shared] (link-libc-before-gnulib): New variable.
26517 [build-shared] (link-libc-tests): Likewise.
26518 [build-shared] (link-libc): Define in terms of
26519 $(link-libc-before-gnulib).
26520 [!build-shared] (link-libc-tests): New variable.
26521 (link-libc-static-tests): New variable.
26522 [!gnulib] (gnulib-arch): New variable.
26523 [!gnulib] (gnulib-tests): Likewise.
26524 [!gnulib] (static-gnulib-arch): Likewise.
26525 [!gnulib] (static-gnulib-tests): Likewise.
26526 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26527 Define with "=" instead of ":=".
26528 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26529 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26530 * Rules (binaries-all-notests): New variable.
26531 (binaries-all-tests): Likewise.
26532 (binaries-static-notests): Likewise.
26533 (binaries-static-tests): Likewise.
26534 (binaries-all): Define using $(binaries-all-notests) and
26535 $(binaries-all-tests).
26536 (binaries-static): Define using $(binaries-static-notests) and
26537 $(binaries-static-tests).
26538 (binaries-shared-tests): New variable.
26539 (binaries-shared-notests): Likewise.
26540 (binaries-shared): Remove variable.
26541 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26542 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26543 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26544 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26545 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26546 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26547 * elf/Makefile (sln-modules): New variable.
26548 (extra-objs): Add $(sln-modules:=.o).
26549 (ldconfig-modules): Add static-stubs.
26550 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26551 * elf/static-stubs.c: New file.
26554 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26555 by 7 not 8 to examine high bit of fractional part. Use volatile
26556 variables when splitting into final array of floats if
26557 __FLT_EVAL_METHOD__ != 0.
26558 * math/libm-test.inc (cos_test): Add another test.
26559 (sin_test): Likewise.
26560 * sysdeps/i386/fpu/libm-test-ulps: Update.
26563 * math/libm-test.inc (cosh_test): Add more tests.
26565 * version.h (RELEASE): Set to "development".
26566 (VERSION): Set to "2.16.90".
26568 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26570 * NEWS: Update copyright. Remove last-updated date.
26571 Mention math library bug fixes and timezone data changes.
26572 * README: Mention GNU/Hurd, x32, and HPPA support status.
26574 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26576 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26578 2012-06-27 Andreas Jaeger <aj@suse.de>
26580 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26582 2012-06-25 Andreas Jaeger <aj@suse.de>
26584 * sysdeps/s390/fpu/libm-test-ulps: Update.
26586 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26587 Thomas Schwinge <thomas@codesourcery.com>
26589 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26590 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26591 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26594 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26596 * sysdeps/mach/start.c: Remove file.
26597 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26598 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26599 * sysdeps/sh/init-first.c: Likewise.
26601 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26602 registers for frame unwinding purposes, add CFI directives.
26603 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26605 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26608 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26609 __fortify_fail returning.
26610 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26612 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26613 sysdeps/sh/____longjmp_chk.S.
26614 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26615 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26616 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26617 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26619 * sysdeps/sh/abort-instr.h: New file.
26620 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26621 process in case exit returns.
26623 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26624 initialize the GOT register before use.
26626 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26627 calculation of ARGC > 4.
26629 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26630 meaningful names to some local labels.
26632 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26633 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26635 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26636 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26637 (__arch_compare_and_exchange_val_16_acq): Likewise.
26638 (__arch_compare_and_exchange_val_32_acq): Likewise.
26639 (atomic_exchange_and_add): Fix gUSA sequence.
26640 (atomic_add): Likewise.
26641 (atomic_add_negative): Likewise.
26642 (atomic_add_zero): Likewise.
26643 (atomic_bit_test_set): Likewise.
26645 2012-06-22 Andreas Schwab <schwab@redhat.com>
26648 * include/link.h (struct link_map): Add l_free_initfini.
26649 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26651 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26652 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26653 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26656 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26658 * configure.in: Use AC_LANG_SOURCE.
26659 * configure: Regenerate.
26661 2012-06-22 Roland McGrath <roland@hack.frob.com>
26663 * configure.in (libc_cv_localstatedir): New substituted variable.
26664 * configure: Regenerated.
26665 * config.make.in (localstatedir): New variable, substituted from
26666 libc_cv_localstatedir.
26667 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26668 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26669 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26670 * sysdeps/gnu/configure: Regenerated.
26672 2012-06-21 Jeff Law <law@redhat.com>
26675 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26676 free. Simplify list management for _LIBC case.
26678 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26681 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26682 Clear sign bit of 64-bit integer value before comparing against
26685 * sysdeps/mach/configure: Regenerated.
26687 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26690 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26692 2012-06-21 Jeff Law <law@redhat.com>
26695 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26696 uint16_t for elements in the "seen" array to avoid char overflows.
26697 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26698 * elf/dl-open.c (dl_open_worker): Likewise.
26700 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26702 * scripts/list-sources.sh: Scan PORTS for translations.
26703 * po/libc.pot: Regenerated.
26705 2012-06-21 Andreas Jaeger <aj@suse.de>
26708 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26710 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26711 * bits/byteswap-16.h (__bswap_16): Likewise.
26712 * bits/byteswap.h (__bswap_constant_16): Likewise.
26714 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26717 * sysdeps/i386/fpu_control.h: Removed.
26718 * sysdeps/x86_64/fpu_control.h: Moved to ...
26719 * sysdeps/x86/fpu_control.h: Here.
26721 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26722 (_FPU_SETCW): Likewise.
26724 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26727 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26728 * sysdeps/x86/fpu/bits/mathinline.h: This.
26729 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26733 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26734 functions if __x86_64__ is defined.
26736 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26738 * string/endian.h: Add !__ASSEMBLER__ condition for including
26739 conversion interfaces.
26741 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26745 of ABS(x) in calculating zero to negative powers other than odd
26747 * math/libm-test.inc (pow_test): Add more tests.
26749 2012-06-15 Andreas Jaeger <aj@suse.de>
26751 * manual/contrib.texi (Contributors): Update entry of Liubov
26752 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26755 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26757 * string/string.h: Add __wur to GNU version of strerror_r.
26759 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26762 * string/Makefile (tests): Add tst-strtok_r.
26763 * string/tst-strtok_r.c: New file.
26764 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26765 RAX_LP/RDX_LP on SAVE_PTR.
26767 2012-06-14 Roland McGrath <roland@hack.frob.com>
26769 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26771 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26773 * libm_test.inc (csqrt_test): Allow more spurious underflow
26775 (j0_test): Likewise.
26776 (j1_test): Likewise.
26777 (y0_test): Likewise.
26778 (y1_test): Likewise.
26780 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26782 * po/Makefile (libc.pot): Use UTF-8 charset.
26784 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26787 Suppress sign-conversion warning from FD_SET.
26788 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26789 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26790 not unsigned long int.
26791 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26793 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26797 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26798 __extern_always_inline instead of __extern_inline.
26799 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26800 (__signbit): Likewise.
26801 (__signbitl): Support C++ namespace.
26802 (lrintf): New inline function.
26804 (llrintf): Likewise.
26805 (llrint): Likewise.
26815 (floorf): Likewise.
26816 (nearbyint): Likewise.
26817 (nearbyintf): Likewise.
26819 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26821 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26822 non-default versions.
26824 2012-06-11 Roland McGrath <roland@hack.frob.com>
26827 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26829 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26831 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26832 (FE_UPWARD, FE_DOWNWARD): Don't define.
26833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26834 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26838 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26841 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26843 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26845 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26846 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26848 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26851 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26852 * sysdeps/i386/fpu/Implies: New file.
26853 * sysdeps/x86_64/fpu/Implies: Likewise.
26854 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26855 * sysdeps/x86/fpu/bits/fenv.h: This.
26857 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26860 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26863 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26864 character 0xffff that matches the last element of the
26867 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26869 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26872 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26874 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26875 values higher than 25.6283.
26877 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26879 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26880 subnormal exponent extraction and add some __builtin_expect.
26881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26882 Fix for subnormal mantissa calculation.
26884 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26886 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26887 cpu2 is -1 and errno is not ENOSYS.
26889 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26892 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26893 * sysdeps/x86/bits/string.h: This.
26894 * sysdeps/x86_64/bits/string.h: Removed.
26896 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26897 if not compiling for x86-64, but compiling for >= i486.
26899 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26900 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26902 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26903 New macro from Linux kernel 3.4.0.
26904 (FP_XSTATE_MAGIC2): Likewise.
26905 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26906 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26907 (struct _fpx_sw_bytes): New struct.
26908 (struct _xsave_hdr): Likewise.
26909 (struct _ymmh_state): Likewise.
26910 (struct _xstate): Likewise.
26912 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26913 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26914 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26915 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26916 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26917 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26919 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26920 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26921 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26922 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26923 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26924 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26926 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26929 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26930 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26931 (sysdep_headers): Include sys/platform/ppc.h.
26932 * sysdeps/powerpc/test-gettimebase.c: Test for
26933 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26934 * manual/Makefile (appendices): Include platform.texi.
26935 * manual/contrib.texi (Contributors): Update @node pointers.
26936 * manual/maint.texi (Maintenance): Likewise.
26937 (Platform): New node.
26938 * manual/platform.texi: New file. Document the new features.
26940 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26941 Jakub Jelinek <jakub@redhat.com>
26944 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26945 where __builtin_expect is unavailable.
26947 2012-06-03 David S. Miller <davem@davemloft.net>
26949 * stdlib/longlong.h: Updated from GCC.
26951 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26954 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26955 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26958 (GLIBC_2.16): Likewise.
26960 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26962 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26964 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26967 (default-abi): New variable.
26968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26969 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26971 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26973 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26975 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26978 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26979 definition. Document in comment.
26981 2012-06-01 David S. Miller <davem@davemloft.net>
26983 * stdlib/longlong.h: Updated from GCC.
26985 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26988 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26989 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26990 sys/debugreg.h sys/io.h here.
26991 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26992 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26994 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26995 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26996 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26997 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26998 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26999 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27001 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27002 Define only if __x86_64__ is defined.
27004 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27007 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27008 Use int64_t for variable i.
27009 * math/libm-test.inc (fmod_test): Add more tests.
27011 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27012 z computation is not scheduled after fetestexcept.
27013 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27014 Use math_force_eval instead of asm to ensure calculation scheduled
27015 before exception test.
27016 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27017 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27019 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27022 computation is not scheduled after fetestexcept.
27024 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27027 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27028 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27030 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27032 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27033 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27035 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27038 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27040 (__WCHAR_MIN): Support __WORDSIZE == 64.
27041 (__WCHAR_MAX): Likewise.
27043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27044 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27047 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27048 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27051 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27052 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27054 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27055 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27057 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27058 Defined to 1 if __x86_64__ isn't defined.
27059 (_STAT_VER_LINUX_OLD): New.
27060 (st_atime): Remove duplicate.
27061 (st_mtime): Likewise.
27062 (st_ctime): Likewise.
27064 2012-05-31 David S. Miller <davem@davemloft.net>
27066 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27069 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27071 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27075 * elf/dl-reloc.c: Include <_itoa.h>.
27076 (_dl_reloc_bad_type): Remove use of INTUSE.
27077 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27078 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27079 * stdio-common/psiginfo.c (psiginfo): Likewise.
27080 * stdio-common/psignal.c (psignal): Likewise.
27081 * string/strsignal.c (strsignal): Likewise.
27082 * include/signal.h (_sys_siglist): Declare hidden proto.
27083 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27084 INTVARDEF with libc_hidden_data_def.
27085 * stdio-common/itoa-udigits.c: Likewise.
27086 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27087 (_itoa_lower_digits_internal): Remove declaration.
27088 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27089 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27090 (_sys_sigabbrev_internal): Remove aliases.
27091 (_sys_siglist): Define hidden alias.
27093 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27098 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27101 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27102 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27104 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27105 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27106 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27107 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27108 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27109 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27111 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27112 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27113 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27115 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27123 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27124 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27125 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27127 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27128 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27129 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27130 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27131 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27132 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27134 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27135 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27137 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27138 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27140 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27142 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27144 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27145 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27147 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27149 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27150 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27151 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27153 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27155 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27157 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27159 * math/math.h (M_El): Use two more decimal places.
27160 (M_LOG2El): Likewise.
27161 (M_LOG10El): Likewise.
27162 (M_LN2l): Likewise.
27163 (M_LN10l): Likewise.
27165 (M_PI_2l): Likewise.
27166 (M_PI_4l): Likewise.
27167 (M_1_PIl): Likewise.
27168 (M_2_PIl): Likewise.
27169 (M_2_SQRTPIl): Likewise.
27170 (M_SQRT2l): Likewise.
27171 (M_SQRT1_2l): Likewise.
27173 2012-05-31 David S. Miller <davem@davemloft.net>
27175 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27176 values between float registers.
27177 * sysdeps/sparc/sparc64/memset.S: Likewise.
27178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27180 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27182 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27183 -D_FORTIFY_SOURCE=1.
27184 (CPPFLAGS-tst-longjmp_chk.c): Define.
27185 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27186 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27187 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27188 CFLAGS-tst-wchar-h.c.
27190 2012-05-31 Marek Polacek <polacek@redhat.com>
27193 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27194 __endmntent_internal): Remove declaration.
27195 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27196 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27197 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27199 2012-05-30 David S. Miller <davem@davemloft.net>
27201 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27202 (___Q_simulate_exceptions): Use real FP ops rather than writing
27204 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27207 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27210 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27211 * sysdeps/x86/bits/xtitypes.h: This.
27213 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27214 * sysdeps/x86/bits/wordsize.h: This.
27216 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27217 * sysdeps/x86/bits/huge_vall.h: This.
27219 * sysdeps/i386/bits/select.h: Removed.
27220 * sysdeps/x86_64/bits/select.h: Renamed to ...
27221 * sysdeps/x86/bits/select.h: This.
27223 * sysdeps/i386/bits/setjmp.h: Removed.
27224 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27225 * sysdeps/x86/bits/setjmp.h: This.
27227 * sysdeps/i386/bits/mathdef.h: Removed.
27228 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27229 * sysdeps/x86/bits/mathdef.h: This.
27231 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27234 * include/sys/socket.h (__connect_internal)
27235 (__libc_sa_len_internal): Remove declaration.
27236 (__connect, __libc_sa_len): Declare hidden_proto.
27237 (SA_LEN): Remove use of INTUSE.
27238 * socket/connect.c: Add libc_hidden_def.
27239 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27240 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27241 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27243 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27244 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27245 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27246 of adding _internal alias.
27248 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27251 * sysdeps/i386/bits/link.h: Removed.
27252 * sysdeps/i386/bits/linkmap.h: Likewise.
27253 * sysdeps/x86_64/bits/link.h: Renamed to ...
27254 * sysdeps/x86/bits/link.h: This.
27255 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27256 * sysdeps/x86/bits/linkmap.h: This.
27258 * sysdeps/i386/bits/endian.h: Removed.
27259 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27260 * sysdeps/x86/bits/endian.h: This.
27262 * sysdeps/i386/bits/byteswap.h: Removed.
27263 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27264 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27265 * sysdeps/x86/bits/byteswap.h: This.
27266 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27267 * sysdeps/x86/bits/byteswap-16.h: This.
27268 * sysdeps/i386/Implies: Add x86.
27269 * sysdeps/x86_64/Implies: Likewise.
27271 2012-05-30 David S. Miller <davem@davemloft.net>
27273 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27274 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27275 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27276 (FP_TRAPPING_EXCEPTIONS): Define.
27277 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27278 (FP_TRAPPING_EXCEPTIONS): Define.
27279 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27280 subnormals only when inexact has been signalled or underflow
27281 exceptions are enabled.
27282 (_FP_PACK_CANONICAL): Likewise.
27284 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27287 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27288 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27290 2012-05-30 Richard Henderson <rth@twiddle.net>
27292 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27293 with #ifndef NOT_IN_libc.
27295 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27296 marked to avoid plt entry.
27298 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27301 * Makeconfig (default-abi): New macro.
27302 (abi-includes): Likewise.
27303 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27304 $(abi-$(default-abi)-lib-soname) for soname if defined.
27305 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27307 * Makefile (installed-stubs): Likewise.
27308 * include/stubs-biarch.h: Removed.
27309 * scripts/lib-names.awk: Only handle one library at a time.
27310 * scripts/soversions.awk: Remove WORDSIZE support.
27311 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27313 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27315 (syscall-list-default-condition): Likewise.
27316 (syscall-list-default-condition): Likewise.
27317 (syscall-list-includes): Likewise.
27318 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27319 syscall-list-* with abi-*. Handle undefined abi-variants.
27320 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27321 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27322 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27323 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27324 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27325 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27327 (syscall-list-32-options): Likewise.
27328 (syscall-list-32-condition): Likewise.
27329 (syscall-list-64-options): Likewise.
27330 (syscall-list-64-condition): Likewise.
27331 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27333 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27336 (abi-64-ld-soname): New macro.
27337 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27338 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27341 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27342 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27344 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27346 * sysdeps/unix/sysv/linux/kernel-features.h
27347 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27348 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27349 include <kernel-features.h>.
27350 [!__NR_ftruncate64]: Remove conditional code.
27351 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27352 [__NR_ftruncate64]: Make code unconditional.
27353 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27354 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27355 include <kernel-features.h>.
27356 [!__NR_ftruncate64]: Remove conditional code.
27357 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27358 [__NR_ftruncate64]: Make code unconditional.
27359 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27361 include <kernel-features.h>.
27362 [!__NR_ftruncate64]: Remove conditional code.
27363 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27364 [__NR_ftruncate64]: Make code unconditional.
27365 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27367 include <kernel-features.h>.
27368 [!__NR_ftruncate64]: Remove conditional code.
27369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27370 [__NR_ftruncate64]: Make code unconditional.
27371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27373 * configure.in (libc_cv_fpie): Weaken to a compile test using
27374 LIBC_TRY_CC_OPTION.
27375 * configure: Regenerated.
27377 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27392 2012-05-27 David S. Miller <davem@davemloft.net>
27394 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27396 (__Q_simulate_exceptions): Return void. Change to simulate
27397 exceptions by writing into the %fsr.
27398 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27399 (__Qp_handle_exceptions): Likewise.
27401 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27402 __Qp_handle_exceptions.
27403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27404 __Qp_handle_exceptions.
27405 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27406 as unused and give dummy FP_RND_NEAREST initializer.
27407 (FP_INHIBIT_RESULTS): Define.
27408 (___Q_simulate_exceptions): Update declaration.
27409 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27411 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27412 as unused and give dummy FP_RND_NEAREST initializer.
27413 (__Qp_handle_exceptions): Update declaration.
27414 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27417 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27419 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27420 the temporary FPU control word.
27421 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27422 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27423 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27424 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27425 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27426 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27427 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27428 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27429 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27430 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27431 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27433 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27435 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27438 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27440 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27441 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27442 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27443 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27445 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27446 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27449 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27451 * po/h.po: Update from translation team.
27453 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27455 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27457 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27458 handling of denormals.
27459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27460 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27461 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27462 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27464 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27468 2012-05-26 Marek Polacek <polacek@redhat.com>
27471 * math/libm-test.inc (fma_test): Don't always expect underflow
27474 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27477 * elf/tst-execstack.c: Include stackinfo.h.
27478 (do_test): Adjust test case to ensure that pthread_getattr_np
27479 behaviour remains the same after marking stack executable.
27481 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27483 * sysdeps/unix/sysv/linux/kernel-features.h
27484 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27485 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27487 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27488 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27489 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27491 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27492 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27494 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27496 * configure.in: Define the default includes to being none.
27497 * configure: Regenerated.
27499 2012-05-25 Roland McGrath <roland@hack.frob.com>
27501 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27502 * sysdeps/x86_64/setjmp.S: Likewise.
27503 * sysdeps/i386/bsd-setjmp.S: Likewise.
27504 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27505 * sysdeps/i386/setjmp.S: Likewise.
27506 * sysdeps/i386/__longjmp.S: Likewise.
27507 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27508 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27510 * include/stap-probe.h: New file.
27511 * configure.in: Handle --enable-systemtap.
27512 * configure: Regenerated.
27513 * config.h.in (USE_STAP_PROBE): New #undef.
27514 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27515 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27516 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27518 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27522 to 2.4.0 where earlier.
27523 * sysdeps/unix/sysv/linux/configure: Regenerated.
27524 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27525 <kernel-features.h>.
27526 [__ASSUME_32BITUIDS]: Make code unconditional.
27527 [!__ASSUME_32BITUIDS]: Remove conditional code.
27528 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27529 <kernel-features.h>.
27530 [__ASSUME_32BITUIDS]: Make code unconditional.
27531 [!__ASSUME_32BITUIDS]: Remove conditional code.
27532 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27533 [__ASSUME_32BITUIDS]: Make code unconditional.
27534 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27535 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27536 <kernel-features.h>.
27537 [__ASSUME_32BITUIDS]: Make code unconditional.
27538 [!__ASSUME_32BITUIDS]: Remove conditional code.
27539 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27540 <kernel-features.h>.
27541 [__ASSUME_32BITUIDS]: Make code unconditional.
27542 [!__ASSUME_32BITUIDS]: Remove conditional code.
27543 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27544 <kernel-features.h>.
27545 [__ASSUME_32BITUIDS]: Make code unconditional.
27546 [!__ASSUME_32BITUIDS]: Remove conditional code.
27547 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27548 <kernel-features.h>.
27549 [__ASSUME_32BITUIDS]: Make code unconditional.
27550 [!__ASSUME_32BITUIDS]: Remove conditional code.
27551 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27552 <kernel-features.h>.
27553 [__ASSUME_32BITUIDS]: Make code unconditional.
27554 [!__ASSUME_32BITUIDS]: Remove conditional code.
27555 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27556 <kernel-features.h>.
27557 [__ASSUME_32BITUIDS]: Make code unconditional.
27558 [!__ASSUME_32BITUIDS]: Remove conditional code.
27559 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27560 <kernel-features.h>.
27561 [__ASSUME_32BITUIDS]: Make code unconditional.
27562 [!__ASSUME_32BITUIDS]: Remove conditional code.
27563 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27564 <kernel-features.h>.
27565 [__ASSUME_32BITUIDS]: Make code unconditional.
27566 [!__ASSUME_32BITUIDS]: Remove conditional code.
27567 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27568 <kernel-features.h>.
27569 [__ASSUME_32BITUIDS]: Make code unconditional.
27570 [!__ASSUME_32BITUIDS]: Remove conditional code.
27571 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27572 <kernel-features.h>.
27573 [__ASSUME_32BITUIDS]: Make code unconditional.
27574 [!__ASSUME_32BITUIDS]: Remove conditional code.
27575 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27576 <kernel-features.h>.
27577 [__NR_setresgid] (__setresgid): Do not declare.
27578 [__ASSUME_32BITUIDS]: Make code unconditional.
27579 [!__ASSUME_32BITUIDS]: Remove conditional code.
27580 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27581 <kernel-features.h>.
27582 [__NR_setresuid] (__setresuid): Do not declare.
27583 [__ASSUME_32BITUIDS]: Make code unconditional.
27584 [!__ASSUME_32BITUIDS]: Remove conditional code.
27585 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27586 <kernel-features.h>.
27587 [__ASSUME_32BITUIDS]: Make code unconditional.
27588 [!__ASSUME_32BITUIDS]: Remove conditional code.
27589 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27590 <kernel-features.h>.
27591 [__ASSUME_32BITUIDS]: Make code unconditional.
27592 [!__ASSUME_32BITUIDS]: Remove conditional code.
27593 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27594 <kernel-features.h>.
27595 [__ASSUME_32BITUIDS]: Make code unconditional.
27596 [!__ASSUME_32BITUIDS]: Remove conditional code.
27597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27598 <kernel-features.h>.
27599 [__ASSUME_32BITUIDS]: Make code unconditional.
27600 [!__ASSUME_32BITUIDS]: Remove conditional code.
27601 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27602 <kernel-features.h>.
27603 [__ASSUME_32BITUIDS]: Make code unconditional.
27604 [!__ASSUME_32BITUIDS]: Remove conditional code.
27605 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27606 <kernel-features.h>.
27607 [__ASSUME_32BITUIDS]: Make code unconditional.
27608 [!__ASSUME_32BITUIDS]: Remove conditional code.
27609 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27610 <kernel-features.h>.
27611 [__ASSUME_32BITUIDS]: Make code unconditional.
27612 [!__ASSUME_32BITUIDS]: Remove conditional code.
27613 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27614 <kernel-features.h>.
27615 [__ASSUME_32BITUIDS]: Make code unconditional.
27616 [!__ASSUME_32BITUIDS]: Remove conditional code.
27617 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27618 <kernel-features.h>.
27619 [__ASSUME_32BITUIDS]: Make code unconditional.
27620 [!__ASSUME_32BITUIDS]: Remove conditional code.
27621 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27622 <kernel-features.h>.
27623 [__ASSUME_32BITUIDS]: Make code unconditional.
27624 [!__ASSUME_32BITUIDS]: Remove conditional code.
27625 * sysdeps/unix/sysv/linux/kernel-features.h
27626 (__ASSUME_SETRESUID_SYSCALL): Remove.
27627 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27628 (__ASSUME_32BITUIDS): Likewise.
27629 (__ASSUME_LDT_WORKS): Likewise.
27630 (__ASSUME_O_DIRECTORY): Likewise.
27631 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27632 architecture but not kernel version.
27633 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27634 (__ASSUME_MMAP2_SYSCALL): Likewise.
27635 (__ASSUME_STAT64_SYSCALL): Likewise.
27636 (__ASSUME_IPC64): Likewise.
27637 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27638 <kernel-features.h>.
27639 [__ASSUME_32BITUIDS]: Make code unconditional.
27640 [!__ASSUME_32BITUIDS]: Remove conditional code.
27641 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27642 <kernel-features.h>.
27643 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27644 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27645 132096]: Remove conditional code.
27646 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27647 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27648 <kernel-features.h>.
27649 [__ASSUME_32BITUIDS]: Make code unconditional.
27650 [!__ASSUME_32BITUIDS]: Remove conditional code.
27651 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27652 <kernel-features.h>.
27653 [__ASSUME_32BITUIDS]: Make code unconditional.
27654 [!__ASSUME_32BITUIDS]: Remove conditional code.
27655 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27656 <kernel-features.h>.
27657 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27659 (__setresgid): Do not declare.
27660 [__ASSUME_32BITUIDS]: Make code unconditional.
27661 [!__ASSUME_32BITUIDS]: Remove conditional code.
27662 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27663 <kernel-features.h>.
27664 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27666 (__setresuid): Do not declare.
27667 [__ASSUME_32BITUIDS]: Make code unconditional.
27668 [!__ASSUME_32BITUIDS]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27670 <kernel-features.h>.
27671 [__ASSUME_32BITUIDS]: Make code unconditional.
27672 [!__ASSUME_32BITUIDS]: Remove conditional code.
27673 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27674 <kernel-features.h>.
27675 [__ASSUME_32BITUIDS]: Make code unconditional.
27676 [!__ASSUME_32BITUIDS]: Remove conditional code.
27678 2012-05-25 Richard Henderson <rth@twiddle.net>
27680 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27681 dl_hwcap to ifunc resolver.
27682 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27684 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27685 dl_hwcap to ifunc resolver.
27686 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27688 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27691 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27692 for |x| <= 2**-26, not 2**-57.
27693 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27696 2012-05-24 Jeff Law <law@redhat.com>
27698 * stdio-common/Makefile (tests): Add bug25.
27699 * stdio-common/bug25.c: New test.
27701 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27704 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27705 multiple of MALLOC_ALIGNMENT in size.
27706 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27708 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27710 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27712 (FILENAME_MAX): Use macro-int-constant.
27713 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27714 (_IOFBF): Use macro-int-constant.
27715 (_IOLBF): Likewise.
27716 (_IONBF): Likewise.
27717 (SEEK_CUR): Likewise.
27718 (SEEK_END): Likewise.
27719 (SEEK_SET): Likewise.
27720 (TMP_MAX): Likewise.
27721 (EOF): Use macro-int-constant. Require < 0.
27722 (NULL): Use macro-constant. Require == 0.
27723 (stdin): Require type to be FILE *.
27724 (stdout): Likewise.
27725 (stderr): Likewise.
27726 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27727 macro-int-constant.
27728 (EXIT_SUCCESS): Likewise.
27729 (NULL): Use macro-constant. Require == 0.
27730 (RAND_MAX): Use macro-int-constant.
27731 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27732 [C99-based standards] (strtof): Require function.
27733 [C99-based standards] (strtold): Likewise.
27734 [C99-based standards] (strtoll): Likewise.
27735 [C99-based standards] (strtoull): Likewise.
27736 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27737 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27738 [ISO || ISO99 || ISO11] (math.h): Likewise.
27739 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27740 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27743 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27746 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27747 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27748 * intl/dgettext.c (DCGETTEXT): Likewise.
27749 * intl/gettext.c (DCGETTEXT): Likewise.
27750 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27751 * posix/regex_internal.h (gettext): Likewise.
27752 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27753 Remove declaration.
27754 * include/argz.h (__argz_count_internal)
27755 (__argz_stringify_internal): Remove declaration.
27756 (__argz_count, __argz_stringify): Declare hidden proto.
27757 * intl/dcgettext.c: Remove use of INTDEF.
27758 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27759 * string/argz-stringify.c: Likewise.
27760 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27761 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27762 Declare hidden proto.
27763 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27764 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27765 Declare hidden proto.
27766 * include/stdio.h (__asprintf_internal): Don't declare.
27767 (__asprintf): Don't define as macro. Declare hidden proto.
27768 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27769 (__fsetlocking): Declare hidden proto.
27770 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27771 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27773 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27774 (_IO_setlinebuf): Remove use of INTUSE.
27775 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27776 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27777 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27778 Remove declaration.
27779 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27780 (_IO_do_flush): Remove use of INTUSE.
27781 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27782 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27783 (_IO_adjust_column, _IO_least_wmarker)
27784 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27785 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27786 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27787 (_IO_default_doallocate, _IO_wdefault_doallocate)
27788 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27789 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27790 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27791 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27792 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27793 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27794 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27795 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27796 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27797 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27798 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27799 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27800 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27802 (_IO_flush_all_internal, _IO_adjust_column_internal)
27803 (_IO_default_uflow_internal, _IO_default_finish_internal)
27804 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27805 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27806 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27807 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27808 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27809 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27810 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27811 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27812 (_IO_file_close_internal, _IO_file_close_it_internal)
27813 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27814 (_IO_file_init_internal, _IO_file_attach_internal)
27815 (_IO_file_fopen_internal, _IO_file_read_internal)
27816 (_IO_file_sync_internal, _IO_file_seek_internal)
27817 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27818 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27819 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27820 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27821 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27822 (_IO_list_all_internal, _IO_link_in_internal)
27823 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27824 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27825 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27826 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27827 (_IO_do_write_internal, _IO_padn_internal)
27828 (_IO_getline_info_internal, _IO_getline_internal)
27829 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27830 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27831 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27832 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27833 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27834 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27835 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27836 with libc_hidden_ver, remove use of INTUSE.
27837 * libio/genops.c: Likewise.
27838 * libio/freopen.c: Likewise.
27839 * libio/freopen64.c: Likewise.
27840 * libio/iofclose.c: Likewise.
27841 * libio/iofdopen.c: Likewise.
27842 * libio/iofflush.c: Likewise.
27843 * libio/iofflush_u.c: Likewise.
27844 * libio/iofgets.c: Likewise.
27845 * libio/iofgets_u.c: Likewise.
27846 * libio/iofopen.c: Likewise.
27847 * libio/iofopncook.c: Likewise.
27848 * libio/iofread.c: Likewise.
27849 * libio/iofread_u.c: Likewise.
27850 * libio/ioftell.c: Likewise.
27851 * libio/iofwrite.c: Likewise.
27852 * libio/iogetline.c: Likewise.
27853 * libio/iogets.c: Likewise.
27854 * libio/iogetwline.c: Likewise.
27855 * libio/iopadn.c: Likewise.
27856 * libio/iopopen.c: Likewise.
27857 * libio/ioseekoff.c: Likewise.
27858 * libio/ioseekpos.c: Likewise.
27859 * libio/iosetbuffer.c: Likewise.
27860 * libio/iosetvbuf.c: Likewise.
27861 * libio/ioungetc.c: Likewise.
27862 * libio/ioungetwc.c: Likewise.
27863 * libio/iovdprintf.c: Likewise.
27864 * libio/iovsprintf.c: Likewise.
27865 * libio/iovsscanf.c: Likewise.
27866 * libio/memstream.c: Likewise.
27867 * libio/obprintf.c: Likewise.
27868 * libio/oldfileops.c: Likewise.
27869 * libio/oldiofclose.c: Likewise.
27870 * libio/oldiofdopen.c: Likewise.
27871 * libio/oldiofopen.c: Likewise.
27872 * libio/oldiopopen.c: Likewise.
27873 * libio/oldstdfiles.c: Likewise.
27874 * libio/putc.c: Likewise.
27875 * libio/setbuf.c: Likewise.
27876 * libio/setlinebuf.c: Likewise.
27877 * libio/stdfiles.c: Likewise.
27878 * libio/strops.c: Likewise.
27879 * libio/vasprintf.c: Likewise.
27880 * libio/vscanf.c: Likewise.
27881 * libio/vsnprintf.c: Likewise.
27882 * libio/vswprintf.c: Likewise.
27883 * libio/wfiledoalloc.c: Likewise.
27884 * libio/wfileops.c: Likewise.
27885 * libio/wgenops.c: Likewise.
27886 * libio/wmemstream.c: Likewise.
27887 * libio/wstrops.c: Likewise.
27888 * libio/__fpurge.c: Likewise.
27889 * libio/__fsetlocking.c: Likewise.
27890 * assert/assert.c: Likewise.
27891 * debug/fgets_chk.c: Likewise.
27892 * debug/fgets_u_chk.c: Likewise.
27893 * debug/fread_chk.c: Likewise.
27894 * debug/fread_u_chk.c: Likewise.
27895 * debug/gets_chk.c: Likewise.
27896 * debug/obprintf_chk.c: Likewise.
27897 * debug/vasprintf_chk.c: Likewise.
27898 * debug/vdprintf_chk.c: Likewise.
27899 * debug/vsnprintf_chk.c: Likewise.
27900 * debug/vsprintf_chk.c: Likewise.
27901 * malloc/mtrace.c: Likewise.
27902 * misc/error.c: Likewise.
27903 * misc/syslog.c: Likewise.
27904 * stdio-common/asprintf.c: Likewise.
27905 * stdio-common/fxprintf.c: Likewise.
27906 * stdio-common/getw.c: Likewise.
27907 * stdio-common/isoc99_fscanf.c: Likewise.
27908 * stdio-common/isoc99_scanf.c: Likewise.
27909 * stdio-common/isoc99_vfscanf.c: Likewise.
27910 * stdio-common/isoc99_vscanf.c: Likewise.
27911 * stdio-common/isoc99_vsscanf.c: Likewise.
27912 * stdio-common/printf-prs.c: Likewise.
27913 * stdio-common/printf_fp.c: Likewise.
27914 * stdio-common/printf_fphex.c: Likewise.
27915 * stdio-common/printf_size.c: Likewise.
27916 * stdio-common/putw.c: Likewise.
27917 * stdio-common/scanf.c: Likewise.
27918 * stdio-common/sprintf.c: Likewise.
27919 * stdio-common/tmpfile.c: Likewise.
27920 * stdio-common/vfprintf.c: Likewise.
27921 * stdio-common/vfscanf.c: Likewise.
27922 * stdlib/strfmon_l.c: Likewise.
27923 * sunrpc/openchild.c: Likewise.
27924 * sunrpc/xdr_stdio.c: Likewise.
27925 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27926 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27928 2012-05-24 Roland McGrath <roland@hack.frob.com>
27930 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27932 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27933 in the third column, to generate for the shared library an IFUNC
27934 that uses _dl_vdso_vsym.
27935 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27936 * Makeconfig (object-suffixes-noshared): New variable.
27938 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27939 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27940 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27941 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27944 * include/sys/time.h (__gettimeofday): Remove macro.
27945 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27946 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27948 (__gettimeofday): Add libc_hidden_def.
27949 (gettimeofday): Add libc_hidden_weak.
27950 * sysdeps/mach/gettimeofday.c: Likewise.
27951 * sysdeps/posix/gettimeofday.c: Likewise.
27952 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27953 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27955 (__gettimeofday_internal): Remove strong_alias.
27956 (__gettimeofday): Add libc_hidden_def.
27957 (gettimeofday): Add libc_hidden_weak.
27958 * sysdeps/unix/syscalls.list (gettimeofday):
27959 Remove __gettimeofday_internal alias.
27961 2012-05-24 Daniel Jacobowitz <drow@false.org>
27962 H.J. Lu <hongjiu.lu@intel.com>
27965 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27966 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27967 (largebin_index_32_big): New.
27968 (largebin_index): Use it for 16-byte alignment.
27969 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27970 correction with front_misalign.
27972 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28000 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28001 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28003 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28007 * math/libm-test.inc (exp_test): Add test from bug 14036.
28008 (pow_test): Add test from bug 10846.
28010 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28012 (special_function): Do not include flags in test name.
28013 (parse_args): Likewise.
28014 * sysdeps/i386/fpu/libm-test-ulps: Update.
28015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28016 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28017 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28020 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28022 * math/libm-test.inc ("Philosophy"): Update comment about
28024 (UNDERFLOW_EXCEPTION): New macro.
28025 (UNDERFLOW_EXCEPTION_OK): Likewise.
28026 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28027 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28028 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28029 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28030 (INVALID_EXCEPTION_OK): Update value.
28031 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28032 (OVERFLOW_EXCEPTION_OK): Likewise.
28033 (IGNORE_ZERO_INF_SIGN): Likewise.
28034 (test_exceptions): Handle underflow exceptions.
28035 (acos_test): Update for underflow exception expectations.
28036 (cexp_test): Likewise.
28037 (clog_test): Likewise.
28038 (clog10_test): Likewise.
28039 (csqrt_test): Likewise.
28040 (ctan_test): Likewise.
28041 (ctanh_test): Likewise.
28042 (exp_test): Likewise.
28043 (exp10_test): Likewise.
28044 (exp2_test): Likewise.
28045 (expm1_test): Likewise.
28046 (fma_test): Likewise.
28047 (j0_test): Likewise.
28048 (jn_test): Likewise.
28049 (nexttoward_test): Likewise.
28050 (pow_test): Likewise.
28051 (scalbn_test): Likewise.
28052 (scalbln_test): Likewise.
28053 (tan_test): Likewise.
28054 (y1_test): Likewise.
28055 * sysdeps/i386/fpu/libm-test-ulps: Update.
28056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28058 2012-05-23 David S. Miller <davem@davemloft.net>
28060 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28061 (__libc_sigaction): Remove unused local variables.
28063 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28065 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28067 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28069 mktime: avoid signed integer overflow
28070 * time/mktime.c (__mktime_internal): Do not mishandle the case
28071 where diff == INT_MIN.
28073 mktime: simplify computation of average
28074 * time/mktime.c (ranged_convert): Use new time_t_avg function
28075 instead of rolling our own (probably-slower) code.
28077 mktime: do not assume signed right shift propagates sign bit
28078 * time/mktime.c (isdst_differ): New static function.
28079 (__mktime_internal): No need to normalize tm_isdst now.
28080 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28083 mktime: merge another wrapv change from gnulib
28084 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28085 from some compilers.
28087 mktime: remove incorrect attempt at unusual arithmetics
28088 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28089 The code didn't really work on such machines anyway.
28090 (TYPE_MINIMUM): Assume two's complement.
28091 (twos_complement_arithmetic): Verify that long_int and time_t
28092 are two's complement (or unsigned, in the latter case).
28094 mktime: check signed shifts on long_int and time_t, too
28095 * time/mktime.c (SHR): Check that shifts work as desired
28096 on the types long_int and time_t too, as SHR is used on
28099 mktime: do not assume 'long' is wide enough
28100 * time/mktime.c (verify): Move decl up.
28101 (long_int): New type.
28102 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28103 to remove assumption in the code that 'long' is wide enough to
28104 store year values. This assumption is not true on x32 and on
28105 some non-glibc platforms.
28107 mktime: merge wrapv change from gnulib
28108 * time/mktime.c (WRAPV): New macro.
28109 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28110 (guess_time_tm, __mktime_internal): Do not assume that signed
28111 integer overflow wraps around; modern compilers generate code
28112 where this assumption is no longer valid.
28114 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28116 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28117 Replace "jmp L(pseudo_end)" with "ret".
28118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28121 2012-05-23 Andreas Jaeger <aj@suse.de>
28123 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28124 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28126 2012-05-23 Andreas Jaeger <aj@suse.de>
28127 Maximilian Attems <max@stro.at>
28129 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28132 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28134 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28135 code so that pseudo_end is just ret and the stack pointer is
28136 correct also for static library in error case.
28138 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28140 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28141 move to syscalls.list.
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28147 * manual/install.texi (Running make install): Do not mention Linux
28148 kernel version for which pt_chown is not needed.
28149 (Linux): Do not mention problems with nscd with 2.0 kernels.
28150 * INSTALL: Regenerated.
28152 2012-05-23 Andreas Jaeger <aj@suse.de>
28154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28155 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28157 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28159 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28161 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28166 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28167 * sysdeps/unix/sysv/linux/bits/in.h
28168 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28170 2012-05-22 Roland McGrath <roland@hack.frob.com>
28172 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28173 (PREPARE_VERSION): Just use assert instead, it will be elided
28174 under [NDEBUG] anyway.
28176 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28178 * sysdeps/unix/sysv/linux/Makefile: Include
28179 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28180 (sysdep_routines): Remove sysctl.
28181 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28182 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28183 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28184 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28185 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28187 2012-05-22 Andreas Jaeger <aj@suse.de>
28189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28190 that pseudo_end is just ret and the stack pointer is correct also
28191 for static library in error case.
28193 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28196 * nss/nsswitch.c (defconfig_entries): New variable.
28197 (__nss_database_lookup): Don't leak defconfig entries.
28198 (nss_parse_service_list): Don't leak on error paths.
28199 (free_database_entries): New function.
28200 (free_defconfig): New function.
28201 (free_mem): Move common code to free_database_entries.
28203 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28205 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28207 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28209 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28210 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28213 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28214 (INTERNAL_SYSCALL_TYPES): Likewise.
28215 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28216 (LOAD_REGS_TYPES_[1-6]): Likewise.
28217 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28218 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28220 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28223 copysignl for GLIBC_2_0.
28224 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28225 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28227 logbl for GLIBC_2_0.
28228 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28229 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28231 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28234 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28236 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28239 * time/mktime.c: Update copyright years.
28241 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28243 mktime: merge comment-quoting-style change from gnulib
28244 * time/mktime.c: Quote 'like this' in comments.
28245 The GNU coding standards suggest that we no longer quote `like this',
28246 as "`" and "'" are typically rendered asymmetrically nowadays.
28247 The typical gnulib style is to quote 'like this' when quoting
28248 code, and "like this" when quoting English.
28250 * time/mktime.c (compile-command): Add "-I.".
28252 mktime: merge mktime-internal.h change from gnulib
28253 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28255 mktime: merge time_r change from gnulib
28256 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28258 mktime: merge DEBUG change from gnulib
28259 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28260 case system <time.h> has a #define.
28262 mktime: merge <sys/types.h> change from gnulib
28263 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28264 since <time.t> is now guaranteed to define time_t.
28266 mktime: merge HAVE_CONFIG_H change from gnulib
28267 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28269 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28274 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28276 (struct rusage): Use anonymous union to pad each field to
28279 2012-05-21 David S. Miller <davem@davemloft.net>
28281 * Makefules (o-iterator): Remove .s cases.
28282 (compile-command.s): Delete.
28283 (COMPILE.s): Delete.
28284 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28286 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28288 * configure.in (libc_cv_predef_stack_protector): Only consider
28289 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28290 * configure: Regenerated.
28292 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28295 New macro. Use R*LP on int and pointer.
28296 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28297 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28298 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28299 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28301 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28302 [__WORDSIZE_TIME64_COMPAT32] instead of
28303 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28304 (struct utmp): Likewise.
28305 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28306 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28308 (__WORDSIZE_TIME64_COMPAT32): This.
28309 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28310 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28311 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28312 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28313 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28314 (__WORDSIZE_TIME64_COMPAT32): New macro.
28316 2012-05-21 Andreas Jaeger <aj@suse.de>
28318 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28319 only if [SHARED]. Add prototype for __wcschr_ia32.
28321 2012-05-21 Roland McGrath <roland@hack.frob.com>
28323 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28324 of %rbp unmolested in the jmp_buf while mangling the low bits.
28325 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28326 unmolested high bits of %rbp while demangling the low bits.
28327 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28329 2012-05-21 Andreas Jaeger <aj@suse.de>
28331 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28332 * sunrpc/svc_simple.c: Use it for registerrpc.
28333 * sunrpc/xcrypt.c: Use it for passwd2des.
28335 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28337 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28339 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28340 Don't define if [__SYSCALL_WORDSIZE != 32].
28341 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28344 2012-05-21 Bruno Haible <bruno@clisp.org>
28345 Andreas Jaeger <aj@suse.de>
28347 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28348 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28349 inptr and inend for must_buffer_ch.
28350 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28351 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28352 * stdio-common/Makefile (tests): Remove bug15.
28353 (bug15-ENV): Remove macro.
28354 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28357 2012-05-19 Andreas Jaeger <aj@suse.de>
28358 Roland McGrath <roland@hack.frob.com>
28360 * manual/contrib.texi: Completely rewritten. It contains now an
28361 alphabetical list of contributors and their contributions.
28363 2012-05-21 Richard Henderson <rth@twiddle.net>
28365 * misc/getauxval.c (__getauxval): Use unsigned long int.
28366 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28367 (getauxval): Use unsigned long int.
28369 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28371 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28373 2012-05-21 Roland McGrath <roland@hack.frob.com>
28375 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28376 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28377 __alignof__ (long double).
28379 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28383 2012-05-20 Richard Henderson <rth@twiddle.net>
28385 * misc/getauxval.c: New file.
28386 * misc/sys/auxv.h: New file.
28387 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28388 (routines): Add getauxval.
28389 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28390 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28391 * elf/dl-sysdep.c (_dl_auxv): Remove.
28392 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28393 * elf/dl-support.c (_dl_auxv): New variable.
28394 (_dl_aux_init): Initialize it.
28395 * manual/startup.texi (Auxiliary Vector): New node.
28396 * sysdeps/generic/bits/hwcap.h: New file.
28397 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28398 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28399 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28400 * sysdeps/sparc/sysdep.h: ... here. Include it.
28401 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28402 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28408 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28414 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28418 2012-05-19 David S. Miller <davem@davemloft.net>
28420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28422 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28425 * math/s_ccosh.c: Include <float.h>
28426 (__ccosh): Avoid internal overflow calculating sinh and cosh
28427 values before multiplying by sin and cos values.
28428 * math/s_ccoshf.c: Likewise.
28429 * math/s_ccoshl.c: Likewise.
28430 * math/s_csin.c: Likewise.
28431 * math/s_csinf.c: Likewise.
28432 * math/s_csinl.c: Likewise.
28433 * math/s_csinh.c: Likewise.
28434 * math/s_csinhf.c: Likewise.
28435 * math/s_csinhl.c: Likewise.
28436 * math/libm-test.inc (ccos_test): Add more tests.
28437 (ccosh_test): Likewise.
28438 (csin_test): Likewise.
28439 (csinh_test): Likewise.
28440 * sysdeps/i386/fpu/libm-test-ulps: Update.
28441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28443 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28445 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28446 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28448 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28450 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28452 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28453 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28454 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28455 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28456 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28457 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28458 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28459 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28460 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28461 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28462 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28463 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28464 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28465 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28466 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28467 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28468 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28469 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28470 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28471 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28472 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28473 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28474 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28475 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28476 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28477 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28478 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28479 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28480 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28481 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28482 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28484 2012-05-18 Andreas Jaeger <aj@suse.de>
28486 * csu/.gitignore: Delete.
28488 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28490 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28491 (timex): Use __syscall_slong_t.
28493 2012-05-18 Andreas Jaeger <aj@suse.de>
28494 Carlos O'Donell <carlos_odonell@mentor.com>
28496 * manual/install.texi (Configuring and compiling): Update
28497 description about files modified in the source directory.
28498 * INSTALL: Regenerated.
28500 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28502 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28503 value. Use "or" to set return value to -1.
28504 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28505 negate return value.
28507 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28509 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28510 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28511 failure if the compiler has Graphite support disabled.
28512 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28514 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28515 CFLAGS-memmove.c): Likewise.
28516 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28519 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28521 * sysdeps/x86_64/x32/_itoa.h: New file.
28523 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28524 getdents system call only if kernel and user dirents have the
28525 same d_ino and d_off.
28527 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28528 LLONG_MAX != LONG_MAX.
28529 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28530 (_fitoa_word): Likewise.
28532 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28534 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28535 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28536 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28538 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28539 include <bits/wordsize.h>. Check __x86_64__ instead of
28541 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28542 if __x86_64__ is defined. Use anonymous union on fpstate.
28544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28547 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28549 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28550 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28551 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28552 Refer to _rtld_local_ro instead of _rtld_global_ro.
28553 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28555 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28557 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28559 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28560 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28561 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28563 * sysdeps/powerpc/powerpc32/dl-machine.c
28564 (__elf_machine_runtime_setup) [PROF]: Don't reference
28567 2012-05-18 Andreas Jaeger <aj@suse.de>
28569 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28570 function only available for GCCs before 3.4 since GCC 3.4
28571 introduced a builtin.
28573 (llrintf): Likewise.
28574 (llrint): Likewise.
28581 (nearbyint): Likewise.
28582 (nearbyintf): Likewise.
28586 (floorf): Likewise.
28588 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28590 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28591 on both fields and cast pointer to __syscall_ulong_t.
28593 * bits/types.h (__fsword_t): New type.
28594 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28595 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28596 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28597 (__FSWORD_T_TYPE): Likewise.
28598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28599 (__FSWORD_T_TYPE): Likewise.
28600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28601 (__FSWORD_T_TYPE): Likewise.
28602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28603 (__FSWORD_T_TYPE): Likewise.
28604 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28605 __SWORD_TYPE with __fsword_t.
28606 (statfs64): Likewise.
28608 2012-05-17 David S. Miller <davem@davemloft.net>
28610 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28612 2012-05-17 Andreas Jaeger <aj@suse.de>
28614 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28617 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28619 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28621 2012-05-17 Andreas Jaeger <aj@suse.de>
28623 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28626 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28628 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28630 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28632 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28633 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28635 2012-05-17 Andreas Jaeger <aj@suse.de>
28636 Carlos O'Donell <carlos_odonell@mentor.com>
28639 * sysdeps/x86_64/multiarch/init-arch.h
28640 (bit_YMM_Usable): Rename to...
28641 (bit_AVX_Usable): ... this.
28642 (bit_FMA4_Usable): New macro.
28643 (bit_XMM_state): New macro.
28644 (bit_YMM_state): New macro.
28645 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28646 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28647 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28648 (CPUID_OSXSAVE): New macro.
28649 (CPUID_AVX): New macro.
28650 (CPUID_FMA4): New macro.
28651 (index_YMM_Usable): Rename to...
28652 (index_AVX_Usable): ... this.
28653 (HAS_AVX): Use HAS_ARCH_FEATURE.
28654 (HAS_FMA4): Likewise.
28655 (HAS_YMM_USABLE): Remove.
28656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28657 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28659 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28660 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28661 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28662 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28663 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28665 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28667 * math/libm-test.c: Support platforms without multiple rounding modes.
28668 * math/bug-nextafter.c: Support platforms without FP exceptions.
28669 * math/bug-nexttoward.c: Likewise.
28670 * math/test-fenv.c: Likewise.
28671 * math/test-misc.c: Likewise.
28672 * stdlib/bug-getcontext.c: Likewise.
28674 2012-05-17 Andreas Jaeger <aj@suse.de>
28676 * manual/examples/search.c (critter_cmp): Change signature to
28678 * manual/string.texi (Collation Functions): Likewise.
28680 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28682 * bits/types.h: Fold copyright years.
28683 * bits/typesizes.h: Likewise.
28684 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28688 * time/time.h: Likewise.
28690 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28693 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28694 in instead of returning them. Return void.
28695 (__libc_mallinfo): Accumulate over all arenas.
28696 (__malloc_stats): Adjust for change in int_mallinfo interface.
28698 2012-05-16 Roland McGrath <roland@hack.frob.com>
28701 * configure.in (NM): Add AC_CHECK_TOOL for it.
28702 (libc_extra_cflags): New substituted variable.
28703 Check for -fstack-protector being used implicitly.
28704 * configure: Regenerated.
28705 * config.make.in (config-extra-cflags): New variable,
28706 gets @libc_extra_cflags@.
28707 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28710 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28711 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28712 * configure: Regenerated.
28713 * config.make.in (CPPUNDEFS): New substituted variable.
28714 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28715 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28716 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28721 (mq_attr): Use __syscall_slong_t.
28723 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28725 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28726 Check __x86_64__ instead of __WORDSIZE.
28727 (_STAT_VER_LINUX): Likewise.
28728 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28729 __syscall_ulong_t and __syscall_slong_t.
28730 (stat64): Likewise.
28732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28734 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28738 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28740 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28742 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28745 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28746 include <bits/wordsize.h>. Check __x86_64__ instead of
28748 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28750 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28752 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28753 include <bits/wordsize.h>. Check __x86_64__ instead of
28755 (user_regs_struct): Use "__extension__ unsigned long long"
28756 instead of "unsigned long" if __x86_64__ is defined.
28757 (user): Likewise. Pad after pointer field if __ILP32__ is
28760 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28762 * configure.in (makeinfo): Require version 4.5 or later. Allow
28764 * configure: Regenerated.
28765 * manual/install.texi (texinfo): Increase version requirement to
28767 * INSTALL: Regenerated.
28769 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28771 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28773 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28775 * sysdeps/x86_64/x32/ffs.c: New file.
28777 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28779 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28780 defined. Use __syscall_ulong_t.
28781 (shminfo): Use __syscall_ulong_t.
28782 (shm_info): Likewise.
28784 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28787 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28789 (msgqnum_t): Use __syscall_ulong_t.
28790 (msglen_t): Likewise.
28791 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28794 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28795 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28797 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28799 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28800 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28802 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28805 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28806 include <bits/wordsize.h>. Check __x86_64__ instead of
28809 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28810 "unsigned long long int" if __x86_64__ is defined.
28811 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28813 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28814 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28815 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28817 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28819 (GET_PC): Cast to uintptr_t first.
28820 (GET_FRAME): Likewise.
28821 (GET_STACK): Likewise.
28823 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28824 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28825 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28826 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28827 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28828 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28829 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28830 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28831 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28832 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28833 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28836 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28837 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28838 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28841 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28842 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28843 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28844 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28845 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28846 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28847 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28848 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28849 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28850 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28853 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28855 * Makerules (+depfiles): Also collect depfiles from .oS in
28857 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28858 .oS, $(libnldbl-routines)).
28860 * Makerules (native-compile-mkdep-flags): Define.
28861 * sunrpc/Makefile (extra-objs): Add $(addprefix
28862 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28863 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28864 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28865 calling $(make-target-directory).
28867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28869 * bits/types.h (__snseconds_t): Removed.
28870 * time/time.h (struct timespec): Replace __snseconds_t with
28872 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28873 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28876 (__SNSECONDS_T_TYPE): Likewise.
28877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28878 (__SNSECONDS_T_TYPE): Likewise.
28879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28880 (__SNSECONDS_T_TYPE): Likewise.
28882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28884 * sysdeps/mach/hurd/bits/typesizes.h
28885 (__SYSCALL_SLONG_TYPE): New macro.
28886 (__SYSCALL_ULONG_TYPE): Likewise.
28888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28890 * bits/types.h (__syscall_slong_t): New type.
28891 (__syscall_ulong_t): Likewise.
28893 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28894 (__SYSCALL_ULONG_TYPE): Likewise.
28895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28896 (__SYSCALL_SLONG_TYPE): Likewise.
28897 (__SYSCALL_ULONG_TYPE): Likewise.
28898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28899 (__SYSCALL_SLONG_TYPE): Likewise.
28900 (__SYSCALL_ULONG_TYPE): Likewise.
28901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28902 (__SYSCALL_SLONG_TYPE): Likewise.
28903 (__SYSCALL_ULONG_TYPE): Likewise.
28905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28907 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28908 Add sigaltstack-offsets.sym.
28909 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28910 <sigaltstack-offsets.h>.
28911 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28912 longjmp_msg pointer.
28913 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28914 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28916 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28918 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28920 * elf/stackguard-macros.h: Remove file.
28921 * sysdeps/generic/stackguard-macros.h: New file.
28922 * sysdeps/i386/stackguard-macros.h: Likewise.
28923 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28924 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28925 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28926 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28927 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28928 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28929 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28930 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28931 <elf/stackguard-macros.h>.
28934 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28935 __aligned__ in attribute.
28936 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28937 (gregset_t): Likewise.
28939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28941 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28942 * sysdeps/x86_64/64/Implies-after: Here. New file.
28943 * sysdeps/x86_64/x32/Implies-after: New file.
28945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28947 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28948 and access return value for _dl_profile_fixup. Use R10_LP to
28951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28953 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28957 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28958 * sysdeps/x86_64/x32/sysdep.h: New file.
28960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28962 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28963 * sysdeps/x86_64/setjmp.S: Likewise.
28965 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28967 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28968 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28969 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28970 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28971 remove unused global constant.
28973 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28975 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28976 include of <not-cancel.h>.
28978 2012-05-15 Roland McGrath <roland@hack.frob.com>
28980 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28982 2012-05-15 Jeff Law <law@redhat.com>
28983 Andreas Jaeger <aj@suse.de>
28986 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28988 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28989 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28990 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28991 code changing __hst_map_handle.map.
28993 2012-05-15 Roland McGrath <roland@hack.frob.com>
28995 * configure.in (sysnames): Look for Implies-before and Implies-after
28997 * configure: Regenerated.
28999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29002 8-byte data alignment with LP_SIZE alignment.
29004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29006 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29011 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29015 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29016 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29023 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29024 (stackinfo_sub_sp): Likewise.
29026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29043 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29047 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29048 into R11_LP and load __x86_64_shared_cache_size_half into
29051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29053 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29056 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29065 powerpc32/power7/fpu/s_logb.c via #include.
29066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29067 powerpc32/power7/fpu/s_logbf.c via #include.
29068 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29069 powerpc32/power7/fpu/s_logbl.c via #include.
29071 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29073 * README.libm: Remove file.
29075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29077 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29078 count for x32. Use R*_LP and omit operand-size suffix.
29080 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29082 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29083 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29084 * sysdeps/x86_64/x32/shlib-versions: New file.
29086 2012-05-14 Roland McGrath <roland@hack.frob.com>
29088 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29089 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29090 Use _dl_fatal_printf instead.
29092 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29094 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29095 set if not set by the user. Do not allow for being unset.
29096 * sysdeps/unix/sysv/linux/configure: Regenerated.
29098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29100 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29101 the `q' suffix from lea and replace .quad with ASM_ADDR.
29103 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29106 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29108 (PTR_DEMANGLE): Likewise.
29110 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29112 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29114 (ASM_ADDR): Likewise.
29115 (RAX_LP): Likewise.
29116 (RBP_LP): Likewise.
29117 (RBX_LP): Likewise.
29118 (RCX_LP): Likewise.
29119 (RDI_LP): Likewise.
29120 (RSI_LP): Likewise.
29121 (RSP_LP): Likewise.
29124 (R10_LP): Likewise.
29125 (R10_LP): Likewise.
29126 (R11_LP): Likewise.
29127 (R12_LP): Likewise.
29128 (R13_LP): Likewise.
29129 (R14_LP): Likewise.
29130 (R15_LP): Likewise.
29132 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29134 * sysdeps/x86_64/x32/dl-machine.h: New file.
29136 2012-05-14 Andreas Jaeger <aj@suse.de>
29138 * manual/Makefile (subdir): Remove export of subdir.
29139 (all): Remove target.
29140 (.PHONY): Remove all from list.
29141 (mkinstalldirs): Remove.
29142 (.PHONY): Remove installdirs from list.
29143 ($(inst_infodir)/libc.info): Use make-target-directory.
29144 (installdirs): Remove.
29145 (subdir_%): Remove.
29146 (glibc-targets): Remove.
29149 ($(objpfx)stubs ../po/manual.pot): Remove.
29150 ($(objpfx)stamp%): Remove.
29151 (make-target-directory): Remove.
29152 (subdir_install): Remove.
29153 (routines): Remove.
29160 * manual/.gitignore: Remove, it's not needed anymore.
29161 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29163 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29165 (texis): Renamed to $(objpfx)texis.
29166 (texis-path): New, contains path to generated files.
29167 (chapters.%): Use texis-path for complete path, add extra argument
29169 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29170 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29171 (summary,texi, stamp-summary): Use complete path of
29172 files. Generate files in build dir.
29173 (dir-add.texi): Build in build dir.
29174 (libm-err.texi,stamp-libm-err): Likewise.
29175 (version.texi, stamp-version): Likewise.
29176 (.%c.texi): Likewise.
29177 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29178 (mostlyclean): Remove target.
29179 (realclean): Remove target.
29180 (generated): Add new variable with contents from mostlyclean and
29181 realclean, remove entries duplicated in common-mostlyclean, add
29182 stamp-libm-err and stamp-version.
29183 (generated-dirs): Add libc directory.
29184 ($(inst_infodir)/libc.info): Install files from build dir.
29186 * manual/install.texi (Configuring and compiling): Adjust since
29187 the info files are not part of the tar ball anymore.
29189 2012-05-14 Andreas Jaeger <aj@suse.de>
29191 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29194 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29198 to 2.2.0 where earlier.
29199 * sysdeps/unix/sysv/linux/configure: Regenerated.
29200 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29201 Remove conditional code.
29202 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29203 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29204 Remove conditional code.
29205 [!__NR_lchown]: Likewise.
29206 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29207 [__NR_lchown]: Likewise.
29208 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29209 comment referencing __ASSUME_LCHOWN_SYSCALL.
29210 * sysdeps/unix/sysv/linux/i386/sigaction.c
29211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29213 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29214 Remove conditional code.
29215 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29216 (__protocol_available): Remove #if 0 code.
29217 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29219 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29220 * sysdeps/unix/sysv/linux/kernel-features.h
29221 (__ASSUME_GETCWD_SYSCALL): Don't define.
29222 (__ASSUME_REALTIME_SIGNALS): Likewise.
29223 (__ASSUME_PREAD_SYSCALL): Likewise.
29224 (__ASSUME_PWRITE_SYSCALL): Likewise.
29225 (__ASSUME_POLL_SYSCALL): Likewise.
29226 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29227 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29229 (__ASSUME_SIOCGIFNAME): Don't define.
29230 (__ASSUME_MSG_NOSIGNAL): Likewise.
29231 (__ASSUME_SENDFILE): Define unconditionally.
29232 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29233 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29235 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29236 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29237 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29238 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29239 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29240 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29241 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29246 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29252 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29266 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29267 Remove conditional code.
29268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29269 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29270 Remove conditional code.
29271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29272 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29273 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29274 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29275 Remove conditional code.
29276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29277 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29278 Remove conditional code.
29279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29280 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29281 Remove conditional code.
29282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29283 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29284 Remove conditional code.
29285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29286 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29287 Remove conditional code.
29288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29289 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29290 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29292 * sysdeps/unix/sysv/linux/sigaction.c
29293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29295 * sysdeps/unix/sysv/linux/sigpending.c
29296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29298 * sysdeps/unix/sysv/linux/sigprocmask.c
29299 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29300 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29301 * sysdeps/unix/sysv/linux/sigsuspend.c
29302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29305 (__libc_missing_rt_sigs): Remove.
29306 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29307 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29308 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29309 Remove conditional code.
29310 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29311 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29313 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29314 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29315 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29316 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29318 2012-05-14 Andreas Jaeger <aj@suse.de>
29320 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29321 it's not used in glibc.
29322 (__coshm1): Likewise.
29323 (__acosh1p): Likewise.
29326 * manual/string.texi (Copying and Concatenation): Add missing
29327 variable in concat example.
29328 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29330 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29333 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29334 __builtin_clzl with __builtin_clzll.
29336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29339 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29342 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29344 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29345 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29346 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29347 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29349 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29351 * NEWS: Update ia64 info.
29353 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29355 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29358 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29360 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29361 * sysdeps/unix/syscalls.list (dup3): Likewise.
29362 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29363 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29365 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29367 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29368 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29370 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29372 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29374 (TLS_IE): Use mov/add instead of movq/addq to load thread
29376 (TLS_GD_PREFIX): New.
29379 2012-05-11 David S. Miller <davem@davemloft.net>
29381 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29382 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29383 (_FPU_SETCW): Likewise.
29385 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29387 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29388 is 32-byte aligned.
29390 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29393 * iconvdata/gb18030.c: Update tables.
29394 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29395 characters specially.
29396 (BODY for TO_LOOP): Add encoding of missing ranges.
29398 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29401 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29402 * sysdeps/mach/hurd/dup3.c: Likewise.
29403 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29404 * sysdeps/powerpc/memmove.c:: Likewise.
29406 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29409 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29411 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29413 * elf/elf.h (R_X86_64_RELATIVE64): New.
29414 (R_X86_64_NUM): Updated.
29415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29416 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29417 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29418 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29419 tst-quad1pie tst-quad2pie
29420 (modules-names): Add tst-quadmod1 tst-quadmod2.
29421 ($(objpfx)tst-quad1): New dependency.
29422 ($(objpfx)tst-quad2): Likewise.
29423 ($(objpfx)tst-quad1pie): Likewise.
29424 ($(objpfx)tst-quad2pie): Likewise.
29425 * sysdeps/x86_64/tst-quad1.c: New file.
29426 * sysdeps/x86_64/tst-quad1pie.c: New file.
29427 * sysdeps/x86_64/tst-quad2.c: Likewise.
29428 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29429 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29430 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29431 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29432 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29434 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29436 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29437 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29438 * streams/stropts.h (t_scalar_t): Define type.
29440 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29441 (_PATH_PRESERVE): Set to "/var/lib".
29442 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29444 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29447 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29448 if __dir_mkfile succeeded.
29450 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29451 checking for _hurd_dtablesize. Unlock it right after having
29452 finished _hurd_dtable allocation.
29454 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29456 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29457 * sysdeps/mach/hurd/configure: Regenerated.
29458 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29459 special-casing to...
29460 * sysdeps/gnu/configure.in: ... this new file.
29461 * sysdeps/unix/sysv/linux/configure: Regenerated.
29462 * sysdeps/gnu/configure: New generated file.
29464 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29465 for Linux: use nsec instead of usec, as well as:
29466 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29467 members of type struct timespec.
29468 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29470 (struct stat64): Likewise.
29471 (_STATBUF_ST_NSEC): New macro.
29472 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29474 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29475 __strtoul_internal rather than strtoul.
29477 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29479 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29484 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29485 which preserves existing values.
29486 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29488 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29490 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29491 TIMEOUT values. Return EINVAL for NFDS values either negative or
29492 greater than FD_SETSIZE.
29494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29496 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29497 allocated, call __vm_protect to finish enabling the existing space, and
29498 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29499 allocate the remainder.
29501 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29503 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29504 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29508 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29509 sysdeps/mach/hurd/readlink.c.
29511 * posix/tst-sysconf.c (posix_options): Only use
29512 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29513 _POSIX_SYNCHRONIZED_IO when they are defined
29514 * sysdeps/mach/hurd/bits/posix_opt.h:
29515 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29516 (_XOPEN_REALTIME): Undefine macro.
29517 (_XOPEN_REALTIME_THREADS): Undefine macro.
29518 (_XOPEN_SHM): Undefine macro.
29519 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29521 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29523 (_POSIX_ASYNC_IO): Undefine macro.
29524 (_POSIX_PRIORITIZED_IO): Undefine macro.
29525 (_POSIX_SPIN_LOCKS): Define macro to -1.
29527 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29528 SA_NODEFER, SA_RESETHAND.
29529 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29530 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29535 * elf/Makefile (pldd-modules): Define unconditionally.
29537 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29539 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29543 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29544 Return ENOENT when name is empty.
29545 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29547 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29549 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29551 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29555 Fix mlock in all cases except non-readable pages.
29556 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29557 instead of VM_PROT_ALL as parameter to __vm_wire function.
29559 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29560 (__mkdir): When path is `/', just fail with EEXIST.
29561 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29565 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29566 <sys/uio.h> (for writev).
29567 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29568 and <sys/param.h> (for MIN).
29570 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29572 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29573 REQUESTED_TIME. Properly set the remaining time and return EINTR
29576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29578 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29579 Depend on against $(link-rpcuserlibs).
29581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29583 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29584 (__libc_stack_end): Do not use attribute_relro.
29585 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29586 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29587 to libthread-provided value.
29588 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29594 * bits/libc-lock.h (__libc_once_get): New macro.
29595 * sysdeps/mach/bits/libc-lock.h: Likewise.
29596 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29598 instead of using implementation details.
29600 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29601 * libio/freopen.c: Likewise.
29602 * libio/freopen64.c: Likewise.
29603 * misc/syslog.c: Likewise.
29604 * nscd/connections.c: Likewise.
29605 * nscd/netgroupcache.c: Likewise.
29606 * sysdeps/posix/getcwd.c: Likewise.
29608 2012-05-10 Roland McGrath <roland@hack.frob.com>
29610 * math/w_ilogbf.c: Add #include <limits.h>.
29612 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29614 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29615 path instead of returning without unlocking.
29617 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29618 immediate-write ioctls.
29619 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29621 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29623 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29624 __builtin_frame_address instead of making assumptions about the
29625 location of the return address relative to DATA. Force early load of
29626 the return address.
29627 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29628 __builtin_frame_address.
29631 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29632 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29633 implement dup3 and do some further code clean-ups.
29634 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29635 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29639 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29641 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29642 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29643 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29644 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29645 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29648 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29649 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29650 when handler == SIG_ERR, not when handler != SIG_ERR.
29652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29654 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29655 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29658 accept4 for GNU Hurd.
29659 * include/sys/socket.h (__libc_accept4): New prototype.
29660 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29661 to implement __libc_accept4.
29662 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29664 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29666 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29667 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29668 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29669 signal-defines.sym.
29671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29673 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29675 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29677 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29678 assertion on O_CLOEXEC flag.
29679 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29680 * hurd/intern-fd.c: Likewise.
29681 * hurd/port2fd.c: Likewise.
29683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29686 * bits/in.h (IPV6_PKTINFO): Define new macro.
29687 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29689 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29694 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29696 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29697 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29699 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29700 * math/libm-test.inc (logb_test) : Additional logb tests.
29702 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29703 Andreas Jaeger <aj@suse.de>
29705 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29706 * configure: Regenerated.
29707 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29708 * config.make.in (link-obsolete-rpc): New substituted variable.
29709 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29710 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29711 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29712 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29713 so that libc.a contains the symbols.
29714 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29715 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29716 * sunrpc/auth_none.c: Likewise.
29717 * sunrpc/auth_unix.c: Likewise.
29718 * sunrpc/authdes_prot.c: Likewise.
29719 * sunrpc/authuxprot.c: Likewise.
29720 * sunrpc/clnt_gen.c: Likewise.
29721 * sunrpc/clnt_perr.c: Likewise.
29722 * sunrpc/clnt_raw.c: Likewise.
29723 * sunrpc/clnt_simp.c: Likewise.
29724 * sunrpc/clnt_tcp.c: Likewise.
29725 * sunrpc/clnt_udp.c: Likewise.
29726 * sunrpc/clnt_unix.c: Likewise.
29727 * sunrpc/des_crypt.c: Likewise.
29728 * sunrpc/des_soft.c: Likewise.
29729 * sunrpc/get_myaddr.c: Likewise.
29730 * sunrpc/key_call.c: Likewise.
29731 * sunrpc/key_prot.c: Likewise.
29732 * sunrpc/netname.c: Likewise.
29733 * sunrpc/pm_getmaps.c: Likewise.
29734 * sunrpc/pm_getport.c: Likewise.
29735 * sunrpc/pmap_clnt.c: Likewise.
29736 * sunrpc/pmap_prot.c: Likewise.
29737 * sunrpc/pmap_prot2.c: Likewise.
29738 * sunrpc/pmap_rmt.c: Likewise.
29739 * sunrpc/publickey.c: Likewise.
29740 * sunrpc/rpc_cmsg.c: Likewise.
29741 * sunrpc/rpc_common.c: Likewise.
29742 * sunrpc/rpc_dtable.c: Likewise.
29743 * sunrpc/rpc_prot.c: Likewise.
29744 * sunrpc/rpc_thread.c: Likewise.
29745 * sunrpc/rtime.c: Likewise.
29746 * sunrpc/svc.c: Likewise.
29747 * sunrpc/svc_auth.c: Likewise.
29748 * sunrpc/svc_raw.c: Likewise.
29749 * sunrpc/svc_run.c: Likewise.
29750 * sunrpc/svc_tcp.c: Likewise.
29751 * sunrpc/svc_udp.c: Likewise.
29752 * sunrpc/svc_unix.c: Likewise.
29753 * sunrpc/svcauth_des.c: Likewise.
29754 * sunrpc/xcrypt.c: Likewise.
29755 * sunrpc/xdr.c: Likewise.
29756 * sunrpc/xdr_array.c: Likewise.
29757 * sunrpc/xdr_float.c: Likewise.
29758 * sunrpc/xdr_intXX_t.c: Likewise.
29759 * sunrpc/xdr_mem.c: Likewise.
29760 * sunrpc/xdr_rec.c: Likewise.
29761 * sunrpc/xdr_ref.c: Likewise.
29762 * sunrpc/xdr_sizeof.c: Likewise.
29763 * sunrpc/xdr_stdio.c: Likewise.
29765 2012-05-10 Roland McGrath <roland@hack.frob.com>
29767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29768 change. Update copyright years.
29770 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29772 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29774 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29775 Joseph Myers <joseph@codesourcery.com>
29776 Paul Pluzhnikov <ppluzhnikov@google.com>
29779 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29781 [cross-compiling] (extra-libs): Likewise.
29782 [cross-compiling] (extra-libs-others): Likewise.
29783 [cross-compiling] (librpcsvc-routines): Likewise.
29784 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29785 [cross-compiling] (omit-deps): Likewise.
29786 (sunrpc-CPPFLAGS): New variable.
29787 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29788 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29789 (cross-rpcgen-objs): New variable.
29790 (extra-objs): Append $(cross-rpcgen-objs).
29791 ($(cross-rpcgen-objs)): New rule.
29792 ($(objpfx)cross-rpcgen): Likewise.
29793 (rpcgen-cmd): Define to use $(built-program-file). Expand
29795 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29796 ($(objpfx)x%.stmp): Likewise.
29797 * sunrpc/proto.h [IS_IN_build] (_): Define.
29798 [IS_IN_build] (_libc_intl_domainname): Likewise.
29800 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29803 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29804 and R_X86_64_TPOFF64.
29806 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29808 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29809 sysdeps/unix/sysv/syscalls.list.
29812 * sysdeps/unix/sysv/syscalls.list: Remove file.
29814 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29817 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29818 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29819 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29820 (__LC_IDENTIFICATION): Make these macros useful in #if
29821 expressions, as required by C99.
29823 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29825 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29826 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29829 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29831 * stdlib/longlong.h: Updated from GCC.
29833 2012-05-09 Andreas Jaeger <aj@suse.de>
29835 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29836 default is first entry.
29837 (run_mode): Set type.
29838 (main): Remove informal message about syslog.
29839 (options): Fix typo.
29842 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29845 (llrintf): Likewise.
29846 (llrint): Likewise.
29849 (nearbyint): Likewise.
29850 (nearbyintf): Likewise.
29852 2012-05-09 Andreas Jaeger <aj@suse.de>
29853 Pedro Alves <palves@redhat.com>
29855 * nscd/nscd.c (run_mode): Use enum.
29856 (main): Cleanup coding style issue.
29858 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29859 Andreas Jaeger <aj@suse.de>
29861 * nscd/nscd.c (go_background): Replaced with...
29862 (run_mode): ... this.
29863 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29864 (options): Add -F --foreground.
29865 (main): Implement it.
29866 (parse_opt): Parse it.
29868 2012-05-09 Andreas Jaeger <aj@suse.de>
29871 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29872 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29873 -Wconversion warning.
29874 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29877 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29879 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29881 (LC_ALL): Use macro-int-constant.
29882 (LC_COLLATE): Likewise.
29883 (LC_CTYPE): Likewise.
29884 (LC_MESSAGES): Likewise.
29885 (LC_MONETARY): Likewise.
29886 (LC_NUMERIC): Likewise.
29887 (LC_TIME): Likewise.
29888 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29889 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29891 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29893 [C99-based standards] (float_t): Expect type.
29894 [C99-based standards] (double_t): Expect type.
29895 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29897 [C99-based standards] (HUGE_VALL): Likewise.
29898 [C99-based standards] (INFINITY): Likewise.
29899 [C99-based standards] (NAN): Likewise.
29900 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29901 [C99-based standards] (FP_NAN): Likewise.
29902 [C99-based standards] (FP_NORMAL): Likewise.
29903 [C99-based standards] (FP_SUBNORMAL): Likewise.
29904 [C99-based standards] (FP_ZERO): Likewise.
29905 [C99-based standards] (FP_FAST_FMA): Use
29906 optional-macro-int-constant. Specify type. Require == 1.
29907 [C99-based standards] (FP_FAST_FMAF): Likewise.
29908 [C99-based standards] (FP_FAST_FMAL): Likewise.
29909 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29910 [C99-based standards] (FP_ILOGBNAN): Likewise.
29911 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29913 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29914 [C99-based standards] (math_errhandling): Specify type.
29915 [ISO99 || ISO11] (signgam): Do not allow.
29916 [non-C99-based standards] (copysignf): Do not allow.
29917 [non-C99-based standards] (exp2f): Likewise.
29918 [non-C99-based standards] (log2f): Likewise.
29919 [non-C99-based standards] (modff): Allow.
29920 [non-C99-based standards] (erff): Do not allow.
29921 [non-C99-based standards] (erfcf): Likewise.
29922 [non-C99-based standards] (gammaf): Likewise.
29923 [non-C99-based standards] (hypotf): Likewise.
29924 [non-C99-based standards] (j0f): Likewise.
29925 [non-C99-based standards] (j1f): Likewise.
29926 [non-C99-based standards] (jnf): Likewise.
29927 [non-C99-based standards] (lgammaf): Likewise.
29928 [non-C99-based standards] (tgammaf): Likewise.
29929 [non-C99-based standards] (y0f): Likewise.
29930 [non-C99-based standards] (y1f): Likewise.
29931 [non-C99-based standards] (ynf): Likewise.
29932 [non-C99-based standards] (isnanf): Likewise.
29933 [non-C99-based standards] (acoshf): Likewise.
29934 [non-C99-based standards] (asinhf): Likewise.
29935 [non-C99-based standards] (atanhf): Likewise.
29936 [non-C99-based standards] (cbrtf): Likewise.
29937 [non-C99-based standards] (expm1f): Likewise.
29938 [non-C99-based standards] (ilogbf): Likewise.
29939 [non-C99-based standards] (log1pf): Likewise.
29940 [non-C99-based standards] (logbf): Likewise.
29941 [non-C99-based standards] (nextafterf): Likewise.
29942 [non-C99-based standards] (remainderf): Likewise.
29943 [non-C99-based standards] (rintf): Likewise.
29944 [non-C99-based standards] (scalbf): Likewise.
29945 [non-C99-based standards] (copysignl): Likewise.
29946 [non-C99-based standards] (exp2l): Likewise.
29947 [non-C99-based standards] (log2l): Likewise.
29948 [non-C99-based standards] (modfl): Allow.
29949 [non-C99-based standards] (erfl): Do not allow.
29950 [non-C99-based standards] (erfcl): Likewise.
29951 [non-C99-based standards] (gammal): Likewise.
29952 [non-C99-based standards] (hypotl): Likewise.
29953 [non-C99-based standards] (j0l): Likewise.
29954 [non-C99-based standards] (j1l): Likewise.
29955 [non-C99-based standards] (jnl): Likewise.
29956 [non-C99-based standards] (lgammal): Likewise.
29957 [non-C99-based standards] (tgammal): Likewise.
29958 [non-C99-based standards] (y0l): Likewise.
29959 [non-C99-based standards] (y1l): Likewise.
29960 [non-C99-based standards] (ynl): Likewise.
29961 [non-C99-based standards] (isnanl): Likewise.
29962 [non-C99-based standards] (acoshl): Likewise.
29963 [non-C99-based standards] (asinhl): Likewise.
29964 [non-C99-based standards] (atanhl): Likewise.
29965 [non-C99-based standards] (cbrtl): Likewise.
29966 [non-C99-based standards] (expm1l): Likewise.
29967 [non-C99-based standards] (ilogbl): Likewise.
29968 [non-C99-based standards] (log1pl): Likewise.
29969 [non-C99-based standards] (logbl): Likewise.
29970 [non-C99-based standards] (nextafterl): Likewise.
29971 [non-C99-based standards] (remainderl): Likewise.
29972 [non-C99-based standards] (rintl): Likewise.
29973 [non-C99-based standards] (scalbl): Likewise.
29974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29975 [non-C99-based standards] (FP_*): Do not allow.
29976 [C99-based standards] (FP_*): Change to
29977 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29978 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29980 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29981 (SIG_ERR): Likewise.
29982 [X/Open-based standards] (SIG_HOLD): Likewise.
29983 (SIG_IGN): Likewise.
29984 (SIGABRT): Use macro-int-constant. Specify type. Require
29986 (SIGFPE): Likewise.
29987 (SIGILL): Likewise.
29988 (SIGINT): Likewise.
29989 (SIGSEGV): Likewise.
29990 (SIGTER): Likewise.
29991 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29992 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29993 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29994 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29995 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29996 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29997 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29998 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29999 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30000 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30001 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30002 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30003 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30004 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30005 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30006 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30007 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30008 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30009 [X/Open-based standards] (SIGTRAP): Likewise.
30010 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30011 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30012 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30013 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30014 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30017 2012-05-08 Ian Wienand <ianw@vmware.com>
30020 * time/tzset.c (__tzset_parse_tz): Update default rules for
30021 daylight time changes in the Energy Policy Act of 2005.
30023 2012-05-09 Andreas Jaeger <aj@suse.de>
30026 * elf/ldconfig.c (parse_conf): Change string to make clear that
30027 ldconfig only issued a warning if ld.so.conf does not exist.
30029 2012-05-08 David S. Miller <davem@davemloft.net>
30031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30032 movxtod instead of popping the value on the stack.
30034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30036 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30038 * config.h.in: Add HAVE_ARM_PCS_VFP.
30040 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30043 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30044 checking but the checks are disabled for any reason.
30046 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30048 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30049 and ELF64_R_TYPE with ELFW(R_TYPE).
30051 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30053 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30054 (ulimit): Likewise.
30056 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30057 (settimeofday): Likewise.
30059 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30061 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30062 a struct th_u2 inside the union, and move tu_block/tu_code into
30063 a new th_u3 union of tu_block/tu_code inside of that. Move
30064 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30065 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30066 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30067 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30068 (th_stuff): Change to th_u1.tu_stuff.
30070 (th_msg): Change to th_u1.th_u2.tu_data.
30072 2012-05-07 David S. Miller <davem@davemloft.net>
30074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30077 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30078 (SETUP_PIC_REG): Use it.
30079 (SETUP_PIC_REG_LEAF): Use it.
30081 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30085 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30087 (EXPL_FINITE): Likewise.
30088 (FLDLOG): Likewise.
30089 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30090 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30092 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30094 (EXPL_FINITE): Likewise.
30095 (FLDLOG): Likewise.
30096 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30097 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30099 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30100 test of -max_value argument for long double.
30101 * sysdeps/i386/fpu/libm-test-ulps: Update.
30102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30104 2012-05-06 David S. Miller <davem@davemloft.net>
30106 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30107 quad soft-float symbols whose references which are compiler
30109 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30111 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30115 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30117 (EXPL_FINITE): Likewise.
30118 (FLDLOG): Likewise.
30121 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30122 Adjust comments for base varying.
30123 (__expl_finite): Change alias to EXPL_FINITE.
30124 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30126 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30127 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30128 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30129 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30132 (EXPL_FINITE): Likewise.
30133 (FLDLOG): Likewise.
30136 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30137 Adjust comments for base varying.
30138 (__expl_finite): Change alias to EXPL_FINITE.
30139 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30144 * math/libm-test.inc (check_float_internal): Correct ulp
30145 calculation for subnormal expected results.
30147 2012-05-06 Andreas Jaeger <aj@suse.de>
30149 * Makeconfig (+math-flags): New, set to -frounding-math.
30150 (+cflags): Add +math-flags so that all of glibc gets compiled with
30153 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30155 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30157 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30163 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30164 (__ieee754_expl): Allow for and saturate large arguments.
30165 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30166 (u_threshold): Likewise.
30167 (__exp): Call __ieee754_exp before checking for overflow and
30169 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30170 (u_threshold): Likewise.
30171 (__expf): Call __ieee754_expf before checking for overflow and
30173 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30174 (u_threshold): Likewise.
30175 (__expl): Call __ieee754_expl before checking for overflow and
30177 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30178 (__ieee754_expl): Allow for and saturate large arguments.
30179 * math/libm-test.inc (exp_test): Add another test. Do not allow
30180 missing overflow exception on overflow.
30181 (expm1_test): Do not allow missing overflow exception on overflow.
30183 * sysdeps/i386/fpu/e_expl.c: Move to ...
30184 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30185 rather than using inline asm.
30186 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30187 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30188 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30190 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30193 (signal): Likewise.
30197 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30199 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30200 sysdeps/unix/common/syscalls.list.
30201 (fchmod): Likewise.
30202 (fchown): Likewise.
30203 (ftruncate): Likewise.
30204 (getrusage): Likewise.
30205 (gettimeofday): Likewise.
30206 (setpgid): Likewise.
30207 (setregid): Likewise.
30208 (setreuid): Likewise.
30209 (sigaction): Likewise.
30210 (truncate): Likewise.
30211 (vhangup): Likewise.
30212 * sysdeps/unix/common/syscalls.list: Remove file.
30213 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30214 * sysdeps/unix/sysv/linux/Implies: Likewise.
30216 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30218 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30220 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30224 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30227 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30230 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30233 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30236 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30239 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30242 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30246 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30250 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30253 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30257 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30261 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30263 * sysdeps/unix/common/bits/dirent.h: Remove file.
30264 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30266 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30267 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30268 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30269 * sysdeps/unix/bsd/isatty.c: Likewise.
30270 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30271 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30272 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30274 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30277 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30278 long double comparison inaccuracies.
30279 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30282 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30284 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30285 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30287 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30290 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30291 nonzero digits before rounding a hex value.
30292 * stdlib/tst-strtod.c (tests): Add another test.
30294 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30296 * sysdeps/s390/fpu/libm-test-ulps: Update.
30298 2012-05-03 Andreas Jaeger <aj@suse.de>
30300 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30301 does not get optimized out.
30302 (malloc_opt_barrier): New.
30304 2012-05-03 Andreas Jaeger <aj@suse.de>
30305 Roland McGrath <roland@hack.frob.com>
30307 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30308 intermediate file deletion.
30309 (generated): Add .symlist files.
30311 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30314 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30315 Redirect under this condition.
30316 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30317 [__USE_GNU] (__dprintf_chk): Not under this condition.
30318 [__USE_GNU] (__vdprintf_chk): Likewise.
30319 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30320 under this condition.
30321 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30322 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30323 [__USE_XOPEN2K8] (vdprintf): Likewise.
30324 [__USE_GNU] (__dprintf_chk): Not under this condition.
30325 [__USE_GNU] (__vdprintf_chk): Likewise.
30326 [__USE_GNU] (dprintf): Likewise.
30327 [__USE_GNU] (vdprintf): Likewise.
30329 2012-05-03 Roland McGrath <roland@hack.frob.com>
30331 * elf/Makefile (common-generated): Set this instead of generated for
30332 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30333 $(all-built-dso)-derived lists.
30335 2012-05-03 Andreas Jaeger <aj@suse.de>
30337 * sysdeps/i386/fpu/libm-test-ulps: Update.
30340 * FAQ.in: Likewise.
30341 * scripts/gen-FAQ.pl: Likewise.
30342 * manual/install.texi (Installation): Point to online location of
30344 * Makefile (files-for-dist): Remove FAQ.
30347 2012-05-02 Allan McRae <allan@archlinux.org>
30349 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30350 (LDFLAGS-reldepmod5.so): Likewise.
30351 (LDFLAGS-reldep6mod1.so): Likewise.
30352 (LDFLAGS-reldep6mod4.so): Likewise.
30353 (LDFLAGS-reldep8mod3.so): Likewise.
30354 (LDFLAGS-unload4mod1.so): Likewise.
30355 (LDFLAGS-unload4mod2.so): Likewise.
30356 (LDFLAGS-tst-initorder): Likewise.
30357 (LDFLAGS-tst-initordera2.so): Likewise.
30358 (LDFLAGS-tst-initordera3.so): Likewise.
30359 (LDFLAGS-tst-initordera4.so): Likewise.
30360 (LDFLAGS-tst-initorderb2.so): Likewise.
30361 (LDFLAGS-noload): Likewise.
30362 (LDFLAGS-next): Likewise.
30363 (LDFLAGS-order2mod1.so): Likewise.
30364 (LDFLAGS-order2mod2.so): Likewise.
30365 (LDFLAGS-tst-initorder2): Likewise.
30366 (LDFLAGS-tst-initorder2a.so): Likewise.
30367 (LDFLAGS-tst-initorder2b.so): Likewise.
30368 (LDFLAGS-tst-initorder2c.so): Likewise.
30369 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30371 2012-05-02 David S. Miller <davem@davemloft.net>
30373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30375 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30378 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30380 2012-05-02 Andreas Jaeger <aj@suse.de>
30382 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30383 since we manipulate rounding mode.
30384 (CPPFLAGS-test-idouble.c): Likewise.
30385 (CPPFLAGS-test-ifloat.c): Likewise.
30386 (CFLAGS-test-ldouble.c): Likewise.
30387 (CFLAGS-test-double.c): Likewise.
30388 (CFLAGS-test-float.c): Likewise.
30389 (CFLAGS-test-misc.c): Likewise.
30390 (CFLAGS-test-test-fenv.c): Likewise.
30392 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30396 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30397 comparisons to determine direction to adjust input.
30399 2012-05-01 Roland McGrath <roland@hack.frob.com>
30401 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30402 output to the target.
30404 * scripts/localplt.awk: New file.
30405 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30406 (check-localplt-CFLAGS): Variable removed.
30407 ($(all-built-dso:=.jmprel)): New static pattern rule.
30408 (generated): Add those targets.
30409 (localplt-built-dso): New variable.
30410 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30412 * elf/check-localplt.c: File removed.
30414 * scripts/check-execstack.awk: New file.
30415 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30416 (check-execstack-CFLAGS): Variable removed.
30417 ($(objpfx)check-execstack.h): Target removed.
30418 ($(objpfx)execstack-default): New target.
30419 (generated): Add that instead of check-execstack.h.
30420 ($(all-built-dso:=.phdr)): New static pattern rule.
30421 (generated): Add those targets.
30422 * elf/check-execstack.c: File removed.
30424 * scripts/check-textrel.awk: New file.
30425 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30426 (check-textrel-CFLAGS): Variable removed.
30427 (all-built-dso): Use := to define.o
30428 ($(all-built-dso:=.dyn)): New static pattern rule.
30429 (generated): Add those targets.
30430 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30431 * config.make.in (READELF): New substituted variable.
30432 * elf/check-textrel.c: File removed.
30434 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30436 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30438 * conform/data/ctype.h-data [C99-based standards] (isblank):
30440 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30441 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30443 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30444 Specify type. Require positive value.
30445 (EILSEQ): Likewise.
30446 (ERANGE): Likewise.
30447 [ISO || POSIX] (EILSEQ): Do not expect.
30448 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30449 Specify type. Require positive value.
30450 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30461 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30462 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30463 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30464 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30465 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30466 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30467 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30468 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30469 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30470 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30471 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30472 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30473 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30474 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30475 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30476 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30477 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30478 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30479 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30480 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30481 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30482 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30483 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30484 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30485 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30486 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30487 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30488 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30489 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30490 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30491 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30492 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30493 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30494 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30495 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30496 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30497 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30498 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30499 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30500 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30501 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30502 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30503 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30504 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30505 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30506 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30507 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30508 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30509 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30510 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30511 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30512 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30513 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30514 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30515 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30516 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30517 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30518 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30519 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30520 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30521 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30522 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30523 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30524 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30525 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30526 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30528 (FLT_ROUNDS): Expect as macro, not constant.
30529 (FLT_MANT_DIG): Use macro-int-constant.
30530 (DBL_MANT_DIG): Likewise.
30531 (LDBL_MANT_DIG): Likewise.
30532 (FLT_DIG): Likewise.
30533 (DBL_DIG): Likewise.
30534 (LDBL_DIG): Likewise.
30535 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30536 (DBL_MIN_EXP): Likewise.
30537 (LDBL_MIN_EXP): Likewise.
30538 (FLT_MAX_EXP): Use macro-int-constant.
30539 (DBL_MAX_EXP): Likewise.
30540 (LDBL_MAX_EXP): Likewise.
30541 (FLT_MAX_10_EXP): Likewise.
30542 (DBL_MAX_10_EXP): Likewise.
30543 (LDBL_MAX_10_EXP): Likewise.
30544 (FLT_MAX): Use macro-constant.
30545 (DBL_MAX): Likewise.
30546 (LDBL_MAX): Likewise.
30547 (FLT_EPSILON): Use macro-constant. Give upper bound.
30548 (DBL_EPSILON): Likewise.
30549 (LDBL_EPSILON): Likewise.
30550 (FLT_MIN): Likewise.
30551 (DBL_MIN): Likewise.
30552 (LDBL_MIN): Likewise.
30553 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30554 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30555 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30556 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30557 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30558 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30559 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30560 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30561 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30562 [ISO11] (FLT_TRUE_MIN): Likewise.
30563 [ISO11] (LDBL_TRUE_MIN): Likewise.
30564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30565 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30566 (SCHAR_MIN): Use macro-int-constant. Specify type.
30567 (SCHAR_MAX): Likewise.
30568 (UCHAR_MAX): Likewise.
30569 (CHAR_MIN): Likewise.
30570 (CHAR_MAX): Likewise.
30571 (MB_LEN_MAX): Use macro-int-constant.
30572 (SHRT_MIN): Use macro-int-constant. Specify type.
30573 (SHRT_MAX): Likewise.
30574 (USHRT_MAX): Likewise.
30575 (INT_MAX): Likewise.
30576 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30578 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30580 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30582 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30583 bound negative. Suffix upper bound with "L".
30584 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30586 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30588 [C99-based standards] (LLONG_MAX): Likewise.
30589 [C99-based standards] (ULLONG_MAX): Likewise.
30590 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30592 [ISO11] (max_align_t): Require type.
30593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30595 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30596 from $CFLAGS, without defining away __attribute__ calls.
30597 (checknamespace): Use $CFLAGS_namespace.
30599 * conform/conformtest.pl (@keywords): Only include C99 keywords
30600 for standards based on C99 or C11.
30602 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30604 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30607 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30608 usability of symbols in #if.
30610 * conform/conformtest.pl: If macro or constant types start
30611 "promoted:", expect the symbol to be of the following type
30612 promoted by the integer promotions.
30614 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30615 in one place. Also handle "macro-constant".
30617 * conform/conformtest.pl: Only accept expected macro values with
30618 "==". Parse all "macro" lines in one place.
30619 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30621 * conform/conformtest.pl: Handle braced types on "constant" lines
30622 instead of handling "typed-constant".
30623 * conform/data/signal.h-data: Use "constant" instead of
30626 * conform/conformtest.pl: Handle "optional-" at start of lines in
30627 one place rather than duplicating several cases. Handle each
30628 format of "macro" line with initial "optional-".
30630 * conform/conformtest.pl: Only accept expected constant or
30631 optional-constant values with "==". Parse all "constant" lines in
30632 one place. Parse all "optional-constant" lines in one place.
30633 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30634 * conform/data/fmtmsg.h-data: Likewise.
30635 * conform/data/netinet/in.h-data: Likewise.
30636 * conform/data/tar.h-data: Likewise.
30637 * conform/data/limits.h-data: Use "==" form on "constant" and
30638 "optional-constant" lines.
30640 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30641 Use -std=c99 for XOPEN2K.
30642 (@knownproblems): Remove.
30643 (newtoken): Don't check %isknown.
30645 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30646 Do not expect macro.
30647 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30659 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30660 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30677 [XPG3] (acosh): Likewise.
30678 [XPG3] (asinh): Likewise.
30679 [XPG3] (atanh): Likewise.
30680 [XPG3] (cbrt): Likewise.
30681 [XPG3] (expm1): Likewise.
30682 [XPG3] (ilogb): Likewise.
30683 [XPG3] (log1p): Likewise.
30684 [XPG3] (logb): Likewise.
30685 [XPG3] (nextafter): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30688 [XPG3] (remainder): Likewise.
30689 [XPG3] (rint): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30697 [UNIX98 || XOPEN2K] (scalb): Expect.
30698 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30699 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30836 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30837 _XOPEN_SOURCE_EXTENDED for XPG4.
30839 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30841 * Makeconfig (localtime): Remove variable.
30842 (inst_localtime-file): Likewise.
30844 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30865 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30869 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30870 comparisons to determine direction to adjust input.
30871 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30872 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30873 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30875 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30882 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30884 * math/libm-test.inc (nexttoward_test): Add more tests.
30886 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30889 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30890 in version GLIBC_2.1, not GLIBC_2.0.
30891 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30894 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30897 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30899 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30900 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30901 * math/libm-test.inc (acos_test): Add more tests.
30902 (asin_test): Likewise.
30903 * sysdeps/i386/fpu/libm-test-ulps: Update.
30904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30907 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30909 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30910 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30911 * math/libm-test.inc (acos_test_tonearest): New function.
30912 (acos_test_towardzero): Likewise.
30913 (acos_test_downward): Likewise.
30914 (acos_test_upward): Likewise.
30915 (asin_test_tonearest): Likewise.
30916 (asin_test_towardzero): Likewise.
30917 (asin_test_downward): Likewise.
30918 (asin_test_upward): Likewise.
30919 (main): Call the new functions.
30920 * sysdeps/i386/fpu/libm-test-ulps: Update.
30921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30925 * math/e_exp10.c: Include <float.h>.
30926 (__ieee754_exp10): Handle underflow here rather than multiplying
30927 large negative argument by M_LN10.
30928 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30930 * math/e_exp10l.c: Include <float.h>.
30931 (__ieee754_exp10l): Handle underflow here rather than multiplying
30932 large negative argument by M_LN10l.
30933 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30934 spurious overflow exception on underflow.
30936 2012-04-29 Marek Polacek <polacek@redhat.com>
30938 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30939 (__fortify_function): New macro.
30940 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30941 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30942 __extern_always_inline.
30943 * libio/bits/stdio2.h: Likewise.
30944 * libio/bits/stdio.h: Likewise.
30945 * string/string.h: Likewise.
30946 * string/bits/string3.h: Likewise.
30947 * include/stdio.h: Likewise.
30948 * stdlib/bits/stdlib.h: Likewise.
30949 * stdlib/stdlib.h: Likewise.
30950 * rt/bits/mqueue2.h: Likewise.
30951 * rt/mqueue.h: Likewise.
30952 * posix/bits/unistd.h: Likewise.
30953 * posix/unistd.h: Likewise.
30954 * io/bits/poll2.h: Likewise.
30955 * io/bits/fcntl2.h: Likewise.
30956 * io/fcntl.h: Likewise.
30957 * io/sys/poll.h: Likewise.
30958 * misc/bits/syslog.h: Likewise.
30959 * misc/bits/syslog-ldbl.h: Likewise.
30960 * misc/sys/syslog.h: Likewise.
30961 * socket/bits/socket2.h: Likewise.
30962 * socket/sys/socket.h: Likewise.
30963 * debug/tst-chk1.c: Likewise.
30964 * wcsmbs/bits/wchar2.h: Likewise.
30965 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30966 * wcsmbs/wchar.h: Likewise.
30968 2012-04-29 Andreas Jaeger <aj@suse.de>
30970 * Makerules (tests): Remove enable-check-abi protection.
30971 (check-abi-warn): Remove.
30972 (check-abi-%): Remove check-abi-warn usage.
30974 * configure.in: Remove check-abi configure option.
30975 * configure: Regenerated.
30976 * config.make.in (enable-check-abi): Remove.
30978 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30981 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30982 double functions to double *_finite functions.
30985 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30986 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30988 * stdio-common/Makefile (tests): Add tst-sprintf3.
30989 * stdio-common/tst-sprintf3.c: New file.
30991 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30992 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30994 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30996 * conform/conformtest.pl: Remove duplicate typed-constant
30999 2012-04-28 David S. Miller <davem@davemloft.net>
31001 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31002 (check-abi-%): Remove AWK script prerequisite and explicit
31004 (check-abi): Rewrite to just diff the symlist with the abilist.
31005 (config-tls, config-abi-config): Delete, no longer used.
31006 (update-abi-%): Remove AWK script and explicit abilist directory.
31007 (update-abi): Rewrite to simply compare and conditionally copy the
31008 symlist and the sysdep abilist file. Remove update-abi-config
31010 * abilist/ld.abilist: Remove.
31011 * abilist/libBrokenLocale.abilist: Remove.
31012 * abilist/libanl.abilist: Remove.
31013 * abilist/libcrypt.abilist: Remove.
31014 * abilist/libdl.abilist: Remove.
31015 * abilist/librt.abilist: Remove.
31016 * abilist/libthread_db.abilist: Remove.
31017 * abilist/libutil.abilist: Remove.
31018 * scripts/extract-abilist.awk: Remove.
31019 * scripts/merge-abilist.awk: Remove.
31020 * sysdeps/generic/libcidn.abilist: New file.
31021 * sysdeps/generic/libnss_compat.abilist: New file.
31022 * sysdeps/generic/libnss_db.abilist: New file.
31023 * sysdeps/generic/libnss_dns.abilist: New file.
31024 * sysdeps/generic/libnss_files.abilist: New file.
31025 * sysdeps/generic/libnss_hesiod.abilist: New file.
31026 * sysdeps/generic/libnss_nis.abilist: New file.
31027 * sysdeps/generic/libnss_nisplus.abilist: New file.
31028 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31029 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31030 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31033 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31034 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31035 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31036 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31037 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31038 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31039 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31040 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31042 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31043 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31044 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31045 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31047 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31048 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31049 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31050 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31051 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31052 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31054 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31055 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31056 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31058 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31161 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31162 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31163 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31166 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31167 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31168 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31169 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31170 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31171 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31172 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31173 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31174 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31226 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31228 * conform/conformtest.pl: Fix typo in handling typed-constant from
31231 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31233 * README: Cut down references to pre-2.6 Linux kernels and
31234 Linuxthreads. Update lists of configurations in libc and ports
31235 and sort alphabetically. Say "or newer" with Linux kernel version
31238 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31240 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31243 * math/libm-test.inc (logb_test_downward): New test to expose
31244 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31247 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31250 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31252 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31253 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31255 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31257 * sysdeps/unix/i386/brk.S: Remove file.
31258 * sysdeps/unix/i386/dl-brk.S: Likewise.
31259 * sysdeps/unix/i386/pipe.S: Likewise.
31260 * sysdeps/unix/i386/sigreturn.S: Likewise.
31261 * sysdeps/unix/i386/syscall.S: Likewise.
31262 * sysdeps/unix/i386/vfork.S: Likewise.
31263 * sysdeps/unix/i386/wait.S: Likewise.
31265 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31266 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31268 * configure.in (arm*-none*): Do not allow without
31269 --enable-hacker-mode.
31270 (netbsd*): Remove case setting base_os.
31271 (386bsd*): Likewise.
31272 (freebsd*): Likewise.
31275 (sunos*): Likewise.
31276 (ultrix*): Likewise.
31277 (newsos*): Likewise.
31278 (dynix*): Likewise.
31284 (minix*): Likewise.
31285 (irix4*): Likewise.
31286 (irix6*): Likewise.
31287 (solaris[2-9]*): Likewise.
31289 * configure: Regenerated.
31291 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31295 overflow or cancellation in calculating denominator.
31296 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31298 down expression to avoid unexpected rounding in newer GCCs.
31299 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31301 2012-04-26 David S. Miller <davem@davemloft.net>
31303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31304 long-double compat symbols.
31305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31319 2012-04-25 David S. Miller <davem@davemloft.net>
31321 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31322 HWCAP_* values only after the memory barriers have been defined.
31323 (atomic_full_barrier): Define.
31324 (atomic_read_barrier): Define.
31325 (atomic_write_barrier): Define.
31327 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31329 * shlib-versions: Add libgcc_s version information.
31330 * sysdeps/generic/libgcc_s.h: Remove.
31331 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31333 * sysdeps/gnu/unwind-resume.c: Likewise.
31334 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31336 2012-04-25 David S. Miller <davem@davemloft.net>
31338 * sysdeps/unix/sparc/brk.S: Delete.
31339 * sysdeps/unix/sparc/dl-brk.S: Delete.
31340 * sysdeps/unix/sparc/pipe.S: Delete.
31341 * sysdeps/unix/sparc/sysdep.S: Delete.
31342 * sysdeps/unix/sparc/sysdep.h: Delete.
31343 * sysdeps/unix/sparc/vfork.S: Delete.
31344 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31345 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31346 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31347 ret_ERRVAL, r0, r1, MOVE): Define.
31348 (JUMPTARGET): Remove.
31349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31350 sysdeps/unix/sparc/sysdep.h
31351 (ENTRY, END): Remove.
31352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31354 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31356 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31357 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31360 * timezone/README: Update upstream location and email address for
31362 * timezone/zdump.c: Update from tzcode 2012b.
31363 * timezone/zic.c: Likewise.
31365 * configure.in (libc_cv_as_needed): Remove test.
31366 * configure: Regenerated.
31367 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31368 conditional definition.
31369 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31370 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31371 * config.make.in (have-as-needed): Remove variable.
31373 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31374 Paul Pluzhnikov <ppluzhnikov@google.com>
31376 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31379 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31381 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31382 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31383 * sysdeps/sh/strlen.S: Likewise.
31385 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31387 * sysdeps/unix/fork.S: Remove file.
31388 * sysdeps/unix/i386/fork.S: Likewise.
31389 * sysdeps/unix/sparc/fork.S: Likewise.
31391 * sysdeps/unix/system.c: Remove file.
31392 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31394 * sysdeps/unix/getegid.S: Remove file.
31395 * sysdeps/unix/geteuid.S: Likewise.
31397 2012-04-24 Roland McGrath <roland@hack.frob.com>
31399 * scripts/check-localplt.awk: New file.
31400 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31402 * scripts/data/localplt-generic.data: Add a comment.
31404 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31405 NODE when __dir_mkfile failed.
31406 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31407 Reported by Ludovic Courtès <ludo@gnu.org>.
31409 2012-04-24 Andreas Jaeger <aj@suse.de>
31411 * Makerules (common-clean): Also remove gen-as-const-headers
31414 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31416 * Makerules (native-compile): Do not change working directory for
31417 build. Use $(OUTPUT_OPTION) in command.
31418 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31420 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31423 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31424 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31425 * math/libm-test.inc (floor_test): Add more tests.
31426 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31428 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31430 * sysdeps/unix/getdents.c: Remove file.
31431 * sysdeps/unix/sysv/getdents.c: Likewise.
31432 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31434 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31435 sysdeps/unix/mman/syscalls.list.
31437 (mprotect): Likewise.
31439 (munmap): Likewise.
31440 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31441 * sysdeps/unix/mman/syscalls.list: Remove.
31442 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31444 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31445 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31446 * configure: Regenerated.
31447 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31448 $(libgcc_s_suffix).
31449 * config.make.in (libgcc_s_suffix): Remove variable.
31451 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31453 * sysdeps/unix/sysv/gethostname.c: Move to ...
31454 * sysdeps/posix/gethostname.c: ... here.
31456 * sysdeps/unix/execve.S: Remove file.
31458 * sysdeps/unix/_exit.S: Remove file.
31460 2012-04-23 Andreas Jaeger <aj@suse.de>
31463 * manual/Makefile: Remove make dist support, there's no
31464 need for a stand-alone documentation tar ball.
31465 (TEXI2DVI): Define always, it's not in Makeconfig.
31468 (edition): Removed.
31469 (glibc-doc-$(edition).tar): Removed
31473 (ETAGS): Remove, it's in Makeconfig.
31474 (move-if-change): Remove, it's in Makeconfig.
31476 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31479 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31480 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31481 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31482 (strtod_l, strtof_l, strtold_l): Remove __wur.
31483 It is not necessarily an error to ignore strtol's return value.
31484 One can reliably look at the stored endptr to decide whether
31485 the number had valid syntax.
31487 2012-04-21 Andreas Jaeger <aj@suse.de>
31490 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31492 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31494 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31495 * sysdeps/unix/sysv/Versions: Remove file.
31497 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31502 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31505 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31506 version from __vm86.
31508 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31510 * sysdeps/unix/common/lxstat.c: Remove file.
31511 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31513 * sysdeps/unix/sysv/Makefile: Remove file.
31515 * sysdeps/unix/sysv/direct.h: Remove file.
31517 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31518 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31519 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31520 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31521 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31522 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31523 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31525 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31527 * sysdeps/unix/xmknod.c: Remove file.
31528 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31530 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31532 * sysdeps/unix/sysv/i386/time.S: Remove file.
31534 * sysdeps/unix/fxstat.c: Remove file.
31535 * sysdeps/unix/xstat.c: Likewise.
31536 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31538 * sysdeps/unix/sysv/sigaction.c: Remove file.
31540 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31541 (sysdep_headers): Remove variable.
31542 [termio.h not in sysdep_headers] (generated): Likewise.
31543 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31544 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31545 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31546 * sysdeps/unix/sysv/tcflow.c: Likewise.
31547 * sysdeps/unix/sysv/tcflush.c: Likewise.
31548 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31549 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31550 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31551 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31552 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31554 * sysdeps/unix/siglist.c: Remove file.
31556 * sysdeps/unix/getppid.S: Remove file.
31558 * sysdeps/unix/mkdir.c: Remove file.
31559 * sysdeps/unix/rmdir.c: Likewise.
31561 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31563 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31565 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31566 errlist-compat value.
31568 2012-04-18 David S. Miller <davem@davemloft.net>
31570 * sysdeps/generic/memcopy.h (reg_char): Delete.
31571 * debug/strcat_chk.c: Use char, not reg_char.
31572 * debug/strcpy_chk.c: Likewise.
31573 * debug/strncat_chk.c: Likewise.
31574 * debug/strncpy_chk.c: Likewise.
31575 * string/memchr.c: Likewise.
31576 * string/memrchr.c: Likewise.
31577 * string/rawmemchr.c: Likewise.
31578 * string/strcat.c: Likewise.
31579 * string/strchr.c: Likewise.
31580 * string/strchrnul.c: Likewise.
31581 * string/strcmp.c: Likewise.
31582 * string/strcpy.c: Likewise.
31583 * string/strncat.c: Likewise.
31584 * string/strncmp.c: Likewise.
31585 * string/strncpy.c: Likewise.
31587 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31589 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31590 __builtin_memcopy is called when src and dest ranges are known to not
31593 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31595 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31596 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31597 fwd_align_merge macro call.
31598 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31599 bwd_align_merge macro call.
31600 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31602 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31604 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31605 bwd_align_merge macros.
31606 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31607 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31608 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31610 2012-04-18 David S. Miller <davem@davemloft.net>
31612 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31614 2012-04-18 Andreas Jaeger <aj@suse.de>
31617 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31618 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31619 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31621 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31622 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31623 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31625 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31626 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31627 Adjust for changed ldbl-128 files.
31629 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31630 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31631 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31633 2012-04-17 David S. Miller <davem@davemloft.net>
31635 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31637 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31639 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31640 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31641 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31642 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31643 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31644 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31646 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31649 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31650 * math/libm-test.inc: Add ilogb errno and exception tests.
31651 * math/w_ilogb.c: New file: ilogb wrapper.
31652 * math/w_ilogbf.c: New file: ilogbf wrapper.
31653 * math/w_ilogbl.c: New file: ilogbl wrapper.
31654 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31655 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31656 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31657 exception being thrown with 0.0 as argument.
31658 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31659 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31660 exception being thrown with 0.0 as argument.
31661 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31662 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31663 exception being thrown with 0.0 as argument.
31664 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31665 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31666 exception being thrown with 0.0 as argument.
31667 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31668 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31669 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31670 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31671 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31672 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31673 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31674 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31675 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31677 2012-04-17 Petr Baudis <pasky@ucw.cz>
31679 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31682 2012-04-16 Marek Polacek <polacek@redhat.com>
31684 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31686 2012-04-16 Marek Polacek <polacek@redhat.com>
31688 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31689 operands of fdivp instruction.
31691 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31693 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31694 * elf/tst-auditmod3b.c: Likewise.
31695 * elf/tst-auditmod4b.c: Likewise.
31696 * elf/tst-auditmod5b.c: Likewise.
31697 * elf/tst-auditmod6b.c: Likewise.
31698 * elf/tst-auditmod6c.c: Likewise.
31699 * elf/tst-auditmod7b.c: Likewise.
31700 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31701 * sysdeps/x86_64/preconfigure.in: Likewise.
31702 * sysdeps/x86_64/preconfigure: Regenerated.
31704 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31706 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31709 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31712 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31714 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31717 * locale/iso-639.def: Fix gl language name. Spotted by
31720 2012-04-12 Roland McGrath <roland@hack.frob.com>
31723 * libio/libio.h (__io_write_fn): Update comment.
31725 2012-04-12 Petr Baudis <pasky@ucw.cz>
31728 * stdio.texi (Hook Functions): The user provided writer function
31729 is not allowed to return -1.
31731 2012-04-11 David S. Miller <davem@davemloft.net>
31733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31735 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31737 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31738 Add a leading slash to rtkaio.
31740 2012-04-11 Jim Meyering <meyering@redhat.com>
31743 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31744 It is not necessarily an error to ignore fwrite's return
31745 value. One can reliably use ferror to test for errors after
31748 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31750 * bits/types.h (__snseconds_t): New type.
31751 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31753 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31755 (__SNSECONDS_T_TYPE): Likewise.
31756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31757 (__SNSECONDS_T_TYPE): Likewise.
31758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31759 (__SNSECONDS_T_TYPE): Likewise.
31761 2012-04-10 Andreas Jaeger <aj@suse.de>
31764 * manual/time.texi (Processor Time): Return type of times is
31765 elapsed real time since an arbitrary point in the past.
31766 (CPU Time): Move CLK_TCK from here...
31767 (Processor Time): ...to here. Correct description.
31768 * manual/conf.texi (Constants for Sysconf): Correct description of
31771 2012-04-10 David S. Miller <davem@davemloft.net>
31774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31775 where the is a gap between DT_REL(A) and DT_JMPREL.
31777 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31779 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31780 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31781 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31783 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31785 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31786 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31787 (dl_main): Handle --inhibit-cache.
31788 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31790 * elf/dl-load.c (_dl_map_object): Use it.
31791 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31793 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31796 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31797 (__ieee754_powl): Saturate large exponents rather than testing for
31798 overflow of y*log2(x).
31799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31800 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31804 * math/s_ctan.c: Include <float.h>.
31805 (__ctan): Avoid internal overflow or cancellation in calculating
31807 * math/s_ctanf.c: Likewise.
31808 * math/s_ctanl.c: Likewise.
31809 * math/s_ctanh.c: Likewise.
31810 * math/s_ctanhf.c: Likewise.
31811 * math/s_ctanhl.c: Likewise.
31812 * math/libm-test.inc (ctan_test): Add more tests.
31813 (ctanh_test): Likewise.
31814 * sysdeps/i386/fpu/libm-test-ulps: Update.
31815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31817 2012-04-09 Andreas Jaeger <aj@suse.de>
31820 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31821 is an optional BSD extension.
31824 * manual/stdio.texi (Opening Streams): Document additional fopen
31827 2012-04-09 Roland McGrath <roland@hack.frob.com>
31829 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31830 %eax without telling the compiler.
31832 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31835 * manual/install.texi: Use sourceware.org.
31837 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31840 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31841 (__ieee754_pow): Generate overflow and underflow using huge*huge
31842 and tiny*tiny rather than just returning constant infinity or zero
31843 for large exponents.
31844 * math/libm-test.inc (pow_test): Require overflow exceptions for
31845 applicable cases of large exponents.
31848 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31849 (__ieee754_pow): Use iterative multiplication algorithm only for
31850 integer exponents with absolute value below 1024. Check for odd
31851 integer exponents when using algorithm for real exponents.
31852 * math/libm-test.inc (pow_test): Add more tests.
31853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31855 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31858 * math/libm-test.inc (exp_test): Do not allow overflow exception
31861 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31864 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31865 instead of __kernel_standard_f.
31867 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31869 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31870 * sysdeps/x86_64/memset_chk.S: Likewise.
31872 2012-04-08 Andreas Jaeger <aj@suse.de>
31875 * manual/startup.texi (Environment Access): Describe return value
31876 for putenv and setenv.
31879 * manual/filesys.texi (Directory Entries): Add description for
31883 * manual/filesys.texi (Directory Entries): Clarify that it's file
31884 system not operating system in the description of DT_UNKNOWN.
31887 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31889 2012-04-08 Stephen Compall <s11@member.fsf.org>
31892 * manual/llio.texi (Opening and Closing Files): Add cross
31893 reference to explain mode argument.
31895 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31897 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31898 * sysdeps/x86_64/memset_chk.S: Likewise.
31900 2012-04-07 David S. Miller <davem@davemloft.net>
31902 * elf/elf.h (R_SPARC_WDISP10): Define.
31903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31906 R_SPARC_SIZE64 and R_SPARC_H34.
31908 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31910 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31911 conditions and remove no longer applicable assertion.
31913 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31915 * bits/byteswap.h: Include <features.h>.
31916 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31917 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31919 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31921 * bits/byteswap.h (__bswap_16): Removed.
31922 Include <bits/byteswap-16.h> to get __bswap_16.
31923 * sysdeps/i386/bits/byteswap.h: Likewise.
31924 * sysdeps/s390/bits/byteswap.h: Likewise.
31925 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31926 * bits/byteswap-16.h: New file.
31927 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31928 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31929 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31930 * string/Makefile (headers): Add bits/byteswap-16.h.
31932 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31935 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31937 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31938 * nss/tst-nss-static.c: New.
31940 2012-04-06 Robert Millan <rmh@gnu.org>
31943 * manual/llio.texi (File Position Primitive): lseek
31944 refers to WHENCE when it really means OFFSET.
31946 2012-04-06 Andreas Jaeger <aj@suse.de>
31948 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31949 strncmp declarations.
31951 * abilist/libc.abilist: Add __poll and __ppoll.
31953 2012-04-05 David S. Miller <davem@davemloft.net>
31955 * scripts/check-local-headers.sh: Accept a host triplet in the
31956 path matched by the exclude regexp.
31958 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31960 * sysdeps/powerpc/powerpc32/dl-machine.h
31961 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31962 * sysdeps/s390/s390-32/dl-machine.h
31963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31964 * sysdeps/sparc/sparc32/dl-machine.h
31965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31966 * sysdeps/sparc/sparc64/dl-machine.h
31967 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31969 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31971 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31972 undefined symbol errors.
31974 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31977 2012-04-05 Michael Matz <matz@suse.de>
31980 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31982 2012-04-05 Andreas Jaeger <aj@suse.de>
31985 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31988 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31990 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31991 which ROUND is no valid rounding mode.
31993 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31995 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31997 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31999 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32001 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32002 an exception using FPU order intentionally.
32004 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32006 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32007 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32008 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32009 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32011 2012-04-05 Simon Josefsson <simon@josefsson.org>
32014 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32015 EINVAL when BUFLEN is too smal.
32017 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32020 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32021 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32023 2012-04-03 Andreas Jaeger <aj@suse.de>
32026 * manual/setjmp.texi (System V contexts): Fix sentence.
32029 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32030 New macro for this case.
32031 [!__GNUC__] (__bswap_64): New inline function for this case.
32032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32033 * bits/byteswap.h: Likewise.
32034 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32035 ull, guard with __GLIBC_HAVE_LONG_LONG.
32037 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32038 __GLIBC_HAVE_LONG_LONG.
32040 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32041 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32043 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32046 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32047 inptr and inend, rather than using last_ch.
32049 2012-04-02 David S. Miller <davem@davemloft.net>
32051 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32052 * stdio-common/printf-parse.h (read_int): Change return type to
32053 'int', return -1 on INT_MAX overflow.
32054 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32055 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32056 overflows INT_MAX. Check for overflow of in-format-string precision
32057 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32058 SIZE_MAX not INT_MAX for integer overflow test.
32059 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32060 skip the construct in the format string but do not record anything.
32061 * stdio-common/bug22.c: Adjust to test both width/prevision
32062 INT_MAX overflow as well as total length INT_MAX overflow. Check
32063 explicitly for proper errno values.
32065 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32067 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32069 * string/test-strcmp.c [! WIDE]: Likewise.
32070 * time/tst-mktime2.c: Likewise for INT_MAX.
32071 * string/test-string.h: #include <sys/param.h> for MIN.
32073 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32074 * sysdeps/i386/init-first.c (init): Likewise.
32075 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32076 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32077 * sysdeps/sh/init-first.c (init): Likewise.
32079 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32081 * po/ru.po: Update from translation team.
32082 * po/vi.po: Likewise.
32084 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32086 * resolv/nss_dns/dns-host.c: Merge copyright years.
32088 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32091 Optimize memcpy with prefetch if
32092 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32093 src, dst pointers have unequal 16 byte alignments.
32095 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32098 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32099 from a CNAME entry and return the minimum ttl for the query.
32100 (gaih_getanswer_slice): Likewise.
32102 2012-03-30 Jeff Law <law@redhat.com>
32104 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32106 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32107 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32109 * resolv/nss_dns/dns-host.c: Update copyright year.
32111 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32113 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32114 requests to save a system call. Fix check that all bytes are sent.
32116 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32117 comments for sendmmsg.
32119 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32122 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32123 with only 1 character between 0x0041 and 0x01b0.
32124 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32125 * wcsmbs/tst-mbsnrtowcs.c: New file.
32127 2012-03-29 David S. Miller <davem@davemloft.net>
32129 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32130 small copies by hand.
32132 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32135 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32136 _nss_compat_initgroups_dyn): Fall back to malloc/free
32137 for large group memberships.
32139 2012-03-28 David S. Miller <davem@davemloft.net>
32141 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32142 that branches into memcpy.
32143 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32146 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32149 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32150 implementation too.
32151 * sysdeps/sparc/mempcpy.S: New file.
32153 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32154 the IFUNC routine in the libc case.
32155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32157 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32158 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32159 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32160 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32161 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32162 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32163 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32164 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32166 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32167 loop to 256 bytes instead of 64 bytes and fix test signedness.
32169 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32170 * sysdeps/sparc/sparc32/Makefile: rather than here...
32171 * sysdeps/sparc/sparc64/Makefile: and here.
32173 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32175 * malloc/mallocbug.c: Avoid warnings about unused variables.
32177 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32180 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32181 in the right place. Discard and retry query if response is
32182 larger than input buffer size.
32184 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32189 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32190 x for large integer exponent.
32191 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32192 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32193 sign of result as needed afterwards.
32194 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32195 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32196 result for underflowing pow the same as for overflow.
32197 (__kernel_standard_l): Handle powl overflow and underflow here
32198 rather than calling __kernel_standard.
32199 * math/libm-test.inc (pow_test): Add more tests.
32214 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32215 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32216 (__kernel_standard_l): New function.
32217 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32219 * math/w_acosl.c (__acosl): Likewise.
32220 * math/w_asinl.c (__asinl): Likewise.
32221 * math/w_atan2l.c (__atan2l): Likewise.
32222 * math/w_atanhl.c (__atanhl): Likewise.
32223 * math/w_coshl.c (__coshl): Likewise.
32224 * math/w_exp10l.c (__exp10l): Likewise.
32225 * math/w_exp2l.c (__exp2l): Likewise.
32226 * math/w_fmodl.c (__fmodl): Likewise.
32227 * math/w_hypotl.c (__hypotl): Likewise.
32228 * math/w_j0l.c (__j0l, __y0l): Likewise.
32229 * math/w_j1l.c (__j1l, __y1l): Likewise.
32230 * math/w_jnl.c (__jnl, __ynl): Likewise.
32231 * math/w_lgammal.c (__lgammal): Likewise.
32232 * math/w_log10l.c (__log10l): Likewise.
32233 * math/w_log2l.c (__log2l): Likewise.
32234 * math/w_logl.c (__logl): Likewise.
32235 * math/w_powl.c (__powl): Likewise.
32236 * math/w_remainderl.c (__remainderl): Likewise.
32237 * math/w_scalbl.c (sysv_scalbl): Likewise.
32238 * math/w_sinhl.c (__sinhl): Likewise.
32239 * math/w_sqrtl.c (__sqrtl): Likewise.
32240 * math/w_tgammal.c (__tgammal): Likewise.
32241 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32242 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32243 * math/libm-test.inc (acos_test): Add more tests.
32244 (acosh_test): Likewise.
32245 (asin_test): Likewise.
32246 (atanh_test): Likewise.
32247 (exp_test): Likewise.
32248 (exp10_test): Likewise.
32249 (exp2_test): Likewise.
32250 (expm1_test): Likewise.
32251 (lgamma_test): Likewise.
32252 (log_test): Likewise.
32253 (log10_test): Likewise.
32254 (log1p_test): Likewise.
32255 (log2_test): Likewise.
32256 (pow_test): Do not allow some spurious overflow exceptions.
32257 (sqrt_test): Add more tests.
32258 (tgamma_test): Likewise.
32259 (y0_test): Likewise.
32260 (y1_test): Likewise.
32261 (yn_test): Likewise.
32263 2012-03-27 Anton Blanchard <anton@samba.org>
32265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32267 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32268 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32271 2012-03-27 David S. Miller <davem@davemloft.net>
32273 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32275 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32276 have-as-vis3 check.
32278 2012-03-27 Andreas Jaeger <aj@suse.de>
32280 * sysdeps/x86_64/elf/configure.in: Moved to ...
32281 * sysdeps/x86_64/configure.in: ... here.
32282 * sysdeps/x86_64/elf/start.S: Moved to ...
32283 * sysdeps/x86_64/start.S: ... here.
32284 * sysdeps/x86_64/elf/configure: Delete.
32286 * sysdeps/x86_64/configure.in: Merge contents from
32287 sysdeps/i386/configure.in (without i686 check).
32289 * sysdeps/i386/elf/Versions: Merge into ...
32290 * sysdeps/i386/Versions: ... this.
32291 * sysdeps/i386/elf/Versions: Delete file.
32292 * sysdeps/i386/elf/start.S: Moved to ...
32293 * sysdeps/i386/start.S: ...here.
32294 * sysdeps/i386/elf/configure.in: Merge into...
32295 * sysdeps/i386/configure.in: ...here.
32296 * sysdeps/i386/elf/configure.in: Delete file.
32297 * sysdeps/i386/elf/configure: Delete file.
32299 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32300 * debug/backtracesyms.c: ... here.
32301 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32302 * debug/backtracesymsfd.c: ... here.
32303 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32304 * sysdeps/generic/ifunc-sel.h: ... here.
32306 * sysdeps/unix/i386/start.c: Delete file.
32307 * sysdeps/unix/sparc/start.c: Delete file.
32308 * sysdeps/unix/start.c: Delete file.
32310 * sysdeps/sh/elf/configure.in: Moved to ...
32311 * sysdeps/sh/configure.in: ... here.
32312 * sysdeps/sh/elf/start.S: Moved to ...
32313 * sysdeps/sh/start.S: ... here.
32314 * sysdeps/sh/elf/configure: Delete file.
32316 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32317 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32318 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32319 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32320 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32321 * sysdeps/powerpc/powerpc64/start.S: here.
32322 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32323 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32324 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32325 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32326 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32328 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32329 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32330 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32331 * sysdeps/powerpc/powerpc32/start.S: ... here.
32332 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32333 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32334 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32336 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32337 * sysdeps/powerpc/ifunc-sel.h: ... here.
32338 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32339 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32341 * sysdeps/sparc/elf/configure.in: Moved to ...
32342 * sysdeps/sparc/configure.in: ... here.
32343 * sysdeps/sparc/elf/configure: Delete file.
32344 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32345 * sysdeps/sparc/sparc32/start.S: ... here.
32346 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32347 * sysdeps/sparc/sparc64/start.S: ... here.
32348 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32349 * sysdeps/sparc/sparc32/Makefile: ... this.
32350 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32351 * sysdeps/sparc/sparc64/Makefile: ... this.
32353 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32354 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32355 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32356 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32357 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32358 * sysdeps/s390/s390-32/setjmp.S: ... here.
32359 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32360 * sysdeps/s390/s390-32/configure.in: ... here.
32361 * sysdeps/s390/s390-32/elf/configure: Delete file.
32362 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32363 * sysdeps/s390/s390-32/start.S: ... here.
32365 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32366 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32367 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32368 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32369 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32370 * sysdeps/s390/s390-64/setjmp.S: ... here.
32371 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32372 * sysdeps/s390/s390-64/configure.in: ... here
32373 * sysdeps/s390/s390-64/elf/configure: Delete file.
32374 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32375 * sysdeps/s390/s390-64/start.S: ... here.
32376 * sysdeps/s390/s390-64/elf/configure: Delete.
32378 * configure.in: Remove support for elf directories in sysdeps.
32380 * configure: Regenerated.
32381 * sysdeps/i386/configure: Regenerated.
32382 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32383 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32384 * sysdeps/s390/s390-32/configure: Regenerated.
32385 * sysdeps/s390/s390-64/configure: Regenerated.
32386 * sysdeps/sh/configure: Regenerated.
32387 * sysdeps/sparc/configure: Regenerated.
32388 * sysdeps/x86_64/configure: Regenerated.
32390 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32395 denormal result into account.
32397 2012-03-25 Roland McGrath <roland@hack.frob.com>
32399 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32400 Reported by Allan McRae <allan@archlinux.org>.
32402 2012-03-23 Jeff Law <law@redhat.com>
32404 * nss/getnssent.c (__nss_getent): Fix typo.
32406 2012-03-23 David S. Miller <davem@davemloft.net>
32408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32410 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32412 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32413 to pad to uint64_t for each field.
32414 (dl_tls_index): Replace unsigned long with uint64_t.
32416 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32417 Paul Pluzhnikov <ppluzhnikov@google.com>
32420 * grp/Makefile (otherlibs): Don't set it.
32421 * inet/Makefile (otherlibs): Likewise.
32422 * login/Makefile (otherlibs): Likewise.
32423 * nscd/Makefile (otherlibs): Likewise.
32424 * posix/Makefile (otherlibs): Likewise.
32425 * pwd/Makefile (otherlibs): Likewise.
32426 * rt/Makefile (otherlibs): Likewise.
32427 * sunrpc/Makefile (otherlibs): Likewise.
32428 * nss/Makefile (otherlibs): Likewise.
32429 Add libnss_files to routines and static-only-routines.
32430 ($(objpfx)getent): Remove rule.
32431 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32432 static-only-routines.
32434 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32437 * math/s_cexp.c: Include <float.h>.
32438 (__cexp): Handle exp result overflowing not necessarily
32439 overflowing both real and imaginary parts of result.
32440 * math/s_cexpf.c: Likewise.
32441 * math/s_cexpl.c: Likewise.
32442 * math/libm-test.inc (cexp_test): Add more tests.
32443 * sysdeps/i386/fpu/libm-test-ulps: Update.
32444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32446 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32448 * include/link.h (ELFW): New macro.
32449 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32450 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32452 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32454 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32457 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32459 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32461 (struct La_x32_retval): Likewise.
32463 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32465 * sysdeps/x86_64/preconfigure.in: New file.
32466 * sysdeps/x86_64/preconfigure: New generated file.
32468 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32471 * math/e_exp2l.c: Include <float.h>.
32472 (__ieee754_exp2l): Handle overflow and underflow cases
32473 separately. Only pass fractional part of argument to
32475 * math/libm-test.inc (exp2_test): Add more tests.
32477 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32478 negating x to take absolute value.
32479 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32481 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32482 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32484 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32485 computing low part if x was negated.
32486 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32488 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32490 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32491 la_x32_gnu_pltexit.
32492 (pltexit): Cast int_retval to ptrdiff_t.
32493 * elf/tst-auditmod3b.c: Likewise.
32494 * elf/tst-auditmod4b.c: Likewise.
32495 * elf/tst-auditmod5b.c: Likewise.
32496 * elf/tst-auditmod6b.c: Likewise.
32497 * elf/tst-auditmod6c.c: Likewise.
32498 * elf/tst-auditmod7b.c: Likewise.
32500 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32501 and x32_gnu_pltexit.
32503 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32504 __ELF_NATIVE_CLASS.
32505 (La_x32_regs): New macro.
32506 (La_x32_retval): Likewise.
32507 (la_x32_gnu_pltenter): New function prototype.
32508 (la_x32_gnu_pltexit): Likewise.
32510 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32517 * configure.in (libc_cv_cc_nofma): Check for option to disable
32518 generation of FMA instructions.
32519 * configure: Regenerate.
32520 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32521 * sysdeps/ieee754/dbl-64/Makefile: New file.
32522 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32523 Remove brandred-fma4.
32524 (CFLAGS-brandred-fma4.c): Remove.
32525 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32526 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32528 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32531 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32533 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32534 LLONG_MAX != LONG_MAX.
32535 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32536 (_fitoa_word): Likewise.
32537 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32538 LLONG_MAX != LONG_MAX.
32539 * stdio-common/_itowa.h: Include <_itoa.h>.
32540 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32541 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32542 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32543 only if not defined.
32544 (_ITOA_WORD_TYPE): Likewise.
32545 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32546 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32548 2012-03-21 David S. Miller <davem@davemloft.net>
32550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32552 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32554 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32555 of x86_64 when setting libc_cv_slibdir, libdir and
32557 * sysdeps/unix/sysv/linux/configure: Regenerated.
32559 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32561 * manual/lang.texi (Old Varargs): Remove section.
32562 (How Variadic): Update menu.
32563 (va_start): Do not mention varargs.h.
32565 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32566 Joseph Myers <joseph@codesourcery.com>
32568 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32570 * configure: Regenerated.
32572 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32574 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32575 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32578 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32581 * Makefile (files-for-dist): Remove NOTES.
32582 (NOTES): Remove rule.
32583 * README: Don't refer to NOTES.
32584 * manual/creature.texi: Don't include macros.texi.
32585 * manual/intro.texi (creature.texi): Remove comment referring to
32588 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32589 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32590 * configure: Regenerated.
32591 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32592 LIBC_TRY_CC_OPTION.
32593 (libc_cv_as_i686): Likewise.
32594 (libc_cv_cc_avx): Likewise.
32595 (libc_cv_cc_sse2avx): Likewise.
32596 (libc_cv_cc_fma4): Likewise.
32597 (libc_cv_cc_novzeroupper): Likewise.
32598 * sysdeps/i386/configure: Regenerated.
32601 * sysdeps/i386/fpu/s_cexp.S: Remove.
32602 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32603 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32604 * math/libm-test.inc (cexp_test): Add more tests.
32605 * sysdeps/i386/fpu/libm-test-ulps: Update.
32606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32608 2012-03-21 Allan McRae <allan@archlinux.org>
32610 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32612 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32615 * math/w_exp2.c: Do not include <float.h>.
32616 (o_threshold, u_threshold): Remove.
32617 (__exp2): Calculate result before checking finiteness and calling
32619 * math/w_exp2f.c: Likewise.
32620 * math/w_exp2l.c: Likewise.
32621 * math/libm-test.inc (exp2_test): Require overflow exception for
32625 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32626 range of signed 64-bit integers before using fistpll. Remove
32627 checks for whether integers fit in mantissa bits.
32628 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32629 the range of signed 32-bit integers before using fistpl. Remove
32630 checks for whether integers fit in mantissa bits.
32631 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32632 (__ieee754_powl): Test for y outside the range of signed 64-bit
32633 integers before using fistpll. Reduce 64-bit values to 63-bit
32635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32636 divide-by-zero is raised for zero to large negative powers.
32637 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32638 (__ieee754_powl): Test for y outside the range of signed 64-bit
32639 integers before using fistpll. Reduce 64-bit values to 63-bit
32641 * math/libm-test.inc (pow_test): Add more tests.
32643 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32645 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32646 <stdio-common/_itoa.h>.
32647 * debug/segfault.c: Likewise.
32648 * elf/dl-cache.c: Likewise.
32649 * elf/dl-minimal.c: Likewise.
32650 * elf/dl-misc.c: Likewise.
32651 * elf/dl-sysdep.c: Likewise.
32652 * elf/dl-version.c: Likewise.
32653 * elf/rtld.c: Likewise.
32654 * hurd/hurdsock.c: Likewise.
32655 * hurd/lookup-retry.c: Likewise.
32656 * malloc/malloc.c: Likewise.
32657 * malloc/mtrace.c: Likewise.
32658 * nscd/nscd_getgr_r.c: Likewise.
32659 * nscd/nscd_getpw_r.c: Likewise.
32660 * nscd/nscd_getserv_r.c: Likewise.
32661 * posix/getopt_init.c: Likewise.
32662 * posix/wordexp.c: Likewise.
32663 * stdio-common/_itoa.c: Likewise.
32664 * stdio-common/printf_fphex.c: Likewise.
32665 * stdio-common/vfprintf.c: Likewise.
32666 * string/_strerror.c: Likewise.
32667 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32668 * sysdeps/i386/i686/hp-timing.h: Likewise.
32669 * sysdeps/mach/_strerror.c: Likewise.
32670 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32671 * sysdeps/mach/hurd/sethostid.c: Likewise.
32672 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32673 * sysdeps/mach/xpg-strerror.c: Likewise.
32674 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32675 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32676 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32677 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32678 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32679 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32680 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32681 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32682 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32683 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32684 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32685 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32686 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32687 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32688 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32689 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32690 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32691 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32692 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32693 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32694 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32696 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32698 * stdio-common/_itoa.h: Moved to ...
32699 * sysdeps/generic/_itoa.h: Here.
32701 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32703 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32704 instead of "_itoa.h" and "_itowa.h".
32705 * stdio-common/vfprintf.: Likewise.
32707 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32709 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32711 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32712 (__signbit): Likwise.
32713 (llrintf): Likwise.
32716 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32718 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32721 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32723 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32724 OVERFLOW_EXCEPTION_OK.
32725 * math/libm-test.inc ("Philosophy"): Update comment about
32727 (OVERFLOW_EXCEPTION): Define.
32728 (OVERFLOW_EXCEPTION_OK): Likewise.
32729 (INVALID_EXCEPTION_OK): Renumber.
32730 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32731 (IGNORE_ZERO_INF_SIGN): Likewise.
32732 (test_exceptions): Handle FE_OVERFLOW.
32733 (exp10_test): Expect overflow exceptions.
32734 (exp2_test): Likewise.
32735 (expm1_test): Likewise.
32736 (nextafter_test): Likewise.
32737 (pow_test): Likewise.
32738 (scalbn_test): Likewise.
32739 (scalbln_test): Likewise.
32741 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32743 * sysdeps/x86_64/bits/atomic.h
32744 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32746 (atomic_exchange_acq): Likewise.
32747 (__arch_exchange_and_add_body): Likewise.
32748 (__arch_add_body): Likewise.
32749 (atomic_add_negative): Likewise.
32750 (atomic_add_zero): Likewise.
32752 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32754 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32755 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32757 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32759 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32760 Check __x86_64__ instead of __WORDSIZE.
32762 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32764 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32766 2012-03-19 David S. Miller <davem@davemloft.net>
32768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32770 * sysdeps/sparc/fpu/fenv_private.h: New file.
32771 * sysdeps/sparc/fpu/math_private.h: Use it.
32772 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32774 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32775 (libc_feholdexcept_setroundl): Remove.
32776 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32778 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32779 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32781 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32783 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32784 int64_t instead of long int.
32785 (INSERT_WORDS64): Likwise.
32787 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32789 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32790 _Unwind_GetCFA return to _Unwind_Ptr first.
32792 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32795 * math/s_clog.c: Include <float.h>.
32796 (__clog): Scale large or subnormal inputs.
32797 * math/s_clogf.c: Likewise.
32798 * math/s_clogl.c: Likewise.
32799 * math/s_clog10.c: Include <float.h>.
32800 (M_LOG10_2): Define.
32801 (__clog10): Scale large or subnormal inputs.
32802 * math/s_clog10f.c: Likewise.
32803 * math/s_clog10l.c: Likewise.
32804 * math/libm-test.inc (clog_test): Add more tests.
32805 (clog10_test): Likewise.
32806 * sysdeps/i386/fpu/libm-test-ulps: Update.
32807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32810 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32812 * math/libm-test.inc (atan2_test): Add another test.
32814 * Makerules (common-objdir-compile): Remove.
32815 * sysdeps/unix/Makefile (config-generated): Do not add
32816 $(unix-generated) to variable.
32817 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32818 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32820 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32822 [generic bits/local_lim.h] (before-compile): Do not append to
32824 [generic bits/local_lim.h] (common-generated): Likewise.
32825 [generic sys/param.h] (before-compile): Do not append to variable.
32826 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32827 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32828 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32829 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32831 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32832 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32833 [generic sys/param.h] ($(addprefix
32834 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32835 [generic sys/param.h] (common-generated): Do not append to
32837 [generic sys/param.h] (sysdep_headers): Likewise.
32838 [generic bits/errno.h] (before-compile): Do not append to
32840 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32842 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32843 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32844 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32845 [generic bits/errno.h] (common-generated): Do not append to
32847 [generic bits/ioctls.h] (before-compile): Do not append to
32849 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32851 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32852 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32853 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32855 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32856 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32857 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32858 [generic bits/ioctls.h] (common-generated): Do not append to
32860 [generic sys/syscall.h] (syscall.h): Remove variable.
32861 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32863 [generic sys/syscall.h] (before-compile): Do not append to
32865 [generic sys/syscall.h] (common-generated): Likewise.
32866 * sysdeps/unix/errnos-tmpl.c: Remove file.
32867 * sysdeps/unix/errnos.awk: Likewise.
32868 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32869 * sysdeps/unix/ioctls.awk: Likewise.
32870 * sysdeps/unix/mk-local_lim.c: Likewise.
32871 * sysdeps/unix/snarf-ioctls: Likewise.
32873 2012-03-19 Richard Henderson <rth@twiddle.net>
32875 * sysdeps/i386/fpu/fenv_private.h: New file.
32876 * sysdeps/i386/fpu/math_private.h: Use it.
32877 (math_opt_barrier, math_force_eval): Remove.
32878 (libc_feholdexcept_setround_53bit): Remove.
32879 (libc_feupdateenv_53bit): Remove.
32880 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32881 (math_opt_barrier, math_force_eval): Remove.
32882 (libc_feholdexcept): Remove.
32883 (libc_feholdexcept_setround): Remove.
32884 (libc_fetestexcept, libc_fesetenv): Remove.
32885 (libc_feupdateenv_test): Remove.
32886 (libc_feupdateenv, libc_feholdsetround): Remove.
32887 (libc_feresetround): Remove.
32889 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32890 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32892 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32893 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32894 (libc_feupdateenv_testl): New.
32895 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32896 (libc_feupdateenv_testf): New.
32897 (libc_feupdateenv): Use libc_feupdateenv_test.
32898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32899 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32901 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32902 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32903 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32904 (libc_feresetround_noex): New.
32905 (libc_feresetround_noexf): New.
32906 (libc_feresetround_noexl): New.
32907 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32908 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32909 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32910 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32913 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32915 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32916 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32917 SET_RESTORE_ROUND_NOEX.
32918 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32919 SET_RESTORE_ROUND_NOEXF.
32920 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32921 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32922 (libc_feholdsetroundf): New.
32923 (libc_feresetround, libc_feresetroundf): New.
32925 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32926 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32927 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32929 * sysdeps/generic/math_private.h: Include <fenv.h>.
32930 (default_libc_feholdexcept): New.
32931 (default_libc_feholdexcept_setround): New.
32932 (default_libc_fesetenv, default_libc_feupdateenv): New.
32933 (libc_feholdexcept): Only define if undefined.
32934 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32935 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32936 (libc_feholdexcept_setroundl): Likewise.
32937 (libc_feholdexcept_setround_53bit): Likewise.
32938 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32939 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32940 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32941 (libc_feupdateenv_53bit): Likewise.
32942 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32943 (libc_feholdexcept): Convert from macro to inline function.
32944 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32945 (libc_fesetenv, libc_feupdateenv): Likewise.
32947 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32948 not previously defined.
32949 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32950 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32951 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32952 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32953 * sysdeps/ieee754/flt-32/math_private.h: New file.
32954 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32955 math_private.h below SET_FLOAT_WORD.
32956 (__isnan, __isinf_ns, __finite): Remove.
32957 (__isnanf, __isinf_nsf, __finitef): Remove.
32959 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32963 2012-03-17 David S. Miller <davem@davemloft.net>
32966 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32969 2012-03-16 David S. Miller <davem@davemloft.net>
32971 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32975 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32977 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32978 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32979 sysdep_routines when subdir is sysvipc.
32980 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32981 __getshmlba helper.
32983 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32985 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32987 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32990 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32992 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32993 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32994 (__lround): Renamed to ...
32995 (__llround): This. Replace long int with long long int.
32996 Define lround functions as aliases of llround functions.
32997 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32999 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33001 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33002 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33003 adresses to uintptr_t. Replace "long int" and "unsigned long
33004 int" with "greg_t" on va_arg.
33006 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33008 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33009 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33011 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33012 Move e_machine check before EI_CLASS check. Handle x32
33013 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33014 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33015 SKIP_EM_IA_64 and include
33016 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33018 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33019 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33020 (add_system_dir): New macro.
33022 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33023 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33025 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33036 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33038 * math/w_j0f.c (j0f): Likewise.
33040 * math/w_j0l.c (__j0l): Likewise.
33042 * math/w_j1.c (j1): Likewise.
33044 * math/w_j1f.c (j1f): Likewise.
33046 * math/w_j1l.c (__j1l): Likewise.
33048 * math/w_jn.c (jn): Likewise.
33050 * math/w_jnf.c (jnf): Likewise.
33052 * math/w_jnl.c (__jnl): Likewise.
33054 * math/libm-test.inc (j0_test): Add more tests.
33055 (j1_test): Likewise.
33056 (jn_test): Likewise. Add trailing semicolon to existing test.
33057 (y0_test): Likewise.
33058 (y1_test): Likewise.
33059 * sysdeps/i386/fpu/libm-test-ulps: Update.
33060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33064 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33065 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33066 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33067 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33068 (__tanl): Set errno for infinite argument.
33069 * sysdeps/i386/fpu/mptan.c: Remove.
33070 * sysdeps/i386/fpu/s_tan.S: Likewise.
33071 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33072 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33073 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33074 * math/libm-test.inc (tan_test): Add more tests and enable more
33075 tests for double and long double.
33076 * sysdeps/i386/fpu/libm-test-ulps: Update.
33077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33079 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33081 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33082 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33084 2012-03-16 Roland McGrath <roland@hack.frob.com>
33086 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33087 * configure.in: Use it for both main tree and add-ons.
33088 * configure: Regenerated.
33090 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33092 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33094 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33096 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33100 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33101 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33102 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33106 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33108 != 0 for prec == 2.
33109 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33110 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33111 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33112 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33113 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33114 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33115 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33116 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33117 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33118 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33119 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33120 * math/libm-test.inc (cos_test): Add more tests and enable more
33121 tests for long double.
33122 (sin_test): Likewise.
33123 (sincos_test): Likewise.
33124 * sysdeps/i386/fpu/libm-test-ulps: Update.
33125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33127 2012-03-16 David S. Miller <davem@davemloft.net>
33129 * sysdeps/sparc/fpu/math_private.h: New file.
33131 2012-03-15 David S. Miller <davem@davemloft.net>
33133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33147 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33148 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33150 * sysdeps/sparc/sparc-ifunc.h: New file.
33151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33196 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33198 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33202 2012-03-15 Andreas Jaeger <aj@suse.de>
33205 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33206 ieee754/flt-32 implementation for sin, cos and sincos.
33207 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33208 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33209 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33210 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33211 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33212 ieee754/flt-32 implementation for tan.
33214 * math/libm-test.inc (cos_test): Enable some large input tests for
33216 (sin_test): Likewise.
33217 (sincos_test): Likewise.
33218 (tan_test): Add tests for large input.
33220 * sysdeps/i386/fpu/libm-test-ulps: Update.
33222 2012-03-15 Andreas Jaeger <aj@suse.de>
33225 * math/libm-test.inc (cos_test): Add more test cases.
33226 (sin_test): Likewise.
33227 (sincos_test): Likewise.
33229 2012-03-15 Andreas Jaeger <aj@suse.de>
33232 * math/libm-test.inc (cos_test): Add a test case for large input
33234 (sin_test): Likewise.
33235 (sincos_test): Likewise.
33237 2012-03-15 Andreas Jaeger <aj@suse.de>,
33238 Joseph Myers <joseph@codesourcery.com>
33241 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33242 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33243 * sysdeps/i386/fpu/branred.c: Likewise.
33244 * sysdeps/i386/fpu/dosincos.c: Likewise.
33245 * sysdeps/i386/fpu/mpa.c: Likewise.
33246 * sysdeps/i386/fpu/s_cos.S: Likewise.
33247 * sysdeps/i386/fpu/s_sin.S: Likewise.
33248 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33249 * sysdeps/i386/fpu/sincos32.c: Likewise.
33251 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33253 (libc_feupdateenv_53bit): Define.
33254 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33256 (libc_feupdateenv_53bit): Define.
33258 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33259 53 bit (without extend i386 double precision).
33261 * math/libm-test.inc (sincos_test): Add tests for large input.
33265 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33267 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33271 2012-03-15 David S. Miller <davem@davemloft.net>
33273 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33274 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33275 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33276 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33301 fmin/fmax sysdep routines.
33302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33304 2012-03-14 David S. Miller <davem@davemloft.net>
33306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33383 * sysdeps/sparc/configure.in: New file.
33384 * sysdeps/sparc/configure: Generate.
33385 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33386 * configure: Regenerate.
33387 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33388 * config.make.in (have-as-vis3): New.
33389 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33390 available use -Av9d instead of -Av9a.
33391 * sysdeps/sparc/sparc64/Makefile: Likewise.
33392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33407 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33408 fzeros/fnegs to load 0x80000000 into a float register instead of
33410 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33412 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33416 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33417 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33418 ($(inst_includedir)/bits/syscall.h): Remove rule.
33419 ($(objpfx)bits/syscall.d): Include instead of
33420 $(objpfx)syscall-list.d.
33421 (generated): Change syscall-list.h and syscall-list.d to
33422 bits/syscall.h and bits/syscall.d.
33424 2012-03-14 Roland McGrath <roland@hack.frob.com>
33427 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33429 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33432 * math/s_csqrt.c: Include <float.h>.
33433 (__csqrt): Scale large or subnormal inputs.
33434 * math/s_csqrtf.c: Likewise.
33435 * math/s_csqrtl.c: Likewise.
33436 * math/libm-test.inc (csqrt_test): Add more tests.
33437 * sysdeps/i386/fpu/libm-test-ulps: Update.
33438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33441 * math/libm-test.inc (hypot_test): Add more tests.
33443 2012-03-13 David S. Miller <davem@davemloft.net>
33446 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33447 double-precision for the calculation instead of scaling.
33449 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33451 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33452 manipulate bits before adding and subtracting TWO52[sx].
33453 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33454 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33456 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33458 2012-03-13 David S. Miller <davem@davemloft.net>
33460 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33461 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33463 rtld-global-offsets.h
33464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33466 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33469 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33471 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33472 'err' in the ifdef scope in which it is actually used.
33474 * nss/nss_db/db-init.c: Include string.h
33476 2012-03-12 David S. Miller <davem@davemloft.net>
33478 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33479 masking out of the most significant byte of random value used.
33480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33481 Fix coding style in previous change.
33483 * sysdeps/unix/sysv/linux/kernel-features.h
33484 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33485 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33487 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33490 2012-03-11 David S. Miller <davem@davemloft.net>
33492 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33493 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33494 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33495 for 'resultvar' otherwise things get truncated on 64-bit.
33497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33498 Fix masking out of the most significant byte of random value used.
33500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33502 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33506 2012-03-09 David S. Miller <davem@davemloft.net>
33508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33509 variables with appropriate CPP guards.
33510 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33511 frame pointer, not the stack pointer. Correct layout comments. Fix test
33512 on resulting framesize and the management of the outregs buffer for pltexit.
33513 Preserve floating point return values across _dl_call_pltexit call.
33514 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33515 framesize and the management of the outregs buffer for pltexit.
33516 Preserve floating point return values across _dl_call_pltexit
33518 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33519 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33520 (print_exit): Fix format string for return register value.
33522 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33524 * sunrpc/Makefile (others): Add rpcgen.
33525 ($(objpfx)rpcgen): Remove special build rule and dependency on
33527 * sunrpc/rpcgen.c: New file.
33529 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33532 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33533 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33534 * sysdeps/i386/crti.S: Likewise.
33535 * sysdeps/i386/crtn.S: Likewise.
33536 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33537 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33538 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33539 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33540 * sysdeps/sh/crti.S: Likewise.
33541 * sysdeps/sh/crtn.S: Likewise.
33542 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33545 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33547 * locale/programs/locfile-kw.gperf: Likewise.
33548 * locale/programs/charmap-kw.h: Regenerated.
33549 * locale/programs/locfile-kw.h: Likewise.
33552 * intl/plural.y: Replace FSF snail mail address with URL.
33553 * intl/plural.c: Regenerated.
33555 2012-03-09 Richard Henderson <rth@twiddle.net>
33557 * include/math_private.h: Remove file.
33558 * math/math_private.h: Move file ...
33559 * sysdeps/generic/math_private.h: ... here.
33561 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33562 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33563 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33565 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33566 and <math_private.h>.
33567 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33568 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33569 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33570 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33571 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33596 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33608 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33625 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33637 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33655 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33656 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33657 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33658 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33660 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33661 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33662 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33663 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33664 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33665 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33666 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33667 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33668 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33669 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33670 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33671 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33672 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33673 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33674 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33675 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33676 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33677 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33678 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33679 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33680 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33681 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33682 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33683 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33684 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33685 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33686 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33687 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33688 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33689 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33690 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33691 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33692 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33693 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33694 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33695 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33696 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33697 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33698 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33699 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33700 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33701 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33702 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33703 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33704 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33705 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33706 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33707 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33708 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33709 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33710 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33711 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33712 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33713 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33714 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33715 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33716 * sysdeps/ieee754/k_standard.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33794 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33830 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33832 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33836 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33839 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33844 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33849 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33865 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33866 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33867 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33877 * sysdeps/ieee754/s_lib_version.c: Likewise.
33878 * sysdeps/ieee754/s_matherr.c: Likewise.
33879 * sysdeps/ieee754/s_signgam.c: Likewise.
33880 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33881 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33882 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33883 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33884 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33885 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33886 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33887 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33888 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33889 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33890 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33891 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33892 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33893 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33894 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33895 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33897 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33898 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33900 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33902 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33904 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33905 * sunrpc/rpc_main.c: Likewise.
33906 * sunrpc/rpc_svcout.c: Likewise.
33908 2012-03-09 David S. Miller <davem@davemloft.net>
33910 * include/math_private.h: New file.
33912 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33914 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33915 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33916 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33917 from <bits/socket_type.h>.
33918 (enum __socket_type): Don't define here.
33919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33921 bits/socket_type.h.
33924 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33925 checking __USE_GNU.
33927 * Makerules ($(inst_includedir)/%.h): New rule.
33928 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33929 (install-others): Remove variable setting.
33930 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33932 2012-03-08 Richard Henderson <rth@twiddle.net>
33934 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33935 from macro to inline function; merge with the
33936 !__LIBC_INTERNAL_MATH_INLINES version.
33937 (__ieee754_sqrtf): Likewise.
33939 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33940 to inline function.
33941 (__rintf, __floor, __floorf): Likewise.
33943 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33944 macro to inline function.
33945 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33947 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33948 not <math/math_private.h>.
33950 2012-03-08 David S. Miller <davem@davemloft.net>
33952 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33954 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33956 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33958 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33960 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33961 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33963 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33965 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33966 be defined individually, they must be defined as a block. Define
33967 S for printing a string instead of hidint the different by using a
33968 macro for adding the 'l'.
33969 * stdio-common/tst-fphex-wide.c: Adjust.
33971 2012-03-07 Marek Polacek <polacek@redhat.com>
33973 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33975 2012-03-08 Marek Polacek <polacek@redhat.com>
33978 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33979 * stdio-common/tst-fphex.c: Define a few macros to make the
33980 test reusable. Use them.
33981 * stdio-common/tst-fphex-wide.c: New file.
33983 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33986 * manual/macros.texi (gnusystems): New macro.
33987 (nongnusystems): Likewise.
33988 (gnulinuxhurdsystems): Likewise.
33989 (gnuhurdsystems): Likewise..
33990 (gnulinuxsystems): Likewise.
33991 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33992 variants of the GNU system, not "GNU system".
33993 * manual/conf.texi: Likewise.
33994 * manual/errno.texi: Likewise. Update example of errno macro
33996 * manual/filesys.texi: Likewise.
33997 (getumask): Document as specific to GNU/Hurd.
33998 * manual/install.texi: Likewise. Reword some references to
34000 * manual/intro.texi: Likewise.
34001 * manual/io.texi: Likewise.
34002 (File Name Portability): Detail which constraints are inapplicable
34003 to all GNU systems and which are only inapplicable to GNU/Hurd.
34004 * manual/job.texi: Likewise.
34005 * manual/llio.texi: Likewise.
34006 (O_NOCTTY): Document as present on GNU/Linux.
34007 * manual/maint.texi: Likewise.
34008 * manual/memory.texi: Likewise.
34009 * manual/pattern.texi: Likewise.
34010 * manual/pipe.texi: Likewise.
34011 * manual/process.texi: Likewise.
34012 * manual/resource.texi: Likewise.
34013 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34015 * manual/setjmp.texi: Likewise.
34016 * manual/signal.texi: Likewise.
34017 * manual/startup.texi: Likewise.
34018 * manual/stdio.texi: Likewise.
34019 * manual/terminal.texi: Likewise.
34020 (ONLCR): Document as POSIX.
34021 (OXTABS): Document availability on GNU/Linux as XTABS.
34022 (ONOEOT): Document availability separately from other bits.
34023 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34024 * manual/time.texi: Likewise.
34025 * manual/users.texi: Likewise.
34026 * INSTALL: Regenerated.
34027 * sysdeps/gnu/errlist.c: Regenerated.
34029 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34030 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34031 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34033 * configure: Regenerated.
34035 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34037 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34038 default includes instead of AC_HEADER_CHECK.
34039 * sysdeps/i386/configure: Regenerated.
34042 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34043 * math/s_cacoshf.c (__cacoshf): Likewise.
34044 * math/s_cacoshl.c (__cacoshl): Likewise.
34045 * math/s_casinh.c (__casinh): Set signs of result from argument.
34046 * math/s_casinhf.c (__casinhf): Likewise.
34047 * math/s_casinhl.c (__casinhl): Likewise.
34048 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34049 (casinh_test): Add more tests.
34050 * sysdeps/i386/fpu/libm-test-ulps: Update.
34051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34053 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34055 * po/zh_TW.po: Update from translation team.
34057 * login/Makefile (distribute): Remove variable.
34058 * catgets/Makefile: Likewise.
34059 * mach/Makefile: Likewise.
34060 * malloc/Makefile: Likewise.
34061 * misc/Makefile: Likewise.
34062 * iconv/Makefile: Likewise.
34063 * nscd/Makefile: Likewise.
34064 * hurd/Makefile: Likewise.
34065 * manual/Makefile: Likewise.
34066 * locale/Makefile: Likewise.
34067 * intl/Makefile: Likewise.
34068 * conform/Makefile: Likewise.
34069 * nss/Makefile: Likewise.
34070 * time/Makefile: Likewise.
34071 * soft-fp/Makefile: Likewise.
34072 * dirent/Makefile: Likewise.
34073 * gmon/Makefile: Likewise.
34074 * po/Makefile: Likewise.
34075 * rt/Makefile: Likewise.
34076 * socket/Makefile: Likewise.
34077 * math/Makefile: Likewise.
34078 * signal/Makefile: Likewise.
34079 * debug/Makefile: Likewise.
34080 * elf/Makefile: Likewise.
34081 * timezone/Makefile: Likewise.
34082 * stdlib/Makefile: Likewise.
34083 * iconvdata/Makefile: Likewise.
34084 * sunrpc/Makefile: Likewise.
34085 * io/Makefile: Likewise.
34086 * argp/Makefile: Likewise.
34087 * inet/Makefile: Likewise.
34088 * hesiod/Makefile: Likewise.
34089 * grp/Makefile: Likewise.
34090 * csu/Makefile: Likewise.
34091 * wctype/Makefile: Likewise.
34092 * crypt/Makefile: Likewise.
34093 * libio/Makefile: Likewise.
34094 * string/Makefile: Likewise.
34095 * nis/Makefile: Likewise.
34096 * resolv/Makefile: Likewise.
34097 * stdio-common/Makefile: Likewise.
34098 * wcsmbs/Makefile: Likewise.
34099 * dlfcn/Makefile: Likewise.
34100 * posix/Makefile: Likewise.
34103 * timezone/Makefile: Don't install timezone files, just the programs
34106 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34108 * nss/databases.def: Add missing gshadow entry.
34110 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34112 2012-03-06 Marek Polacek <polacek@redhat.com>
34115 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34116 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34117 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34118 * stdio-common/tst-long-dbl-fphex.c: New file.
34120 2012-03-06 David S. Miller <davem@davemloft.net>
34122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34123 (set_obp_int): New function.
34124 (get_obp_int): New function.
34125 (__get_clockfreq_via_dev_openprom): Likewise.
34126 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34127 Avoid unused variable warnings on 'val' and use builtin_expect.
34128 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34130 (INLINE_CLONE_SYSCALL): Likewise.
34132 2012-03-05 David S. Miller <davem@davemloft.net>
34134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34136 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34141 only for |x| >= 40.
34142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34144 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34147 Replace gettimeofday with __vdso_gettimeofday.
34149 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34150 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34151 __vdso_clock_gettime and __vdso_getcpu.
34153 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34154 time with __vdso_time.
34156 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34158 * manual/lang.texi (size_t): Note types to which size_t may be
34159 equivalent with the GNU C Library, but do not describe when
34160 differences between them are significant.
34162 2012-03-05 Andreas Jaeger <aj@suse.de>
34164 * sysdeps/i386/fpu/libm-test-ulps: Update.
34166 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34169 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34170 (__ieee754_pow): Save and restore rounding mode and use
34171 round-to-nearest for main computations.
34172 * math/libm-test.inc (pow_test_tonearest): New function.
34173 (pow_test_towardzero): Likewise.
34174 (pow_test_downward): Likewise.
34175 (pow_test_upward): Likewise.
34176 (main): Call the new functions.
34177 * sysdeps/i386/fpu/libm-test-ulps: Update.
34178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34181 * math/libm-test.inc (cosh_test_tonearest): New function.
34182 (cosh_test_towardzero): Likewise.
34183 (cosh_test_downward): Likewise.
34184 (cosh_test_upward): Likewise.
34185 (sinh_test_tonearest): Likewise.
34186 (sinh_test_towardzero): Likewise.
34187 (sinh_test_downward): Likewise.
34188 (sinh_test_upward): Likewise.
34189 (main): Call the new functions.
34190 * sysdeps/i386/fpu/libm-test-ulps: Update.
34191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34193 2012-03-05 Tom de Vries <tom@codesourcery.com>
34195 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34196 default stack guard is set in last bytes.
34197 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34199 2012-03-05 Kees Cook <keescook@chromium.org>
34201 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34204 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34205 possibly allocate from heap instead of stack.
34206 * stdio-common/bug-vfprintf-nargs.c: New file.
34207 * stdio-common/Makefile (tests): Add nargs overflow test.
34209 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34213 2012-03-03 Marek Polacek <polacek@redhat.com>
34215 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34216 * math/math_private.h: Likewise.
34217 * stdlib/tst-strtod.c: Likewise.
34218 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34219 * sysdeps/x86_64/bits/atomic.h: Likewise.
34221 2012-03-02 David S. Miller <davem@davemloft.net>
34223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34227 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34228 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34229 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34230 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34232 2012-03-02 Roland McGrath <roland@hack.frob.com>
34235 * manual/examples/README: New file, says the example source files
34236 can be used under GPL>=2.
34237 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34238 line containing just "*/".
34239 * manual/examples/add.c: Add copyright header (GPL>=2).
34240 * manual/examples/argp-ex1.c: Likewise.
34241 * manual/examples/argp-ex2.c: Likewise.
34242 * manual/examples/argp-ex3.c: Likewise.
34243 * manual/examples/argp-ex4.c: Likewise.
34244 * manual/examples/atexit.c: Likewise.
34245 * manual/examples/db.c: Likewise.
34246 * manual/examples/dir.c: Likewise.
34247 * manual/examples/dir2.c: Likewise.
34248 * manual/examples/execinfo.c: Likewise.
34249 * manual/examples/filecli.c: Likewise.
34250 * manual/examples/filesrv.c: Likewise.
34251 * manual/examples/fmtmsgexpl.c: Likewise.
34252 * manual/examples/genpass.c: Likewise.
34253 * manual/examples/inetcli.c: Likewise.
34254 * manual/examples/inetsrv.c: Likewise.
34255 * manual/examples/isockad.c: Likewise.
34256 * manual/examples/longopt.c: Likewise.
34257 * manual/examples/memopen.c: Likewise.
34258 * manual/examples/memstrm.c: Likewise.
34259 * manual/examples/mkfsock.c: Likewise.
34260 * manual/examples/mkisock.c: Likewise.
34261 * manual/examples/mygetpass.c: Likewise.
34262 * manual/examples/pipe.c: Likewise.
34263 * manual/examples/popen.c: Likewise.
34264 * manual/examples/rprintf.c: Likewise.
34265 * manual/examples/search.c: Likewise.
34266 * manual/examples/select.c: Likewise.
34267 * manual/examples/setjmp.c: Likewise.
34268 * manual/examples/sigh1.c: Likewise.
34269 * manual/examples/sigusr.c: Likewise.
34270 * manual/examples/stpcpy.c: Likewise.
34271 * manual/examples/strdupa.c: Likewise.
34272 * manual/examples/strftim.c: Likewise.
34273 * manual/examples/strncat.c: Likewise.
34274 * manual/examples/subopt.c: Likewise.
34275 * manual/examples/swapcontext.c: Likewise.
34276 * manual/examples/termios.c: Likewise.
34277 * manual/examples/testopt.c: Likewise.
34278 * manual/examples/testpass.c: Likewise.
34279 * manual/examples/timeval_subtract.c: Likewise.
34282 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34284 * manual/timeval_subtract.c.texi: ... here, new file.
34286 2012-03-02 David S. Miller <davem@davemloft.net>
34288 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34290 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34293 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34294 (__sin): Save and restore rounding mode and use round-to-nearest
34295 for all computations.
34296 (__cos): Save and restore rounding mode and use round-to-nearest
34297 for all computations.
34298 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34300 (tan): Save and restore rounding mode and use round-to-nearest for
34302 * math/libm-test.inc (cos_test_tonearest): New function.
34303 (cos_test_towardzero): Likewise.
34304 (cos_test_downward): Likewise.
34305 (cos_test_upward): Likewise.
34306 (sin_test_tonearest): Likewise.
34307 (sin_test_towardzero): Likewise.
34308 (sin_test_downward): Likewise.
34309 (sin_test_upward): Likewise.
34310 (tan_test_tonearest): Likewise.
34311 (tan_test_towardzero): Likewise.
34312 (tan_test_downward): Likewise.
34313 (tan_test_upward): Likewise.
34314 (main): Call the new functions.
34315 * sysdeps/i386/fpu/libm-test-ulps: Update.
34316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34319 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34320 small n, then large n, before computing and testing k+n.
34321 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34326 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34327 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34330 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34331 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34333 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34334 * math/libm-test.inc (scalbn_test): Add more tests.
34335 (scalbln_test): Likewise.
34337 * manual/filesys.texi (mode_t): Describe constraints on size and
34338 signedness, not exact equivalence to a particular type.
34340 (ino64_t): Likewise.
34342 (nlink_t): Likewise.
34343 (blkcnt_t): Likewise.
34344 (blkcnt64_t): Likewise.
34345 * manual/llio.texi (off_t): Likewise.
34348 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34349 (__ieee754_exp): Save and restore rounding mode and use
34350 round-to-nearest for all computations.
34351 * math/libm-test.inc (exp_test_tonearest): New function.
34352 (exp_test_towardzero): Likewise.
34353 (exp_test_downward): Likewise.
34354 (exp_test_upward): Likewise.
34355 (main): Call the new functions.
34356 * sysdeps/i386/fpu/libm-test-ulps: Update.
34357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34359 2012-03-01 Chris Demetriou <cgd@google.com>
34361 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34362 have predictable order.
34364 2012-03-01 David S. Miller <davem@davemloft.net>
34366 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34368 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34369 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34370 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34371 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34373 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34374 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34375 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34377 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34378 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34379 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34380 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34381 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34385 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34386 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34387 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34389 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34390 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34391 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34392 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34393 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34394 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34396 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34398 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34399 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34402 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34403 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34405 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34406 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34407 * sysdeps/sparc/elf/configure: Regenerated.
34409 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34411 * configure.in (AS, LD): Require binutils 2.20 or later.
34412 * configure: Regenerated.
34413 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34414 as required minimum version.
34415 * INSTALL: Regenerated.
34419 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34420 before squaring exponent.
34421 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34422 bottom long double and 27 bits of top long double before squaring
34424 * math/libm-test.inc (erfc_test): Add more tests.
34425 * sysdeps/i386/fpu/libm-test-ulps: Update.
34426 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34429 2012-03-01 Kai Tietz <ktietz@redhat.com>
34431 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34432 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34433 containing bit-fields.
34434 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34435 * soft-fp/single.h (_FP_UNION_S): Likewise.
34436 * soft-fp/double.h (_FP_UNION_D): Likewise.
34438 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34441 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34442 not include ../strcmp.S.
34443 [USE_AS_STRNCASECMP_L]: Likewise.
34444 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34445 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34446 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34447 (__strncasecmp_l_ia32): Define as alias to
34448 __strncasecmp_l_nonascii.
34451 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34452 * sysdeps/i386/fpu/libm-test-ulps: Update.
34453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34455 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34458 2012-02-29 Jeff Law <law@redhat.com>
34460 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34461 out of bounds read.
34463 2012-02-29 Marek Polacek <polacek@redhat.com>
34466 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34467 * elf/Makefile: Add rules to run tst-unused-dep.out.
34469 2012-02-28 David S. Miller <davem@davemloft.net>
34471 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34472 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34473 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34474 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34475 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34476 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34478 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34480 * math/libm-test.inc (llround_test): Move one test from
34481 lround_test. Use TEST_f_L in moved test.
34482 (lround_test): Move misplaced test to llround_test. Add testcase
34485 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34487 * sysdeps/x86_64/fpu/e_expf.S: New file.
34488 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34490 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34493 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34494 of remain_len that may cause incomplete multi-byte character and
34496 * posix/bug-regex33.c: New file.
34497 * posix/Makefile (tests): Add bug-regex33.
34499 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34501 * manual/macros.texi: New file.
34502 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34503 * manual/libc.texinfo: Include macros.texi.
34504 * manual/creatute.texi: Likewise.
34505 * manual/install.texi: Likewise.
34506 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34507 @glibcadj{} in references to the GNU C Library.
34508 * manual/charset.texi: Likewise.
34509 * manual/conf.texi: Likewise.
34510 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34511 when not using those macros.
34512 * manual/creature.texi: Likewise.
34513 * manual/crypt.texi: Likewise.
34514 * manual/errno.texi: Likewise.
34515 * manual/filesys.texi: Likewise.
34516 * manual/header.texi: Likewise.
34517 * manual/install.texi: Likewise.
34518 * manual/intro.texi: Likewise.
34519 * manual/io.texi: Likewise.
34520 * manual/job.texi: Likewise.
34521 * manual/lang.texi: Likewise.
34522 * manual/libc.texiinfo: Likewise.
34523 * manual/llio.texi: Likewise.
34524 * manual/locale.texi: Likewise.
34525 * manual/maint.texi: Likewise.
34526 * manual/math.texi: Likewise.
34527 * manual/memory.texi: Likewise.
34528 * manual/message.texi: Likewise.
34529 * manual/nss.texi: Likewise.
34530 * manual/pattern.texi: Likewise.
34531 * manual/process.texi: Likewise.
34532 * manual/resource.texi: Likewise.
34533 * manual/search.texi: Likewise.
34534 * manual/setjmp.texi: Likewise.
34535 * manual/signal.texi: Likewise.
34536 * manual/socket.texi: Likewise.
34537 * manual/startup.texi: Likewise.
34538 * manual/stdio.texi: Likewise.
34539 * manual/string.texi: Likewise.
34540 * manual/sysinfo.texi: Likewise.
34541 * manual/syslog.texi: Likewise.
34542 * manual/terminal.texi: Likewise.
34543 * manual/time.texi: Likewise.
34544 * manual/users.texi: Likewise.
34545 * INSTALL: Regenerated.
34546 * NOTES: Regenerated.
34547 * sysdeps/gnu/errlist.c: Regenerated.
34549 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34551 * include/dirent.h: Include <dirstream.h> before
34554 2012-02-28 David S. Miller <davem@davemloft.net>
34556 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34557 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34558 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34559 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34561 2012-02-27 David S. Miller <davem@davemloft.net>
34563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34565 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34566 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34569 frame pointer instead of stack pointer relative arg slot.
34570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34574 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34577 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34579 2012-02-27 David S. Miller <davem@davemloft.net>
34581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34585 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34586 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34587 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34588 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34590 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34592 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34593 later. Allow versions 5-9.
34594 * configure: Regenerated.
34595 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34596 required minimum version and 4.6 as recommended version. Do not
34597 mention bugs in GCC 2.7 and 2.8.
34598 * INSTALL: Regenerated.
34600 2012-02-27 David S. Miller <davem@davemloft.net>
34602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34606 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34607 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34608 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34609 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34611 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34612 manipulate bits before adding and subtracting TWO112[sx].
34613 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34615 2012-02-27 Roland McGrath <roland@hack.frob.com>
34618 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34619 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34620 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34621 being in POSIX, because they are in 1003.1-2008.
34623 * rt/tst-aio.c: Include <fcntl.h>.
34624 * rt/tst-aio7.c: Likewise.
34625 * rt/tst-aio64.c: Likewise.
34627 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34629 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34631 * manual/install.texi (--with-headers): Describe headers as
34632 interface headers, not private headers.
34633 (Specific advice for GNU/Linux systems): Describe use of headers
34634 from "make headers_install", not private headers from older
34636 * INSTALL: Regenerated.
34637 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34639 * sysdeps/unix/sysv/linux/configure: Regenerated.
34641 * manual/llio.texi (fclean): Remove documentation.
34643 * manual/Makefile (libc-texi-generated): New variable. Include
34645 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34646 $(libc-texi-generated), not duplicated list of files.
34647 (version.texi, stamp-version): New rules.
34648 (realclean): Remove $(libc-texi-generated), not individual files
34649 from that list. Do not remove dir-add.texinfo.
34650 * manual/libc.texinfo: Comment out uses of edition numbers and
34651 references to printed manual. Remove last-updated dates.
34652 (EDITION): Comment out.
34654 (VERSION, UPDATED): Remove.
34655 (version.texi): Include.
34657 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34659 * sysdeps/posix/spawni.c: Include <signal.h>.
34660 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34661 * sysdeps/pthread/aio_fsync.c: Likewise.
34663 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34665 * conform/Makefile (tests): Run only when not cross-compiling and
34666 when fast-check is not defined.
34668 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34669 * conform/data/limits.h-data: Fixes for POSIX2008.
34670 * conform/run-conformtest.sh: Run all tests.
34671 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34673 * include/bits/dlfcn.h: Likewise.
34674 * include/langinfo.h: Likewise.
34675 * include/monetary.h: Likewise.
34676 * include/sys/poll.h: Likewise.
34678 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34680 * posix/spawn.h: Define __need_sigset_t.
34681 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34682 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34683 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34684 to get sigevent_t only.
34685 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34686 only for __USE_GNU.
34687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34688 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34689 process_vm_writev only for __USE_GNU.
34690 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34692 * conform/Makefile: For now ignore errors from run-conformtest.
34693 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34694 POSIX to avoid namespace pollution. Don't prepend headers.
34695 * conform/data/aio.h-data: Fixes for POSIX testing.
34696 * conform/data/fcntl.h-data: Likewise.
34697 * conform/data/glob.h-data: Likewise.
34698 * conform/data/grp.h-data: Likewise.
34699 * conform/data/pthread.h-data: Likewise.
34700 * conform/data/pwd.h-data: Likewise.
34701 * conform/data/signal.h-data: Likewise.
34702 * conform/data/spawn.h-data: Likewise.
34703 * conform/data/stdio.h-data: Likewise.
34704 * conform/data/stdlib.h-data: Likewise.
34705 * conform/data/stropts.h-data: Likewise.
34706 * conform/data/sys/mman.h-data: Likewise.
34707 * conform/data/sys/stat.h-data: Likewise.
34708 * conform/data/sys/types.h-data: Likewise.
34709 * conform/data/sys/wait.h-data: Likewise.
34710 * conform/data/time.h-data: Likewise.
34711 * conform/data/unistd.h-data: Likewise.
34712 * conform/data/utime.h-data: Likewise.
34714 * io/sys/stat.h: fchmod was always in POSIX.
34715 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34716 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34717 * rt/aio.h: Define __need_timespec before including <time.h>.
34718 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34719 struct. Add forward declaration of pthread_attr_t and use it in
34721 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34722 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34723 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34724 always remove CLK_TCK definition.
34726 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34728 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34730 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34732 * conform/run-conformtest.sh: New file.
34733 * conform/Makefile: Run run-conformtest for tests.
34734 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34737 * conform/data/uchar.h-data: New file.
34738 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34739 * conform/data/arpa/inet.h-data: Likewise.
34740 * conform/data/assert.h-data: Likewise.
34741 * conform/data/complex.h-data: Likewise.
34742 * conform/data/cpio.h-data: Likewise.
34743 * conform/data/ctype.h-data: Likewise.
34744 * conform/data/dirent.h-data: Likewise.
34745 * conform/data/dlfcn.h-data: Likewise.
34746 * conform/data/errno.h-data: Likewise.
34747 * conform/data/fcntl.h-data: Likewise.
34748 * conform/data/float.h-data: Likewise.
34749 * conform/data/fmtmsg.h-data: Likewise.
34750 * conform/data/fnmatch.h-data: Likewise.
34751 * conform/data/ftw.h-data: Likewise.
34752 * conform/data/glob.h-data: Likewise.
34753 * conform/data/grp.h-data: Likewise.
34754 * conform/data/iconv.h-data: Likewise.
34755 * conform/data/inttypes.h-data: Likewise.
34756 * conform/data/langinfo.h-data: Likewise.
34757 * conform/data/libgen.h-data: Likewise.
34758 * conform/data/limits.h-data: Likewise.
34759 * conform/data/locale.h-data: Likewise.
34760 * conform/data/math.h-data: Likewise.
34761 * conform/data/monetary.h-data: Likewise.
34762 * conform/data/mqueue.h-data: Likewise.
34763 * conform/data/ndbm.h-data: Likewise.
34764 * conform/data/net/if.h-data: Likewise.
34765 * conform/data/netdb.h-data: Likewise.
34766 * conform/data/netinet/in.h-data: Likewise.
34767 * conform/data/nl_types.h-data: Likewise.
34768 * conform/data/poll.h-data: Likewise.
34769 * conform/data/pthread.h-data: Likewise.
34770 * conform/data/pwd.h-data: Likewise.
34771 * conform/data/regex.h-data: Likewise.
34772 * conform/data/sched.h-data: Likewise.
34773 * conform/data/search.h-data: Likewise.
34774 * conform/data/semaphore.h-data: Likewise.
34775 * conform/data/setjmp.h-data: Likewise.
34776 * conform/data/signal.h-data: Likewise.
34777 * conform/data/spawn.h-data: Likewise.
34778 * conform/data/stdarg.h-data: Likewise.
34779 * conform/data/stdio.h-data: Likewise.
34780 * conform/data/stdlib.h-data: Likewise.
34781 * conform/data/string.h-data: Likewise.
34782 * conform/data/strings.h-data: Likewise.
34783 * conform/data/stropts.h-data: Likewise.
34784 * conform/data/sys/ipc.h-data: Likewise.
34785 * conform/data/sys/mman.h-data: Likewise.
34786 * conform/data/sys/msg.h-data: Likewise.
34787 * conform/data/sys/resource.h-data: Likewise.
34788 * conform/data/sys/select.h-data: Likewise.
34789 * conform/data/sys/sem.h-data: Likewise.
34790 * conform/data/sys/shm.h-data: Likewise.
34791 * conform/data/sys/socket.h-data: Likewise.
34792 * conform/data/sys/stat.h-data: Likewise.
34793 * conform/data/sys/statvfs.h-data: Likewise.
34794 * conform/data/sys/time.h-data: Likewise.
34795 * conform/data/sys/timeb.h-data: Likewise.
34796 * conform/data/sys/times.h-data: Likewise.
34797 * conform/data/sys/types.h-data: Likewise.
34798 * conform/data/sys/uio.h-data: Likewise.
34799 * conform/data/sys/un.h-data: Likewise.
34800 * conform/data/sys/utsname.h-data: Likewise.
34801 * conform/data/sys/wait.h-data: Likewise.
34802 * conform/data/syslog.h-data: Likewise.
34803 * conform/data/tar.h-data: Likewise.
34804 * conform/data/termios.h-data: Likewise.
34805 * conform/data/utime.h-data: Likewise.
34806 * conform/data/utmpx.h-data: Likewise.
34807 * conform/data/varargs.h-data: Likewise.
34808 * conform/data/wchar.h-data: Likewise.
34809 * conform/data/wctype.h-data: Likewise.
34810 * conform/data/wordexp.h-data: Likewise.
34812 * include/stropts.h: New file.
34813 * include/uchar.h: New file.
34814 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34815 * include/assert.h: Likewise.
34816 * include/ctype.h: Likewise.
34817 * include/dirent.h: Likewise.
34818 * include/dlfcn.h: Likewise.
34819 * include/fcntl.h: Likewise.
34820 * include/fnmatch.h: Likewise.
34821 * include/glob.h: Likewise.
34822 * include/grp.h: Likewise.
34823 * include/libio.h: Likewise.
34824 * include/locale.h: Likewise.
34825 * include/math.h: Likewise.
34826 * include/net/if.h: Likewise.
34827 * include/netdb.h: Likewise.
34828 * include/netinet/in.h: Likewise.
34829 * include/pthread.h: Likewise.
34830 * include/pwd.h: Likewise.
34831 * include/regex.h: Likewise.
34832 * include/sched.h: Likewise.
34833 * include/search.h: Likewise.
34834 * include/setjmp.h: Likewise.
34835 * include/signal.h: Likewise.
34836 * include/stdio.h: Likewise.
34837 * include/stdlib.h: Likewise.
34838 * include/string.h: Likewise.
34839 * include/sys/cdefs.h: Likewise.
34840 * include/sys/mman.h: Likewise.
34841 * include/sys/msg.h: Likewise.
34842 * include/sys/resource.h: Likewise.
34843 * include/sys/select.h: Likewise.
34844 * include/sys/socket.h: Likewise.
34845 * include/sys/stat.h: Likewise.
34846 * include/sys/statvfs.h: Likewise.
34847 * include/sys/time.h: Likewise.
34848 * include/sys/times.h: Likewise.
34849 * include/sys/uio.h: Likewise.
34850 * include/sys/utsname.h: Likewise.
34851 * include/sys/wait.h: Likewise.
34852 * include/termios.h: Likewise.
34853 * include/time.h: Likewise.
34854 * include/ulimit.h: Likewise.
34855 * include/unistd.h: Likewise.
34856 * include/utime.h: Likewise.
34857 * include/wchar.h: Likewise.
34858 * include/wctype.h: Likewise.
34859 * include/wordexp.h: Likewise.
34861 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34863 * time/time.h: TIME_UTC must be a macro.
34864 Make timespec_get available for ISO C11 only as well.
34866 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34868 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34869 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34871 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34873 * configure.in: Use -o not -a in test for unsupported multi-arch.
34875 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34877 * manual/texinfo.tex: Update to version 2012-01-19.16.
34879 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34881 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34883 2012-02-24 Roland McGrath <roland@hack.frob.com>
34886 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34887 * manual/fdl-1.3.texi: New file.
34888 * manual/fdl-1.1.texi: File removed.
34891 * manual/libc.texinfo (FDL_VERSION): New @set.
34892 Use it for mention of FDL in cover text.
34893 (Documentation License): Use it in @include file name.
34895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34896 Roland McGrath <roland@hack.frob.com>
34899 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34900 not LONG_LONG_MAX and LONG_LONG_MIN.
34901 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34902 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34904 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34906 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34910 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34911 manipulate bits before adding and subtracting TWO23[sx].
34912 * math/libm-test.inc (nearbyint_test): Add more tests.
34914 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34917 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34918 bits before adding and subtracting TWO23[sx].
34919 * math/libm-test.inc (rint_test): Add more tests.
34920 (rint_test_tonearest): Likewise.
34921 (rint_test_towardzero): Likewise.
34922 (rint_test_downward): Likewise.
34923 (rint_test_upward: Likewise.
34925 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34928 * include/stdc-predef.h: New file. Extracted from features.h.
34929 * include/features.h: Include stdc-predef.h.
34930 * Makefile (headers): Add stdc-predef.h.
34931 * CONFORMANCE (Compiler limitations): Update.
34933 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34935 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34937 2012-02-21 David S. Miller <davem@davemloft.net>
34939 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34940 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34942 2012-02-20 David S. Miller <davem@davemloft.net>
34944 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34945 using a normal save/restore sequence, rather than allocating a
34946 dummy stack frame just to store a frame pointer and restore.
34947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34949 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34951 * manual/install.texi: Fix stray word in line-wrapped comment.
34953 2012-02-20 David S. Miller <davem@davemloft.net>
34955 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34956 both binutils and gcc support GOTDATA.
34958 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34959 "rd %pc" in the PIC register setup sequences.
34961 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34962 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34963 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34964 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34965 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34967 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34968 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34970 (SYSCALL_ERROR_HANDLER): Likewise.
34971 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34972 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34974 (SYSCALL_ERROR_HANDLER): Likewise.
34976 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34977 (HAVE_GCC_GOTDATA): New.
34978 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34979 relocation support in both binutils and gcc.
34980 * sysdeps/sparc/elf/configure: Regenerate.
34982 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34983 * sysdeps/sparc/sparc32/elf/configure: Delete.
34984 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34985 * sysdeps/sparc/sparc64/elf/configure: Delete.
34986 * sysdeps/sparc/elf/configure.in: New file.
34987 * sysdeps/sparc/elf/configure: Generate.
34989 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34990 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34991 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34992 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34993 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34995 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34997 * manual/install.texi: Do not mention specific glibc version
34999 * manual/libc.texinfo (VERSION, UPDATED): Update.
35000 (@copying): Use @copyright{} and range of years.
35002 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35005 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35006 [crti.S not in sysdirs] (generated): Do not append.
35007 [crti.S not in sysdirs] (omit-deps): Likewise.
35008 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35009 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35010 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35011 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35012 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35014 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35015 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35016 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35017 * csu/defs.awk: Remove file.
35018 * sysdeps/generic/initfini.c: Likewise.
35019 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35021 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35024 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35026 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35027 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35028 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35030 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35031 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35033 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35034 (__EPOLL_PACKED): Define to empty if not defined by
35036 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35040 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35042 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35043 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35044 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35045 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35047 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35051 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35053 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35055 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35056 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35060 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35062 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35063 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35065 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35067 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35068 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35070 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35072 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35075 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35077 * math/w_acos.c: Use non-signaling floating-point comparisons.
35078 * math/w_acosf.c: Likewise.
35079 * math/w_acosh.c: Likewise.
35080 * math/w_acoshf.c: Likewise.
35081 * math/w_acoshl.c: Likewise.
35082 * math/w_acosl.c: Likewise.
35083 * math/w_asin.c: Likewise.
35084 * math/w_asinf.c: Likewise.
35085 * math/w_asinl.c: Likewise.
35086 * math/w_atanh.c: Likewise.
35087 * math/w_atanhf.c: Likewise.
35088 * math/w_atanhl.c: Likewise.
35089 * math/w_exp2.c: Likewise.
35090 * math/w_exp2f.c: Likewise.
35091 * math/w_exp2l.c: Likewise.
35092 * math/w_j0.c: Likewise.
35093 * math/w_j0f.c: Likewise.
35094 * math/w_j0l.c: Likewise.
35095 * math/w_j1.c: Likewise.
35096 * math/w_j1f.c: Likewise.
35097 * math/w_j1l.c: Likewise.
35098 * math/w_jn.c: Likewise.
35099 * math/w_jnf.c: Likewise.
35100 * math/w_log.c: Likewise.
35101 * math/w_log10.c: Likewise.
35102 * math/w_log10f.c: Likewise.
35103 * math/w_log10l.c: Likewise.
35104 * math/w_log2.c: Likewise.
35105 * math/w_log2f.c: Likewise.
35106 * math/w_log2l.c: Likewise.
35107 * math/w_logf.c: Likewise.
35108 * math/w_logl.c: Likewise.
35109 * math/w_sqrt.c: Likewise.
35110 * math/w_sqrtf.c: Likewise.
35111 * math/w_sqrtl.c: Likewise.
35112 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35113 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35114 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35115 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35116 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35118 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35121 * manual/string.texi (strnlen): Use correct parameter name in
35122 equivalent expression.
35124 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35127 * manual/users.texi (seteuid): Consistently use neweuid for
35130 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35133 * manual/nss.texi (Services in the NSS configuration): Correct
35134 list of services in example configuration file.
35136 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35139 * manual/arith.texi: Remove statements about negative zero
35140 behaving identically to zero.
35142 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35145 * manual/install.texi: Do not document upgrading from libc5.
35147 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35150 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35152 2012-02-18 David S. Miller <davem@davemloft.net>
35154 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35155 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35156 %o7 across the call.
35157 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35160 SETUP_PIC_REG_LEAF.
35161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35162 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35163 * sysdeps/sparc/crtn.S: Likewise.
35165 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35167 * aout/Makefile: Remove.
35169 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35172 * manual/examples/argp-ex1.c (main): Format definition in GNU
35174 * manual/examples/argp-ex2.c (main): Likewise.
35175 * manual/examples/argp-ex3.c (main): Likewise.
35176 * manual/examples/argp-ex4.c (main): Likewise.
35177 * manual/examples/longopt.c (main): Use new-style prototype
35179 * manual/examples/strncat.c (main): Specify return type and use
35180 (void) for arguments.
35181 * manual/examples/subopt.c (main): Use char **argv argument.
35183 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35186 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35189 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35192 * manual/string.texi (strchr): Change when strchrnul is
35195 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35198 * manual/locale.texi (setlocale): Document LOCPATH.
35200 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35203 * manual/process.texi (execle): Move @dots{} before last argument.
35205 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35208 * manual/charset.texi (Generic Charset Conversion): Fix typo
35209 (LC_TYPE -> LC_CTYPE).
35211 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35214 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35215 (scalbnf): Likewise.
35216 (scalbnl): Likewise.
35217 (scalbln): Likewise.
35218 (scalblnf): Likewise.
35219 (scalblnl): Likewise.
35220 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35221 (vwarnx): Likewise.
35224 * manual/filesys.texi (telldir): Use braces around return type.
35225 * manual/llio.texi (mmap): Add space after comma.
35226 (mmap64): Likewise.
35227 * manual/math.texi (jn): Use @var{} on parameter names.
35233 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35235 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35237 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35238 (sched_get_priority_max): Likewise.
35239 * manual/signal.texi (sigvec): Add space after comma.
35240 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35242 (if_indextoname): Likewise.
35243 (if_freenameindex): Likewise.
35244 (sendto): Use ',' instead of '.' in prototype.
35245 * manual/startup.texi (syscall): Use @dots{} instead of literal
35247 * manual/stdio.texi (__fpending): Separate initial words of
35248 paragraph from @deftypefun line.
35249 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35251 (vsyslog): Use @var{} on parameter names.
35252 * manual/terminal.texi (stty): Use @var{} on parameter names.
35253 * manual/users.texi (getutmp): Use @var{} on parameter names.
35254 (getutmpx): Likewise.
35256 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35259 * manual/stdio.texi (fopen): Fix typos in description of
35262 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35265 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35266 get clock_id definition.
35268 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35271 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35272 (madvise): Cast every argument to void on its own.
35274 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35277 * manual/startup.texi (Exit Status): Fix typo.
35279 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35282 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35283 * manual/examples/argp-ex2.c: Likewise.
35284 * manual/examples/argp-ex3.c: Likewise.
35286 2012-02-16 Richard Henderson <rth@redhat.com>
35288 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35289 * sysdeps/s390/s390-32/initfini.c: Remove.
35290 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35291 * sysdeps/s390/s390-64/initfini.c: Remove.
35293 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35295 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35296 compiler output for sysdeps/generic/initfini.c.
35297 * sysdeps/sh/elf/initfini.c: Remove file.
35299 2012-02-16 David S. Miller <davem@davemloft.net>
35302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35304 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35305 * sysdeps/sparc/crti.S: New file.
35306 * sysdeps/sparc/crtn.S: New file.
35307 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35308 * sysdeps/sparc/sparc64/Makefile: Likewise.
35310 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35313 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35315 2012-02-15 Roland McGrath <roland@hack.frob.com>
35318 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35320 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35321 (write, read, close): Likewise.
35322 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35324 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35326 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35327 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35328 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35329 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35331 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35335 2012-02-14 Marek Polacek <polacek@redhat.com>
35337 * sysdeps/x86_64/crti.S: New file.
35338 * sysdeps/x86_64/crtn.S: New file.
35339 * sysdeps/x86_64/elf/initfini.c: Remove file.
35341 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35343 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35344 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35345 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35346 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35348 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35352 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35354 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35355 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35356 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35357 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35359 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35363 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35365 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35366 __feraiseexcept instead of feraiseexcept.
35368 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35369 nanosleep invocations.
35370 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35371 strings, and add error checking for a nanosleep invocations.
35373 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35375 Replace FSF snail mail address with URLs, as per GNU coding standards.
35376 Most of the snail mail addresses were wrong anyway, and omitting
35377 them makes the source code easier to maintain. Almost all of the
35378 changes are to license notices and to locale LC_IDENTIFICATION
35379 addresses, except for this one:
35380 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35381 not its snail mail address.
35383 2012-02-09 Richard Henderson <rth@twiddle.net>
35385 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35386 of kernel-features.h.
35388 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35390 2012-02-08 Marek Polacek <polacek@redhat.com>
35392 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35393 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35394 * sysdeps/gnu/_G_config.h: Likewise.
35395 * sysdeps/generic/_G_config.h: Likewise.
35397 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35399 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35403 * sysdeps/powerpc/powerpc32/crti.S: New file.
35404 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35405 * sysdeps/powerpc/powerpc64/crti.S: New file.
35406 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35408 * Makeconfig (have-initfini): Don't set.
35409 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35410 * configure.in (nopic_initfini): Don't substitute.
35411 * config.h.in (HAVE_INITFINI): Don't #undef.
35412 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35413 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35415 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35417 Support crti.S and crtn.S provided directly by architectures.
35418 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35419 [crti.S in sysdirs] (omit-deps): Likewise.
35420 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35421 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35422 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35423 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35424 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35425 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35426 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35427 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35428 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35429 compiler output for sysdeps/generic/initfini.c.
35430 * sysdeps/i386/elf/Makefile: Remove file.
35431 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35433 2012-02-07 Marek Polacek <polacek@redhat.com>
35435 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35436 * sysdeps/gnu/_G_config.h: Likewise.
35437 * sysdeps/mach/hurd/_G_config.h: Likewise.
35439 2012-02-07 Marek Polacek <polacek@redhat.com>
35441 * math/Makefile (tests): Add tst-CMPLX2.
35442 * math/tst-CMPLX2.c: New file.
35444 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35446 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35448 * math/libm-test.inc (jn_test): Add missing L suffix.
35450 2012-02-06 Marek Polacek <polacek@redhat.com>
35452 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35453 * sysdeps/i386/fpu/e_powf.S: Likewise.
35454 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35455 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35456 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35457 * sysdeps/i386/fpu/e_pow.S: Likewise.
35458 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35459 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35460 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35461 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35462 * sysdeps/i386/fpu/e_log2.S: Likewise.
35463 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35464 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35465 * sysdeps/i386/fpu/e_powl.S: Likewise.
35466 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35467 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35468 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35469 * sysdeps/i386/fpu/e_logl.S: Likewise.
35470 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35471 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35472 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35473 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35474 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35476 * sysdeps/i386/fpu/e_log.S: Likewise.
35477 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35478 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35479 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35480 * sysdeps/i386/fpu/e_logf.S: Likewise.
35481 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35482 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35483 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35484 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35485 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35486 * sysdeps/i386/fpu/e_log10.S: Likewise.
35487 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35488 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35489 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35490 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35491 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35492 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35493 * sysdeps/i386/asm-syntax.h: Likewise.
35494 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35496 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35497 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35498 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35499 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35500 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35501 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35502 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35503 * sysdeps/powerpc/sysdep.h: Likewise.
35504 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35505 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35507 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35510 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35512 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35514 * sysdeps/i386/sysdep.h: Include <features.h>.
35515 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35518 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35520 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35522 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35525 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35527 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35528 (SETUP_PIC_REG): Use GET_PC_THUNK.
35529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35532 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35534 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35535 for non-PIC compilation.
35536 (SETUP_PIC_REG): Add .p2align directive.
35537 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35538 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35539 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35540 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35541 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35542 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35543 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35544 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35545 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35546 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35547 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35548 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35549 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35550 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35551 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35552 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35553 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35554 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35555 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35556 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35557 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35558 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35559 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35560 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35561 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35564 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35565 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35566 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35567 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35568 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35569 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35570 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35571 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35572 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35573 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35574 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35575 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35576 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35577 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35579 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35581 * math/tst-CMPLX.c: Include <stdio.h>.
35583 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35585 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35587 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35588 * sysdeps/sparc/bits/mathdef.h: Likewise.
35590 2012-01-31 Marek Polacek <polacek@redhat.com>
35592 * libio/libio.h: Don't define _PARAMS.
35593 * locale/programs/config.h: Don't define PARAMS.
35594 * stdlib/strtol_l.c: Likewise.
35595 (__strtol_l): Remove PARAMS from the prototype.
35597 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35599 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35600 names. Just use the correct names. Remove unnecessary wrapper
35602 * malloc/arena.c: Likewise.
35603 * malloc/hooks.c: Likewise.
35605 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35606 ARENA_TEST says not to. Simplify test for creation of a new arena.
35607 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35609 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35611 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35613 (update_get_addr): New function.
35614 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35615 GET_ADDR_MODULE parameter.
35617 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35619 * crypt/cert.c: Remove __STDC__ conditionals.
35620 * crypt/crypt-entry.c: Likewise.
35621 * crypt/crypt_util.c: Likewise.
35622 * libio/filedoalloc.c: Likewise.
35623 * libio/fileops.c: Likewise.
35624 * libio/genops.c: Likewise.
35625 * libio/iofclose.c: Likewise.
35626 * libio/iofdopen.c: Likewise.
35627 * libio/iofopen.c: Likewise.
35628 * libio/iofopen64.c: Likewise.
35629 * libio/iogetdelim.c: Likewise.
35630 * libio/iopopen.c: Likewise.
35631 * libio/obprintf.c: Likewise.
35632 * libio/oldfileops.c: Likewise.
35633 * libio/oldiofclose.c: Likewise.
35634 * libio/oldiofdopen.c: Likewise.
35635 * libio/oldiofopen.c: Likewise.
35636 * libio/oldiopopen.c: Likewise.
35637 * libio/wfiledoalloc.c: Likewise.
35638 * libio/wgenops.c: Likewise.
35639 * locale/programs/xmalloc.c: Likewise.
35640 * misc/syslog.c: Likewise.
35641 * stdio-common/xbug.c: Likewise.
35642 * string/memchr.c: Likewise.
35643 * string/memcmp.c: Likewise.
35644 * string/memrchr.c: Likewise.
35645 * string/rawmemchr.c: Likewise.
35646 * sysdeps/posix/getcwd.c: Likewise.
35647 * time/strftime_l.c: Likewise.
35649 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35651 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35652 * config.make.in (config-cflags-sse2avx): Define.
35653 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35656 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35658 * scripts/config.guess: Update from upstream config git repository.
35659 * scripts/config.sub: Likewise.
35661 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35663 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35665 (R_TILEPRO_*, R_TILEGX_*): New macros.
35667 * scripts/firstversions.awk: Fix bug in version range handling.
35669 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35671 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35673 * include/sys/epoll.h: New file.
35674 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35677 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35679 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35680 Avoid unnecessary __WORDSIZE == 64 test.
35681 (fmaxf): Use VEX format if possible.
35686 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35687 * math/math_private.h: Remove libc_fegetround* and
35689 * sysdeps/i386/configure.in: Check for -msse2avx.
35690 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35691 also if SSE2AVX is defined.
35692 Remove libc_fegetround* and libc_fesetround*.
35693 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35694 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35695 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35697 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35698 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35699 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35700 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35701 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35703 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35705 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35707 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35709 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35711 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35714 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35716 * Makeconfig (libm): Define.
35717 * elf/Makefile: Add rules to build and run tst-relsort1.
35718 * elf/tst-relsort1.c: New file.
35719 * elf/tst-relsort1mod1.c: New file.
35720 * elf/tst-relsort1mod2.c: New file.
35722 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35724 * math/s_ldexp.c: Remove __STDC__ conditionals.
35725 * math/s_ldexpf.c: Likewise.
35726 * math/s_ldexpl.c: Likewise.
35727 * math/s_nextafter.c: Likewise.
35728 * math/s_nexttowardf.c: Likewise.
35729 * math/s_significand.c: Likewise.
35730 * math/s_significandf.c: Likewise.
35731 * math/s_significandl.c: Likewise.
35732 * math/w_jnl.c: Likewise.
35733 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35734 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35735 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35736 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35737 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35739 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35740 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35741 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35742 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35743 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35744 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35745 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35746 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35747 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35748 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35749 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35750 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35752 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35753 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35754 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35755 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35757 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35758 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35759 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35760 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35761 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35763 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35764 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35765 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35766 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35767 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35768 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35769 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35770 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35771 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35772 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35773 * sysdeps/ieee754/k_standard.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35792 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35793 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35803 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35804 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35805 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35806 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35807 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35809 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35810 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35811 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35813 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35814 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35816 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35817 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35818 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35819 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35820 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35821 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35823 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35824 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35827 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35829 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35834 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35835 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35839 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35840 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35844 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35848 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35849 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35852 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35853 * sysdeps/ieee754/s_matherr.c: Likewise.
35854 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35855 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35856 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35857 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35859 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35861 * crypt/md5.h: Remove __STDC__ conditionals.
35862 * libio/libioP.h: Likewise.
35863 * locale/programs/config.h: Likewise.
35864 * sysdeps/generic/sysdep.h: Likewise.
35865 * sysdeps/i386/asm-syntax.h: Likewise.
35866 * sysdeps/s390/asm-syntax.h: Likewise.
35867 * sysdeps/unix/sysdep.h: Likewise.
35868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35871 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35873 * libio/libio.h: Remove __STDC__ conditionals.
35874 * malloc/obstack.h: Likewise.
35875 * math/complex.h: Likewise.
35876 * math/math.h: Likewise.
35877 * sysdeps/generic/_G_config.h: Likewise.
35878 * sysdeps/gnu/_G_config.h: Likewise.
35879 * sysdeps/mach/hurd/_G_config.h: Likewise.
35880 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35881 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35882 * sysdeps/sparc/bits/mathdef.h: Likewise.
35884 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35887 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35888 Clean up HAS_* macros.
35889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35890 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35892 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35894 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35895 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35896 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35897 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35898 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35900 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35902 * elf/tst-unique3.cc (gets): Remove declaration.
35903 * elf/tst-unique3lib.cc (gets): Likewise.
35904 * elf/tst-unique3lib2.cc (gets): Likewise.
35905 * elf/tst-unique4.cc (gets): Likewise.
35907 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35909 * include/stdio.h: Add C++ protection. Add gets declarations and
35911 * debug/tst-chk1.c: Don't declare gets here.
35912 * stdio-common/tst-gets.c: Likewise.
35914 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35916 * posix/glob: Remove directory.
35918 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35920 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35922 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35924 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35925 of the non-standard EPFNOSUPPORT.
35927 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35929 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35930 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35931 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35933 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35935 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35937 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35939 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35941 * nscd/grpcache.c (cache_addgr): Likewise.
35942 * nscd/hstcache.c (cache_addhst): Likewise.
35943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35944 * nscd/pwdcache.c (cache_addpw): Likewise.
35945 * nscd/servicescache.c (cache_addserv): Likewise.
35947 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35949 * malloc/malloc.c: Various cleanups.
35950 * malloc/hooks.c: Likewise.
35952 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35953 * stdlib/bug-fmtmsg1.c: New file.
35955 * stdlib/fmtmsg.c (init): Add missing unlock.
35956 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35958 2012-01-12 Marek Polacek <polacek@redhat.com>
35960 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35963 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35965 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35966 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35967 macro to ensure uniqueness of label name.
35968 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35969 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35971 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35973 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35975 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35976 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35977 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35980 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35982 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35984 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35985 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35986 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35988 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35990 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35991 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35992 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35995 * math/bits/math-finite.h: Add ldexp support.
35997 2012-01-10 Marek Polacek <polacek@redhat.com>
35999 * locale/programs/localedef.h (show_archive_content): Add noreturn
36002 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36004 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36006 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36008 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36010 * io/Makefile (headers): Add bits/poll2.h.
36012 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36015 typo #include statement.
36017 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36019 * include/sys/cdefs.h: Define __attribute_alloc_size.
36020 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36021 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36022 * elf/pldd.c: Likewise.
36023 * iconv/iconv_charmap.c: Likewise.
36024 * iconv/iconvconfig.c: Likewise.
36025 * iconv/strtab.c: Likewise.
36026 * locale/programs/locale.c: Likewise.
36027 * locale/programs/localedef.h: Likewise.
36028 * locale/programs/simple-hash.c: Likewise.
36029 * nscd/nscd.h: Likewise.
36030 * nss/makedb.c: Likewise.
36031 * sysdeps/generic/ldconfig.h: Likewise.
36032 * locale/programs/localedef.c: Remove xmalloc prototype.
36033 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36035 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36037 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36040 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36042 * math/Makefile (tests): Add tst-CMPLX.
36043 * math/tst-CMPLX.c: New file.
36045 * math/complex.h (CMPLXL): Fix typo.
36047 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36048 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36050 * debug/tst-chk1.c: Add poll and ppoll tests.
36051 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36052 * include/sys/poll.h: Add hidden proto for ppoll.
36053 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36054 * sysdeps/mach/hurd/ppoll.c: Likewise.
36055 * io/ppoll.c: Likewise.
36056 * debug/poll_chk.c: New file.
36057 * debug/ppoll_chk.c: New file.
36058 * include/bits/poll2.h: New file.
36059 * io/bits/poll2.h: New file.
36062 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36064 * configure.in: static is always set to yes. Remove.
36065 * config.make.in: Don't set build-static.
36066 * Makeconfig: Remove use of build-static.
36067 * dlfcn/Makefile: Likewise.
36068 * elf/Makefile: Likewise.
36069 * math/Makefile: Likewise.
36070 * misc/Makefile: Likewise.
36071 * nptl/Makefile: Likewise.
36072 * sysdeps/mach/hurd/Makefile: Likewise.
36074 * configure.in: PWD_P is not used anymore.
36075 * config.make.in: Remove PWD_P entry.
36077 * configure.in: Remove last remnants of RANLIB.
36078 No need to check for signed size_t anymore.
36079 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36081 Remove __builtin_expect test because we require at least gcc 3.4.
36082 * aclocal.m4: Likewise.
36084 * wcsmbs/mbrtoc16.c: Implement using towc function.
36085 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36086 * wcsmbs/wcsmbsload.c: Likewise.
36087 * iconv/gconv_simple.c: Likewise.
36088 * iconv/gconv_int.h: Likewise.
36089 * iconv/gconv_builtin.h: Likewise.
36090 * iconv/iconv_prog.c: Remove CHAR16 handling.
36092 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36094 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36096 * configure.in: Remove --with-elf and --enable-bounded options.
36097 Dont set base_machine for ia64. More non-ELF conditions removed.
36098 Remove testing and setting of leading underscore information.
36099 * config.make.in (build-bounded): Set to no.
36100 * config.h.in: Remove NO_UNDERSCORES entry.
36101 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36103 * csu/start.c: Remove !NO_UNDERSCORE code.
36104 * locale/localeinfo.h: Likewise.
36105 * sysdeps/generic/machine-gmon.h: Likewise.
36106 * sysdeps/generic/sysdep.h: Likewise.
36107 * sysdeps/i386/sysdep.h: Likewise.
36108 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36109 * sysdeps/mach/sysdep.h: Likewise.
36110 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36111 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36112 * sysdeps/sh/sysdep.h: Likewise.
36113 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36114 * sysdeps/unix/i386/sysdep.S: Likewise.
36115 * sysdeps/unix/sparc/start.c: Likewise.
36116 * sysdeps/unix/sparc/sysdep.S: Likewise.
36117 * sysdeps/unix/sparc/sysdep.h: Likewise.
36118 * sysdeps/unix/start.c: Likewise.
36119 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36120 * sysdeps/x86_64/sysdep.h: Likewise.
36122 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36125 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36127 * argp/argp-fmtstream.h: Use const instead __const.
36128 * argp/argp.h: Likewise.
36129 * assert/assert.h: Likewise.
36130 * bits/fenv.h: Likewise.
36131 * bits/sched.h: Likewise.
36132 * bits/sigset.h: Likewise.
36133 * bits/sigthread.h: Likewise.
36134 * catgets/nl_types.h: Likewise.
36135 * conform/data/pthread.h-data: Likewise.
36136 * crypt/crypt-private.h: Likewise.
36137 * crypt/crypt.h: Likewise.
36138 * crypt/crypt_util.c: Likewise.
36139 * ctype/ctype.h: Likewise.
36140 * debug/execinfo.h: Likewise.
36141 * debug/mbsnrtowcs_chk.c: Likewise.
36142 * debug/mbsrtowcs_chk.c: Likewise.
36143 * debug/wcsnrtombs_chk.c: Likewise.
36144 * debug/wcsrtombs_chk.c: Likewise.
36145 * debug/wcstombs_chk.c: Likewise.
36146 * dirent/dirent.h: Likewise.
36147 * dlfcn/dlfcn.h: Likewise.
36148 * elf/neededtest4.c: Likewise.
36149 * grp/grp.h: Likewise.
36150 * gshadow/gshadow.h: Likewise.
36151 * iconv/gconv.h: Likewise.
36152 * iconv/gconv_int.h: Likewise.
36153 * iconv/gconv_simple.c: Likewise.
36154 * iconv/iconv.h: Likewise.
36155 * iconv/loop.c: Likewise.
36156 * iconv/skeleton.c: Likewise.
36157 * include/aio.h: Likewise.
36158 * include/aliases.h: Likewise.
36159 * include/argz.h: Likewise.
36160 * include/arpa/inet.h: Likewise.
36161 * include/assert.h: Likewise.
36162 * include/dirent.h: Likewise.
36163 * include/dlfcn.h: Likewise.
36164 * include/execinfo.h: Likewise.
36165 * include/fcntl.h: Likewise.
36166 * include/fenv.h: Likewise.
36167 * include/glob.h: Likewise.
36168 * include/grp.h: Likewise.
36169 * include/libintl.h: Likewise.
36170 * include/mntent.h: Likewise.
36171 * include/netdb.h: Likewise.
36172 * include/pwd.h: Likewise.
36173 * include/rpc/netdb.h: Likewise.
36174 * include/sched.h: Likewise.
36175 * include/search.h: Likewise.
36176 * include/shadow.h: Likewise.
36177 * include/signal.h: Likewise.
36178 * include/stdio.h: Likewise.
36179 * include/stdlib.h: Likewise.
36180 * include/string.h: Likewise.
36181 * include/sys/socket.h: Likewise.
36182 * include/sys/stat.h: Likewise.
36183 * include/sys/statfs.h: Likewise.
36184 * include/sys/statvfs.h: Likewise.
36185 * include/sys/syslog.h: Likewise.
36186 * include/sys/time.h: Likewise.
36187 * include/sys/uio.h: Likewise.
36188 * include/time.h: Likewise.
36189 * include/unistd.h: Likewise.
36190 * include/utmp.h: Likewise.
36191 * include/wchar.h: Likewise.
36192 * include/wctype.h: Likewise.
36193 * inet/aliases.h: Likewise.
36194 * inet/arpa/inet.h: Likewise.
36195 * inet/netinet/ether.h: Likewise.
36196 * inet/netinet/in.h: Likewise.
36197 * intl/libintl.h: Likewise.
36198 * io/bits/fcntl2.h: Likewise.
36199 * io/fcntl.h: Likewise.
36200 * io/ftw.h: Likewise.
36201 * io/sys/poll.h: Likewise.
36202 * io/sys/stat.h: Likewise.
36203 * io/sys/statfs.h: Likewise.
36204 * io/sys/statvfs.h: Likewise.
36205 * io/utime.h: Likewise.
36206 * libio/bits/stdio.h: Likewise.
36207 * libio/bits/stdio2.h: Likewise.
36208 * libio/libio.h: Likewise.
36209 * libio/libioP.h: Likewise.
36210 * libio/stdio.h: Likewise.
36211 * locale/lc-ctype.c: Likewise.
36212 * locale/locale.h: Likewise.
36213 * login/utmp.h: Likewise.
36214 * malloc/arena.c: Likewise.
36215 * malloc/malloc.c: Likewise.
36216 * malloc/malloc.h: Likewise.
36217 * malloc/mcheck.c: Likewise.
36218 * malloc/mtrace.c: Likewise.
36219 * math/bits/mathcalls.h: Likewise.
36220 * math/fenv.h: Likewise.
36221 * math/math_private.h: Likewise.
36222 * misc/bits/error.h: Likewise.
36223 * misc/bits/syslog.h: Likewise.
36224 * misc/err.h: Likewise.
36225 * misc/error.h: Likewise.
36226 * misc/fstab.h: Likewise.
36227 * misc/mntent.h: Likewise.
36228 * misc/regexp.h: Likewise.
36229 * misc/search.h: Likewise.
36230 * misc/sgtty.h: Likewise.
36231 * misc/sys/mman.h: Likewise.
36232 * misc/sys/syslog.h: Likewise.
36233 * misc/sys/uio.h: Likewise.
36234 * misc/sys/xattr.h: Likewise.
36235 * misc/ttyent.h: Likewise.
36236 * nis/rpcsvc/ypclnt.h: Likewise.
36237 * nss/nss.h: Likewise.
36238 * posix/bits/unistd.h: Likewise.
36239 * posix/fnmatch.h: Likewise.
36240 * posix/glob.h: Likewise.
36241 * posix/sched.h: Likewise.
36242 * posix/spawn.h: Likewise.
36243 * posix/sys/wait.h: Likewise.
36244 * posix/unistd.h: Likewise.
36245 * posix/wordexp.h: Likewise.
36246 * pwd/pwd.h: Likewise.
36247 * resolv/netdb.h: Likewise.
36248 * resource/sys/resource.h: Likewise.
36249 * rt/aio.h: Likewise.
36250 * rt/bits/mqueue2.h: Likewise.
36251 * rt/mqueue.h: Likewise.
36252 * shadow/shadow.h: Likewise.
36253 * signal/signal.h: Likewise.
36254 * socket/send.c: Likewise.
36255 * socket/sendto.c: Likewise.
36256 * socket/sys/socket.h: Likewise.
36257 * stdio-common/printf.h: Likewise.
36258 * stdlib/bits/stdlib.h: Likewise.
36259 * stdlib/fmtmsg.h: Likewise.
36260 * stdlib/monetary.h: Likewise.
36261 * stdlib/stdlib.h: Likewise.
36262 * stdlib/ucontext.h: Likewise.
36263 * streams/stropts.h: Likewise.
36264 * string/argz.h: Likewise.
36265 * string/bits/string2.h: Likewise.
36266 * string/string.h: Likewise.
36267 * string/strings.h: Likewise.
36268 * sunrpc/rpc/auth.h: Likewise.
36269 * sunrpc/rpc/auth_des.h: Likewise.
36270 * sunrpc/rpc/clnt.h: Likewise.
36271 * sunrpc/rpc/netdb.h: Likewise.
36272 * sunrpc/rpc/pmap_clnt.h: Likewise.
36273 * sunrpc/rpc/xdr.h: Likewise.
36274 * sysdeps/generic/inttypes.h: Likewise.
36275 * sysdeps/generic/net/if.h: Likewise.
36276 * sysdeps/generic/sys/swap.h: Likewise.
36277 * sysdeps/gnu/net/if.h: Likewise.
36278 * sysdeps/gnu/utmpx.h: Likewise.
36279 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36280 * sysdeps/i386/i486/bits/string.h: Likewise.
36281 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36282 * sysdeps/s390/bits/string.h: Likewise.
36283 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36284 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36285 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36286 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36287 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36288 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36289 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36290 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36291 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36292 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36293 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36294 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36295 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36296 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36297 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36298 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36299 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36301 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36303 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36305 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36306 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36307 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36308 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36309 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36311 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36312 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36313 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36314 * sysvipc/sys/ipc.h: Likewise.
36315 * sysvipc/sys/msg.h: Likewise.
36316 * sysvipc/sys/sem.h: Likewise.
36317 * sysvipc/sys/shm.h: Likewise.
36318 * termios/termios.h: Likewise.
36319 * time/sys/time.h: Likewise.
36320 * time/time.h: Likewise.
36321 * wcsmbs/bits/wchar2.h: Likewise.
36322 * wcsmbs/uchar.h: Likewise.
36323 * wcsmbs/wchar.h: Likewise.
36324 * wctype/wctype.h: Likewise.
36327 * Makeconfig: Remove all but ELF support including AIX support.
36328 * Makerules: Likewise.
36329 * config.h.in: Likewise.
36330 * config.make.in: Likewise.
36331 * configure: Likewise.
36332 * configure.in: Likewise.
36333 * csu/Makefile: Likewise.
36334 * csu/version.c: Likewise.
36335 * debug/Makefile: Likewise.
36336 * dlfcn/Makefile: Likewise.
36337 * elf/Makefile: Likewise.
36338 * extra-lib.mk: Likewise.
36339 * iconv/Makefile: Likewise.
36340 * include/libc-symbols.h: Likewise.
36341 * include/shlib-compat.h: Likewise.
36342 * resolv/Makefile: Likewise.
36343 * resolv/res_libc.c: Likewise.
36344 * rt/Makefile: Likewise.
36345 * sysdeps/i386/asm-syntax.h: Likewise.
36346 * sysdeps/i386/sysdep.h: Likewise.
36347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36348 * sysdeps/mach/sysdep.h: Likewise.
36349 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36350 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36351 * sysdeps/s390/asm-syntax.h: Likewise.
36352 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36353 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36354 * sysdeps/sh/sysdep.h: Likewise.
36355 * sysdeps/unix/sparc/sysdep.h: Likewise.
36356 * sysdeps/wordsize-32/divdi3.c: Likewise.
36357 * sysdeps/x86_64/sysdep.h: Likewise.
36359 * argp/Versions: Remove _argp_unlock_xxx.
36362 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36363 * abilist/libBrokenLocale.abilist: Likewise.
36364 * abilist/libanl.abilist: Likewise.
36365 * abilist/libc.abilist: Likewise.
36366 * abilist/libcrypt.abilist: Likewise.
36367 * abilist/libdl.abilist: Likewise.
36368 * abilist/libm.abilist: Likewise.
36369 * abilist/libnsl.abilist: Likewise.
36370 * abilist/libpthread.abilist: Likewise.
36371 * abilist/libresolv.abilist: Likewise.
36372 * abilist/librt.abilist: Likewise.
36373 * abilist/libthread_db.abilist: Likewise.
36374 * abilist/libutil.abilist: Likewise.
36375 * abilist/libnss_db.abilist: New file.
36377 * scripts/abilist.awk: Add support for indirect functions.
36379 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36381 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36383 * shlib-versions: Remove entries for ports architectures.
36385 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36387 * elf/stackguard-macros.h: Remove support for IA-64.
36388 * elf/tst-auditmod1.c: Likewise.
36389 * sysdeps/generic/ldsodefs.h: Likewise.
36391 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36392 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36396 * configure.in: Remove --enable-omitfp support.
36398 * config.make.in: Likewise.
36399 * Makeconfig: Likewise.
36400 * manual/install.texi: Likewise.
36402 In case anyone cares, the IA-64 architecture could move to ports.
36403 * sysdeps/ia64/*: Removed.
36404 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36405 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36408 * configure.in: Remove entries for unsupported architectures.
36411 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36412 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36414 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36415 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36416 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36417 fall back to using wcrtomb.
36418 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36419 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36421 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36422 * wcsmbs/tst-c16c32-1.c: New file.
36424 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36427 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36429 * elf/tst-unique3.cc: Add explicit declaration of gets.
36430 * elf/tst-unique3lib.cc: Likewise.
36431 * elf/tst-unique3lib2.cc: Likewise.
36432 * elf/tst-unique4.cc: Likewise.
36434 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36436 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36439 * assert/assert.h (static_assert): Don't define for C++.
36440 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36441 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36443 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36445 * iconv/loop.c (single loop): Fix assertion in storing of
36448 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36450 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36452 * posix/getconf.c: Update copyright year.
36453 * nss/getent.c: Likewise.
36454 * nss/makedb.c: Likewise.
36455 * iconv/iconvconfig.c: Likewise.
36456 * iconv/iconv_prog.c: Likewise.
36457 * elf/ldconfig.c: Likewise.
36458 * elf/pldd.c: Likewise.
36459 * elf/sotruss.ksh: Likewise.
36460 * catgets/gencat.c: Likewise.
36461 * csu/version.c: Likewise.
36462 * elf/ldd.bash.in: Likewise.
36463 * elf/sprof.c (print_version): Likewise.
36464 * locale/programs/locale.c: Likewise.
36465 * locale/programs/localedef.c: Likewise.
36466 * login/programs/pt_chown.c: Likewise.
36467 * nscd/nscd.c (print_version): Likewise.
36468 * debug/xtrace.sh: Likewise.
36469 * malloc/memusage.sh: Likewise.
36470 * malloc/mtrace.pl: Likewise.
36471 * debug/catchsegv.sh: Likewise.
36473 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36475 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36478 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36481 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36482 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36484 * iconv/gconv_int.h: Likewise.
36485 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36486 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36487 from libc for GLIBC_2.16.
36488 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36489 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36490 * wcsmbs/uchar.h: Really define mbstate_t.
36491 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36492 * wcsmbs/c16rtomb.c: New file.
36493 * wcsmbs/mbrtoc16.c: New file.
36494 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36495 for C/POSIX locale.
36496 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36497 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36499 * wcsmbs/wchar.h: Add missing __restrict.
36501 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36504 * time/Makefile (routines): Add timespec_get.
36505 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36506 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36507 timespec for ISO C11.
36508 * time/timespec_get.c: New file.
36509 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36510 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36513 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36514 * stdlib/stdlib.h: Declare aligned_alloc.
36515 * Versions.def: Add GLIBC_2.16 for libc.
36516 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36519 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36522 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36526 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36529 * assert/assert.h (static_assert): Define.
36531 * version.h: Update for 2.16 development version.
36534 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36537 * version.h (RELEASE): Bump for 2.15 release.
36538 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36540 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36541 Patch by Marek Polacek <mpolacek@redhat.com>.
36543 * bits/byteswap.h: Protect long long constants with __extension__.
36544 * sysdeps/i386/bits/byteswap.h: Likewise.
36545 * sysdeps/ia64/bits/byteswap.h: Likewise.
36546 * sysdeps/s390/bits/byteswap.h: Likewise.
36547 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36549 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36553 destination buffer.
36554 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36556 2011-12-23 Marek Polacek <polacek@redhat.com>
36558 * elf/dl-addr.c (determine_info): Add inline keyword.
36559 * elf/tst-auditmod4b.c (check_avx): Likewise.
36560 * elf/tst-auditmod6b.c (check_avx): Likewise.
36561 * elf/tst-auditmod6c.c (check_avx): Likewise.
36562 * elf/tst-auditmod7b.c (check_avx): Likewise.
36564 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36566 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36569 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36572 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36573 processing for last bytes.
36575 2011-08-06 Bruno Haible <bruno@clisp.org>
36578 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36579 U+0385, not to U+1FEE.
36582 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36583 entry for U+00A5 U+0301.
36585 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36588 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36589 buffer for the output is too small.
36591 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36595 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36596 SSE flags if possible.
36598 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36602 processing for last bytes.
36604 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36606 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36607 (syscall-list-default-options, syscall-list-default-condition)
36608 (syscall-list-includes): Define.
36609 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36610 list of ABIs and options and #if conditions for each ABI. Do not
36611 handle common syscalls between ABIs specially.
36612 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36614 (syscall-list-variants, syscall-list-32bit-options)
36615 (syscall-list-32bit-condition, syscall-list-64bit-options)
36616 (syscall-list-64bit-condition): Define.
36617 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36618 (syscall-list-variants, syscall-list-32bit-options)
36619 (syscall-list-32bit-condition, syscall-list-64bit-options)
36620 (syscall-list-64bit-condition): Define.
36621 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36623 (syscall-list-variants, syscall-list-32bit-options)
36624 (syscall-list-32bit-condition, syscall-list-64bit-options)
36625 (syscall-list-64bit-condition): Define.
36626 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36628 (syscall-list-variants, syscall-list-32bit-options)
36629 (syscall-list-32bit-condition, syscall-list-64bit-options)
36630 (syscall-list-64bit-condition): Define.
36632 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36634 * locale/iso-639.def: Add brx entry.
36637 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36638 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36640 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36641 __feraiseexcept_renamed.
36643 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36646 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36647 EPOLLET with unsigned values.
36648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36649 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36651 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36652 to large cancellation.
36653 * math/s_cacoshf.c: Likewise.
36654 * math/s_cacoshl.c: Likewise.
36656 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36660 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36661 * math/s_cacoshf.c: Likewise.
36662 * math/s_cacoshl.c: Likewise.
36664 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36667 * iconv/gconv.h: Define __GCONV_SWAP.
36668 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36669 * iconvdata/utf-16.c: Likewise.
36670 * iconvdata/utf-32.c: Likewise.
36672 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36676 numerator after shifting it by one limb.
36678 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36680 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36681 under [__USE_EXTERN_INLINES].
36683 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36686 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36688 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36690 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36691 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36693 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36694 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36695 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36696 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36697 for strncasecmp/strncasecmp_l compilation.
36698 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36699 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36701 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36704 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36707 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36710 * time/tzfile.c (__tzfile_read): Check values from file header.
36712 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36714 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36715 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36716 * powerpc/powerpc32/dl-start.S: Likewise.
36717 * powerpc/powerpc32/elf/start.S: Likewise.
36718 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36719 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36720 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36721 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36722 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36723 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36724 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36725 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36726 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36727 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36728 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36729 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36730 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36731 * powerpc/powerpc32/memset.S: Likewise.
36732 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36733 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36734 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36735 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36736 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36737 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36738 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36739 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36740 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36741 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36742 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36743 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36744 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36746 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36748 * math/libm-test.inc: Added more nearbyint tests.
36749 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36754 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36756 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36759 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36761 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36762 Add wcscpy-ssse3 wcscpy-c.
36763 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36764 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36765 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36766 * sysdeps/x86_64/wcschr.S: New file.
36767 * sysdeps/x86_64/wcsrchr.S: New file.
36768 * string/test-strcmp.c: Remove checking of wcscmp function for
36770 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36771 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36772 wcsrchr-sse2 wcsrchr-c.
36773 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36774 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36775 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36776 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36777 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36778 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36779 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36780 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36781 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36782 * wcsmbc/wcschr.c (WCSCHR): New macro.
36784 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36786 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36787 * wcsmbs/test-wcsrchr.c: New file.
36788 * string/test-strrchr.c: Add wcsrchr support.
36790 * wcsmbs/test-wcscpy.c: New file.
36791 * string/test-strcpy.c: Add wcscpy support.
36794 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36799 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36802 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36804 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36806 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36807 Minor optimizations.
36809 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36810 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36811 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36813 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36815 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36816 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36817 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36818 for gcc to avoid warnings.
36819 * inet/Makefile (tests): Add tst-checks.
36820 * inet/tst-checks.c: New file.
36822 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36825 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36828 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36829 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36831 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36833 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36835 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36838 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36840 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36842 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36843 conditional on GCC version.
36844 (__arch_compare_and_exchange_val_8_acq)
36845 (__arch_compare_and_exchange_val_16_acq)
36846 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36847 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36848 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36850 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36852 * sysdeps/sh/backtrace.c: New file.
36854 2011-12-02 Andreas Schwab <schwab@redhat.com>
36856 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36859 2011-12-01 Andreas Schwab <schwab@redhat.com>
36861 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36862 falling back to utime.
36864 2011-11-30 Andreas Schwab <schwab@redhat.com>
36866 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36867 expectations for float.
36869 2011-11-29 Andreas Schwab <schwab@redhat.com>
36871 * locale/weight.h (findidx): Add parameter len.
36872 * locale/weightwc.h (findidx): Likewise.
36873 * posix/fnmatch_loop.c (FCT): Adjust caller.
36874 * posix/regcomp.c (build_equiv_class): Likewise.
36875 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36876 * posix/regexec.c (check_node_accept_bytes): Likewise.
36877 * string/strcoll_l.c (STRCOLL): Likewise.
36878 * string/strxfrm_l.c (STRXFRM): Likewise.
36880 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36882 * Makefile.in: Remove CVSOPT handling.
36883 * configure.in: Remove use of AC_REVISION.
36884 * iconvdata/Makefile (distribute): No need to filter out CVS.
36885 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36888 2011-11-16 Andreas Schwab <schwab@redhat.com>
36890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36891 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36892 [USE_AS_STRNCASECMP_L]: Likewise.
36893 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36894 NO_TLS_DIRECT_SEG_REFS.
36895 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36896 Fix argument offsets for non-PIC.
36897 [USE_AS_STRNCASECMP_L]: Likewise.
36898 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36899 NO_TLS_DIRECT_SEG_REFS.
36901 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36903 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36905 * locale/loadlocale.c (_nl_load_locale): Likewise.
36907 2011-11-15 Andreas Schwab <schwab@redhat.com>
36909 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36910 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36911 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36912 (SYSCALL_GETTIME): Set errno on error.
36914 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36915 count references to noai6ai_cached.
36917 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36919 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36921 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36922 FD_CLOEXEC for /proc/self/maps.
36924 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36925 FD_CLOEXEC for /proc/meminfo.
36927 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36930 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36931 FD_CLOEXEC for given file.
36933 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36935 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36936 FD_CLOEXEC for /etc/hosts.
36937 (_gethtent): Likewise.
36939 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36941 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36942 cancellation and set FD_CLOEXEC for /etc/netgroup.
36944 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36945 reading /etc/publickey.
36947 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36948 allow cancellation when reading /etc/group.
36950 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36952 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36954 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36955 when using data file.
36957 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36959 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36960 (write_nis_obj): Use "c" and "e" in fopen.
36962 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36964 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36966 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36968 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36970 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36973 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36975 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36977 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36979 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36980 file parsing and set FD_CLOEXEC.
36982 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36984 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36986 2011-11-14 Andreas Schwab <schwab@redhat.com>
36988 * malloc/arena.c (arena_get2): Don't call reused_arena when
36989 _int_new_arena failed.
36991 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36993 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36994 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36997 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36999 to compile strcasecmp and strncasecmp.
37000 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37001 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37005 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37007 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37008 locale-defines.sym to gen-as-const-headers.
37009 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37010 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37012 to compile strcasecmp and strncasecmp.
37013 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37014 strcasecmp_l and strncasecmp_l.
37015 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37016 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37017 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37018 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37019 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37020 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37021 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37022 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37023 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37024 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37025 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37027 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37029 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37030 result of SYSDEP_GETTIME_CPU to retval.
37031 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37032 parameter list to macro. Remove trailing semicolon. Adjust users.
37034 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37037 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37039 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37041 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37042 from unused variable.
37044 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37046 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37049 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37052 * sunrpc/rpc_prot.c (rejected): Fix case value.
37054 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37055 unsigned long long int to avoid warnings in shift.
37057 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37059 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37062 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37063 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37064 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37066 * nis/nis_table.c (nis_list): Use variable of correct type for
37067 result of __follow_path call.
37069 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37071 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37072 of math functions ceil, trunc, floor, round, and sqrt, when
37073 avaliable on the platform.
37074 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37076 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37077 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37078 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37080 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37082 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37083 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37085 2011-11-11 Roland McGrath <roland@hack.frob.com>
37087 * include/unistd.h: Fix __readlink return type.
37088 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37090 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37092 * stdlib/ucontext.h: Undo last change for makecontext.
37094 2011-11-11 Andreas Schwab <schwab@redhat.com>
37096 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37098 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37099 * setjmp/setjmp.h: Mark functions as non-leaf.
37100 * setjmp/bits/setjmp2.h: Likewise.
37101 * stdlib/ucontext.h: Likewise.
37103 2011-11-10 Andreas Schwab <schwab@redhat.com>
37105 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37106 (reused_arena): Don't check arena limit.
37107 (arena_get2): Atomically check arena limit.
37109 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37111 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37112 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37117 2011-11-07 Andreas Schwab <schwab@redhat.com>
37119 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37120 handler when locking.
37122 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37123 Fix size of allocated buffer.
37125 2011-11-04 Andreas Schwab <schwab@redhat.com>
37128 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37129 declarations for long double functions.
37130 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37132 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37134 2011-11-03 Andreas Schwab <schwab@redhat.com>
37136 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37139 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37142 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37144 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37146 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37148 * include/alloca.h (stackinfo_alloca_round): Define.
37149 (extend_alloca): Use it.
37150 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37151 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37154 * scripts/check-local-headers.sh: Ignore libaudit.h.
37156 * nscd/Makefile (extra-objs): Make recursively expanded.
37158 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37160 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37161 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37163 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37164 * posix/tst-rfc3484-2.c: Likewise.
37165 * posix/tst-rfc3484-3.c: Likewise.
37167 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37169 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37171 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37172 process_vm_writev from libc using GLIBC_2.15 version.
37174 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37176 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37178 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37181 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37184 * nss/getent.c (initgroups_keys): Show error message in case no group
37187 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37188 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37189 __bump_nl_timestamp.
37190 * nscd/connections (nscd_init): When host database is served open
37191 netlink socket and request notification about configuration changes.
37192 (main_loop_poll): Track netlink file descriptor and bump timestamp
37193 in case data becomes available.
37194 (main_loop_epoll): Likewise.
37195 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37196 (database_pers_head): Add extra_data fileds.
37197 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37198 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37199 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37202 in6ai data, call __free_in6ai.
37203 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37204 Add -DHAVE_NETLINK.
37205 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37206 interface information. Reuse previous data if netlink timestamp
37208 (__bump_nl_timestamp): New function.
37209 (__free_in6ai): New function.
37211 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37214 close_not_cancel_no_status here.
37215 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37217 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37220 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37223 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37224 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37225 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37227 2011-07-03 Andreas Jaeger <aj@suse.de>
37230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37231 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37232 * math/libm-test.inc (sin_test): Add test case.
37234 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37237 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37238 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37240 * elf/chroot_canon.c (chroot_canon): Cleanups.
37242 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37245 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37246 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37248 * string/test-strchr.c: Make usable for strchrnul testing.
37249 * string/test-strchrnul.c: New file.
37250 * string/Makefile (strop-tests): Add strchrnul.
37252 * po/it.po: Update from translation team.
37253 * po/es.po: Likewise.
37255 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37257 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37258 the three constants needed as parameters. Drop the others.
37259 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37260 __m128i_strloadu_tolower.
37261 Create and initialize variable zero and use it in all the places
37262 where _mm_setzero_si128 was used.
37264 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37265 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37266 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37267 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37269 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37270 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37271 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37272 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37273 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37274 __mpranred, __mptan.
37275 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37276 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37277 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37278 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37279 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37280 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37282 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37283 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37285 2011-10-28 Andreas Schwab <schwab@redhat.com>
37287 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37288 redefine if SHARED.
37289 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37292 wide char related routines to wcsmbs subdir.
37294 2011-10-27 Andreas Schwab <schwab@redhat.com>
37297 * misc/sys/cdefs.h (__THROWNL): Define.
37298 * posix/unistd.h: Use __THREADNL instead of __THREAD
37299 for memory synchronization functions.
37301 2011-10-26 Roland McGrath <roland@hack.frob.com>
37304 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37306 * manual/stdio.texi (Obstack Streams): Node removed.
37308 2011-10-26 Andreas Schwab <schwab@redhat.com>
37310 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37312 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37314 * math/math_private.h (math_force_eval): Allow non-addressable
37316 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37318 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37320 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37321 file is not needed.
37323 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37326 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37327 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37328 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37329 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37330 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37332 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37333 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37334 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37335 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37336 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37337 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37338 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37339 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37340 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37341 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37342 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37343 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37344 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37345 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37346 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37347 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37348 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37349 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37350 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37352 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37353 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37355 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37356 place. Use VEX encoding when compiling for AVX.
37358 2011-10-25 Andreas Schwab <schwab@redhat.com>
37360 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37361 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37363 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37365 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37367 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37368 useless if() expression.
37369 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37370 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37371 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37373 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37375 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37377 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37378 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37379 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37380 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37381 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37382 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37383 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37384 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37389 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37391 2011-10-25 Andreas Schwab <schwab@redhat.com>
37393 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37395 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37397 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37399 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37400 .text section. Avoid duplicate constants.
37401 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37409 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37410 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37411 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37412 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37413 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37414 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37415 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37417 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37418 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37421 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37422 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37423 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37424 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37425 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37426 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37427 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37428 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37429 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37430 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37431 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37432 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37433 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37434 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37435 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37436 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37437 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37438 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37439 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37440 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37441 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37442 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37443 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37444 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37445 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37447 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37449 * sysdeps/x86_64/dla.h: Move to ...
37450 * sysdeps/x86_64/fpu/dla.h: ...here.
37451 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37452 situations. Use __builtin_fma only for gcc 4.6 and up.
37454 * config.make.in: Add have-mfma4 entry.
37455 * configure.in: Substitute libc_cv_cc_fma4.
37456 * math/Makefile (dbl-only-routines): Add sincostab.
37457 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37458 Use __sincostab not sincos.
37459 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37461 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37466 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37467 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37468 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37469 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37471 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37472 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37474 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37475 define aliases when function name is a macro.
37476 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37477 sysdeps/ieee754/dbl-64/sincos.tbl.
37478 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37479 fma4-enabled routines.
37480 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37481 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37482 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37483 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37485 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37486 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37487 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37488 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37489 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37490 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37491 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37492 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37493 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37494 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37495 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37496 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37497 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37498 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37499 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37500 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37501 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37502 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37503 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37505 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37506 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37507 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37508 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37509 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37511 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37522 2011-10-24 Andreas Schwab <schwab@redhat.com>
37524 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37526 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37528 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37530 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37532 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37534 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37535 Remove unused variable magic_bits.
37536 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37538 * string/strnlen.c: Define and use STRNLEN macro.
37539 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37540 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37542 * wcsmbs/wcslen.c: Define and use WCSLEN.
37543 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37544 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37545 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37546 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37547 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37548 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37549 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37551 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37554 strnlen-sse2-no-bsf.
37555 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37557 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37558 Add strnlen support.
37559 (USE_AS_STRNLEN): New macro.
37560 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37561 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37562 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37563 * sysdeps/x86_64/wcslen.S: New file.
37565 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37567 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37568 XMM-moves are used for copying on small sizes.
37570 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37572 * wcsmbs/Makefile (strop-tests): Add wcschr.
37573 * wcsmbs/test-wcschr.c: New file.
37574 * string/test-strchr.c: Update.
37575 Add wcschr support.
37578 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37580 * wcsmbs/Makefile (strop-tests): Add wcslen.
37581 * wcsmbs/test-wcslen.c: New file.
37582 * string/test-strlen.c: Update.
37583 Add wcslen support.
37586 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37588 * po/it.po: Update from translation team.
37590 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37592 * sysdeps/x86_64/wcscmp.S: Update.
37593 Fix wrong comparison semantics.
37594 wcscmp shall use signed comparison not unsigned.
37595 Don't use substraction to avoid overflow bug.
37596 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37597 * wcsmbc/wcscmp.c: Likewise.
37598 * string/test-strcmp.c: Likewise.
37599 Add new tests to check cases with negative values.
37601 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37603 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37604 * sysdeps/x86_64/dla.h: ...here. New file.
37605 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37615 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37618 __ynl_finite aliases.
37620 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37624 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37626 [DLA_FMA] (EMULV): Use DLA_FMA.
37627 [DLA_FMA] (MUL12): Use EMULV.
37628 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37629 that are not needed.
37630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37638 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37640 * math/s_nan.c: Undef __nan.
37641 * math/s_nanf.c: Undef __nanf.
37642 * math/s_nanl.c: Undef __nanl.
37643 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37646 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37648 * math/s_catan.c: Add branch predictions.
37649 * math/s_catanf.c: Likewise.
37650 * math/s_catanh.c: Likewise.
37651 * math/s_catanhf.c: Likewise.
37652 * math/s_catanhl.c: Likewise.
37653 * math/s_catanl.c: Likewise.
37654 * math/s_cexp.c: Likewise.
37655 * math/s_cexpf.c: Likewise.
37656 * math/s_cexpl.c: Likewise.
37657 * math/s_clog.c: Likewise.
37658 * math/s_clog10.c: Likewise.
37659 * math/s_clog10f.c: Likewise.
37660 * math/s_clog10l.c: Likewise.
37661 * math/s_clogf.c: Likewise.
37662 * math/s_clogl.c: Likewise.
37663 * math/s_csqrt.c: Likewise.
37664 * math/s_csqrtf.c: Likewise.
37665 * math/s_csqrtl.c: Likewise.
37666 * math/s_ctanf.c: Likewise.
37667 * math/s_ctanh.c: Likewise.
37668 * math/s_ctanhf.c: Likewise.
37669 * math/s_ctanhl.c: Likewise.
37670 * math/s_ctanl.c: Likewise.
37672 * math/math_private.h: Define __nan, __nanf, __nanl.
37673 * math/s_cacosh.c: Include <math_private.h>.
37674 * math/s_cacoshl.c: Likewise.
37675 * math/s_casinh.c: Likewise.
37676 * math/s_casinhf.c: Likewise.
37677 * math/s_casinhl.c: Likewise.
37678 * math/s_ccos.c: Rely entire on ccosh.
37679 * math/s_ccosf.c: Rely entire on ccoshf.
37680 * math/s_ccosl.c: Rely entirely on ccoshl.
37681 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37682 Remove tests for FE_INVALID.
37683 * math/s_ccoshf.c: Likewise.
37684 * math/s_ccoshl.c: Likewise.
37685 * math/s_csin.c: Likewise.
37686 * math/s_csinf.c: Likewise.
37687 * math/s_csinh.c Likewise.
37688 * math/s_csinhf.c: Likewise.
37689 * math/s_csinhl.c: Likewise.
37690 * math/s_csinl.c: Likewise.
37691 * math/s_ctan.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37693 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37694 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37696 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37699 compilation problems.
37701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37704 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37706 * sysdeps/i386/configure.in: Test for -mfma4 option.
37707 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37708 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37709 COMMON_CPUID_INDEX_80000001.
37710 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37711 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37712 use it if FMA3 is not supported.
37713 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37715 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37716 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37718 2011-10-20 Andreas Schwab <schwab@redhat.com>
37721 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37722 it would create a cycle with a link time dependency.
37724 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37726 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37728 * string/Makefile (strop-tests): Add rawmemchr.
37729 * string/test-rawmemchr.c: New file.
37731 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37733 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37734 when compiling str{,n}casecmp and when AVX is available. Hook up
37735 new optimized code in initializers.
37737 2011-10-19 Andreas Schwab <schwab@redhat.com>
37739 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37740 __feraiseexcept instead of feraiseexcept.
37742 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37744 * math/math_private.h: Define defaults for libc_fetestexcept and
37746 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37747 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37748 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37749 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37750 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37751 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37752 libc_fetestexcept and libc_feupdateenv.
37754 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37755 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37756 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37757 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37758 libc_feholdexcept_setround.
37760 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37761 Add s_nearbyint-c and s_nearbyintf-c.
37762 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37763 nearbyintf inlines.
37764 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37765 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37766 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37767 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37769 * math/math_private.h: Define defaults for libc_fegetround,
37770 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37771 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37772 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37773 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37774 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37775 standard functions.
37776 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37777 Remove comments and hacks for old compiler versions.
37778 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37779 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37780 libc_feholdexceptl.
37782 2011-10-18 Andreas Schwab <schwab@redhat.com>
37784 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37785 (__feraiseexcept_renamed): Add __NTH.
37786 (feraiseexcept): Add __NTH. Rename local variables to fix
37787 namespace violations.
37789 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37791 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37793 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37795 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37796 recently added interfaces.
37797 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37799 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37800 about macro parameter expansion.
37802 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37803 __NO_MATH_INLINES is defined. Cleanups.
37805 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37806 and __floorf is target has SSE4.1.
37807 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37808 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37809 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37810 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37812 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37814 (floorf): Likewise.
37816 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37818 2011-10-17 Andreas Schwab <schwab@redhat.com>
37820 * misc/sys/cdefs.h: Fix last change.
37822 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37825 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37827 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37829 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37830 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37832 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37833 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37834 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37835 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37836 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37837 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37838 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37839 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37840 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37841 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37842 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37843 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37844 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37845 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37846 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37847 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37848 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37849 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37850 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37852 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37853 ceil, ceilf, floor, floorf.
37855 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37856 Perform IRELATIVE relocations last.
37858 * elf/do-rel.h: Add another parameter nrelative, replacing the
37859 local variable with the same name. Change name of the function
37860 to end in Rel or Rela (uppercase).
37861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37862 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37863 elf_dynamic_do_##reloc function.
37865 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37867 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37868 is sufficient, at least on modern CPUs.
37870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37872 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37873 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37875 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37877 * math/bits/math-finite.h: Add entries for exp.
37878 * math/e_expl.c: Add __*_finite alias.
37879 * sysdeps/i386/fpu/e_exp.S: Likewise.
37880 * sysdeps/i386/fpu/e_expf.S: Likewise.
37881 * sysdeps/i386/fpu/e_expl.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37883 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37884 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37887 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37888 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37890 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37891 is sufficient, at least on modern CPUs.
37893 * ctype/ctype-info.c (__ctype_init): Define.
37894 * include/ctype.h (__ctype_init): Declare.
37895 (__ctype_b_loc): The variable is always initialized.
37896 (__ctype_toupper_loc): Likewise.
37897 (__ctype_tolower_loc): Likewise.
37898 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37899 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37901 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37903 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37905 * configure.in: Also look in $cxxmachine/include for C++ system
37908 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37910 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37911 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37912 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37913 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37915 (USE_AS_WMEMCMP): New macro.
37917 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37918 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37919 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37920 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37922 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37923 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37924 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37925 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37926 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37927 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37928 (USE_AS_WMEMCMP): New macro.
37929 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37930 * sysdeps/string/test-memcmp.c: Update.
37931 Fix simple_wmemcmp.
37933 * wcsmbs/wmemcmp.c: Update.
37934 (WMEMCMP): New macro.
37937 2011-10-12 Andreas Jaeger <aj@suse.de>
37940 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37942 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37944 * libio/iofwide.c (do_length): Avoid warning.
37946 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37948 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37950 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37952 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37953 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37954 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37955 * sysdeps/i386/i686/fpu/e_log.S: New file.
37956 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37957 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37959 * ctype/ctype.h: Add support for inlined isXXX functions when
37960 compiling C++ code.
37962 2011-10-14 Andreas Schwab <schwab@redhat.com>
37964 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37966 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37968 2011-10-13 Roland McGrath <roland@hack.frob.com>
37971 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37973 2011-10-13 Andreas Schwab <schwab@redhat.com>
37975 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37976 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37979 * sysdeps/x86_64/memrchr.S: Check for zero size.
37981 * string/stratcliff.c: Add memrchr tests.
37983 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37986 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37987 rawmemchr-sse2 rawmemchr-sse2-bsf.
37988 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37989 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37990 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37991 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37992 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37993 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37994 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37995 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37996 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37997 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37998 * string/memrchr.c (MEMRCHR): New macro.
38000 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38002 Add integration with gcc's -ffinite-math-only and optimize wrapper
38004 * Versions.def: Define GLIBC_2.15 version for libm.
38005 * math/Makefile (headers): Add bits/math-finite.h.
38006 * math/bits/math-finite.h: New file.
38007 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38008 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38009 * math/e_acoshl.c: Add __*_finite alias.
38010 * math/e_acosl.c: Likewise.
38011 * math/e_asinl.c: Likewise.
38012 * math/e_atan2l.c: Likewise.
38013 * math/e_atanhl.c: Likewise.
38014 * math/e_coshl.c: Likewise.
38015 * math/e_exp10.c: Likewise.
38016 * math/e_exp10f.c: Likewise.
38017 * math/e_exp10l.c: Likewise.
38018 * math/e_exp2l.c: Likewise.
38019 * math/e_fmodl.c: Likewise.
38020 * math/e_gammal_r.c: Likewise.
38021 * math/e_hypotl.c: Likewise.
38022 * math/e_j0l.c: Likewise.
38023 * math/e_j1l.c: Likewise.
38024 * math/e_jnl.c: Likewise.
38025 * math/e_lgammal_r.c: Likewise.
38026 * math/e_log10l.c: Likewise.
38027 * math/e_log2l.c: Likewise.
38028 * math/e_logl.c: Likewise.
38029 * math/e_powl.c: Likewise.
38030 * math/e_sinhl.c: Likewise.
38031 * math/e_sqrtl.c: Likewise.
38032 * math/e_scalb.c: Completely rewritten and optimized.
38033 * math/e_scalbf.c: Likewise.
38034 * math/e_scalbl.c: Likewise.
38035 * math/w_acos.c: Likewise.
38036 * math/w_acosf.c: Likewise.
38037 * math/w_acosl.c: Likewise.
38038 * math/w_acosh.c: Likewise.
38039 * math/w_acoshf.c: Likewise.
38040 * math/w_acoshl.c: Likewise.
38041 * math/w_asin.c: Likewise.
38042 * math/w_asinf.c: Likewise.
38043 * math/w_asinl.c: Likewise.
38044 * math/w_atan2.c: Likewise.
38045 * math/w_atan2f.c: Likewise.
38046 * math/w_atan2l.c: Likewise.
38047 * math/w_atanh.c: Likewise.
38048 * math/w_atanhf.c: Likewise.
38049 * math/w_atanhl.c: Likewise.
38050 * math/w_exp10.c: Likewise.
38051 * math/w_exp10f.c: Likewise.
38052 * math/w_exp10l.c: Likewise.
38053 * math/w_fmod.c: Likewise.
38054 * math/w_fmodf.c: Likewise.
38055 * math/w_fmodl.c: Likewise.
38056 * math/w_j0.c: Likewise.
38057 * math/w_j0f.c: Likewise.
38058 * math/w_j0l.c: Likewise.
38059 * math/w_j1.c: Likewise.
38060 * math/w_j1f.c: Likewise.
38061 * math/w_j1l.c: Likewise.
38062 * math/w_jn.c: Likewise.
38063 * math/w_jnf.c: Likewise.
38064 * math/w_log.c: Likewise.
38065 * math/w_logf.c: Likewise.
38066 * math/w_logl.c: Likewise.
38067 * math/w_log10.c: Likewise.
38068 * math/w_log10f.c: Likewise.
38069 * math/w_log10l.c: Likewise.
38070 * math/w_log2.c: Likewise.
38071 * math/w_log2f.c: Likewise.
38072 * math/w_log2l.c: Likewise.
38073 * math/w_pow.c: Likewise.
38074 * math/w_powf.c: Likewise.
38075 * math/w_powl.c: Likewise.
38076 * math/w_remainder.c: Likewise.
38077 * math/w_remainderf.c: Likewise.
38078 * math/w_remainderl.c: Likewise.
38079 * math/w_scalb.c: Likewise.
38080 * math/w_scalbf.c: Likewise.
38081 * math/w_scalbl.c: Likewise.
38082 * math/w_sqrt.c: Likewise.
38083 * math/w_sqrtf.c: Likewise.
38084 * math/w_sqrtl.c: Likewise.
38085 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38086 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38088 * math/math_private.h: Declare __kernel_standard_f.
38089 * math/w_cosh.c: Remove cruft and optimize a bit.
38090 * math/w_coshf.c: Likewise.
38091 * math/w_coshl.c: Likewise.
38092 * math/w_exp2.c: Likewise.
38093 * math/w_exp2f.c: Likewise.
38094 * math/w_exp2l.c: Likewise.
38095 * math/w_hypot.c: Likewise.
38096 * math/w_hypotf.c: Likewise.
38097 * math/w_hypotl.c: Likewise.
38098 * math/w_lgamma.c: Likewise.
38099 * math/w_lgamma_r.c: Likewise.
38100 * math/w_lgammaf.c: Likewise.
38101 * math/w_lgammaf_r.c: Likewise.
38102 * math/w_lgammal.c: Likewise.
38103 * math/w_lgammal_r.c: Likewise.
38104 * math/w_sinh.c: Likewise.
38105 * math/w_sinhf.c: Likewise.
38106 * math/w_sinhl.c: Likewise.
38107 * math/w_tgamma.c: Likewise.
38108 * math/w_tgammaf.c: Likewise.
38109 * math/w_tgammal.c: Likewise.
38110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38112 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38113 Minor optimizations. Pretty printing. Remove cruft.
38114 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38115 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38116 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38117 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38118 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38119 * sysdeps/i386/fpu/e_asin.S: Likewise.
38120 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38121 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38122 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38123 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38124 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38125 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38126 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38127 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38128 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38129 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38130 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38131 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38132 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38133 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38134 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38135 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38136 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38137 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38138 * sysdeps/i386/fpu/e_log.S: Likewise.
38139 * sysdeps/i386/fpu/e_log10.S: Likewise.
38140 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38141 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38142 * sysdeps/i386/fpu/e_log2.S: Likewise.
38143 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38144 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38145 * sysdeps/i386/fpu/e_logf.S: Likewise.
38146 * sysdeps/i386/fpu/e_logl.S: Likewise.
38147 * sysdeps/i386/fpu/e_pow.S: Likewise.
38148 * sysdeps/i386/fpu/e_powf.S: Likewise.
38149 * sysdeps/i386/fpu/e_powl.S: Likewise.
38150 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38151 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38152 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38153 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38154 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38155 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38156 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38157 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38158 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38159 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38160 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38170 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38172 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38173 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38175 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38179 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38180 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38181 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38182 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38183 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38184 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38185 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38186 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38187 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38188 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38189 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38190 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38191 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38192 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38193 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38194 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38195 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38196 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38197 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38198 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38199 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38200 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38201 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38202 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38203 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38204 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38205 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38206 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38207 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38208 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38209 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38210 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38211 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38212 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38213 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38214 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38215 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38216 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38217 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38218 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38219 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38223 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38224 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38225 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38227 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38228 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38229 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38230 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38233 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38235 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38236 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38237 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38238 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38240 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38241 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38250 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38251 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38252 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38253 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38254 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38255 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38256 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38257 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38258 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38259 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38260 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38261 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38262 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38266 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38267 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38268 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38269 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38270 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38271 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38272 (__isnanf): Likewise.
38273 (__isinf_ns): Likewise.
38274 (__isinf_nsf): Likewise.
38275 (__finite): Likewise.
38276 (__finitef): Likewise.
38277 (__ieee754_sqrt): Define as macro.
38278 (__ieee754_sqrtf): Define as macro.
38279 (__ieee754_sqrtl): Define as macro.
38280 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38282 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38283 __FINITE_MATH_ONLY__ consistent.
38284 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38286 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38288 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38291 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38293 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38295 * po/ja.po: Update from translation team.
38297 2011-10-08 Roland McGrath <roland@hack.frob.com>
38299 * locale/programs/locarchive.c (prepare_address_space): New function.
38300 (create_archive, enlarge_archive, open_archive): Use it.
38302 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38303 inside [SHARED], where it is used.
38305 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38307 * nss/getent.c (netgroup_keys): Remove unused variable.
38308 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38310 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38312 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38313 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38315 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38316 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38317 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38318 * math/Makefile (libm-calls): Add s_isinf_ns.
38319 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38320 * math/multc3.c: Likewise.
38321 * math/s_casin.c: Likewise.
38322 * math/s_casinf.c: Likewise.
38323 * math/s_casinl.c: Likewise.
38324 * math/s_ccos.c: Likewise.
38325 * math/s_ccosf.c: Likewise.
38326 * math/s_ccosl.c: Likewise.
38327 * math/s_ctan.c: Likewise.
38328 * math/s_ctanf.c: Likewise.
38329 * math/s_ctanh.c: Likewise.
38330 * math/s_ctanhf.c: Likewise.
38331 * math/s_ctanhl.c: Likewise.
38332 * math/s_ctanl.c: Likewise.
38333 * math/w_fmod.c: Likewise.
38334 * math/w_fmodf.c: Likewise.
38335 * math/w_fmodl.c: Likewise.
38336 * math/w_remainder.c: Likewise.
38337 * math/w_remainderf.c: Likewise.
38338 * math/w_remainderl.c: Likewise.
38339 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38340 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38342 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38343 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38344 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38345 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38346 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38348 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38350 * stdio-common/printf_fphex.c: Likewise.
38351 * stdio-common/printf_size.c: Likewise.
38353 * math/e_exp10.c: Include math_private.h using <...> not "...".
38354 * math/e_exp10f.c: Likewise.
38355 * math/e_exp10l.c: Likewise.
38356 * math/e_exp2l.c: Likewise.
38357 * math/e_j0l.c: Likewise.
38358 * math/e_j1l.c: Likewise.
38359 * math/e_jnl.c: Likewise.
38360 * math/e_lgammal_r.c: Likewise.
38361 * math/e_rem_pio2l.c: Likewise.
38362 * math/e_scalb.c: Likewise.
38363 * math/e_scalbf.c: Likewise.
38364 * math/e_scalbl.c: Likewise.
38365 * math/k_cosl.c: Likewise.
38366 * math/k_sinl.c: Likewise.
38367 * math/k_tanl.c: Likewise.
38368 * math/s_cacoshf.c: Likewise.
38369 * math/s_catan.c: Likewise.
38370 * math/s_catanf.c: Likewise.
38371 * math/s_catanh.c: Likewise.
38372 * math/s_catanhf.c: Likewise.
38373 * math/s_catanhl.c: Likewise.
38374 * math/s_catanl.c: Likewise.
38375 * math/s_ccosh.c: Likewise.
38376 * math/s_ccoshf.c: Likewise.
38377 * math/s_ccoshl.c: Likewise.
38378 * math/s_cexp.c: Likewise.
38379 * math/s_cexpf.c: Likewise.
38380 * math/s_cexpl.c: Likewise.
38381 * math/s_clog.c: Likewise.
38382 * math/s_clog10.c: Likewise.
38383 * math/s_clog10f.c: Likewise.
38384 * math/s_clog10l.c: Likewise.
38385 * math/s_clogf.c: Likewise.
38386 * math/s_clogl.c: Likewise.
38387 * math/s_csin.c: Likewise.
38388 * math/s_csinf.c: Likewise.
38389 * math/s_csinh.c: Likewise.
38390 * math/s_csinhf.c: Likewise.
38391 * math/s_csinhl.c: Likewise.
38392 * math/s_csinl.c: Likewise.
38393 * math/s_csqrt.c: Likewise.
38394 * math/s_csqrtf.c: Likewise.
38395 * math/s_csqrtl.c: Likewise.
38396 * math/s_ctan.c: Likewise.
38397 * math/s_ctanf.c: Likewise.
38398 * math/s_ctanh.c: Likewise.
38399 * math/s_ctanhf.c: Likewise.
38400 * math/s_ctanhl.c: Likewise.
38401 * math/s_ctanl.c: Likewise.
38402 * math/s_ldexp.c: Likewise.
38403 * math/s_ldexpf.c: Likewise.
38404 * math/s_ldexpl.c: Likewise.
38405 * math/s_significand.c: Likewise.
38406 * math/s_significandf.c: Likewise.
38407 * math/s_significandl.c: Likewise.
38408 * math/w_acos.c: Likewise.
38409 * math/w_acosf.c: Likewise.
38410 * math/w_acosh.c: Likewise.
38411 * math/w_acoshf.c: Likewise.
38412 * math/w_acoshl.c: Likewise.
38413 * math/w_acosl.c: Likewise.
38414 * math/w_asin.c: Likewise.
38415 * math/w_asinf.c: Likewise.
38416 * math/w_asinl.c: Likewise.
38417 * math/w_atan2.c: Likewise.
38418 * math/w_atan2f.c: Likewise.
38419 * math/w_atan2l.c: Likewise.
38420 * math/w_atanh.c: Likewise.
38421 * math/w_atanhf.c: Likewise.
38422 * math/w_atanhl.c: Likewise.
38423 * math/w_cosh.c: Likewise.
38424 * math/w_coshf.c: Likewise.
38425 * math/w_coshl.c: Likewise.
38426 * math/w_dremf.c: Likewise.
38427 * math/w_exp10.c: Likewise.
38428 * math/w_exp10f.c: Likewise.
38429 * math/w_exp10l.c: Likewise.
38430 * math/w_exp2.c: Likewise.
38431 * math/w_exp2f.c: Likewise.
38432 * math/w_fmod.c: Likewise.
38433 * math/w_fmodf.c: Likewise.
38434 * math/w_fmodl.c: Likewise.
38435 * math/w_hypot.c: Likewise.
38436 * math/w_hypotf.c: Likewise.
38437 * math/w_hypotl.c: Likewise.
38438 * math/w_j0.c: Likewise.
38439 * math/w_j0f.c: Likewise.
38440 * math/w_j0l.c: Likewise.
38441 * math/w_j1.c: Likewise.
38442 * math/w_j1f.c: Likewise.
38443 * math/w_j1l.c: Likewise.
38444 * math/w_jn.c: Likewise.
38445 * math/w_jnf.c: Likewise.
38446 * math/w_jnl.c: Likewise.
38447 * math/w_lgamma.c: Likewise.
38448 * math/w_lgamma_r.c: Likewise.
38449 * math/w_lgammaf.c: Likewise.
38450 * math/w_lgammaf_r.c: Likewise.
38451 * math/w_lgammal.c: Likewise.
38452 * math/w_lgammal_r.c: Likewise.
38453 * math/w_log.c: Likewise.
38454 * math/w_log10.c: Likewise.
38455 * math/w_log10f.c: Likewise.
38456 * math/w_log10l.c: Likewise.
38457 * math/w_log2.c: Likewise.
38458 * math/w_log2f.c: Likewise.
38459 * math/w_log2l.c: Likewise.
38460 * math/w_logf.c: Likewise.
38461 * math/w_logl.c: Likewise.
38462 * math/w_pow.c: Likewise.
38463 * math/w_powf.c: Likewise.
38464 * math/w_powl.c: Likewise.
38465 * math/w_remainder.c: Likewise.
38466 * math/w_remainderf.c: Likewise.
38467 * math/w_remainderl.c: Likewise.
38468 * math/w_scalb.c: Likewise.
38469 * math/w_scalbf.c: Likewise.
38470 * math/w_scalbl.c: Likewise.
38471 * math/w_sinh.c: Likewise.
38472 * math/w_sinhf.c: Likewise.
38473 * math/w_sinhl.c: Likewise.
38474 * math/w_sqrt.c: Likewise.
38475 * math/w_sqrtf.c: Likewise.
38476 * math/w_sqrtl.c: Likewise.
38477 * math/w_tgamma.c: Likewise.
38478 * math/w_tgammaf.c: Likewise.
38479 * math/w_tgammal.c: Likewise.
38481 * po/ja.po: Update from translation team.
38483 2011-09-29 Andreas Jaeger <aj@suse.de>
38486 * sunrpc/netname.c (netname2host): Fix logic.
38490 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38492 * math/w_remainder.c (__remainder): Likewise.
38493 * math/w_remainderf.c (__remainderf): Likewise.
38494 * math/libm-test.inc (remainder_test): Add test cases.
38496 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38498 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38501 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38503 * string/test-memcmp.c: Avoid unncessary #defines.
38504 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38506 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38508 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38509 Use new sse2 version for core i3 - i7 as it's faster
38510 than sse42 version.
38511 (bit_Prefer_PMINUB_for_stringop): New.
38512 * sysdeps/x86_64/rawmemchr.S: Update.
38513 Replace with faster SSE2 version.
38514 * sysdeps/x86_64/memrchr.S: New file.
38515 * sysdeps/x86_64/memchr.S: Update.
38516 Replace with faster SSE2 version.
38518 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38520 * elf/dl-load.c (lose): Add cast to avoid warning.
38522 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38524 * po/ca.po: Update from translation team.
38526 * inet/getnetgrent_r.c: Hook up nscd.
38527 * nscd/Makefile (routines): Add nscd_netgroup.
38528 (nscd-modules): Add netgroupcache.
38529 (CFLAGS-netgroupcache.c): Define.
38530 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38531 (cache_search): Add const to second parameter.
38532 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38534 (dbs): Add netgrdb entry.
38535 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38536 (verify_persistent_db): Handle netgrdb.
38537 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38538 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38540 (netgroup_response_header): Define.
38541 (innetgroup_response_header): Define.
38542 (datahead): Add netgroup_response_header and innetgroup_response_header
38544 * nscd/nscd.conf: Add entries for netgroup cache.
38545 * nscd/nscd.h (dbtype): Add netgrdb.
38546 (_PATH_NSCD_NETGROUP_DB): Define.
38547 (netgroup_iov_disabled): Declare.
38548 (xmalloc, xcalloc, xrealloc): Move declarations here.
38549 (cache_search): Adjust prototype.
38550 Add netgroup-related prototypes.
38551 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38552 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38553 (__nscd_innetgr): Declare.
38554 * nscd/selinux.c (perms): Use access_vector_t as element type and
38555 add netgroup-related initializers.
38556 * nscd/netgroupcache.c: New file.
38557 * nscd/nscd_netgroup.c: New file.
38558 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38559 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38560 For four parameters use innetgr.
38561 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38562 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38563 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38564 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38566 * nscd/connections.c (register_traced_file): Don't register file
38567 for disabled databases.
38569 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38571 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38573 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38574 from tree and freeing node.
38576 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38578 * nss/nsswitch.c (__nss_database_lookup): Handle
38579 nss_parse_service_list out of memory case.
38581 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38583 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38584 out of memory case.
38586 2011-10-04 Andreas Schwab <schwab@redhat.com>
38588 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38589 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38591 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38592 elf_machine_rela, elf_machine_lazy_rel.
38593 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38594 (ELF_DYNAMIC_DO_REL): Likewise.
38595 (ELF_DYNAMIC_DO_RELA): Likewise.
38596 (ELF_DYNAMIC_RELOCATE): Likewise.
38597 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38598 to ELF_DYNAMIC_DO_REL.
38599 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38600 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38601 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38604 skip_ifunc, don't call ifunc function if non-zero.
38605 (elf_machine_rela): Likewise.
38606 (elf_machine_lazy_rel): Likewise.
38607 (elf_machine_lazy_rela): Likewise.
38608 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38609 (elf_machine_lazy_rel): Likewise.
38610 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38612 (elf_machine_lazy_rel): Likewise.
38613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38615 (elf_machine_lazy_rel): Likewise.
38616 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38617 (elf_machine_lazy_rel): Likewise.
38618 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38619 (elf_machine_lazy_rel): Likewise.
38620 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38621 (elf_machine_lazy_rel): Likewise.
38622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38623 (elf_machine_lazy_rel): Likewise.
38624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38625 (elf_machine_lazy_rel): Likewise.
38626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38627 (elf_machine_lazy_rel): Likewise.
38629 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38631 * nss/nss_files/files-init.c (_nss_files_init): Use static
38632 initialization for all the *_traced_file variables.
38634 2011-09-28 Andreas Schwab <schwab@redhat.com>
38636 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38638 2011-09-27 Roland McGrath <roland@hack.frob.com>
38641 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38643 2011-09-27 Andreas Schwab <schwab@redhat.com>
38645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38646 Reread the line before reparsing it.
38648 2011-09-26 Andreas Schwab <schwab@redhat.com>
38650 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38652 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38653 Maxim Kuvyrkov <maxim@codesourcery.com>
38654 Joseph Myers <joseph@codesourcery.com>
38656 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38657 if needed for __stack_chk_guard.
38659 2011-09-19 Roland McGrath <roland@hack.frob.com>
38661 * sysdeps/posix/spawni.c (script_execute): Always define it.
38662 It will be optimized away if unused.
38663 (maybe_script_execute): New function.
38664 (__spawni): Call it.
38666 * Makerules: Don't include tls.make.
38667 (config-tls): Always set to thread.
38668 * tls.make.c: File removed.
38670 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38672 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38673 * config.make.in (CPPFLAGS-config): New substituted variable.
38675 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38677 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38680 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38681 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38683 2011-09-15 Roland McGrath <roland@hack.frob.com>
38685 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38686 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38688 (CALL_FAIL): Likewise.
38689 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38690 (CALL_FAIL): Macro removed.
38691 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38693 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38695 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38696 for __FINITE_MATH_ONLY__ == 1.
38698 2011-09-15 Andreas Schwab <schwab@redhat.com>
38700 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38701 __ieee754_sqrt instead of sqrt.
38702 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38703 __ieee754_sqrtf instead of sqrtf.
38704 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38705 __floorf instead of floorf.
38706 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38707 __floorf, __truncf instead of floorf, truncf.
38709 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38711 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38713 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38714 __extern_always_inline.
38715 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38718 2011-09-14 Andreas Schwab <schwab@redhat.com>
38720 * elf/rtld.c (dl_main): Also relocate in dependency order when
38721 doing symbol dependency testing.
38723 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38726 Always define `refsym'.
38728 2011-09-13 Andreas Schwab <schwab@redhat.com>
38730 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38731 (__FD_ELT): Renamed from __FDELT.
38732 * misc/bits/select2.h (__FD_ELT): Likewise.
38733 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38734 __FD_MASK instead of __FDELT, __FDMASK.
38735 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38737 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38740 * elf/Makefile (gen-ldd): Fix pattern.
38742 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38743 (init_tls): Likewise.
38745 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38749 2011-09-12 Andreas Schwab <schwab@redhat.com>
38751 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38752 `struct cmsghdr *' instead of `void *'.
38753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38756 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38758 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38760 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38761 ldd_rewrite_script.
38763 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38765 * configure.in: Remove --with-tls option.
38766 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38767 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38768 out in case it is missing.
38769 * sysdeps/ia64/elf/configure.in: Likewise.
38770 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38771 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38772 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38773 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38774 * sysdeps/sh/elf/configure.in: Likewise.
38775 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38776 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38777 * sysdeps/x86_64/elf/configure.in: Likewise.
38778 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38779 * sysdeps/mach/hurd/tls.h: Likewise.
38782 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38785 * configure.in: Fix use of AC_INIT.
38787 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38789 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38791 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38793 * malloc/hooks.c: Likewise.
38796 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38797 variables statically.
38798 (narenas): Initialize.
38799 (list_lock): Initialize.
38800 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38801 initializtion of main_arena and list_lock. Small cleanups.
38802 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38803 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38804 Add initializers to main_arena and mp_.
38805 (malloc_state): Remove pagesize member. Change all users to use
38808 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38809 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38810 is always initialized.
38812 * malloc/malloc.c: Removed unused configurations and dead code.
38813 * malloc/arena.c: Likewise.
38814 * malloc/hooks.c: Likewise.
38815 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38817 * include/tls.h: Removed. USE___THREAD must always be defined.
38818 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38819 * elf/dl-libc.c: Likewise.
38820 * elf/dl-tsd.c: Likewise.
38821 * include/errno.h: Likewise.
38822 * include/netdb.h: Likewise.
38823 * include/resolv.h: Likewise.
38824 * inet/herrno-loc.c: Likewise.
38825 * inet/herrno.c: Likewise.
38826 * malloc/arena.c: Likewise.
38827 * malloc/hooks.c: Likewise.
38828 * malloc/malloc.c: Likewise.
38829 * resolv/res-state.c: Likewise.
38830 * resolv/res_libc.c: Likewise.
38831 * sysdeps/i386/dl-machine.h: Likewise.
38832 * sysdeps/ia64/dl-machine.h: Likewise.
38833 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38834 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38835 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38836 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38837 * sysdeps/sh/dl-machine.h: Likewise.
38838 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38839 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38840 * sysdeps/unix/i386/sysdep.S: Likewise.
38841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38842 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38848 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38851 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38852 * sysdeps/x86_64/dl-machine.h: Likewise.
38853 * tls.make.c: Likewise.
38855 * configure.in: Remove --with-__thread option. Make tests for
38856 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38857 tls_model attribute fail if no support is available. Remove
38859 * Makeconfig: Adjust for dropped configure option. All features are
38861 * Makerules: Likewise.
38862 * Versions.def: Likewise.
38863 * argp/argp-fmtstream.c: Likewise.
38864 * argp/argp-fmtstream.h: Likewise.
38865 * argp/argp-help.c: Likewise.
38866 * assert/assert.c: Likewise.
38867 * config.h.in: Likewise.
38868 * config.make.in: Likewise.
38869 * configure: Likewise.
38870 * configure.in: Likewise.
38871 * csu/Versions: Likewise.
38872 * csu/init.c: Likewise.
38873 * elf/tst-audit2.c: Likewise.
38874 * elf/tst-tls10.c: Likewise.
38875 * elf/tst-tls10.h: Likewise.
38876 * elf/tst-tls11.c: Likewise.
38877 * elf/tst-tls12.c: Likewise.
38878 * elf/tst-tls14.c: Likewise.
38879 * elf/tst-tlsmod11.c: Likewise.
38880 * elf/tst-tlsmod12.c: Likewise.
38881 * elf/tst-tlsmod13.c: Likewise.
38882 * elf/tst-tlsmod13a.c: Likewise.
38883 * elf/tst-tlsmod14a.c: Likewise.
38884 * elf/tst-tlsmod15b.c: Likewise.
38885 * elf/tst-tlsmod16a.c: Likewise.
38886 * elf/tst-tlsmod16b.c: Likewise.
38887 * elf/tst-tlsmod7.c: Likewise.
38888 * elf/tst-tlsmod8.c: Likewise.
38889 * elf/tst-tlsmod9.c: Likewise.
38890 * gmon/gmon.c: Likewise.
38891 * grp/fgetgrent_r.c: Likewise.
38892 * grp/putgrent.c: Likewise.
38893 * hurd/fopenport.c: Likewise.
38894 * include/libc-symbols.h: Likewise.
38895 * include/tls.h: Likewise.
38896 * intl/gettextP.h: Likewise.
38897 * intl/loadinfo.h: Likewise.
38898 * locale/global-locale.c: Likewise.
38899 * locale/localeinfo.h: Likewise.
38900 * mach/devstream.c: Likewise.
38901 * malloc/arena.c: Likewise.
38902 * malloc/set-freeres.c: Likewise.
38903 * misc/err.c: Likewise.
38904 * misc/getttyent.c: Likewise.
38905 * misc/mntent_r.c: Likewise.
38906 * posix/getopt.c: Likewise.
38907 * posix/wordexp.c: Likewise.
38908 * pwd/fgetpwent_r.c: Likewise.
38909 * resolv/Versions: Likewise.
38910 * resolv/res_hconf.c: Likewise.
38911 * shadow/fgetspent_r.c: Likewise.
38912 * shadow/putspent.c: Likewise.
38913 * stdio-common/printf_fphex.c: Likewise.
38914 * stdio-common/tmpfile.c: Likewise.
38915 * stdlib/abort.c: Likewise.
38916 * stdlib/fmtmsg.c: Likewise.
38917 * sunrpc/auth_unix.c: Likewise.
38918 * sunrpc/clnt_perr.c: Likewise.
38919 * sunrpc/clnt_tcp.c: Likewise.
38920 * sunrpc/clnt_udp.c: Likewise.
38921 * sunrpc/clnt_unix.c: Likewise.
38922 * sunrpc/openchild.c: Likewise.
38923 * sunrpc/svc_simple.c: Likewise.
38924 * sunrpc/svc_tcp.c: Likewise.
38925 * sunrpc/svc_udp.c: Likewise.
38926 * sunrpc/svc_unix.c: Likewise.
38927 * sunrpc/xdr.c: Likewise.
38928 * sunrpc/xdr_array.c: Likewise.
38929 * sunrpc/xdr_rec.c: Likewise.
38930 * sunrpc/xdr_ref.c: Likewise.
38931 * sunrpc/xdr_stdio.c: Likewise.
38933 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38935 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38937 2011-07-03 Andreas Jaeger <aj@suse.de>
38939 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38940 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38941 regenerate with gen-libm-tests.pl.
38943 2010-05-12 Petr Baudis <pasky@suse.cz>
38946 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38947 around j0() zero points by switching to j1().
38948 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38949 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38953 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38955 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38957 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38960 Patch in part by Pavel Roskin <proski@gnu.org>.
38963 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38965 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38966 Free memory block if necessary.
38969 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38970 be NULL. Don't lock in this case.
38972 2011-09-09 Roland McGrath <roland@hack.frob.com>
38974 * elf/elf.h (ELFOSABI_GNU): New macro.
38975 (ELFOSABI_LINUX): Define to that.
38977 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38979 * string/strncat.c (strncat): Undef the symbol in case it has been
38980 defined in bits/string.h.
38982 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38984 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38986 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38989 2011-08-17 Andreas Jaeger <aj@suse.de>
38991 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38993 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38994 Ian Lance Taylor <iant@google.com>
38996 * math/libm-test.inc (lround_test): New testcase.
38997 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38999 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39001 * Makefile: Remove support for automatic cvs check-ins.
39002 * Makerules: Likewise.
39003 * config.make.in: Likewise.
39004 * configure.in: Likewise.
39005 * intl/Makefile: Likewise.
39006 * locale/Makefile: Likewise.
39007 * po/Makefile: Likewise.
39008 * posix/Makefile: Likewise.
39009 * sysdeps/gnu/Makefile: Likewise.
39010 * sysdeps/mach/hurd/Makefile: Likewise.
39011 * sysdeps/sparc/sparc32/Makefile: Likewise.
39014 * posix/Makefile (bug-regex32-ENV): Define.
39015 Patch by John Stanley <jpsinthemix@verizon.net>.
39017 * misc/Makefile (headers): Add bits/select2.h.
39018 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39019 * misc/bits/select2.h: New file.
39020 * include/bits/select2.h: New file.
39021 * debug/Makefile (routines): Add fdelt_chk.
39022 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39023 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39025 * debug/fdelt_chk.c: New file.
39027 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39028 * wcsmbs/test-wmemcmp.c: Likewise.
39029 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39030 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39032 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39034 * string/Makefile (strop-tests): Add memcmp.
39035 * string/test-wmemcmp.c: New file.
39036 * string/test-memcmp.c: Add wmemcmp support.
39038 2011-09-08 Roland McGrath <roland@hack.frob.com>
39041 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39044 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39045 garbage value in a __mach_port_mod_refs call in the cases of the
39046 task-self and thread-self ports.
39048 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39050 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39052 2011-09-08 Andreas Schwab <schwab@redhat.com>
39054 * elf/dl-load.c (lose): Check for non-null L.
39056 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39058 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39060 * elf/dl-libc.c (dlerror_run): Pass back error code from
39064 * elf/dl-load.c (lose): Free l_origin if it is valid.
39066 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39068 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39073 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39075 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39077 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39078 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39079 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39080 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39081 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39082 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39083 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39084 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39085 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39086 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39088 2011-08-15 Alan Modra <amodra@gmail.com>
39091 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39092 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39093 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39094 ppc_mcount to static-only-routines.
39095 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39097 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39098 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39100 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39102 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39103 for finite and infinity parameters.
39105 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39108 and add nop instructions for throughput optimization.
39109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39111 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39114 aligned copy for power7 with vector-scalar instructions.
39115 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39117 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39122 2011-09-07 Andreas Schwab <schwab@redhat.com>
39125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39128 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39130 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39131 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39132 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39133 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39136 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39139 Forgot to demangle the pointer.
39141 * sysdeps/i386/sysdep.h: Define atom_text_section.
39142 * sysdeps/x86_64/sysdep.h: Likewise.
39143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39144 section with atom_text_section.
39145 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39146 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39147 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39148 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39149 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39151 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39152 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39153 already be defined. Change to take two parameters and don't assign
39154 result to variable. Adjust all users.
39155 Define INTERNAL_GETTIME if not already defined.
39156 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39159 HAVE_CLOCK_GETTIME_VSYSCALL.
39160 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39163 gettimeofday vsyscall, just use time.
39165 2011-09-06 Andreas Schwab <schwab@redhat.com>
39167 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39170 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39172 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39176 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39177 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39178 syscall if possible.
39180 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39182 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39183 e_ident. Don't pass to find_mapsXX.
39184 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39186 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39189 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39190 * sysdeps/x86_64/multiarch/strchr.S: Update.
39191 Check bit_slow_BSF bit.
39192 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39193 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39194 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39196 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39199 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39201 (tryshell): Define.
39202 (__spawni): Change last parameter to be flag. Test
39203 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39204 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39205 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39206 * posix/spawni.c: Likewise.
39207 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39208 * posix/spawnp.c: Likewise. Change normal version to use
39209 SPAWN_XFLAGS_USE_PATH.
39210 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39211 SPAWN_XFLAGS_TRY_SHELL.
39214 * posix/glob.h: Remove gcc 1.x support.
39217 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39219 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39222 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39224 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39225 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39226 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39228 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39229 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39231 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39233 * sysdeps/x86_64/wcscmp.S: New file.
39235 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39236 wcscmp-c wcscmp-sse2
39237 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39238 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39239 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39240 * wcsmbs/wcscmp.c: Allow renaming.
39242 2011-09-05 David S. Miller <davem@davemloft.net>
39244 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39245 stack slot, rather than the struct return pointer slot.
39246 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39247 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39249 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39251 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39253 * po/ja.po: Update from translation team.
39256 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39257 kernel in 64-bit binaries.
39259 2011-09-01 David S. Miller <davem@davemloft.net>
39261 * elf/elf.h (HWCAP_SPARC_*): Move to..
39262 * sysdeps/sparc/sysdep.h: this new file and add new values.
39263 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39264 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39265 _DL_HWCAP_COUNT to 24.
39266 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39268 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39269 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39270 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39272 instead of magic constants.
39273 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39275 2011-08-31 David S. Miller <davem@davemloft.net>
39277 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39279 Reimplement to do errno handling inline.
39280 (SYSCALL_ERROR_HANDLER): New macro.
39281 (__SYSCALL_STRING): Do not do errno handling in asm.
39282 (__CLONE_SYSCALL_STRING): Delete.
39283 (__INTERNAL_SYSCALL_STRING): Delete.
39284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39285 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39286 (PSEUDO): Reimplement to do errno handling inline.
39287 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39288 (SYSCALL_ERROR_HANDLER): New macro.
39289 (__SYSCALL_STRING): Do not do errno handling in asm.
39290 (__CLONE_SYSCALL_STRING): Delete.
39291 (__INTERNAL_SYSCALL_STRING): Delete.
39292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39293 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39295 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39296 (inline_syscall*): Add 'err' argument.
39297 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39298 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39299 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39300 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39302 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39303 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39305 2011-08-30 Andreas Schwab <schwab@redhat.com>
39307 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39309 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39311 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39314 2011-08-24 David S. Miller <davem@davemloft.net>
39316 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39318 2011-08-24 Andreas Schwab <schwab@redhat.com>
39320 * elf/Makefile: Add rules to build and run unload8 test.
39321 * elf/unload8.c: New file.
39322 * elf/unload8mod1.c: New file.
39323 * elf/unload8mod1x.c: New file.
39324 * elf/unload8mod2.c: New file.
39325 * elf/unload8mod3.c: New file.
39327 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39330 2011-08-23 David S. Miller <davem@davemloft.net>
39332 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39333 subtract stack bias.
39334 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39335 %sp not %fp in calculations.
39336 (_JMPBUF_UNWINDS_ADJ): Likewise.
39338 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39339 (aio_suspend): Call it to force an exception region around the
39340 AIO_MISC_WAIT() invocation.
39342 2011-08-23 Andreas Schwab <schwab@redhat.com>
39344 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39347 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39349 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39351 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39352 and <dl-machine.h>.
39353 (Elf64_FuncDesc): Remove.
39355 2011-08-22 David S. Miller <davem@davemloft.net>
39357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39358 sigaltstack check, add missing cfi directives.
39359 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39360 missing cfi directives, and sigaltstack handling.
39362 2011-08-16 Andreas Schwab <schwab@redhat.com>
39365 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39366 object is seen twice.
39367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39369 * elf/Makefile (distribute): Add tst-initorder2.c.
39370 (tests): Add tst-initorder2.
39371 (modules-names): Add tst-initorder2a tst-initorder2b
39372 tst-initorder2c tst-initorder2d. Add rules to build them.
39373 ($(objpfx)tst-initorder2.out): New rule.
39374 * elf/tst-initorder2.c: New file.
39375 * elf/tst-initorder2.exp: New file.
39377 2011-08-22 Andreas Schwab <schwab@redhat.com>
39379 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39381 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39382 dependencies back to end of function.
39384 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39385 $(elfobjdir)/ld.so.
39387 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39390 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39392 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39393 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39394 of __vdso_gettimeofday.
39395 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39396 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39398 (_libc_vdso_platform_setup): Remove initialization of
39399 __vdso_gettimeofday and __vdso_time.
39401 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39403 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39404 and fgetc_unlocked.
39405 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39408 * elf/dl-open.c (add_to_global): Report additions to the global scope
39409 for LD_DEBUG=scopes.
39410 (dl_open_worker): Also print scope of newly loaded dependencies.
39411 (_dl_show_scope): Indicate if there is no scope.
39414 * stdio-common/Makefile (tests): Add bug24.
39415 * stdio-common/bug24.c: New file.
39417 2011-08-19 Andreas Jaeger <aj@suse.de>
39420 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39421 non-existant file when using close-on-exec mode.
39423 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39426 the very first instruction.
39428 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39429 the CFI state in the end.
39430 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39431 inclusion of dl-trampoline.h.
39432 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39434 2011-08-19 Andreas Schwab <schwab@redhat.com>
39436 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39437 expectations for long double.
39439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39440 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39442 2011-08-14 David S. Miller <davem@davemloft.net>
39444 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39445 artificual limit depends upon the system page size.
39447 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39449 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39450 * resolv/Makefile: Define CFLAGS-libresolv.
39452 2011-08-17 Andreas Schwab <schwab@redhat.com>
39454 * nss/makedb.c (compute_tables): Make variables used in nested
39457 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39459 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39460 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39461 if buffer was too small.
39463 * elf/pldd.c (main): Attach to all threads in the process.
39464 Rewrite /proc handling to use *at functions.
39466 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39468 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39469 specifies first scope to show.
39470 (dl_open_worker): Update callers. Move printing scope of new
39471 object to before the relocation.
39472 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39473 * sysdeps/generic/ldsodefs.h: Update declaration.
39475 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39476 string for the scope number.
39478 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39480 * nscd/servicescache.c (cache_addserv): Make sure written is always
39483 2011-08-14 Roland McGrath <roland@hack.frob.com>
39485 * sysdeps/i386/i486/bits/atomic.h
39486 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39487 statement expression, so as to suppress "set but not used" warning.
39488 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39490 * string/strncat.c (STRNCAT): Use prototype definition.
39492 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39493 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39495 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39496 (localedef-modules): Add localedef.
39497 (locale-modules): Add locale.
39499 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39500 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39501 to avoid a warning.
39503 2011-08-14 David S. Miller <davem@davemloft.net>
39505 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39506 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39508 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39510 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39511 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39512 * elf/rtld.c (dl_main): Set l_name of vDSO.
39513 Call _dl_show_scope when DL_DEBUG_SCOPES.
39514 (process_dl_debug): Recognize scopes flag and also set it for all.
39515 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39516 Declare _dl_show_scope.
39518 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39519 (do_dlopen): Pass caller_dlopen to dl_open.
39520 (__libc_dlopen_mode): Initialize caller_dlopen.
39522 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39523 of libc. Make tolower call locale-independent. Optimize a bit by
39524 using isdigit instead of isalnum.
39525 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39527 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39529 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39530 was a dependency or dynamically loaded.
39532 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39534 * intl/l10nflist.c: Allow architecture-specific pop function.
39535 * sysdeps/x86_64/l10nflist.c: New file.
39537 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39540 2011-08-10 Andreas Schwab <schwab@redhat.com>
39542 * include/dirent.h: Add libc_hidden_proto for scandirat and
39543 scandirat64. Don't declare __scandirat64.
39544 * dirent/scandirat.c: Add libc_hidden_def.
39545 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39546 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39548 2011-08-10 David S. Miller <davem@davemloft.net>
39550 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39552 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39554 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39556 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39558 * Versions.def [libc]: Add GLIBC_2.15.
39559 * dirent/Makefile (routines): Add scandirat and scandirat64.
39560 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39562 * dirent/dirent.h: Declare scandirat and scandirat64.
39563 * dirent/scandirat.c: New file.
39564 * dirent/scandirat64.c: New file.
39565 * sysdeps/wordsize-64/scandirat.c: New file.
39566 * sysdeps/wordsize-64/scandirat64.c: New file.
39567 * dirent/opendir.c: Define opendirat.
39568 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39570 * dirent/scandir64.c: Adjust for scandir.c change.
39571 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39572 __scandirat64, and __scandir_cancel_handler.
39573 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39574 additional parameter and use openat instead of open (outside of ld.so).
39575 Add new __opendir as wrapper around __opendirat.
39576 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39577 here without requiring old scandirat implementation.
39579 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39581 * dirent/scandir.c (cancel_handler): Renamed to
39582 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39583 defined. Adjust users.
39584 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39585 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39587 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39589 * string/test-string.h (IMPL): Use __STRING to expand name and then
39592 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39595 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39597 * string/Makefile: Update.
39598 (strop-tests): Append strncat.
39599 * string/test-wcscmp.c: New file.
39600 New comprehensive test for wcscmp.
39601 * string/test-strcmp.c: Update.
39602 (WIDE): New define.
39604 2011-07-22 Andreas Schwab <schwab@redhat.com>
39606 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39609 2011-07-26 Andreas Schwab <schwab@redhat.com>
39611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39612 encoding to ACE if AI_IDN.
39614 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39617 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39619 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39622 Fix overflow bug in strncat.
39623 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39625 * string/test-strncat.c: Update.
39626 Add new tests for checking overflow bugs.
39628 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39631 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39632 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39633 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39634 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39635 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39636 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39637 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39638 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39641 (USE_AS_STRCAT): Define.
39642 Add strcat and strncat support.
39643 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39645 2011-07-25 Andreas Schwab <schwab@redhat.com>
39647 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39648 __n bigger than INT_MAX+1.
39649 (__strncmp_g): Likewise.
39651 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39653 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39654 * libio/stido.h: Likewise.
39656 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39661 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39662 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39668 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39673 (_dl_x86_64_save_sse): Likewise.
39675 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39679 (_dl_x86_64_save_sse): Likewise.
39681 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39683 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39685 2011-07-21 Andreas Schwab <schwab@redhat.com>
39687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39689 (_dl_x86_64_save_sse): Use correct AVX check.
39691 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39693 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39694 bug in strncpy/strncat.
39695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39697 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39699 * string/tester.c (test_strcat): Add tests for different alignments
39700 of source and destination.
39701 (test_strncat): Likewise.
39703 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39706 * posix/glob.c (glob): Check passed in values before using them in
39707 expressions to avoid some overflows.
39708 (glob_in_dir): Likewise.
39711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39712 check for AVX enablement so that we don't crash with old kernels and
39714 * elf/tst-audit4.c: Add same checks here.
39715 * elf/tst-audit6.c: Likewise.
39717 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39719 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39721 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39723 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39725 * po/cs.po: Update from translation team.
39726 * po/bg.po: Likewise.
39728 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39730 * misc/sys/cdefs.h: Add support for const attribute.
39731 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39732 to gnu_dev_{major,minor,makedev} functions.
39734 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39736 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39738 2011-07-20 Andreas Schwab <schwab@redhat.com>
39740 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39743 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39746 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39747 register in order to avoid conflicts with the soft frame pointer
39748 being held in r11 when necessary.
39749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39750 (INTERNAL_VSYSCALL_NCS): Likewise.
39752 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39754 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39755 * elf/dl-fini.c (_dl_fini): Adjust caller.
39756 * elf/dl-close.c (_dl_close_worker): Likewise.
39757 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39759 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39761 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39762 "aux_cache->nlibs < 0".
39764 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39765 in the reload-count case.
39767 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39770 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39771 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39772 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39773 * sysdeps/x86_64/multiarch/strcat.S: New file.
39774 * sysdeps/x86_64/multiarch/strncat.S: New file.
39775 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39776 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39777 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39778 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39780 (USE_AS_STRCAT): Define.
39781 Add strcat and strncat support.
39782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39783 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39784 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39785 * string/strncat.c: Update.
39786 (USE_AS_STRNCAT): Define.
39787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39788 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39790 * sysdeps/x86_64/multiarch/init-arch.h
39791 (bit_Prefer_PMINUB_for_stringop): New.
39792 (index_Prefer_PMINUB_for_stringop): Likewise.
39793 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39794 bit_Prefer_PMINUB_for_stringop.
39796 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39798 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39800 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39801 of casting of buffer.
39802 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39803 buffer32 and buffer64.
39804 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39805 writes instead of casting of buffer.
39806 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39808 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39811 2011-07-19 Andreas Schwab <schwab@redhat.com>
39813 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39815 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39817 * nscd/nscd.c (termination_handler): Don't do anything for a database
39818 if it has not yet been initialized.
39820 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39822 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39824 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39826 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39828 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39830 * po/nl.po: Update from translation team.
39831 * po/sv.po: Likewise.
39833 2011-07-16 Roland McGrath <roland@hack.frob.com>
39835 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39836 now disallowed by GCC.
39838 * configure.in (use-default-link): Default to yes if a test -shared
39839 link meets our qualifications.
39840 * configure: Regenerated.
39842 * config.make.in (output-format): New variable.
39843 * configure.in: Check for ld --print-output-format support.
39844 * configure: Regenerated.
39845 * Makerules ($(common-objpfx)format.lds)
39846 [$(output-format) != unknown]: Just use $(output-format),
39847 instead of the linker-script munging.
39849 2011-07-14 Roland McGrath <roland@hack.frob.com>
39851 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39852 of $(common-objpfx)shlib.lds.
39853 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39855 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39856 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39858 * configure.in (-z relro check): Adjust test code to add a large
39859 writable data section after it.
39860 * configure: Regenerated.
39862 2011-07-11 Roland McGrath <roland@hack.frob.com>
39864 * configure.in (-z relro check): Fix test code to make the variable
39866 * configure: Regenerated.
39868 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39870 * nscd/nscd.h (struct traced_file): Define.
39871 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39872 elements. Add traced_files.
39873 (inotify_fd): Declare.
39874 (register_traced_file): Declare.
39875 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39876 (inotify_fd): Export.
39877 (resolv_conf_descr): Remove.
39878 (nscd_init): Move inotify descriptor creation to main.
39879 Don't register files for notification here.
39880 (register_traced_file): New function.
39881 (invalidate_cache): Don't use reset_res to determine whether to call
39882 res_init, go through the list of registered files.
39883 (main_loop_poll): The inotify descriptors are now stored in the
39884 structures for the traced files.
39885 (main_loop_epoll): Likewise
39886 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39887 to __nss_disable_nscd.
39888 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39889 for a database anymore. Check the records for all the registered
39891 * nss/Makefile (libnss_files-routines): Add files-init.
39892 (libnss_db-routines): Add db-init.
39893 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39894 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39895 * nss/nss_db/db-init.c: New file.
39896 * nss/nss_files/files-init.c: New file.
39897 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39898 __nss_lookup_function.
39899 (__nss_lookup_function): Call nss_load_library.
39900 (nss_load_all_libraries): New function.
39901 (__nss_disable_nscd): Take parameter with callback function for files
39902 to register. Set is_nscd. Load all the DSOs for the NSS modules
39903 used for the cached services.
39904 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39905 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39906 options for features to all the files in nscd.
39908 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39910 2011-07-10 Roland McGrath <roland@hack.frob.com>
39912 * csu/elf-init.c (__libc_csu_init): Comment typo.
39914 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39916 * po/pl.po: Update from translation team.
39917 * po/ja.po: Likewise.
39918 * po/ru.po: Likewise.
39919 * po/ko.po: Likewise.
39920 * po/fr.po: Likewise.
39922 2011-07-09 Roland McGrath <roland@hack.frob.com>
39924 * configure.in (.ctors/.dtors header and trailer check):
39925 Use an empirical test on a built program.
39926 * configure: Regenerated.
39928 * configure.in (-z relro check): Use an empirical test on a built DSO.
39929 Detect, but do not require, on ia64.
39930 * configure: Regenerated.
39932 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39933 Update tests that use readelf to use $READELF instead.
39934 * configure: Regenerated.
39936 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39938 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39939 if the result is not used.
39941 2011-07-05 Andreas Jaeger <aj@suse.de>
39944 * stdlib/tst-strtod.c: Add testcase.
39946 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39948 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39949 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39950 The latter has a higher limit. Take additional parameter to pass to
39952 (__pathconf): Pass file to __statfs_link_max.
39953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39955 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39959 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39960 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39962 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39963 (__statfs_filesize_max): Likewise.
39964 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39966 2011-07-05 Andreas Jaeger <aj@suse.de>
39968 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39970 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39972 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39974 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39977 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39979 * Makefile (strop-tests): Add strncat.
39980 * string/test-strncat.c: New file.
39982 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39984 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39986 2011-06-21 Andreas Jaeger <aj@suse.de>
39988 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39989 Copy rule from iconvdata/Makefile.
39991 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39994 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39995 but no long options are defined, just return 'W'.
39997 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40000 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40002 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40004 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40006 (innetgr): Likewise.
40008 2011-07-05 Roland McGrath <roland@hack.frob.com>
40010 * config.make.in (install_root): Default to $(DESTDIR).
40012 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40016 2011-07-02 Roland McGrath <roland@hack.frob.com>
40018 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40020 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40021 containing directory rather than embedding absolute directory names.
40023 * scripts/check-local-headers.sh: Rewritten using awk.
40024 Match by word, not by line. Print error messages for matches.
40025 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40027 * Makerules [shlib-lds-flags empty]:
40028 ($(common-objpfx)libc_pic.opts): New target.
40029 ($(common-objpfx)libc_pic.os.clean): New target.
40030 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40032 * config.make.in (OBJCOPY): New variable.
40033 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40034 * configure: Regenerated.
40036 * config.make.in (use-default-link): New variable.
40037 * configure.in (use_default_link): Grok --with-default-link to set it.
40038 * configure: Regenerated.
40039 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40040 (shlib-lds, shlib-lds-flags): Define to empty.
40042 * Makerules (shlib-lds): New variable.
40043 (shlib-lds-flags): New variable.
40044 (build-shlib, build-moduile, build-module-asneeded): Use it.
40045 ($(common-objpfx)libc.so): Use $(shlib-lds).
40046 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40047 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40049 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40050 DT_FLAGS/DT_FLAGS_1 with zero flags.
40052 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40053 linker script munging.
40055 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40057 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40059 * crypt/sha512.c (sha512_process_block): Perform total addition using
40060 128-bit if possible.
40061 (__sha512_finish_ctx): Likewise.
40062 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40064 * crypt/sha256.c (SWAP64): Define.
40065 (sha256_process_block): Perform total addition using 64-bit if
40067 (__sha256_finish_ctx): Likewise.
40069 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40071 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40072 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40073 * nscd/hstcache.c (cache_addhst): Likewise.
40074 * nscd/grpcache.c (cache_addgr): Likewise.
40075 * nscd/aicache.c (addhstaiX): Likewise
40076 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40078 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40080 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40082 * nscd/hstcache.c (cache_addhst): Likewise.
40083 * nscd/grpcache.c (cache_addgr): Likewise.
40084 * nscd/aicache.c (addhstaiX): Likewise
40086 2011-07-01 Andreas Schwab <schwab@redhat.com>
40088 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40089 domain only when needed.
40091 2011-06-30 Andreas Schwab <schwab@redhat.com>
40093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40094 is always restored.
40096 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40098 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40099 are re-adding the entry.
40100 * nscd/servicescache.c (cache_addserv): Likewise.
40102 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40104 * sysdeps/generic/dl-irel.h: fix protection against multiple
40106 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40108 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40111 * malloc/memusage.sh: Fix quoting in message.
40112 * debug/xtrace.sh: Likewise.
40114 * configure.in: Remove support for --experimental-malloc option, make
40116 * config.make.in: Likewise.
40117 * malloc/Makefile: Likewise.
40119 2011-06-27 Andreas Schwab <schwab@redhat.com>
40121 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40122 two-byte characters.
40124 2011-06-27 Roland McGrath <roland@hack.frob.com>
40126 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40127 AC_CACHE_CHECK invocation.
40128 * configure: Regenerated.
40130 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40132 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40135 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40136 bit from old_res_options.
40138 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40140 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40141 value type for setfct.
40143 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40146 __gettimeofday instead of gettimeofday.
40148 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40150 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40152 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40159 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40162 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40163 strcpy-sse2-unaligned strncpy-sse2-unaligned
40164 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40165 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40166 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40167 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40168 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40169 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40170 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40171 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40172 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40173 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40174 (STRCPY): Support SSE2 and SSSE3 versions.
40176 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40179 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40180 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40181 kernels which artificially limit size of requests.
40183 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40186 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40187 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40188 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40189 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40190 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40191 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40192 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40195 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40196 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40197 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40198 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40199 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40201 Enable unaligned load optimization for Intel Core i3, i5 and i7
40203 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40205 (index_Fast_Unaligned_Load): Define.
40206 (HAS_FAST_UNALIGNED_LOAD): Define.
40208 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40210 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40212 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40215 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40216 until it is clear that the information is realy needed.
40217 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40219 2011-06-22 Andreas Schwab <schwab@redhat.com>
40221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40223 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40226 /sys/devices/system/cpu/online if it is usable.
40228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40229 reading the information from the /proc filesystem to once a second.
40231 2011-06-21 Andreas Jaeger <aj@suse.de>
40233 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40234 NULL after inclusion of kernel headers.
40236 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40238 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40239 calls to internal_setent.
40242 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40243 addresses using gethostbyname4_r ignore IPv4 addresses.
40245 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40246 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40248 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40250 2011-06-20 David S. Miller <davem@davemloft.net>
40252 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40254 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40256 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40257 (elf_irel): Use it.
40258 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40259 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40260 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40261 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40262 * sysdeps/x86_64/dl-irel.h: Likewise.
40264 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40265 * elf/dl-sym.c: Likewise.
40267 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40269 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40270 need to dereference resplen2.
40272 2011-06-14 Andreas Schwab <schwab@redhat.com>
40274 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40276 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40278 * Makeconfig: Define vardbdir and inst_vardbdir.
40279 * nss/Makefile: Add rules to install db-Makefile.
40281 * nss/nss_db/db-XXX.c: Cleanup.
40283 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40284 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40286 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40287 * nss/makedb.c: Implement -g option to specify that value strings
40288 are generated and should not be added to table iterated over for
40290 * nss/nss_db/db-initgroups.c: New file.
40292 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40295 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40296 (internal_getgrouplist): Adjust to name change.
40297 Update use_initgroups_entry if this is not the first call.
40298 * nss/databases.def: Add initgroups entry.
40300 * nss/makedb.c (compute_tables): Check result of multiple hash table
40301 sizes to minimize maximum chain length.
40303 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40305 * Versions.def: Add entry for libnss_db.
40306 * shlib-versions: Likewise.
40307 * nss/Makefile: Add rules to build libnss_db.
40308 * nss/Versions: Add libnss_db information. Organize libnss_files
40310 * nss/db-Makefile: Add gshadow support. Change rules for the new
40311 makedb progra. Some minor improvements to generate smaller files.
40312 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40314 * nss/makedb.c: ...here.
40315 Improve database format to be smaller and require less memory at
40317 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40319 * nss/nss_db/db-netgrp.c: Likewise.
40320 * nss/nss_db/db-open.c: Likewise.
40321 * nss/nss_files/flies-XXX.x: Adjust comments.
40322 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40323 * nss/nss_files/files-grp.c: Likewise.
40324 * nss/nss_files/files-hosts.c: Likewise.
40325 * nss/nss_files/files-network.c: Likewise.
40326 * nss/nss_files/files-proto.c: Likewise.
40327 * nss/nss_files/files-pwd.c: Likewise.
40328 * nss/nss_files/files-rpc.c: Likewise.
40329 * nss/nss_files/files-service.c: Likewise.
40330 * nss/nss_files/files-sgrp.c: Likewise.
40331 * nss/nss_files/files-spwd.c: Likewise.
40332 * nss/nss_db/db-alias.c: Removed.
40333 * nss/nss_db/dummy-db.h: Removed.
40335 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40337 * nss/makedb.c: Rewritten to not use database library.
40338 * nss/Makefile: Update to build new makedb program.
40340 2011-06-14 Andreas Jaeger <aj@suse.de>
40342 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40343 memset declaration.
40345 2011-06-10 Andreas Schwab <schwab@redhat.com>
40347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40350 2011-06-10 Roland McGrath <roland@hack.frob.com>
40352 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40353 * elf/Makefile ($(objpfx)ld.so): Likewise.
40355 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40356 Don't list ld.so twice in dependencies.
40358 * posix/bug-regex31.c: Include <stdlib.h>.
40360 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40362 * nis/nss_compat/compat-spwd.c
40363 (getspent_next_nss_netgr): Remove unused variable.
40364 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40366 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40367 nonmembers" output to use the right array.
40369 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40371 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40373 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40374 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40375 * catgets/gencat.c (read_input_file): Likewise.
40376 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40378 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40379 variable definition inside #if's controlling its use.
40381 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40383 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40385 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40387 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40390 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40392 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40393 * configure: Regenerated.
40395 * Makerules: Revert last change.
40396 * elf/Makefile: Likewise.
40398 2011-06-09 Roland McGrath <roland@hack.frob.com>
40400 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40401 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40402 (reloc-link): Likewise.
40404 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40406 * elf/Makefile: Add rules to build pldd.
40407 * elf/pldd.c: New file.
40408 * elf/pldd-xx.c: New file.
40410 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40412 * version.h: Update for 2.15 development version.
40414 2011-06-07 David S. Miller <davem@davemloft.net>
40416 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40419 elf_machine_lazy_rel): Likewise.
40420 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40422 elf_machine_lazy_rel): Likewise.
40423 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40424 dl_hwcap via passed in argument.
40425 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40428 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40430 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40432 2011-06-06 Roland McGrath <roland@hack.frob.com>
40435 * manual/fdl-1.1.texi: New file, verbatim from:
40436 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40437 * manual/lgpl-2.1.texi: New file, verbatim from:
40438 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40439 * manual/Makefile (licenses): New variable, list those new file names.
40441 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40443 * manual/fdl.texi: File removed.
40444 * manual/lesser.texi: File removed.
40445 * manual/libc.texinfo (Copying, Documentation License):
40446 Use new @include file names, put @appendix directive before @include.
40448 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40451 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40452 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40453 (mq_open): Add __NTH.
40455 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40458 Assume Intel Core i3/i5/i7 processor if AVX is available.
40460 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40465 2011-05-31 Andreas Schwab <schwab@redhat.com>
40467 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40468 memory. Use alloca_account. Fix memory leak when retrying.
40470 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40472 * version.h (RELEASE): Bump for 2.14 release.
40473 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40475 * config.make.in (RANLIB): Remove entry.
40477 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40479 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40480 (libc.pot): Work around missing support for .ksh extension in xgettext.
40483 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40484 if both request failed.
40485 (send_dg): In case of server errors clear resplen or *resplen2.
40488 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40489 when there are multiple maps.
40490 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40491 (_dl_fini): Remove test here.
40493 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40495 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40498 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40499 bit from old_res_options.
40500 (gaih_inet): Likewise.
40503 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40506 * resolv/res_init.c (res_setoptions): Make the code more compact.
40509 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40513 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40515 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40518 * malloc/malloc.h: Declare malloc hook variables as volatile.
40520 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40524 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40525 raise in the comment.
40526 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40528 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40530 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40533 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40534 grow the buffers more if it already has to be sufficient.
40535 (build_wcs_upper_buffer): Likewise.
40536 * posix/regexec.c (check_matching): Likewise.
40537 (clean_state_log_if_needed): Likewise.
40538 (extend_buffers): Don't enlarge buffers beyond size of the input
40540 Patches mostly by Emil Wojak <emil@wojak.eu>.
40541 * posix/bug-regex32.c: New file.
40542 * posix/Makefile (tests): Add bug-regex32.
40544 * locale/findlocale.c (_nl_find_locale): Return right away if
40545 _nl_explode_name failed.
40546 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40548 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40550 * debug/xtrace.sh: Unify messages.
40551 * malloc/memusage.sh: Likewise.
40554 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40555 time symbol from vDSO. Substitute with vsyscall if not available.
40556 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40559 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40560 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40561 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40562 Add sendmmsg and internal_sendmmsg.
40563 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40564 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40565 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40567 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40568 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40569 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40571 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40574 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40575 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40581 * iconvdata/Makefile (tests): Add bug-iconv9.
40582 * iconvdata/bug-iconv9.c: New file.
40584 2011-05-27 Andreas Schwab <schwab@redhat.com>
40587 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40589 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40592 (struct user_regs_struct): Change intcs field back to cs.
40594 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40596 * po/ja.po: Update from translation team.
40598 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40601 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40602 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40604 2011-05-20 Andreas Schwab <schwab@redhat.com>
40606 * stdlib/longlong.h: Update from GCC.
40608 2011-05-23 Andreas Schwab <schwab@redhat.com>
40610 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40612 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40613 Add parameter name.
40614 (__sysconf): Pass it down.
40616 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40619 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40621 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40622 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40623 add in in __libc_use_alloca calls. Adjust callers.
40624 (glob): Use malloc in some situations.
40626 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40627 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40630 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40632 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40633 and CLOCK_BOOTTIME_ALARM.
40636 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40639 * string/_strerror.c (__strerror_r): Print negative errors as signed
40643 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40644 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40645 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40647 * configure.in: Fix typo in redirection and correct removal of test
40648 files in two cases.
40651 * locale/setlocale.c (new_composite_name): Fix test to check for
40652 identical name of all categories.
40655 * libio/filedoalloc.c (local_isatty): New function.
40656 (_IO_file_doallocate): Use local_isatty.
40657 * stdio-common/perror.c (perror): In case a new stream is used
40658 forward the stream error.
40659 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40662 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40667 * include/alloca.h (extend_alloca_account): Define.
40670 * posix/regex.h: Fix comments with documentation of user-accessible
40671 fields after compilation and describe correct free'ing of pattern
40672 after re_compile_pattern.
40673 Patch by Reuben Thomas <rrt@sc3d.org>.
40675 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40677 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40678 and -mno-altivec to prevent the compiler from using Altivec and/or
40679 VSX instructions when the corresponding registers are not available.
40681 2011-05-19 Andreas Schwab <schwab@redhat.com>
40683 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40685 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40687 * libio/freopen.c (freopen): Use __dup2, not dup2.
40688 * libio/freopen64.c (freopen64): Likewise.
40690 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40693 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40694 * math/Makefile (tests): Add test-powl.
40695 (CFLAGS-test-powl.c): Define.
40696 * math/test-powl.c: New file.
40698 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40700 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40702 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40705 * iconvdata/gb18030.c: Update to GB18020-2005.
40707 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40709 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40710 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40711 Patch by Aharon Robbins <arnold@skeeve.com>.
40714 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40718 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40719 through underflows.
40722 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40723 point to strings before performing equality test for error_one_per_line
40727 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40730 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40731 (struct user_fpregs_struct): Avoid __uint*_t types.
40734 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40735 symbol info. Use it instead of calling _dl_addr locally.
40736 (lock_and_info): New function.
40737 (tr_freehook): Call lock_and_info and pass symbol info as additional
40738 parameter to tr_where.
40739 (tr_mallochook): Likewise.
40740 (tr_reallochook): Likewise.
40741 (tr_memalignhook): Likewise.
40743 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40744 used and couldn't be at all thread-safe.
40746 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40748 * libio/freopen.c (freopen): Don't close old file descriptor
40749 before the new one is opened. Instead dup the new file descriptor
40750 to the old one after the new stream is created.
40751 * libio/freopen64.c (freopen64): Likewise.
40752 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40753 * libio/fileops.c (_IO_new_file_close_it): Handle new
40754 _IO_FLAGS2_NOCLOSE flag.
40755 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40756 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40757 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40758 _IO_FLAGS2_NOCLOSE flag.
40759 * include/unistd.h: Add hidden_proto for dup3.
40760 Define __have_dup3.
40761 * io/dup3.c: Define hidden symbol.
40762 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40765 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40766 when an incomplete long option is used.
40767 * posix/tst-getopt_long1.c: New file.
40768 * posix/Makefile (tests): Add tst-getopt_long1.
40771 * scripts/config.guess: Update from autoconf-2.68.
40772 * scripts/config.sub: Likewise.
40775 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40777 (has_cpuclock): ...this. New function.
40778 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40779 macro here based on has_cpuclock code.
40782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40783 First byte (not low byte) is now always NUL.
40784 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40787 Use non-cancelable interfaces.
40790 * locale/iso-639.def: Add entry for Sorani.
40793 * include/stdlib.h: Move include protection to the right place.
40794 Define abort_msg_s. Declare __abort_msg with it.
40795 * stdlib/abort.c (__abort_msg): Adjust type.
40796 * assert/assert.c (__assert_fail_base): New function. Majority
40797 of code from __assert_fail. Allocate memory for __abort_msg with
40799 (__assert_fail): Now call __assert_fail_base.
40800 * assert/assert-perr.c: Remove bulk of implementation. Use
40801 __assert_fail_base.
40802 * include/assert.hL Declare __assert_fail_base.
40803 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40805 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40807 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40811 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40812 until all modules are registered in the DTV.
40813 * elf/Makefile: Add rules to build and run tst-tls19.
40814 * elf/tst-tls19.c: New file.
40815 * elf/tst-tls19mod1.c: New file.
40816 * elf/tst-tls19mod2.c: New file.
40817 * elf/tst-tls19mod3.c: New file.
40818 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40821 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40825 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40826 two-byte sequence errors.
40827 * iconvdata/Makefile (tests): Add bug-iconv8.
40828 * iconvdata/bug-iconv8.c: New file.
40831 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40834 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40837 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40838 (dummy_getcfa): New function.
40839 (init): Get _Unwind_GetCFA address, use dummy if not found.
40840 (backtrace_helper): In recursion check, also check whether CFA changes.
40841 (__backtrace): Completely initialize arg.
40843 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40844 storing incomplete byte sequence in state object. Avoid testing for
40845 guaranteed too small input if we know there is enough data available.
40847 2011-05-11 Andreas Schwab <schwab@redhat.com>
40849 * Makeconfig (+link-pie): Indent.
40850 * Rules (binaries-pie): Define if $(have-fpie) and
40852 (binaries-shared): Also filter out $(binaries-pie).
40853 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40854 * nscd/Makefile (others-pie): Add nscd.
40855 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40856 ($(objpfx)nscd): Remove command override.
40857 * login/Makefile (others-pie): Add pt_chown.
40858 ($(objpfx)pt_chown): Remove command override.
40859 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40860 remove command overrides.
40862 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40864 * libio/tst_putwc.c: Fix error messages.
40867 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40868 currently writing and seek to current position when not.
40869 * libio/Makefile (tests): Add bug-fclose1.
40870 * libio/bug-fclose1.c: New file.
40872 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40875 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40876 don't set DF_1_NODELETE here.
40877 (do_lookup_x): When entering new entry test for copy relocation
40878 and if necessary set DF_1_NODELETE flag.
40879 * elf/tst-unique4.cc: New file.
40880 * elf/tst-unique4.h: New file.
40881 * elf/tst-unique4lib.cc: New file.
40882 * elf/Makefile: Add rules to build and run tst-unique4.
40883 Patch by Piotr Bury <pbury@goahead.com>.
40885 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40888 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40891 * misc/mntent_r.c (addmntent): Flush the stream after the output
40894 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40895 (is_trusted_path_normalize): Skip initial colon. Append slash
40896 to empty buffer. Duplicate is_trusted_path code but allow
40897 constructed patch to be prefix.
40898 (is_dst): Allow $ORIGIN followed by /.
40899 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40900 Correct testing of result of is_trusted_path_normalize
40901 (decompose_rpath): Fix warning.
40903 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40906 * grp/initgroups.c (internal_getgrouplist): When we found the service
40907 list through the initgroups entry in nsswitch.conf do not always
40908 continue on a successful lookup. Don't always use the
40909 __nss_group_database value if it is set.
40910 * nss/nsswitch.conf (initgroups): Change action for successful db
40911 lookup to continue for compatibility.
40913 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40916 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40918 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40920 * iconvdata/tst-tables.sh: Likewise.
40921 * iconvdata/cp770.c: New file.
40922 * iconvdata/cp771.c: New file.
40923 * iconvdata/cp772.c: New file.
40924 * iconvdata/cp773.c: New file.
40925 * iconvdata/cp774.c: New file.
40926 * iconvdata/testdata/CP770: New file.
40927 * iconvdata/testdata/CP770..UTF8: New file.
40928 * iconvdata/testdata/CP771: New file.
40929 * iconvdata/testdata/CP771..UTF8: New file.
40930 * iconvdata/testdata/CP772: New file.
40931 * iconvdata/testdata/CP772..UTF8: New file.
40932 * iconvdata/testdata/CP773: New file.
40933 * iconvdata/testdata/CP773..UTF8: New file.
40934 * iconvdata/testdata/CP774: New file.
40935 * iconvdata/testdata/CP774..UTF8: New file.
40937 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40939 * iconvdata/gen-8bit-gap.sh: Likewise.
40940 * iconvdata/gen-8bit.sh: Likewise.
40942 * locale/iso-639.def: Add ary entry.
40945 * locale/C-translit.h.in: Add U20A1 transliteration.
40948 * locale/iso-639.def: Add wae entry.
40949 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40952 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40956 * locale/C-translit.h.in: Add entry for U20B9.
40957 Patch by pravin.d.s@gmail.com.
40959 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40962 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40963 ENAMETOOLONG use generic getcwd.
40964 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40965 in rtld. Use *stat64.
40966 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40967 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40968 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40969 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40970 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40971 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40972 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40973 __fstatat64 macros.
40974 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40975 * dirent/rewinddir.c: Add libc_hidden_def.
40976 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40977 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40979 * include/dirent.h (__alloc_dir): Add flags parameter.
40980 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40981 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40983 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40984 from fdopendir if O_CLOEXEC is already set.
40986 2011-03-15 Alan Modra <amodra@gmail.com>
40988 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40989 l_tls_firstbyte_offset non-zero. Save padding offset in
40990 l_tls_firstbyte_offset for later use.
40991 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40992 freeing static tls block.
40994 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40996 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40997 where #ifdef was intended. The intent is to prevent ARG_MAX from
40998 being defined by the kernel headers.
41000 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41003 * resolv/resolv.h: Define RES_NOTLDQUERY.
41004 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41005 no-tld-query and set RES_NOTLDQUERY.
41006 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41007 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41008 modern BIND to search name as TLD unless forbidden.
41010 2011-05-07 Petr Baudis <pasky@suse.cz>
41011 Ulrich Drepper <drepper@gmail.com>
41014 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41015 (is_trusted_path): ...to here.
41016 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41017 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41018 using is_trusted_path_normalize() in setuid scripts.
41020 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41022 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41023 __BEGIN/__END_DECLS.
41025 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41028 NSS_STATUS_NOTFOUND if no record was found.
41030 2011-05-05 Andreas Schwab <schwab@redhat.com>
41032 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41033 (headers-not-in-tirpc): Remove rpc/netdb.h
41034 * resolv/netdb.h: Revert last change.
41036 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41038 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41039 circular dependency between libgcc.a and libc.a.
41041 2011-05-05 Andreas Schwab <schwab@redhat.com>
41043 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41044 * nis/Makefile: Don't install rpcsvc/*.
41045 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41046 instead of <rpc/types.h>.
41047 (MAXHOSTNAMELEN): Define.
41049 2011-05-03 Andreas Schwab <schwab@redhat.com>
41051 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41053 2011-04-28 Maciej Babinski <mbabinski@google.com>
41056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41057 gethostbyname4_r when IPv6 results are possible.
41059 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41062 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41063 _PC_PIPE_BUF handling.
41065 2011-04-30 Bruno Haible <bruno@clisp.org>
41068 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41069 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41071 * inet/getnameinfo.c (getnameinfo): Likewise.
41073 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41075 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41076 to groups setting in database lookup.
41077 * nss/nsswitch.conf: Add initgroups entry.
41079 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41082 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41084 Patch by Eric Blake <eblake@redhat.com>.
41086 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41088 * sunrpc/Makefile (need-export-routines): Add svc_run.
41089 (routines): Remove svc_run.
41090 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41091 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41092 * sunrpc/svc_run.c (svc_run): Likewise.
41093 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41095 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41098 problem in reallocation in last patch.
41100 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41102 * sunrpc/Makefile: Move inclusion of Rules.
41104 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41106 * nss/nss_files/files-initgroups.c: New file.
41107 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41108 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41109 _nss_files_initgroups_dyn.
41111 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41113 * elf/elf.h (R_ARM_IRELATIVE): Define.
41115 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41117 * po/ru.po: Update from translation team.
41119 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41121 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41124 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41128 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41129 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41130 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41131 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41133 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41135 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41137 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41141 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41144 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41146 * stdlib/bug-getcontext.c: New file.
41147 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41149 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41151 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41152 instructions into .machine "z9-109".
41153 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41154 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41156 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41158 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41159 between environment variables and auxiliary vector.
41161 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41163 * Makefile: Add rules to build linkobj/libc.so.
41164 * include/libc-symbols.h: Define libc_hidden_nolink.
41165 * include/rpc/auth.h: Mark functions which are to be hidden.
41166 * include/rpc/auth_des.h: Likewise.
41167 * include/rpc/auth_unix.h: Likewise.
41168 * include/rpc/clnt.h: Likewise.
41169 * include/rpc/des_crypt.h: Likewise.
41170 * include/rpc/key_prot.h: Likewise.
41171 * include/rpc/pmap_clnt.h: Likewise.
41172 * include/rpc/pmap_prot.h: Likewise.
41173 * include/rpc/pmap_rmt.h: Likewise.
41174 * include/rpc/rpc_msg.h: Likewise.
41175 * include/rpc/svc.h: Likewise.
41176 * include/rpc/svc_auth.h: Likewise.
41177 * include/rpc/xdr.h: Likewise.
41178 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41179 * nss/Makefile: Likewise.
41180 * sunrpc/Makefile: Don't install headers. Build library with normal
41181 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41182 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41183 for the compat linking library. Remove use of INTDEF/INTUSE.
41184 * sunrpc/auth_none.c: Likewise.
41185 * sunrpc/auth_unix.c: Likewise.
41186 * sunrpc/authdes_prot.c: Likewise.
41187 * sunrpc/authuxprot.c: Likewise.
41188 * sunrpc/clnt_gen.c: Likewise.
41189 * sunrpc/clnt_perr.c: Likewise.
41190 * sunrpc/clnt_raw.c: Likewise.
41191 * sunrpc/clnt_simp.c: Likewise.
41192 * sunrpc/clnt_tcp.c: Likewise.
41193 * sunrpc/clnt_udp.c: Likewise.
41194 * sunrpc/clnt_unix.c: Likewise.
41195 * sunrpc/des_crypt.c: Likewise.
41196 * sunrpc/des_soft.c: Likewise.
41197 * sunrpc/get_myaddr.c: Likewise.
41198 * sunrpc/key_call.c: Likewise.
41199 * sunrpc/key_prot.c: Likewise.
41200 * sunrpc/netname.c: Likewise.
41201 * sunrpc/pm_getmaps.c: Likewise.
41202 * sunrpc/pm_getport.c: Likewise.
41203 * sunrpc/pmap_clnt.c: Likewise.
41204 * sunrpc/pmap_prot.c: Likewise.
41205 * sunrpc/pmap_prot2.c: Likewise.
41206 * sunrpc/pmap_rmt.c: Likewise.
41207 * sunrpc/publickey.c: Likewise.
41208 * sunrpc/rpc_cmsg.c: Likewise.
41209 * sunrpc/rpc_common.c: Likewise.
41210 * sunrpc/rpc_dtable.c: Likewise.
41211 * sunrpc/rpc_prot.c: Likewise.
41212 * sunrpc/rpc_thread.c: Likewise.
41213 * sunrpc/rtime.c: Likewise.
41214 * sunrpc/svc.c: Likewise.
41215 * sunrpc/svc_auth.c: Likewise.
41216 * sunrpc/svc_authux.c: Likewise.
41217 * sunrpc/svc_raw.c: Likewise.
41218 * sunrpc/svc_run.c: Likewise.
41219 * sunrpc/svc_simple.c: Likewise.
41220 * sunrpc/svc_tcp.c: Likewise.
41221 * sunrpc/svc_udp.c: Likewise.
41222 * sunrpc/svc_unix.c: Likewise.
41223 * sunrpc/svcauth_des.c: Likewise.
41224 * sunrpc/xcrypt.c: Likewise.
41225 * sunrpc/xdr.c: Likewise.
41226 * sunrpc/xdr_array.c: Likewise.
41227 * sunrpc/xdr_float.c: Likewise.
41228 * sunrpc/xdr_intXX_t.c: Likewise.
41229 * sunrpc/xdr_mem.c: Likewise.
41230 * sunrpc/xdr_rec.c: Likewise.
41231 * sunrpc/xdr_ref.c: Likewise.
41232 * sunrpc/xdr_sizeof.c: Likewise.
41233 * sunrpc/xdr_stdio.c: Likewise.
41235 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41238 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41239 * sysdeps/ia64/dl-tls.h: Likewise.
41240 * sysdeps/powerpc/dl-tls.h: Likewise.
41241 * sysdeps/s390/dl-tls.h: Likewise.
41242 * sysdeps/sh/dl-tls.h: Likewise.
41243 * sysdeps/sparc/dl-tls.h: Likewise.
41244 * sysdeps/x86_64/dl-tls.h: Likewise.
41245 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41247 2011-03-14 Andreas Schwab <schwab@redhat.com>
41249 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41250 rpath element also skip the following colon.
41251 (expand_dynamic_string_token): Add is_path parameter and pass
41252 down to DL_DST_REQUIRED and _dl_dst_substitute.
41253 (decompose_rpath): Call expand_dynamic_string_token with
41254 non-zero is_path. Ignore empty rpaths.
41255 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41258 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41263 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41266 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41267 Patch by Filipe David Manana <fdmanana@apache.org>.
41269 2011-04-07 Andreas Schwab <schwab@redhat.com>
41271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41272 Maintain aligned stack.
41273 (CHECK_RSP): Remove unused macro.
41275 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41277 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41278 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41280 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41282 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41284 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41286 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41289 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41290 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41291 * sysdeps/x86_64/memmove.c: New file.
41292 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41293 (memcpy): Renamed to ...
41294 (__new_memcpy): This.
41295 (memcpy): Provide GLIBC_2_14 memcpy.
41296 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41297 (memcpy): Provide GLIBC_2_2_5 memcpy.
41299 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41302 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41304 2011-03-30 Andreas Schwab <schwab@redhat.com>
41306 * misc/syncfs.c: New file.
41307 * misc/Makefile (routines): Add syncfs.
41308 * posix/unistd.h: Declare syncfs.
41309 * sysdeps/unix/syscalls.list: Add syncfs.
41311 2011-04-01 Andreas Schwab <schwab@redhat.com>
41313 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41315 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41316 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41320 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41323 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41325 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41326 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41327 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41329 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41333 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41334 sync_file_range.c with -fexceptions.
41335 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41336 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41337 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41338 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41339 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41340 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41341 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41342 sync_file_range as cancellation point
41343 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41344 now a wrapper around __call_sync_file_range with cancellation handling.
41345 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41346 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41347 function name to __call_sync_file_range.
41348 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41349 Add call_sync_file_range.
41351 2011-04-01 Andreas Schwab <schwab@redhat.com>
41353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41356 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41358 * iconv/iconv.h: Fix typo in comment.
41359 * io/fcntl.h: Likewise.
41360 * libio/stdio.h: Likewise.
41361 * posix/spawn.h: Likewise.
41362 * posix/unistd.h: Likewise.
41363 * stdlib/stdlib.h: Likewise.
41364 * time/time.h: Likewise.
41365 * wcsmbs/wchar.h: Likewise.
41367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41368 open_by_handle): Add.
41369 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41370 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41371 Augment a few comments.
41372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41374 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41377 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41380 * io/fcntl.h (AT_EMPTY_PATH): Define.
41382 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41384 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41385 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41386 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41388 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41389 * Versions.def: Add GLIBC_2.14.
41390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41393 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41395 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41397 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41399 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41402 * string/test-strncmp.c (do_page_test): New function.
41403 (check2): Likewise.
41404 (test_main): Call check2.
41405 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41407 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41411 Handle cache information in CPU leaf 4.
41412 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41414 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41417 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41418 character representation.
41419 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41421 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41423 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41424 END(__isnan) to END(__isnanf) to match function entry point/label
41425 EALIGN(__isnanf,...).
41427 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41429 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41431 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41434 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41435 copy from the symbol referenced in the relocation to initialize the
41437 Patch by Piotr Bury <pbury@goahead.com>.
41438 * elf/Makefile: Add rules to build and tst-unique3.
41439 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41440 * elf/tst-unique3.cc: New file.
41441 * elf/tst-unique3.h: New file.
41442 * elf/tst-unique3lib.cc: New file.
41443 * elf/tst-unique3lib2.cc: New file.
41445 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41447 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41449 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41450 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41453 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41455 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41456 to-be-loaded object along a path to loader is ld.so.
41458 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41459 Ulrich Drepper <drepper@gmail.com>
41461 * sysdeps/x86_64/memset.S: After aligning destination, code
41462 branches to different locations depending on the value of
41463 misalignment, when multiarch is enabled. Fix this.
41465 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41467 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41468 Set _x86_64_preferred_memory_instruction for AMD processsors.
41469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41470 Set bit_Prefer_SSE_for_memop for AMD processors.
41472 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41474 * libio/fmemopen.c (fmemopen): Optimize a bit.
41476 2011-03-03 Andreas Schwab <schwab@redhat.com>
41478 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41480 2011-03-03 Roland McGrath <roland@redhat.com>
41482 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41484 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41486 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41487 __bzero_ultra1 instead of __memset_ultra1.
41489 2011-02-23 Andreas Schwab <schwab@redhat.com>
41490 Ulrich Drepper <drepper@gmail.com>
41493 * include/link.h (struct link_map): Add l_orig_initfini.
41494 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41495 returning unsuccessfully.
41496 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41497 close of a file loaded at startup, restore the original l_initfini
41499 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41500 list, store the pointer.
41501 * elf/Makefile ($(objpfx)noload-mem): New rule.
41502 (noload-ENV): Define.
41503 (tests): Add $(objpfx)noload-mem.
41504 * elf/noload.c: Include <memcheck.h>.
41505 (main): Call mtrace. Close all opened handles.
41507 2011-02-17 Andreas Schwab <schwab@redhat.com>
41510 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41511 dependencies are missing.
41513 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41515 Fix __if_freereq crash: Unlike the generic version which uses free,
41517 * sysdeps/mach/hurd/ifreq.h: New file.
41519 2011-01-27 Petr Baudis <pasky@suse.cz>
41520 Ulrich Drepper <drepper@gmail.com>
41523 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41524 to extend_alloca().
41525 * stdio-common/bug23.c: New file.
41526 * stdio-common/Makefile (tests): Add bug23.
41528 2010-09-28 Andreas Schwab <schwab@redhat.com>
41529 Ulrich Drepper <drepper@gmail.com>
41532 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41533 before performing relro protection. At old place add assertion
41534 to make sure nothing changed.
41536 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41537 Glauber de Oliveira Costa <glommer@gmail.com>
41539 * elf/elf.h: Add new ARM TLS relocs.
41541 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41544 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41546 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41548 * sysdeps/wordsize-64/tst-writev.c: New file.
41550 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41552 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41553 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41554 insns in _dl_start to prevent a TOC reference before relocs are
41557 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41560 * Makeconfig: Remove RANLIB definition.
41561 * Makerules: Don't use RANLIB.
41562 * aclocal.m4: Remove ranlib test.
41563 * configure.in: No need to check for ranlib.
41564 * elf/rtld-Rules: Don't use RANLIB.
41566 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41568 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41570 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41571 inclusion protection macro.
41573 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41574 SIGRTMIN and SIGRTMAX and print information in that case only when
41575 SIGRTMIN is defined.
41577 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41579 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41580 arginfo fn returning -1.
41582 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41583 and thousands string is zero terminated.
41585 2011-02-03 Andreas Schwab <schwab@redhat.com>
41587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41588 sysdeps/unix/sysv/linux/bits/socket.h.
41590 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41592 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41593 (__CPU_COUNT): Remove old macros.
41594 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41595 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41596 (__CPU_ALLOC, __CPU_FREE): Add macros.
41597 (__sched_cpualloc, __sched_cpufree): Add declarations.
41599 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41601 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41602 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41603 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41604 (readdhstai): Return value of addhstaiX call.
41605 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41606 (addgrbyX): Return value returned by cache_addgr.
41607 (readdgrbyname): Return value returned by addgrbyX.
41608 (readdgrbygid): Likewise.
41609 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41610 (addpwbyX): Return value returned by cache_addpw.
41611 (readdpwbyname): Return value returned by addhstbyX.
41612 (readdpwbyuid): Likewise.
41613 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41614 (addservbyX): Return value returned by cache_addserv.
41615 (readdservbyname): Return value returned by addservbyX:
41616 (readdservbyport): Likewise.
41617 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41618 (addhstbyX): Return value returned by cache_addhst.
41619 (readdhstbyname): Return value returned by addhstbyX.
41620 (readdhstbyaddr): Likewise.
41621 (readdhstbynamev6): Likewise.
41622 (readdhstbyaddrv6): Likewise.
41623 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41624 (readdinitgroups): Return value returned by addinitgroupsX.
41625 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41626 (prune_cache): Keep track of timeout value of re-added entries.
41627 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41628 * nscd/nscd.h: Adjust prototypes of readd* functions.
41630 2011-02-04 Roland McGrath <roland@redhat.com>
41632 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41633 (nis_stats): Likewise.
41634 * nis/nis_modify.c (nis_modify): Likewise.
41635 * nis/nis_remove.c (nis_remove): Likewise.
41636 * nis/nis_add.c (nis_add): Likewise.
41638 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41640 * posix/fnmatch_loop.c: Add some consts.
41642 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41644 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41647 * config.make.in (config-cflags-novzeroupper): Define.
41648 * configure.in: Substitute libc_cv_cc_novzeroupper.
41649 * elf/Makefile (AVX-CFLAGS): Define.
41650 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41651 (CFLAGS-tst-auditmod4a.c): Likewise.
41652 (CFLAGS-tst-auditmod4b.c): Likewise.
41653 (CFLAGS-tst-auditmod6b.c): Likewise.
41654 (CFLAGS-tst-auditmod6c.c): Likewise.
41655 (CFLAGS-tst-auditmod7b.c): Likewise.
41656 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41658 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41660 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41661 function to the callback.
41662 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41664 2011-02-02 Andreas Schwab <schwab@redhat.com>
41666 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41669 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41672 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41674 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41676 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41679 * elf/Makefile: Add rules to build and run new test.
41680 * elf/tst-initorder.c: New file.
41681 * elf/tst-initorder.exp: New file.
41682 * elf/tst-initordera1.c: New file.
41683 * elf/tst-initordera2.c: New file.
41684 * elf/tst-initordera3.c: New file.
41685 * elf/tst-initordera4.c: New file.
41686 * elf/tst-initorderb1.c: New file.
41687 * elf/tst-initorderb2.c: New file.
41688 * elf/tst-order-a1.c: New file.
41689 * elf/tst-order-a2.c: New file.
41690 * elf/tst-order-a3.c: New file.
41691 * elf/tst-order-a4.c: New file.
41692 * elf/tst-order-b1.c: New file.
41693 * elf/tst-order-b2.c: New file.
41694 * elf/tst-order-main.c: New file.
41695 New test case by George Gensure <werkt0@gmail.com>.
41697 2010-10-01 Andreas Schwab <schwab@redhat.com>
41699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41700 decoding ACE if AI_CANONIDN.
41702 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41704 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41706 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41708 * version.h (RELEASE): Bump for 2.13 release.
41709 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41711 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41713 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41715 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41716 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41722 * posix/getconf.c: Update copyright year.
41723 * catgets/gencat.c: Likewise.
41724 * csu/version.c: Likewise.
41725 * debug/catchsegv.sh: Likewise.
41726 * debug/xtrace.sh: Likewise.
41727 * elf/ldconfig.c: Likewise.
41728 * elf/ldd.bash.in: Likewise.
41729 * elf/sprof.c (print_version): Likewise.
41730 * iconv/iconv_prog.c: Likewise.
41731 * iconv/iconvconfig.c: Likewise.
41732 * locale/programs/locale.c: Likewise.
41733 * locale/programs/localedef.c: Likewise.
41734 * malloc/memusage.sh: Likewise.
41735 * malloc/mtrace.pl: Likewise.
41736 * nscd/nscd.c (print_version): Likewise.
41737 * nss/getent.c: Likewise.
41739 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41740 PF_CAIF, and PF_ALG.
41741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41743 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41745 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41746 (modules-names): Use them.
41747 (ifunc-test-modules, ifunc-pie-tests): Define.
41748 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41749 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41750 (test-extras): Likewise.
41751 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41752 $(compile-command.c).
41753 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41754 (all-built-dso): Define.
41755 (check-textrel.out, check-execstack.out): Depend on it.
41757 * configure.in: Don't override --enable-multi-arch.
41759 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41762 * nscd/hstcache.c (tryagain): Define.
41763 (cache_addhst): Return tryagain not notfound for temporary errors.
41764 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41767 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41770 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41771 to make the syscall.
41772 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41775 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41776 and fall back to matching as normal character if the string ends before
41777 the matching ']' is found. This is what POSIX requires.
41778 * posix/testfnm.c: Adjust test result.
41779 * posix/globtest.sh: Adjust test result. Add new test.
41780 * posix/tst-fnmatch.input: Likewise.
41781 * posix/tst-fnmatch2.c: Add new test.
41783 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41785 * elf/Makefile (check-execstack): Revert last change. Depend on
41787 (check-execstack.h): New target.
41788 (generated): Add check-execstack.h.
41789 * elf/check-execstack.c: Include "check-execstack.h".
41790 (main): Revert last change.
41791 (handle_file): Return zero if GNU_STACK is absent and
41792 DEFAULT_STACK_PERMS doesn't include PF_X.
41794 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41796 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41797 in child fails because the descriptor is already closed.
41798 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41799 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41800 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41803 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41807 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41808 temporary buffer used to handle multi lookups locally.
41809 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41811 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41813 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41816 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41818 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41819 alignment for SSE2.
41821 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41824 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41825 characters. When rounding increased number of integer digits recompute
41827 * stdio-common/tst-grouping.c: New file.
41828 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41830 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41832 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41833 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41835 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41837 * bits/select.h: Likewise.
41839 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41841 * po/ja.po: Update from translation team.
41843 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41846 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41847 implementation just like for lxstat, fxstatat, et al.
41849 2010-12-27 Jim Meyering <meyering@redhat.com>
41852 * posix/regexec.c (build_trtable): Return failure indication upon
41853 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41855 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41858 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41859 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41860 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41861 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41864 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41867 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41868 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41870 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41872 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41873 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41874 script has SORT_BY_INIT_PRIORITY.
41875 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41876 NO_CTORS_DTORS_SECTIONS is defined.
41877 * elf/soinit.c: Likewise.
41878 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41879 NO_CTORS_DTORS_SECTIONS is defined.
41880 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41881 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41882 * sysdeps/sh/init-first.c: Likewise.
41883 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41885 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41887 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41888 always use the slow path.
41890 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41892 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41893 similar rule which adds the sysdep directories to the header search in
41894 order to pick up the correct platform stackinfo.h.
41895 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41896 perform test if it is, otherwise return successfully without testing.
41897 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41898 DEFAULT_STACK_PERMS define in stackinfo.h.
41899 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41900 defined in stackinfo.h.
41901 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41902 DEFAULT_STACK_PERMS defined in stackinfo.h.
41903 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41904 * sysdeps/ia64/stackinfo.h: Likewise.
41905 * sysdeps/s390/stackinfo.h: Likewise.
41906 * sysdeps/sh/stackinfo.h: Likewise.
41907 * sysdeps/sparc/stackinfo.h: Likewise.
41908 * sysdeps/x86_64/stackinfo.h: Likewise.
41909 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41910 PF_X for powerpc64. Retain PF_X for powerpc32.
41912 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41914 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41916 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41917 GETDENTS_64BIT_ALIGNED.
41919 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41921 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41923 2010-12-10 Andreas Schwab <schwab@redhat.com>
41925 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41928 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41929 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41931 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41932 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41934 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41937 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41940 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41942 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41944 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41946 * po/it.po: Update from translation team.
41948 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41953 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41955 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41957 2010-11-24 Andreas Schwab <schwab@redhat.com>
41959 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41961 (gaih_getanswer_slice): Likewise.
41963 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41967 2010-05-31 Petr Baudis <pasky@suse.cz>
41970 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41971 silently even in the chroot mode.
41973 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41975 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41976 last patch a bit. Pretty printing
41978 2010-05-31 Petr Baudis <pasky@suse.cz>
41981 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41982 initialization of skip_initgroups_dyn.
41984 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41986 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41987 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41989 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41991 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41993 2010-11-11 Andreas Schwab <schwab@redhat.com>
41995 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41996 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41997 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41998 ($(objpfx)tst-fnmatch-mem): New rule.
41999 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42000 * posix/tst-fnmatch.c (main): Call mtrace.
42002 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42005 Support Intel processor model 6 and model 0x2c.
42007 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42009 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42012 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42015 * string/test-strncasecmp.c (check_result): New function.
42016 (do_one_test): Use it.
42017 (check1): New function.
42018 (test_main): Use it.
42019 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42020 Support strcasecmp and strncasecmp.
42022 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42025 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42026 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42028 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42030 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42034 * sysdeps/x86_64/multiarch/bzero.S: New file.
42035 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42036 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42037 * sysdeps/x86_64/multiarch/memset.S: New file.
42038 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42040 Set bit_Prefer_SSE_for_memop for Intel processors.
42041 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42043 (index_Prefer_SSE_for_memop): Define.
42044 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42046 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42048 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42049 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42051 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42054 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42055 (__x86_64_raw_data_cache_size_half): Likewise.
42056 (__x86_64_raw_shared_cache_size): Likewise.
42057 (__x86_64_raw_shared_cache_size_half): Likewise.
42059 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42060 (__x86_64_raw_data_cache_size_half): Likewise.
42061 (__x86_64_raw_shared_cache_size): Likewise.
42062 (__x86_64_raw_shared_cache_size_half): Likewise.
42063 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42064 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42065 and __x86_64_raw_shared_cache_size_half. Round
42066 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42067 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42068 to multiple of 256 bytes.
42070 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42073 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42074 of inacessible symlinks. Verify result of symlink before returning it.
42075 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42076 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42078 2010-10-28 Erich Ritz <erichritz@gmail.com>
42080 * math/math.h (isinf): Fix typo in comment.
42082 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42084 * po/da.po: Update from translation team.
42086 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42088 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42089 is added to the list.
42091 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42092 Ulrich Drepper <drepper@gmail.com>
42094 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42095 the global list here. Move code to...
42096 (_dl_add_to_namespace_list): ...here. New function.
42097 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42098 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42099 * elf/dl-load.c (lose): Don't remove the element from the list.
42100 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42101 (_dl_map_object): Likewise.
42103 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42106 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42107 into all bytes of SSE register.
42108 Patch by Richard Li <richardpku@gmail.com>.
42110 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42113 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42116 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42118 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42119 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42120 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42121 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42126 2010-10-22 Andreas Schwab <schwab@redhat.com>
42128 * include/dlfcn.h (__RTLD_SECURE): Define.
42129 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42130 mode & __RTLD_SECURE instead.
42131 (open_path): Rename preloaded parameter to secure.
42132 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42133 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42134 * elf/dl-deps.c (openaux): Likewise.
42135 * elf/rtld.c (struct map_args): Remove is_preloaded.
42136 (map_doit): Don't use it.
42137 (dl_main): Likewise.
42138 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42139 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42141 2010-09-09 Andreas Schwab <schwab@redhat.com>
42143 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42144 (sysd-rules-targets): Remove duplicates.
42145 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42146 rtld-%.$o dependency.
42148 2010-10-18 Andreas Schwab <schwab@redhat.com>
42150 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42151 _dl_map_object do it.
42153 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42155 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42156 fast fma builtins, define the macros in the C99 standard.
42157 (FP_FAST_FMAF): Likewise.
42158 (FP_FAST_FMAL): Likewise.
42159 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42161 * bits/mathdef.h: Update copyright year.
42162 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42164 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42166 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42167 builtins, define the macros in the C99 standard.
42168 (FP_FAST_FMAF): Likewise.
42169 (FP_FAST_FMAL): Likewise.
42170 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42172 (FP_FAST_FMAF): Likewise.
42174 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42177 * math/libm-test.inc (fma_test): Some new testcases.
42178 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42179 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42180 y and infinite z. Do multiplication by C already in long double.
42181 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42183 y and infinite z. Do bitwise or of inexact bit into u.d.
42184 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42185 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42186 * sysdeps/i386/fpu/s_fma.S: Removed.
42187 * sysdeps/i386/fpu/s_fmal.S: Removed.
42189 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42192 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42194 computation is not scheduled after fetestexcept. Fix value
42195 of minimum denormal long double.
42197 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42200 * math/libm-test.inc (fma_test): Add some more tests.
42201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42204 2010-10-15 Andreas Schwab <schwab@redhat.com>
42206 * scripts/data/localplt-s390-linux-gnu.data: New file.
42207 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42209 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42212 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42213 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42215 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42217 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42219 if one of x and y is very large and the other is subnormal.
42220 * sysdeps/s390/fpu/s_fmaf.c: New file.
42221 * sysdeps/s390/fpu/s_fma.c: New file.
42222 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42223 * sysdeps/powerpc/fpu/s_fma.S: New file.
42224 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42225 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42226 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42228 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42231 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42233 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42234 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42235 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42236 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42237 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42238 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42239 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42241 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42244 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42245 * posix/bug-regex31.input: Add test case.
42247 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42249 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42250 * posix/bug-regex31.input: New file.
42253 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42254 (parse_sub_exp): Fix last change, use postorder.
42256 * posix/bug-regex31.c: New file.
42257 * posix/Makefile: Add rules to build and run bug-regex31.
42259 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42262 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42265 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42266 to have entries in sys_siglist.
42269 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42272 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42275 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42276 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42277 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42278 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42279 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42280 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42281 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42282 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42283 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42284 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42285 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42286 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42287 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42288 * math/ftestexcept.c (fetestexcept): Likewise.
42289 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42290 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42291 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42292 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42293 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42294 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42295 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42297 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42300 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42303 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42305 * string/bug-strstr1.c: New file.
42306 * string/Makefile: Add rules to build and run bug-strstr1.
42308 2010-10-05 Eric Blake <eblake@redhat.com>
42311 * string/str-two-way.h (two_way_long_needle): Always clear memory
42312 when skipping input due to the shift table.
42314 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42317 * malloc/mcheck.c: Handle large requests.
42320 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42321 for strncmp and strncasecmp.
42322 * string/stratcliff.c: Add tests for strcmp and strncmp.
42323 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42325 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42327 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42330 2010-09-30 Andreas Jaeger <aj@suse.de>
42332 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42333 (CGROUP_SUPER_MAGIC): Define.
42334 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42335 Handle btrfs and cgroup file systems.
42336 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42339 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42341 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42342 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42344 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42347 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42348 trying to locate the ELF header.
42350 2010-09-27 Andreas Schwab <schwab@redhat.com>
42353 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42354 Mask out sign-bit copies when constructing f_fsid.
42356 2010-09-24 Petr Baudis <pasky@suse.cz>
42358 * debug/stack_chk_fail_local.c: Add missing licence exception.
42359 * debug/warning-nop.c: Likewise.
42361 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42363 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42364 implementing getdents64 using getdents syscall, set d_type if
42365 __ASSUME_GETDENTS32_D_TYPE.
42367 2010-09-16 Andreas Schwab <schwab@redhat.com>
42369 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42370 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42372 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42375 * posix/unistd.h: Undo change of feature selection for ftruncate from
42378 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42380 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42383 2010-09-20 Andreas Schwab <schwab@redhat.com>
42385 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42389 2010-09-14 Andreas Schwab <schwab@redhat.com>
42391 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42392 variables after CHECK_SP call.
42393 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42395 2010-09-13 Andreas Schwab <schwab@redhat.com>
42396 Ulrich Drepper <drepper@redhat.com>
42398 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42399 re-relocationg ld.so.
42400 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42401 _dl_init_paths call.
42402 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42405 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42407 * resolv/res_init.c (__res_vinit): Count the default server we added.
42409 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42410 Ulrich Drepper <drepper@redhat.com>
42413 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42414 (____longjmp_chk): Use %ebx for saving value across system call.
42417 2010-09-06 Andreas Schwab <schwab@redhat.com>
42419 * manual/Makefile: Don't mix pattern rules with normal rules.
42421 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42423 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42425 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42426 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42427 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42428 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42432 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42435 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42436 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42438 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42440 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42441 * sysdeps/x86_64/addmul_1.S: Likewise.
42442 * sysdeps/x86_64/lshift.S: Likewise.
42443 * sysdeps/x86_64/mul_1.S: Likewise.
42444 * sysdeps/x86_64/rshift.S: Likewise.
42445 * sysdeps/x86_64/sub_n.S: Likewise.
42446 * sysdeps/x86_64/submul_1.S: Likewise.
42448 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42450 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42451 Define __sched_param instead of SCHED_* and sched_param when
42452 <bits/sched.h> is included with __need_schedparam defined.
42453 * bits/sched.h [__need_schedparam]
42454 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42455 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42456 (__defined_schedparam): Define to 1.
42457 (__sched_param): New structure, identical to sched_param.
42458 (__need_schedparam): Undefine.
42460 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42462 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42463 (epoll_create1): Declare.
42465 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42467 2010-08-31 Andreas Schwab <schwab@redhat.com>
42470 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42471 shifting retval into place.
42473 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42475 * nis/rpcsvc/nis.h: Update copyright notice.
42476 * nis/rpcsvc/nis.x: Likewise.
42477 * nis/rpcsvc/nis_callback.h: Likewise.
42478 * nis/rpcsvc/nis_callback.x: Likewise.
42479 * nis/rpcsvc/nis_object.x: Likewise.
42480 * nis/rpcsvc/nis_tags.h: Likewise.
42481 * nis/rpcsvc/yp.h: Likewise.
42482 * nis/rpcsvc/yp.x: Likewise.
42483 * nis/rpcsvc/ypupd.h: Likewise.
42484 * nis/yp_xdr.c: Likewise.
42485 * nis/ypupdate_xdr.c: Likewise.
42487 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42488 mainly the body of pmap_getport. Add parameters to specify timeouts.
42489 (pmap_getport): Use __libc_rpc_getport.
42490 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42491 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42492 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42494 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42499 2010-08-27 Roland McGrath <roland@redhat.com>
42501 * sysdeps/i386/i686/multiarch/Makefile
42502 (CFLAGS-varshift.c): New variable.
42504 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42506 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42507 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42509 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42511 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42513 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42515 * sysdeps/x86_64/strlen.S: Unroll the loop.
42516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42517 strlen-sse2 strlen-sse2-bsf.
42518 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42519 __strlen_no_bsf if bit_Slow_BSF is set.
42520 (__strlen_sse42): Removed.
42521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42522 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42524 2010-08-25 Roland McGrath <roland@redhat.com>
42526 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42527 * sysdeps/x86_64/multiarch/varshift.c: New file.
42528 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42529 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42530 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42531 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42533 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42536 strlen-sse2 strlen-sse2-bsf.
42537 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42538 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42539 (__strlen_sse2): Removed.
42540 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42543 bit_Slow_BSF for Atom.
42544 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42545 (index_Slow_BSF): Define.
42546 (HAS_SLOW_BSF): Define.
42548 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42551 * resolv/res_init.c (__res_vinit): When no server address at all
42552 is given default to loopback.
42554 2010-08-24 Roland McGrath <roland@redhat.com>
42556 * configure.in: Remove config-name.h generation.
42557 * configure: Regenerated.
42558 * config-name.in: File removed.
42559 * scripts/config-uname.sh: New file.
42560 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42561 ($(objdir)config-name.h): New target.
42563 * sunrpc/rpc_parse.h: Avoid nested comment.
42565 2010-08-24 Richard Henderson <rth@redhat.com>
42566 Ulrich Drepper <drepper@redhat.com>
42567 H.J. Lu <hongjiu.lu@intel.com>
42569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42571 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42572 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42573 _mm_alignr_epi8 with _mm_loadu_si128.
42574 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42575 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42576 (__m128i_shift_right): Removed.
42577 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42578 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42579 * sysdeps/x86_64/multiarch/varshift.h: New file.
42580 * sysdeps/x86_64/multiarch/varshift.S: New file.
42582 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42584 * configure.in: Move assembler checks to before sysdep dir checking.
42586 2010-08-20 Petr Baudis <pasky@suse.cz>
42588 * LICENSES: Sync the sunrpc license.
42590 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42592 * sunrpc/auth_des.c: Update copyright notice once again.
42593 * sunrpc/auth_none.c: Likewise.
42594 * sunrpc/auth_unix.c: Likewise.
42595 * sunrpc/authdes_prot.c: Likewise.
42596 * sunrpc/authuxprot.c: Likewise.
42597 * sunrpc/bindrsvprt.c: Likewise.
42598 * sunrpc/clnt_gen.c: Likewise.
42599 * sunrpc/clnt_perr.c: Likewise.
42600 * sunrpc/clnt_raw.c: Likewise.
42601 * sunrpc/clnt_simp.c: Likewise.
42602 * sunrpc/clnt_tcp.c: Likewise.
42603 * sunrpc/clnt_udp.c: Likewise.
42604 * sunrpc/clnt_unix.c: Likewise.
42605 * sunrpc/des_crypt.c: Likewise.
42606 * sunrpc/des_soft.c: Likewise.
42607 * sunrpc/get_myaddr.c: Likewise.
42608 * sunrpc/getrpcport.c: Likewise.
42609 * sunrpc/key_call.c: Likewise.
42610 * sunrpc/key_prot.c: Likewise.
42611 * sunrpc/openchild.c: Likewise.
42612 * sunrpc/pm_getmaps.c: Likewise.
42613 * sunrpc/pm_getport.c: Likewise.
42614 * sunrpc/pmap_clnt.c: Likewise.
42615 * sunrpc/pmap_prot.c: Likewise.
42616 * sunrpc/pmap_prot2.c: Likewise.
42617 * sunrpc/pmap_rmt.c: Likewise.
42618 * sunrpc/rpc/auth.h: Likewise.
42619 * sunrpc/rpc/auth_unix.h: Likewise.
42620 * sunrpc/rpc/clnt.h: Likewise.
42621 * sunrpc/rpc/des_crypt.h: Likewise.
42622 * sunrpc/rpc/key_prot.h: Likewise.
42623 * sunrpc/rpc/netdb.h: Likewise.
42624 * sunrpc/rpc/pmap_clnt.h: Likewise.
42625 * sunrpc/rpc/pmap_prot.h: Likewise.
42626 * sunrpc/rpc/pmap_rmt.h: Likewise.
42627 * sunrpc/rpc/rpc.h: Likewise.
42628 * sunrpc/rpc/rpc_des.h: Likewise.
42629 * sunrpc/rpc/rpc_msg.h: Likewise.
42630 * sunrpc/rpc/svc.h: Likewise.
42631 * sunrpc/rpc/svc_auth.h: Likewise.
42632 * sunrpc/rpc/types.h: Likewise.
42633 * sunrpc/rpc/xdr.h: Likewise.
42634 * sunrpc/rpc_clntout.c: Likewise.
42635 * sunrpc/rpc_cmsg.c: Likewise.
42636 * sunrpc/rpc_common.c: Likewise.
42637 * sunrpc/rpc_cout.c: Likewise.
42638 * sunrpc/rpc_dtable.c: Likewise.
42639 * sunrpc/rpc_hout.c: Likewise.
42640 * sunrpc/rpc_main.c: Likewise.
42641 * sunrpc/rpc_parse.c: Likewise.
42642 * sunrpc/rpc_parse.h: Likewise.
42643 * sunrpc/rpc_prot.c: Likewise.
42644 * sunrpc/rpc_sample.c: Likewise.
42645 * sunrpc/rpc_scan.c: Likewise.
42646 * sunrpc/rpc_scan.h: Likewise.
42647 * sunrpc/rpc_svcout.c: Likewise.
42648 * sunrpc/rpc_tblout.c: Likewise.
42649 * sunrpc/rpc_util.c: Likewise.
42650 * sunrpc/rpc_util.h: Likewise.
42651 * sunrpc/rpcinfo.c: Likewise.
42652 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42653 * sunrpc/rpcsvc/key_prot.x: Likewise.
42654 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42655 * sunrpc/rpcsvc/mount.x: Likewise.
42656 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42657 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42658 * sunrpc/rpcsvc/rex.x: Likewise.
42659 * sunrpc/rpcsvc/rstat.x: Likewise.
42660 * sunrpc/rpcsvc/rusers.x: Likewise.
42661 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42662 * sunrpc/rpcsvc/spray.x: Likewise.
42663 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42664 * sunrpc/rtime.c: Likewise.
42665 * sunrpc/svc.c: Likewise.
42666 * sunrpc/svc_auth.c: Likewise.
42667 * sunrpc/svc_authux.c: Likewise.
42668 * sunrpc/svc_raw.c: Likewise.
42669 * sunrpc/svc_run.c: Likewise.
42670 * sunrpc/svc_simple.c: Likewise.
42671 * sunrpc/svc_tcp.c: Likewise.
42672 * sunrpc/svc_udp.c: Likewise.
42673 * sunrpc/svc_unix.c: Likewise.
42674 * sunrpc/svcauth_des.c: Likewise.
42675 * sunrpc/xcrypt.c: Likewise.
42676 * sunrpc/xdr.c: Likewise.
42677 * sunrpc/xdr_array.c: Likewise.
42678 * sunrpc/xdr_float.c: Likewise.
42679 * sunrpc/xdr_mem.c: Likewise.
42680 * sunrpc/xdr_rec.c: Likewise.
42681 * sunrpc/xdr_ref.c: Likewise.
42682 * sunrpc/xdr_sizeof.c: Likewise.
42683 * sunrpc/xdr_stdio.c: Likewise.
42685 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42688 2010-08-19 Andreas Schwab <schwab@redhat.com>
42690 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42692 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42694 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42695 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42696 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42697 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42698 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42699 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42700 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42701 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42703 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42704 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42705 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42706 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42707 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42709 2010-07-26 Anton Blanchard <anton@samba.org>
42711 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42712 * malloc/arena.c (heap_trim): Likewise.
42714 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42716 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42719 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42721 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42723 * sysdeps/i386/elf/Makefile: New file.
42725 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42727 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42728 from fanotify_init.
42729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42732 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42734 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42736 * sysdeps/multiarch/strcmp.S: Likewise.
42738 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42740 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42741 strncase_l-nonascii.
42742 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42743 Add strncase_l-ssse3.
42744 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42745 * sysdeps/x86_64/strcmp.S: Likewise.
42746 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42747 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42748 * sysdeps/x86_64/strncase.S: New file.
42749 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42750 * sysdeps/x86_64/strncase_l.S: New file.
42751 * string/Makefile (strop-tests): Add strncasecmp.
42752 * string/test-strncasecmp.c: New file.
42754 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42757 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42758 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42760 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42762 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42764 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42766 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42767 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42770 2010-05-01 Alan Modra <amodra@gmail.com>
42772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42773 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42774 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42775 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42776 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42777 tidying. Don't tail-call __sigjmp_save for static lib.
42778 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42780 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42781 (CALL_MCOUNT): Add eh info, and nop after bl.
42782 (TAIL_CALL_SYSCALL_ERROR): New macro.
42783 (PSEUDO_RET): Use it.
42784 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42785 Correct save location of integer regs and cr.
42786 (_dl_profile_resolve): Correct cr save location. Delete nops
42787 after bl when SHARED. Reduce cfi size a little by better
42788 placement of cfi directives.
42789 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42790 make a stack frame. Instead use parm save area as a temp.
42791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42792 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42794 Don't make a stack frame for parent, use parm save area.
42795 Increase child stack frame to 112 bytes. Don't save unused reg,
42796 and adjust reg usage. Set up cfi on error recovery and
42797 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42799 (__makecontext): Add dummy nop after jump to exit.
42800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42801 Use correct parm save area and cr save, reduce stack frame.
42802 Correct cfi for possible PSEUDO_RET frame setup.
42803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42804 Branch to local label emitted by PSEUDO_RET rather than
42807 2010-08-12 Andreas Schwab <schwab@redhat.com>
42810 * locale/programs/locale.c (print_assignment): New function.
42811 (show_locale_vars): Use it.
42813 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42815 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42817 (struct statfs64): Likewise.
42818 (_STATFS_F_FLAGS): Define.
42819 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42820 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42821 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42822 (ST_VALID): Define locally.
42823 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42824 __statvfs_getflags, use the provided value.
42825 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42826 __ASSUME_STATFS_F_FLAGS.
42828 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42830 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42831 Add sys/fanotify.h.
42832 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42833 fanotify_mask for GLIBC_2.13.
42834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42835 fanotify_init and fanotify_mark.
42836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42837 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42839 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42841 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42842 prlimit64 for GLIBC_2.13.
42843 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42845 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42848 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42849 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42850 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42853 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42856 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42857 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42859 * nss/Makefile: Add rules to build and run tst-nss-test1.
42860 * shlib-versions: Add entry for libnss_test1.
42861 * nss/nss_test1.c: New file.
42862 * nss/tst-nss-test1.c: New file.
42864 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42865 (__nss_configure_lookup): Set appropriate entry in
42866 __nss_configure_lookup to true.
42867 * nss/nsswitch.h: Define enum with indeces of databases in
42868 databases and __nss_database_custom arrays. Declare
42869 __nss_database_custom.
42870 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42871 to avoid using nscd when custom rules are installed.
42872 * nss/getXXbyYY_r.c: Likewise.
42873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42875 * nss/nss_files/files-parse.c: Whitespace fixes.
42877 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42880 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42881 * posix/fnmatch_loop.c: Likewise.
42883 2010-07-17 Andi Kleen <ak@linux.intel.com>
42885 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42886 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42887 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42888 * Versions.def [GLIBC_2.13]: Add.
42890 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42892 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42893 Also fail if tpwd after pwuid call is NULL.
42895 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42897 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42898 when converting to ms.
42900 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42902 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42903 EOPNOTSUPP errors with ENOTTY.
42904 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42905 EOPNOTSUPP errors with ENOTTY.
42907 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42910 Add strcasecmp_l-ssse3.
42911 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42913 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42914 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42915 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42917 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42919 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42921 * string/Makefile (strop-tests): Add strcasecmp.
42922 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42923 strcasecmp_l-nonascii.
42924 (gen-as-const-headers): Add locale-defines.sym.
42925 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42926 * sysdeps/x86_64/strcasecmp.S: New file.
42927 * sysdeps/x86_64/strcasecmp_l.S: New file.
42928 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42929 * sysdeps/x86_64/locale-defines.sym: New file.
42930 * string/test-strcasecmp.c: New file.
42932 * string/test-strcasestr.c: Test both ends of the range of characters.
42933 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42935 2010-07-29 Roland McGrath <roland@redhat.com>
42938 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42940 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42942 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42945 2010-07-27 Andreas Schwab <schwab@redhat.com>
42947 * manual/memory.texi (Malloc Tunable Parameters): Document
42950 2010-07-26 Roland McGrath <roland@redhat.com>
42953 * configure.in (-fgnu89-inline check): Set and substitute
42954 gnu89_inline, not libc_cv_gnu89_inline.
42955 * configure: Regenerated.
42956 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42958 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42960 * string/test-strnlen.c: New file.
42961 * string/Makefile (strop-tests): Add strnlen.
42962 * string/tester.c (test_strnlen): Add a few more test cases.
42963 * string/tst-strlen.c: Better error reporting.
42965 * sysdeps/x86_64/strnlen.S: New file.
42967 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42970 lower-latency instructions.
42972 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42974 * string/test-strcasestr.c: New file.
42975 * string/test-strstr.c: New file.
42976 * string/Makefile (strop-tests): Add strstr and strcasestr.
42977 * string/str-two-way.h: Don't undefine MAX.
42978 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42980 2010-07-21 Andreas Schwab <schwab@redhat.com>
42982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42983 strcasestr-nonascii.
42984 (CFLAGS-strcasestr-nonascii.c): Define.
42985 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42986 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42987 Remove unused attribute.
42989 2010-07-20 Roland McGrath <roland@redhat.com>
42991 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42992 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42993 ld.so.cache was broken. With it, there is no way to disable dsocaps
42994 like LD_HWCAP_MASK can disable hwcaps.
42996 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42998 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43000 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43002 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43003 call in strcasestr.
43004 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43005 __strcasestr_sse42_nonascii.
43006 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43007 strcasestr-nonascii.c.
43008 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43010 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43012 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43013 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43015 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43017 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43019 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43022 2010-07-06 Andreas Schwab <schwab@redhat.com>
43025 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43028 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43030 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43031 _PC_PIPE_BUF using F_GETPIPE_SZ.
43033 2010-07-05 Roland McGrath <roland@redhat.com>
43035 * manual/arith.texi (Rounding Functions): Fix rint description
43036 implicit in round description.
43038 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43040 * elf/Makefile: Fix linking for a few tests to make recent linker
43043 2010-06-30 Andreas Schwab <schwab@redhat.com>
43045 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43046 $(common-objpfx)libc_nonshared.a.
43048 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43050 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43051 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43052 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43053 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43054 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43055 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43056 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43057 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43072 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43073 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43074 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43075 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43076 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43077 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43078 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43079 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43080 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43081 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43082 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43083 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43099 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43101 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43102 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43103 * string/memmove.c (memmove): Renamed to ...
43104 (MEMMOVE): ...this. Default to memmove.
43105 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43106 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43109 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43110 mempcpy-ssse3-back memmove-ssse3-back.
43111 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43113 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43114 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43115 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43116 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43117 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43118 * sysdeps/x86_64/multiarch/memmove.c: New file.
43119 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43120 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43121 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43122 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43123 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43126 (index_Fast_Copy_Backward): Define.
43127 (HAS_ARCH_FEATURE): Define.
43128 (HAS_FAST_REP_STRING): Define.
43129 (HAS_FAST_COPY_BACKWARD): Define.
43131 2010-06-21 Andreas Schwab <schwab@redhat.com>
43133 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43134 Restore proper fallback handling.
43136 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43139 * posix/group_member.c (__group_member): Correct checking loop.
43141 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43142 OOM in getpwuid_r correctly. Return error number when the caller
43143 should return, otherwise -1.
43144 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43145 call returning > 0 value.
43146 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43148 2010-06-07 Andreas Schwab <schwab@redhat.com>
43150 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43151 libc_nonshared.a from targets in modules-names.
43153 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43155 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43158 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43161 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43165 2010-06-02 Andreas Schwab <schwab@redhat.com>
43167 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43169 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43171 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43173 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43177 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43178 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43180 2010-06-14 Roland McGrath <roland@redhat.com>
43182 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43184 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43186 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43187 __REDIRECT followed by __THROW.
43188 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43189 * posix/getopt.h (getopt): Likewise.
43191 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43193 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43194 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43195 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43197 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43198 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43200 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43202 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43204 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43208 Properly check family and model.
43210 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43212 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43214 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43216 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43218 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43220 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43223 2010-05-19 Andreas Schwab <schwab@redhat.com>
43225 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43228 2010-05-21 Andreas Schwab <schwab@redhat.com>
43230 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43231 and internal_recvmmsg.
43232 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43233 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43234 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43235 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43237 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43238 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43239 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43241 2010-05-20 Andreas Schwab <schwab@redhat.com>
43243 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43245 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43247 POWER7 optimizations.
43248 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43249 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43251 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43253 * version.h: Update for 2.13 development version.
43255 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43257 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43258 exceptions. Return 0.
43260 2010-05-07 Roland McGrath <roland@redhat.com>
43262 * elf/ldconfig.c (main): Add a const.
43264 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43266 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43267 (args_options): Add no-idn option.
43268 (ahosts_keys_int): Add idn_flags to ai_flags.
43269 (parse_option): Handle 'i' option to clear idn_flags.
43271 * malloc/malloc.c (_int_free): Possible race in the most recently
43272 added check. Only act on the data if no current modification
43275 See ChangeLog.17 for earlier changes.