2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
[glibc.git] / ChangeLog
blob79d3dbf2a4844fc5c446859a91926bbb52dcde74
1 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3         * elf/Makefile (tests): make tst-dlopen-atout conditional on
4         enable-hardcoded-path-in-tests
6 2014-04-11  Will Newton  <will.newton@linaro.org>
8         * benchtests/Makefile (extra-objs): Add json-lib.o.
9         (bench-func): Tidy up JSON output.
10         * benchtests/bench-skeleton.c: Include json-lib.h.
11         (main): Use JSON library functions to do output of
12         benchmark results.
13         * benchtests/bench-timing-type.c (main): Output the
14         timing type simply, leaving formatting to the user.
15         * benchtests/json-lib.c: New file.
16         * benchtests/json-lib.h: Likewise.
18 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20         [BZ #15215]
21         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
23         memory barriers.  Add comments.
24         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
25         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
31 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34         * sysdeps/s390/s390-64/configure.ac: ... this ...
35         * sysdeps/s390/configure.ac: ... to here.
36         * sysdeps/s390/s390-32/configure: Delete file.
37         * sysdeps/s390/s390-64/configure: Delete file.
38         * sysdeps/s390/configure: Regenerate.
40 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
42         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44 2014-04-11  Will Newton  <will.newton@linaro.org>
46         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47         to zero if it is not defined elsewhere.  (mtrim): Test
48         the value of MALLOC_DEBUG with #if rather than #ifdef.
50 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52         * benchtests/pthread_once-inputs: New file.
53         * benchtests/pthread_once-source.c: New file.
54         * benchtests/README: Update documentation.
56 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
57             H.J. Lu  <hongjiu.lu@intel.com>
59         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
60         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
61         * sysdeps/x86_64/configure: Regenerated.
62         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
63         macro.
64         (REGISTER_SAVE_RAX): Likewise.
65         (REGISTER_SAVE_RCX): Likewise.
66         (REGISTER_SAVE_RDX): Likewise.
67         (REGISTER_SAVE_RSI): Likewise.
68         (REGISTER_SAVE_RDI): Likewise.
69         (REGISTER_SAVE_R8): Likewise.
70         (REGISTER_SAVE_R9): Likewise.
71         (REGISTER_SAVE_BND0): Likewise.
72         (REGISTER_SAVE_BND1): Likewise.
73         (REGISTER_SAVE_BND2): Likewise.
74         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
75         bound registers when calling _dl_fixup.
77 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
80         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
81         definition.
82         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
83         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
84         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
85         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
86         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
87         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
88         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
90 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
92         [BZ #15514]
93         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
94         pathconf(_PC_NAME_MAX).
96 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
98         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
99         Remove macro usage.
100         (__PTHREAD_SPINS): Move definition to ...
101         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
102         (__PTHREAD_SPINS): ... here.
103         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
104         (__PTHREAD_SPIN): Likewise.
105         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
106         (__PTHREAD_SPIN): Likewise.
107         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
108         (__PTHREAD_SPIN): Likewise.
109         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
110         (__PTHREAD_SPIN): Likewise.
111         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
112         (__PTHREAD_SPIN): Likewise.
113         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
114         (__PTHREAD_SPIN): Likewise.
115         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
116         (__PTHREAD_SPIN): Likewise.
117         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
118         (__PTHREAD_SPIN): Likewise.
119         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
120         (__PTHREAD_SPIN): Likewise.
121         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
122         (__PTHREAD_SPIN): Likewise.
123         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
124         (__PTHREAD_SPIN): Likewise.
125         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
126         (__PTHREAD_SPIN): Likewise.
128 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
130         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
131         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
132         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
133         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
134         imply folder.
135         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
136         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
137         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
138         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
139         correct imply path.
140         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
141         strlen symbol for non multi-arch builds.
142         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
143         missing hidden_def and weak_alias.
145 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
147         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
149 2014-04-07  Will Newton  <will.newton@linaro.org>
151         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
152         and contents.  [!_LIBC] Remove #ifndef and contents.
153         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
154         * string/memccpy.c (__memccpy): Use ANSI prototype.
155         * string/memfrob.c (memfrob): Likewise.
156         * string/strcoll.c (STRCOLL): Likewise.
157         * string/strlen.c (strlen): Likewise.
158         * string/strtok.c (STRTOK): Likewise.
159         * string/strcat.c: Remove unused #include of memcopy.h.
160         (strcat): Use ANSI prototype.
161         * string/strchr.c: Remove unused #include of memcopy.h.
162         (strchr): Use ANSI prototype.
163         * string/strcmp.c: Remove unused #include of memcopy.h.
164         (strcmp): Use ANSI prototype.
165         * string/strcpy.c: Remove unused #include of memcopy.h.
166         (strcpy): Use ANSI prototype.
168 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
170         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
171         * config.make.in (config-extra-cppflags): Set it from
172         libc_extra_cppflags.
173         * configure.ac (libc_extra_cflags): Make it accumulate over
174         configure fragments.
175         (libc_extra_cppflags): New flag.
176         * configure. Regenerate.
177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
178         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
179         _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
182 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
184         [BZ #16815]
185         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
186         result for FE_DOWNWARD rounding mode.
187         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
188         Likewise.
189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
191 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
193         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
194         in function argument name.
196 2014-04-03  David Svoboda  <svoboda@cert.org>
198         [BZ #5666]
199         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
200         explicitly.
202 2014-04-03  Roland McGrath  <roland@hack.frob.com>
204         * elf/dl-unmap-segments.h: New file.
205         * sysdeps/generic/ldsodefs.h
206         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
207         * elf/dl-close.c: Include <dl-unmap-segments.h>.
208         * elf/dl-fptr.c: Likewise.
209         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
210         * sysdeps/aarch64/tlsdesc.c: Likewise.
211         * sysdeps/arm/tlsdesc.c: Likewise.
212         * sysdeps/i386/tlsdesc.c: Likewise.
213         * sysdeps/tile/dl-runtime.c: Likewise.
214         * sysdeps/x86_64/tlsdesc.c: Likewise.
215         * elf/dl-load.h: New file.
216         * elf/dl-load.c: Include it.
217         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
218         Macros moved to dl-load.h.
219         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
220         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
221         Use _dl_unmap_segments in place of __munmap.
222         Break out segment-mapping loop into ...
223         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
225 2014-04-03  Will Newton  <will.newton@linaro.org>
227         * elf/dl-lookup.c (do_lookup_x): Remove comment
228         referring to nested function and move variable
229         declarations down to before first use.
231 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
233         [BZ #16799]
234         [BZ #16800]
235         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
236         with 0 numerator.
237         * math/s_catanf.c (__catanf): Likewise.
238         * math/s_catanh.c (__catanh): Likewise.
239         * math/s_catanhf.c (__catanhf): Likewise.
240         * math/s_catanhl.c (__catanhl): Likewise.
241         * math/s_catanl.c (__catanl): Likewise.
242         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
243         by positive zero when computing -Inf result.
244         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
245         (catanh_test): Likewise.
246         * sysdeps/i386/fpu/libm-test-ulps: Update.
247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
249         [BZ #16789]
250         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
251         instead of using underflowing value in computing result.
252         * math/s_clog10.c (__clog10): Likewise.
253         * math/s_clog10f.c (__clog10f): Likewise.
254         * math/s_clog10l.c (__clog10l): Likewise.
255         * math/s_clogf.c (__clogf): Likewise.
256         * math/s_clogl.c (__clogl): Likewise.
257         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
258         (clog10_test): Likewise.
259         * sysdeps/i386/fpu/libm-test-ulps: Update.
260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
262 2014-04-02  Alan Modra  <amodra@gmail.com>
264         [BZ #16739]
265         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
266         output when value is near a power of two.  Use int64_t for lx and
267         remove casts.  Use decimal rather than hex exponent constants.
268         Don't use long double multiplication when double will suffice.
269         * math/libm-test.inc (nextafter_test_data): Add tests.
270         * NEWS: Add 16739 and 16786 to bug list.
272 2014-04-02  Alan Modra  <amodra@gmail.com>
274         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
276 2014-04-02  Alan Modra  <amodra@gmail.com>
278         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
280 2014-04-01  Will Newton  <will.newton@linaro.org>
282         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
283         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
285 2014-04-01  Florian Weimer  <fweimer@redhat.com>
287         [BZ #13347]
288         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
289         * nptl/tst-setuid2.c: New file.
290         * nptl/Makefile (xtests): Add tst-setuid2.
292 2014-04-01  Alan Modra  <amodra@gmail.com>
294         [BZ #16786]
295         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
297 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
299         [BZ #6803]
300         [BZ #6804]
301         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
302         set errno as appropriate.
303         * math/w_scalbf.c (__scalbf): Likewise.
304         * math/w_scalbl.c (__scalbl): Likewise.
305         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
306         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
307         * math/libm-test.inc (scalb_test_data): Add errno expectations.
308         Add more NaN tests.
310         [BZ #16349]
311         * math/w_atan2.c: Include <errno.h>.
312         (__atan2): Set errno for result underflowing to zero.
313         * math/w_atan2f.c: Include <errno.h>.
314         (__atan2f): Set errno for result underflowing to zero.
315         * math/w_atan2l.c: Include <errno.h>.
316         (__atan2l): Set errno for result underflowing to zero.
317         * math/auto-libm-test-in: Don't allow missing errno for some atan2
318         tests.
319         * math/auto-libm-test-out: Regenerated.
321 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
323         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
324         Encode instruction correctly in little endian.
325         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
326         Likewise.
327         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
328         Likewise.
329         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
330         Likewise.
331         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
332         Likewise.
334 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
336         [BZ #9894]
337         * sysdeps/unix/sysv/linux/kernel-features.h
338         [__sparc__ && !__arch64__ && !__sparc_v9__]
339         (__ASSUME_SET_ROBUST_LIST): Do not define.
340         [__sparc__ && !__arch64__ && !__sparc_v9__]
341         (__ASSUME_FUTEX_LOCK_PI): Likewise.
342         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
343         Likewise.
344         * sysdeps/unix/sysv/linux/arm/kernel-features.h
345         (__ASSUME_FUTEX_LOCK_PI): Undefine.
346         (__ASSUME_REQUEUE_PI): Likewise.
347         (__ASSUME_SET_ROBUST_LIST): Likewise.
348         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
349         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
350         Undefine.
351         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
352         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
353         Likewise.
354         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
355         Likewise.
356         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
357         Likewise.
358         * sysdeps/unix/sysv/linux/mips/kernel-features.h
359         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
360         Undefine.
361         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
362         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
363         Likewise.
365         [BZ #16648]
366         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
367         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
368         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
370 2014-03-31  Will Newton  <will.newton@linaro.org>
372         * benchtests/Makefile (bench): Add ffs and ffsll to list
373         of tests.
374         * benchtests/ffs-inputs: New file.
375         * benchtests/ffsll-inputs: Likewise.
377 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
379         [BZ #16770]
380         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
381         too large before casting to int.
382         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
383         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
384         * math/libm-test.inc (scalb_test_data): Add more tests.
386 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
388         * benchtests/Makefile (DETAILED_OPT): New make option.
389         (bench-func): Run benchmark program with -d if DETAILED_OPT is
390         set.
391         * benchtests/bench-skeleton.c: Include stdbool.h.
392         (main): Store and print timings per input.
393         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
394         member to each argument value.
395         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
396         (_print_arg_data): Initialize per-input timing to 0.
398         * benchtests/Makefile (timing-type): New binary.
399         (bench-clean): Also remove bench-timing-type.
400         (bench): New target for timing-type.
401         (bench-func): Print output in JSON format.
402         * benchtests/bench-skeleton.c (main): Print output in JSON
403         format.
404         * benchtests/bench-timing-type.c: New file.
405         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
406         (TIMING_PRINT_STATS): Remove.
407         * benchtests/scripts/bench.py (_print_arg_data): Store variant
408         name separately.
410         * benchtests/bench-modf.c: Remove.
411         * benchtests/modf-inputs: New inputs file.
413 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
415         [BZ #16362]
416         * math/s_clog10.c (M_PI_LOG10E): New macro.
417         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
418         imaginary parts are 0.
419         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
420         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
421         imaginary parts are 0.
422         * math/s_clog10l.c (M_PI_LOG10El): New macro.
423         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
424         imaginary parts are 0.
425         * math/libm-test.inc (clog10_test_data): Update expected results
426         for when real and imaginary parts are 0.
428 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
430         * elf/dl-load.c: Finish conversion of __builtin_expect into
431         __glibc_{un}likely.
433 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
435         [BZ #16348]
436         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
437         1+x for argument with exponent below -67.
438         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
439         Likewise.
440         * math/auto-libm-test-in: Add more tests of exp.
441         * math/auto-libm-test-out: Regenerated.
443 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
445         [BZ #16759]
446         * inet/getnetgrent_r.c (get_nonempty_val): New function.
447         (nscd_getnetgrent): Use it.
449         [BZ #16760]
450         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
451         of stpcpy.
453 2014-03-27  Andi Kleen  <ak@linux.intel.com>
455         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
456         lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
457         lll_robust_timedlock, lll_unlock, lll_robust_unlock):
458         Remove out of line section. Use cfi intrinsics.
459         (LLL_STUB_UNWIND_INFO*): Remove.
460         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
461         lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
462         lll_robust_timedlock, lll_unlock, lll_robust_unlock):
463         Remove out of line section. Use cfi intrinsics.
464         (LLL_STUB_UNWIND_INFO*): Remove.
466 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
468         [BZ #16758]
469         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
470         blank values.
472 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
474         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
476 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
478         [BZ #16198]
479         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
480         fnstenv.
481         * math/test-fenv-preserve.c: New file.
482         * math/Makefile (tests): Add test-fenv-preserve.
484 2014-03-26  Will Newton <will.newton@linaro.org>
486         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
488 2014-03-25  Roland McGrath  <roland@hack.frob.com>
490         * scripts/versionlist.awk: Partition the version sets and emit all
491         GLIBC_* (sorted) before all others (sorted).
493 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
495         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
496         GLIBC_2.2.5 version.
498 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
500         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
501         calls.
503 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
505         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
506         previous change.
508 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
512 2014-03-25  Andreas Schwab  <schwab@suse.de>
514         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
515         label to be used after in6ailist is initialized.
517 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
520         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
522 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
524         [BZ #16357]
525         [BZ #16599]
526         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
527         min_plus_half.
528         (fp_formats): Update initializers.
529         (init_fp_formats): Initialize new field.
530         (output_for_one_input_case): Allow underflow for results up to
531         min_plus_half.
532         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
533         * math/auto-libm-test-in: Don't mark some underflows from asin and
534         atanh as spurious.
535         * math/auto-libm-test-out: Regenerated.
536         * sysdeps/i386/fpu/libm-test-ulps: Update.
537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
539 2014-03-25  Andreas Schwab  <schwab@suse.de>
541         * libio/Makefile (tst-ftell-partial-wide-ENV)
542         (tst-ftell-active-handler-ENV): Define.
544 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
546         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
548 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
550         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
552 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
554         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
555         * sysdeps/x86_64/fpu/multiarch/e_exp.c
556         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
558 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
560         [BZ #16634]
561         * elf/dl-load.c (open_verify): Add mode parameter.
562         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
563         (open_path): Change from boolean 'secure' to complete flag 'mode'
564         (_dl_map_object): Adjust.
565         * elf/Makefile (tests): Add tst-dlopen-aout.
566         * elf/tst-dlopen-aout.c: New test.
568 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
570         [BZ #16714]
571         * sysdeps/unix/sysv/linux/s390/bits/stat.h
572         (struct stat): Rename member pad0 to __glibc_reserved0.
574 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
576         [BZ #16712]
577         * sysdeps/s390/s390-32/bits/wordsize.h
578         (__WORDSIZE32_SIZE_ULONG): New define.
579         * sysdeps/s390/s390-64/bits/wordsize.h
580         (__WORDSIZE32_SIZE_ULONG): Likewise.
581         * sysdeps/generic/stdint.h (SIZE_MAX):
582         Define as UL if __WORDSIZE32_SIZE_ULONG.
584 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
586         [BZ #16713]
587         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
588         (__glibc_reserved0): New variable.
589         (sa_flags): Change type to int.
591 2014-03-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
593         * posix/Makefile (before-compile): Use += before-compile instead
594         of a :=.
596 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
598         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
599         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
601 2014-03-20  Andreas Schwab  <schwab@suse.de>
603         [BZ #16743]
604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
605         non-matching result from nscd.
607 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
609         * scripts/bench.py: Moved to ...
610         * benchtests/scripts/bench.py: ... here.
611         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
613 2014-03-24  Andreas Schwab  <schwab@suse.de>
615         [BZ #16002]
616         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
617         alloca_account and account alloca use for struct in6ailist.
619 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
621         [BZ #16284]
622         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
623         rounding mode to recompute results that overflow to infinity or
624         underflow to zero.
625         * math/auto-libm-test-in: Don't mark tests as expected to fail for
626         bug 16284.
627         * math/auto-libm-test-out: Regenerated.
628         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
629         (ccosh_test): Likewise.
630         (csin_test_data): Use plus_oflow.
631         (csin_test): Use ALL_RM_TEST.
632         (csinh_test_data): Use plus_oflow.
633         (csinh_test): Use ALL_RM_TEST.
634         * sysdeps/i386/fpu/libm-test-ulps: Update.
635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
637 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
639         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
640         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
641         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
643         [BZ #16731]
644         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
645         when x - 1 is zero.
646         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
647         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
648         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
649         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
650         argument is 1.
651         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
652         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
653         zero.
654         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
655         * sysdeps/i386/fpu/libm-test-ulps: Update.
656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
658 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
660         * scripts/bench.pl: Remove file.
661         * scripts/bench.py: New benchmark script.
662         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
663         * benchtests/README: Mention python dependency.
664         * scripts/pylintrc: New file.
665         * scripts/pylint: New file.
667         * bits/mathdef.h: Use #ifdef instead of #if.
668         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
669         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
670         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
671         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
672         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
673         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
675 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
676             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
678         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
680         and strpbrk-ppc64 objects.
681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
682         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
683         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
684         multiarch strpbrk for POWER7.
685         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
686         multiarch strpbrk for PPC64.
687         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
688         ifunc selector.
689         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
690         strpbrk for POWER7.
692 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
694         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
695         (atan_test): Likewise.
696         (atanh_test_data): Use NO_TEST_INLINE for two tests.
697         (atanh_test): Use ALL_RM_TEST.
698         (atan2_test_data): Likewise.
699         (cabs_test): Likewise.
700         (cacosh_test): Likewise.
701         (carg_test): Likewise.
702         (casin_test): Likewise.
703         (casinh_test): Likewise.
704         (cbrt_test): Likewise.
705         (csqrt_test): Likewise.
706         (erf_test): Likewise.
707         (erfc_test): Likewise.
708         (pow10_test): Likewise.
709         (exp2_test): Likewise.
710         (hypot_test): Likewise.
711         (j0_test): Likewise.
712         (j1_test): Likewise.
713         (lgamma_test): Likewise.
714         (gamma_test): Likewise.
715         (sincos_test): Likewise.
716         (tanh_test): Likewise.
717         (y0_test): Likewise.
718         (y1_test): Likewise.
719         * sysdeps/i386/fpu/libm-test-ulps: Update.
720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
722 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
724         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
726         and strcspn-ppc64 objects.
727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
728         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
729         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
730         multiarch strcspn for POWER7.
731         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
732         multiarch strcspn for PPC64.
733         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
734         ifunc selector.
735         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
736         strcspn for POWER7.
738 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
740         * math/gen-libm-test.pl (generate_testfile): Expect only function
741         name as argument to AUTO_TESTS_* and pass results for all rounding
742         modes to parse_args.
743         (parse_auto_input): Separate inputs of automatic tests from
744         outputs before storing in %auto_tests.
745         * math/libm-test.inc (acos_test_data): Update call to
746         AUTO_TESTS_f_f.
747         (acos_test): Use ALL_RM_TEST.
748         (acos_tonearest_test_data): Remove.
749         (acos_test_tonearest): Likewise.
750         (acos_towardzero_test_data): Likewise.
751         (acos_test_towardzero): Likewise.
752         (acos_downward_test_data): Likewise.
753         (acos_test_downward): Likewise.
754         (acos_upward_test_data): Likewise.
755         (acos_test_upward): Likewise.
756         (acosh_test_data): Update call to AUTO_TESTS_f_f.
757         (asin_test_data): Likewise.
758         (asin_test): Use ALL_RM_TEST.
759         (asin_tonearest_test_data): Remove.
760         (asin_test_tonearest): Likewise.
761         (asin_towardzero_test_data): Likewise.
762         (asin_test_towardzero): Likewise.
763         (asin_downward_test_data): Likewise.
764         (asin_test_downward): Likewise.
765         (asin_upward_test_data): Likewise.
766         (asin_test_upward): Likewise.
767         (asinh_test_data): Update call to AUTO_TESTS_f_f.
768         (atan_test_data): Likewise.
769         (atanh_test_data): Likewise.
770         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
771         (cabs_test_data): Update call to AUTO_TESTS_c_f.
772         (carg_test_data): Likewise.
773         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
774         (ccos_test_data): Update call to AUTO_TESTS_c_c.
775         (ccosh_test_data): Likewise.
776         (cexp_test_data): Likewise.
777         (clog_test_data): Likewise.
778         (clog10_test_data): Likewise.
779         (cos_test_data): Update call to AUTO_TESTS_f_f.
780         (cos_test): Use ALL_RM_TEST.
781         (cos_tonearest_test_data): Remove.
782         (cos_test_tonearest): Likewise.
783         (cos_towardzero_test_data): Likewise.
784         (cos_test_towardzero): Likewise.
785         (cos_downward_test_data): Likewise.
786         (cos_test_downward): Likewise.
787         (cos_upward_test_data): Likewise.
788         (cos_test_upward): Likewise.
789         (cosh_test_data): Update call to AUTO_TESTS_f_f.
790         (cosh_test): Use ALL_RM_TEST.
791         (cosh_tonearest_test_data): Remove.
792         (cosh_test_tonearest): Likewise.
793         (cosh_towardzero_test_data): Likewise.
794         (cosh_test_towardzero): Likewise.
795         (cosh_downward_test_data): Likewise.
796         (cosh_test_downward): Likewise.
797         (cosh_upward_test_data): Likewise.
798         (cosh_test_upward): Likewise.
799         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
800         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
801         (ctan_test_data): Likewise.
802         (ctan_test): Use ALL_RM_TEST.
803         (ctan_tonearest_test_data): Remove.
804         (ctan_test_tonearest): Likewise.
805         (ctan_towardzero_test_data): Likewise.
806         (ctan_test_towardzero): Likewise.
807         (ctan_downward_test_data): Likewise.
808         (ctan_test_downward): Likewise.
809         (ctan_upward_test_data): Likewise.
810         (ctan_test_upward): Likewise.
811         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
812         (ctanh_test): Use ALL_RM_TEST.
813         (ctanh_tonearest_test_data): Remove.
814         (ctanh_test_tonearest): Likewise.
815         (ctanh_towardzero_test_data): Likewise.
816         (ctanh_test_towardzero): Likewise.
817         (ctanh_downward_test_data): Likewise.
818         (ctanh_test_downward): Likewise.
819         (ctanh_upward_test_data): Likewise.
820         (ctanh_test_upward): Likewise.
821         (erf_test_data): Update call to AUTO_TESTS_f_f.
822         (erfc_test_data): Likewise.
823         (exp_test_data): Likewise.
824         (exp_test): Use ALL_RM_TEST.
825         (exp_tonearest_test_data): Remove.
826         (exp_test_tonearest): Likewise.
827         (exp_towardzero_test_data): Likewise.
828         (exp_test_towardzero): Likewise.
829         (exp_downward_test_data): Likewise.
830         (exp_test_downward): Likewise.
831         (exp_upward_test_data): Likewise.
832         (exp_test_upward): Likewise.
833         (exp10_test_data): Update call to AUTO_TESTS_f_f.
834         (exp10_test): Use ALL_RM_TEST.
835         (exp10_tonearest_test_data): Remove.
836         (exp10_test_tonearest): Likewise.
837         (exp10_towardzero_test_data): Likewise.
838         (exp10_test_towardzero): Likewise.
839         (exp10_downward_test_data): Likewise.
840         (exp10_test_downward): Likewise.
841         (exp10_upward_test_data): Likewise.
842         (exp10_test_upward): Likewise.
843         (exp2_test_data): Update call to AUTO_TESTS_f_f.
844         (expm1_test_data): Likewise.
845         (expm1_test): Use ALL_RM_TEST.
846         (expm1_tonearest_test_data): Remove.
847         (expm1_test_tonearest): Likewise.
848         (expm1_towardzero_test_data): Likewise.
849         (expm1_test_towardzero): Likewise.
850         (expm1_downward_test_data): Likewise.
851         (expm1_test_downward): Likewise.
852         (expm1_upward_test_data): Likewise.
853         (expm1_test_upward): Likewise.
854         (fma_test_data): Update call to AUTO_TESTS_fff_f.
855         (fma_test): Use ALL_RM_TEST.
856         (fma_towardzero_test_data): Remove.
857         (fma_test_towardzero): Likewise.
858         (fma_downward_test_data): Likewise.
859         (fma_test_downward): Likewise.
860         (fma_upward_test_data): Likewise.
861         (fma_test_upward): Likewise.
862         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
863         (j0_test_data): Update call to AUTO_TESTS_f_f.
864         (j1_test_data): Likewise.
865         (jn_test_data): Update call to AUTO_TESTS_if_f.
866         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
867         (log_test_data): Update call to AUTO_TESTS_f_f.
868         (log10_test_data): Likewise.
869         (log1p_test_data): Likewise.
870         (log2_test_data): Likewise.
871         (pow_test_data): Update call to AUTO_TESTS_ff_f.
872         (pow_tonearest_test_data): Likewise.
873         (sin_test_data): Update call to AUTO_TESTS_f_f.
874         (sin_test): Use ALL_RM_TEST.
875         (sin_tonearest_test_data): Remove.
876         (sin_test_tonearest): Likewise.
877         (sin_towardzero_test_data): Likewise.
878         (sin_test_towardzero): Likewise.
879         (sin_downward_test_data): Likewise.
880         (sin_test_downward): Likewise.
881         (sin_upward_test_data): Likewise.
882         (sin_test_upward): Likewise.
883         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
884         (sinh_test_data): Update call to AUTO_TESTS_f_f.
885         (sinh_test): Use ALL_RM_TEST.
886         (sinh_tonearest_test_data): Remove.
887         (sinh_test_tonearest): Likewise.
888         (sinh_towardzero_test_data): Likewise.
889         (sinh_test_towardzero): Likewise.
890         (sinh_downward_test_data): Likewise.
891         (sinh_test_downward): Likewise.
892         (sinh_upward_test_data): Likewise.
893         (sinh_test_upward): Likewise.
894         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
895         (sqrt_test): Use ALL_RM_TEST.
896         (sqrt_tonearest_test_data): Remove.
897         (sqrt_test_tonearest): Likewise.
898         (sqrt_towardzero_test_data): Likewise.
899         (sqrt_test_towardzero): Likewise.
900         (sqrt_downward_test_data): Likewise.
901         (sqrt_test_downward): Likewise.
902         (sqrt_upward_test_data): Likewise.
903         (sqrt_test_upward): Likewise.
904         (tan_test_data): Update call to AUTO_TESTS_f_f.
905         (tan_test): Use ALL_RM_TEST.
906         (tan_tonearest_test_data): Remove.
907         (tan_test_tonearest): Likewise.
908         (tan_towardzero_test_data): Likewise.
909         (tan_test_towardzero): Likewise.
910         (tan_downward_test_data): Likewise.
911         (tan_test_downward): Likewise.
912         (tan_upward_test_data): Likewise.
913         (tan_test_upward): Likewise.
914         (tanh_test_data): Update call to AUTO_TESTS_f_f.
915         (tgamma_test_data): Likewise.
916         (y0_test_data): Likewise.
917         (y1_test_data): Likewise.
918         (yn_test_data): Update call to AUTO_TESTS_if_f.
919         (main): Do not call removed functions.
921 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
923         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
924         (ldexp_test_data): Remove.
925         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
926         scalbn_test_data.
927         (scalb_test): Use ALL_RM_TEST.
929 2014-03-19  Andreas Schwab  <schwab@suse.de>
931         * nscd/nscd.service: Also invalidate netgroup cache on reload.
933 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
935         [BZ #16649]
936         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
937         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
938         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
939         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
940         (__ASSUME_PREADV): Undefine.
941         (__ASSUME_PWRITEV): Likewise.
943 2014-03-18  Roland McGrath  <roland@hack.frob.com>
945         * bits/mman-linux.h: Add comment about non-Linux use.
946         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
947         bits/mman-linux.h resting place.
949         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
950         * bits/mman-linux.h: ... here.
952 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
954         * conform/conformtest.pl: Add standard definition when calling C
955         preprocessor on data files.
956         (checknamespace): Remove unused variable.
958 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
960         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
961         minus_oflow, plus_uflow and minus_uflow in expected results.
962         * math/libm-test.inc (scalbn_test_data): Add more tests of
963         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
964         minus_uflow.
965         (scalbn_test): Use ALL_RM_TEST.
966         (scalbln_test_data): Add more tests of negative arguments.  Use
967         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
968         (scalbln_test): Use ALL_RM_TEST.
970 2014-03-18  Roland McGrath  <roland@hack.frob.com>
972         * scripts/abilist.awk: Ignore symbols marked with .hidden.
974 2014-03-18  Will Newton  <will.newton@linaro.org>
976         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
977         inaccurate comment.
979 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
981         * Makerules [!subdir] (check-abi): Exit with error status if a
982         test failed.
984 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
986         * math/libm-test.inc (nearbyint_test_data): Include all tests used
987         for rint.  Include results for all rounding modes.
988         (nearbyint_test): Use ALL_RM_TEST.
989         (rint_test_data): Include all tests used for nearbyint.
991 2014-03-17  Will Newton  <will.newton@linaro.org>
993         * nptl/sysdeps/pthread/pthread.h: Revert previous
994         change.
996         * sysdeps/generic/ldsodefs.h: Revert previous
997         change.
999         * libio/genops.c: Revert previous change.
1000         * libio/libioP.h: Likewise.
1001         * stdio-common/vfprintf.c: Likewise.
1003         * sysdeps/generic/math_private.h: Revert previous
1004         change.
1006         * sysdeps/generic/math_private.h: Check whether
1007         HAVE_RM_CTX is defined with #ifdef rather
1008         than #if.
1010         * argp/argp-fmtstream.h: Check whether
1011         __STRICT_ANSI__ is defined with #ifdef rather
1012         than #if.
1013         * argp/argp.h: Likewise.
1015         * libio/genops.c: Check whether
1016         _IO_JUMPS_OFFSET is defined with #ifdef rather
1017         than #if.
1018         * libio/libioP.h: Likewise.
1019         * stdio-common/vfprintf.c: Likewise.
1021         * sysdeps/generic/ldsodefs.h: Check whether
1022         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1023         than #if.
1025         * nptl/sysdeps/pthread/pthread.h: Check
1026         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1027         its value.
1029 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1031         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1032         setting O_APPEND.
1033         * libio/tst-ftell-active-handler.c (do_append_test): Add a
1034         test case.
1036         [BZ #16680]
1037         * libio/fileops.c (_IO_file_open): Seek to end of file but
1038         don't cache the offset.
1039         (get_file_offset): Remove function.
1040         (do_ftell): Use cached offset when available.
1041         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1042         don't cache the offset.
1043         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1044         case.
1045         (do_one_test): Call it.
1046         (do_ftell_test): Fix up expected old offset for a+ mode.
1047         * libio/wfileops.c (do_ftell_wide): Used cached offset when
1048         available.
1050         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1051         up test status with function return status.
1052         (do_write_test): Likewise.
1053         (do_append_test): Likewise.
1055         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1056         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1057         Remove.
1059 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1061         * math/gen-libm-test.pl (parse_args): Handle results specified for
1062         each rounding mode separately.
1063         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1064         tests and results from lrint_tonearest_test_data,
1065         lrint_towardzero_test_data, lrint_downward_test_data and
1066         lrint_upward_test_data.
1067         (lrint_test): Use ALL_RM_TEST.
1068         (lrint_tonearest_test_data): Remove.
1069         (lrint_test_tonearest): Likewise.
1070         (lrint_towardzero_test_data): Likewise.
1071         (lrint_test_towardzero): Likewise.
1072         (lrint_downward_test_data): Likewise.
1073         (lrint_test_downward): Likewise.
1074         (lrint_upward_test_data): Likewise.
1075         (lrint_test_upward): Likewise.
1076         (llrint_test_data): Merge in per-rounding-mode tests and results
1077         from llrint_tonearest_test_data, llrint_towardzero_test_data,
1078         llrint_downward_test_data and llrint_upward_test_data.
1079         (llrint_test): Use ALL_RM_TEST.
1080         (llrint_tonearest_test_data): Remove.
1081         (llrint_test_tonearest): Likewise.
1082         (llrint_towardzero_test_data): Likewise.
1083         (llrint_test_towardzero): Likewise.
1084         (llrint_downward_test_data): Likewise.
1085         (llrint_test_downward): Likewise.
1086         (llrint_upward_test_data): Likewise.
1087         (llrint_test_upward): Likewise.
1088         (rint_test_data): Merge in per-rounding-mode tests and results
1089         from rint_tonearest_test_data, rint_towardzero_test_data,
1090         rint_downward_test_data and rint_upward_test_data.  Add
1091         per-rounding-mode results for tests not in those arrays.
1092         (rint_test): Use ALL_RM_TEST.
1093         (rint_tonearest_test_data): Remove.
1094         (rint_test_tonearest): Likewise.
1095         (rint_towardzero_test_data): Likewise.
1096         (rint_test_towardzero): Likewise.
1097         (rint_downward_test_data): Likewise.
1098         (rint_test_downward): Likewise.
1099         (rint_upward_test_data): Likewise.
1100         (rint_test_upward): Likewise.
1101         (main): Don't call removed functions.
1103 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1105         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1106         "Compiled on ..." crapola.  It is anti-useful.
1108 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
1110         * scripts/evaluate-test.sh: Handle fourth argument to determine
1111         whether test run should stop on failure.
1112         * Makeconfig (stop-on-test-failure): New variable.
1113         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1114         $(stop-on-test-failure).
1115         * Makefile (tests): Give a summary of results from testing and
1116         exit with failure status if they include an ERROR or FAIL.
1117         (xtests): Likewise.
1118         * manual/install.texi (Configuring and compiling): Mention
1119         stop-on-test-failure=y.
1120         * INSTALL: Regenerated.
1122 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1124         * scripts/versionlist.awk: New file.
1125         * Makerules [$(build-shared) = yes]
1126         (postclean-generated): Add Versions.def, not Versions.def.v and
1127         Versions.def.v.i.
1128         ($(common-objpfx)Versions.def.v.i): Target removed.
1129         ($(common-objpfx)Versions.def): New target.
1130         ($(common-objpfx)Versions.all): Depend on that rather that
1131         $(common-objpfx)Versions.def.v.
1132         * Versions.def: File removed.
1134         * Makeconfig (+gccwarn): Add -Wundef.
1135         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1136         a dl-sysdep.h breaking its contract.
1137         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1138         * include/stackinfo.h: New file.
1139         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1140         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1141         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1142         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1143         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1144         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1145         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1146         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1147         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1148         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1149         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1150         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1151         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1152         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1153         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1155 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1157         [BZ #16707]
1158         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1159         implementation.
1160         * math/libm-test.inc (round_test_data): Add more tests.
1162 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1164         [BZ #16706]
1165         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1166         implementation.
1167         * math/libm-test.inc (nearbyint_test_data): Add more tests.
1169 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1171         [BZ #16701]
1172         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1173         implementation.
1174         * math/libm-test.inc (ceil_test_data): Add more tests.
1176 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1178         * math/libm-test.inc (trunc_test_data): Add more tests related to
1179         BZ#16414.
1181 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1183         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1184         with #if rather than #ifdef.
1185         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1187 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
1189         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1190         first.  Disable AVX-512 GCC support if assembler doesn't support
1191         it.
1192         * sysdeps/x86_64/configure: Regenerated.
1194 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
1196         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1197         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1198         (__old_pthread_attr_setstack): Likewise.
1199         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1200         [!_STACK_GROWS_DOWN]: Likewise.
1202 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1204         * config.make.in (have-bash2): Delete.
1205         * configure.ac (libc_cv_have_bash2): Delete.
1206         * configure: Regenerate.
1207         * elf/Makefile (common-ldd-rewrite): Rename to ...
1208         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
1209         (sh-ldd-rewrite): Delete.
1210         (bash-ldd-rewrite): Delete.
1211         (have-bash2): Delete checks.
1212         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1214 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1216         * config.make.in (have-ksh): Delete.
1217         (KSH): Delete.
1218         * configure.ac (libc_cv_have_ksh): Delete.
1219         * configure: Regenerate.
1221 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1223         * elf/Makefile: Delete $(have-ksh) check.
1224         ($(objpfx)sotruss): Change KSH to BASH.
1225         * elf/sotruss.ksh: Rename to ...
1226         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
1227         function style to match POSIX.  Drop ksh vim mode setting.
1229 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1231         * manual/time.texi (Specifying the Time Zone with TZ): Change
1232         Tuesday to Thursday.
1234 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1236         * debug/tst-longjmp_chk2.c: Update header comment.
1237         (stackoverflow_handler): Add comment.  Call assert on pass value.
1239 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
1241         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1242         (HAVE_AVX512_ASM_SUPPORT): Likewise.
1243         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1244         (La_x86_64_vector): Add zmm.
1245         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1246         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1247         ($(objpfx)tst-audit10): New target.
1248         ($(objpfx)tst-audit10.out): Likewise.
1249         (tst-audit10-ENV): New.
1250         (AVX512-CFLAGS): Likewise.
1251         (CFLAGS-tst-audit10.c): Likewise.
1252         (CFLAGS-tst-auditmod10a.c): Likewise.
1253         (CFLAGS-tst-auditmod10b.c): Likewise.
1254         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1255         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1256         * sysdeps/x86_64/configure: Regenerated.
1257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1258         AVX-512 zmm register support.
1259         (_dl_x86_64_save_sse): Likewise.
1260         (_dl_x86_64_restore_sse): Likewise.
1261         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1262         size vector registers.
1263         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1264         (ZMM_SIZE): Likewise.
1265         * sysdeps/x86_64/tst-audit10.c: New file.
1266         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1267         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1269 2014-03-13  Roland McGrath  <roland@hack.frob.com>
1271         * configure.ac (HAVE_EHDR_START): New check.
1272         * configure: Regenerated.
1273         * config.h.in (HAVE_EHDR_START): New #undef.
1274         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1275         assuming the lowest-addressed segment maps the start of the file.
1277 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
1279         * INSTALL: Regenerated.
1281 2014-03-13  Will Newton  <will.newton@linaro.org>
1283         * manual/setjmp.texi (System V contexts): Improve
1284         clarity and grammar of documentation.
1286 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1288         [BZ #16381]
1289         * elf/Makefile (tests): Add tst-pie2.
1290         (tests-pie): Add tst-pie2.
1291         * elf/tst-pie2.c: New file.
1292         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1293         for ET_EXEC.
1294         * elf/rtld.c (map_doit): Load executable as lt_executable.
1295         (dl_main): Likewise.
1297 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
1299         [BZ #16642]
1300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1301         (__ASSUME_PSELECT): Undefine.
1303 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1305         [BZ #16689]
1306         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1307         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1308         static build.
1309         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1310         selector for static builds.
1312 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1314         [BZ #16695]
1315         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1316         key in the buffer.
1318 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1320         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1321         selector for static builds.
1323 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
1325         * sysdeps/mips/math_private.h [__mips_hard_float]
1326         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1327         libc_feresetround_mips_ctx.
1328         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1329         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1330         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1332         [BZ #16677]
1333         * math/s_nextafter.c (__nextafter): Do not return value from
1334         overflowing computation.
1335         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1336         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1337         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1338         Likewise.
1339         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1340         Likewise.
1341         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1342         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1344 2014-03-11  Roland McGrath  <roland@hack.frob.com>
1346         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1347         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1348         Move sfi_sp use from the load-multiple (that no longer sets sp) to
1349         the new mov targetting sp.
1351 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1353         [BZ #16683]
1354         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1355         Define it for static builds as well.
1356         (NO_BZERO_IMPL): Likewise.
1358 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1360         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1361         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1362         multiarch strspn for PPC64.
1363         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1364         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1366         (__libc_ifunc_impl_list): Likewise.
1367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1368         multiarch optimizations
1369         * string/strspn.c (strspn): Using macro to redefine symbol name.
1371 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1372             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1374         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1375         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1376         multiarch strncat for PPC64.
1377         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1378         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1380         (__libc_ifunc_impl_list): Likewise.
1381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1382         multiarch optimizations
1384 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1386         [BZ #16639]
1387         * nscd/nscd.service: Make service type forking.
1389 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1391         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1392         sign in non default rounding modes.
1393         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1395 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
1397         * math/libm-test.inc (ALL_RM_TEST): New macro.
1398         (ceil_test): Use ALL_RM_TEST.
1399         (cimag_test): Likewise.
1400         (conj_test): Likewise.
1401         (copysign_test): Likewise.
1402         (cproj_test): Likewise.
1403         (creal_test): Likewise.
1404         (fabs_test): Likewise.
1405         (floor_test): Likewise.
1406         (fmax_test): Likewise.
1407         (fmin_test): Likewise.
1408         (fmod_test): Likewise.
1409         (fpclassify_test): Likewise.
1410         (frexp_test): Likewise.
1411         (ilogb_test): Likewise.
1412         (isfinite_test): Likewise.
1413         (finite_test): Likewise.
1414         (isgreater_test): Likewise.
1415         (isgreaterequal_test): Likewise.
1416         (isinf_test): Likewise.
1417         (isless_test): Likewise.
1418         (islessequal_test): Likewise.
1419         (islessgreater_test): Likewise.
1420         (isnan_test): Likewise.
1421         (isnormal_test): Likewise.
1422         (issignaling_test): Likewise.
1423         (isunordered_test): Likewise.
1424         (logb_test): Likewise.
1425         (logb_downward_test_data): Remove.
1426         (logb_test_downward): Likewise.
1427         (lround_test): Use ALL_RM_TEST.
1428         (llround_test): Likewise.
1429         (modf_test): Likewise.
1430         (nexttoward_test): Likewise.
1431         (remainder_test): Likewise.
1432         (drem_test): Likewise.
1433         (remainder_tonearest_test_data): Likewise.
1434         (remainder_test_tonearest): Likewise.
1435         (drem_test_tonearest): Likewise.
1436         (remainder_towardzero_test_data): Likewise.
1437         (remainder_test_towardzero): Likewise.
1438         (drem_test_towardzero): Likewise.
1439         (remainder_downward_test_data): Likewise.
1440         (remainder_test_downward): Likewise.
1441         (drem_test_downward): Likewise.
1442         (remainder_upward_test_data): Likewise.
1443         (remainder_test_upward): Likewise.
1444         (drem_test_upward): Likewise.
1445         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
1446         (round_test): Use ALL_RM_TEST.
1447         (signbit_test): Likewise.
1448         (trunc_test): Likewise.
1449         (significand_test): Likewise.
1450         (main): Don't call removed functions.
1452 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1454         [BZ #16674]
1455         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1456         || __USE_XOPEN2K8].
1457         (ILL_ILLOPN): Likewise.
1458         (ILL_ILLADR): Likewise.
1459         (ILL_ILLTRP): Likewise.
1460         (ILL_PRVOPC): Likewise.
1461         (ILL_PRVREG): Likewise.
1462         (ILL_COPROC): Likewise.
1463         (ILL_BADSTK): Likewise.
1464         (FPE_INTDIV): Likewise.
1465         (FPE_INTOVF): Likewise.
1466         (FPE_FLTDIV): Likewise.
1467         (FPE_FLTOVF): Likewise.
1468         (FPE_FLTUND): Likewise.
1469         (FPE_FLTRES): Likewise.
1470         (FPE_FLTINV): Likewise.
1471         (FPE_FLTSUB): Likewise.
1472         (SEGV_MAPERR): Likewise.
1473         (SEGV_ACCERR): Likewise.
1474         (BUS_ADRALN): Likewise.
1475         (BUS_ADRERR): Likewise.
1476         (BUS_OBJERR): Likewise.
1477         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1478         (TRAP_TRACE): Likewise.
1479         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1480         __USE_XOPEN2K8].
1481         (CLD_KILLED): Likewise.
1482         (CLD_DUMPED): Likewise.
1483         (CLD_TRAPPED): Likewise.
1484         (CLD_STOPPED): Likewise.
1485         (CLD_CONTINUED): Likewise.
1486         (POLL_IN): Likewise.
1487         (POLL_OUT): Likewise.
1488         (POLL_MSG): Likewise.
1489         (POLL_ERR): Likewise.
1490         (POLL_PRI): Likewise.
1491         (POLL_HUP): Likewise.
1492         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1493         Likewise.
1494         (ILL_ILLOPN): Likewise.
1495         (ILL_ILLADR): Likewise.
1496         (ILL_ILLTRP): Likewise.
1497         (ILL_PRVOPC): Likewise.
1498         (ILL_PRVREG): Likewise.
1499         (ILL_COPROC): Likewise.
1500         (ILL_BADSTK): Likewise.
1501         (FPE_INTDIV): Likewise.
1502         (FPE_INTOVF): Likewise.
1503         (FPE_FLTDIV): Likewise.
1504         (FPE_FLTOVF): Likewise.
1505         (FPE_FLTUND): Likewise.
1506         (FPE_FLTRES): Likewise.
1507         (FPE_FLTINV): Likewise.
1508         (FPE_FLTSUB): Likewise.
1509         (SEGV_MAPERR): Likewise.
1510         (SEGV_ACCERR): Likewise.
1511         (BUS_ADRALN): Likewise.
1512         (BUS_ADRERR): Likewise.
1513         (BUS_OBJERR): Likewise.
1514         (BUS_MCEERR_AR): Likewise.
1515         (BUS_MCEERR_AO): Likewise.
1516         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1517         (TRAP_TRACE): Likewise.
1518         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1519         __USE_XOPEN2K8].
1520         (CLD_KILLED): Likewise.
1521         (CLD_DUMPED): Likewise.
1522         (CLD_TRAPPED): Likewise.
1523         (CLD_STOPPED): Likewise.
1524         (CLD_CONTINUED): Likewise.
1525         (POLL_IN): Likewise.
1526         (POLL_OUT): Likewise.
1527         (POLL_MSG): Likewise.
1528         (POLL_ERR): Likewise.
1529         (POLL_PRI): Likewise.
1530         (POLL_HUP): Likewise.
1531         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1532         (ILL_ILLOPN): Likewise.
1533         (ILL_ILLADR): Likewise.
1534         (ILL_ILLTRP): Likewise.
1535         (ILL_PRVOPC): Likewise.
1536         (ILL_PRVREG): Likewise.
1537         (ILL_COPROC): Likewise.
1538         (ILL_BADSTK): Likewise.
1539         (FPE_INTDIV): Likewise.
1540         (FPE_INTOVF): Likewise.
1541         (FPE_FLTDIV): Likewise.
1542         (FPE_FLTOVF): Likewise.
1543         (FPE_FLTUND): Likewise.
1544         (FPE_FLTRES): Likewise.
1545         (FPE_FLTINV): Likewise.
1546         (FPE_FLTSUB): Likewise.
1547         (SEGV_MAPERR): Likewise.
1548         (SEGV_ACCERR): Likewise.
1549         (BUS_ADRALN): Likewise.
1550         (BUS_ADRERR): Likewise.
1551         (BUS_OBJERR): Likewise.
1552         (BUS_MCEERR_AR): Likewise.
1553         (BUS_MCEERR_AO): Likewise.
1554         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1555         (TRAP_TRACE): Likewise.
1556         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1557         __USE_XOPEN2K8].
1558         (CLD_KILLED): Likewise.
1559         (CLD_DUMPED): Likewise.
1560         (CLD_TRAPPED): Likewise.
1561         (CLD_STOPPED): Likewise.
1562         (CLD_CONTINUED): Likewise.
1563         (POLL_IN): Likewise.
1564         (POLL_OUT): Likewise.
1565         (POLL_MSG): Likewise.
1566         (POLL_ERR): Likewise.
1567         (POLL_PRI): Likewise.
1568         (POLL_HUP): Likewise.
1569         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1570         Likewise.
1571         (ILL_ILLOPN): Likewise.
1572         (ILL_ILLADR): Likewise.
1573         (ILL_ILLTRP): Likewise.
1574         (ILL_PRVOPC): Likewise.
1575         (ILL_PRVREG): Likewise.
1576         (ILL_COPROC): Likewise.
1577         (ILL_BADSTK): Likewise.
1578         (ILL_BADIADDR): Likewise.
1579         (ILL_BREAK): Likewise.
1580         (FPE_INTDIV): Likewise.
1581         (FPE_INTOVF): Likewise.
1582         (FPE_FLTDIV): Likewise.
1583         (FPE_FLTOVF): Likewise.
1584         (FPE_FLTUND): Likewise.
1585         (FPE_FLTRES): Likewise.
1586         (FPE_FLTINV): Likewise.
1587         (FPE_FLTSUB): Likewise.
1588         (FPE_DECOVF): Likewise.
1589         (FPE_DECDIV): Likewise.
1590         (FPE_DECERR): Likewise.
1591         (FPE_INVASC): Likewise.
1592         (FPE_INVDEC): Likewise.
1593         (SEGV_MAPERR): Likewise.
1594         (SEGV_ACCERR): Likewise.
1595         (SEGV_PSTKOVF): Likewise.
1596         (BUS_ADRALN): Likewise.
1597         (BUS_ADRERR): Likewise.
1598         (BUS_OBJERR): Likewise.
1599         (BUS_MCEERR_AR): Likewise.
1600         (BUS_MCEERR_AO): Likewise.
1601         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1602         (TRAP_TRACE): Likewise.
1603         (TRAP_BRANCH): Likewise.
1604         (TRAP_HWBKPT): Likewise.
1605         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1606         __USE_XOPEN2K8].
1607         (CLD_KILLED): Likewise.
1608         (CLD_DUMPED): Likewise.
1609         (CLD_TRAPPED): Likewise.
1610         (CLD_STOPPED): Likewise.
1611         (CLD_CONTINUED): Likewise.
1612         (POLL_IN): Likewise.
1613         (POLL_OUT): Likewise.
1614         (POLL_MSG): Likewise.
1615         (POLL_ERR): Likewise.
1616         (POLL_PRI): Likewise.
1617         (POLL_HUP): Likewise.
1618         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1619         (ILL_ILLOPN): Likewise.
1620         (ILL_ILLADR): Likewise.
1621         (ILL_ILLTRP): Likewise.
1622         (ILL_PRVOPC): Likewise.
1623         (ILL_PRVREG): Likewise.
1624         (ILL_COPROC): Likewise.
1625         (ILL_BADSTK): Likewise.
1626         (FPE_INTDIV): Likewise.
1627         (FPE_INTOVF): Likewise.
1628         (FPE_FLTDIV): Likewise.
1629         (FPE_FLTOVF): Likewise.
1630         (FPE_FLTUND): Likewise.
1631         (FPE_FLTRES): Likewise.
1632         (FPE_FLTINV): Likewise.
1633         (FPE_FLTSUB): Likewise.
1634         (SEGV_MAPERR): Likewise.
1635         (SEGV_ACCERR): Likewise.
1636         (BUS_ADRALN): Likewise.
1637         (BUS_ADRERR): Likewise.
1638         (BUS_OBJERR): Likewise.
1639         (BUS_MCEERR_AR): Likewise.
1640         (BUS_MCEERR_AO): Likewise.
1641         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1642         (TRAP_TRACE): Likewise.
1643         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1644         __USE_XOPEN2K8].
1645         (CLD_KILLED): Likewise.
1646         (CLD_DUMPED): Likewise.
1647         (CLD_TRAPPED): Likewise.
1648         (CLD_STOPPED): Likewise.
1649         (CLD_CONTINUED): Likewise.
1650         (POLL_IN): Likewise.
1651         (POLL_OUT): Likewise.
1652         (POLL_MSG): Likewise.
1653         (POLL_ERR): Likewise.
1654         (POLL_PRI): Likewise.
1655         (POLL_HUP): Likewise.
1656         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1657         (ILL_ILLOPN): Likewise.
1658         (ILL_ILLADR): Likewise.
1659         (ILL_ILLTRP): Likewise.
1660         (ILL_PRVOPC): Likewise.
1661         (ILL_PRVREG): Likewise.
1662         (ILL_COPROC): Likewise.
1663         (ILL_BADSTK): Likewise.
1664         (FPE_INTDIV): Likewise.
1665         (FPE_INTOVF): Likewise.
1666         (FPE_FLTDIV): Likewise.
1667         (FPE_FLTOVF): Likewise.
1668         (FPE_FLTUND): Likewise.
1669         (FPE_FLTRES): Likewise.
1670         (FPE_FLTINV): Likewise.
1671         (FPE_FLTSUB): Likewise.
1672         (SEGV_MAPERR): Likewise.
1673         (SEGV_ACCERR): Likewise.
1674         (BUS_ADRALN): Likewise.
1675         (BUS_ADRERR): Likewise.
1676         (BUS_OBJERR): Likewise.
1677         (BUS_MCEERR_AR): Likewise.
1678         (BUS_MCEERR_AO): Likewise.
1679         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1680         (TRAP_TRACE): Likewise.
1681         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1682         __USE_XOPEN2K8].
1683         (CLD_KILLED): Likewise.
1684         (CLD_DUMPED): Likewise.
1685         (CLD_TRAPPED): Likewise.
1686         (CLD_STOPPED): Likewise.
1687         (CLD_CONTINUED): Likewise.
1688         (POLL_IN): Likewise.
1689         (POLL_OUT): Likewise.
1690         (POLL_MSG): Likewise.
1691         (POLL_ERR): Likewise.
1692         (POLL_PRI): Likewise.
1693         (POLL_HUP): Likewise.
1694         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1695         (ILL_ILLOPN): Likewise.
1696         (ILL_ILLADR): Likewise.
1697         (ILL_ILLTRP): Likewise.
1698         (ILL_PRVOPC): Likewise.
1699         (ILL_PRVREG): Likewise.
1700         (ILL_COPROC): Likewise.
1701         (ILL_BADSTK): Likewise.
1702         (FPE_INTDIV): Likewise.
1703         (FPE_INTOVF): Likewise.
1704         (FPE_FLTDIV): Likewise.
1705         (FPE_FLTOVF): Likewise.
1706         (FPE_FLTUND): Likewise.
1707         (FPE_FLTRES): Likewise.
1708         (FPE_FLTINV): Likewise.
1709         (FPE_FLTSUB): Likewise.
1710         (SEGV_MAPERR): Likewise.
1711         (SEGV_ACCERR): Likewise.
1712         (BUS_ADRALN): Likewise.
1713         (BUS_ADRERR): Likewise.
1714         (BUS_OBJERR): Likewise.
1715         (BUS_MCEERR_AR): Likewise.
1716         (BUS_MCEERR_AO): Likewise.
1717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1718         (TRAP_TRACE): Likewise.
1719         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1720         __USE_XOPEN2K8].
1721         (CLD_KILLED): Likewise.
1722         (CLD_DUMPED): Likewise.
1723         (CLD_TRAPPED): Likewise.
1724         (CLD_STOPPED): Likewise.
1725         (CLD_CONTINUED): Likewise.
1726         (POLL_IN): Likewise.
1727         (POLL_OUT): Likewise.
1728         (POLL_MSG): Likewise.
1729         (POLL_ERR): Likewise.
1730         (POLL_PRI): Likewise.
1731         (POLL_HUP): Likewise.
1732         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1733         (ILL_ILLOPN): Likewise.
1734         (ILL_ILLADR): Likewise.
1735         (ILL_ILLTRP): Likewise.
1736         (ILL_PRVOPC): Likewise.
1737         (ILL_PRVREG): Likewise.
1738         (ILL_COPROC): Likewise.
1739         (ILL_BADSTK): Likewise.
1740         (ILL_DBLFLT): Likewise.
1741         (ILL_HARDWALL): Likewise.
1742         (FPE_INTDIV): Likewise.
1743         (FPE_INTOVF): Likewise.
1744         (FPE_FLTDIV): Likewise.
1745         (FPE_FLTOVF): Likewise.
1746         (FPE_FLTUND): Likewise.
1747         (FPE_FLTRES): Likewise.
1748         (FPE_FLTINV): Likewise.
1749         (FPE_FLTSUB): Likewise.
1750         (SEGV_MAPERR): Likewise.
1751         (SEGV_ACCERR): Likewise.
1752         (BUS_ADRALN): Likewise.
1753         (BUS_ADRERR): Likewise.
1754         (BUS_OBJERR): Likewise.
1755         (BUS_MCEERR_AR): Likewise.
1756         (BUS_MCEERR_AO): Likewise.
1757         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1758         (TRAP_TRACE): Likewise.
1759         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1760         __USE_XOPEN2K8].
1761         (CLD_KILLED): Likewise.
1762         (CLD_DUMPED): Likewise.
1763         (CLD_TRAPPED): Likewise.
1764         (CLD_STOPPED): Likewise.
1765         (CLD_CONTINUED): Likewise.
1766         (POLL_IN): Likewise.
1767         (POLL_OUT): Likewise.
1768         (POLL_MSG): Likewise.
1769         (POLL_ERR): Likewise.
1770         (POLL_PRI): Likewise.
1771         (POLL_HUP): Likewise.
1772         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1773         (ILL_ILLOPN): Likewise.
1774         (ILL_ILLADR): Likewise.
1775         (ILL_ILLTRP): Likewise.
1776         (ILL_PRVOPC): Likewise.
1777         (ILL_PRVREG): Likewise.
1778         (ILL_COPROC): Likewise.
1779         (ILL_BADSTK): Likewise.
1780         (FPE_INTDIV): Likewise.
1781         (FPE_INTOVF): Likewise.
1782         (FPE_FLTDIV): Likewise.
1783         (FPE_FLTOVF): Likewise.
1784         (FPE_FLTUND): Likewise.
1785         (FPE_FLTRES): Likewise.
1786         (FPE_FLTINV): Likewise.
1787         (FPE_FLTSUB): Likewise.
1788         (SEGV_MAPERR): Likewise.
1789         (SEGV_ACCERR): Likewise.
1790         (BUS_ADRALN): Likewise.
1791         (BUS_ADRERR): Likewise.
1792         (BUS_OBJERR): Likewise.
1793         (BUS_MCEERR_AR): Likewise.
1794         (BUS_MCEERR_AO): Likewise.
1795         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1796         (TRAP_TRACE): Likewise.
1797         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1798         __USE_XOPEN2K8].
1799         (CLD_KILLED): Likewise.
1800         (CLD_DUMPED): Likewise.
1801         (CLD_TRAPPED): Likewise.
1802         (CLD_STOPPED): Likewise.
1803         (CLD_CONTINUED): Likewise.
1804         (POLL_IN): Likewise.
1805         (POLL_OUT): Likewise.
1806         (POLL_MSG): Likewise.
1807         (POLL_ERR): Likewise.
1808         (POLL_PRI): Likewise.
1809         (POLL_HUP): Likewise.
1810         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1811         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1813         [BZ #16670]
1814         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1815         before #include of <time.h>.
1816         [!__USE_XOPEN2K] (__need_timespec): Likewise.
1817         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1818         (test-xfail-UNIX98/sched.h/conform): Likewise.
1820 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1822         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1823         error absence of trapping exception support.
1824         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1826 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1828         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1829         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1830         * timezone/Makefile (testdata): Move definition above include of
1831         Rules.
1832         (test-zones): New variable.
1833         (tests-special): Add zone files.
1834         (build-testdata): Use $(evaluate-test).
1836         * elf/Makefile (tests-special): Rename tests to end with .out.
1837         ($(objpfx)noload-mem): Likewise.
1838         ($(objpfx)tst-leaks1-mem): Likewise.
1839         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1840         * iconv/Makefile (xtests-special): Change test-iconvconfig to
1841         $(objpfx)test-iconvconfig.out.
1842         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
1843         set -e inside subshell and redirect output to file.
1844         * iconvdata/Makefile (generated): Rename tests to end with .out.
1845         Correct type.
1846         (tests-special): Rename tests to end with .out.
1847         ($(objpfx)mtrace-tst-loading): Likewise.
1848         * intl/Makefile (generated): Likewise.
1849         (tests-special): Likewise.
1850         ($(objpfx)mtrace-tst-gettext): Likewise.
1851         * misc/Makefile (generated): Likewise.
1852         (tests-special): Likewise.
1853         ($(objpfx)tst-error1-mem): Likewise.
1854         * nptl/Makefile (tests-special): Likewise.
1855         ($(objpfx)tst-stack3-mem): Likewise.
1856         (generated): Likewise.
1857         * posix/Makefile (generated): Likewise.
1858         (tests-special): Likewise.
1859         (xtests-special): Likewise.
1860         ($(objpfx)tst-fnmatch-mem): Likewise.
1861         ($(objpfx)bug-regex2-mem): Likewise.
1862         ($(objpfx)bug-regex14-mem): Likewise.
1863         ($(objpfx)bug-regex21-mem): Likewise.
1864         ($(objpfx)bug-regex31-mem): Likewise.
1865         ($(objpfx)tst-vfork3-mem): Likewise.
1866         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1867         ($(objpfx)tst-pcre-mem): Likewise.
1868         ($(objpfx)tst-boost-mem): Likewise.
1869         ($(objpfx)bug-ga2-mem): Likewise.
1870         ($(objpfx)bug-glob2-mem): Likewise.
1871         * resolv/Makefile (generate): Likewise.
1872         (tests-special): Likewise.
1873         (xtests-special): Likewise.
1874         (generated): Likewise.
1875         ($(objpfx)mtrace-tst-leaks): Likewise.
1876         ($(objpfx)mtrace-tst-leaks2): Likewise.
1878         * scripts/merge-test-results.sh: New file.
1879         * Makefile (tests-special-notdir): New variable.
1880         (tests): Run merge-test-results.sh.
1881         (xtests): Likewise.
1882         * Rules (tests-special-notdir): New variable.
1883         (xtests-special-notdir): Likewise.
1884         (tests): Run merge-test-results.sh
1885         (xtests): Likewise.
1887         * Makeconfig (test-xfail-name): New variable.
1888         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1889         compute variable name for expected failures.
1890         * conform/Makefile (conformtest-headers-data): New variable.
1891         (conformtest-standards): Likewise.
1892         (conformtest-headers-ISO): Likewise.
1893         (conformtest-headers-ISO99): Likewise.
1894         (conformtest-headers-ISO11): Likewise.
1895         (conformtest-headers-POSIX): Likewise.
1896         (conformtest-headers-XPG3): Likewise.
1897         (conformtest-headers-XPG4): Likewise.
1898         (conformtest-headers-UNIX98): Likewise.
1899         (conformtest-headers-XOPEN2K): Likewise.
1900         (conformtest-headers-POSIX2008): Likewise.
1901         (conformtest-headers-XOPEN2K8): Likewise.
1902         (conformtest-header-list-base): Likewise.
1903         (conformtest-header-list-tests): Likewise.
1904         (conformtest-header-base): Likewise.
1905         (conformtest-header-tests): Likewise.
1906         (tests-special): Add $(conformtest-header-list-tests).  If
1907         [$(fast-check) && !$(cross-compiling)], add
1908         $(conformtest-header-tests) instead of
1909         $(objpfx)run-conformtest.out.
1910         (generated): Add $(conformtest-header-list-base).  If
1911         [$(fast-check) && !$(cross-compiling)], add
1912         $(conformtest-header-base).  Remove previous setting.
1913         ($(conformtest-header-list-tests)): New target.
1914         (test-xfail-run-conformtest): Remove variable.
1915         ($(objpfx)run-conformtest.out): Remove target.
1916         (test-xfail-ISO11/complex.h/conform): New variable.
1917         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1918         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1919         (test-xfail-XPG3/varargs.h/conform): Likewise.
1920         (test-xfail-XPG4/varargs.h/conform): Likewise.
1921         (test-xfail-UNIX98/varargs.h/conform): Likewise.
1922         (test-xfail-XPG4/ndbm.h/conform): Likewise.
1923         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1924         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1925         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1926         (test-xfail-XPG3/fcntl.h/conform): Likewise.
1927         (test-xfail-XPG3/ftw.h/conform): Likewise.
1928         (test-xfail-XPG3/grp.h/conform): Likewise.
1929         (test-xfail-XPG3/langinfo.h/conform): Likewise.
1930         (test-xfail-XPG3/limits.h/conform): Likewise.
1931         (test-xfail-XPG3/pwd.h/conform): Likewise.
1932         (test-xfail-XPG3/search.h/conform): Likewise.
1933         (test-xfail-XPG3/signal.h/conform): Likewise.
1934         (test-xfail-XPG3/stdio.h/conform): Likewise.
1935         (test-xfail-XPG3/stdlib.h/conform): Likewise.
1936         (test-xfail-XPG3/string.h/conform): Likewise.
1937         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1938         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1939         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1940         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1941         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1942         (test-xfail-XPG3/sys/types.h/conform): Likewise.
1943         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1944         (test-xfail-XPG3/termios.h/conform): Likewise.
1945         (test-xfail-XPG3/time.h/conform): Likewise.
1946         (test-xfail-XPG3/unistd.h/conform): Likewise.
1947         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1948         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1949         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1950         (test-xfail-XPG4/netdb.h/conform): Likewise.
1951         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1952         (test-xfail-XPG4/signal.h/conform): Likewise.
1953         (test-xfail-XPG4/stdio.h/conform): Likewise.
1954         (test-xfail-XPG4/stdlib.h/conform): Likewise.
1955         (test-xfail-XPG4/stropts.h/conform): Likewise.
1956         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1957         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1958         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1959         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1960         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1961         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1962         (test-xfail-XPG4/sys/time.h/conform): Likewise.
1963         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1964         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1965         (test-xfail-XPG4/termios.h/conform): Likewise.
1966         (test-xfail-XPG4/ucontext.h/conform): Likewise.
1967         (test-xfail-XPG4/unistd.h/conform): Likewise.
1968         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1969         (test-xfail-POSIX/sched.h/conform): Likewise.
1970         (test-xfail-POSIX/signal.h/conform): Likewise.
1971         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1972         (test-xfail-POSIX/tar.h/conform): Likewise.
1973         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1974         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1975         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1976         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1977         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1978         (test-xfail-UNIX98/sched.h/conform): Likewise.
1979         (test-xfail-UNIX98/signal.h/conform): Likewise.
1980         (test-xfail-UNIX98/stdio.h/conform): Likewise.
1981         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1982         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1983         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1984         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1985         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1986         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1987         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1988         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1989         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1990         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1991         (test-xfail-UNIX98/unistd.h/conform): Likewise.
1992         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1993         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1994         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1995         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1996         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1997         (test-xfail-XOPEN2K/math.h/conform): Likewise.
1998         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1999         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2000         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2001         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2002         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2003         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2004         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2005         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2006         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2007         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2008         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2009         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2010         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2011         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2012         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2013         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2014         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2015         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2016         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2017         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2018         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2019         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2020         (test-xfail-POSIX2008/signal.h/conform): Likewise.
2021         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2022         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2023         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2024         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2025         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2026         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2027         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2028         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2029         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2030         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2031         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2032         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2033         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2034         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2035         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2036         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2037         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2038         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2039         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2040         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2041         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2042         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2043         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2044         (conformtest-cc-flags): Likewise.
2045         ($(conformtest-header-tests): New target.
2046         * conform/check-header-lists.sh: New file.
2047         * conform/run-conformtest.sh: Remove.
2049         * conform/conformtest.pl: Allow ' and \ in values given for
2050         constants.
2051         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2052         inclusion.
2053         [POSIX] (sys/types.h): Likewise.
2054         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2055         inclusion.
2056         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2057         inclusion.
2058         * conform/data/signal.h-data (SIGIO): Remove expectation.
2059         [XPG3] (SIGBUS): Do not expect.
2060         [POSIX || XPG3] (SIGPOLL): Likewise.
2061         [POSIX || XPG3] (SIGPROF): Likewise.
2062         [POSIX || XPG3] (SIGSYS): Likewise.
2063         [XPG3] (SIGTRAP): Likewise.
2064         [POSIX || XPG3] (SIGURG): Likewise.
2065         [POSIX || XPG3] (SIGVTALRM): Likewise.
2066         [POSIX || XPG3] (SIGXCPU): Likewise.
2067         [POSIX || XPG3] (SIGXFSZ): Likewise.
2068         [POSIX] (SA_SIGINFO): Expect.
2069         [XPG3] (siginfo_t): Do not expect type or contents.
2070         [POSIX] (si_pid): Do not expect element.
2071         [POSIX] (si_uid): Likewise.
2072         [POSIX] (si_addr): Likewise.
2073         [POSIX] (si_status): Likewise.
2074         [POSIX] (si_band): Likewise.
2075         [XPG4] (si_value): Likewise.
2076         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2077         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2078         [POSIX || XPG3] (ILL_ILLADR): Likewise.
2079         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2080         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2081         [POSIX || XPG3] (ILL_PRVREG): Likewise.
2082         [POSIX || XPG3] (ILL_COPROC): Likewise.
2083         [POSIX || XPG3] (ILL_BADSTK): Likewise.
2084         [POSIX || XPG3] (FPE_INTDIV): Likewise.
2085         [POSIX || XPG3] (FPE_INTOVF): Likewise.
2086         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2087         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2088         [POSIX || XPG3] (FPE_FLTUND): Likewise.
2089         [POSIX || XPG3] (FPE_FLTRES): Likewise.
2090         [POSIX || XPG3] (FPE_FLTINV): Likewise.
2091         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2092         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2093         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2094         [POSIX || XPG3] (BUS_ADRALN): Likewise.
2095         [POSIX || XPG3] (BUS_ADRERR): Likewise.
2096         [POSIX || XPG3] (BUS_OBJERR): Likewise.
2097         [POSIX || XPG3] (CLD_EXITED): Likewise.
2098         [POSIX || XPG3] (CLD_KILLED): Likewise.
2099         [POSIX || XPG3] (CLD_DUMPED): Likewise.
2100         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2101         [POSIX || XPG3] (CLD_STOPPED): Likewise.
2102         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2103         [POSIX || XPG3] (POLL_IN): Likewise.
2104         [POSIX || XPG3] (POLL_OUT): Likewise.
2105         [POSIX || XPG3] (POLL_MSG): Likewise.
2106         [POSIX || XPG3] (POLL_ERR): Likewise.
2107         [POSIX || XPG3] (POLL_PRI): Likewise.
2108         [POSIX || XPG3] (POLL_HUP): Likewise.
2109         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2110         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2111         (SIG*): Do not allow.
2112         [XPG3] (si_*): Likewise.
2113         [XPG3] (SI_*): Likewise.
2114         [XPG3 || XPG4] (sigev_*): Likewise.
2115         [XPG3 || XPG4] (SIGEV_*): Likewise.
2116         [XPG3 || XPG4] (sival_*): Likewise.
2117         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2118         [POSIX || XPG3] (BUS_*): Likewise.
2119         [POSIX || XPG3] (CLD_*): Likewise.
2120         [POSIX || XPG3] (FPE_*): Likewise.
2121         [POSIX || XPG3] (ILL_*): Likewise.
2122         [POSIX || XPG3] (POLL_*): Likewise.
2123         [POSIX || XPG3] (SEGV_*): Likewise.
2124         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2125         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2126         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2127         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2128         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2129         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2130         Specify type and value.
2131         (TVERSLEN): Likewise.
2132         (REGTYPE): Likewise.
2133         (AREGTYPE): Likewise.
2134         (LNKTYPE): Likewise.
2135         (SYMTYPE): Likewise.
2136         (CHRTYPE): Likewise.
2137         (BLKTYPE): Likewise.
2138         (DIRTYPE): Likewise.
2139         (FIFOTYPE): Likewise.
2140         (CONTTYPE): Likewise.
2141         (TSUID): Likewise.
2142         (TSGID): Likewise.
2143         (TSVTX): Likewise.
2144         (TUREAD): Likewise.
2145         (TUWRITE): Likewise.
2146         (TUEXEC): Likewise.
2147         (TGREAD): Likewise.
2148         (TGWRITE): Likewise.
2149         (TGEXEC): Likewise.
2150         (TOREAD): Likewise.
2151         (TOWRITE): Likewise.
2152         (TOEXEC): Likewise.
2153         [POSIX] (TSVTX): Expect constant.
2155 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
2157         * Makefile (tests): Change dependencies to ....
2158         (tests-special): ... additions to this variable.
2159         (tests): Depend on $(tests-special).
2160         * Makerules (check-abi-list): New variable.
2161         (check-abi): Depend on $(check-abi-list).
2162         [$(subdir) = elf] (tests-special): Add
2163         $(objpfx)check-abi-libc.out.
2164         [$(build-shared) = yes && subdir] (tests-special): Add
2165         $(check-abi-list).
2166         [$(build-shared) = yes && subdir] (tests): Do not depend on
2167         check-abi.
2168         * Rules (tests): Depend on $(tests-special).
2169         (xtests): Depend on $(xtests-special).
2170         * catgets/Makefile (tests): Change dependencies to ....
2171         (tests-special): ... additions to this variable.
2172         * conform/Makefile (tests): Change dependencies to ....
2173         (tests-special): ... additions to this variable.
2174         * elf/Makefile (tests): Change dependencies to ....
2175         (tests-special): ... additions to this variable.
2176         * grp/Makefile (tests): Change dependencies to ....
2177         (tests-special): ... additions to this variable.
2178         * iconv/Makefile (xtests): Change dependencies to ....
2179         (xtests-special): ... additions to this variable.
2180         * iconvdata/Makefile (tests): Change dependencies to ....
2181         (tests-special): ... additions to this variable.
2182         * intl/Makefile (tests): Change dependencies to ....
2183         (tests-special): ... additions to this variable.  Also add
2184         $(objpfx)tst-gettext.out.
2185         * io/Makefile (tests): Change dependencies to ....
2186         (tests-special): ... additions to this variable.
2187         * libio/Makefile (tests): Change dependencies to ....
2188         (tests-special): ... additions to this variable.
2189         * malloc/Makefile (tests): Change dependencies to ....
2190         (tests-special): ... additions to this variable.
2191         * misc/Makefile (tests): Change dependencies to ....
2192         (tests-special): ... additions to this variable.
2193         * nptl/Makefile (tests): Change dependencies to ....
2194         (tests-special): ... additions to this variable.
2195         * nptl_db/Makefile (tests): Change dependencies to ....
2196         (tests-special): ... additions to this variable.
2197         * posix/Makefile (tests): Change dependencies to ....
2198         (tests-special): ... additions to this variable.
2199         (xtests): Change dependencies to ....
2200         (xtests-special): ... additions to this variable.
2201         * resolv/Makefile (tests): Change dependencies to ....
2202         (tests-special): ... additions to this variable.
2203         (xtests): Change dependencies to ....
2204         (xtests-special): ... additions to this variable.
2205         * stdio-common/Makefile (tests): Change dependencies to ....
2206         (tests-special): ... additions to this variable.
2207         (do-tst-unbputc): Remove target.
2208         (do-tst-printf): Likewise.
2209         * stdlib/Makefile (tests): Change dependencies to ....
2210         (tests-special): ... additions to this variable.
2211         * string/Makefile (tests): Change dependencies to ....
2212         (tests-special): ... additions to this variable.
2213         * sysdeps/x86/Makefile (tests): Change dependencies to ....
2214         (tests-special): ... additions to this variable.
2216         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2217         whole file.
2218         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2219         whole file.
2220         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2221         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2223         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2224         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2225         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2226         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2227         * conform/data/libgen.h-data [XPG3]: Likewise.
2228         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2229         * conform/data/ndbm.h-data [XPG3]: Likewise.
2230         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2231         * conform/data/netdb.h-data [XPG3]: Likewise.
2232         * conform/data/netinet/in.h-data [XPG3]: Likewise.
2233         * conform/data/poll.h-data [XPG3]: Likewise.
2234         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2235         * conform/data/strings.h-data [XPG3]: Likewise.
2236         * conform/data/stropts.h-data [XPG3]: Likewise.
2237         * conform/data/sys/mman.h-data [XPG3]: Likewise.
2238         * conform/data/sys/resource.h-data [XPG3]: Likewise.
2239         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2240         Likewise.
2241         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2242         * conform/data/sys/time.h-data [XPG3]: Likewise.
2243         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2244         * conform/data/sys/uio.h-data [XPG3]: Likewise.
2245         * conform/data/sys/un.h-data [XPG3]: Likewise.
2246         * conform/data/syslog.h-data [XPG3]: Likewise.
2247         * conform/data/ucontext.h-data [XPG3]: Likewise.
2248         * conform/data/utmpx.h-data [XPG3]: Likewise.
2249         * conform/data/varargs.h-data [UNIX98]: Enable file.
2251         * manual/Makefile (INSTALL_INFO): Remove variable setting.
2253         * math/libm-test.inc (struct test_f_f_data): Move expected results
2254         into structure for each rounding mode.
2255         (struct test_ff_f_data): Likewise.
2256         (struct test_ff_f_data_nexttoward): Likewise.
2257         (struct test_fi_f_data): Likewise.
2258         (struct test_fl_f_data): Likewise.
2259         (struct test_if_f_data): Likewise.
2260         (struct test_fff_f_data): Likewise.
2261         (struct test_c_f_data): Likewise.
2262         (struct test_f_f1_data): Likewise.
2263         (struct test_fF_f1_data): Likewise.
2264         (struct test_ffI_f1_data): Likewise.
2265         (struct test_c_c_data): Likewise.
2266         (struct test_cc_c_data): Likewise.
2267         (struct test_f_i_data): Likewise.
2268         (struct test_ff_i_data): Likewise.
2269         (struct test_f_l_data): Likewise.
2270         (struct test_f_L_data): Likewise.
2271         (struct test_fFF_11_data): Likewise.
2272         (RM_): New macro.
2273         (RM_FE_DOWNWARD): Likewise.
2274         (RM_FE_TONEAREST): Likewise.
2275         (RM_FE_TOWARDZERO): Likewise.
2276         (RM_FE_UPWARD): Likewise.
2277         (RUN_TEST_LOOP_f_f): Update references to expected results.
2278         (RUN_TEST_LOOP_2_f): Likewise.
2279         (RUN_TEST_LOOP_fff_f): Likewise.
2280         (RUN_TEST_LOOP_c_f): Likewise.
2281         (RUN_TEST_LOOP_f_f1): Likewise.
2282         (RUN_TEST_LOOP_fF_f1): Likewise.
2283         (RUN_TEST_LOOP_fI_f1): Likewise.
2284         (RUN_TEST_LOOP_ffI_f1): Likewise.
2285         (RUN_TEST_LOOP_c_c): Likewise.
2286         (RUN_TEST_LOOP_cc_c): Likewise.
2287         (RUN_TEST_LOOP_f_i): Likewise.
2288         (RUN_TEST_LOOP_f_i_tg): Likewise.
2289         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2290         (RUN_TEST_LOOP_f_b): Likewise.
2291         (RUN_TEST_LOOP_f_b_tg): Likewise.
2292         (RUN_TEST_LOOP_f_l): Likewise.
2293         (RUN_TEST_LOOP_f_L): Likewise.
2294         (RUN_TEST_LOOP_fFF_11): Likewise.
2295         * math/gen-libm-test.pl (parse_args): Output four copies of
2296         expected results for each test.
2298         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2299         (__ASSUME_UTIMES): Remove.
2300         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2301         (__ASSUME_UTIMES): Likewise.
2303         * math/gen-auto-libm-tests.c: Update comment on output format.
2304         (output_for_one_input_case): Generate before-rounding and
2305         after-rounding information as conditions on output flags not
2306         floating-point format.
2307         * math/auto-libm-test-out: Regenerated.
2308         * math/gen-libm-test.pl (cond_value): New function.
2309         (or_cond_value): Use cond_value.
2310         (generate_testfile): Handle conditional exceptions.
2312 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
2314         * math/libm-test.inc (max_valid_error): New variable.
2315         (init_max_error): Take new argument specifying whether function
2316         results are exactly determined.  Set max_valid_error and bound
2317         other variables for errors based on this argument.
2318         (set_max_error): Do not record results above max_valid_error.
2319         (check_float_internal): Only accept errors of up to 0.5ulps if
2320         also at most max_valid_error.
2321         (START): Take new argument EXACT and pass it to init_max_error.
2322         (acos_test): Update call to START.
2323         (acos_test_tonearest): Likewise.
2324         (acos_test_towardzero): Likewise.
2325         (acos_test_downward): Likewise.
2326         (acos_test_upward): Likewise.
2327         (acosh_test): Likewise.
2328         (asin_test): Likewise.
2329         (asin_test_tonearest): Likewise.
2330         (asin_test_towardzero): Likewise.
2331         (asin_test_downward): Likewise.
2332         (asin_test_upward): Likewise.
2333         (asinh_test): Likewise.
2334         (atan_test): Likewise.
2335         (atanh_test): Likewise.
2336         (atan2_test): Likewise.
2337         (cabs_test): Likewise.
2338         (cacos_test): Likewise.
2339         (cacosh_test): Likewise.
2340         (carg_test): Likewise.
2341         (casin_test): Likewise.
2342         (casinh_test): Likewise.
2343         (catan_test): Likewise.
2344         (catanh_test): Likewise.
2345         (cbrt_test): Likewise.
2346         (ccos_test): Likewise.
2347         (ccosh_test): Likewise.
2348         (ceil_test): Likewise.
2349         (cexp_test): Likewise.
2350         (cimag_test): Likewise.
2351         (clog_test): Likewise.
2352         (clog10_test): Likewise.
2353         (conj_test): Likewise.
2354         (copysign_test): Likewise.
2355         (cos_test): Likewise.
2356         (cos_test_tonearest): Likewise.
2357         (cos_test_towardzero): Likewise.
2358         (cos_test_downward): Likewise.
2359         (cos_test_upward): Likewise.
2360         (cosh_test): Likewise.
2361         (cosh_test_tonearest): Likewise.
2362         (cosh_test_towardzero): Likewise.
2363         (cosh_test_downward): Likewise.
2364         (cosh_test_upward): Likewise.
2365         (cpow_test): Likewise.
2366         (cproj_test): Likewise.
2367         (creal_test): Likewise.
2368         (csin_test): Likewise.
2369         (csinh_test): Likewise.
2370         (csqrt_test): Likewise.
2371         (ctan_test): Likewise.
2372         (ctan_test_tonearest): Likewise.
2373         (ctan_test_towardzero): Likewise.
2374         (ctan_test_downward): Likewise.
2375         (ctan_test_upward): Likewise.
2376         (ctanh_test): Likewise.
2377         (ctanh_test_tonearest): Likewise.
2378         (ctanh_test_towardzero): Likewise.
2379         (ctanh_test_downward): Likewise.
2380         (ctanh_test_upward): Likewise.
2381         (erf_test): Likewise.
2382         (erfc_test): Likewise.
2383         (exp_test): Likewise.
2384         (exp_test_tonearest): Likewise.
2385         (exp_test_towardzero): Likewise.
2386         (exp_test_downward): Likewise.
2387         (exp_test_upward): Likewise.
2388         (exp10_test): Likewise.
2389         (exp10_test_tonearest): Likewise.
2390         (exp10_test_towardzero): Likewise.
2391         (exp10_test_downward): Likewise.
2392         (exp10_test_upward): Likewise.
2393         (pow10_test): Likewise.
2394         (exp2_test): Likewise.
2395         (expm1_test): Likewise.
2396         (expm1_test_tonearest): Likewise.
2397         (expm1_test_towardzero): Likewise.
2398         (expm1_test_downward): Likewise.
2399         (expm1_test_upward): Likewise.
2400         (fabs_test): Likewise.
2401         (fdim_test): Likewise.
2402         (floor_test): Likewise.
2403         (fma_test): Likewise.
2404         (fma_test_towardzero): Likewise.
2405         (fma_test_downward): Likewise.
2406         (fma_test_upward): Likewise.
2407         (fmax_test): Likewise.
2408         (fmin_test): Likewise.
2409         (fmod_test): Likewise.
2410         (fpclassify_test): Likewise.
2411         (frexp_test): Likewise.
2412         (hypot_test): Likewise.
2413         (ilogb_test): Likewise.
2414         (isfinite_test): Likewise.
2415         (finite_test): Likewise.
2416         (isgreater_test): Likewise.
2417         (isgreaterequal_test): Likewise.
2418         (isinf_test): Likewise.
2419         (isless_test): Likewise.
2420         (islessequal_test): Likewise.
2421         (islessgreater_test): Likewise.
2422         (isnan_test): Likewise.
2423         (isnormal_test): Likewise.
2424         (issignaling_test): Likewise.
2425         (isunordered_test): Likewise.
2426         (j0_test): Likewise.
2427         (j1_test): Likewise.
2428         (jn_test): Likewise.
2429         (ldexp_test): Likewise.
2430         (lgamma_test): Likewise.
2431         (gamma_test): Likewise.
2432         (lrint_test): Likewise.
2433         (lrint_test_tonearest): Likewise.
2434         (lrint_test_towardzero): Likewise.
2435         (lrint_test_downward): Likewise.
2436         (lrint_test_upward): Likewise.
2437         (llrint_test): Likewise.
2438         (llrint_test_tonearest): Likewise.
2439         (llrint_test_towardzero): Likewise.
2440         (llrint_test_downward): Likewise.
2441         (llrint_test_upward): Likewise.
2442         (log_test): Likewise.
2443         (log10_test): Likewise.
2444         (log1p_test): Likewise.
2445         (log2_test): Likewise.
2446         (logb_test): Likewise.
2447         (logb_test_downward): Likewise.
2448         (lround_test): Likewise.
2449         (llround_test): Likewise.
2450         (modf_test): Likewise.
2451         (nearbyint_test): Likewise.
2452         (nextafter_test): Likewise.
2453         (nexttoward_test): Likewise.
2454         (pow_test): Likewise.
2455         (pow_test_tonearest): Likewise.
2456         (pow_test_towardzero): Likewise.
2457         (pow_test_downward): Likewise.
2458         (pow_test_upward): Likewise.
2459         (remainder_test): Likewise.
2460         (drem_test): Likewise.
2461         (remainder_test_tonearest): Likewise.
2462         (drem_test_tonearest): Likewise.
2463         (remainder_test_towardzero): Likewise.
2464         (drem_test_towardzero): Likewise.
2465         (remainder_test_downward): Likewise.
2466         (drem_test_downward): Likewise.
2467         (remainder_test_upward): Likewise.
2468         (drem_test_upward): Likewise.
2469         (remquo_test): Likewise.
2470         (rint_test): Likewise.
2471         (rint_test_tonearest): Likewise.
2472         (rint_test_towardzero): Likewise.
2473         (rint_test_downward): Likewise.
2474         (rint_test_upward): Likewise.
2475         (round_test): Likewise.
2476         (scalb_test): Likewise.
2477         (scalbn_test): Likewise.
2478         (scalbln_test): Likewise.
2479         (signbit_test): Likewise.
2480         (sin_test): Likewise.
2481         (sin_test_tonearest): Likewise.
2482         (sin_test_towardzero): Likewise.
2483         (sin_test_downward): Likewise.
2484         (sin_test_upward): Likewise.
2485         (sincos_test): Likewise.
2486         (sinh_test): Likewise.
2487         (sinh_test_tonearest): Likewise.
2488         (sinh_test_towardzero): Likewise.
2489         (sinh_test_downward): Likewise.
2490         (sinh_test_upward): Likewise.
2491         (sqrt_test): Likewise.
2492         (sqrt_test_tonearest): Likewise.
2493         (sqrt_test_towardzero): Likewise.
2494         (sqrt_test_downward): Likewise.
2495         (sqrt_test_upward): Likewise.
2496         (tan_test): Likewise.
2497         (tan_test_tonearest): Likewise.
2498         (tan_test_towardzero): Likewise.
2499         (tan_test_downward): Likewise.
2500         (tan_test_upward): Likewise.
2501         (tanh_test): Likewise.
2502         (tgamma_test): Likewise.
2503         (trunc_test): Likewise.
2504         (y0_test): Likewise.
2505         (y1_test): Likewise.
2506         (yn_test): Likewise.
2507         (significand_test): Likewise.
2509         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2510         individual tests in comment.
2511         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2512         (prev_max_error): New variable.
2513         (prev_real_max_error): Likewise.
2514         (prev_imag_max_error): Likewise.
2515         (compare_ulp_data): Don't refer to test names in comment.
2516         (find_test_ulps): Remove function.
2517         (find_function_ulps): Likewise.
2518         (find_complex_function_ulps): Likewise.
2519         (init_max_error): Take function name as argument.  Look up ulps
2520         for that function.
2521         (print_ulps): Remove function.
2522         (print_max_error): Use prev_max_error instead of calling
2523         find_function_ulps.
2524         (print_complex_max_error): Use prev_real_max_error and
2525         prev_imag_max_error instead of calling find_complex_function_ulps.
2526         (check_float_internal): Take max_ulp parameter instead of calling
2527         find_test_ulps.  Don't call print_ulps.
2528         (check_float): Update call to check_float_internal.
2529         (check_complex): Update calls to check_float_internal.
2530         (START): Pass argument to init_max_error.
2531         * math/gen-libm-test.pl (%results): Don't include "kind"
2532         information.
2533         (parse_ulps): Don't handle ulps of individual tests.
2534         (print_ulps_file): Likewise.
2535         (output_ulps): Likewise.
2536         * math/README.libm-test: Update.
2537         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2538         individual tests.
2539         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2540         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2541         * sysdeps/arm/libm-test-ulps: Likewise.
2542         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2543         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2544         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2545         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2546         * sysdeps/microblaze/libm-test-ulps: Likewise.
2547         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2548         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2549         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2550         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2551         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2552         * sysdeps/sh/libm-test-ulps: Likewise.
2553         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2554         * sysdeps/tile/libm-test-ulps: Likewise.
2555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2557 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
2559         * math/libm-test.inc (print_complex_max_error): Check separately
2560         whether real and imaginary errors are within allowed range and
2561         pass 0 to print_complex_function_ulps instead of value within
2562         allowed range.
2564 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2566         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2567         formatting.
2568         (get_handles_fopen): Likewise.
2569         (do_write_test): Likewise.
2571         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2573         * libio/fileops.c (do_ftell): Use cached offset when
2574         available.
2575         * libio/iofwide.c (do_ftell_wide): Likewise.
2576         * libio/iofdopen.c (_IO_new_fdopen): Don't use
2577         _IO_file_attach.
2578         * libio/wfileops.c (_IO_fwide): Don't cache offset.
2580         [BZ #16532]
2581         * libio/libioP.h (get_file_offset): New function.
2582         * libio/fileops.c (get_file_offset): Likewise.
2583         (do_ftell): Likewise.
2584         (_IO_new_file_seekoff): Split out ftell logic.
2585         * libio/wfileops.c (do_ftell_wide): Likewise.
2586         (_IO_wfile_seekoff): Split out ftell logic.
2587         * libio/tst-ftell-active-handler.c: New test case.
2588         * libio/Makefile (tests): Add it.
2590 2014-03-03  Roland McGrath  <roland@hack.frob.com>
2592         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2593         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2595 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2597         [BZ #16639]
2598         * nscd/connections.c (nscd_init): Call do_exit.
2599         (start_threads): Call do_exit and notify_parent.
2600         (begin_drop_privileges): Call do_exit.
2601         (finish_drop_privileges): Likewise.
2602         * nscd/selinux.c (preserve_capabilities): Likewise.
2603         (install_real_capabilities): Likewise.
2604         (nscd_selinux_enabled): Likewise.
2605         (avc_create_thread): Likewise.
2606         (avc_alloc_lock): Likewise.
2607         (nscd_avc_init): Likewise.
2608         * nscd/nscd.c (parent_fd): New static variable.
2609         (main): Create a pipe between parent and child processes.
2610         Skip closing parent_fd.
2611         (monitor_child): New function.
2612         (do_exit): Likewise.
2613         (notify_parent): Likewise.
2614         * nscd/nscd.h (notify_parent): Likewise.
2615         (do_exit): Likewise.
2617 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
2619         * malloc/malloc.c (__libc_calloc): Revert last change.
2621 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2625 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2627         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2629         implementation.
2630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2631         (__libc_ifunc_impl_list): Likewise.
2632         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2633         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2634         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2635         * string/strrchr.c: Define STRRCHR.
2637 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
2639         * benchtest/bench-strtok.c (simple_strtok): Delete.
2640         (strtok_string): Use as benchmark.
2641         * string/strtok (STRTOK): New macro.
2643 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
2645         * manual/threads.texi: Add header and standard comments to all
2646         functions.
2648         * elf/dl-lookup.c (check_match): New function.
2649         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2650         (do_lookup_x): Remove nested function check_match. Use non-nested
2651         function check_match.
2653 2014-02-28  Roland McGrath  <roland@hack.frob.com>
2655         * csu/Makefile (generated, before-compile): Use += rather than =.
2656         * catgets/Makefile (generated, generated-dirs): Likewise.
2657         * debug/Makefile (generated): Likewise.
2658         * dlfcn/Makefile (generated): Likewise.
2659         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2660         * iconvdata/Makefile (before-compile, generated): Likewise.
2661         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2662         * libio/Makefile (generated): Likewise.
2663         * malloc/Makefile (generated): Likewise.
2664         * manual/Makefile (generated, generated-dirs): Likewise.
2665         * misc/Makefile (generated): Likewise.
2666         * posix/Makefile (generated): Likewise.
2667         * resolv/Makefile (generated): Likewise.
2668         * sunrpc/Makefile (generated, generated-dirs): Likewise.
2669         * timezone/Makefile (generated, generated-dirs): Likewise.
2671         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2673 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2675         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2676         implementation.
2677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2678         POWER8 llround ifunc implementation.
2679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2680         POWER8 implementation.
2681         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2682         POWER8 llround implementation.
2684 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2687         implementation.
2688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2689         POWER8 llrint ifunc implementation.
2690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2691         POWER8 implementation.
2692         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2693         POWER8 llrint implementation.
2695 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2698         implementation.
2699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2700         POWER8 finite ifunc implementation.
2701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2702         POWER8 implementation.
2703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2704         Likewise.
2705         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2706         POWER8 finite implementation.
2707         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2709 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2712         implementation.
2713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2714         POWER8 isinf ifunc implementation.
2715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2716         POWER8 implementation.
2717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2718         Likewise.
2719         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2720         POWER8 isinf implementation.
2721         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2723 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2725         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2726         Add hwcap2 initialization.
2727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2728         implementation.
2729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2730         POWER8 isnan ifunc implementation.
2731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2732         POWER8 implementation.
2733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2734         Likewise.
2735         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2736         POWER8 isnan implementation.
2737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2739 2014-02-27  Joey Ye  <joey.ye@arm.com>
2741         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2742         (_FP_NANFRAC_Q): Set to zero.
2744 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2746         [BZ #16623]
2747         * math/auto-libm-test-in: New test inputs.
2748         * math/auto-libm-test-out: Regenerate.
2749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2750         and DA.
2751         (__cos): Likewise.
2752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2754 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
2756         * scripts/evaluate-test.sh: Take new argument indicating whether
2757         failure is expected.
2758         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2759         indicating whether failure is expected.
2760         * conform/Makefile (test-xfail-run-conformtest): New variable.
2761         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2762         level.
2763         * posix/Makefile (test-xfail-annexc): New variable.
2764         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2766 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
2768         * argp/Makefile: Include Makeconfig immediately after defining
2769         subdir.
2770         * assert/Makefile: Likewise.
2771         * benchtests/Makefile: Likewise.
2772         * catgets/Makefile: Likewise.
2773         * conform/Makefile: Likewise.
2774         * crypt/Makefile: Likewise.
2775         * csu/Makefile: Likewise.
2776         (all): Remove target.
2777         * ctype/Makefile: Include Makeconfig immediately after defining
2778         subdir.
2779         * debug/Makefile: Likewise.
2780         * dirent/Makefile: Likewise.
2781         * dlfcn/Makefile: Likewise.
2782         * gmon/Makefile: Likewise.
2783         * gnulib/Makefile: Likewise.
2784         * grp/Makefile: Likewise.
2785         * gshadow/Makefile: Likewise.
2786         * hesiod/Makefile: Likewise.
2787         * hurd/Makefile: Likewise.
2788         (all): Remove target.
2789         * iconvdata/Makefile: Include Makeconfig immediately after
2790         defining subdir.
2791         * inet/Makefile: Likewise.
2792         * intl/Makefile: Likewise.
2793         * io/Makefile: Likewise.
2794         * libio/Makefile: Likewise.
2795         (all): Remove target.
2796         * locale/Makefile: Include Makeconfig immediately after defining
2797         subdir.
2798         * login/Makefile: Likewise.
2799         * mach/Makefile: Likewise.
2800         (all): Remove target.
2801         * malloc/Makefile: Include Makeconfig immediately after defining
2802         subdir.
2803         (all): Remove target.
2804         * manual/Makefile: Include Makeconfig immediately after defining
2805         subdir.
2806         * math/Makefile: Likewise.
2807         * misc/Makefile: Likewise.
2808         * nis/Makefile: Likewise.
2809         * nss/Makefile: Likewise.
2810         * po/Makefile: Likewise.
2811         (all): Remove target.
2812         * posix/Makefile: Include Makeconfig immediately after defining
2813         subdir.
2814         * pwd/Makefile: Likewise.
2815         * resolv/Makefile: Likewise.
2816         * resource/Makefile: Likewise.
2817         * rt/Makefile: Likewise.
2818         * setjmp/Makefile: Likewise.
2819         * shadow/Makefile: Likewise.
2820         * signal/Makefile: Likewise.
2821         * socket/Makefile: Likewise.
2822         * soft-fp/Makefile: Likewise.
2823         * stdio-common/Makefile: Likewise.
2824         * stdlib/Makefile: Likewise.
2825         * streams/Makefile: Likewise.
2826         * string/Makefile: Likewise.
2827         * sunrpc/Makefile: Likewise.
2828         (all): Remove target.
2829         * sysvipc/Makefile: Include Makeconfig immediately after defining
2830         subdir.
2831         * termios/Makefile: Likewise.
2832         * time/Makefile: Likewise.
2833         * timezone/Makefile: Likewise.
2834         (all): Remove target.
2835         * wcsmbs/Makefile: Include Makeconfig immediately after defining
2836         subdir.
2837         * wctype/Makefile: Likewise.
2839 2014-02-26  Steve Ellcey  <sellcey@mips.com>
2841         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2842         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2843         (libc_feholdexcept_setround_mips): Ditto.
2844         (libc_feholdsetround): New.
2845         (libc_feholdsetroundf): New.
2846         (libc_feholdsetroundl): New.
2847         (libc_feupdateenv_test_mips): New.
2848         (libc_feupdateenv_test): New.
2849         (libc_feupdateenv_testf): New.
2850         (libc_feupdateenv_testl): New.
2851         (libc_feresetround): New.
2852         (libc_feresetroundf): New.
2853         (libc_feresetroundl): New.
2854         (libc_fetestexcept_mips): New.
2855         (libc_fetestexcept): New.
2856         (libc_fetestexceptf): New.
2857         (libc_fetestexceptl): New.
2858         (HAVE_RM_CTX): New.
2859         (libc_feholdexcept_setround_mips_ctx): New.
2860         (libc_feholdexcept_setround_ctx): New.
2861         (libc_feholdexcept_setroundf_ctx): New.
2862         (libc_feholdexcept_setroundl_ctx): New.
2863         (libc_fesetenv_mips_ctx): New.
2864         (libc_fesetenv_ctx): New.
2865         (libc_fesetenv_ctxf): New.
2866         (libc_fesetenv_ctxl): New.
2867         (libc_feupdateenv_mips_ctx): New.
2868         (libc_feupdateenv_ctx): New.
2869         (libc_feupdateenvf_ctx): New.
2870         (libc_feupdateenvl_ctx): New.
2871         (libc_feholdsetround_mips_ctx): New.
2872         (libc_feholdsetround_ctx): New.
2873         (libc_feholdsetroundf_ctx): New.
2874         (libc_feholdsetroundl_ctx): New.
2875         (libc_feresetround_mips_ctx): New.
2876         (libc_feresetround_ctx): New.
2877         (libc_feresetroundf_ctx): New.
2878         (libc_feresetroundl_ctx): New.
2880 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
2882         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2884         * manual/ipc.texi: New file.
2885         * manual/Makefile (chapters): Add ipc.
2886         * manual/job.texi: Add "Inter-Process Communication" to next.
2887         * manual/process.texi: Add "Inter-Process Communication" to prev.
2889 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2893 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
2895         * malloc/malloc.c (__libc_calloc): Simplify implementation.
2897         * manual/arith.texi: Fix spaces after sentences.
2898         * manual/charset.texi: Likewise.
2899         * manual/errno.texi: Likewise.
2900         * manual/install.texi: Likewise.
2901         * manual/llio.texi: Likewise.
2902         * manual/locale.texi: Likewise.
2903         * manual/maint.texi: Likewise.
2904         * manual/math.texi: Likewise.
2905         * manual/memory.texi: Likewise.
2906         * manual/message.texi: Likewise.
2907         * manual/probes.texi: Likewise.
2908         * manual/resource.texi: Likewise.
2909         * manual/signal.texi: Likewise.
2910         * manual/socket.texi: Likewise.
2911         * manual/stdio.texi: Likewise.
2912         * manual/string.texi: Likewise.
2913         * manual/time.texi: Likewise.
2914         * manual/users.texi: Likewise.
2916 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
2918         [BZ #16632]
2919         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2920         _DEFAULT_SOURCE is defined.
2922 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
2923             Carlos O'Donell  <carlos@redhat.com>
2925         [BZ #16613]
2926         * elf/dl-tls.c (_dl_count_modids): New function.
2927         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2928         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2929         audit library and increment generation counter.
2930         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2931         * elf/tst-audit9.c: New file.
2932         * elf/tst-auditmod9a.c: New file.
2933         * elf/tst-auditmod9b.c: New file.
2934         * elf/Makefile: Add rules to build and run tst-audit9.
2936 2014-02-25  Florian Weimer  <fweimer@redhat.com>
2938         [BZ #15347]
2939         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2941 2014-02-25  Will Newton  <will.newton@linaro.org>
2943         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2944         (__longjmp): Restore sp and lr before restoring callee
2945         saved registers.  Add longjmp and longjmp_target
2946         SystemTap probe point.
2947         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2948         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2949         Define to zero to match jmpbuf layout.
2950         * sysdeps/arm/setjmp.S: Include stap-probe.h.
2951         (__sigsetjmp): Save sp and lr before saving callee
2952         saved registers.  Add setjmp SystemTap probe point.
2954 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2956         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2958 2014-02-24  Andreas Schwab  <schwab@suse.de>
2960         [BZ #15804]
2961         * elf/pldd.c (wait_for_ptrace_stop): New function.
2962         (main): Call it after attaching.
2964 2014-02-22  Roland McGrath  <roland@hack.frob.com>
2966         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2967         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2968         Versions files is now verboten.
2969         * hurd/Versions (libc: GLIBC_2.0):
2970         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2971         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2972         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2973         * mach/Versions: Likewise.
2975         * csu/Versions: Remove unused %include.
2976         * resolv/Versions: Likewise.
2978 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
2980         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2981         ($(objpfx)check-local-headers.out): Likewise.
2982         ($(objpfx)begin-end-check.out): Likewise.
2983         * Makerules (check-abi-%.out): Likewise.
2984         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2985         ($(objpfx)test2.cat): Likewise.
2986         ($(objpfx)de/libc.cat): Likewise.
2987         ($(objpfx)test-gencat.out): Likewise.
2988         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2989         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2990         ($(objpfx)noload-mem): Likewise.
2991         ($(objpfx)tst-pathopt.out): Likewise.
2992         ($(objpfx)tst-rtld-load-self.out): Likewise.
2993         ($(objpfx)tst-array1-cmp.out): Likewise.
2994         ($(objpfx)tst-array1-static-cmp.out): Likewise.
2995         ($(objpfx)tst-array2-cmp.out): Likewise.
2996         ($(objpfx)tst-array3-cmp.out): Likewise.
2997         ($(objpfx)tst-array4-cmp.out): Likewise.
2998         ($(objpfx)tst-array5-cmp.out): Likewise.
2999         ($(objpfx)tst-array5-static-cmp.out): Likewise.
3000         ($(objpfx)check-textrel.out): Likewise.
3001         ($(objpfx)check-execstack.out): Likewise.
3002         ($(objpfx)check-localplt.out): Likewise.
3003         ($(objpfx)order2-cmp.out): Likewise.
3004         ($(objpfx)tst-leaks1-mem): Likewise.
3005         ($(objpfx)tst-leaks1-static-mem): Likewise.
3006         ($(objpfx)tst-initorder-cmp.out): Likewise.
3007         ($(objpfx)tst-initorder2-cmp.out): Likewise.
3008         ($(objpfx)tst-unused-dep.out): Likewise.
3009         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3010         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3011         * iconv/Makefile (test-iconvconfig): Likewise.
3012         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3013         ($(objpfx)iconv-test.out): Likewise.
3014         ($(objpfx)tst-tables.out): Likewise.
3015         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3016         ($(objpfx)tst-gettext.out): Likewise.
3017         ($(objpfx)tst-translit.out): Likewise.
3018         ($(objpfx)tst-gettext2.out): Likewise.
3019         ($(objpfx)tst-gettext4.out): Likewise.
3020         ($(objpfx)tst-gettext6.out): Likewise.
3021         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3022         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3023         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3024         ($(objpfx)tst-fopenloc-mem.out): Likewise.
3025         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3026         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3027         * posix/Makefile ($(objpfx)globtest.out): Likewise.
3028         ($(objpfx)wordexp-tst.out): Likewise.
3029         ($(objpfx)annexc.out): Likewise.
3030         ($(objpfx)tst-fnmatch-mem): Likewise.
3031         ($(objpfx)bug-regex2-mem): Likewise.
3032         ($(objpfx)bug-regex14-mem): Likewise.
3033         ($(objpfx)bug-regex21-mem): Likewise.
3034         ($(objpfx)bug-regex31-mem): Likewise.
3035         ($(objpfx)tst-vfork3-mem): Likewise.
3036         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3037         ($(objpfx)tst-pcre-mem): Likewise.
3038         ($(objpfx)tst-boost-mem): Likewise.
3039         ($(objpfx)tst-getconf.out): Likewise.
3040         ($(objpfx)bug-ga2-mem): Likewise.
3041         ($(objpfx)bug-glob2-mem): Likewise.
3042         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3043         ($(objpfx)mtrace-tst-leaks2): Likewise.
3044         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3045         ($(objpfx)tst-printf.out): Likewise.
3046         ($(objpfx)tst-setvbuf1.out): Likewise.
3047         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3048         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3049         ($(objpfx)tst-fmtmsg.out): Likewise.
3050         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3051         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3053         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3054         * bits/sigaction.h [__USE_MISC]: Likewise.
3055         * bits/waitstatus.h: Update #endif comments.
3056         * ctype/ctype.h: Likewise.
3057         * dirent/dirent.h: Likewise.
3058         [__USE_MISC]: Remove redundant conditionals.
3059         * grp/grp.h: Update #endif comments.
3060         [__USE_GNU]: Remove redundant conditionals.
3061         [__USE_MISC]: Likewise.
3062         * inet/netinet/in.h [__USE_GNU]: Likewise.
3063         * io/sys/stat.h [__USE_MISC]: Likewise.
3064         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3065         * libio/bits/stdio.h: Update #endif comments.
3066         [__USE_MISC]: Remove redundant conditionals.
3067         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3068         * libio/stdio.h: Update #endif comments.
3069         [__USE_MISC]: Remove redundant conditionals.
3070         * math/bits/math-finite.h [__USE_MISC]: Likewise.
3071         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3072         * math/math.h: Update #else and #endif comments.
3073         [__USE_MISC]: Remove redundant conditionals.
3074         * misc/sys/uio.h: Update #endif comments.
3075         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3076         * posix/glob.h [__USE_MISC]: Likewise.
3077         * posix/sys/types.h: Update #endif comments.
3078         [__USE_MISC]: Remove redundant conditionals.
3079         * posix/sys/wait.h: Update #endif comments.
3080         [__USE_MISC]: Remove redundant conditionals.
3081         * posix/unistd.h: Update #endif comments.
3082         [__USE_MISC]: Remove redundant conditionals.
3083         * pwd/pwd.h [__USE_GNU]: Likewise.
3084         [__USE_MISC]: Likewise.
3085         * resolv/netdb.h [__USE_GNU]: Likewise.
3086         * signal/signal.h: Update #endif comments.
3087         [__USE_MISC]: Remove redundant conditionals.
3088         * stdlib/stdlib.h: Update #else and #endif comments.
3089         [__USE_MISC]: Remove redundant conditionals.
3090         [__USE_GNU]: Likewise.
3091         * string/bits/string2.h [__USE_MISC]: Likewise.
3092         * string/string.h: Update #endif comments.
3093         [__USE_MISC]: Remove redundant conditionals.
3094         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3095         Likewise.
3096         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3097         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3098         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3099         Likewise.
3100         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3101         Likewise.
3102         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3103         comments.
3104         [__USE_MISC]: Remove redundant conditionals.
3105         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3106         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3107         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3108         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3109         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3110         Likewise.
3111         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3112         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3113         Likewise.
3114         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3115         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3116         Likewise.
3117         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3118         Likewise.
3119         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3120         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3121         Likewise.
3122         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3123         Likewise.
3124         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3125         * sysdeps/x86/bits/string.h: Update #endif comments.
3126         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3127         conditionals.
3128         * time/sys/time.h: Update #endif comments.
3129         * time/time.h: Likewise.
3130         [__USE_MISC]: Remove redundant conditionals.
3132 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
3134         [BZ #16600]
3135         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3137 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
3139         * Versions.def (librt): Add GLIBC_2.17.
3141 2014-02-21  Adam Conrad  <adconrad@0c3.net>
3143         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3144         synonym for _SYS_AUXV_H to allow direct inclusion.
3145         * sysdeps/sparc/bits/hwcap.h: Likewise.
3146         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3147         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3148         * sysdeps/sparc/sysdep.h: Likewise.
3150 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3152         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3154 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3156         * benchtests/bench-strrchr.c: Print length instead of position.
3158 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
3160         [BZ #16611]
3161         * sysdeps/unix/sysv/linux/kernel-features.h
3162         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3163         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3164         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3165         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3166         Likewise.
3167         [__i386__ || __powerpc__ || __sh__ || __sparc__]
3168         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3169         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3170         (__ASSUME_SENDMMSG): Define instead of using previous
3171         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3172         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3173         (__ASSUME_SENDMMSG_SYSCALL): Define.
3174         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3175         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3176         Likewise.
3177         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3178         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3179         Likewise.
3180         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3181         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3182         Likewise.
3183         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3184         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3185         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3186         [__ASSUME_SENDMMSG]: Change conditionals to
3187         [__ASSUME_SENDMMSG_SOCKETCALL].
3188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3189         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3190         Define.
3191         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3192         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3193         Likewise.
3194         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3195         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3196         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3197         [!__ASSUME_SENDMMSG]: Change conditional to
3198         [!__ASSUME_SENDMMSG_SOCKETCALL].
3199         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3200         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3201         Define.
3203         [BZ #16610]
3204         * sysdeps/unix/sysv/linux/kernel-features.h
3205         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3206         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3207         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3208         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3209         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3210         [__i386__ || __sparc__]
3211         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3212         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3213         (__ASSUME_RECVMMSG): Define instead of using previous
3214         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3215         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3216         (__ASSUME_RECVMMSG_SYSCALL): Define.
3217         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3218         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3219         Likewise.
3220         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3221         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3222         Likewise.
3223         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3224         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3225         Likewise.
3226         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3227         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3228         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3229         [__ASSUME_RECVMMSG]: Change condition to
3230         [__ASSUME_RECVMMSG_SOCKETCALL].
3231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3232         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3233         Define.
3234         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3235         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3236         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3237         Likewise.
3238         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3239         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3240         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3241         [!__ASSUME_RECVMMSG]: Change condition to
3242         [!__ASSUME_RECVMMSG_SOCKETCALL].
3243         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3244         (__ASSUME_RECVMMSG_SYSCALL): Define.
3246         [BZ #16609]
3247         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3248         __powerpc__ || __s390__ || __sh__ || __sparc__]
3249         (__ASSUME_SOCKETCALL): Define.
3250         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3251         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3252         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3253         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3254         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3255         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3256         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3257         (__ASSUME_ACCEPT4): Define instead of using previous
3258         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3259         __powerpc__ || __sparc__ || __s390__)] condition.
3260         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3261         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3262         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3263         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3264         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3265         [!__ASSUME_ACCEPT4]: Change condition to
3266         [!__ASSUME_ACCEPT4_SOCKETCALL].
3267         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3268         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
3269         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3270         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3271         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3272         __ASSUME_ACCEPT4_SYSCALL.
3273         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3274         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3275         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3276         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3277         __ASSUME_ACCEPT4_SYSCALL.
3278         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3279         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3280         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3281         [__ASSUME_ACCEPT4]: Change condition to
3282         [__ASSUME_ACCEPT4_SOCKETCALL].
3283         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3284         (__ASSUME_SOCKETCALL): Define.
3285         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3286         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3287         (__ASSUME_SOCKETCALL): Define.
3288         (__ASSUME_ACCEPT4): Remove.
3289         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3290         Define.
3291         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3292         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3293         Likewise.
3294         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3295         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3297         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3298         macro.
3299         (HWCAP_ARM_LPAE): Likewise.
3300         (HWCAP_ARM_EVTSTRM): Likewise.
3301         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3302         Add vpfd32, lpae and evtstrm.
3303         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3304         Increase to 22.
3306 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
3308         * math/auto-libm-test-in: Add tests of clog10.
3309         * math/auto-libm-test-out: Regenerated.
3310         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3311         * sysdeps/i386/fpu/libm-test-ulps: Update.
3312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3314 2014-02-18  Andreas Schwab  <schwab@suse.de>
3316         [BZ #16574]
3317         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3318         Store non-zero if the second buffer was newly allocated.
3319         (send_dg): Likewise.
3320         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3321         to send_vc and send_dg.
3322         (res_nsend): Pass NULL for ansp2_malloced.
3323         * resolv/res_query.c (__libc_res_nquery): Add parameter
3324         answerp2_malloced and pass it down to __libc_res_nsend.
3325         (res_nquery): Pass additional NULL to __libc_res_nquery.
3326         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3327         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
3328         second answer buffer if answerp2_malloced was set.
3329         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3330         (__libc_res_nquerydomain): Add parameter
3331         answerp2_malloced and pass it down to __libc_res_nquery.
3332         (res_nquerydomain): Pass additional NULL to
3333         __libc_res_nquerydomain.
3334         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3335         additional NULL to __libc_res_nsend and __libc_res_nquery.
3336         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3337         additional NULL to __libc_res_nsearch.
3338         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
3339         parameter of __libc_res_nsearch to check for separately allocated
3340         second buffer.
3341         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3342         __libc_res_nquery.
3343         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3344         additional NULL to __libc_res_nquery.
3345         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3346         __libc_res_nsearch.
3347         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3348         * include/resolv.h: Update prototypes of __libc_res_nquery,
3349         __libc_res_nsearch, __libc_res_nsend.
3351 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
3353         * math/auto-libm-test-in: Add tests of fma.
3354         * math/auto-libm-test-out: Regenerated.
3355         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3356         (fma_towardzero_test_data): Likewise.
3357         (fma_downward_test_data): Likewise.
3358         (fma_upward_test_data): Likewise.
3359         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3360         mpc_mode.
3361         (rounding_modes): Add values for new field.
3362         (func_calc_method): Add value mpfr_fff_f.
3363         (func_calc_desc): Add mpfr_fff_f union field.
3364         (test_function): Add field exact_args.
3365         (FUNC): Add macro argument EXACT_ARGS.
3366         (FUNC_mpfr_f_f): Update call to FUNC.
3367         (FUNC_mpfr_f_f): Likewise.
3368         (FUNC_mpfr_ff_f): Likewise.
3369         (FUNC_mpfr_if_f): Likewise.
3370         (FUNC_mpc_c_f): Likewise.
3371         (FUNC_mpc_c_c): Likewise.
3372         (test_functions): Add fma.  Update calls to FUNC.
3373         (handle_input_arg): Add argument exact_args.
3374         (add_test): Update call to handle_input_arg.
3375         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
3376         (output_for_one_input_case): Update call to calc_generic_results.
3377         Recalculate exact zero results in each rounding mode.
3379         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3380         non-negative before setting low bit.
3381         * math/auto-libm-test-in: Mark one asin test possibly having
3382         spurious underflow.
3383         * math/auto-libm-test-out: Regenerated.
3384         * sysdeps/i386/fpu/libm-test-ulps: Update.
3385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3387 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
3389         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3390         * sysdeps/unix/sysv/linux/microblaze: Move directory from
3391         ports/sysdeps/unix/sysv/linux/microblaze.
3392         * README: Add missing listing for microblaze*-*-linux-gnu.
3394 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
3396         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3397         * sysdeps/unix/sysv/linux/ia64: Move directory from
3398         ports/sysdeps/unix/sysv/linux/ia64.
3399         * README: Update listing for ia64-*-linux-gnu.
3401 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
3402             Joseph Myers  <joseph@codesourcery.com>
3404         * Makeconfig (test-name): New variable.
3405         (evaluate-test): Likewise.
3406         * Makerules (do-test-clean): Remove .test-result files.
3407         (common-mostlyclean): Likewise.
3408         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3409         * scripts/evaluate-test.sh: New file.
3411 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
3413         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3414         separate $(objpfx)tst-fopenloc-cmp.out and
3415         $(objpfx)tst-fopenloc-mem.out targets.
3416         (tests): Update dependencies.
3417         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3418         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3419         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3420         (tst-rxspencer-no-utf8-ARGS): New variable.
3421         (tst-rxspencer-no-utf8-ENV): Likewise.
3422         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3423         instead of $(objpfx)tst-rxspencer-mem.
3424         ($(objpfx)tst-rxspencer-mem): Change target to
3425         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
3426         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3427         * posix/tst-rxspencer-no-utf8.c: New file.
3429         * elf/Makefile ($(objpfx)order.out): Remove rule.
3430         [$(run-built-tests) = yes] (tests): Depend on
3431         $(objpfx)order-cmp.out.
3432         ($(objpfx)order-cmp.out): New rule.
3433         [$(run-built-tests) = yes] (tests): Depend on
3434         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3435         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3436         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3437         $(objpfx)tst-array5-static-cmp.out.
3438         ($(objpfx)tst-array1.out): Remove rule.
3439         ($(objpfx)tst-array1-cmp.out): New rule.
3440         ($(objpfx)tst-array1-static.out): Remove rule.
3441         ($(objpfx)tst-array1-static-cmp.out): New rule.
3442         ($(objpfx)tst-array2.out): Remove rule.
3443         ($(objpfx)tst-array2-cmp.out): New rule.
3444         ($(objpfx)tst-array3.out): Remove rule.
3445         ($(objpfx)tst-array3-cmp.out): New rule.
3446         ($(objpfx)tst-array4.out): Remove rule.
3447         ($(objpfx)tst-array4-cmp.out): New rule.
3448         ($(objpfx)tst-array5.out): Remove rule.
3449         ($(objpfx)tst-array5-cmp.out): New rule.
3450         ($(objpfx)tst-array5-static.out): Remove rule.
3451         ($(objpfx)tst-array5-static-cmp.out): New rule.
3452         [$(run-built-tests) = yes] (tests): Depend on
3453         $(objpfx)order2-cmp.out.
3454         ($(objpfx)order2.out): Remove rule.
3455         ($(objpfx)order2-cmp.out): New rule.
3456         ($(objpfx)tst-initorder.out): Remove rule.
3457         [$(run-built-tests) = yes] (tests): Depend on
3458         $(objpfx)tst-initorder-cmp.out.
3459         ($(objpfx)tst-initorder-cmp.out): New rule.
3460         ($(objpfx)tst-initorder2.out): Remove rule.
3461         [$(run-built-tests) = yes] (tests): Depend on
3462         $(objpfx)tst-initorder2-cmp.out.
3463         ($(objpfx)tst-initorder2-cmp.out): New rule.
3464         [$(run-built-tests) = yes] (tests): Depend on
3465         $(objpfx)tst-unused-dep-cmp.out.
3466         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3467         ($(objpfx)tst-unused-dep-cmp.out): New rule.
3468         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3469         on $(objpfx)tst-setvbuf1-cmp.out.
3470         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3471         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3472         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3473         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3474         ($(objpfx)tst-svc.out): Remove rule.
3475         ($(objpfx)tst-svc-cmp.out): New rule.
3477 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
3479         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3480         * ctype/ctype.h [__USE_MISC]: Likewise.
3481         * dirent/dirent.h [__USE_MISC]: Likewise.
3482         * grp/grp.h [__USE_MISC]: Likewise.
3483         * io/fcntl.h [__USE_MISC]: Likewise.
3484         * io/sys/stat.h [__USE_MISC]: Likewise.
3485         * libio/stdio.h [__USE_MISC]: Likewise.
3486         * posix/unistd.h [__USE_MISC]: Likewise.
3487         * pwd/pwd.h [__USE_MISC]: Likewise.
3488         * stdlib.h [__USE_MISC]: Likewise.
3489         * string/bits/string2.h [__USE_MISC]: Likewise.
3490         * string/string.h [__USE_MISC]: Likewise.
3491         * time/time.h [__USE_MISC]: Likewise.
3493 2014-02-13  Andreas Schwab  <schwab@suse.de>
3495         [BZ #16574]
3496         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3497         second answer buffer if it was separately allocated.
3499 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3501         * sysdeps/mips/math-tests.h: Include <features.h>.
3502         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3503         (ROUNDING_TESTS_long_double): Do not define.
3504         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3505         (EXCEPTION_TESTS_long_double): Likewise.
3506         * sysdeps/mips/mips64/libm-test-ulps: Update.
3508         * include/features.h (__USE_BSD): Remove macro definitions.
3509         (__USE_SVID): Likewise.
3510         (_BSD_SOURCE): Likewise.
3511         (_SVID_SOURCE): Likewise.
3512         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3513         from definition of _DEFAULT_SOURCE.
3514         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3515         [_DEFAULT_SOURCE].
3516         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3517         * bits/mman.h [__USE_BSD]: Likewise.
3518         * bits/termios.h [__USE_BSD]: Likewise.
3519         * bits/waitstatus.h [__USE_BSD]: Likewise.
3520         * ctype/ctype.h [__USE_SVID]: Likewise.
3521         * dirent/dirent.h [__USE_BSD]: Likewise.
3522         * grp/grp.h [__USE_SVID]: Likewise.
3523         [__USE_BSD]: Likewise.
3524         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3525         * io/fcntl.h [__USE_BSD]: Likewise.
3526         * io/ftw.h [__USE_BSD]: Likewise.
3527         * io/sys/stat.h [__USE_BSD]: Likewise.
3528         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3529         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3530         * libio/stdio.h [__USE_SVID]: Likewise.
3531         [__USE_BSD]: Likewise.
3532         * math/math.h [__USE_SVID]: Likewise.
3533         [__USE_BSD]: Likewise.
3534         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3535         * misc/bits/syslog.h [__USE_BSD]: Likewise.
3536         * misc/search.h [__USE_SVID]: Likewise.
3537         * misc/sys/mman.h [__USE_BSD]: Likewise.
3538         * misc/sys/syslog.h [__USE_BSD]: Likewise.
3539         * misc/sys/uio.h [__USE_BSD]: Likewise.
3540         * posix/bits/unistd.h [__USE_BSD]: Likewise.
3541         * posix/glob.h [__USE_BSD]: Likewise.
3542         * posix/regex.h [__USE_BSD]: Likewise.
3543         * posix/sys/types.h [__USE_BSD]: Likewise.
3544         [__USE_SVID]: Likewise.
3545         * posix/sys/utsname.h [__USE_SVID]: Likewise.
3546         * posix/sys/wait.h [__USE_BSD]: Likewise.
3547         [__USE_SVID]: Likewise.
3548         * posix/unistd.h [__USE_BSD]: Likewise.
3549         [__USE_SVID]: Likewise.
3550         * pwd/pwd.h [__USE_SVID]: Likewise.
3551         * resolv/netdb.h [__USE_BSD]: Likewise.
3552         * setjmp/setjmp.h [__USE_BSD]: Likewise.
3553         * signal/signal.h [__USE_BSD]: Likewise.
3554         [__USE_SVID]: Likewise.
3555         * socket/sys/socket.h [__USE_BSD]: Likewise.
3556         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3557         * stdlib/stdlib.h [__USE_BSD]: Likewise.
3558         [__USE_SVID]: Likewise.
3559         * string/bits/string2.h [__USE_BSD]: Likewise.
3560         [__USE_SVID]: Likewise.
3561         * string/bits/string3.h [__USE_BSD]: Likewise.
3562         * string/endian.h [__USE_BSD]: Likewise.
3563         * string/string.h [__USE_SVID]: Likewise.
3564         [__USE_BSD]: Likewise.
3565         * string/strings.h [__USE_BSD]: Likewise.
3566         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3567         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3568         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3569         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3570         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3571         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3572         Likewise.
3573         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3574         Likewise.
3575         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3576         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3577         Likewise.
3578         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3579         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3580         Likewise.
3581         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3582         Likewise.
3583         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3584         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3585         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3586         Likewise.
3587         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3588         Likewise.
3589         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3590         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3591         * termios/termios.h [__USE_BSD]: Likewise.
3592         * time/sys/time.h [__USE_BSD]: Likewise.
3593         * time/time.h [__USE_BSD]: Likewise.
3594         [__USE_SVID]: Likewise.
3596         * Makefile (subdir_targets): Remove subdir_lint.out.
3598         * stdio-common/Makefile (do-tst-unbputc): Remove target.
3599         (do-tst-printf): Likewise.
3600         (tests): Depend directly on $(objpfx)tst-unbputc.out and
3601         $(objpfx)tst-printf.out.
3603         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3605         * Makerules (check-abi-%): Change target to
3606         $(objpfx)check-abi-%.out.
3607         (check-abi target): Update dependencies.
3608         (check-abi-pattern variable): Redirect output of diff to $@.
3609         (check-abi variable): Likewise.
3610         * elf/Makefile (check-abi): Update dependencies.
3612         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3613         unused.
3614         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3615         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3616         subnormal range.
3617         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3618         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3619         value has largest subnormal exponent.
3620         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3621         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3622         * sysdeps/aarch64/soft-fp/sfp-machine.h
3623         (_FP_TININESS_AFTER_ROUNDING): New macro.
3624         * sysdeps/alpha/soft-fp/sfp-machine.h
3625         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3626         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3627         Likewise.
3628         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3629         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3630         * sysdeps/mips/soft-fp/sfp-machine.h
3631         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3632         * sysdeps/powerpc/soft-fp/sfp-machine.h
3633         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3634         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3635         Likewise.
3636         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3637         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3638         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3639         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3640         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3641         Likewise.
3643 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
3645         [BZ #16545]
3646         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3647         model 1.
3649 2014-02-12  Richard Henderson  <rth@redhat.com>
3651         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3652         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3653         * sysdeps/unix/sysv/linux/alpha: Move directory from
3654         ports/sysdeps/unix/sysv/linux/alpha.
3655         * README: Update listing for alpha-*-linux-gnu.
3657 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
3659         * include/features.h: Update comment documenting feature test
3660         macros.
3661         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
3662         _DEFAULT_SOURCE.
3663         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3664         (_SVID_SOURCE): Likewise.
3665         (_DEFAULT_SOURCE): Update description of default features.
3666         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3667         with _GNU_SOURCE.
3668         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3669         (S_ISVTX): Likewise.
3670         * manual/math.texi (Mathematical Constants): Likewise.
3671         * manual/signal.texi (Interrupted Primitives): Likewise.
3672         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3673         * math/test-matherr.c (_SVID_SOURCE): Do not define.
3674         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3675         Don't refer to _SVID_SOURCE in warning text.
3677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3679         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3680         already defined.
3681         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3682         * sysdeps/mips/dl-lookup.c: Remove.
3683         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3685 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3687         [BZ #16447]
3688         * math/auto-libm-test-in: Add testcase for expl.
3689         * math/auto-libm-test-out: Regenerate.
3690         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3691         calculation of unsafe.
3692         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3694 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3696         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3697         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3698         ports/sysdeps/unix/sysv/linux/aarch64.
3699         * README: Update listing for aarch64*-*-linux-gnu.
3701 2014-02-11  Will Newton  <will.newton@linaro.org>
3703         * manual/probes.texi (Mathematical Function Probes): Use
3704         "triggered" instead of "hit".
3706 2014-02-11  Will Newton  <will.newton@linaro.org>
3708         * manual/probes.texi (Internal Probes): Add documentation
3709         of setjmp, longjmp and longjmp_target probes.
3711 2014-02-11  Will Newton  <will.newton@linaro.org>
3713         * include/stap-probe.h: Add comment about probe argument
3714         format.
3716 2014-02-11  Will Newton  <will.newton@linaro.org>
3718         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3719         definition.  (tr_where, tr_freehook, tr_mallochook,
3720         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3722 2014-02-11  David S. Miller  <davem@davemloft.net>
3724         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3725         processing int_tests.
3727 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3729         * sysdeps/mips: Move directory from ports/sysdeps/mips.
3730         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3731         * sysdeps/unix/sysv/linux/mips: Move directory from
3732         ports/sysdeps/unix/sysv/linux/mips.
3733         * README: Update listing for mips-*-linux-gnu and
3734         mips64-*-linux-gnu.
3736 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
3738         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3739         * sysdeps/unix/sysv/linux/m68k: Move directory from
3740         ports/sysdeps/unix/sysv/linux/m68k.
3741         * README: Update listing for m68k-*-linux-gnu.
3743 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
3745         * sysdeps/tile: Move directory from ports/sysdeps/tile.
3746         * sysdeps/unix/sysv/linux/generic: Move directory from
3747         ports/sysdeps/unix/sysv/linux/generic.
3748         * sysdeps/unix/sysv/linux/tile: Move directory from
3749         ports/sysdeps/unix/sysv/linux/tile.
3750         * README: Update listing for tile*-*-linux-gnu.
3752 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3754         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3755         * benchtests/bench-memmem.c (simple_memmem): Likewise.
3756         * catgets/open_catalog.c (__open_catalog): Likewise.
3757         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3758         * debug/confstr_chk.c: Likewise.
3759         * debug/fread_chk.c (__fread_chk): Likewise.
3760         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3761         * debug/getgroups_chk.c: Likewise.
3762         * debug/mbsnrtowcs_chk.c: Likewise.
3763         * debug/mbsrtowcs_chk.c: Likewise.
3764         * debug/mbstowcs_chk.c: Likewise.
3765         * debug/memcpy_chk.c: Likewise.
3766         * debug/memmove_chk.c: Likewise.
3767         * debug/mempcpy_chk.c: Likewise.
3768         * debug/memset_chk.c: Likewise.
3769         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3770         * debug/strcat_chk.c (__strcat_chk): Likewise.
3771         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3772         * debug/strncat_chk.c (__strncat_chk): Likewise.
3773         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3774         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3775         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3776         * debug/wcpncpy_chk.c: Likewise.
3777         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3778         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3779         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3780         * debug/wcsncpy_chk.c: Likewise.
3781         * debug/wcsnrtombs_chk.c: Likewise.
3782         * debug/wcsrtombs_chk.c: Likewise.
3783         * debug/wcstombs_chk.c: Likewise.
3784         * debug/wmemcpy_chk.c: Likewise.
3785         * debug/wmemmove_chk.c: Likewise.
3786         * debug/wmempcpy_chk.c: Likewise.
3787         * debug/wmemset_chk.c: Likewise.
3788         * dirent/scandirat.c (SCANDIRAT): Likewise.
3789         * dlfcn/dladdr1.c (dladdr1): Likewise.
3790         * dlfcn/dladdr.c (dladdr): Likewise.
3791         * dlfcn/dlclose.c (dlclose_doit): Likewise.
3792         * dlfcn/dlerror.c (__dlerror): Likewise.
3793         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3794         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3795         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3796         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3797         * dlfcn/dlsym.c (dlsym_doit): Likewise.
3798         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3799         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3800         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3801         Likewise.
3802         * elf/dl-conflict.c: Likewise.
3803         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3804         * elf/dl-dst.h: Likewise.
3805         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3806         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3807         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3808         * elf/dl-init.c (call_init, _dl_init): Likewise.
3809         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3810         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3811         _dl_map_object_from_fd, open_verify, open_path,
3812         _dl_map_object): Likewise.
3813         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3814         Likewise.
3815         * elf/dl-minimal.c (__libc_memalign): Likewise.
3816         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3817         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3818         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3819         * elf/dl-sym.c (do_sym): Likewise.
3820         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3821         _dl_tls_get_addr_soft): Likewise.
3822         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3823         * elf/dl-writev.h (_dl_writev): Likewise.
3824         * elf/ldconfig.c (search_dir): Likewise.
3825         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3826         dl_main): Likewise.
3827         * elf/setup-vdso.h (setup_vdso): Likewise.
3828         * grp/compat-initgroups.c (compat_call): Likewise.
3829         * grp/fgetgrent.c (fgetgrent): Likewise.
3830         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3831         * grp/putgrent.c (putgrent): Likewise.
3832         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3833         Likewise.
3834         * hurd/hurdinit.c: Likewise.
3835         * iconvdata/8bit-gap.c (struct): Likewise.
3836         * iconvdata/ansi_x3.110.c : Likewise.
3837         * iconvdata/big5.c : Likewise.
3838         * iconvdata/big5hkscs.c : Likewise.
3839         * iconvdata/cp1255.c: Likewise.
3840         * iconvdata/cp1258.c : Likewise.
3841         * iconvdata/cp932.c : Likewise.
3842         * iconvdata/euc-cn.c: Likewise.
3843         * iconvdata/euc-jisx0213.c : Likewise.
3844         * iconvdata/euc-jp.c: Likewise.
3845         * iconvdata/euc-jp-ms.c : Likewise.
3846         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3847         * iconvdata/gb18030.c : Likewise.
3848         * iconvdata/gbbig5.c (const): Likewise.
3849         * iconvdata/gbgbk.c: Likewise.
3850         * iconvdata/gbk.c : Likewise.
3851         * iconvdata/ibm1364.c : Likewise.
3852         * iconvdata/ibm930.c : Likewise.
3853         * iconvdata/ibm932.c: Likewise.
3854         * iconvdata/ibm933.c : Likewise.
3855         * iconvdata/ibm935.c : Likewise.
3856         * iconvdata/ibm937.c : Likewise.
3857         * iconvdata/ibm939.c : Likewise.
3858         * iconvdata/ibm943.c: Likewise.
3859         * iconvdata/iso_11548-1.c: Likewise.
3860         * iconvdata/iso-2022-cn.c : Likewise.
3861         * iconvdata/iso-2022-cn-ext.c : Likewise.
3862         * iconvdata/iso-2022-jp-3.c: Likewise.
3863         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3864         * iconvdata/iso-2022-kr.c : Likewise.
3865         * iconvdata/iso646.c (gconv_end): Likewise.
3866         * iconvdata/iso_6937-2.c : Likewise.
3867         * iconvdata/iso_6937.c : Likewise.
3868         * iconvdata/iso8859-1.c: Likewise.
3869         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3870         * iconvdata/shift_jisx0213.c : Likewise.
3871         * iconvdata/sjis.c : Likewise.
3872         * iconvdata/t.61.c : Likewise.
3873         * iconvdata/tcvn5712-1.c : Likewise.
3874         * iconvdata/tscii.c: Likewise.
3875         * iconvdata/uhc.c : Likewise.
3876         * iconvdata/unicode.c (gconv_end): Likewise.
3877         * iconvdata/utf-16.c (gconv_end): Likewise.
3878         * iconvdata/utf-32.c (gconv_end): Likewise.
3879         * iconvdata/utf-7.c (base64): Likewise.
3880         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3881         * iconv/gconv_close.c (__gconv_close): Likewise.
3882         * iconv/gconv_open.c (__gconv_open): Likewise.
3883         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3884         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3885         internal_ucs4le_loop_single, ucs4le_internal_loop,
3886         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3887         * iconv/iconv.c (iconv): Likewise.
3888         * iconv/iconv_close.c: Likewise.
3889         * iconv/loop.c (SINGLE): Likewise.
3890         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3891         * include/atomic.h: Likewise.
3892         * inet/inet6_option.c (option_alloc): Likewise.
3893         * intl/bindtextdom.c (set_binding_values): Likewise.
3894         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3895         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3896         * intl/localealias.c (read_alias_file): Likewise.
3897         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3898         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3899         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3900         * libio/fmemopen.c (fmemopen): Likewise.
3901         * libio/iofgets.c (_IO_fgets): Likewise.
3902         * libio/iofgets_u.c (fgets_unlocked): Likewise.
3903         * libio/iofgetws.c (fgetws): Likewise.
3904         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3905         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3906         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3907         adjust_wide_data, _IO_wfile_seekoff): Likewise.
3908         * locale/findlocale.c (_nl_find_locale): Likewise.
3909         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3910         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3911         Likewise.
3912         * locale/setlocale.c (setlocale): Likewise.
3913         * login/programs/pt_chown.c (main): Likewise.
3914         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3915         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3916         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3917         mmap, mmap64, mremap, munmap): Likewise.
3918         * math/e_exp2l.c: Likewise.
3919         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3920         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3921         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3922         * math/s_catan.c (__catan): Likewise.
3923         * math/s_catanf.c (__catanf): Likewise.
3924         * math/s_catanh.c (__catanh): Likewise.
3925         * math/s_catanhf.c (__catanhf): Likewise.
3926         * math/s_catanhl.c (__catanhl): Likewise.
3927         * math/s_catanl.c (__catanl): Likewise.
3928         * math/s_ccosh.c (__ccosh): Likewise.
3929         * math/s_ccoshf.c (__ccoshf): Likewise.
3930         * math/s_ccoshl.c (__ccoshl): Likewise.
3931         * math/s_cexp.c (__cexp): Likewise.
3932         * math/s_cexpf.c (__cexpf): Likewise.
3933         * math/s_cexpl.c (__cexpl): Likewise.
3934         * math/s_clog10.c (__clog10): Likewise.
3935         * math/s_clog10f.c (__clog10f): Likewise.
3936         * math/s_clog10l.c (__clog10l): Likewise.
3937         * math/s_clog.c (__clog): Likewise.
3938         * math/s_clogf.c (__clogf): Likewise.
3939         * math/s_clogl.c (__clogl): Likewise.
3940         * math/s_csin.c (__csin): Likewise.
3941         * math/s_csinf.c (__csinf): Likewise.
3942         * math/s_csinh.c (__csinh): Likewise.
3943         * math/s_csinhf.c (__csinhf): Likewise.
3944         * math/s_csinhl.c (__csinhl): Likewise.
3945         * math/s_csinl.c (__csinl): Likewise.
3946         * math/s_csqrt.c (__csqrt): Likewise.
3947         * math/s_csqrtf.c (__csqrtf): Likewise.
3948         * math/s_csqrtl.c (__csqrtl): Likewise.
3949         * math/s_ctan.c (__ctan): Likewise.
3950         * math/s_ctanf.c (__ctanf): Likewise.
3951         * math/s_ctanh.c (__ctanh): Likewise.
3952         * math/s_ctanhf.c (__ctanhf): Likewise.
3953         * math/s_ctanhl.c (__ctanhl): Likewise.
3954         * math/s_ctanl.c (__ctanl): Likewise.
3955         * math/w_pow.c: Likewise.
3956         * math/w_powf.c: Likewise.
3957         * math/w_powl.c: Likewise.
3958         * math/w_scalb.c (sysv_scalb): Likewise.
3959         * math/w_scalbf.c (sysv_scalbf): Likewise.
3960         * math/w_scalbl.c (sysv_scalbl): Likewise.
3961         * misc/error.c (error_tail): Likewise.
3962         * misc/pselect.c (__pselect): Likewise.
3963         * nis/nis_callback.c (__nis_create_callback): Likewise.
3964         * nis/nis_call.c (__nisfind_server): Likewise.
3965         * nis/nis_creategroup.c (nis_creategroup): Likewise.
3966         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3967         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3968         * nis/nis_getservlist.c (nis_getservlist): Likewise.
3969         * nis/nis_lookup.c (nis_lookup): Likewise.
3970         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3971         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3972         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3973         * nis/nis_xdr.c (xdr_endpoint): Likewise.
3974         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3975         internal_getgrgid_r): Likewise.
3976         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3977         Likewise.
3978         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3979         internal_getpwuid_r): Likewise.
3980         * nis/nss_compat/compat-spwd.c (getspent_next_file,
3981         internal_getspnam_r): Likewise.
3982         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3983         _nss_nis_getaliasbyname_r): Likewise.
3984         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3985         _nss_nis_getntohost_r): Likewise.
3986         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3987         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3988         Likewise.
3989         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3990         internal_nis_gethostent_r, internal_gethostbyname2_r,
3991         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3992         _nss_nis_gethostbyname4_r): Likewise.
3993         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3994         initgroups_netid): Likewise.
3995         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3996         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3997         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3998         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3999         _nss_nis_getprotobynumber_r): Likewise.
4000         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4001         _nss_nis_getsecretkey): Likewise.
4002         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4003         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4004         Likewise.
4005         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4006         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4007         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4008         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4009         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4010         _nss_nis_getspnam_r): Likewise.
4011         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4012         Likewise.
4013         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4014         _nss_nisplus_getntohost_r): Likewise.
4015         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4016         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4017         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4018         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4019         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4020         Likewise.
4021         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4022         _nss_nisplus_getnetbyaddr_r): Likewise.
4023         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4024         _nss_nisplus_getprotobynumber_r): Likewise.
4025         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4026         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4027         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4028         Likewise.
4029         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4030         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4031         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4032         _nss_nisplus_getspnam_r): Likewise.
4033         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4034         * nscd/aicache.c (addhstaiX): Likewise.
4035         * nscd/cache.c (cache_search, prune_cache): Likewise.
4036         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4037         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4038         * nscd/grpcache.c (addgrbyX): Likewise.
4039         * nscd/hstcache.c (addhstbyX): Likewise.
4040         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4041         * nscd/mem.c (gc, mempool_alloc): Likewise.
4042         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4043         Likewise.
4044         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4045         Likewise.
4046         * nscd/nscd_getai.c (__nscd_getai): Likewise.
4047         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4048         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4049         Likewise.
4050         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4051         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4052         * nscd/nscd_helper.c (__readvall, open_socket,
4053         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4054         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4055         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4056         * nscd/pwdcache.c (addpwbyX): Likewise.
4057         * nscd/selinux.c (preserve_capabilities): Likewise.
4058         * nscd/servicescache.c (addservbyX): Likewise.
4059         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4060         * posix/fnmatch.c (fnmatch): Likewise.
4061         * posix/getopt.c (_getopt_internal_r): Likewise.
4062         * posix/glob.c (glob, glob_in_dir): Likewise.
4063         * posix/wordexp.c (exec_comm_child): Likewise.
4064         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4065         gaih_getanswer_slice): Likewise.
4066         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4067         * resolv/res_init.c: Likewise.
4068         * resolv/res_mkquery.c (res_nmkquery): Likewise.
4069         * resolv/res_query.c (__libc_res_nquery): Likewise.
4070         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4071         Likewise.
4072         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4073         * stdio-common/perror.c (perror): Likewise.
4074         * stdio-common/printf_fp.c (___printf_fp): Likewise.
4075         * stdio-common/tmpnam.c (tmpnam): Likewise.
4076         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4077         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4078         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4079         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4080         * stdlib/putenv.c (putenv): Likewise.
4081         * stdlib/setenv.c (__add_to_environ): Likewise.
4082         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4083         * stdlib/strtol_l.c (INTERNAL): Likewise.
4084         * string/memmem.c (memmem): Likewise.
4085         * string/strerror.c (strerror): Likewise.
4086         * string/strnlen.c (__strnlen): Likewise.
4087         * string/test-memmem.c (simple_memmem): Likewise.
4088         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4089         * sunrpc/pm_getport.c (__get_socket): Likewise.
4090         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4091         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4092         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4093         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4094         Likewise.
4095         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4096         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4097         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4098         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4099         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4100         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4101         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4102         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4103         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4105         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4106         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4108         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4109         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4110         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4111         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4112         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4113         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4114         Likewise.
4115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4116         Likewise.
4117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4118         Likewise.
4119         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4120         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4121         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4123         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4124         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4125         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4128         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4129         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4131         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4132         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4134         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4135         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4136         Likewise.
4137         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4138         Likewise.
4139         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4140         Likewise.
4141         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4142         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4143         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4144         Likewise.
4145         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4146         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4147         * sysdeps/posix/opendir.c (__opendirat): Likewise.
4148         * sysdeps/posix/sleep.c: Likewise.
4149         * sysdeps/posix/tempname.c: Likewise.
4150         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4151         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4152         Likewise.
4153         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4154         elf_machine_rela): Likewise.
4155         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4156         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4157         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4158         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4159         Likewise.
4160         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4161         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4162         elf_machine_rela, elf_machine_lazy_rel): Likewise.
4163         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4164         elf_machine_rela, elf_machine_lazy_rel): Likewise.
4165         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4166         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4167         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4168         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4169         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4170         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4171         elf_machine_lazy_rel): Likewise.
4172         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4173         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4174         elf_machine_lazy_rel): Likewise.
4175         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4176         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4177         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4178         * sysdeps/unix/grantpt.c (grantpt): Likewise.
4179         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4180         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4181         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4183         Likewise.
4184         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4185         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4186         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4187         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4188         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4189         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4190         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4191         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4192         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4193         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4194         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4195         Likewise.
4196         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4197         (__posix_fallocate64_l64): Likewise.
4198         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4199         (posix_fallocate): Likewise.
4200         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4201         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4202         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4203         getifaddrs_internal): Likewise.
4204         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4205         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4206         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4207         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4208         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4209         (__posix_fallocate64_l64): Likewise.
4210         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4211         Likewise.
4212         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4213         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4214         Likewise.
4215         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4216         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4217         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4218         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4219         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4220         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4221         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4222         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4223         Likewise.
4224         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4225         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4226         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4227         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4228         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4229         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4230         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4231         Likewise.
4232         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4233         (posix_fallocate): Likewise.
4234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4235         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4236         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4237         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4238         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4239         Likewise.
4240         * time/asctime.c (asctime_internal): Likewise.
4241         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4242         * time/tzset.c (__tzset_parse_tz): Likewise.
4243         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4244         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4245         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4246         * wcsmbs/wcsmbsload.h: Likewise.
4248 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4250         [BZ #15894]
4251         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4253 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4255         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4256         arena_get2): Remove THREAD_STATS conditionals.
4257         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4258         __malloc_stats, int): Likewise.
4260 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4262         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4263         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
4265 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4267         * manual/setjmp.texi: Fix typos/grammar errors.
4269 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4271         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4272         Only return early when n is <= 0.  Delete unused return statement.
4274 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4276         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4277         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4278         * debug/tst-longjmp_chk3.c: New file.
4280 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4282         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4283         (test_main): Replace code with set_fortify_handler call.
4284         * debug/test-strcpy_chk.c: Likewise.
4285         * debug/tst-chk1.c: Likewise.
4286         * debug/tst-longjmp_chk.c: Likewise.
4287         * test-skeleton.c: Include fcntl.h & paths.h
4288         (set_fortify_handler): Define.
4290 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4292         * debug/tst-longjmp_chk.c: Add header comment and include
4293         ../test-skeleton.c.
4294         (do_test): Mark static.
4295         (TEST_FUNCTION): Define.
4297 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4299         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4300         (IP_PMTUDISC_INTERFACE): Likewise.
4301         (IP_MULTICAST_IF): Likewise.
4302         (IP_MULTICAST_TTL): Likewise.
4303         (IP_MULTICAST_LOOP): Likewise.
4304         (IP_ADD_MEMBERSHIP): Likewise.
4305         (IP_DROP_MEMBERSHIP): Likewise.
4306         (IP_UNBLOCK_SOURCE): Likewise.
4307         (IP_BLOCK_SOURCE): Likewise.
4308         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4309         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4310         (IP_MSFILTER): Likewise.
4311         (MCAST_JOIN_GROUP): Likewise.
4312         (MCAST_BLOCK_SOURCE): Likewise.
4313         (MCAST_UNBLOCK_SOURCE): Likewise.
4314         (MCAST_LEAVE_GROUP): Likewise.
4315         (MCAST_JOIN_SOURCE_GROUP): Likewise.
4316         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4317         (MCAST_MSFILTER): Likewise.
4318         (IP_MULTICAST_ALL): Likewise.
4319         (IP_UNICAST_IF): Likewise.
4321 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4323         * timezone/Makefile: Delete $(have-ksh) check.
4324         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4325         * timezone/tzselect.ksh: Add +x mode bits.
4327 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4329         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4330         (ANON_INODE_FS_MAGIC): Likewise.
4331         (BDEVFS_MAGIC): Likewise.
4332         (BINFMTFS_MAGIC): Likewise.
4333         (BTRFS_TEST_MAGIC): Likewise.
4334         (CRAMFS_MAGIC_WEND): Likewise.
4335         (DEBUGFS_MAGIC): Likewise.
4336         (ECRYPTFS_SUPER_MAGIC): Likewise.
4337         (EXT3_SUPER_MAGIC): Likewise.
4338         (EXT4_SUPER_MAGIC): Likewise.
4339         (FUTEXFS_SUPER_MAGIC): Likewise.
4340         (HOSTFS_SUPER_MAGIC): Likewise.
4341         (HUGETLBFS_MAGIC): Likewise.
4342         (MINIX3_SUPER_MAGIC): Likewise.
4343         (MTD_INODE_FS_MAGIC): Likewise.
4344         (NILFS_SUPER_MAGIC): Likewise.
4345         (OPENPROM_SUPER_MAGIC): Likewise.
4346         (PIPEFS_MAGIC): Likewise.
4347         (PSTOREFS_MAGIC): Likewise.
4348         (QNX6_SUPER_MAGIC): Likewise.
4349         (RAMFS_MAGIC): Likewise.
4350         (REISERFS_SUPER_MAGIC_STRING): Likewise.
4351         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4352         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4353         (SECURITYFS_MAGIC): Likewise.
4354         (SELINUX_MAGIC): Likewise.
4355         (SMACK_MAGIC): Likewise.
4356         (SOCKFS_MAGIC): Likewise.
4357         (SQUASHFS_MAGIC): Likewise.
4358         (STACK_END_MAGIC): Likewise.
4359         (TMPFS_MAGIC): Likewise.
4360         (USBDEVICE_SUPER_MAGIC): Likewise.
4361         (V9FS_MAGIC): Likewise.
4362         (XENFS_SUPER_MAGIC): Likewise.
4363         (CRAMFS_MAGIC): Fix typo in comment.
4364         (EXT2_SUPER_MAGIC): Update comment.
4365         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4367 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
4369         * sysdeps/arm: Move directory from ports/sysdeps/arm.
4370         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4371         * sysdeps/unix/sysv/linux/arm: Move directory from
4372         ports/sysdeps/unix/sysv/linux/arm.
4373         * README: Update listing for arm-*-linux-gnueabi.
4375         * README: Remove mention of am33.
4377 2014-02-07  Roland McGrath  <roland@hack.frob.com>
4379         * bits/sigset.h (__sigemptyset): Use a statement expression rather
4380         than the comma operator, to avoid "rhs of comma has no effect"
4381         compiler warnings.
4382         (__sigfillset, __sigandset, __sigorset): Likewise.
4383         * include/signal.h (__sigemptyset): Likewise.
4384         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4386 2014-02-07  Allan McRae  <allan@archlinux.org>
4388         * version.h (RELEASE): Set to "development".
4389         (VERSION): Set to "2.19.90"
4390         * NEWS: Add 2.20 section.
4392 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
4394         [BZ #16529]
4395         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4397 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4399         * manual/contrib.texi: Update entry for Carlos O'Donell,
4400         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4402 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
4404         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4406         * sysdeps/unix/sysv/linux/kernel-features.h
4407         [__LINUX_KERNEL_VERSION >= 0x020621]
4408         (__ASSUME_PROC_PID_TASK_COMM): Define.
4410 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4412         [BZ #16398]
4413         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4414         conversion when destination buffer does not have enough space.
4415         * libio/tst-ftell-partial-wide.c: New test case.
4416         * libio/Makefile (tests): Add tst-ftell-partial-wide.
4418         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4419         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
4420         Leonard and Allan McRae.
4422 2014-02-04  David S. Miller  <davem@davemloft.net>
4424         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4425         32-bit.
4427 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4430         file
4431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4432         New file
4433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4434         file.
4435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4436         file.
4437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4438         New file.
4439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4440         file.
4441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4442         file.
4443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4444         New file.
4445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4446         New file.
4447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4448         New file.
4449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4450         New file.
4451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4452         New file.
4453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4454         New file.
4456 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4458         * nptl/shlib-versions: Change powerpc*le start to 2.17.
4459         * shlib-versions: Likewise.
4461 2014-02-04  Roland McGrath  <roland@hack.frob.com>
4462             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4464         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4465         (abilist-pattern): New variable, set to %-le.abilist.
4467         * Makerules (abilist-pattern): New variable.
4468         (vpath): Use $(abilist-pattern) in place of %.abilist.
4469         (check-abi-% pattern rule): Likewise.
4470         (check-abi, update-abi): Likewise.
4472 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4476 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4480 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
4482         * manual/startup.texi: Add next, previous, and top entries for
4483         the `Program Arguments' and `Environment Variables' nodes.
4485 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
4487         * manual/macros.texi: Add comments before MTASC-safety macros.
4489         * manual/users.texi: Document MTASC-safety properties.
4491         * manual/threads.texi (pthread_key_create, pthread_key_delete,
4492         pthread_getspecific, pthread_setspecific): Format with
4493         @deftypefun, and add @safety note.
4494         * manual/signal.texi: Move comments that analyze the above
4495         functions to their home place.
4497 2014-02-03  Allan McRae  <allan@archlinux.org>
4499         * po/sl.po: Update Slovenian translation from translation project.
4501 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
4503         * manual/time.texi (timegm): Add missing blank after @c.
4504         Reported by Joseph Myers <joseph@codesourcery.com>.
4506 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
4508         * manual/check-safety.sh: New.
4509         * manual/Makefile ($(objpfx)stamp-summary): Run it.
4511         * manual/terminal.texi: Document MTASC-safety properties.
4513         * manual/filesys.texi: Document MTASC-safety properties.
4515         * manual/errno.texi: Document MTASC-safety properties.
4517         * manual/intro.texi: Document safety identifiers and
4518         conditionals.
4520         * manual/string.texi (wcstok): Fix prototype.
4521         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4523         * manual/time.texi: Document MTASC-safety properties.
4525         * manual/string.texi: Document MTASC-safety properties.
4527         * manual/threads.texi: Document MTASC-safety properties.
4529         * manual/stdio.texi: Document MTASC-safety properties.
4531         * manual/syslog.texi: Document MTASC-safety properties.
4533         * manual/sysinfo.texi: Document MTASC-safety properties.
4535         * manual/startup.texi: Document MTASC-safety properties.
4537         * manual/socket.texi: Document MTASC-safety properties.
4539         * manual/signal.texi: Document MTASC-safety properties.
4541 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
4543         * manual/setjmp.texi: Document MTASC-safety properties.
4545         * manual/search.texi: Document MTASC-safety properties.
4547         * manual/resource.texi: Document MTASC-safety properties.
4549         * manual/process.texi: Document MTASC-safety properties.
4551         * manual/platform.texi: Document MTASC-safety properties.
4553         * manual/pipe.texi: Document MTASC-safety properties.
4555         * manual/pattern.texi: Document MTASC-safety properties.
4557         * manual/message.texi: Document MTASC-safety properties.
4559         [BZ #12751]
4560         * manual/memory.texi: Document MTASC-safety properties.
4562         * manual/math.texi: Document MTASC-safety properties.
4564         * manual/locale.texi: Document MTASC-safety properties.
4566         * manual/llio.texi: Document MTASC-safety properties.
4568         * manual/libdl.texi: New.
4570         * manual/lang.texi: Document MTASC-safety properties.
4572         * manual/job.texi: Document MTASC-safety properties.
4574         * manual/getopt.texi: Document MTASC-safety properties.
4576         * manual/ctype.texi: Document MTASC-safety properties.
4578 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
4580         [BZ #16046]
4581         * csu/libc-tls.c (static_map): Remove variable.
4582         (__libc_setup_tls): Use main executable's link map for TLS data.
4583         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4584         casing for LM_ID_BASE and GL(dl_nns).
4585         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4586         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
4587         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4588         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4589         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4590         member.
4591         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4592         l_phnum members.
4594 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
4596         * manual/debug.texi: Document MTASC-safety properties.
4598 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
4600         [BZ #16510]
4601         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4602         of __x86_64__ when disabling x87 inline functions.
4604 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
4606         * manual/charset.texi: Document MTASC-safety properties.
4608         * manual/crypt.texi: Document MTASC-safety properties.
4610         * manual/conf.texi: Document MTASC-safety properties.
4612         * manual/arith.texi: Document MTASC-safety properties.
4614         * manual/argp.texi: Document MTASC-safety properties.
4616         * manual/macros.texi: Introduce macros to document multi
4617         thread, asynchronous signal and asynchronous cancellation
4618         safety properties.
4619         * manual/intro.texi: Introduce the properties themselves.
4621 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4623         * sysdeps/sh/sh4/Makefile: New file.
4625 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
4627         * math/gen-libm-test.pl ($srcdir): New variable.
4628         ($auto_input): Use it.
4630 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4632         [BZ #16506]
4633         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4634         access beyond array bounds when parsing netgroups file.
4636         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4637         the old buffer before realloc.
4639 2014-01-27  Allan McRae  <allan@archlinux.org>
4641         * po/fr.po: Update French translation from translation project.
4643 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4645         * sysdeps/sh/libm-test-ulps: Regenerate.
4647 2014-01-24  David S. Miller  <davem@davemloft.net>
4649         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4651 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4653         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4654         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4656 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4658         [BZ #16474]
4659         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4660         string pointers after reallocation.
4662 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4664         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4665         __SH4A__ instead of __SH_FPU_ANY__.
4667 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4669         * sysdeps/sh/fpu_control.h: New file.
4670         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4671         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4672         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4673         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4674         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4675         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4676         * sysdeps/sh/sys/ucontext.h: Remove.
4677         * sysdeps/sh/sys: Remove directory.
4679 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4681         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4682         s390/sys/ucontext.h.
4683         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4684         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4686 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
4688         [BZ #15605]
4689         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4691 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4693         [BZ#16431]
4694         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4695         Adjust the vDSO correctly for internal calls.
4696         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4698 2014-01-20  Allan McRae  <allan@archlinux.org>
4700         * po/ca.po: Update Catalan translation from translation project.
4702 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4704         * sysdeps/s390/sotruss-lib.c: New file.
4706 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4708         [BZ#16430]
4709         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4710         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4711         local calls issues by not having a PLT stub required for IFUNC calls.
4712         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4714 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4716         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4717         * math/test-fpucw-static.c: Likewise.
4719 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4721         [BZ #16453]
4722         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4724 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4726         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4727         implementation for powerpc.
4729 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4731         [BZ #14782]
4732         * sysdeps/posix/system.c (__libc_system): Do not enable
4733         asynchronous cancellation.
4735 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4737         [BZ #16427]
4738         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4739         handling only for numbers special also in the IEEE case.
4741 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4743         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4745 2014-01-11  Allan McRae  <allan@archlinux.org>
4747         * po/bg.po: Update Bulgarian translation from translation project.
4749         * po/de.po: Update German translation from translation project.
4751 2014-01-10  Roland McGrath  <roland@hack.frob.com>
4753         * sysdeps/generic/gcc-compat.h: New file.
4755 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4757         * benchtests/asin-inputs: Correct slow inputs.
4758         * benchtests/acos-inputs: Likewise.
4760 2014-01-10  Allan McRae  <allan@archlinux.org>
4762         * po:sv.po: Update Swedish translation from translation project.
4764         * po/vi.po: Update Vietnamese translation from translation project.
4766         * po/eo.po: Update Esperanto translation from translation project.
4768         * po/cs.po: Update Czech translation from translation project.
4770         * po/nl.po: Update Dutch translation from translation project.
4772         * po/pl.po: Update Polish translation from translation project.
4774         * po/ru.po: Update Russian translation from translation project.
4776         * po/uk.po: Update Ukrainian translation from translation project.
4778 2014-01-08  Brooks Moses  <bmoses@google.com>
4780         * elf/dl-load.c: Fix comment typo.
4782 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
4784         * po/header.pot: Rename to...
4785         * po/pot.header: ... this.
4786         * po/Makefile: Use pot.header.
4788 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
4789             Maxim Kuvyrkov  <maxim@kugelworks.com>
4791         [BZ #16394]
4792         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4793         SRC and DEST against LEN.
4795 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4797         [BZ #16414]
4798         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4799         implementation.
4800         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4802 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4806 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
4808         [BZ #16408]
4809         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4810         for large positive arguments.
4812 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
4814         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4816         * math/auto-libm-test-in: Mark various tests with
4817         xfail-rounding:ldbl-128ibm.
4818         * math/auto-libm-test-out: Regenerated.
4820         [BZ #16407]
4821         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4822         Increase overflow threshold.
4824 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
4826         [BZ #14286]
4827         * stdio-common/vfprintf.c: Check for integer overflow.
4829 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4831         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4832         the first argument and return value of __tls_get_addr_internal.
4834 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4836         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4837         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4839 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4841         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4842         * sysdeps/s390/rtld-global-offsets.sym: New file.
4843         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4844         GLIBC_2.19 symbol.
4845         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4846         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4847         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4848         ... this.
4849         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4850         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4851         ... this.
4852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4853         Regenerate.
4854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4855         Regenerate.
4856         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4857         halfs of GPRs for high_gprs contexts.
4858         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4859         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
4860         field.
4861         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4862         uc_flags field.
4863         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4864         64 bit versions:
4865         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4866         for high GPRs (uc_high_gprs) and for future extensions
4867         (__reserved).
4868         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4869         for future extensions (__reserved).
4870         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4871         64 bit versions:
4872         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4873         SC_HIGHGPRS offset definition.
4874         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4875         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4877 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4879         * Versions.def: Add GLIBC_2.19 for libpthread.
4880         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4881         siglongjmp for libpthread with GLIBC_2.19 symver.
4882         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4883         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4884         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4885         * sysdeps/s390/__longjmp.c: New file.
4886         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4887         * sysdeps/s390/longjmp.c: New file.
4888         * sysdeps/s390/setjmp.S: New file.
4889         * sysdeps/s390/sigjmp.S: New file.
4890         * sysdeps/s390/v1-longjmp.c: New file.
4891         * sysdeps/s390/v1-setjmp.h: New file.
4892         * sysdeps/s390/v1-sigjmp.c: New file.
4893         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4894         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4895         GLIBC_2.19 version.
4896         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4897         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4898         versioned symbols for ____longjmp_chk.
4899         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4900         Likewise.
4901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4902         Regenerate.
4903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4904         Regenerate.
4905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4906         Regenerate.
4907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4908         Regenerate.
4909         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4910         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4911         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4912         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4913         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4914         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4915         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4916         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4917         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4918         * sysdeps/s390/rtld-__longjmp.c: New file.
4919         * sysdeps/s390/rtld-setjmp.S: New file.
4921 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
4923         [BZ #16400]
4924         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4925         Return -__logl (x) for small positive arguments without evaluating
4926         a polynomial.
4928 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
4930         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4931         Rename to ...
4932         (__ptrace_peeksiginfo_args): ... this.
4933         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4934         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4935         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4937 2014-01-06  Allan McRae  <allan@archlinux.org>
4939         * inet/netinet/in.h: Fix typo in comment.
4941 2014-01-05  Andreas Jaeger  <aj@suse.de>
4943         * sysdeps/i386/fpu/libm-test-ulps: Update.
4945 2014-01-05  Allan McRae  <allan@archlinux.org>
4947         * po/libc.pot: Regenerated.
4949         * malloc/memusagestat.c: Fix gettext call formatting.
4951 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
4953         * nscd/nscd.c: Improve usage() output.
4955 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
4957         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4958         * sysdeps/unix/sysv/linux/configure: Regenerated.
4959         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4960         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4962 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4964         [BZ #16390]
4965         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4966         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4968 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4971         extra tokens at end of #undef directive.
4972         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4973         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4974         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4976 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4978         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4980         * math/auto-libm-test-in: Mark various tests with
4981         xfail-rounding:ldbl-128ibm.
4982         * math/auto-libm-test-out: Regenerated.
4984 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4986         [BZ #16386]
4987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4988         numbers with subnormal high part when calculating exponent.
4990         [BZ #16385]
4991         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4992         fabs.
4994         [BZ #16384]
4995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4996         M_LN2l.
4997         (__ieee754_acoshl): Use __log1pl not __log1p.
4999 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
5001         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5002         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5003         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5004         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5005         Convert to GNU style.
5006         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5007         mem2mem_check, mem2chunk_check, top_check, realloc_check,
5008         memalign_check, __malloc_set_state): Likewise.
5009         * malloc/mallocbug.c (main): Likewise.
5010         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5011         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5012         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5013         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5014         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5015         * malloc/malloc.h: Likewise.
5016         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5017         memalignhook, reallochook, mabort): Likewise.
5018         * malloc/mcheck.h: Likewise.
5019         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5020         mmap64, mremap, munmap, dest): Likewise.
5021         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5022         * malloc/morecore.c (__default_morecore): Likewise.
5023         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5024         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5025         _obstack_allocated_p, obstack_free, _obstack_memory_used,
5026         print_and_abort): Likewise.
5027         * malloc/obstack.h: Likewise.
5028         * malloc/set-freeres.c (__libc_freeres): Likewise.
5029         * malloc/tst-mallocstate.c (main): Likewise.
5030         * malloc/tst-mtrace.c (main): Likewise.
5031         * malloc/tst-realloc.c (do_test): Likewise.
5033 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5035         [BZ #16366]
5036         * nscd/netgroupcache.c (do_notfound): New function.
5037         (addgetnetgrentX): Use it.
5039         [BZ # 16365]
5040         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5041         NSS_STATUS_NOTFOUND.
5043 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
5045         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5048 2014-01-01  Allan McRae  <allan@archlinux.org>
5050         * scripts/update-copyrights: Update configure input file suffix.
5052         * NEWS: Update copyright year.
5053         * catgets/gencat.c: Likewise.
5054         * csu/version.c: Likewise.
5055         * debug/catchsegv.sh: Likewise.
5056         * debug/pcprofiledump.c: Likewise.
5057         * debug/xtrace.sh: Likewise.
5058         * elf/ldconfig.c: Likewise.
5059         * elf/ldd.bash.in: Likewise.
5060         * elf/pldd.c: Likewise.
5061         * elf/sotruss.ksh: Likewise.
5062         * elf/sprof.c: Likewise.
5063         * iconv/iconv_prog.c: Likewise.
5064         * iconv/iconvconfig.c: Likewise.
5065         * locale/programs/locale.c: Likewise.
5066         * locale/programs/localedef.c: Likewise.
5067         * login/programs/pt_chown.c: Likewise.
5068         * malloc/memusage.sh: Likewise.
5069         * malloc/memusagestat.c: Likewise.
5070         * malloc/mtrace.pl: Likewise.
5071         * manual/libc.texinfo: Likewise.
5072         * nscd/nscd.c: Likewise.
5073         * nss/getent.c: Likewise.
5074         * nss/makedb.c: Likewise.
5075         * posix/getconf.c: Likewise.
5076         * scripts/test-installation.pl: Likewise.
5078         * All files with FSF copyright notices: Update copyright dates
5079         using scripts/update-copyrights.
5080         * intl/plural.c: Regenerated.
5081         * locale/programs/charmap-kw.h: Likewise.
5082         * locale/programs/locfile-kw.h: Likewise.
5084 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
5086         * sysdeps/unix/sysv/linux/configure: Regenerated.
5087         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5088         the linux/fanotify.h header.
5089         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5090         HAVE_LINUX_FANOTIFY_H is defined.
5092 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5094         * benchtests/cos-inputs: New inputs.
5095         * benchtests/sin-inputs: Likewise.
5097         * benchtests/atan-inputs: New inputs. Fix name of multiple
5098         precision fallback inputs.
5100         * benchtests/atanh-inputs: New inputs.
5101         * benchtests/tanh-inputs: Likewise.
5103         * benchtests/acosh-inputs: New inputs.
5104         * benchtests/asinh-inputs: Likewise.
5106         * benchtests/cosh-inputs: New inputs.
5107         * benchtests/sinh-inputs: Likewise.
5109         * benchtests/acos-inputs: Add more inputs.
5110         * benchtests/asin-inputs: Likewise.
5112 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
5114         [BZ #16375]
5115         * manual/arith.texi: Fix spelling.
5116         * manual/charset.texi: Likewise.
5117         * manual/errno.texi: Likewise.
5118         * manual/filesys.texi: Likewise.
5119         * manual/lang.texi: Likewise.
5120         * manual/llio.texi: Likewise.
5121         * manual/locale.texi: Likewise.
5122         * manual/message.texi: Likewise.
5123         * manual/resource.texi: Likewise.
5124         * manual/search.texi: Likewise.
5125         * manual/setjmp.texi: Likewise.
5126         * manual/stdio.texi: Likewise.
5127         * manual/string.texi: Likewise.
5128         * manual/sysinfo.texi: Likewise.
5129         * manual/time.texi: Likewise.
5131 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
5133         * po/sl.po: New file.
5135 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
5137         * .gitignore: Add core/.gdbinit/.gdb_history.
5139 2013-12-27  Allan McRae  <allan@archlinux.org>
5141         [BZ #16369]
5142         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5143         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5145 2013-12-24  Brooks Moses  <bmoses@google.com>
5147         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5148         all compilers that claim C++98 compliance, not just GCC.
5149         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5150         Likewise.
5152 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5154         * NEWS: Restore accidentally deleted bug-fix entries.
5156 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5157             Ondřej Bílka  <neleai@seznam.cz>
5159         [BZ #15073]
5160         * malloc/malloc.c (_int_free): Perform sanity check only if we
5161         have_lock.
5163 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
5165         [BZ #12986]
5166         * manual/stdio.texi (String Input Conversions): Clarify that character
5167         classes are not supported.
5169 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5173 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
5175         [BZ #16337]
5176         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5177         Calculate results for small negative arguments directly rather
5178         than using reflection formula with special underflow handling.
5180         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5181         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5182         sysdeps/unix/bsd/bsd4.4/syscalls.list.
5183         (fchflags): Likewise.
5184         (revoke): Likewise.
5185         (setlogin): Likewise.
5186         (sigaltstack): Likewise.
5187         (wait4): Likewise.
5188         (sigblock): Remove.
5189         (sigsetmask): Likewise.
5190         (wait3): Likewise.
5191         (waitpid): Likewise.
5192         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5193         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5194         file.
5195         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5196         * sysdeps/unix/bsd/Makefile: ... here.
5197         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5198         * sysdeps/unix/bsd/Versions: ... here.
5199         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5200         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5201         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5202         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5203         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5204         * sysdeps/unix/bsd/sigblock.c: ... here.
5205         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5206         * sysdeps/unix/bsd/sigsetmask.c: ... here.
5207         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5208         * sysdeps/unix/bsd/sigvec.c: ... here.
5209         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5210         * sysdeps/unix/bsd/tcdrain.c: ... here.
5211         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5212         * sysdeps/unix/bsd/tcgetattr.c: ... here.
5213         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5214         * sysdeps/unix/bsd/tcsetattr.c: ... here.
5215         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5216         * sysdeps/unix/bsd/wait.c: ... here.
5217         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5218         * sysdeps/unix/bsd/wait3.c: ... here.
5219         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5220         * sysdeps/unix/bsd/waitpid.c: ... here.
5222 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
5224         [BZ #16356]
5225         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5226         round-to-nearest for [!USE_AS_EXPM1L].
5227         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5228         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
5229         more tests of exp and exp10.  Expect some exp10 tests to miss
5230         exceptions or fail in directed rounding modes.
5231         * math/auto-libm-test-out: Regenerated.
5232         * math/libm-test.inc (exp10_tonearest_test_data): New array.
5233         (exp10_test_tonearest): New function.
5234         (exp10_towardzero_test_data): New array.
5235         (exp10_test_towardzero): New function.
5236         (exp10_downward_test_data): New array.
5237         (exp10_test_downward): New function.
5238         (exp10_upward_test_data): New array.
5239         (exp10_test_upward): New function.
5240         (main): Call the new functions.
5241         * sysdeps/i386/fpu/libm-test-ulps: Update.
5242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5244 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
5246         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5247         asinh, atan, atan2, atanh, cbrt, cos and cosh.
5248         * math/auto-libm-test-out: Regenerated.
5249         * math/libm-test.inc (acosh_test_data): Add more tests.
5250         (atanh_test_data): Likewise.
5251         (ceil_test_data): Likewise.
5252         (copysign_test_data): Likewise.
5253         * sysdeps/i386/fpu/libm-test-ulps: Update.
5254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5256         * timezone/checktab.awk: Update from tzcode 2013i.
5257         * timezone/private.h: Likewise.
5258         * timezone/scheck.c: Likewise.
5259         * timezone/tzfile.h: Likewise.
5260         * timezone/tzselect.ksh: Likewise.
5261         * timezone/zdump.c: Likewise.
5262         * timezone/zic.c: Likewise.
5264         * math/auto-libm-test-in: Add tests of cpow.
5265         * math/auto-libm-test-out: Regenerated.
5266         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5267         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5268         mpc_cc_c.
5269         (func_calc_desc): Add mpc_cc_c union field.
5270         (test_functions): Add cpow.
5271         (special_fill_2pi): New function.
5272         (special_real_inputs): Add 2pi.
5273         (calc_generic_results): Handle mpc_cc_c.
5274         * sysdeps/i386/fpu/libm-test-ulps: Update.
5275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5277         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5278         csqrt, ctan and ctanh.
5279         * math/auto-libm-test-out: Regenerated.
5280         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5281         (TEST_COND_x86): Likewise.
5282         (ccos_test_data): Use AUTO_TESTS_c_c.
5283         (ccosh_test_data): Likewise.
5284         (cexp_test_data): Likewise.
5285         (clog_test_data): Likewise.
5286         (csqrt_test_data): Likewise.
5287         (ctan_test_data): Likewise.
5288         (ctan_tonearest_test_data): Likewise.
5289         (ctan_towardzero_test_data): Likewise.
5290         (ctan_downward_test_data): Likewise.
5291         (ctan_upward_test_data): Likewise.
5292         (ctanh_test_data): Likewise.
5293         (ctanh_tonearest_test_data): Likewise.
5294         (ctanh_towardzero_test_data): Likewise.
5295         (ctanh_downward_test_data): Likewise.
5296         (ctanh_upward_test_data): Likewise.
5297         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5298         mpc_c_c.
5299         (func_calc_desc): Add mpc_c_c union field.
5300         (FUNC_mpc_c_c): New macro.
5301         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5302         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5303         ctanh.
5304         (special_fill_min_subnorm_p120): New function.
5305         (special_real_inputs): Add min_subnorm_p120.
5306         (calc_generic_results): Handle mpc_c_c.
5307         * sysdeps/i386/fpu/libm-test-ulps: Update.
5308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5310 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5312         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5313         do_sin_slow): New functions.
5314         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5315         cslow2, csloww1, csloww2): Use the new functions.
5317         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5318         Use M to change sign of result instead of X.  Assume X is
5319         positive.
5320         (csloww1): Likewise.
5321         (__sin): Adjust.
5322         (__cos): Adjust.
5324         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5325         arguments A and DA.
5326         (__sin): Adjust.
5327         (__cos): Likewise.
5329         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5330         (__cos): Likewise.
5331         (sloww1): Don't adjust sign of DX.
5332         (csloww1): Likewise.
5333         (sloww2): Use X directly and don't adjust sign of DX.
5334         (csloww2): Likewise.
5336 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5338         * math/auto-libm-test-in: Add tests of cabs and carg.
5339         * math/auto-libm-test-out: Regenerated.
5340         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5341         (carg_test_data): Likewise.
5342         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5343         mpc_c_f.
5344         (func_calc_desc): Add mpc_c_f union field.
5345         (test_functions): Add cabs and carg.
5346         (calc_generic_results): Handle mpc_c_f.
5348         * sysdeps/powerpc/powerpc32/libgcc-compat.S
5349         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5350         as a macro and a compat symbol.
5351         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5352         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5353         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5354         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5355         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5356         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5357         not use .hidden.
5358         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5359         Likewise.
5360         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5361         Likewise.
5362         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5363         Likewise.
5364         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5365         Likewise.
5366         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5367         Likewise.
5368         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5369         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5370         from GLIBC_2.3.2.
5372 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5376 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5378         * manual/texinfo.tex: Update to version 2013-11-26.10 with
5379         trailing whitespace removed.
5380         * scripts/config.guess: Update to version 2013-11-29.
5381         * scripts/config.sub: Update to version 2013-10-01.
5383         * math/auto-libm-test-in: Add tests of sincos.
5384         * math/auto-libm-test-out: Regenerated.
5385         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5386         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5387         mpfr_f_11.
5388         (func_calc_desc): Add mpfr_f_11 union field.
5389         (test_functions): Add sincos.
5390         (calc_generic_results): Handle mpfr_f_11.
5391         * sysdeps/i386/fpu/libm-test-ulps: Update.
5392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5394 2013-12-19  Andreas Schwab  <schwab@suse.de>
5396         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5397         CALL_MCOUNT.
5398         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5399         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5400         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5402 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5404         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5405         * sysdeps/i386/fpu/libm-test-ulps: Update.
5406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5408         [BZ #16293]
5409         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5410         round-to-nearest mode when using frndint.
5411         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5412         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5413         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5414         Likewise.
5415         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
5416         sinh test to fail.
5417         * math/auto-libm-test-out: Regenerated.
5418         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5419         (TEST_COND_x86): Likewise.
5420         (expm1_tonearest_test_data): New array.
5421         (expm1_test_tonearest): New function.
5422         (expm1_towardzero_test_data): New array.
5423         (expm1_test_towardzero): New function.
5424         (expm1_downward_test_data): New array.
5425         (expm1_test_downward): New function.
5426         (expm1_upward_test_data): New array.
5427         (expm1_test_upward): New function.
5428         (main): Run the new test functions.
5429         * sysdeps/i386/fpu/libm-test-ulps: Update.
5430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432         * include/features.h: Update comment documenting feature test
5433         macros.  Mention _DEFAULT_SOURCE in comment.
5434         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5435         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5436         _BSD_SOURCE and _SVID_SOURCE.
5437         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5438         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5439         !_SVID_SOURCE]: Likewise.
5440         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5441         (__USE_POSIX_IMPLICITLY): Define.
5442         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5443         (_POSIX_SOURCE): Undefine and redefine.
5444         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5445         (_POSIX_C_SOURCE): Likewise.
5446         * manual/creature.texi (_DEFAULT_SOURCE): Document.
5447         (Feature Test Macros): Update documentation of default features.
5449 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5451         * benchtests/Makefile: Add bench-strtok.
5452         * benchtests/bench-strtok.c: New file: strtok benchtest.
5454 2013-12-19  Allan McRae  <allan@archlinux.org>
5456         * manual/install.texi: Suppress menu for plain text output.
5457         * INSTALL: Regenerated.
5459 2013-12-18  Brooks Moses  <bmoses@google.com>
5461         [BZ #15846]
5462         * misc/getauxval.c: Include errno.h.
5463         (__getauxval): Set errno to ENOENT if the requested type is not
5464         found.
5465         * misc/sys/auxv.h (getauxval): Document that it may set errno;
5466         don't declare with __attribute_const__.
5467         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5468         * manual/startup.texi: Document that getauxval sets errno.
5470 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5472         * math/auto-libm-test-in: Add tests of jn and yn.
5473         * math/auto-libm-test-out: Regenerated.
5474         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5475         (yn_test_data): Likewise.
5476         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5477         mpfr_if_f.
5478         (func_calc_desc): Add mpfr_if_f union field.
5479         (FUNC_mpfr_if_f): New macro.
5480         (test_functions): Add jn and yn.
5481         (calc_generic_results): Assert type of second input for
5482         mpfr_ff_f.  Handle mpfr_if_f.
5483         (output_for_one_input_case): Disable all checking for arguments
5484         fitting floating-point types in case of an integer argument.
5485         * sysdeps/i386/fpu/libm-test-ulps: Update.
5486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5489         Don't expect fegetround reference in libm.so.
5491 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5493         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5494         $(config-cflags-nofma).
5496 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5498         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5499         * math/auto-libm-test-out: Regenerated.
5501         [BZ #16338]
5502         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5503         to determine exponent and adjust argument to have exponent of -1.
5504         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5505         log2.
5506         * math/auto-libm-test-out: Regenerated.
5507         * sysdeps/i386/fpu/libm-test-ulps: Update.
5508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5510 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
5512         * manual/probes.texi: Remove cases when per-thread arenas are
5513         disabled.
5515 2013-12-18  Andreas Schwab  <schwab@suse.de>
5517         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5518         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5519         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5520         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5521         * sysdeps/i386/i686/multiarch/Makefile: Update.
5522         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5524 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5526         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5527         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5529 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5531         [BZ #15968]
5532         Support TZ transition times < 00:00:00.
5533         This is needed for version-3 tz-format files; it supports time
5534         stamps past 2037 for America/Godthab (the only entry in the tz
5535         database for which this change is relevant).
5536         * manual/time.texi (TZ Variable): Document transition times
5537         from -167:59:59 through -00:00:01.
5538         * time/tzset.c (tz_rule): Time of day is now signed.
5539         (__tzset_parse_tz): Parse negative time of day.
5541         Document TZ transition times >= 25:00:00.
5542         * manual/time.texi (TZ Variable): Document transition times from
5543         25:00:00 through 167:59:59.  These are already supported, and this
5544         support will help with version-3 tz-format files.
5546         * manual/time.texi (TZ Variable): Modernize North America example
5547         to reflect current (i.e., 2007-and-later) daylight saving rules.
5549         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5551 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5553         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5554         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5556         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5557         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5558         * sysdeps/unix/bsd/bsdstat.h: Likewise.
5559         * sysdeps/unix/bsd/clock.c: Likewise.
5560         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5561         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5562         * sysdeps/unix/bsd/init-posix.c: Likewise.
5563         * sysdeps/unix/bsd/poll.c: Likewise.
5564         * sysdeps/unix/bsd/ptsname.c: Likewise.
5565         * sysdeps/unix/bsd/seekdir.c: Likewise.
5566         * sysdeps/unix/bsd/setegid.c: Likewise.
5567         * sysdeps/unix/bsd/seteuid.c: Likewise.
5568         * sysdeps/unix/bsd/setgid.c: Likewise.
5569         * sysdeps/unix/bsd/setrgid.c: Likewise.
5570         * sysdeps/unix/bsd/setruid.c: Likewise.
5571         * sysdeps/unix/bsd/setsid.c: Likewise.
5572         * sysdeps/unix/bsd/setuid.c: Likewise.
5573         * sysdeps/unix/bsd/sigaction.c: Likewise.
5574         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5575         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5576         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5577         * sysdeps/unix/bsd/telldir.c: Likewise.
5578         * sysdeps/unix/bsd/times.c: Likewise.
5579         * sysdeps/unix/bsd/usleep.c: Likewise.
5581         * misc/Makefile (install-lib): Remove libbsd-compat.a.
5582         ($(objpfx)libbsd-compat.a): Remove rule.
5584         * include/features.h (__FAVOR_BSD): Do not define.
5585         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5586         features conflicting with POSIX.
5587         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5588         (_BSD_SOURCE): Remove description of not being a subset of other
5589         feature test macros.
5590         * manual/job.texi (getpgrp): Do not document BSD version.
5591         (getpgid): Do not document by reference to BSD getpgrp.
5592         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5593         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5594         * signal/signal.h [__FAVOR_BSD]: Likewise.
5595         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5596         instead of making contents conditional on [__FAVOR_BSD].
5597         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5599 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5603 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5605         [BZ #16314]
5606         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5607         values below 2**-450, not 2**-500.
5608         * math/auto-libm-test-in: Don't allow spurious underflow from
5609         hypot.
5610         * math/auto-libm-test-out: Regenerated.
5612         [BZ #16316]
5613         [BZ #16330]
5614         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5615         values of ha and hb and sort them after adjusting subnormal
5616         arguments.
5617         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5618         Likewise.
5619         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5620         values of ea and eb and sort them after adjusting subnormal
5621         arguments.
5622         * math/auto-libm-test-in: Do not expect some hypot tests of
5623         subnormals to fail.  Add more hypot tests.
5624         * math/auto-libm-test-out: Regenerated.
5626 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5628         [BZ #13304]
5629         * sysdeps/sh/s_fma.c: New file.
5630         * sysdeps/sh/s_fmaf.c: New file.
5631         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
5632         version.
5633         * sysdeps/sh/Implies: Add sh/soft-fp.
5635 2013-12-16  Roland McGrath  <roland@hack.frob.com>
5637         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
5638         level of indirection to members `objname', `errstring', `malloced'.
5639         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5640         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
5641         it as the __longjmp argument (just pass 1 instead).
5642         (_dl_catch_error): Initialize C with argument pointers and address of
5643         volatile local ERRCODE rather than copying values out of C at return.
5645 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
5647         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5648         * math/auto-libm-test-out: Regenerated.
5649         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5650         (hypot_test_data): Likewise.
5651         (pow_test_data): Likewise.
5652         (pow_tonearest_test_data): Likewise.
5653         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5654         mpfr_ff_f.
5655         (func_calc_desc): Add mpfr_ff_f union field.
5656         (FUNC_mpfr_ff_f): New macro.
5657         (test_functions): Add atan2, hypot and pow.
5658         (special_fill_min): New function.
5659         (special_fill_minus_min): Likewise.
5660         (special_fill_min_subnorm): Likewise.
5661         (special_fill_minus_min_subnorm): Likewise.
5662         (special_real_inputs): Add min, -min, min_subnorm and
5663         -min_subnorm.
5664         (calc_generic_results): Handle mpfr_ff_f.
5665         * sysdeps/i386/fpu/libm-test-ulps: Update.
5666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5668 2013-12-16  Will Newton  <will.newton@linaro.org>
5670         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5671         (Aligned Memory Blocks): Add documentation for aligned_alloc
5672         and suggest it as an alternative to posix_memalign.
5673         (Hooks for Malloc): Document __memalign_hook is also called
5674         for aligned_alloc.  (Summary of Malloc): Add summary for
5675         aligned alloc.  Document __memalign_hook is also called
5676         for aligned_alloc.
5678 2013-12-16  Will Newton  <will.newton@linaro.org>
5680         * manual/memory.texi (Malloc Examples): Clarify default
5681         alignment documentation.  Suggest posix_memalign rather
5682         than memalign or valloc.
5683         (Aligned Memory Blocks): Remove suggestion to use memalign
5684         or valloc.  Remove obsolete comment about BSD.
5685         Document memalign errno values and mark the function obsolete.
5686         Document posix_memalign returned error codes.  Mark valloc
5687         as obsolete.  (Hooks for Malloc): __memalign_hook is also
5688         called for posix_memalign and valloc.
5689         (Summary of Malloc): Add posix_memalign to function summary.
5690         __memalign_hook is also called for posix_memalign and valloc.
5692 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5694         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5695         TAYLOR_SIN.
5696         (__sin): Adjust.
5697         (__cos): Likewise.
5698         (sloww): Use mynumber union.  Expand ternary operator into
5699         if-else statements.
5700         (cslow): use mynumber union.
5702 2013-12-16  Allan McRae  <allan@archlinux.org>
5704         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5705         * configure: Regenerated.
5707         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5709         [BZ #14120]
5710         * configure.ac: Added --enable-maintainer-mode. Check for
5711         autoconf when enabled.
5712         * configure: Regenerated.
5714         * nscd/nscd.service: New file.
5715         * nscd/nscd.tmpfiles: New file.
5717 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5719         [BZ #12100]
5720         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5721         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5722         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5723         (strstr): Add __strstr_sse2_unaligned ifunc.
5724         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5725         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5726         (strcasestr): Remove __strcasestr_sse42 ifunc.
5727         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5731 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5733         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5734         * sysdeps/sh/bits/fenv.h: ... here.
5735         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5737 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5739         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5741 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5743         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5744         hypotf multiarch implementations.
5745         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5746         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5747         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5748         multiarch hypot for PPC64.
5749         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5750         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5751         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5752         multiarch hypotf for PPC64.
5754 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5756         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5757         modff multiarch implementations.
5758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5761         multiarch modf for PPC64.
5762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5765         multiarch modff for PPC64.
5767 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5769         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5770         and logl multiarch implementations.
5771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5774         multiarch logb for PPC64.
5775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5778         multiarch logb for PPC64.
5779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5782         multiarch logb for PPC64.
5784 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5787         isinff multiarch implementation.
5788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5789         file.
5790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5792         multiarch isinf for PPC64.
5793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5794         file.
5795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5796         multiarch isinff for PPC64.
5798 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5801         finitef multiarch implementation.
5802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5803         file.
5804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5806         multiarch finite for PPC64.
5807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5808         file.
5809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5810         multiarch finitef for PPC64.
5812 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5815         lrint multiarch implementation.
5816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5817         file.
5818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5820         multiarch llrint for PPC64.
5821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5822         multiarch lrint for PPC64.
5824 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5827         copysignf multiarch implementation.
5828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5829         file.
5830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5831         file.
5832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5833         multiarch copysign for PPC64.
5834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5835         multiarch copysignf for PPC64.
5837 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5840         multiarch implementation.
5841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5842         file.
5843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5844         file.
5845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5846         file.
5847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5848         file.
5849         multiarch llround for PPC64.
5850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5851         multiarch trunc for PPC64.
5852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5853         multiarch truncf for PPC64.
5855 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5858         multiarch implementation.
5859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5860         file.
5861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5862         file.
5863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5864         file.
5865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5866         file.
5867         multiarch llround for PPC64.
5868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5869         multiarch round for PPC64.
5870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5871         multiarch roundf for PPC64.
5873 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5875         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5876         multiarch implementation.
5877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5878         file.
5879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5880         file.
5881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5882         file.
5883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5884         file.
5885         multiarch llround for PPC64.
5886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5887         multiarch floor for PPC64.
5888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5889         multiarch floorf for PPC64.
5891 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5894         multiarch implementation.
5895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5896         file.
5897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5898         file.
5899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5900         file.
5901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5902         file.
5903         multiarch llround for PPC64.
5904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5905         multiarch ceil for PPC64.
5906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5907         multiarch ceilf for PPC64.
5909 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5912         multiarch implementation.
5913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5914         file.
5915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5916         file.
5917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5918         file.
5919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5920         multiarch llround for PPC64.
5921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5922         multiarch lround for PPC64.
5924 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5927         multiarch implementation.
5928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5931         file.
5932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5935         multiarch isnan for PPC64.
5936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5937         multiarch isnanf for PPC64.
5939 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5941         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5942         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5943         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5944         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5945         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5948 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5950         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5951         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5952         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5953         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5955 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5958         multiarch implementations.
5959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5960         (__libc_ifunc_impl_list): Likewise.
5961         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5962         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5963         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5964         multiarch stpcpy for PPC64.
5966 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5969         multiarch implementations.
5970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5971         (__libc_ifunc_impl_list): Likewise.
5972         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5973         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5974         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5975         multiarch strcpy for PPC64.
5977 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5979         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5980         redefine function name.
5981         (_wordcopy_fwd_dest_aligned): Likewise.
5982         (_wordcopy_bwd_aligned): Likewise.
5983         (_wordcopy_bwd_dest_aligned): Likewise.
5984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5985         multiarch implementations.
5986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5987         (__libc_ifunc_impl_list): Likewise.
5988         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5989         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5990         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5992         multiarch wcscpy for PPC64.
5994 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5997         multiarch implementations.
5998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5999         (__libc_ifunc_impl_list): Likewise.
6000         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6001         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6002         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6004         multiarch wcscpy for PPC64.
6006 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6009         multiarch implementations.
6010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6011         (__libc_ifunc_impl_list): Likewise.
6012         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6013         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6014         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6015         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6016         multiarch wcsrchr for PPC64.
6018 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6021         multiarch implementations.
6022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6023         (__libc_ifunc_impl_list): Likewise.
6024         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6025         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6026         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6027         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6028         multiarch wcschr for PPC64.
6030 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6033         multiarch implementations.
6034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6035         (__libc_ifunc_impl_list): Likewise.
6036         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6037         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6038         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6039         multiarch strchrnul for PPC64.
6041 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6044         implementations.
6045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6046         (__libc_ifunc_impl_list): Likewise.
6047         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6048         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6049         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6050         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6051         strchr for PPC64.
6053 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6056         implementations.
6057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6058         (__libc_ifunc_impl_list): Likewise.
6059         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6060         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6061         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6062         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6063         strncmp for PPC64.
6065 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6068         multiarch implementations.
6069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6070         (__libc_ifunc_impl_list): Likewise.
6071         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6072         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6073         strncasecmp for PPC64.
6074         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6075         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6076         multiarch strncasecmp_l for PPC64.
6078 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6081         multiarch implementations.
6082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6083         (__libc_ifunc_impl_list): Likewise.
6084         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6085         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6086         multiarch strcasecmp for PPC64.
6087         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6088         file.
6089         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6090         multiarch strcasecmp_l for PPC64.
6092 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6095         implementations.
6096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6097         (__libc_ifunc_impl_list): Likewise.
6098         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6099         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6100         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6101         strnlen for PPC64.
6103 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6106         implementations.
6107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6108         (__libc_ifunc_impl_list): Likewise.
6109         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6110         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6111         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6112         strlen for PPC64.
6114 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6117         implementations.
6118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6119         (__libc_ifunc_impl_list): Likewise.
6120         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6121         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6122         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6123         rawmemrchr for PPC64.
6125 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6128         implementation.
6129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6130         (__libc_ifunc_impl_list): Likewise.
6131         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6132         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6133         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6134         memrchr for PPC64.
6136 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6139         implementation.
6140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6141         (__libc_ifunc_impl_list): Likewise.
6142         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6143         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6144         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6145         memchr for PPC64.
6147 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6150         implementation.
6151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6152         (__libc_ifunc_impl_list): Likewise.
6153         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6154         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6155         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6156         mempcpy for PPC64.
6158 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6160         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6161         avoid cretion of __bzero symbol.
6162         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6163         Likewise.
6164         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6165         Likewise.
6166         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6167         Likewise.
6168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6169         multiarch implementations.
6170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6171         (__libc_ifunc_impl_list): Likewise.
6172         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6173         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6174         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6175         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6176         bzero for PPC32.
6177         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6178         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6179         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6180         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6181         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6182         memset for PPC64.
6183         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6185 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6187         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6189         implementations.
6190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6191         (__libc_ifunc_impl_list): Likewise.
6192         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6193         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6194         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6195         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6196         memcmp for PPC64.
6198 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6201         multiarch for POWER/PPC64.
6202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6203         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6204         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6205         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6206         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6207         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6208         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6209         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6210         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6211         memcpy for PPC64.
6213 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6215         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6216         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6217         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6218         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6219         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6220         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6221         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6222         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6223         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6224         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6225         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6226         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6227         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6228         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6229         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6238 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6240         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6242 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6244         * benchtests/Makefile (bench): Add exp2 and log2.
6245         (LDLIBS-bench-exp2): Add -lm.
6246         (LDLIBS-bench-log2): Likewise.
6247         * benchtests/exp2-inputs: New inputs file.
6248         * benchtests/log2-inputs: New inputs file.
6249         * benchtests/log-inputs: Add new inputs.
6250         * benchtests/tan-inputs: Likewise.
6252 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6254         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6255         definition...
6256         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6257         csloww1, csloww2): ... from here.
6259         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6260         instead of structures.
6261         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6262         (POLYNOMIAL): Likewise.
6263         (TAYLOR_SLOW): Likewise.
6264         (__sin): Likewise.
6265         (__cos): Likewise.
6266         (slow1): Likewise.
6267         (slow2): Likewise.
6268         (sloww): Likewise.
6269         (sloww1); Likewise.
6270         (sloww2): Likewise.
6271         (bsloww1): Likewise.
6272         (bsloww2): Likewise.
6273         (cslow2): Likewise.
6274         (csloww): Likewise.
6275         (csloww1): Likewise.
6276         (csloww2): Likewise.
6278 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6280         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6281         (__malloc_assert, __libc_realloc, __libc_calloc,
6282         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6283         memcpy and memset.
6284         * malloc/hooks.c (realloc_check): Likewise.
6286 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6288         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6289         * malloc/arena.c: Remove PER_THREAD conditional.
6290         [!PER_THREAD]: Remove code.
6291         (ptmalloc_unlock_all2): Likewise.
6292         (ptmalloc_init): Likewise.
6293         (_int_new_arena): Likewise.
6294         (arena_get2): Likewise.
6295         * malloc/hooks.c (__malloc_get_state): Likewise.
6296         (__malloc_set_state): Likewise.
6297         * malloc/malloc.c: Likewise.
6298         (struct malloc_state): Likewise.
6299         (struct malloc_par): Likewise.
6300         (__libc_realloc): Likewise.
6301         (__libc_mallopt): Likewise.
6303 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6305         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6307 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6309         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6310         macro to a function.  Check for zero perturb_byte.
6311         (_int_malloc, _int_free): Remove zero perturb_byte checks.
6313 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6315         * malloc/malloc.c: (force_reg): Remove.
6316         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6317         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6318         force_reg by atomic_forced_read.
6319         * malloc/arena.c (ptmalloc_init): Likewise.
6320         * malloc/hooks.c (top_check): Likewise.
6322 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6326 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
6328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6330 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
6332         * math/auto-libm-test-in: Add tests of lgamma.
6333         * math/auto-libm-test-out: Regenerated.
6334         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6335         (M_LOG_2_SQRT_PIl): Likewise.
6336         (lgamma_test_data): Use AUTO_TESTS_f_f1.
6337         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6338         mpfr_f_f1.
6339         (func_calc_desc): Add mpfr_f_f1 union field.
6340         (ARGS1): New macro.
6341         (ARGS2): Likewise.
6342         (ARGS3): Likewise.
6343         (ARGS4): Likewise.
6344         (RET1): Likewise.
6345         (RET2): Likewise.
6346         (CALC): Likewise.
6347         (FUNC): Likewise.
6348         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6349         (test_functions): Add lgamma.
6350         (calc_generic_results): Handle mpfr_f_f1.
6351         * sysdeps/i386/fpu/libm-test-ulps: Update.
6352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6354 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6356         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6357         __mpn_add_n for PowerPC64/POWER7.
6358         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6359         __mpn_sub_n for PowerPC64/POWER7.
6361 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6363         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6364         __mpn_addmul_1 for PowerPC64.
6365         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6366         __mpn_submul_1 for PowerPC64.
6367         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6368         for PowerPC64.
6369         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6370         for PowerPC64.
6372 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
6374         [BZ #15089]
6375         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6377 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6379         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6381 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6383         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6384         add multiarch folders.
6385         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6386         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6387         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6388         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6389         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6390         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6391         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6392         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6393         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6394         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6395         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6403 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6406         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6408         New file.
6409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6410         New file.
6411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6412         multiarch __ieee754_hypot for PowerPC32.
6413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6414         New file.
6415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6416         New file.
6417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6418         multiarch __ieee754_hypotf for PowerPC32.
6420 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6423         long_double_symbol only if __logbl is defined.
6424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6425         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6427         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6429         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6430         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6431         path for implementation.
6432         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6433         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6435         logb, and logbl multiarch implementations for PowerPC32.
6436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6437         file.
6438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6439         file.
6440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6441         multiarch logb for PowerPC32.
6442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6443         file.
6444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6445         file.
6446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6447         multiarch logbf for PowerPC32.
6448         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6450         file.
6451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6452         multiarch logbl implementation for PowerPC32.
6454 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6457         and modff multiarch implementations.
6458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6459         New file.
6460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6461         New file.
6462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6463         multiarch modf for PowerPC32.
6464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6465         New file.
6466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6467         New file.
6468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6469         multiarch modff for PowerPC32.
6471 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6474         and lrintf multiarch implementations.
6475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6476         New file.
6477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6478         New file.
6479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6480         multiarch lrint for PowerPC32.
6481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6482         file: multiarch lrintf for PowerPC32.
6484 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6487         and lroundf multiarch implementations.
6488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6489         New file.
6490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6491         New file.
6492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6493         New file.
6494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6495         multiarch lround for PowerPC32.
6496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6497         file: multiarch lroundf for PowerPC32.
6499 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6502         copysign and copysignf multiarch implementations.
6503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6504         New file.
6505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6506         New file.
6507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6508         file: multiarch copysign for PowerPC32.
6509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6510         file: multiarch copysignf for PowerPC32.
6512 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6515         and truncf multiarch implementations.
6516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6517         New file.
6518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6519         file.
6520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6521         multiarch trunc for PowerPC32.
6522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6523         New file.
6524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6525         New file.
6526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6527         multiarch truncf for PowerPC32.
6529 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6532         and roundf multiarch implementations.
6533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6534         New file.
6535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6536         file.
6537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6538         multiarch round for PowerPC32.
6539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6540         New file.
6541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6542         New file.
6543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6544         multiarch roundf for PowerPC32.
6546 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6549         and floorf multiarch implementations.
6550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6551         New file.
6552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6553         file.
6554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6555         multiarch floor for PowerPC32.
6556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6557         New file.
6558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6559         New file.
6560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6561         multiarch floorf for PowerPC32.
6563 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6566         and ceilf multiarch implementations.
6567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6568         New file.
6569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6570         file.
6571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6572         multiarch ceil for PowerPC32.
6573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6574         New file.
6575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6576         file.
6577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6578         multiarch ceilf for PowerPC32.
6580 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6582         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6583         is defined.
6584         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6585         FINITEF is defined.
6586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6587         and finitef multiarch implementations.
6588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6589         New file.
6590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6591         file.
6592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6593         multiarch finite for PowerPC32.
6594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6595         New file.
6596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6597         file: multiarch finitef for PowerPC32.
6599 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6602         and isinff multiarch implementations.
6603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6604         file.
6605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6606         file.
6607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6608         multiarch isinf for PowerPC32.
6609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6610         New file.
6611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6612         multiarch isinff for PowerPC32.
6614 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6616         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6617         alias when __isnan is defined.
6618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6619         and isnanf multiarch implementations.
6620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6621         file.
6622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6623         file.
6624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6625         file.
6626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6627         file.
6628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6629         multiarch isnan for PowerPC32.
6630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6631         New file.
6632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6633         New file.
6634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6635         multiarch isnanf for PowerPC32.
6637 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6640         and sqrtf multiarch implementations.
6641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6642         file.
6643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6644         file.
6645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6646         multiarch sqrt for PowerPC32.
6647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6648         file.
6649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6650         file.
6651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6652         multiarch sqrtf for PowerPC32.
6654 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6657         and llroundf multiarch implementations.
6658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6659         New file.
6660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6661         New file.
6662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6663         New file.
6664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6665         file: multiarch llround for PowerPC32.
6666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6667         file: multiarch llroundf for PowerPC32.
6669 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6672         multiarch PowerPC32 fpu implementations.
6673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6674         New file.
6675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6676         New file.
6677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6678         multiarch llrint for PowerPC32.
6679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6680         New file.
6681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6682         New file.
6683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6684         file.
6686 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6690 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6692         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6693         file.
6694         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6695         file.
6696         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6697         file.
6698         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6699         multiarch wordcopy for PPC32.
6700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6701         wordcopy objects.
6702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6703         (__libc_ifunc_impl_list): Likewise.
6704         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6705         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6706         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6707         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6708         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6709         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6711 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6713         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6715         file.
6716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6717         file.
6718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6719         file.
6720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6721         multiarch wcscpy for PPC32.
6722         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6723         multiarch objects.
6724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6725         (__libc_ifunc_impl_list): Likewise.
6726         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6727         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6728         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6729         sysdeps/powerpc/power6/wcscpy.c.
6731 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6733         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6734         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6735         file.
6736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6737         file.
6738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6739         file.
6740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6741         multiarch wcsrchr for PPC32.
6742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6743         multiarch objects.
6744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6745         (__libc_ifunc_impl_list): Likewise.
6746         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6747         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6748         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6749         sysdeps/powerpc/power6/wcsrchr.c.
6751 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6754         file.
6755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6756         file.
6757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6759         multiarch wcschr for PPc32.
6760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6761         multiarch objects.
6762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6763         (__libc_ifunc_impl_list): Likewise.
6764         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6765         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6766         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6767         sysdeps/powerpc/power6/wcschr.c.
6769 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6771         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6772         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6773         file.
6774         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6775         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6776         file: multiarch strchr for PPC32.
6777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6778         multiarch objects.
6779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6780         (__libc_ifunc_impl_list): Likewise.
6782 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6784         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6785         name.
6786         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6787         file.
6788         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6789         file.
6790         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6791         multiarch strchrnul for PPC32.
6792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6793         multiarch objects.
6794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6795         (__libc_ifunc_impl_list): Likewise.
6797 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6799         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6800         file.
6801         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6802         multiarch strncasecmp for PPC32.
6803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6804         file.
6805         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6806         multiarch strncasecmp_l for PPC32.
6807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6808         strncasecmp multiarch objects.
6809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6810         (__libc_ifunc_impl_list): Likewise.
6812 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6814         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6815         file.
6816         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6817         multiarch strncasecmp for PPC32.
6818         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6819         New file.
6820         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6821         multiarch strcasecmp_l for PPC32.
6822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6823         multiarch objects.
6824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6825         (__libc_ifunc_impl_list): Likewise.
6827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6830         file.
6831         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6832         file.
6833         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6834         multiarch strncmp for PPC32.
6835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6836         multiarch objects.
6837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6838         (__libc_ifunc_impl_list): Likewise.
6840 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6842         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6843         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6844         file.
6845         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6846         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6847         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6848         multiarch objects.
6849         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6850         (__libc_ifunc_impl_list): Likewise.
6852 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6854         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6855         file.
6856         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6857         file.
6858         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6860         multiarch objects.
6861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6862         (__libc_ifunc_impl_list): Likewise.
6864 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6866         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6867         file.
6868         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6869         file.
6870         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6871         multiarch rawmemchr for PPC32.
6872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6873         multiarch objects.
6874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6875         (__libc_ifunc_impl_list): Likewise.
6877 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6879         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6880         file.
6881         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6882         file.
6883         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6884         file: memrchr multiarch for PPC32.
6885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6886         multiarch objects.
6887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6888         (__libc_ifunc_impl_list): Likewise.
6890 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6892         * string/memchr.c (__memchr): Using macro to redefine symbol name.
6893         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6894         file.
6895         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6896         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6897         multiarch memchr for PPC32.
6898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6899         multiarch objects.
6900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6901         (__libc_ifunc_impl_list): Likewise.
6903 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6905         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6906         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6907         file.
6908         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6909         file.
6910         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6911         file: multiarch mempcpy for PPC32.
6912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6913         multiarch objects.
6914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6915         (__libc_ifunc_impl_list): Likewise.
6917 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6919         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6920         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6921         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6922         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6923         multiarch bzero for PPC32.
6924         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6925         file.
6926         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6927         file.
6928         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6929         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6930         file: multiarch memset for PPC32.
6931         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6933         memset multiarch objects.
6934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6935         (__libc_ifunc_impl_list): Likewise.
6937 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6939         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6940         file.
6941         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6942         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6943         memcmp for PPC32.
6944         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6945         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6946         multiarch objects.
6947         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6948         (__libc_ifunc_impl_list): Likewise.
6950 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6952         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6953         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6954         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6955         file.
6956         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6957         file.
6958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6959         file.
6960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6961         multiarch memcpy for PPC32.
6962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6963         multiarch objects.
6964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6965         (__libc_ifunc_impl_list): Likewise.
6967 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6970         support multiarch for POWER/PPC32.
6971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6972         Likewise.
6973         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6975         Implies file to make multiarch folder appers before the fpu and
6976         default folder for power4 configuration.
6978 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6980         * scripts/bench.pl: Append volatile keyword to type.
6982 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6984         * sysdeps/sh/sotruss-lib.c: New file.
6985         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6987 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6991 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
6993         [BZ #6810]
6994         * math/w_tgamma.c: Include <errno.h>.
6995         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
6996         * math/w_tgammaf.c: Include <errno.h>.
6997         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
6998         * math/w_tgammal.c: Include <errno.h>.
6999         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
7000         * math/auto-libm-test-in: Do not allow missing errno on tgamma
7001         underflow.  Add more tgamma tests.
7002         * math/auto-libm-test-out: Regenerated.
7003         * sysdeps/i386/fpu/libm-test-ulps: Update.
7004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7006         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7007         sin, sinh, tan, tanh, tgamma, y0 and y1.
7008         * math/auto-libm-test-out: Regenerated.
7009         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7010         (TEST_COND_x86): Likewise.
7011         (M_E2l): Remove macro.
7012         (M_E3l): Likewise.
7013         (M_2_SQRT_PIl): Likewise.
7014         (M_SQRT_PIl): Likewise.
7015         (M_1_DIV_El): Likewise.
7016         (log_test_data): Use AUTO_TESTS_f_f.
7017         (log10_test_data): Likewise.
7018         (log1p_test_data): Likewise.
7019         (log2_test_data): Likewise.
7020         (sin_test_data): Likewise.
7021         (sin_tonearest_test_data): Likewise.
7022         (sin_towardzero_test_data): Likewise.
7023         (sin_downward_test_data): Likewise.
7024         (sin_upward_test_data): Likewise.
7025         (sinh_test_data): Likewise.
7026         (sinh_tonearest_test_data): Likewise.
7027         (sinh_towardzero_test_data): Likewise.
7028         (sinh_downward_test_data): Likewise.
7029         (sinh_upward_test_data): Likewise.
7030         (tan_test_data): Likewise.
7031         (tan_tonearest_test_data): Likewise.
7032         (tan_towardzero_test_data): Likewise.
7033         (tan_downward_test_data): Likewise.
7034         (tan_upward_test_data): Likewise.
7035         (tanh_test_data): Likewise.
7036         (tgamma_test_data): Likewise.
7037         (y0_test_data): Likewise.
7038         (y1_test_data): Likewise.
7039         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7040         (special_real_inputs): Add pi/4.
7041         * sysdeps/i386/fpu/libm-test-ulps: Update.
7042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7044 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7046         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7047         "longjmp_target" static probes.
7048         (__longjmp): Rename to __longjmp_symbol.
7049         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7050         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7051         on which longjmp to generate.
7052         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7053         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7054         probe.
7055         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7056         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7057         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7058         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7059         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7060         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7062         __longjmp_symbol based on which __longjmp to generate.
7063         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7064         probe.
7065         (setjmp): Rename to setjmp_symbol.
7066         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7067         (_setjmp): Rename to _setjmp_symbol.
7068         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7069         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7070         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7071         which setjmp to generate.
7072         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7073         "longjmp_target" static probes.
7075 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7077         * benchtests/README: Add note about output arguments.
7078         * benchtests/bench-sincos.c: Remove file.
7079         * benchtests/sincos-inputs: New file.
7080         * scripts/bench.pl: Identify output arguments and define
7081         static variables for them.
7083         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7085         [BZ #15941]
7086         * Makefile (INSTALL): Add install-plain.texi as the primary
7087         dependency.
7088         * manual/install-plain.texi: New file.
7089         * manual/install.texi: Include node directive only for
7090         non-plaintext output.
7092 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7094         * stdlib/longlong.h: Update from GCC.
7096         [BZ #6807]
7097         [BZ #15901]
7098         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7099         * math/w_j0f.c (y0f): Likewise.
7100         * math/w_j0l.c (__y0l): Likewise.
7101         * math/w_j1.c (y1): Likewise.
7102         * math/w_j1f.c (y1f): Likewise.
7103         * math/w_j1l.c (__y1l): Likewise
7104         * math/w_jn.c (yn): Likewise.
7105         * math/w_jnf.c (ynf): Likewise.
7106         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7107         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
7108         value for Bessel function domain errors outside _SVID_ mode.
7109         Adjust sign of return value for yn (negative integer, 0).
7110         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7111         by zero in return for negative x and set sign appropriately for
7112         negative n.
7113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7114         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7115         * math/libm-test.inc (y0_test_data): Add more tests and adjust
7116         expectations in error cases.
7117         (y1_test_data): Likewise.
7118         (yn_test_data): Likewise.
7119         * sysdeps/i386/fpu/libm-test-ulps: Update.
7120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7122 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7124         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7125         "64" to "64-v1".  Add "64-v2".
7126         (abi-64-options): Rename to ...
7127         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
7128         (abi-64-condition): Rename to ...
7129         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
7130         (abi-64-ld-soname): Rename to ...
7131         (abi-64-v1-ld-soname): ... this.
7132         (abi-64-v2-options): Define.
7133         (abi-64-v2-condition): Likewise.
7134         (abi-64-v2-ld-soname): Likewise.
7135         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7136         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7141 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7142             Alan Modra  <amodra@gmail.com>
7144         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7145         New versions for use with the ELFv2 ABI.
7146         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7147         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7148         declaration.
7149         (struct La_ppc64v2_retval): Likewise.
7150         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7151         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7152         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7153         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7154         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7155         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7156         Do not save or restore CR.
7157         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7158         (_dl_profile_resolve): Do no save or restore CR.  Support extended
7159         return values for ELFv2 ABI.  Fix location of FPR return registers.
7160         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7161         updated values for _CALL_ELF == 2.
7162         (La_regs, La_retval, int_retval): Likewise.
7164 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7166         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7167         (FRAME_MIN_SIZE_PARM): Likewise.
7168         (FRAME_BACKCHAIN): Likewise.
7169         (FRAME_CR_SAVE): Likewise.
7170         (FRAME_LR_SAVE): Likewise.
7171         (FRAME_TOC_SAVE): Likewise.
7172         (FRAME_PARM_SAVE): Likewise.
7173         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7174         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7175         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7176         (call_mcount_parm_offset): New macro.
7177         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7178         (PROF): Use symbolic stack frame offsets.
7179         (TAIL_CALL_SYSCALL_ERROR): Likewise.
7180         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7181         Redefine in terms of FRAME_MIN_SIZE.
7182         (_dl_runtime_resolve): Use symbolic stack frame offsets.
7183         (_dl_profile_resolve): Likewise.  Update comment.
7184         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7185         symbols stack frame offsets.
7186         (__sigsetjmp): Likewise.
7187         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7188         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7189         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7190         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7193         (FRAME_BACKCHAIN): Remove.
7194         (FRAME_CR_SAVE): Likewise.
7195         (FRAME_LR_SAVE): Likewise.
7196         (FRAME_COMPILER_DW): Likewise.
7197         (FRAME_LINKER_DW): Likewise.
7198         (FRAME_TOC_SAVE): Likewise.
7199         (FRAME_PARM_SAVE): Likewise.
7200         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7201         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7202         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7204         (CHECK_SP): Use symbolic stack frame offsets.
7205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7206         zone" instead of caller's parameter save area for temp storage.
7207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7208         Likewise.  Also, use symbolic stack frame offsets.
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7210         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7211         our own stack frame instead of the caller's.
7212         (__socket): Use symbolic stack frame offsets.
7214 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7215             Alan Modra  <amodra@gmail.com>
7217         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7218         Define.
7219         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7220         PPC64_LOCAL_ENTRY_OFFSET): Define.
7221         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7222         New function.
7223         (elf_machine_fixup_plt): Call it.
7224         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
7225         reloc arguments.
7226         (elf_machine_rela): Update call to elf_machine_plt_conflict.
7227         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7228         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7229         r2 before calling target.
7231 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7232             Alan Modra  <amodra@gmail.com>
7234         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7235         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7236         versions of macros to support ELFv2 ABI.
7237         (LOCALENTRY): New macro.
7238         (ENTRY, EALIGN): Use it.
7239         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7240         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7241         fall through into ENTRY entry point.
7242         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7243         Only define if _CALL_ELF != 2.
7245         (elf_machine_matches_host): Verify ABI version matches.
7246         (RTLD_START): Use LOCALENTRY.
7247         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7248         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7249         (PLT_ENTRY_WORDS): New macro.
7250         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7251         (elf_machine_runtime_setup): Support ELFv2 ABI.
7252         (elf_machine_fixup_plt): Likewise.
7253         (elf_machine_plt_conflict): Likewise.
7254         (resolve_ifunc): Likewise.
7255         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7256         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7257         Likewise.
7258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7259         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7261         (makecontext): Support ELFv2 ABI.
7262         * elf/elf.h (EF_PPC64_ABI): Define.
7264 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7266         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7267         New assembler macro.
7268         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7269         [ASSEMBLER] (ENTRY): ... but instead here ...
7270         [ASSEMBLER] (EALIGN): ... and here.
7271         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7272         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7273         [!ASSEMBLER] (ENTRY_2): Use it.
7274         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7275         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
7276         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7277         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7278         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7280         Use PPC64_LOAD_FUNCPTR.
7282 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7284         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7286 2013-12-04  Alan Modra  <amodra@gmail.com>
7288         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7289         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7290         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7291         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7294         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7295         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7296         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7297         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7298         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7300 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7303         (__makecontext): Fix incorrect CFI when backtracing out of
7304         context created via makecontext.
7305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7306         (__setcontext): Fix incorrect CFI during switch to new context.
7307         (__novec_setcontext): Likewise.
7309 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7311         [BZ #4772]
7312         * time/strptime_l.c (__strptime_internal): Allow modifiers
7313         in strptime.
7314         * time/tst-strptime.c (day_tests): Add testcase.
7317 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7319         * scripts/bench.pl: Skip over blank lines.
7321 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7323         [BZ #926]
7324         * manual/time.texi (Calendar Time): Clarify what timezone functions
7325         use.
7327 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7331 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7333         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7334         implementation.
7335         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7336         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7337         * debug/memset_chk.c (__memset_chk): Likewise.
7338         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7339         * debug/strncpy_chk.c: Likewise.
7341 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7343         [BZ #15268]
7344         [BZ #15425]
7345         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7346         (__ieee754_exp): For possibly underflowing results, check size of
7347         result and force underflow exception if required.
7348         * math/auto-libm-test-in: Add more tests of exp.
7349         * math/auto-libm-test-out: Regenerated.
7350         * sysdeps/i386/fpu/libm-test-ulps: Update.
7351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7353         [BZ #16283]
7354         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7355         * math/w_exp2f.c (__exp2f): Likewise.
7356         * math/w_exp2l.c (__exp2l): Likewise.
7357         * math/auto-libm-test-in: Do not allow missing errno on exp2
7358         underflow.
7359         * math/auto-libm-test-out: Regenerated.
7361 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
7363         [BZ #16274]
7364         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7365         handle filename validation.
7366         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7367         (do_open): Delete.
7369 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7371         [BZ #6786]
7372         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7373         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7374         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7375         <float.h>.
7376         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7377         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7378         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7379         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7380         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7381         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7382         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7383         * math/auto-libm-test-in: Don't allow missing errno from erfc.
7384         Add more erfc tests.
7385         * math/auto-libm-test-out: Regenerated.
7386         * sysdeps/i386/fpu/libm-test-ulps: Update.
7387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7389         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7390         exp2, expm1, j0 and j1.
7391         * math/auto-libm-test-out: Regenerated.
7392         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7393         (erfc_test_data): Likewise.
7394         (exp_test_data): Likewise.
7395         (exp_tonearest_test_data): Likewise.
7396         (exp_towardzero_test_data): Likewise.
7397         (exp_downward_test_data): Likewise.
7398         (exp_upward_test_data): Likewise.
7399         (exp10_test_data): Likewise.
7400         (exp2_test_data): Likewise.
7401         (expm1_test_data): Likewise.
7402         (j0_test_data): Likewise.
7403         (j1_test_data): Likewise.
7404         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7405         (input_flag_type): Add flag_xfail_rounding.
7406         (input_flags): Add xfail-rounding.
7407         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7408         (output_for_one_input_case): Handle flag_xfail_rounding.
7409         * sysdeps/i386/fpu/libm-test-ulps: Update.
7410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7412 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
7414         [BZ #16289]
7415         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7416         division by 0.
7418 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7420         [BZ #16195]
7421         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7422         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7423         (STAP_PROBE0): New macro.
7424         (STAP_PROBE1): Likewise.
7425         (STAP_PROBE2): Likewise.
7426         (STAP_PROBE3): Likewise.
7427         (STAP_PROBE4): Likewise.
7429 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
7431         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7433 2013-12-02  Steve Ellcey  <sellcey@mips.com>
7435         * benchtests/Makefile (bench): Add sqrt.
7436         (LDLIBS-bench-sqrt): New.
7437         * benchtests/sqrt-input: New.
7439 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
7441         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7442         (GAIH_EAI): Likewise.
7443         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7444         (gaih_inet): Likewise.
7445         (getaddrinfo): Don't use GAIH_EAI.
7447         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7448         (struct gaih): Remove definition.
7450 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7452         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7453         Use HERRNOP directly.
7455 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7459 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
7461         * math/gen-auto-libm-tests.c (test_functions): Add more
7462         single-argument functions.
7463         (special_fill_pi_2): New function.
7464         (special_fill_minus_pi_2): Likewise.
7465         (special_fill_pi_6): Likewise.
7466         (special_fill_minus_pi_6): Likewise.
7467         (special_fill_pi_3): Likewise.
7468         (special_fill_2pi_3): Likewise.
7469         (special_fill_e): Likewise.
7470         (special_fill_1_e): Likewise.
7471         (special_fill_e_minus_1): Likewise.
7472         (special_real_inputs): Add more special inputs.
7473         (output_for_one_input_case): Do not require ERANGE on underflow to
7474         zero if round-to-nearest result does not underflow to zero, unless
7475         exact results required.
7476         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7477         atan, atanh, cbrt, cos and cosh.
7478         * math/auto-libm-test-out: Regenerated.
7479         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7480         (acos_tonearest_test_data): Likewise.
7481         (acos_towardzero_test_data): Likewise.
7482         (acos_downward_test_data): Likewise.
7483         (acos_upward_test_data): Likewise.
7484         (acosh_test_data): Likewise.
7485         (asin_test_data): Likewise.
7486         (asin_tonearest_test_data): Likewise.
7487         (asin_towardzero_test_data): Likewise.
7488         (asin_upward_test_data): Likewise.
7489         (asinh_test_data): Likewise.
7490         (atan_test_data): Likewise.
7491         (atanh_test_data): Likewise.
7492         (cbrt_test_data): Likewise.
7493         (cos_test_data): Likewise.
7494         (cos_tonearest_test_data): Likewise.
7495         (cos_towardzero_test_data): Likewise.
7496         (cos_downward_test_data): Likewise.
7497         (cos_upward_test_data): Likewise.
7498         (cosh_test_data): Likewise.
7499         (cosh_tonearest_test_data): Likewise.
7500         (cosh_towardzero_test_data): Likewise.
7501         (cosh_downward_test_data): Likewise.
7502         (cosh_upward_test_data): Likewise.
7503         * sysdeps/i386/fpu/libm-test-ulps: Update.
7504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7506 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
7508         [BZ #6787]
7509         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7510         * math/w_exp10f.c (__exp10f): Likewise.
7511         * math/w_exp10l.c (__exp10l): Likewise.
7512         * math/libm-test.inc (exp10_test_data): Add more tests and expect
7513         errno settings in existing tests.
7515         [BZ #14032]
7516         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7517         precision control set to double precision.
7518         * sysdeps/i386/fpu/w_sqrt.c: New file.
7519         * math/auto-libm-test-in: Add more tests.
7520         * math/auto-libm-test-out: Update.
7522         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7523         (sqrt_test_tonearest): New function.
7524         (sqrt_towardzero_test_data): New variable.
7525         (sqrt_test_towardzero): New function.
7526         (sqrt_downward_test_data): New variable.
7527         (sqrt_test_downward): New function.
7528         (sqrt_upward_test_data): New variable.
7529         (sqrt_test_upward): New function.
7530         (main): Call the new functions.
7532         * math/gen-auto-libm-tests.c: New file.
7533         * math/auto-libm-test-in: Likewise.
7534         * math/auto-libm-test-out: New generated file.
7535         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7536         variables.
7537         (%beautify): Add generated representations of zero.
7538         (top level): Set $auto_input and call parse_auto_input.
7539         (beautify): Remove trailing "f" from hex float constants.
7540         (parse_args): Handle XFAIL_TEST.
7541         (convert_condition): New function.
7542         (or_value): Likewise.
7543         (or_cond_value): Likewise.
7544         (generate_testfile): Handle AUTO_TESTS_* lines.
7545         (parse_auto_input): New function.
7546         * math/libm-test.inc (XFAIL_TEST): New macro.
7547         (ERRNO_UNCHANGED): Update value.
7548         (ERRNO_EDOM): Likewise.
7549         (ERRNO_ERANGE): Likewise.
7550         (IGNORE_RESULT): Likewise.
7551         (TEST_COND_flt_32): New macro.
7552         (TEST_COND_dbl_64): Likewise.
7553         (TEST_COND_ldbl_96_intel): Likewise.
7554         (TEST_COND_ldbl_96_m68k): Likewise.
7555         (TEST_COND_ldbl_128): Likewise.
7556         (TEST_COND_ldbl_128ibm): Likewise.
7557         (TEST_COND_long32): Likewise.
7558         (TEST_COND_long64): Likewise.
7559         (TEST_COND_before_rounding): Likewise.
7560         (TEST_COND_after_rounding): Likewise.
7561         (enable_test): Handle XFAIL_TEST flag.
7562         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7563         with finite results.
7564         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7565         auto-libm-test-out.
7567 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7568             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7570         [BZ #16214]
7571         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7572         __tls_get_addr_internal instead of __tls_get_offset in order to
7573         avoid GOT pointer dependency.  Make rtld export
7574         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7575         __tls_get_addr since we are a __tls_get_offset platform.
7576         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7577         GOT pointer being set up before.
7578         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7580 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7582         * manual/math.texi (Errors in Math Functions): Document accuracy
7583         goals.
7585         [BZ #15004]
7586         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7587         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7588         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7589         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7590         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7591         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7592         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7593         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7594         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7595         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7596         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7597         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7598         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7599         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7600         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7601         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7603         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7604         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7605         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7606         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7607         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7608         Likewise.
7609         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7610         Likewise.
7611         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7612         Likewise.
7613         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7614         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7615         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7616         atomic-feupdateenv and flt-rounds.
7617         * sysdeps/powerpc/nofpu/Versions (libc): Add
7618         __atomic_feholdexcept, __atomic_feclearexcept,
7619         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7620         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7621         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7622         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7623         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7624         here.
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7626         Update.
7628         * manual/arith.texi (FP Exceptions): Document that exceptions may
7629         not be raised when matherr is used.
7630         (Math Error Reporting): Document overflow in directed rounding
7631         modes.  Document that errno may not be set when finite values are
7632         returned on overflow.  Document intent to set errno on underflow
7633         only for underflow to zero.
7635         [BZ #16271]
7636         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7637         round-to-nearest then adjust result for other rounding modes.
7638         * include/fenv.h (fegetround): Use libm_hidden_proto.
7639         * math/fegetround.c (fegetround): Use libm_hidden_def.
7640         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7641         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7642         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7643         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7644         Likewise.
7645         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7646         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7647         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7648         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7650 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7652         [BZ #16077]
7653         * nss/Versions (libnss_files): Add
7654         _nss_files_gethostbyname3_r.
7655         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7656         New function.
7657         (HOST_DB_LOOKUP): Remove macro.
7658         (_nss_files_gethostbyname_r): Implement function without the
7659         HOST_DB_LOOKUP macro.
7660         (_nss_files_gethostbyname2_r): Likewise.
7662 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7664         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7666 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7668         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7669         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7670         warning.
7672 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7674         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7675         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7676         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7677         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7678         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7679         __fe_nomask_env_priv and attribute_hidden.
7680         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7681         (libc_feupdateenv_test_ppc): Likewise.
7682         (libc_feresetround_ppc): Likewise.
7683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7684         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7685         compat_symbol macro.
7686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7687         (__fe_nomask_env): Likewise.
7688         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7690 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7692         * string/Makefile: Remove ifunc tests.
7693         * string/test-string.h: Define TEST_IFUNC.
7694         * string/test-bcopy-ifunc.c: Remove.
7695         * string/test-bzero-ifunc.c: Likewise.
7696         * string/test-memccpy-ifunc.c: Likewise.
7697         * string/test-memchr-ifunc.c: Likewise.
7698         * string/test-memcmp-ifunc.c: Likewise.
7699         * string/test-memcpy-ifunc.c: Likewise.
7700         * string/test-memmem-ifunc.c: Likewise.
7701         * string/test-memmove-ifunc.c: Likewise.
7702         * string/test-mempcpy-ifunc.c: Likewise.
7703         * string/test-memrchr-ifunc.c: Likewise.
7704         * string/test-memset-ifunc.c: Likewise.
7705         * string/test-rawmemchr-ifunc.c: Likewise.
7706         * string/test-stpcpy-ifunc.c: Likewise.
7707         * string/test-stpncpy-ifunc.c: Likewise.
7708         * string/test-strcasecmp-ifunc.c: Likewise.
7709         * string/test-strcasestr-ifunc.c: Likewise.
7710         * string/test-strcat-ifunc.c: Likewise.
7711         * string/test-strchr-ifunc.c: Likewise.
7712         * string/test-strchrnul-ifunc.c: Likewise.
7713         * string/test-strcmp-ifunc.c: Likewise.
7714         * string/test-strcpy-ifunc.c: Likewise.
7715         * string/test-strcspn-ifunc.c: Likewise.
7716         * string/test-strlen-ifunc.c: Likewise.
7717         * string/test-strncasecmp-ifunc.c: Likewise.
7718         * string/test-strncat-ifunc.c: Likewise.
7719         * string/test-strncmp-ifunc.c: Likewise.
7720         * string/test-strncpy-ifunc.c: Likewise.
7721         * string/test-strnlen-ifunc.c: Likewise.
7722         * string/test-strpbrk-ifunc.c: Likewise.
7723         * string/test-strrchr-ifunc.c: Likewise.
7724         * string/test-strspn-ifunc.c: Likewise.
7725         * string/test-strstr-ifunc.c: Likewise.
7727 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7729         * benchtests/Makefile: Remove ifunc tests.
7730         * benchtests/bench-string.h: Define TEST_IFUNC.
7731         * benchtests/bench-bcopy-ifunc.c: Remove.
7732         * benchtests/bench-bzero-ifunc.c: Likewise.
7733         * benchtests/bench-memccpy-ifunc.c: Likewise.
7734         * benchtests/bench-memchr-ifunc.c: Likewise.
7735         * benchtests/bench-memcmp-ifunc.c: Likewise.
7736         * benchtests/bench-memcpy-ifunc.c: Likewise.
7737         * benchtests/bench-memmem-ifunc.c: Likewise.
7738         * benchtests/bench-memmove-ifunc.c: Likewise.
7739         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7740         * benchtests/bench-memrchr-ifunc.c: Likewise.
7741         * benchtests/bench-memset-ifunc.c: Likewise.
7742         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7743         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7744         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7745         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7746         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7747         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7748         * benchtests/bench-strcat-ifunc.c: Likewise.
7749         * benchtests/bench-strchr-ifunc.c: Likewise.
7750         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7751         * benchtests/bench-strcmp-ifunc.c: Likewise.
7752         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7753         * benchtests/bench-strcpy-ifunc.c: Likewise.
7754         * benchtests/bench-strcspn-ifunc.c: Likewise.
7755         * benchtests/bench-strlen-ifunc.c: Likewise.
7756         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7757         * benchtests/bench-strncat-ifunc.c: Likewise.
7758         * benchtests/bench-strncmp-ifunc.c: Likewise.
7759         * benchtests/bench-strncpy-ifunc.c: Likewise.
7760         * benchtests/bench-strnlen-ifunc.c: Likewise.
7761         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7762         * benchtests/bench-strrchr-ifunc.c: Likewise.
7763         * benchtests/bench-strsep-ifunc.c: Likewise.
7764         * benchtests/bench-strspn-ifunc.c: Likewise.
7765         * benchtests/bench-strstr-ifunc.c: Likewise.
7767 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7769         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7771 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7773         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7774         * rt/aio.h: Likewise.
7775         * sysdeps/gnu/bits/utmp.h: Likewise.
7776         * sysdeps/gnu/bits/utmpx.h: Likewise.
7777         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7778         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7779         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7780         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7781         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7782         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7783         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7784         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7785         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7786         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7787         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7788         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7789         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7791         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7792         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7793         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7794         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7795         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7796         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7797         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7798         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7799         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7800         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7801         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7803         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7804         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7805         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7806         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7807         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7808         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7809         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7810         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7811         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7812         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7813         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7814         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7815         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7816         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7817         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7818         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7820 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
7822         [BZ #16245]
7823         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7824         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7826 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
7828         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7829         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7830         Likewise.
7832 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7834         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7835         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7836         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7837         (__fesetround): Remove define.
7838         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7839         rounding and exceptions handling.
7840         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7841         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7842         (__fe_nomask_env): Likewise.
7843         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7844         __fegetround instead of fegetround.
7845         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7846         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7848 2013-11-21  Roland McGrath  <roland@hack.frob.com>
7850         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7851         it's there.
7853         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7855 2013-11-21  Meador Inge  <meadori@codesourcery.com>
7857         [BZ #11157]
7858         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7859         (encrypt_r): Likewise.
7860         * malloc/obstack.h (obstack_free): Likewise.
7861         * posix/unistd.h (encrypt): Likewise.
7863 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7865         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7866         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7867         DL_CALL_DT_FINI() that call the functions directly.
7868         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7869         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7870         * elf/dl-fini.c: Likewise.
7872 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
7874         * malloc/hooks.c (memalign_check): Add alignment rounding.
7875         * malloc/malloc.c (_mid_memalign): New function.
7876         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7877         Implement by calling _mid_memalign.
7878         * manual/probes.texi (Memory Allocation Probes): Remove
7879         memory_valloc_retry and memory_pvalloc_retry.
7881 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7883         * locale/programs/locarchive.c (open_archive): Add const
7884         qualifier to ARCHIVEFNAME and copy default fname to
7885         DEFAULT_FNAME.
7887         [BZ #15601]
7888         * libio/tst-widetext.input: Rename Oriya to Odia.
7889         * locale/iso-639.def: Likewise.
7891         * manual/probes.texi (Mathematical Function Probes): Add
7892         documentation for sin, cos, asin and acos probes.
7893         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7894         (__sin32): Add slowasin probe.
7895         (__cos32): Add slowacos probe.
7896         (__mpsin): Add slowsin probe.
7897         (__mpcos): Add slowcos probe.
7899 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
7901         [BZ #15483]
7902         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7903         thread-local __sim_exceptions_thread and global
7904         __sim_exceptions_global.
7905         (__sim_disabled_exceptions): Change to thread-local
7906         __sim_disabled_exceptions_thread and global
7907         __sim_disabled_exceptions_global.
7908         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7909         and global __sim_round_mode_global.
7910         (__simulate_exceptions): Use thread-local floating-point state and
7911         set global state from it as needed.
7912         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7913         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7914         __sim_round_mode_thread.
7915         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7916         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7917         and global __sim_exceptions_global.
7918         (__sim_disabled_exceptions): Change to thread-local
7919         __sim_disabled_exceptions_thread and global
7920         __sim_disabled_exceptions_global.
7921         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7922         and global __sim_round_mode_global.
7923         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7924         (SIM_SET_GLOBAL): Likewise.
7925         * sysdeps/powerpc/soft-fp/sfp-machine.h
7926         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7927         __sim_round_mode_thread.
7928         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7929         __sim_disabled_exceptions_thread.
7930         (__sim_exceptions): Change to __sim_exceptions_thread.
7931         (__sim_disabled_exceptions): Change to
7932         __sim_disabled_exceptions_thread.
7933         (__sim_round_mode): Change to __sim_round_mode_thread.
7934         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7935         thread-local floating-point state and set global state from it as
7936         needed.
7937         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7938         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7939         (__sim_disabled_exceptions): Remove extern declaration.
7940         (feenableexcept): Use thread-local floating-point state and set
7941         global state from it as needed.
7942         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7943         extern declaration.
7944         (__sim_disabled_exceptions): Likewise.
7945         (__sim_round_mode): Likewise.
7946         (__fegetenv): Use thread-local floating-point state.
7947         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7948         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7949         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7950         floating-point state and set global state from it as needed.
7951         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7952         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7953         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7954         Likewise.
7955         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7956         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7957         Likewise.
7958         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7959         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7960         Use __sim_round_mode_thread.
7961         * math/test-fenv-tls.c: New file.
7962         * math/Makefile (tests): Add test-fenv-tls.
7963         ($(objpfx)test-fenv-tls): Depend on
7964         $(common-objpfx)nptl/libpthread.so.
7966 2013-11-19  Andreas Schwab  <schwab@suse.de>
7968         * locale/programs/locale.c (show_info): Decode wordarray elements.
7969         * locale/categories.def (LC_MONETARY): Add element for
7970         _NL_MONETARY_CRNCYSTR.
7971         * locale/C-monetary.c (conversion_rate): New variable.
7972         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7973         element.
7975 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
7977         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7978         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7980 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7982         * elf/Makefile (tst-auxv): New test.
7983         * elf/tst-auxv.c: New
7984         * elf/rtld.c (dl_main): Adjust AT_EXECFN
7986 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
7988         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7989         (hidden_proto): Caller changed.
7990         (hidden_tls_proto): New macro.
7991         (libc_hidden_tls_proto): Likewise.
7992         (rtld_hidden_tls_proto): Likewise.
7993         (libm_hidden_tls_proto): Likewise.
7994         (libresolv_hidden_tls_proto): Likewise.
7995         (librt_hidden_tls_proto): Likewise.
7996         (libdl_hidden_tls_proto): Likewise.
7997         (libnss_files_hidden_tls_proto): Likewise.
7998         (libnsl_hidden_tls_proto): Likewise.
7999         (libnss_nisplus_hidden_tls_proto): Likewise.
8000         (libutil_hidden_tls_proto): Likewise.
8002 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
8004         [BZ #10253]
8005         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8006         (decompose_rpath): Defer expansion to fillin_rpath.
8007         (_dl_init_paths): Pass linkmap to fillin_rpath.
8009 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8011         * benchtests/Makefile: Add strsep.
8012         * benchtests/bench-strsep.c: New file: strsep benchtest.
8013         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8015 2013-11-18  Andreas Schwab  <schwab@suse.de>
8017         * locale/programs/locale.c (show_info) [case byte]: Check for
8018         '\377' instead of '\177'.
8019         * locale/C-monetary.c (not_available): Always use "\377".
8020         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8021         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8022         detect unavailable sign_posn locale elements.
8023         * locale/localeconv.c (__localeconv): For grouping and
8024         mon_grouping handle "\177" and "\377" like no grouping.
8025         (INT_ELEM): New macro.  Use it to set all numeric members.
8026         * locale/programs/ld-monetary.c (monetary_read)
8027         <tok_mon_grouping>: Normalize single -1 to the empty string.
8028         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8029         Likewise.
8031 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8033         [BZ #16055]
8034         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8035         when we match (nil).
8036         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8038 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8040         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8041         (NO_TEST_INLINE): Update value.
8042         (ERRNO_UNCHANGED): Likewise.
8043         (ERRNO_EDOM): Likewise.
8044         (ERRNO_ERANGE): Likewise.
8045         (IGNORE_RESULT): Likewise.
8046         (check_float_internal): Check signs of NaN results if
8047         TEST_NAN_SIGN used.
8048         (check_complex): Pass TEST_NAN_SIGN flag through to second
8049         check_float_internal call.
8050         (copysign_test_data): Add tests with quiet NaNs as second
8051         argument.  Use TEST_NAN_SIGN.
8052         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8053         TEST_NAN_SIGN.
8054         (signbit_test_data): Add tests of quiet NaN argument.
8055         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8057         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8058         $ignore_result.
8059         (parse_args): Handle function results specified as IGNORE.
8060         * math/libm-test.inc (IGNORE_RESULT): New macro.
8061         (check_float_internal): Do not check numerical result if flag
8062         IGNORE_RESULT set.
8063         (check_complex): Pass through IGNORE_RESULT to second
8064         check_float_internal call.
8065         (check_int): Do not check numerical result if flag IGNORE_RESULT
8066         set.
8067         (check_long): Likewise.
8068         (check_bool): Likewise.
8069         (check_longlong): Likewise.
8070         (lrint_test_data): Add tests of infinite and NaN arguments.
8071         (lrint_tonearest_test_data): Likewise.
8072         (lrint_towardzero_test_data): Likewise.
8073         (lrint_downward_test_data): Likewise.
8074         (lrint_upward_test_data): Likewise.
8075         (llrint_test_data): Likewise.
8076         (llrint_tonearest_test_data): Likewise.
8077         (llrint_towardzero_test_data): Likewise.
8078         (llrint_downward_test_data): Likewise.
8079         (llrint_upward_test_data): Likewise.
8080         (lround_test_data): Likewise.
8081         (llround_test_data): Likewise.
8083         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8084         (ERRNO_UNCHANGED): Update value.
8085         (ERRNO_EDOM): Likewise.
8086         (ERRNO_ERANGE): Likewise.
8087         (NO_TEST_INLINE_FLOAT): New macro.
8088         (NO_TEST_INLINE_DOUBLE): Likewise.
8089         (enable_test): New function.
8090         (RUN_TEST_f_f): Check enable_test before running test.
8091         (RUN_TEST_2_f): Likewise.
8092         (RUN_TEST_fff_f): Likewise.
8093         (RUN_TEST_c_f): Likewise.
8094         (RUN_TEST_f_f1): Likewise.
8095         (RUN_TEST_fF_f1): Likewise.
8096         (RUN_TEST_fI_f1): Likewise.
8097         (RUN_TEST_ffI_f1): Likewise.
8098         (RUN_TEST_c_c): Likewise.
8099         (RUN_TEST_cc_c): Likewise.
8100         (RUN_TEST_f_i): Likewise.
8101         (RUN_TEST_f_i_tg): Likewise.
8102         (RUN_TEST_ff_i_tg): Likewise.
8103         (RUN_TEST_f_b): Likewise.
8104         (RUN_TEST_f_b_tg): Likewise.
8105         (RUN_TEST_f_l): Likewise.
8106         (RUN_TEST_f_L): Likewise.
8107         (RUN_TEST_fFF_11): Likewise.
8108         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8109         conditionals.
8110         (cosh_test_data): Likewise.
8111         (exp_test_data): Likewise.
8112         (expm1_test_data): Likewise.
8113         (hypot_test_data): Likewise.
8114         (pow_test_data): Likewise.
8115         (sinh_test_data): Likewise.
8116         (tanh_test_data): Likewise.
8117         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8118         flags argument.
8120         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8121         tests with quiet NaN input and output.
8122         (acosh_test_data): Likewise.
8123         (asin_test_data): Likewise.
8124         (asinh_test_data): Likewise.
8125         (atan_test_data): Likewise.
8126         (atanh_test_data): Likewise.
8127         (atan2_test_data): Likewise.
8128         (cbrt_test_data): Likewise.
8129         (cos_test_data): Likewise.
8130         (cosh_test_data): Likewise.
8131         (erf_test_data): Likewise.
8132         (erfc_test_data): Likewise.
8133         (exp_test_data): Likewise.
8134         (exp10_test_data): Likewise.
8135         (exp2_test_data): Likewise.
8136         (expm1_test_data): Likewise.
8137         (hypot_test_data): Likewise.
8138         (j0_test_data): Likewise.
8139         (j1_test_data): Likewise.
8140         (jn_test_data): Likewise.
8141         (lgamma_test_data): Likewise.
8142         (log_test_data): Likewise.
8143         (log10_test_data): Likewise.
8144         (log1p_test_data): Likewise.
8145         (log2_test_data): Likewise.
8146         (pow_test_data): Likewise.
8147         (scalb_test_data): Likewise.
8148         (sin_test_data): Likewise.
8149         (sincos_test_data): Likewise.
8150         (sinh_test_data): Likewise.
8151         (tan_test_data): Likewise.
8152         (tanh_test_data): Likewise.
8153         (tgamma_test_data): Likewise.
8154         (y0_test_data): Likewise.
8155         (y1_test_data): Likewise.
8156         (yn_test_data): Likewise.
8158         [BZ #16167]
8159         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8160         argument being NaN and avoid computations with second argument in
8161         that case.
8162         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8163         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8164         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8166 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
8168         * locale/iso-639.def: Add Chitwani Tharu (the).
8170 2013-11-14  Andreas Schwab  <schwab@suse.de>
8172         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8173         word instead of empty string.
8175 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8178         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8180         (__fe_nomask_env): Likewise.
8182 2013-11-13  Steve Ellcey  <sellcey@mips.com>
8184         * benchtests/bench-timing.h: Include time.h.
8186 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
8188         [BZ #15997]
8189         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8190         to 3.4.0 for x32.
8191         * sysdeps/unix/sysv/linux/configure: Regenerated.
8193 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
8195         [BZ #16151]
8196         * stdlib/strtod_l.c (round_and_return): Do not consider
8197         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8198         exponent one less than half the least subnormal exponent.
8199         * stdlib/test-strtod-round-data: Add more tests.
8200         * stdlib/tst-strtod-round.c (tests): Regenerated.
8202 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8204         [BZ #14143]
8205         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8206         (__fe_mask_env): Likewise.
8207         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8208         libm_hidden_proto and add function prototype.
8209         (__fe_mask_env): Add function prototype.
8210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8211         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8213         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8215         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8217 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8219         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8220         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8222 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8224         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8225         of htab_find_slot().
8227 2013-11-11  David S. Miller  <davem@davemloft.net>
8229         [BZ #16150]
8230         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8231         symbol in the non-vis3 case in static builds.
8232         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8233         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8234         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8235         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8237 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8239         [BZ #387]
8240         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8241         it is empty.
8243 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8245         * benchtests/Makefile: Add bench-strtod.
8246         * benchtests/bench-strtod.c: New file: strtod benchtest
8248 2013-11-11  Andreas Schwab  <schwab@suse.de>
8250         [BZ #16153]
8251         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8252         terminating NUL in key length.
8254 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8256         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8257         Add artificial ODP entry for vDSO symbol for PPC64.
8258         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8259         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8261 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8263         [BZ #15374]
8264         * nss/getent.c (services_keys): Recognize services starting with digit.
8266 2013-11-06  David S. Miller  <davem@davemloft.net>
8268         [BZ #15985]
8269         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8270         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8272 2013-11-06  Will Newton  <will.newton@linaro.org>
8274         * manual/memory.texi (Malloc Examples): Remove register
8275         keyword from examples.
8277 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
8279         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8281 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
8283         [BZ #6981]
8284         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8285         depending on [__GCC_IEC_559 > 0].
8286         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8287         depending on [__GCC_IEC_559_COMPLEX > 0].
8289 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
8291         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8292         to iso-639.def.
8294 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
8296         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8298 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
8300         [BZ #16112]
8301         * malloc/malloc (malloc_info): Do not handle first bin as
8302         special case.
8304 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
8306         * locale/iso-639.def: Add Central Nahuatl (nhn).
8308 2013-11-01  Bruno Haible  <bruno@clisp.org>
8310         [BZ #7003]
8311         * manual/math.texi (BSD Random): Specify range upper bound as
8312         in POSIX.
8314 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
8316         * locale/iso-639.def: Add Meadow Mari (mhr).
8318 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
8320         [BZ #14752], [BZ #15763]
8321         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8322         Validate name.
8323         * rt/tst_shm.c: Add test for escaping directory.
8325 2013-10-31  Andreas Schwab  <schwab@suse.de>
8327         [BZ #15917]
8328         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8329         followed by 'x' as part of digit sequence.
8330         * stdio-common/tst-sscanf.c (double_tests2): New tests.
8332 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8334         [BZ #16037]
8335         * configure.ac: allow GNU Make 4.0 and greater.
8336         * configure: Regenerated.
8338 2013-10-30  Will Newton  <will.newton@linaro.org>
8340         [BZ #16038]
8341         * malloc/hooks.c (memalign_check): Limit alignment to the
8342         maximum representable power of two.
8343         * malloc/malloc.c (__libc_memalign): Likewise.
8344         * malloc/tst-memalign.c (do_test): Add test for very
8345         large alignment values.
8346         * malloc/tst-posix_memalign.c (do_test): Likewise.
8348 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8350         [BZ #11087]
8351         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8352         (munmap_chunk): Likewise.
8353         (mremap_chunk): Likewise.
8355 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8357         [BZ #15799]
8358         * stdlib/div.c (div): Remove obsolete code.
8359         * stdlib/ldiv.c (ldiv): Likewise.
8360         * stdlib/lldiv.c (lldiv): Likewise.
8362 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8364         [BZ #16071]
8365         * nss/nss_files/files-XXX.c (get_contents_ret): New
8366         enumerator.
8367         (get_contents): New function.
8368         (internal_getent): Use it.  Expand size of LINEBUFLEN.
8370 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
8372         * configure.in: Moved to ...
8373         * configure.ac: ... here. Change reference to configure.in
8374         to configure.ac.
8375         * sysdeps/arm/preconfigure.ac: ... here.
8376         configure.in to configure.ac.
8377         * sysdeps/gnu/configure.in: Moved to ...
8378         * sysdeps/gnu/configure.ac: ... here.
8379         * sysdeps/i386/configure.in: Moved to ...
8380         * sysdeps/i386/configure.ac: ... here.
8381         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8382         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8383         * sysdeps/mach/configure.in: Moved to ...
8384         * sysdeps/mach/configure.ac: ... here.
8385         * sysdeps/mach/hurd/configure.in: Moved to ...
8386         * sysdeps/mach/hurd/configure.ac: ... here.
8387         * sysdeps/powerpc/configure.in: Moved to ...
8388         * sysdeps/powerpc/configure.ac: ... here.
8389         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8390         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8391         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8392         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8393         * sysdeps/s390/s390-32/configure.in: Moved to ...
8394         * sysdeps/s390/s390-32/configure.ac: ... here.
8395         * sysdeps/s390/s390-64/configure.in: Moved to ...
8396         * sysdeps/s390/s390-64/configure.ac: ... here.
8397         * sysdeps/sh/configure.in: Moved to ...
8398         * sysdeps/sh/configure.ac: ... here.
8399         * sysdeps/sparc/configure.in: Moved to ...
8400         * sysdeps/sparc/configure.ac: ... here.
8401         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8402         * sysdeps/unix/sysv/linux/configure.ac: ... here.
8403         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8404         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8405         * sysdeps/x86_64/configure.in: Moved to ...
8406         * sysdeps/x86_64/configure.ac: ... here.
8407         * sysdeps/x86_64/preconfigure.in: Moved to ...
8408         * sysdeps/x86_64/preconfigure.ac: ... here.
8409         * aclocal.m4: Change reference to configure.in to configure.ac.
8410         * config.h.in: Likewise.
8411         * manual/install.texi: Likewise.
8412         * manual/maint.texi: Likewise.
8413         * Makefile: Likewise.
8414         * malloc/Makefile: Likewise.
8415         * nscd/Makefile: Likewise.
8416         * Makeconfig: Change reference to configure.in and
8417         preconfigure.in to configure.ac and preconfigure.ac
8418         respectively.
8419         * INSTALL: Regenerated.
8420         * configure: Likewise.
8421         * sysdeps/gnu/configure: Likewise.
8422         * sysdeps/i386/configure: Likewise.
8423         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8424         * sysdeps/mach/configure: Likewise.
8425         * sysdeps/mach/hurd/configure: Likewise.
8426         * sysdeps/powerpc/configure: Likewise.
8427         * sysdeps/powerpc/powerpc32/configure: Likewise.
8428         * sysdeps/powerpc/powerpc64/configure: Likewise.
8429         * sysdeps/s390/s390-32/configure: Likewise.
8430         * sysdeps/s390/s390-64/configure: Likewise.
8431         * sysdeps/sh/configure: Likewise.
8432         * sysdeps/sparc/configure: Likewise.
8433         * sysdeps/unix/sysv/linux/configure: Likewise.
8434         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8435         * sysdeps/x86_64/configure: Likewise.
8436         * sysdeps/x86_64/preconfigure: Likewise.
8438 2013-10-29  Andreas Schwab  <schwab@suse.de>
8440         * stdio-common/Makefile (tst-swscanf-ENV): Define.
8442 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8444         * benchtests/pow-inputs: Add new inputs.
8446         * benchtests/exp-inputs: Add new inputs.
8448         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8449         conditional check for return value.
8450         (__cos32): Likewise.
8452 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8454         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8455         to provide a boost for large inputs with word alignment.
8456         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8457         implementation based on optimized PPC64 strcpy.
8458         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8459         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8460         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8461         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8463 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8465         [BZ #2801]
8466         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8468 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8470         [BZ #14876]
8471         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8472         * time/tst-strptime.c (day_tests): Add testcase.
8474 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8476         [BZ #14029]
8477         * manual/pattern.texi: Acknowledge that fnmatch can fail.
8479 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
8481         [BZ #16074]
8482         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8483         MAP_FAILED on error.
8485 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8487         [BZ #16072]
8488         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8489         heap for large requests.
8491 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
8493         [BZ #9954]
8494         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8495         result if the result has no associated interface.
8496         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8497         interface for all 127.X.Y.Z addresses.
8499 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
8501         * locale/iso-639.def: Add Ligurian (lij)
8503 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
8505         [BZ #15825]
8506         * sunrpc/rpc_main.c: Document rpcgen -5.
8508 2013-10-19  Michael Stahl  <mstahl@redhat.com>
8510         * elf/rtld.c (do_preload): Print the reason why preloading failed.
8512 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8514         [BZ #10278]
8515         * posix/glob.c: Match only directories when trailing slash is present.
8516         * posix/tst-gnuglob.c (my_opendir): Do not open files.
8517         (main): Add testcase.
8519 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8521         [BZ #15670]
8522         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8524 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
8526         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8527         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8528         AUTH_DES and cindex for FIPS 140-2.
8529         (DES Encryption): Add cindex FIPS 46-3.
8531         * locale/locarchive.h (struct locarhandle): Add fname.
8532         * locale/programs/localedef.c (main): Pass ARGV[remaining]
8533         if an optional argument was specified to --list-archive,
8534         otherwise NULL.
8535         * locale/programs/locarchive.c (show_archive_content): Take new
8536         argument fname and pass it via ah.fname to open_archive.
8537         * locale/programs/localedef.h: Update decl.
8538         (open_archive): If AH->fname is non-null, open that file
8539         rather than the default file name, and don't ignore ENOENT.
8540         (create_archive): Set AH.fname to NULL.
8541         (delete_locales_from_archive): Likewise.
8542         (add_locales_to_archive): Likewise.
8543         * locale/programs/locfile.c (write_all_categories): Likewise.
8545 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8546             Aldy Hernandez  <aldyh@redhat.com>
8548         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8549         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8550         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8551         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8552         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8553         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8554         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8555         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8556         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8557         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8558         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8559         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8560         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8561         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8562         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8563         Likewise.
8564         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8565         Likewise.
8566         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8567         Likewise.
8568         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8569         Likewise.
8570         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8571         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8572         Likewise.
8573         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8574         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8575         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8576         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8577         Likewise.
8578         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8579         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8580         * sysdeps/powerpc/preconfigure: Likewise.
8581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8582         Likewise.
8583         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8584         Replace contents of file by #include of <fenv_libc.h>.
8585         * sysdeps/powerpc/soft-fp/sfp-machine.h
8586         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8587         and <sys/prctl.h>.
8588         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8589         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8590         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8591         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8592         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8593         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8595         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8596         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8597         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8598         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8599         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8601         Allow copysignl PLT reference to be missing.
8603 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8604             Joseph Myers  <joseph@codesourcery.com
8606         [BZ #15948]
8607         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8608         single character.
8609         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8611 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8613         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8614         * elf/tst-tls1.c: Likewise.
8615         * elf/tst-tls10.h: Likewise.
8616         * elf/tst-tls14.c: Likewise.
8617         * elf/tst-tls2.c: Likewise.
8618         * elf/tst-tls3.c: Likewise.
8619         * elf/tst-tls4.c: Likewise.
8620         * elf/tst-tls5.c: Likewise.
8621         * elf/tst-tls6.c: Likewise.
8622         * elf/tst-tls7.c: Likewise.
8623         * elf/tst-tls8.c: Likewise.
8624         * elf/tst-tls9.c: Likewise.
8625         * elf/tst-tlsmod1.c: Likewise.
8626         * elf/tst-tlsmod13.c: Likewise.
8627         * elf/tst-tlsmod13a.c: Likewise.
8628         * elf/tst-tlsmod14a.c: Likewise.
8629         * elf/tst-tlsmod16a.c: Likewise.
8630         * elf/tst-tlsmod16b.c: Likewise.
8631         * elf/tst-tlsmod2.c: Likewise.
8632         * elf/tst-tlsmod3.c: Likewise.
8633         * elf/tst-tlsmod4.c: Likewise.
8634         * elf/tst-tlsmod5.c: Likewise.
8635         * elf/tst-tlsmod6.c: Likewise.
8637 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
8639         [BZ #12486]
8640         * malloc/malloc.c: remove checks for statistics.
8642 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8644         [BZ #15277]
8645         * inet/inet_net.c (inet_network): Detect additional invalid strings.
8646         * inet/tst-network.c: Add testcase.
8648 2013-10-17  Andreas Schwab  <schwab@suse.de>
8650         [BZ #15218]
8651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8652         to determine canonical name.
8654 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8656         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8657         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8658         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8659         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8660         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8661         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8662         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8663         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8664         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8665         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8666         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8667         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8668         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8669         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8670         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8671         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8672         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8673         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8674         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8675         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8676         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8677         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8678         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8679         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8680         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8681         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8682         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8683         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8684         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8685         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8686         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8687         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8688         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8689         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8690         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8691         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8692         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8693         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8694         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8695         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8696         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8697         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8698         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8699         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8700         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8701         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8702         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8703         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8704         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8705         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8706         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8707         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8708         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8709         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8710         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8711         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8712         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8713         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8715 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8717         [BZ #16041]
8718         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8719         make result into a quiet NaN.
8721 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8723         * soft-fp/adddf3.c: Fix horizontal whitespace.
8724         * soft-fp/addsf3.c: Likewise.
8725         * soft-fp/addtf3.c: Likewise.
8726         * soft-fp/divdf3.c: Likewise.
8727         * soft-fp/divsf3.c: Likewise.
8728         * soft-fp/divtf3.c: Likewise.
8729         * soft-fp/double.h: Likewise.
8730         * soft-fp/eqdf2.c: Likewise.
8731         * soft-fp/eqsf2.c: Likewise.
8732         * soft-fp/eqtf2.c: Likewise.
8733         * soft-fp/extenddftf2.c: Likewise.
8734         * soft-fp/extended.h: Likewise.
8735         * soft-fp/extendsfdf2.c: Likewise.
8736         * soft-fp/extendsftf2.c: Likewise.
8737         * soft-fp/extendxftf2.c: Likewise.
8738         * soft-fp/fixdfdi.c: Likewise.
8739         * soft-fp/fixdfsi.c: Likewise.
8740         * soft-fp/fixdfti.c: Likewise.
8741         * soft-fp/fixsfdi.c: Likewise.
8742         * soft-fp/fixsfsi.c: Likewise.
8743         * soft-fp/fixsfti.c: Likewise.
8744         * soft-fp/fixtfdi.c: Likewise.
8745         * soft-fp/fixtfsi.c: Likewise.
8746         * soft-fp/fixtfti.c: Likewise.
8747         * soft-fp/fixunsdfdi.c: Likewise.
8748         * soft-fp/fixunsdfsi.c: Likewise.
8749         * soft-fp/fixunsdfti.c: Likewise.
8750         * soft-fp/fixunssfdi.c: Likewise.
8751         * soft-fp/fixunssfsi.c: Likewise.
8752         * soft-fp/fixunssfti.c: Likewise.
8753         * soft-fp/fixunstfdi.c: Likewise.
8754         * soft-fp/fixunstfsi.c: Likewise.
8755         * soft-fp/fixunstfti.c: Likewise.
8756         * soft-fp/floatdidf.c: Likewise.
8757         * soft-fp/floatdisf.c: Likewise.
8758         * soft-fp/floatditf.c: Likewise.
8759         * soft-fp/floatsidf.c: Likewise.
8760         * soft-fp/floatsisf.c: Likewise.
8761         * soft-fp/floatsitf.c: Likewise.
8762         * soft-fp/floattidf.c: Likewise.
8763         * soft-fp/floattisf.c: Likewise.
8764         * soft-fp/floattitf.c: Likewise.
8765         * soft-fp/floatundidf.c: Likewise.
8766         * soft-fp/floatundisf.c: Likewise.
8767         * soft-fp/floatunditf.c: Likewise.
8768         * soft-fp/floatunsidf.c: Likewise.
8769         * soft-fp/floatunsisf.c: Likewise.
8770         * soft-fp/floatunsitf.c: Likewise.
8771         * soft-fp/floatuntidf.c: Likewise.
8772         * soft-fp/floatuntisf.c: Likewise.
8773         * soft-fp/floatuntitf.c: Likewise.
8774         * soft-fp/fmadf4.c: Likewise.
8775         * soft-fp/fmasf4.c: Likewise.
8776         * soft-fp/fmatf4.c: Likewise.
8777         * soft-fp/gedf2.c: Likewise.
8778         * soft-fp/gesf2.c: Likewise.
8779         * soft-fp/getf2.c: Likewise.
8780         * soft-fp/ledf2.c: Likewise.
8781         * soft-fp/lesf2.c: Likewise.
8782         * soft-fp/letf2.c: Likewise.
8783         * soft-fp/muldf3.c: Likewise.
8784         * soft-fp/mulsf3.c: Likewise.
8785         * soft-fp/multf3.c: Likewise.
8786         * soft-fp/negdf2.c: Likewise.
8787         * soft-fp/negsf2.c: Likewise.
8788         * soft-fp/negtf2.c: Likewise.
8789         * soft-fp/op-1.h: Likewise.
8790         * soft-fp/op-2.h: Likewise.
8791         * soft-fp/op-4.h: Likewise.
8792         * soft-fp/op-8.h: Likewise.
8793         * soft-fp/op-common.h: Likewise.
8794         * soft-fp/quad.h: Likewise.
8795         * soft-fp/single.h: Likewise.
8796         * soft-fp/soft-fp.h: Likewise.
8797         * soft-fp/sqrtdf2.c: Likewise.
8798         * soft-fp/sqrtsf2.c: Likewise.
8799         * soft-fp/sqrttf2.c: Likewise.
8800         * soft-fp/subdf3.c: Likewise.
8801         * soft-fp/subsf3.c: Likewise.
8802         * soft-fp/subtf3.c: Likewise.
8803         * soft-fp/truncdfsf2.c: Likewise.
8804         * soft-fp/trunctfdf2.c: Likewise.
8805         * soft-fp/trunctfsf2.c: Likewise.
8806         * soft-fp/trunctfxf2.c: Likewise.
8807         * soft-fp/unorddf2.c: Likewise.
8808         * soft-fp/unordsf2.c: Likewise.
8809         * soft-fp/unordtf2.c: Likewise.
8811 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
8813         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8814         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8816 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
8818         * elf/dl-libc.c: Clear initfini list after freeing.
8820 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
8822         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8823         * soft-fp/addsf3.c: Likewise.
8824         * soft-fp/addtf3.c: Likewise.
8825         * soft-fp/divdf3.c: Likewise.
8826         * soft-fp/divsf3.c: Likewise.
8827         * soft-fp/divtf3.c: Likewise.
8828         * soft-fp/double.h: Likewise.
8829         * soft-fp/eqdf2.c: Likewise.
8830         * soft-fp/eqsf2.c: Likewise.
8831         * soft-fp/eqtf2.c: Likewise.
8832         * soft-fp/extenddftf2.c: Likewise.
8833         * soft-fp/extended.h: Likewise.
8834         * soft-fp/extendsfdf2.c: Likewise.
8835         * soft-fp/extendsftf2.c: Likewise.
8836         * soft-fp/extendxftf2.c: Likewise.
8837         * soft-fp/fixdfdi.c: Likewise.
8838         * soft-fp/fixdfsi.c: Likewise.
8839         * soft-fp/fixdfti.c: Likewise.
8840         * soft-fp/fixsfdi.c: Likewise.
8841         * soft-fp/fixsfsi.c: Likewise.
8842         * soft-fp/fixsfti.c: Likewise.
8843         * soft-fp/fixtfdi.c: Likewise.
8844         * soft-fp/fixtfsi.c: Likewise.
8845         * soft-fp/fixtfti.c: Likewise.
8846         * soft-fp/fixunsdfdi.c: Likewise.
8847         * soft-fp/fixunsdfsi.c: Likewise.
8848         * soft-fp/fixunsdfti.c: Likewise.
8849         * soft-fp/fixunssfdi.c: Likewise.
8850         * soft-fp/fixunssfsi.c: Likewise.
8851         * soft-fp/fixunssfti.c: Likewise.
8852         * soft-fp/fixunstfdi.c: Likewise.
8853         * soft-fp/fixunstfsi.c: Likewise.
8854         * soft-fp/fixunstfti.c: Likewise.
8855         * soft-fp/floatdidf.c: Likewise.
8856         * soft-fp/floatdisf.c: Likewise.
8857         * soft-fp/floatditf.c: Likewise.
8858         * soft-fp/floatsidf.c: Likewise.
8859         * soft-fp/floatsisf.c: Likewise.
8860         * soft-fp/floatsitf.c: Likewise.
8861         * soft-fp/floattidf.c: Likewise.
8862         * soft-fp/floattisf.c: Likewise.
8863         * soft-fp/floattitf.c: Likewise.
8864         * soft-fp/floatundidf.c: Likewise.
8865         * soft-fp/floatundisf.c: Likewise.
8866         * soft-fp/floatunsidf.c: Likewise.
8867         * soft-fp/floatunsisf.c: Likewise.
8868         * soft-fp/floatuntidf.c: Likewise.
8869         * soft-fp/floatuntisf.c: Likewise.
8870         * soft-fp/floatuntitf.c: Likewise.
8871         * soft-fp/fmadf4.c: Likewise.
8872         * soft-fp/fmasf4.c: Likewise.
8873         * soft-fp/fmatf4.c: Likewise.
8874         * soft-fp/gedf2.c: Likewise.
8875         * soft-fp/gesf2.c: Likewise.
8876         * soft-fp/getf2.c: Likewise.
8877         * soft-fp/ledf2.c: Likewise.
8878         * soft-fp/lesf2.c: Likewise.
8879         * soft-fp/letf2.c: Likewise.
8880         * soft-fp/muldf3.c: Likewise.
8881         * soft-fp/mulsf3.c: Likewise.
8882         * soft-fp/multf3.c: Likewise.
8883         * soft-fp/negdf2.c: Likewise.
8884         * soft-fp/negsf2.c: Likewise.
8885         * soft-fp/negtf2.c: Likewise.
8886         * soft-fp/op-1.h: Likewise.
8887         * soft-fp/op-2.h: Likewise.
8888         * soft-fp/op-4.h: Likewise.
8889         * soft-fp/op-8.h: Likewise.
8890         * soft-fp/op-common.h: Likewise.
8891         * soft-fp/quad.h: Likewise.
8892         * soft-fp/single.h: Likewise.
8893         * soft-fp/soft-fp.h: Likewise.
8894         * soft-fp/sqrtdf2.c: Likewise.
8895         * soft-fp/sqrtsf2.c: Likewise.
8896         * soft-fp/sqrttf2.c: Likewise.
8897         * soft-fp/subdf3.c: Likewise.
8898         * soft-fp/subsf3.c: Likewise.
8899         * soft-fp/subtf3.c: Likewise.
8900         * soft-fp/truncdfsf2.c: Likewise.
8901         * soft-fp/trunctfdf2.c: Likewise.
8902         * soft-fp/trunctfsf2.c: Likewise.
8903         * soft-fp/trunctfxf2.c: Likewise.
8904         * soft-fp/unorddf2.c: Likewise.
8905         * soft-fp/unordsf2.c: Likewise.
8906         * soft-fp/unordtf2.c: Likewise.
8908 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
8910         [BZ #15672]
8911         * misc/error.c (error_tail): Fix possible buffer overflow.
8913 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
8915         [BZ #13028]
8916         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8917         address.
8919 2013-10-14  P. J. McDermott  <pj@pehjota.net>
8921         [BZ #832]
8922         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
8923         testing pipefail option.
8925 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8927         * soft-fp/double.h: Indent preprocessor directives inside #if.
8928         * soft-fp/extended.h: Likewise.
8929         * soft-fp/op-2.h: Likewise.
8930         * soft-fp/op-4.h: Likewise.
8931         * soft-fp/op-common.h: Likewise.
8932         * soft-fp/quad.h: Likewise.
8933         * soft-fp/single.h: Likewise.
8934         * soft-fp/soft-fp.h: Likewise.
8936 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
8938         * iconv/iconv_prog.c: Fix typos.
8939         * stdio-common/psiginfo-data.h: Likewise.
8941 2013-10-12   Reuben Thomas <rrt@sc3d.org>
8943         [BZ #15764]
8944         * locale/setlocale.c: Fix typo.
8946 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8948         [BZ #16036]
8949         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8950         signaling NaN arguments.
8951         * soft-fp/unordsf2.c (__unordsf2): Likewise.
8952         * soft-fp/unordtf2.c (__unordtf2): Likewise.
8954         [BZ #14910]
8955         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8956         unordered operands.
8957         * soft-fp/gesf2.c (__gesf2): Likewise.
8958         * soft-fp/getf2.c (__getf2): Likewise.
8959         * soft-fp/ledf2.c (__ledf2): Likewise.
8960         * soft-fp/lesf2.c (__lesf2): Likewise.
8961         * soft-fp/letf2.c (__letf2): Likewise.
8963         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8964         * soft-fp/eqsf2.c (__eqsf2): Likewise.
8965         * soft-fp/eqtf2.c (__eqtf2): Likewise.
8966         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8967         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8968         * soft-fp/fixdfti.c (__fixdfti): Likewise.
8969         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8970         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8971         * soft-fp/fixsfti.c (__fixsfti): Likewise.
8972         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8973         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8974         * soft-fp/fixtfti.c (__fixtfti): Likewise.
8975         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8976         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8977         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8978         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8979         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8980         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8981         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8982         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8983         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8984         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8985         * soft-fp/floatdisf.c (__floatdisf): Likewise.
8986         * soft-fp/floatsisf.c (__floatsisf): Likewise.
8987         * soft-fp/floattidf.c (__floattidf): Likewise.
8988         * soft-fp/floattisf.c (__floattisf): Likewise.
8989         * soft-fp/floattitf.c (__floattitf): Likewise.
8990         * soft-fp/floatundidf.c (__floatundidf): Likewise.
8991         * soft-fp/floatundisf.c (__floatundisf): Likewise.
8992         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8993         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8994         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8995         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8996         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8997         * soft-fp/gesf2.c (__gesf2): Likewise.
8998         * soft-fp/getf2.c (__getf2): Likewise.
8999         * soft-fp/ledf2.c (__ledf2): Likewise.
9000         * soft-fp/lesf2.c (__lesf2): Likewise.
9001         * soft-fp/letf2.c (__letf2): Likewise.
9003         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9004         Undefine and redefine.
9005         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9006         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9007         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9008         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9009         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9010         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9011         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9012         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9013         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9014         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9015         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9016         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9017         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9018         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9019         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9021         [BZ #16032]
9022         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9023         without decrementing exponent if mantissa >= that for the
9024         denominator, not >.
9025         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9026         denominator, not >.  Decrement exponent in < case instead of
9027         incrementing in >= case.
9028         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9029         without decrementing exponent if mantissa >= that for the
9030         denominator, not >.
9032         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9033         computing saturated result for unsigned overflow.
9035 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9036             Jeff Law  <law@redhat.com>
9038         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9039         (atan2Mp): Add systemtap probe marker.
9040         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9041         (__ieee754_log): Add systemtap probe marker.
9042         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9043         (atanMp): Add systemtap probe marker.
9044         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9045         (tanMp): Add systemtap probe marker.
9046         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9047         (__slowexp): Add systemtap probe marker.
9048         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9049         (__slowpow): Add systemtap probe marker.
9050         * manual/probes.texi: Document probes.
9052 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9054         [BZ #15362]
9055         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9056         written.
9057         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9058         written.
9059         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9060         written to buffer but not flushed.
9061         * libio/iofwrite_u.c:  Likewise.
9062         * libio/iopadn.c:  Return bytes returned even if EOF was
9063         encountered.
9064         * libio/iowpadn.c:  Likewise.
9065         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9066         if _IO_padn does not write the whole buffer.
9067         [!COMPILE_WPRINTF] (PAD): Likewise.
9069 2013-10-10  David S. Miller  <davem@davemloft.net>
9071         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9072         directory block.
9074 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9076         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9077         instead of FSF address.
9078         * soft-fp/fixdfti.c: Likewise.
9079         * soft-fp/fixsfti.c: Likewise.
9080         * soft-fp/fixtfti.c: Likewise.
9081         * soft-fp/fixunsdfti.c: Likewise.
9082         * soft-fp/fixunssfti.c: Likewise.
9083         * soft-fp/fixunstfti.c: Likewise.
9084         * soft-fp/floattidf.c: Likewise.
9085         * soft-fp/floattisf.c: Likewise.
9086         * soft-fp/floattitf.c: Likewise.
9087         * soft-fp/floatuntidf.c: Likewise.
9088         * soft-fp/floatuntisf.c: Likewise.
9089         * soft-fp/floatuntitf.c: Likewise.
9090         * soft-fp/trunctfxf2.c: Likewise.
9092         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9093         * soft-fp/fixdfti.c: Likewise.
9094         * soft-fp/fixsfti.c: Likewise.
9095         * soft-fp/fixtfti.c: Likewise.
9096         * soft-fp/fixunsdfti.c: Likewise.
9097         * soft-fp/fixunssfti.c: Likewise.
9098         * soft-fp/fixunstfti.c: Likewise.
9099         * soft-fp/floattidf.c: Likewise.
9100         * soft-fp/floattisf.c: Likewise.
9101         * soft-fp/floattitf.c: Likewise.
9102         * soft-fp/floatuntidf.c: Likewise.
9103         * soft-fp/floatuntisf.c: Likewise.
9104         * soft-fp/floatuntitf.c: Likewise.
9105         * soft-fp/trunctfxf2.c: Likewise.
9107 2013-10-10  David S. Miller  <davem@davemloft.net>
9109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9111 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
9113         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9114         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9115         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9116         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9117         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9118         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9119         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9121         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9122         for NaNs before doing comparisons on argument.
9123         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9124         Likewise.
9126 2013-10-10  Will Newton  <will.newton@linaro.org>
9128         * malloc/hooks.c (memalign_check): Ensure the value of bytes
9129         passed to _int_memalign does not overflow.
9131 2013-10-10  Torvald Riegel  <triegel@redhat.com>
9133         * scripts/bench.pl: Add include-sources directive.
9134         * benchtests/README: Update documentation.
9136 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9138         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9139         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9140         instead of FP_INIT_ROUNDMODE.
9141         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9142         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9144         [BZ #16034]
9145         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
9146         copy class of input value.
9147         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
9148         not handle exceptions.
9149         * soft-fp/negsf2.c (__negsf2): Likewise.
9150         * soft-fp/negtf2.c (__negtf2): Likewise.
9151         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9153 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
9155         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9156         semicolon.  From Linux kernel.
9158 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
9160         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9162 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
9164         [BZ #156]
9165         * manual/socket.texi: Added statement about buffer
9166         for gethostbyname2_r.
9168 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
9170         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9171         Use .p2align directive instead, throughout.
9172         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9173         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9174         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9175         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9176         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9177         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9178         * sysdeps/x86_64/strchr.S: Likewise.
9179         * sysdeps/x86_64/strrchr.S: Likewise.
9181 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9183         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9185         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9187         * sysdeps/generic/math_private.h (__mpsin1): Remove
9188         declaration.
9189         (__mpcos1): Likewise.
9190         (__mpsin): New argument __range_reduce.
9191         (__mpcos): Likewise.
9192         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9193         (slow): Use __mpsin and __mpcos.
9194         (slow1): Likewise.
9195         (slow2): Likewise.
9196         (sloww): Likewise.
9197         (sloww1): Likewise.
9198         (sloww2): Likewise.
9199         (bsloww): Likewise.
9200         (bsloww1): Likewise.
9201         (bsloww2): Likewise.
9202         (cslow2): Likewise.
9203         (csloww): Likewise.
9204         (csloww1): Likewise.
9205         (csloww2): Likewise.
9206         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9207         range_reduce.  Merge in __mpsin1.
9208         (__mpcos): Likewise.
9209         (__mpsin1): Remove.
9210         (__mpcos1): Likewise.
9212 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
9214         * locale/loadlocale.c (_nl_intern_locale_data): Use
9215         LOCFILE_ALIGNED_P.
9216         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9217         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9218         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9219         obstack data is appropriately aligned.
9220         (obstack_int32_grow_fast): Likewise.
9221         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9222         * locale/programs/locfile.c (add_locale_uint32): Likewise.
9223         (add_locale_uint32_array): Likewise.
9225 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9227         * benchtests/Makefile: Remove ARGLIST and RET variables.
9228         ($(objpfx)bench-%.c): Pass only function name to the script.
9229         * benchtests/README: Update documentation.
9230         * benchtests/acos-inputs: Add new directives.
9231         * benchtests/acosh-inputs: Likewise.
9232         * benchtests/asin-inputs: Likewise.
9233         * benchtests/asinh-inputs: Likewise.
9234         * benchtests/atan-inputs: Likewise.
9235         * benchtests/atanh-inputs: Likewise.
9236         * benchtests/cos-inputs: Likewise.
9237         * benchtests/cosh-inputs: Likewise.
9238         * benchtests/exp-inputs: Likewise.
9239         * benchtests/log-inputs: Likewise.
9240         * benchtests/pow-inputs: Likewise.
9241         * benchtests/rint-inputs: Likewise.
9242         * benchtests/sin-inputs: Likewise.
9243         * benchtests/sinh-inputs: Likewise.
9244         * benchtests/tan-inputs: Likewise.
9245         * benchtests/tanh-inputs: Likewise.
9246         * scripts/bench.pl: Add support for new directives.
9248 2013-10-07  Alan Modra  <amodra@gmail.com>
9250         * README: Fix careless merge.
9252 2013-10-05  Alan Modra  <amodra@gmail.com>
9254         * NEWS: Mention powerpc64le support and bugs fixed.
9255         * README: Both big-endian and little-endian powerpc64 supported.
9257 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9259         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9260         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9261         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9262         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9264 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
9266         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9267         match prototype.
9269 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
9271         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9272         Move -mhard-float appending from
9273         ports/sysdeps/powerpc/powerpc32/Makefile.
9274         [$(with-fp) = yes] (ASFLAGS): Likewise.
9275         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9276         * sysdeps/powerpc/nofpu: Move directory from
9277         ports/sysdeps/powerpc/nofpu.
9278         * sysdeps/powerpc/soft-fp: Move directory from
9279         ports/sysdeps/powerpc/soft-fp.
9280         * sysdeps/powerpc/powerpc32/405: Move directory from
9281         ports/sysdeps/powerpc/powerpc32/405.
9282         * sysdeps/powerpc/powerpc32/440: Move directory from
9283         ports/sysdeps/powerpc/powerpc32/440.
9284         * sysdeps/powerpc/powerpc32/464: Move directory from
9285         ports/sysdeps/powerpc/powerpc32/464.
9286         * sysdeps/powerpc/powerpc32/476: Move directory from
9287         ports/sysdeps/powerpc/powerpc32/476.
9288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9289         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9291         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9293         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9295         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9297         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9298         * README: Update for powerpc-*-linux-gnu software floating point
9299         support in libc.
9301         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9302         case to powerpc/powerpc32*.
9303         * sysdeps/unix/sysv/linux/configure: Regenerated.
9305         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9306         (_FPU_MASK_OM): Define as 0x04.
9307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9309         0x00c10080.
9310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9311         0x0000003c.
9312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9315         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9316         getcontext_e500.
9317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9318         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9319         setcontext_e500.
9320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9321         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9322         and setcontext_e500.
9324 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
9326         * locale/iso-3166.def: Update iso-1366.def and related occurrences
9328 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9330         * manual/threads.texi (Default Thread Attributes): Fix typo.
9332 2013-10-04  Will Newton  <will.newton@linaro.org>
9334         * malloc/Makefile: Add tst-memalign.
9335         * malloc/tst-memalign.c: New file.
9337         * malloc/tst-posix_memalign.c: Add comments.
9338         (do_test): Add comments and call free on all potentially
9339         allocated pointers. Add space after cast.
9341         * malloc/tst-pvalloc.c: Add comments.
9342         (do_test): Add comments and call free on all potentially
9343         allocated pointers. Remove duplicate check for NULL pointer.
9344         Add space after cast.
9346         * malloc/tst-valloc.c: Add comments.
9347         (do_test): Add comments and call free on all potentially
9348         allocated pointers. Remove duplicate check for NULL pointer.
9349         Add space after cast.
9351 2013-10-04  Alan Modra  <amodra@gmail.com>
9353         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9354         Use stdint types in rather than __attribute__((mode())).
9355         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9357 2013-10-04  Alan Modra  <amodra@gmail.com>
9359         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9360         Correct handling of unaligned relocs for little-endian.
9361         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9363 2013-10-04  Alan Modra  <amodra@gmail.com>
9365         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9366         * configure: Regenerate.
9367         * nptl/shlib-versions: Powerpc*le starts at 2.18.
9368         * shlib-versions: Likewise.
9370 2013-10-04  Alan Modra  <amodra@gmail.com>
9372         * string/tester.c (test_memrchr): Increment reported test cycle.
9374 2013-10-04  Alan Modra  <amodra@gmail.com>
9376         * string/test-memcpy.c (do_one_test): When reporting errors, print
9377         string address and don't overrun end of string.
9379 2013-10-04  Alan Modra  <amodra@gmail.com>
9381         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9382         insrdi.  Make better use of reg selection to speed exit slightly.
9383         Schedule entry path a little better.  Remove useless "are we done"
9384         checks on entry to main loop.  Handle wrapping around zero address.
9385         Correct main loop count.  Handle single left-over word from main
9386         loop inline rather than by using loop_small.  Remove extra word
9387         case in loop_small caused by wrong loop count.  Add little-endian
9388         support.
9389         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9390         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
9391         cache hint.
9392         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9393         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9394         support.  Avoid rlwimi.
9395         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9397 2013-10-04  Alan Modra  <amodra@gmail.com>
9399         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9400         insrdi.  Formatting.
9401         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9402         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9403         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9404         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9405         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9406         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9408 2013-10-04  Alan Modra  <amodra@gmail.com>
9410         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9411         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9412         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9413         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9414         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9415         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9416         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9417         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9418         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
9419         use of regs.  Use power7 mtocrf.  Tidy function tails.
9421 2013-10-04  Alan Modra  <amodra@gmail.com>
9423         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9424         Formatting.  Consistently use rXXX register defines or rN defines.
9425         Use early exit labels that avoid restoring unused non-volatile regs.
9426         Make cr field use more consistent with rWORDn compares.  Rename
9427         regs used as shift registers for unaligned loop, using rN defines
9428         for short lifetime/multiple use regs.
9429         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9430         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
9431         addi 1,1,64 to pop stack frame.  Simplify return value code.
9432         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9434 2013-10-04  Alan Modra  <amodra@gmail.com>
9436         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9437         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
9438         rather than rlwimi.
9439         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9440         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9441         little-endian support.  Correct typos.
9442         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
9443         rather than rlwimi.
9444         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
9445         in loop and entry code to keep "and." results.
9446         (strchr): Add little-endian support.  Comment.  Move cntlzd
9447         earlier in tail.
9448         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9450 2013-10-04  Alan Modra  <amodra@gmail.com>
9452         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9453         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9454         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9455         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9457 2013-10-04  Alan Modra  <amodra@gmail.com>
9459         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9460         (rTMP): Define as r11.
9461         (strcmp): Add little-endian support.  Optimise tail.
9462         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9463         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9464         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9465         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9466         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9467         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9468         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9470 2013-10-04  Alan Modra  <amodra@gmail.com>
9472         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9473         little-endian support.  Remove unnecessary "are we done" tests.
9474         Handle "s" wrapping around zero and extremely large "size".
9475         Correct main loop count.  Handle single left-over word from main
9476         loop inline rather than by using small_loop.  Correct comments.
9477         Delete "zero" tail, use "end_max" instead.
9478         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9480 2013-10-04  Alan Modra  <amodra@gmail.com>
9482         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9483         support.  Don't branch over align.
9484         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9485         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9486         support.  Rearrange tmp reg use to suit.  Comment.
9487         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9489 2013-10-04  Alan Modra  <amodra@gmail.com>
9491         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9493 2013-10-04  Alan Modra  <amodra@gmail.com>
9495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9496         conditional form of branch and link when obtaining pc.
9497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9499 2013-10-04  Alan Modra  <amodra@gmail.com>
9501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9502         HIWORD/LOWORD.
9503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9506 2013-10-04  Alan Modra  <amodra@gmail.com>
9508         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9509         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9510         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9511         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9512         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9513         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9514         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9515         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9516         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9517         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9519 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9520             Alistair Popple <alistair@ozlabs.au.ibm.com>
9521             Alan Modra <amodra@gmail.com>
9523         [BZ #15723]
9524         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9525         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9526         _dl_hwcap access for little-endian.
9527         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
9528         destroy vmx regs when saving unaligned.
9529         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9530         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
9531         destroy vmx regs when saving unaligned.
9533 2013-10-04  Alan Modra  <amodra@gmail.com>
9535         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9536         Don't use a union to pack hi/low value.
9538 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9540         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9541         for little-endian.
9542         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9543         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9544         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9545         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9546         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9548 2013-10-04  Alan Modra  <amodra@gmail.com>
9550         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9551         constants to usual value for .cst8 section, and remove redundant
9552         high address load.
9553         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9554         constant for 0x1p52.  Load little-endian words of double from
9555         correct stack offsets.
9557 2013-10-04  Alan Modra  <amodra@gmail.com>
9559         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9560         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9561         words of double from correct stack offsets.
9562         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9563         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9564         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9565         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9566         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9567         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9568         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9569         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9570         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9571         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9572         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9573         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9574         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9575         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9576         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9577         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9578         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9580 2013-10-04  Alan Modra  <amodra@gmail.com>
9582         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9583         64-bit int/double union.
9584         (_FPU_SETCW): Likewise.
9585         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9586         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9588 2013-10-04  Alan Modra  <amodra@gmail.com>
9590         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9591         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9593 2013-10-04  Alan Modra  <amodra@gmail.com>
9595         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9596         use vector int constants.
9597         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9599 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9601         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9602         array with long long.
9603         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9604         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9605         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9606         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9607         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9608         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9609         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9610         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9611         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9612         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9613         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9614         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9615         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9617 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9619         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9620         (__signbit): Likewise.  Correct for little-endian.
9621         (__signbitl): Call __signbit.
9622         (lrint): Correct for little-endian.
9623         (lrintf): Call lrint.
9625 2013-10-04  Alan Modra  <amodra@gmail.com>
9627         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9628         union 32-bit int array member with 64-bit int array.
9629         (t515, tm256): Double rather than long double.
9630         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9632 2013-10-04  Alan Modra  <amodra@gmail.com>
9634         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9635         Delete.
9636         (IEEE854_LONG_DOUBLE_BIAS): Delete.
9637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9638         version of math_ldbl.h.
9640 2013-10-04  Alan Modra  <amodra@gmail.com>
9642         [BZ #15734], [BZ #15735]
9643         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9644         all uses of ieee875 long double macros and unions.  Simplify test
9645         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
9646         ldbl_extract_mantissa value for ix,iy exponents.  Properly
9647         normalize after ldbl_extract_mantissa, and don't add hidden bit
9648         already handled.  Don't treat low word of ieee854 mantissa like
9649         low word of IBM long double and mask off bit when testing for
9650         zero.
9651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9652         all uses of ieee875 long double macros and unions.  Simplify tests
9653         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
9654         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
9655         two1022, instead use their values.  Recognise that tests for large
9656         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9657         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9658         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9659         test for 0.0L and nan.  Correct negation.
9660         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9661         ieee875 long double macros and unions.  Correct output for large
9662         magnitude x.  Correct absolute value calculation.
9663         (__erfcl): Likewise.
9664         * math/libm-test.inc: Add tests for errors discovered in IBM long
9665         double versions of fmodl, remainderl, erfl and erfcl.
9667 2013-10-04  Alan Modra  <amodra@gmail.com>
9669         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9670         all uses of ieee854 long double macros and unions.  Simplify tests
9671         for long doubles that are fully specified by the high double.
9672         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9673         Likewise.
9674         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9675         Remove dead code too.
9676         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9677         (__ieee754_ynl): Likewise.
9678         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9679         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9680         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9681         Remove dead code too.
9682         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9683         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9684         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9685         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9686         Simplify.
9687         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9688         Simplify.
9689         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9690         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9691         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9692         Comment on variable precision.
9693         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9694         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9695         Likewise.
9696         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9697         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9698         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9699         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9700         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9702 2013-10-04  Alan Modra  <amodra@gmail.com>
9704         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9706         all uses of ieee854 long double macros and unions.
9707         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9708         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9709         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9710         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9711         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9712         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9713         Likewise.
9714         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9715         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9716         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9717         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9718         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9719         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9720         Simplify sign and nan test too.
9721         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9722         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9723         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9724         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9725         Likewise.
9726         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9727         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9728         Likewise.
9729         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9730         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9731         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9732         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9733         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9734         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9736 2013-10-04  Alan Modra  <amodra@gmail.com>
9738         * stdio-common/printf_size.c (__printf_size): Don't use
9739         union ieee854_long_double in fpnum union.
9740         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9741         signbit macro to retrieve sign from long double.
9742         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9743         retrieve sign from long double.
9744         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9745         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9746         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9747         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9748         * math/test-misc.c (main): Don't use union ieee854_long_double.
9750 2013-10-04  Alan Modra  <amodra@gmail.com>
9752         [BZ #15680]
9753         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9754         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9755         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9756         calculation.  Remove unnecessary test for denormal exponent.
9757         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9758         Correct handling of denormals.  Avoid undefined shift behaviour.
9759         Correct normalisation of low mantissa when low double is denormal.
9760         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9761         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9762         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9763         Correct normalisation of low mantissa.  Test for overflow of high
9764         mantissa and normalise.
9765         (ldbl_nearbyint): Use more readable constant for two52.
9766         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9767         (__mpn_construct_long_double): Fix test for overflow of high
9768         mantissa and correct normalisation.  Avoid undefined shift.
9770 2013-10-04  Alan Modra  <amodra@gmail.com>
9772         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9773         (union ibm_extended_long_double): Define as an array of ieee754_double.
9774         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9775         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9776         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9777         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9778         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9779         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9780         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9781         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9782         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9783         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9784         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9786 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
9788         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9789         page size instead of calling getpagesize.
9791         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9792         (LOCFILE_ALIGN_MASK): Likewise.
9793         (LOCFILE_ALIGN_UP): Likewise.
9794         (LOCFILE_ALIGNED_P): Likewise.
9795         * locale/programs/ld-collate.c (collate_output): Use the new
9796         macros instead of __alignof__ (int32_t).
9797         * locale/weight.h (findidx): Likewise.
9799 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
9801         [BZ #431]
9802         * manual/string.texi: Fix strncat and wcsncat.
9804 2013-10-03  Brooks Moses  <bmoses@google.com>
9806         [BZ #15915]
9807         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9808         * Makerules: ...here, and adjust associated comments.
9810 2013-10-02  Will Newton  <will.newton@linaro.org>
9812         * malloc/Makefile: Add tst-pvalloc.
9813         * malloc/tst-pvalloc.c: New file.
9815 2013-10-02  Will Newton  <will.newton@linaro.org>
9817         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9818         improve test coverage.
9820 2013-10-02  Will Newton  <will.newton@linaro.org>
9822         * malloc/Makefile: Add tst-posix_memalign.
9823         * malloc/tst-posix_memalign.c: New file.
9825 2013-10-01  Eric Blake  <eblake@redhat.com>
9827         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9828         Use __THROWNL rather than __THROW on static functions.
9830 2013-09-30  Petr Machata  <pmachata@redhat.com>
9832         * elf/elf.h (R_AARCH64_ABS16): New macro.
9833         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9834         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9835         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9836         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9837         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9838         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9839         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9840         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9841         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9842         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9843         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9844         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9845         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9846         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9847         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9848         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9849         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9850         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9851         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9852         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9853         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9854         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9855         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9856         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9857         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9858         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9859         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9860         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9861         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9862         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9863         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9864         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9865         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9866         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9867         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9868         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9869         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9870         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9871         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9872         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9873         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9874         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9875         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9876         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9877         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9878         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9879         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9880         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9881         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9882         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9883         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9884         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9885         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9886         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9887         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9888         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9889         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9890         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9891         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9892         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9893         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9894         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9895         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9896         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9897         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9898         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9899         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9900         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9901         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9902         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9903         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9904         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9905         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9906         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9907         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9908         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9909         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9910         (R_AARCH64_TLSDESC_LDR): Likewise.
9911         (R_AARCH64_TLSDESC_ADD): Likewise.
9912         (R_AARCH64_TLSDESC_CALL): Likewise.
9914 2013-09-30  Andreas Schwab  <schwab@suse.de>
9916         [BZ #15048]
9917         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9918         the nss database lookup.
9919         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9922 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
9924         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9926 2013-09-28  P. J. McDermott  <pj@pehjota.net>
9928         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9929         ${Bash-specific parameter/pattern/string} parameter expansion.
9930         * sysdeps/unix/make-syscalls.sh: Likewise.
9932 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9934         * sysdeps/sh/stackguard-macros.h: New file.
9936 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
9938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9940         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9941         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9942         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9943         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9945 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9947         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9948         Fix thread ID register.
9950 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
9952         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9953         [POSIX || UNIX98]: Require rather than permitting all symbols from
9954         <time.h>.
9955         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9956         element of struct sched_param.
9957         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9958         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9959         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9960         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9961         constant.
9963 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
9965         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9966         argument calculation.
9968 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9970         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9971         Expect macro.
9972         [POSIX] (pthread_attr_t): Do not require type.
9973         [POSIX] (pthread_cond_t): Likewise.
9974         [POSIX] (pthread_condattr_t): Likewise.
9975         [POSIX] (pthread_key_t): Likewise.
9976         [POSIX] (pthread_mutex_t): Likewise.
9977         [POSIX] (pthread_mutexattr_t): Likewise.
9978         [POSIX] (pthread_once_t): Likewise.
9979         [POSIX] (pthread_t): Likewise.
9980         [POSIX-based standards] (pthread_atfork): Expect function.
9982 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9983             Richard Sandiford  <richard@codesourcery.com>
9985         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9986         (swap_endianness_p): New extern variable.
9987         (set_big_endian): New inline function.
9988         (maybe_swap_uint32): Likewise.
9989         (maybe_swap_uint32_array): Likewise.
9990         (maybe_swap_uint32_obstack): Likewise.
9991         * locale/programs/locfile.c: Include <stdbool.h>.
9992         (swap_endianness_p): New variable.
9993         (add_locale_uint32): Call maybe_swap_uint32.
9994         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9995         (write_locale_data): Call maybe_swap_uint32_array.
9996         * locale/programs/ld-collate.c (obstack_int32_grow): Call
9997         maybe_swap_uint32.
9998         (obstack_int32_grow_fast): Likewise.
9999         (output_weightwc): Call maybe_swap_uint32_obstack.
10000         (collate_output): Likewise.
10001         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10002         (OPT_LITTLE_ENDIAN): Likewise.
10003         (options): Add --little-endian and --big-endian options.
10004         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10005         * locale/programs/locarchive.c: Include "locfile.h".
10006         (GET): New macro.
10007         (SET): Likewise.
10008         (INC): Likewise.
10009         (create_archive): Use the new macros to access fields of
10010         structures directly mapped from or written to locale archives.
10011         (oldlocrecentcmp): Likewise.
10012         (enlarge_archive): Likewise.
10013         (insert_name): Likewise.
10014         (add_alias): Likewise.
10015         (add_locale): Likewise.
10016         (delete_locales_from_archive): Likewise.
10017         (show_archive_content): Likewise.
10018         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10019         locale data.
10021 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10023         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10024         http://www.gnu.org/doc/freemanuals.texi.
10025         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10027 2013-09-24  Will Newton  <will.newton@linaro.org>
10029         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10030         macro.
10032 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10034         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10035         unsigned char.
10037 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10039         * manual/threads.texi (POSIX Threads): Fix a typo.
10041 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10043         [BZ #14547]
10044         * string/tst-strcoll-overflow.c: New test case.
10045         * string/Makefile (xtests): Add tst-strcoll-overflow.
10046         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10047         cache if string sizes may cause integer overflow.
10049         [BZ #14547]
10050         * string/strcoll_l.c (coll_seq): New members rule, idx,
10051         save_idx and back_us.
10052         (get_next_seq_nocache): New function.
10053         (do_compare_nocache): New function.
10054         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10055         when malloc fails.
10057 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10059         [BZ #15754]
10060         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10061         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10062         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10064         [BZ #15754]
10065         * elf/Makefile (tests): Add tst-ptrguard1.
10066         (tests-static): Add tst-ptrguard1-static.
10067         (tst-ptrguard1-ARGS): Define.
10068         (tst-ptrguard1-static-ARGS): Define.
10069         * elf/tst-ptrguard1.c: New file.
10070         * elf/tst-ptrguard1-static.c: New file.
10071         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10072         * sysdeps/i386/stackguard-macros.h: Likewise.
10073         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10074         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10075         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10076         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10077         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10078         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10080 2013-09-23  Hector Marco  <hecmargi@upv.es>
10081             Ismael Ripoll  <iripoll@disca.upv.es>
10082             Carlos O'Donell  <carlos@redhat.com>
10084         [BZ #15754]
10085         * sysdeps/generic/stackguard-macros.h: Define
10086         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10087         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10088         Define __pointer_chk_guard_local.
10089         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10090         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10092 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10094         [BZ #15859]
10095         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10097 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10099         * include/string.h (__ffs): Declare as hidden.
10100         * string/ffs.c (__ffs): Define as hidden.
10101         * sysdeps/i386/ffs.c (__ffs): Likewise.
10102         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10103         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10104         * sysdeps/s390/ffs.c (__ffs): Likewise.
10105         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10107 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
10109         * NEWS: Mention malloc probes.
10111         * malloc/arena.c (new_heap): New memory_heap_new probe.
10112         (grow_heap): New memory_heap_more probe.
10113         (shrink_heap): New memory_heap_less probe.
10114         (heap_trim): New memory_heap_free probe.
10115         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10116         (systrim): New memory_sbrk_less probe.
10117         * manual/probes.texi: Document them.
10119         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10120         * manual/probes.texi: Document it.
10122         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10123         (__libc_realloc): Add memory_realloc_retry probe.
10124         (__libc_memalign): Add memory_memalign_retry probe.
10125         (__libc_valloc): Add memory_valloc_retry probe.
10126         (__libc_pvalloc): Add memory_pvalloc_retry probe.
10127         (__libc_calloc): Add memory_calloc_retry probe.
10128         * manual/probes.texi: Document them.
10130         * malloc/arena.c (get_free_list): Add probe
10131         memory_arena_reuse_free_list.
10132         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10133         and memory_arena_reuse.
10134         (arena_get2) [!PER_THREAD]: Likewise.
10135         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10136         memory_arena_reuse_realloc.
10137         * manual/probes.texi: Document them.
10139         * malloc/malloc.c (__libc_free): Add
10140         memory_mallopt_free_dyn_thresholds probe.
10141         (__libc_mallopt): Add multiple memory_mallopt probes.
10142         * manual/probes.texi: Document them.
10144         * malloc/malloc.c: Include stap-probe.h.
10145         (__libc_mallopt): Add memory_mallopt probe.
10146         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10147         * manual/probes.texi: New.
10148         * manual/Makefile (chapters): Add probes.
10149         * manual/threads.texi: Set next node.
10151 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
10153         [BZ #15963, #13985]
10154         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10155         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10156         Add `Chinese' to `nan' entry name.
10158 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10160         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10161         (POLYNOMIAL): Likewise.
10162         (TAYLOR_SINCOS): Likewise.
10163         (TAYLOR_SLOW): Likewise.
10164         (__sin): Use TAYLOR_SINCOS.
10165         (__cos): Likewise.
10166         (slow): Use TAYLOR_SLOW.
10167         (sloww): Likewise.
10168         (bsloww): Likewise.
10169         (csloww): Likewise.
10171 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10173         * stdlib/strtod_l.c: Fix buffer overrun.
10175 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10177         * benchtests/Makefile (bench): Add sincos.
10178         * benchtests/bench-sincos.c: New file.
10180         * math/libm-test.inc (cos_test_data): New test inputs.
10181         (sin_test_data): Likewise.
10183         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10184         macro.
10185         (__sin): Use it.
10186         (__cos): Likewise.
10187         (slow1): Likewise.
10188         (slow2): Likewise.
10189         (sloww1): Likewise.
10190         (sloww2): Likewise.
10191         (bsloww1): Likewise.
10192         (bsloww2): Likewise.
10193         (cslow2): Likewise.
10194         (csloww1): Likewise.
10195         (csloww2): Likewise.
10197         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10198         function.
10199         (__sin): Use it.
10200         (__cos): Likewise.
10202         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10203         gotos.
10204         (__cos): Likewise.
10206 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
10208         * config.h.in (HAVE_MIPS_NAN2008): New macro.
10209         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10210         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10211         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10212         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10213         * elf/cache.c (print_entry): Handle the new cache flags.
10215 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10216             Aldy Hernandez  <aldyh@redhat.com>
10218         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10219         Change condition to [_SOFT_FLOAT].
10220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10221         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10224         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10225         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10232         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10235         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10236         declaration.
10238 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10240         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10241         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10242         (__longjmp): Use LOAD_GP to load saved GPRs.
10243         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10244         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10245         (__sigsetjmp): Use SAVE_GP to save GPRs.
10247         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10248         Do not append -msoft-float.
10249         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10251 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10253         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10255 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
10257         [BZ #15966]
10258         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10259         (_FPU_GETCW): Use initial "__" on variable and field names but not
10260         on macro parameter name.
10261         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
10262         parentheses around reference to macro parameter.
10264 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
10266         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10267         prototype.
10268         (ctype_startup): Use uint32_t in cast and sizeof for
10269         ctype->charnames.
10271 2013-09-11  Jia Liu  <proljc@gmail.com>
10273         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10274         __daddr_t_defined.
10275         [__FreeBSD__]: Likewise.
10277 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
10279         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10280         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10281         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10282         (strchr): Remove __strchr_sse42 ifunc selection.
10283         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10284         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10286 2013-09-11  Will Newton  <will.newton@linaro.org>
10288         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10289         parameter to RES. Remove hardcoded 1000 value.
10290         * benchtests/bench-skeleton.c (main): Pass RES parameter
10291         to TIMING_INIT and multiply result by 1000.
10293 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10297 2013-09-11  Andreas Schwab  <schwab@suse.de>
10299         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10300         if not defined.
10301         (O_TMPFILE) [__USE_GNU]: Define.
10302         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10303         Define.
10305 2013-09-11  Will Newton  <will.newton@linaro.org>
10307         [BZ #15857]
10308         * malloc/malloc.c (__libc_memalign): Check the value of bytes
10309         does not overflow.
10311 2013-09-11  Will Newton  <will.newton@linaro.org>
10313         [BZ #15856]
10314         * malloc/malloc.c (__libc_valloc): Check the value of bytes
10315         does not overflow.
10317 2013-09-11  Will Newton  <will.newton@linaro.org>
10319         [BZ #15855]
10320         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10321         does not overflow.
10323 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
10325         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10326         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10327         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10328         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10329         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10331 2013-09-10  Allan McRae  <allan@archlinux.org>
10333         [BZ #15748]
10334         * manual/arith.texi (Parsing of Floats): Clarify
10335         cross-reference.
10337         [BZ #15849]
10338         * manual/install.texi (Running make install): Mention
10339         --enable-pt-chown.
10340         * INSTALL: Regenerated.
10342 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10344         * csu/init-first.c (_init): Remove the !SHARED condition around
10345         FPU control word initialization.
10346         * elf/dl-support.c (_dl_fpu_control): New variable.
10347         (_dl_aux_init) <AT_FPUCW>: Initialize it.
10348         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10349         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10350         * math/test-fpucw-static.c: New file.
10351         * math/test-fpucw-ieee.c: New file.
10352         * math/test-fpucw-ieee-static.c: New file.
10353         * math/Makefile (tests): Add `test-fpucw-ieee' and
10354         `$(tests-static)'.
10355         (tests-static): New variable.
10356         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10357         dependency to...
10358         [($(build-shared),yes)]
10359         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10360         ... this.
10361         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10362         New dependency.
10364 2013-09-09  Allan McRae  <allan@archlinux.org>
10366         [BZ #15939]
10367         * manual/string.texi (Collation Functions): Fix typo in
10368         strcoll example.
10369         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10371         [BZ #15893]
10372         * stdlib/isomac.c (get_null_defines): Fix memory leak.
10374         [BZ #15892]
10375         * libio/memstream.c (open_memstream): Fix memory leak.
10376         * libio/wmemstream.c (open_wmemstream): Likewise.
10378         [BZ #15895]
10379         * nscd/netgroupcache.c: Fix nesting of ifdefs.
10381 2013-09-09  Will Newton  <will.newton@linaro.org>
10383         * malloc/Makefile: Add tst-realloc to tests.
10384         * malloc/tst-realloc.c: New file.
10386 2013-09-09  Allan McRae  <allan@archlinux.org>
10388         [BZ #15844]
10389         * COPYING: Update from GNU website to fix FSF address.
10390         * COPYING.LIB: Likewise.
10392 2013-09-06  David S. Miller  <davem@davemloft.net>
10394         * po/zh_TW.po: Update Chinese (traditional) translation from
10395         translation project.
10397 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
10398             Joseph Myers  <joseph@codesourcery.com>
10400         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10401         "localeinfo.h".
10402         (obstack_chunk_alloc): New macro.
10403         (obstack_chunk_free): Likewise.
10404         (record_offset): New function.
10405         (init_locale_data): Likewise.
10406         (align_locale_data): Likewise.
10407         (add_locale_empty): Likewise.
10408         (add_locale_raw_data): Likewise.
10409         (add_locale_raw_obstack): Likewise.
10410         (add_locale_string): Likewise.
10411         (add_locale_wstring): Likewise.
10412         (add_locale_uint32): Likewise.
10413         (add_locale_uint32_array): Likewise.
10414         (add_locale_char): Likewise.
10415         (start_locale_structure): Likewise.
10416         (end_locale_structure): Likewise.
10417         (start_locale_prelude): Likewise.
10418         (end_locale_prelude): Likewise.
10419         (write_locale_data): Take locale_file structure rather than an
10420         iovec.
10421         * locale/programs/locfile.h: Include "obstack.h".
10422         (struct locale_file): Change to store locale file contents instead
10423         of header.
10424         (init_locale_data): New prototype.
10425         (align_locale_data): Likewise.
10426         (add_locale_empty): Likewise.
10427         (add_locale_raw_data): Likewise.
10428         (add_locale_raw_obstack): Likewise.
10429         (add_locale_string): Likewise.
10430         (add_locale_wstring): Likewise.
10431         (add_locale_uint32): Likewise.
10432         (add_locale_uint32_array): Likewise.
10433         (add_locale_char): Likewise.
10434         (start_locale_structure): Likewise.
10435         (end_locale_structure): Likewise.
10436         (start_locale_prelude): Likewise.
10437         (end_locale_prelude): Likewise.
10438         (write_locale_data): Update prototype.
10439         * locale/programs/3level.h (struct TABLE): Remove result field.
10440         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10441         Use new locale_file interface.
10442         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10443         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10444         * locale/programs/ld-address.c (address_output): Use new
10445         locale_file interface.
10446         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10447         NO_ADD_LOCALE.
10448         (collate_finish): Don't call collseq_table_finalize.
10449         (collate_output): Use new locale_file interface.
10450         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10451         in file.
10452         (NO_FINALIZE): Change to NO_ADD_LOCALE.
10453         (TABLE): Move defines earlier in file.
10454         (ELEMENT): Likewise.
10455         (DEFAULT): Likewise.
10456         (wctrans_table_add): Move macro and inline function earlier in
10457         file.
10458         (struct wctype_table): Move type earlier in file.
10459         (add_locale_wctype_table): New static prototype.
10460         (struct locale_ctype_t): Use logical types instead of struct iovec
10461         pointers for members.
10462         (ctype_output): Use new locale_file interface.
10463         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
10464         new locale_file interface.
10465         (allocate_arrays): Update for use of new locale_file interface.
10466         * locale/programs/ld-identification.c (identification_output): Use
10467         new locale_file interface.
10468         * locale/programs/ld-measurement.c (measurement_output): Likewise.
10469         * locale/programs/ld-messages.c (messages_output): Likewise.
10470         * locale/programs/ld-monetary.c (monetary_output): Likewise.
10471         * locale/programs/ld-name.c (name_output): Likewise.
10472         * locale/programs/ld-numeric.c (numeric_output): Likewise.
10473         * locale/programs/ld-paper.c (paper_output): Likewise.
10474         * locale/programs/ld-telephone.c (telephone_output): Likewise.
10475         * locale/programs/ld-time.c (time_output): Likewise.
10477 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10479         * benchtests/Makefile: Add memrchr benchmark.
10480         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10481         benchmark as memrchr.
10482         * benchtests/bench-memrchr-ifunc.c: New file.
10483         * benchtests/bench-memrchr.c: New file.
10485 2013-09-06   Will Newton  <will.newton@linaro.org>
10487         * benchtests/Makefile (string-bench): Add memcpy.
10489 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
10490             Cong Wang  <amwang@redhat.com>
10492         [BZ #15850]
10493         * sysdeps/unix/sysv/linux/bits/in.h
10494         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10495         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10496         before __USE_KERNEL_IPV6_DEFS uses.
10497         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10498         IPPROTO_BEETPH.
10499         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10500         sockaddr_in6, or ipv6_mreq.
10502 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10504         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10505         memory access for final bytes in some large inputs.
10506         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10508 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10510         * string/test-memrchr.c: New file.
10511         * string/test-memrchr-ifunc.c: New file.
10512         * string/Makefile: Add new memrchr testcase.
10514 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
10516         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10517         fanotify_init returns EPERM.
10519 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10521         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10522         errors.
10523         (top level): Treat second token from macro or constant entries for
10524         allowed headers as allowed.
10525         * include/complex.h: Condition internal declarations on
10526         [!_ISOMAC].
10527         * include/fenv.h: Condition include of <stdbool.h> and internal
10528         declarations on [!_ISOMAC].
10530 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
10532         [BZ #15923]
10533         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10535 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10537         * configure.in (--enable-versioning): Remove configure option.
10538         (libc_cv_asm_symver_directive): Remove configure test.
10539         (libc_cv_ld_version_script_option): Likewise.
10540         (VERSIONING): Remove variable and AC_SUBST.
10541         (DO_VERSIONING): Remove AC_DEFINE.
10542         * configure: Regenerated.
10543         * config.h.in (DO_VERSIONING): Remove macro.
10544         * Makerules [$(versioning) = yes]: Change conditionals to
10545         [$(build-shared) = yes].
10546         * config.make.in (versioning): Remove variable.
10547         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10548         [$(build-shared) = yes].
10549         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10550         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10551         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10552         [$(build-shared) = yes].
10553         * extra-lib.mk [$(versioning) = yes]: Likewise.
10554         * hurd/Makefile [$(versioning) = yes]: Likewise.
10555         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10556         [SHARED].
10557         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10558         [SHARED].
10559         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10560         [SHARED && !NO_HIDDEN].
10561         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10562         [SHARED].
10563         [SHARED && DO_VERSIONING]: Likewise..
10564         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10565         [$(build-shared) = yes].
10566         * manual/install.texi (--disable-versioning): Remove
10567         documentation.
10568         * INSTALL: Regenerated.
10569         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10570         to [SHARED].
10571         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10572         [$(build-shared) = yes].
10573         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10574         * sysdeps/i386/i686/multiarch/strstr-c.c
10575         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10576         [SHARED && !NO_HIDDEN].
10577         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10578         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10579         * sysdeps/powerpc/powerpc32/dl-machine.c
10580         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10581         * sysdeps/powerpc/powerpc32/sysdep.h
10582         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10583         to [SHARED && PIC && !NO_HIDDEN].
10584         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10585         conditional to [SHARED].
10587 2013-09-04   Will Newton  <will.newton@linaro.org>
10589         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10590         * benchtests/bench-string.h: Include bench-timing.h instead
10591         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10592         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10593         call to HP_TIMING_DIFF_INIT.
10594         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10595         instead of hp-timing.h macros.
10596         * benchtests/bench-memchr.c: Likewise.
10597         * benchtests/bench-memcmp.c: Likewise.
10598         * benchtests/bench-memcpy.c: Likewise.
10599         * benchtests/bench-memmem.c: Likewise.
10600         * benchtests/bench-memmove.c: Likewise.
10601         * benchtests/bench-memset.c: Likewise.
10602         * benchtests/bench-rawmemchr.c: Likewise.
10603         * benchtests/bench-strcasecmp.c: Likewise.
10604         * benchtests/bench-strcasestr.c: Likewise.
10605         * benchtests/bench-strcat.c: Likewise.
10606         * benchtests/bench-strchr.c: Likewise.
10607         * benchtests/bench-strcmp.c: Likewise.
10608         * benchtests/bench-strcpy.c: Likewise.
10609         * benchtests/bench-strcpy_chk.c: Likewise.
10610         * benchtests/bench-strlen.c: Likewise.
10611         * benchtests/bench-strncasecmp.c: Likewise.
10612         * benchtests/bench-strncat.c: Likewise.
10613         * benchtests/bench-strncmp.c: Likewise.
10614         * benchtests/bench-strncpy.c: Likewise.
10615         * benchtests/bench-strnlen.c: Likewise.
10616         * benchtests/bench-strpbrk.c: Likewise.
10617         * benchtests/bench-strrchr.c: Likewise.
10618         * benchtests/bench-strspn.c: Likewise.
10619         * benchtests/bench-strstr.c: Likewise.
10621 2013-09-04  Will Newton  <will.newton@linaro.org>
10623         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10625 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10627         [BZ #15427]
10628         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10629         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10630         * math/libm-test.inc (lgamma_test_data): Add more tests.
10631         * sysdeps/i386/fpu/libm-test-ulps: Update.
10632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10634 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
10636         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10638         Add ifunc.
10639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10640         Add strcmp-sse2-unaligned
10641         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10643 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10645         * Versions.def (libc): Add GLIBC_2.19.
10647 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10649         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10650         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10652 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
10654         [BZ #14155]
10655         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10656         intermediate calculations in recurrence.
10657         (__ieee754_ynf): Likewise.
10658         * math/libm-test.inc (jn_test_data): Do not allow spurious
10659         underflow exception.  Add more tests.
10660         (yn_test_data): Add more tests.
10661         * sysdeps/i386/fpu/libm-test-ulps: Update.
10662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10664 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10666         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10668 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10670         * csu/init-first.c: Fix then/than typos.
10671         * locale/programs/ld-collate.c: Likewise.
10672         * locale/programs/linereader.h: Likewise.
10673         * manual/charset.texi: Likewise.
10674         * manual/filesys.texi: Likewise.
10675         * manual/stdio.texi: Likewise.
10676         * manual/string.texi: Likewise.
10677         * stdlib/fmtmsg.c: Likewise.
10678         * sysdeps/i386/stpncpy.S: Likewise.
10679         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10680         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10681         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10682         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10684 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10686         * elf/dl-open.c: Fix typos.
10687         * iconvdata/gbbig5.c: Likewise.
10688         * iconvdata/iso-2022-jp.c: Likewise.
10689         * iconv/gconv_int.h: Likewise.
10690         * iconv/loop.c: Likewise.
10691         * nis/rpcsvc/nis.h: Likewise.
10692         * resolv/ns_name.c: Likewise.
10693         * stdio-common/vfscanf.c: Likewise.
10694         * streams/stropts.h: Likewise.
10695         * sunrpc/rpc_thread.c: Likewise.
10696         * sysdeps/i386/strpbrk.S: Likewise.
10697         * sysdeps/ieee754/k_standard.c: Likewise.
10698         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10699         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10700         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10701         * sysdeps/mach/hurd/profil.c: Likewise.
10702         * sysdeps/s390/dl-procinfo.h: Likewise.
10703         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10704         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10705         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10706         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10707         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10709 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10711         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10712         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10714 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10716         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10717         aix specific files.
10718         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10719         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10720         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10721         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10722         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10723         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10724         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10725         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10727 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10728             Roland McGrath  <roland@hack.frob.com>
10730         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10731         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10733 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10735         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10736         __executable_start symbol instead of _start.
10738 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10740         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10741         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10742         Move macros to...
10743         * sysdeps/gnu/ldsodefs.h: ... this new file.
10745         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10746         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10747         instead of ELFOSABI_LINUX.
10749         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10750         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10751         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10752         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10753         Likewise.
10754         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10755         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10756         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10757         Likewise.
10758         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10759         (ibm_extended_long_double): Add ieee_nan member.
10760         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10761         (do_test): New function.
10763         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10764         TEST_TRUNC.
10765         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10766         functions, renamed from truncdfsf_test, trunctfsf_test,
10767         trunctfdf_test.
10768         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10769         functions.
10770         (do_test): Run all these.
10772 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10774         * argp/argp-help.c: Fix typos.
10775         * argp/argp-parse.c: Likewise.
10776         * debug/backtracesyms.c: Likewise.
10777         * elf/elf.h: Likewise.
10778         * malloc/malloc.c: Likewise.
10779         * nis/nis_print.c: Likewise.
10780         * resolv/res_comp.c: Likewise.
10781         * stdlib/stdlib.h: Likewise.
10782         * sunrpc/clnt_tcp.c: Likewise.
10783         * sunrpc/clnt_udp.c: Likewise.
10784         * sunrpc/clnt_unix.c: Likewise.
10785         * sysdeps/unix/bsd/ptsname.c: Likewise.
10786         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10787         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10789         Likewise.
10790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10791         Likewise.
10792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10793         Likewise.
10794         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10796 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10798         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10799         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10801 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
10803         [BZ #15897]
10804         * dlfcn/Makefile (tests): Add bug-dl-leaf.
10805         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10806         ($(objpfx)bug-dl-leaf): New rule.
10807         ($(objpfx)bug-dl-leaf.so): Likewise.
10808         ($(objpfx)bug-dl-leaf.out): Likewise.
10809         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10810         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10811         * dlfcn/bug-dl-leaf.c: New test.
10812         * dlfcn/bug-dl-leaf-lib.c: Likewise.
10813         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10814         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10815         (dlclose): Likewise.
10816         (dlmopen): Likewise.
10818 2013-08-27  Roland McGrath  <roland@hack.frob.com>
10820         * include/netdb.h [!_ISOMAC]:
10821         Don't include <tls.h>.
10822         (h_errno, __libc_h_errno): Move declaration and macros out of
10823         [_LIBC_REENTRANT].
10825         * include/resolv.h [_RESOLV_H_]:
10826         Don't include <tls.h>.
10827         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10828         * resolv/res_libc.c: Don't include <tls.h>.
10829         (_res): Use __attribute__ ((nocommon)) in place of
10830         __attribute__ ((section (".bss"))).
10832         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10833         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10835         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10837         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10838         only under [SIOCGIFCONF && SIOCGIFNETMASK].
10840         * resolv/res_mkquery.c: Include <sys/time.h>.
10842         * inet/ifreq.c: Moved to ...
10843         * sysdeps/unix/ifreq.c: ... here.
10844         * inet/ifreq.c: New file, true stub version.
10846         * socket/sa_len.c: New file.
10847         * socket/Makefile (aux): Add it.
10848         * sysdeps/unix/sysv/linux/Makefile
10849         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10850         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10851         and #include <socket/sa_len.c>.
10852         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10853         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10855         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10856         * bits/socket.h: ... here.
10858         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10859         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10860         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10862 2013-08-27  Andreas Schwab  <schwab@suse.de>
10864         [BZ #15736]
10865         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10866         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10867         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10868         * string/test-strcasecmp.c (test_main): Run tests in several
10869         locales.
10870         * string/test-strncasecmp.c (test_main): Likewise.
10872         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10873         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10874         to __strcasecmp_nonascii and __strncasecmp_nonascii.
10875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10876         (__strncasecmp_ssse3) [PIC]: Likewise.
10878 2013-08-26  Roland McGrath  <roland@hack.frob.com>
10880         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10882         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10883         instead of explicitly declaring xdecrypt.
10884         * nis/nss_nis/nis-publickey.c: Likewise.
10886 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10888         [BZ #15890]
10889         * nscd/aicache.c: Include res_hconf.h.
10890         (addhstaiX): Initialize res_hconf.
10892 2013-08-26  Andreas Schwab  <schwab@suse.de>
10894         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10895         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10897 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10899         * nscd/aicache.c (addhstaiX): Fix indentation.
10901 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
10903         * configure.ac: Quote $build_pt_chown test.
10904         * configure: Regenerated.
10906 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
10908         [BZ #15532]
10909         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10910         * math/s_cexpf.c (__cexpf): Likewise.
10911         * math/s_cexpl.c (__cexpl): Likewise.
10912         * math/libm-test.inc (cexp_test_data): Correct expected return
10913         value for NaN + i0.  Add another test.
10915 2013-08-22  David S. Miller  <davem@davemloft.net>
10917         * po/ca.po: Update Catalan translation from translation project.
10918         * po/uk.po: Add Ukrainian translations from translation project.
10920 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
10922         [BZ #15797]
10923         * math/s_fdim.c (__fdim): Check for infinite arguments if result
10924         is infinite, not alongside NaN test.
10925         * math/s_fdimf.c (__fdimf): Likewise.
10926         * math/s_fdiml.c (__fdiml): Likewise.
10927         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
10928         errno is unchanged.
10930 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
10932         * argp/argp-help.c: Fix typos.
10933         * crypt/speeds.c: Likewise.
10934         * csu/check_fds.c: Likewise.
10935         * elf/dl-load.c: Likewise.
10936         * elf/dl-open.c: Likewise.
10937         * elf/reldep3.c: Likewise.
10938         * elf/reldep.c: Likewise.
10939         * elf/sprof.c: Likewise.
10940         * iconv/iconv_charmap.c: Likewise.
10941         * iconv/skeleton.c: Likewise.
10942         * iconv/strtab.c: Likewise.
10943         * io/lockf64.c: Likewise.
10944         * libio/libioP.h: Likewise.
10945         * resolv/gai_notify.c: Likewise.
10946         * resolv/ns_name.c: Likewise.
10947         * resolv/ns_samedomain.c: Likewise.
10948         * resolv/res_send.c: Likewise.
10949         * stdlib/random.c: Likewise.
10950         * sunrpc/rpc/xdr.h: Likewise.
10951         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10952         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10953         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10954         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10955         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10956         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10957         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10958         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10959         * sysdeps/mach/hurd/check_fds.c: Likewise.
10960         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10961         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10962         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10963         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10964         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10965         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10966         * sysdeps/pthread/aio_notify.c: Likewise.
10967         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10968         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10969         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10970         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10971         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10973 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10975         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10976         version if bit_Slow_SSE4_2 is set.
10977         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10978         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10980 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10982         [BZ #15867]
10983         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10984         trampoline stack frame information.
10985         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10986         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10987         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10988         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10989         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10990         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10991         (_libc_vdso_platform_setup): Initialize the signal trampolines.
10992         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10993         sa_flags value.
10994         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10995         interrupting a syscall and set with option SA_SIGINFO.
10997 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10999         [BZ #15531]
11000         * math/s_cproj.c (__cproj): Only return an infinity if one part of
11001         argument is infinite.
11002         * math/s_cprojf.c (__cprojf): Likewise.
11003         * math/s_cprojl.c (__cprojl): Likewise.
11004         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11005         * math/libm-test.inc (cproj_test_data): Add more tests.
11007         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11009         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11010         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11011         size.  Use __ffs to determine corresponding shift.
11013 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11014             Roland McGrath  <roland@hack.frob.com>
11016         * Makefile (INSTALL): Remove trailing blank lines from output of
11017         makeinfo.
11019 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11021         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11022         Align 32 bit compat elf_greg to 8 bytes.
11024 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11026         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11028 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11030         * string/strcoll_l.c (coll_seq): New structure.
11031         (get_next_seq_cached): New function.
11032         (get_next_seq): New function.
11033         (do_compare): New function.
11034         (STRCOLL): Use GNU style definition.  Simplify implementation
11035         by using get_next_seq, get_next_seq_cached and do_compare.
11037 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11039         [BZ #14699]
11040         CVE-2013-4237
11041         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11042         member.
11043         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11044         member.
11045         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11046         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11047         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11048         conditional.
11049         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11050         GETDENTS_64BIT_ALIGNED.
11051         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11052         * manual/filesys.texi (Reading/Closing Directory): Document
11053         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11054         strongly.
11055         * manual/conf.texi (Limits for Files): Add portability note to
11056         NAME_MAX, PATH_MAX.
11057         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11059 2013-08-13  Andreas Schwab  <schwab@suse.de>
11061         [BZ #15749]
11062         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11063         of fabs.
11064         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11065         LDBL_MAX_EXP >= 16384]: Add tests for it.
11067 2013-08-12  David S. Miller  <davem@davemloft.net>
11069         * version.h (RELEASE): Set to "development".
11070         (VERSION): Set to "2.18.90".
11071         * NEWS: Add 2.19 section.
11073 2013-08-03  David S. Miller  <davem@davemloft.net>
11075         * po/ko.po: Update Korean translation from translation project.
11077 2013-08-01  David S. Miller  <davem@davemloft.net>
11079         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11080         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11081         Bilka.
11083 2013-07-30  David S. Miller  <davem@davemloft.net>
11085         * po/fr.po: Update French translation from translation project.
11087 2013-07-28  David S. Miller  <davem@davemloft.net>
11089         * po/cs.po: Update Czech translation from translation project.
11091         * po/sv.po: Update Swedish translation from translation project.
11093 2013-07-27  David S. Miller  <davem@davemloft.net>
11095         * po/eo.po: Update Esperanto translation from translation project.
11097         * po/vi.po: Update Vietnamese translation from translation project.
11099         * po/de.po: Update German translation from translation project.
11101 2013-07-26  David S. Miller  <davem@davemloft.net>
11103         * po/bg.po: Update Bulgarian translation from translation project.
11105         * po/nl.po: Update Dutch translation from translation project.
11106         * po/pl.po: Update Polish translation from translation project.
11107         * po/ru.po: Update Russian translation from translation project.
11109 2013-07-24  David S. Miller  <davem@davemloft.net>
11111         * po/libc.pot: Update.
11113 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11115         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11116         variable page size.
11117         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11118         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11119         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11121 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11123         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11125 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11126             Andreas Schwab  <schwab@suse.de>
11127             Roland McGrath  <roland@hack.frob.com>
11128             Joseph Myers  <joseph@codesourcery.com>
11129             Carlos O'Donell  <carlos@redhat.com>
11131         [BZ #15755]
11132         * config.h.in: Define HAVE_PT_CHOWN.
11133         * config.make.in (build-pt-chown): New variable.
11134         * configure.in (--enable-pt_chown): New configure option.
11135         * configure: Regenerate.
11136         * login/Makefile: Include Makeconfig.  Build pt_chown only if
11137         build-pt-chown is enabled.
11138         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11139         pt_chown to fix pty ownership.
11140         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11141         CLOSE_ALL_FDS.
11142         * manual/install.texi (Configuring and compiling): Mention
11143         --enable-pt_chown. Add @findex for grantpt.
11144         * INSTALL: Regenerate.
11146 2013-07-20  David S. Miller  <davem@davemloft.net>
11148         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11149         difference between 32-bit and 64-bit.
11151 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
11153         [BZ #15711]
11154         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11155         Avoid system header dependency with -ffreestanding.
11156         ($(objpfx)bits/syscall%d): Likewise.
11158 2013-07-13  David S. Miller  <davem@davemloft.net>
11160         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11161         underflows from atanl/atan2l due to bug 15319.
11162         (casinh_test_data): Likewise.
11164 2013-07-07  David S. Miller  <davem@davemloft.net>
11166         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11168 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
11170         * sysdeps/i386/fpu/libm-test-ulps: Update.
11171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11173 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11175         * configure.in (--enable-lock-elision): Fix message text.
11176         * INSTALL: Regenerate.
11177         * configure: Regenerate.
11179 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11183 2013-07-03  Andreas Jaeger  <aj@suse.de>
11185         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11186         define.
11187         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11188         (ptrace_peeksiginfo_args): Add.
11189         (__ptrace_peeksiginfo_flags): Add.
11190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11191         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11192         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11194 2013-07-03  Allan McRae  <allan@archlinux.org>
11196         * sysdeps/i386/fpu/libm-test-ulps: Update.
11198 2013-07-02  David S. Miller  <davem@davemloft.net>
11200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11202 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
11204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11206 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11208         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11211 2013-07-02  Andi Kleen <ak@linux.intel.com>
11213         * config.h.in (ENABLE_LOCK_ELISION): Add.
11214         * configure.in (--enable-lock-elision): Add option.
11215         * manual/install.texi: Document --enable lock elision.
11216         * configure: Regenerate
11217         * INSTALL: Regenerate.
11219 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11221         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11222         SSE4.2 strcasecmp for libc.a.
11223         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11225 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11227         [BZ #13304]
11228         * soft-fp/op-common.h (_FP_FMA): New macro.
11229         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11230         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
11231         (_FP_MUL_MEAT_1_imm): ... here.
11232         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
11233         (_FP_MUL_MEAT_1_wide): ... here.
11234         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
11235         (_FP_MUL_MEAT_1_hard): ... here.
11236         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11237         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
11238         (_FP_MUL_MEAT_2_wide): ... here.
11239         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
11240         (_FP_MUL_MEAT_2_wide_3mul): ... here.
11241         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
11242         (_FP_MUL_MEAT_2_gmp): ... here.
11243         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11244         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
11245         (_FP_MUL_MEAT_4_wide): ... here.
11246         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
11247         (_FP_MUL_MEAT_4_gmp): ... here.
11248         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11249         (_FP_WFRACBITS_DW_S): Likewise.
11250         (_FP_WFRACXBITS_DW_S): Likewise.
11251         (_FP_HIGHBIT_DW_S): Likewise.
11252         (FP_FMA_S): Likewise.
11253         (_FP_FRAC_HIGH_DW_S): Likewise.
11254         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11255         (_FP_WFRACBITS_DW_D): Likewise.
11256         (_FP_WFRACXBITS_DW_D): Likewise.
11257         (_FP_HIGHBIT_DW_D): Likewise.
11258         (FP_FMA_D): Likewise.
11259         (_FP_FRAC_HIGH_DW_D): Likewise.
11260         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11261         (_FP_WFRACBITS_DW_E): Likewise.
11262         (_FP_WFRACXBITS_DW_E): Likewise.
11263         (_FP_HIGHBIT_DW_E): Likewise.
11264         (FP_FMA_E): Likewise.
11265         (_FP_FRAC_HIGH_DW_E): Likewise.
11266         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11267         (_FP_WFRACBITS_DW_Q): Likewise.
11268         (_FP_WFRACXBITS_DW_Q): Likewise.
11269         (_FP_HIGHBIT_DW_Q): Likewise.
11270         (FP_FMA_Q): Likewise.
11271         (_FP_FRAC_HIGH_DW_Q): Likewise.
11272         * soft-fp/fmasf4.c: New file.
11273         * soft-fp/fmadf4.c: Likewise.
11274         * soft-fp/fmatf4.c: Likewise.
11276 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11279         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11280         Silvermont.
11281         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11282         macro.
11283         (index_Slow_SSE4_2): Likewise.
11284         (index_Prefer_PMINUB_for_stringop): Likewise.
11285         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11286         bit_Slow_SSE4_2 is set.
11287         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11288         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11290 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11292         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11293         rtld_global._dl_hwcap2.
11294         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11295         POWER8.
11296         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11297         POWER8 feature descriptions defined in _dl_hwcap2.
11298         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11299         string handling for POWER8 feature bits.
11300         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11301         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11302         _dl_powerpc_cap_flags.
11303         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11304         * sysdeps/powerpc/rtld-global-offsets.sym
11305         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11306         _dl_hwcap2 in the rtld_global_ro structure.
11308 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11310         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11311         hardware capabilities in support of AT_HWCAP2.
11312         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11313         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11314         GLRO(dl_hwcap2).
11315         (_dl_show_auxv): Add support for calling _dl_procinfo to display
11316         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
11317         explicitly the unknown a_type display mechanism is used.
11318         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11319         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11320         struct member.
11321         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11322         to macro prototype for AT_HWCAP2 support.
11323         * sysdeps/i386/dl-procinfo.h: Likewise.
11324         * sysdeps/s390/dl-procinfo.h: Likewise.
11325         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11326         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
11327         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
11328         return -1 for unknown a_type display fallback.
11329         * sysdeps/sparc/dl-procinfo.h: Likewise.
11330         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11331         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11333 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
11335         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11336         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11338 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
11340         [BZ #12492]
11341         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11342         mprotect making __stack_prot writable.
11344 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
11345             Joseph Myers  <joseph@codesourcery.com>
11347         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11348         as being properly aligned.
11350 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
11352         * dlfcn/modstatic5.c: New file.
11353         * dlfcn/tststatic5.c: New file.
11354         * dlfcn/Makefile (tests): Add tststatic5.
11355         (tests-static): Likewise.
11356         (modules-names): Add modstatic5.
11357         (tststatic5-ENV): New variable.
11358         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11360         [BZ #15022]
11361         * elf/dl-support.c (_dl_main_map): New variable.
11362         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11363         (_dl_nns, _dl_load_adds): Set to 1.
11364         (_dl_initial_searchlist): Refer to _dl_main_map.
11365         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11366         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11367         call to _dl_get_origin.
11368         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11369         around call_map.
11370         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11371         * dlfcn/modstatic3.c: New file.
11372         * dlfcn/tststatic3.c: New file.
11373         * dlfcn/tststatic4.c: New file.
11374         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11375         (tests-static): Likewise.
11376         (modules-names): Add modstatic3.
11377         (tststatic3-ENV, tststatic4-ENV): New variables.
11378         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11379         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11381 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
11383         * configure.in (CC): Require GCC version 4.4 or later.
11384         * configure: Regenerated.
11385         * manual/install.texi (Tools for Compilation): Update GCC version
11386         requirement.
11387         * INSTALL: Regenerated.
11389 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11391         [BZ #15674]
11392         * string/test-memcmp.c (check2): New.
11393         (main): Call check2.
11395         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11397 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
11399         [BZ #15022]
11400         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11401         over to...
11402         (dl_open_worker) [!SHARED]: ... here.
11404 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11406         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11408 2013-06-25  Richard Henderson  <rth@redhat.com>
11410         * locale/programs/locarchive.c: Include <libc-internal.h>
11412 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
11414         * manual/texinfo.tex: Update to version 2013-06-21.17, with
11415         trailing whitespace removed.
11417 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11419         [BZ #10283]
11420         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11421         * locale/programs/locarchive.c: Include libc-mmap.h.
11422         (prepare_address_space): Take two new outputs (the mmap base and len).
11423         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
11424         values.
11425         (create_archive): Declare new mmap base and len values for
11426         prepare_address_space, and store the result in ah.
11427         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11428         (enlarge_archive): If ah->mmap_base is not NULL, use that and
11429         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11430         Declare new mmap base and len values for
11431         prepare_address_space, and store the result in new_ah.
11432         (open_archive): Declare new mmap base and len values for
11433         prepare_address_space, and store the result in ah.
11434         (close_archive): If ah->mmap_base is not NULL, use that and
11435         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11436         * sysdeps/generic/libc-mmap.h: New file.
11438 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11440         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11441         (ALIGN_UP): Likewise.
11442         (PTR_ALIGN_DOWN): Likewise.
11443         (PTR_ALIGN_UP): Likewise.
11445 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11447         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11448         entry mapped to PPC_PLATFORM_POWER8.
11449         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11450         POWER8.
11451         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11452         (_dl_string_platform): Add case for exporting platform position for
11453         POWER8.
11454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11455         search path to sysdeps/powerpc/powerpc32/power8 directory.
11456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11457         search path to sysdeps/powerpc/powerpc64/power8 directory.
11458         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11459         power7 directories.
11460         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11461         power7 directories.
11463 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11465         * INSTALL: Regenerate.
11467         * nscd/connections.c (nscd_init): Fix comment.
11469 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
11471         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11473         [BZ #15667]
11474         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11475         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11477 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11479         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11480         DL_DST_REQ_STATIC.
11481         (DL_DST_REQ_STATIC): Remove macro.
11483 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
11485         [BZ #7006]
11486         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11487         with a shift of 0 bits.
11489 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11491         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11492         $(tststatic-ENV).
11494 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11496         [BZ #15655]
11497         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11499 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11501         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11502         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11503         accepts -fno-tree-loop-distribute-patterns.
11504         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11505         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11506         recursive call.
11507         * string/memset.c (memset): Likewise.
11508         * string/test-memmove.c (simple_memmove): Disable loop transformation
11509         to library calls.
11510         * string/test-memset.c (simple_memset): Likewise.
11511         * benchtests/bench-memmove.c (simple_memmove): Likewise.
11512         * benchtests/bench-memset.c (simple_memset): Likewise.
11513         * configure: Regenerated.
11515 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
11517         * math/test-misc.c (main): Ignore fesetround failure when failures
11518         of subsequent rounding tests would be ignored.
11520         [BZ #15654]
11521         * math/fedisblxcpt.c (fedisableexcept): Return 0.
11522         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11523         * math/fegetenv.c (__fegetenv): Return 0.
11524         * math/fegetexcept.c (fegetexcept): Return 0.
11525         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11526         FE_TONEAREST.
11527         * math/feholdexcpt.c (feholdexcept): Return 0.
11528         * math/fesetenv.c (__fesetenv): Return 0.
11529         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11530         argument FE_TONEAREST.
11531         * math/feupdateenv.c (__feupdateenv): Return 0.
11532         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11534 2013-06-18  Roland McGrath  <roland@hack.frob.com>
11536         * elf/rtld-Rules (rtld-compile-command.S): New variable.
11537         (rtld-compile-command.s, rtld-compile-command.c): New variables.
11538         ($(objpfx)rtld-%.os rules): Use them.
11540 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11542         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11543         fields.
11545 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11547         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11548         length of target pattern, then descending length of dependency pattern.
11549         * configure.in (AWK): Require gawk 3.1.2 or newer.
11550         * manual/install.texi (Tools for Compilation): Say that we do.
11551         * configure: Regenerated.
11553         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11554         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11555         * scripts/sysd-rules.awk: ... this new script.
11556         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11557         than a glob-style pattern.
11559 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11561         * math/test-misc.c (main): Do not treat incorrectly rounded
11562         conversions as failure unless ROUNDING_TESTS passes.
11564 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11566         [BZ #15631]
11567         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11568         restore exception state around main square root computation, then
11569         check for inexactness explicitly.
11571         * math/libm-test.inc (fma_test_data): Add another test.
11573 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11575         * manual/threads.texi (Non-POSIX Extensions): New document
11576         node.  Document pthread_getattr_default_np and
11577         pthread_setattr_default_np.
11579         * Versions.def (libpthread): Add GLIBC_2.18.
11580         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11582         Likewise.
11583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11584         Likewise.
11585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11586         Likewise.
11587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11588         Likewise.
11589         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11590         Likewise.
11591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11592         Likewise.
11593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11594         Likewise.
11595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11596         Likewise.
11597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11598         Likewise.
11600 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11603         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11605 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11606             H.J. Lu  <hjl.tools@gmail.com>
11608         [BZ #15627]
11609         * sysdeps/x86_64/rtld-memset.c: Remove file.
11610         * sysdeps/x86_64/rtld-memset.S: New file.
11612 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11614         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11615         (test_in_one_mode): Take arguments for whether the rounding mode
11616         is supported for each floating-point type.
11617         (do_test): Pass new arguments to test_in_one_mode using
11618         ROUNDING_TESTS.
11620 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11622         * posix/tst-waitid.c (do_test): Distinguish different instances of
11623         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11624         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11625         before entering the kernel for waitpid.
11627 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11629         * NEWS: Fix note on clock function precision.  Text by Roland
11630         McGrath.
11632 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11634         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11635         it into place only when and if the sanity check passes.
11637 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
11639         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11640         output for whether conversion result is exact.  Take argument
11641         indicating whether type is IBM long double.
11642         (round_for_all): Change need_exact field to ibm_ld.
11643         * stdlib/tst-strtod-round.c (struct exactness): New type.
11644         (struct test): Change bool ld_ok field to struct exactness exact.
11645         (TEST): Update all definitions for change to field.
11646         (tests): Regenerate array contents.
11647         (test_in_one_mode): Take pointer to new field instead of old ld_ok
11648         field value.  Check for IBM long double here.
11649         (do_test): Update calls to test_in_one_mode.
11651 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11653         [BZ #12515]
11654         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11655         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11657 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11659         [BZ #15605]
11660         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11661         generated by the compiler on loop optimizations.
11662         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11663         general definitions.
11665 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11667         * math/bug-nextafter.c: Include <math-tests.h>.
11668         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11669         the relevant type.
11670         * math/bug-nexttoward.c: Include <math-tests.h>.
11671         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11672         the relevant type.
11673         * math/test-misc.c: Include <math-tests.h>.
11674         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11675         the relevant type.
11677 2013-06-12  Andreas Jaeger  <aj@suse.de>
11679         * po/ia.po: Update Interlingua translation from translation
11680         project.
11682 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11684         * include/fenv.h: Include stdbool.h.
11685         (struct rm_ctx): New structure.
11686         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11687         Define macro.
11688         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11689         (SET_RESTORE_ROUNDF): Likewise.
11690         (SET_RESTORE_ROUNDL): Likewise.
11691         (SET_RESTORE_ROUND_NOEX): Likewise.
11692         (SET_RESTORE_ROUND_NOEXF): Likewise.
11693         (SET_RESTORE_ROUND_NOEXL): Likewise.
11694         (SET_RESTORE_ROUND_53BIT): Likewise.
11695         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11696         (libc_feresetround_noexf_ctx): Likewise.
11697         (libc_feresetround_noexl_ctx): Likewise.
11698         (libc_feholdsetround_53bit_ctx): Likewise.
11699         (libc_feresetround_53bit_ctx): Likewise.
11700         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11701         (libc_feholdexcept_setround_sse_ctx): New function.
11702         (libc_fesetenv_sse_ctx): Likewise.
11703         (libc_feupdateenv_sse_ctx): Likewise.
11704         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11705         (libc_feholdexcept_setround_387_ctx): Likewise.
11706         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11707         (libc_feholdsetround_387_prec_ctx): Likewise.
11708         (libc_feholdsetround_387_ctx): Likewise.
11709         (libc_feholdsetround_387_53bit_ctx): Likewise.
11710         (libc_feholdsetround_sse_ctx): Likewise.
11711         (libc_feresetround_sse_ctx): Likewise.
11712         (libc_feresetround_387_ctx): Likewise.
11713         (libc_feupdateenv_387_ctx): Likewise.
11714         (libc_feholdexcept_setroundf_ctx): Define macro.
11715         (libc_fesetenvf_ctx): Likewise.
11716         (libc_feupdateenvf_ctx): Likewise.
11717         (libc_feholdsetroundf_ctx): Likewise.
11718         (libc_feresetroundf_ctx): Likewise.
11719         (libc_feholdexcept_setround_ctx): Likewise.
11720         (libc_fesetenv_ctx): Likewise.
11721         (libc_feupdateenv_ctx): Likewise.
11722         (libc_feholdsetround_ctx): Likewise.
11723         (libc_feresetround_ctx): Likewise.
11724         (libc_feholdexcept_setroundl_ctx): Likewise.
11725         (libc_feupdateenvl_ctx): Likewise.
11726         (libc_feholdsetroundl_ctx): Likewise.
11727         (libc_feresetroundl_ctx): Likewise.
11728         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11729         (libc_feresetround_53bit_ctx): Likewise.
11731 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11733         * locale/iso-639.def: Convert to UTF-8.
11735 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11737         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11738         (EXCEPTION_TESTS_double): Likewise.
11739         (EXCEPTION_TESTS_long_double): Likewise.
11740         (EXCEPTION_TESTS): Likewise.
11741         * math/libm-test.inc (test_exceptions): Only test exceptions if
11742         EXCEPTION_TESTS (FLOAT).
11744 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11746         * benchtests/Makefile (string-bench): Add strcpy_chk and
11747         stpcpy_chk.
11748         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11749         * benchtests/bench-stpcpy_chk.c: New file.
11750         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11751         * benchtests/bench-strcpy_chk.c: New file.
11752         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11753         code.
11754         (do_test): Likewise.
11756 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11758         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11759         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11760         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11761         with tabs where appropriate.
11762         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11763         dl-procinfo.h.
11764         [PPC_PLATFORM_PPC440]: Likewise.
11765         [PPC_PLATFORM_PPC464]: Likewise.
11766         [PPC_PLATFORM_PPC476]: Likewise.
11767         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11768         ppc464, and ppc476 platform strings merging from ports/
11769         dl-procinfo.h.
11771 2013-06-11  Andreas Schwab  <schwab@suse.de>
11773         [BZ #14991]
11774         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11775         (from_ucs4_idx): Regenerate.
11776         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11777         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11778         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11779         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11780         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11781         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11782         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11783         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11784         from FROM_LOOP and TO_LOOP specific macros.
11785         (BODY): Handle combining characters.
11786         * iconvdata/BIG5HKSCS.irreversible: Update.
11787         * iconvdata/BIG5HKSCS.precomposed: New file.
11788         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11789         characters.
11790         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11792 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11794         * include/sys/time.h: Fix indentation and add copyright header.
11796         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11797         (do_test): Likewise.
11798         * string/test-memchr.c (do_one_test): Likewise.
11799         (do_test): Likewise.
11800         * string/test-memcmp.c (do_one_test): Likewise.
11801         (do_test): Likewise.
11802         * string/test-memcpy.c (do_one_test): Likewise.
11803         (do_test): Likewise.
11804         * string/test-memmem.c (do_one_test): Likewise.
11805         (do_test): Likewise.
11806         (do_random_tests): Likewise.
11807         * string/test-memmove.c (do_one_test): Likewise.
11808         (do_test): Likewise.
11809         * string/test-memset.c (do_one_test): Likewise.
11810         (do_test): Likewise.
11811         * string/test-rawmemchr.c (do_one_test): Likewise.
11812         (do_test): Likewise.
11813         * string/test-strcasecmp.c (do_one_test): Likewise.
11814         (do_test): Likewise.
11815         * string/test-strcasestr.c (do_one_test): Likewise.
11816         (do_test): Likewise.
11817         * string/test-strcat.c (do_one_test): Likewise.
11818         (do_test): Likewise.
11819         * string/test-strchr.c (do_one_test): Likewise.
11820         (do_test): Likewise.
11821         * string/test-strcmp.c (do_one_test): Likewise.
11822         (do_test): Likewise.
11823         * string/test-strcpy.c (do_one_test): Likewise.
11824         (do_test): Likewise.
11825         * string/test-string.h: Likewise.
11826         (test_init): Likewise.
11827         * string/test-strlen.c (do_one_test): Likewise.
11828         (do_test): Likewise.
11829         * string/test-strncasecmp.c (do_one_test): Likewise.
11830         (do_test): Likewise.
11831         * string/test-strncat.c (do_one_test): Likewise.
11832         (do_test): Likewise.
11833         * string/test-strncmp.c (do_one_test): Likewise.
11834         (do_test_limit): Likewise.
11835         (do_test): Likewise.
11836         * string/test-strncpy.c (do_one_test): Likewise.
11837         (do_test): Likewise.
11838         * string/test-strnlen.c (do_one_test): Likewise.
11839         (do_test): Likewise.
11840         * string/test-strpbrk.c (do_one_test): Likewise.
11841         (do_test): Likewise.
11842         * string/test-strrchr.c (do_one_test): Likewise.
11843         (do_test): Likewise.
11844         * string/test-strspn.c (do_one_test): Likewise.
11845         (do_test): Likewise.
11846         * string/test-strstr.c (do_one_test): Likewise.
11847         (do_test): Likewise.
11849         * benchtests/Makefile (string-bench): Add string benchmarks.
11850         * benchtests/bench-bcopy-ifunc.c: New file.
11851         * benchtests/bench-bcopy.c: New file.
11852         * benchtests/bench-bzero-ifunc.c: New file.
11853         * benchtests/bench-bzero.c: New file.
11854         * benchtests/bench-memccpy-ifunc.c: New file.
11855         * benchtests/bench-memccpy.c: New file.
11856         * benchtests/bench-memchr-ifunc.c: New file.
11857         * benchtests/bench-memchr.c: New file.
11858         * benchtests/bench-memcmp-ifunc.c: New file.
11859         * benchtests/bench-memcmp.c: New file.
11860         * benchtests/bench-memmem-ifunc.c: New file.
11861         * benchtests/bench-memmem.c: New file.
11862         * benchtests/bench-memmove-ifunc.c: New file.
11863         * benchtests/bench-memmove.c: New file.
11864         * benchtests/bench-mempcpy-ifunc.c: New file.
11865         * benchtests/bench-mempcpy.c: New file.
11866         * benchtests/bench-memset-ifunc.c: New file.
11867         * benchtests/bench-memset.c: New file.
11868         * benchtests/bench-rawmemchr-ifunc.c: New file.
11869         * benchtests/bench-rawmemchr.c: New file.
11870         * benchtests/bench-stpcpy-ifunc.c: New file.
11871         * benchtests/bench-stpcpy.c: New file.
11872         * benchtests/bench-stpncpy-ifunc.c: New file.
11873         * benchtests/bench-stpncpy.c: New file.
11874         * benchtests/bench-strcasecmp-ifunc.c: New file.
11875         * benchtests/bench-strcasecmp.c: New file.
11876         * benchtests/bench-strcasestr-ifunc.c: New file.
11877         * benchtests/bench-strcasestr.c: New file.
11878         * benchtests/bench-strcat-ifunc.c: New file.
11879         * benchtests/bench-strcat.c: New file.
11880         * benchtests/bench-strchr-ifunc.c: New file.
11881         * benchtests/bench-strchr.c: New file.
11882         * benchtests/bench-strchrnul-ifunc.c: New file.
11883         * benchtests/bench-strchrnul.c: New file.
11884         * benchtests/bench-strcmp-ifunc.c: New file.
11885         * benchtests/bench-strcmp.c: New file.
11886         * benchtests/bench-strcpy-ifunc.c: New file.
11887         * benchtests/bench-strcpy.c: New file.
11888         * benchtests/bench-strcspn-ifunc.c: New file.
11889         * benchtests/bench-strcspn.c: New file.
11890         * benchtests/bench-strlen-ifunc.c: New file.
11891         * benchtests/bench-strlen.c: New file.
11892         * benchtests/bench-strncasecmp-ifunc.c: New file.
11893         * benchtests/bench-strncasecmp.c: New file.
11894         * benchtests/bench-strncat-ifunc.c: New file.
11895         * benchtests/bench-strncat.c: New file.
11896         * benchtests/bench-strncmp-ifunc.c: New file.
11897         * benchtests/bench-strncmp.c: New file.
11898         * benchtests/bench-strncpy-ifunc.c: New file.
11899         * benchtests/bench-strncpy.c: New file.
11900         * benchtests/bench-strnlen-ifunc.c: New file.
11901         * benchtests/bench-strnlen.c: New file.
11902         * benchtests/bench-strpbrk-ifunc.c: New file.
11903         * benchtests/bench-strpbrk.c: New file.
11904         * benchtests/bench-strrchr-ifunc.c: New file.
11905         * benchtests/bench-strrchr.c: New file.
11906         * benchtests/bench-strspn-ifunc.c: New file.
11907         * benchtests/bench-strspn.c: New file.
11908         * benchtests/bench-strstr-ifunc.c: New file.
11909         * benchtests/bench-strstr.c: New file.
11911         * benchtests/Makefile: Disable parallel execution of targets.
11912         (string-bench): Add memcpy.
11913         (benchset): New variable to store a list of benchmark sets.
11914         (bench-func): Renamed from bench.
11915         (bench-set): New target.
11916         (bench): Depend on bench-func and bench-set.
11917         * benchtests/README: Add section on benchmark sets.
11918         * benchtests/bench-memcpy-ifunc.c: New file.
11919         * benchtests/bench-memcpy.c: New file.
11920         * benchtests/bench-string.h: New file.
11922 2013-06-11  Andreas Schwab  <schwab@suse.de>
11924         [BZ #15577]
11925         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11926         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11927         values in the triple.
11928         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11929         terminator in the group key.
11931 2013-06-11  Andreas Jaeger  <aj@suse.de>
11933         * po/zh_TW.po: Update Chinese (traditional) translation from
11934         translation project.
11936 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11938         * include/time.h (__clock_gettime): Add libc_hidden_proto.
11939         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11940         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
11941         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11942         (clock_getcpuclockid): Likewise.
11943         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11944         Add weak_alias and libc_hidden_def.
11945         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11946         * rt/clock_gettime.c (clock_gettime): Rename to
11947         __clock_gettime.  Add weak_alias and libc_hidden_def.
11948         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11949         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11950         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
11951         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11952         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11953         Likewise.
11954         * rt/clock_settime.c (clock_settime): Rename to
11955         __clock_settime.  Add weak_alias and libc_hidden_def.
11956         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11958 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
11960         * mach/err_boot.sub: Remove trailing whitespace.
11961         * mach/err_ipc.sub: Likewise.
11962         * mach/err_mach.sub: Likewise.
11964         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11965         (ROUNDING_TESTS_double): Likewise.
11966         (ROUNDING_TESTS_long_double): Likewise.
11967         (ROUNDING_TESTS): Likewise.
11968         * math/libm-test.inc: Include <math-tests.h>.
11969         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11970         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11971         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11972         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11974 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11976         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11977         of assigning.
11979 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
11981         * sysdeps/gnu/errlist.awk: Do not generate space at end of
11982         otherwise empty TRANS lines.
11983         * sysdeps/gnu/errlist.c: Regenerated.
11985         * catgets/gencat.c (error_print): Use (void) in function
11986         definition.
11987         * crypt/crypt_util.c (__init_des): Likewise.
11988         * crypt/speeds.c (Stop): Likewise.
11989         (main): Likewise.
11990         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11991         * inet/ruserpass.c (token): Likewise.
11992         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11993         * intl/localealias.c (extend_alias_table): Likewise.
11994         * intl/plural-exp.c (init_germanic_plural): Likewise.
11995         * libio/fcloseall.c (__fcloseall): Likewise.
11996         * libio/genops.c (_IO_flush_all): Likewise.
11997         (_IO_flush_all_linebuffered): Likewise.
11998         (_IO_cleanup): Likewise.
11999         (_IO_iter_begin): Likewise.
12000         (_IO_iter_end): Likewise.
12001         (_IO_list_lock): Likewise.
12002         (_IO_list_unlock): Likewise.
12003         (_IO_list_resetlock): Likewise.
12004         * libio/getchar.c (getchar): Likewise.
12005         * libio/getchar_u.c (getchar_unlocked): Likewise.
12006         * libio/getwchar.c (getwchar): Likewise.
12007         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12008         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12009         * login/getpt.c (__getpt): Likewise.
12010         * login/tst-utmp.c (main): Likewise.
12011         * malloc/hooks.c (__malloc_check_init): Likewise.
12012         * malloc/malloc.c (__malloc_stats): Likewise.
12013         * malloc/mtrace.c (tr_break): Likewise.
12014         (mtrace): Likewise.
12015         (muntrace): Likewise.
12016         * misc/fstab.c (endfsent): Likewise.
12017         * misc/getclktck.c (__getclktck): Likewise.
12018         * misc/getdtsz.c (__getdtablesize): Likewise.
12019         * misc/gethostid.c (gethostid): Likewise.
12020         * misc/getpagesize.c (__getpagesize): Likewise.
12021         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12022         (__get_nprocs): Likewise.
12023         (__get_phys_pages): Likewise.
12024         (__get_avphys_pages): Likewise.
12025         * misc/getttyent.c (getttyent): Likewise.
12026         (setttyent): Likewise.
12027         (endttyent): Likewise.
12028         * misc/getusershell.c (getusershell): Likewise.
12029         (endusershell): Likewise.
12030         (setusershell): Likewise.
12031         (initshells): Likewise.
12032         * misc/hsearch.c (__hdestroy): Likewise.
12033         * misc/sync.c (sync): Likewise.
12034         * misc/syslog.c (closelog_internal): Likewise.
12035         (closelog): Likewise.
12036         * misc/ttyslot.c (ttyslot): Likewise.
12037         * misc/vhangup.c (vhangup): Likewise.
12038         * posix/fork.c (__fork): Likewise.
12039         * posix/getegid.c (__getegid): Likewise.
12040         * posix/geteuid.c (__geteuid): Likewise.
12041         * posix/getgid.c (__getgid): Likewise.
12042         * posix/getpid.c (__getpid): Likewise.
12043         * posix/getppid.c (__getppid): Likewise.
12044         * posix/getuid.c (__getuid): Likewise.
12045         * posix/pause.c (pause): Likewise.
12046         * posix/setpgrp.c (setpgrp): Likewise.
12047         * posix/setsid.c (__setsid): Likewise.
12048         * posix/test-vfork.c (noop): Likewise.
12049         * resolv/gethnamaddr.c (_endhtent): Likewise.
12050         (_gethtent): Likewise.
12051         (ht_endhostent): Likewise.
12052         (gethostent): Likewise.
12053         (dns_service): Likewise.
12054         * stdlib/drand48.c (drand48): Likewise.
12055         * stdlib/lrand48.c (lrand48): Likewise.
12056         * stdlib/mrand48.c (mrand48): Likewise.
12057         * stdlib/rand.c (rand): Likewise.
12058         * stdlib/random.c (__random): Likewise.
12059         * stdlib/setenv.c (clearenv): Likewise.
12060         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12061         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12062         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12063         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12064         (__get_nprocs): Likewise.
12065         (__get_phys_pages): Likewise.
12066         (__get_avphys_pages): Likewise.
12067         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12068         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12069         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12070         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12071         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12072         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12073         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12074         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12075         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12076         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12077         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12078         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12079         * sysdeps/posix/clock.c (clock): Likewise.
12080         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12081         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12082         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12083         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12084         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12085         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12086         (__get_nprocs_conf): Likewise.
12087         (__get_phys_pages): Likewise.
12088         (__get_avphys_pages): Likewise.
12089         * time/clock.c (clock): Likewise.
12090         * time/tzset.c (__tzname_max): Likewise.
12092 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12094         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12095         (__bswap_32): Do not use "register".
12096         * crypt/crypt.c (_ufc_doit_r): Likewise.
12097         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12098         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12099         * gmon/gmon.c (__monstartup): Likewise.
12100         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12101         * hurd/hurdmalloc.c (more_memory): Likewise.
12102         (malloc): Likewise.
12103         (free): Likewise.
12104         (realloc): Likewise.
12105         (malloc_fork_prepare): Likewise.
12106         (malloc_fork_parent): Likewise.
12107         (malloc_fork_child): Likewise.
12108         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12109         (_svcauth_des): Likewise.
12110         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12111         * inet/inet_net.c (inet_network): Likewise.
12112         * inet/inet_netof.c (inet_netof): Likewise.
12113         * inet/rcmd.c (__validuser2_sa): Likewise.
12114         * io/fts.c (fts_open): Likewise.
12115         (fts_load): Likewise.
12116         (fts_close): Likewise.
12117         (fts_read): Likewise.
12118         (fts_children): Likewise.
12119         (fts_build): Likewise.
12120         (fts_stat): Likewise.
12121         (fts_sort): Likewise.
12122         (fts_alloc): Likewise.
12123         (fts_lfree): Likewise.
12124         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12125         (_IO_file_xsgetn): Likewise.
12126         (_IO_file_xsgetn_mmap): Likewise.
12127         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12128         (_IO_cookie_write): Likewise.
12129         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12130         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12131         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12132         * malloc/obstack.c (_obstack_begin): Likewise.
12133         (_obstack_begin_1): Likewise.
12134         (_obstack_newchunk): Likewise.
12135         (_obstack_allocated_p): Likewise.
12136         (obstack_free): Likewise.
12137         (_obstack_memory_used): Likewise.
12138         * misc/getttyent.c (getttynam): Likewise.
12139         (getttyent): Likewise.
12140         (skip): Likewise.
12141         (value): Likewise.
12142         * misc/getusershell.c (initshells): Likewise.
12143         * misc/syslog.c (__vsyslog_chk): Likewise.
12144         * misc/ttyslot.c (ttyslot): Likewise.
12145         * nis/nis_hash.c (__nis_hash): Likewise.
12146         * posix/fnmatch_loop.c (FCT): Likewise.
12147         * posix/getconf.c (print_all): Likewise.
12148         (main): Likewise.
12149         * posix/getopt.c (exchange): Likewise.
12150         * posix/glob.c (globfree): Likewise.
12151         (prefix_array): Likewise.
12152         (__glob_pattern_type): Likewise.
12153         * resolv/arpa/nameser.h (NS_GET16): Likewise.
12154         (NS_GET32): Likewise.
12155         (NS_PUT16): Likewise.
12156         (NS_PUT32): Likewise.
12157         * resolv/gethnamaddr.c (getanswer): Likewise.
12158         (gethostbyname2): Likewise.
12159         (gethostbyaddr): Likewise.
12160         (_gethtent): Likewise.
12161         (_gethtbyname2): Likewise.
12162         (_gethtbyaddr): Likewise.
12163         * resolv/ns_print.c (dst_s_get_int16): Likewise.
12164         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12165         * resolv/res_init.c (__res_vinit): Likewise.
12166         (net_mask): Likewise.
12167         * resolv/res_mkquery.c (outchar): Likewise.
12168         (PRINT): Likewise.
12169         * stdio-common/printf_fp.c (outchar): Likewise.
12170         (PRINT): Likewise.
12171         * stdio-common/printf_fphex.c (outchar): Likewise.
12172         (PRINT): Likewise.
12173         * stdio-common/printf_size.c (outchar): Likewise.
12174         (PRINT): Likewise.
12175         * stdio-common/test_rdwr.c (main): Likewise.
12176         * stdio-common/tfformat.c (matches): Likewise.
12177         * stdio-common/vfprintf.c (outchar): Likewise.
12178         (printf_unknown): Likewise.
12179         (buffered_vfprintf): Likewise.
12180         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12181         * stdio-common/xbug.c (AppendToBuffer): Likewise.
12182         (ReadFile): Likewise.
12183         * stdlib/qsort.c (SWAP): Likewise.
12184         (_quicksort): Likewise.
12185         * stdlib/setenv.c (__add_to_environ): Likewise.
12186         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12187         * stdlib/strtol_l.c (__strtol_l): Likewise.
12188         * stdlib/tst-strtod.c (main): Likewise.
12189         * stdlib/tst-strtol.c (main): Likewise.
12190         * stdlib/tst-strtoll.c (main): Likewise.
12191         * string/bits/string2.h (__strcmp_cc): Likewise.
12192         (__strcmp_cg): Likewise.
12193         (__strcspn_c1): Likewise.
12194         (__strcspn_c2): Likewise.
12195         (__strcspn_c3): Likewise.
12196         (__strspn_c1): Likewise.
12197         (__strspn_c2): Likewise.
12198         (__strspn_c3): Likewise.
12199         (__strsep_1c): Likewise.
12200         (__strsep_2c): Likewise.
12201         (__strsep_3c): Likewise.
12202         * string/memccpy.c (__memccpy): Likewise.
12203         * string/stpcpy.c (__stpcpy): Likewise.
12204         * string/strcmp.c (strcmp): Likewise.
12205         * string/strrchr.c (strrchr): Likewise.
12206         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12207         Likewise.
12208         * sysdeps/mach/hurd/getcwd.c
12209         (_hurd_canonicalize_directory_name_internal): Likewise.
12210         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12211         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12212         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12213         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12214         Likewise, in both definitions.
12215         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12216         definitions.
12217         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12218         64] (__bswap_64): Likewise.
12219         * time/test_time.c (main): Likewise.
12220         * time/tzfile.c (__tzfile_read): Likewise.
12221         (__tzfile_compute): Likewise.
12222         * time/tzset.c (__tzset_parse_tz): Likewise.
12223         (tzset_internal): Likewise.
12224         (compute_change): Likewise.
12225         * wcsmbs/wcscat.c (__wcscat): Likewise.
12226         * wcsmbs/wcschr.c (wcschr): Likewise.
12227         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12228         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12229         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12230         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12231         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12232         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12233         * wcsmbs/wmemchr.c (wmemchr): Likewise.
12234         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12235         * wcsmbs/wmemset.c (wmemset): Likewise.
12237 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
12239         * scripts/config.guess: Update to version 2013-05-16.
12240         * scripts/config.sub: Update to version 2013-04-24.
12241         * scripts/install-sh: Update to version 2011-11-20.07.
12242         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12243         * scripts/move-if-change: Update to version 2012-01-06 07:23.
12245 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
12247         * debug/fgetws_u_chk.c: Fix leading whitespaces.
12248         * elf/sln.c: Likewise.
12249         * hurd/hurd/ioctl.h: Likewise.
12250         * hurd/hurdmalloc.c: Likewise.
12251         * hurd/xattr.c: Likewise.
12252         * include/shlib-compat.h: Likewise.
12253         * inet/ruserpass.c: Likewise.
12254         * libio/iofgets_u.c: Likewise.
12255         * libio/iofgetws_u.c: Likewise.
12256         * locale/programs/ld-identification.c: Likewise.
12257         * locale/programs/ld-time.c: Likewise.
12258         * mach/msg-destroy.c: Likewise.
12259         * nss/nss_files/files-netgrp.c: Likewise.
12260         * resolv/res_data.c: Likewise.
12261         * soft-fp/op-1.h: Likewise.
12262         * soft-fp/op-2.h: Likewise.
12263         * soft-fp/op-4.h: Likewise.
12264         * soft-fp/op-common.h: Likewise.
12265         * stdio-common/printf_fphex.c: Likewise.
12266         * stdlib/strtod_l.c: Likewise.
12267         * sunrpc/rpc/clnt.h: Likewise.
12268         * sysdeps/generic/framestate.c: Likewise.
12269         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12270         * sysdeps/i386/bsd-setjmp.S: Likewise.
12271         * sysdeps/i386/__longjmp.S: Likewise.
12272         * sysdeps/i386/setjmp.S: Likewise.
12273         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12274         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12275         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12276         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12277         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12278         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12279         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12280         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12281         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12282         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12283         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12284         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12285         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12286         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12287         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12288         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12289         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12290         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12291         * sysdeps/ieee754/support.c: Likewise.
12292         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12293         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12294         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12295         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12296         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12297         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12298         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12299         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12300         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12301         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12302         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12303         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12304         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12305         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12306         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12307         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12308         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12311 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
12313         * posix/transbug.c: Remove executable mode.
12315 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
12317         * crypt/speeds.c: Remove trailing whitespace.
12318         * dlfcn/default.c: Likewise.
12319         * elf/ifuncdep2.c: Likewise.
12320         * elf/ifuncmain1.c: Likewise.
12321         * elf/ifuncmain1vis.c: Likewise.
12322         * elf/testobj.h: Likewise.
12323         * elf/tst-stackguard1.c: Likewise.
12324         * gmon/sys/gmon.h: Likewise.
12325         * hurd/hurdmsg.c: Likewise.
12326         * hurd/new-fd.c: Likewise.
12327         * hurd/ports-get.c: Likewise.
12328         * iconvdata/ibm1008_420.c: Likewise.
12329         * inet/tst-getni1.c: Likewise.
12330         * inet/tst-getni2.c: Likewise.
12331         * libio/ioungetc.c: Likewise.
12332         * libio/wfiledoalloc.c: Likewise.
12333         * manual/libm-err-tab.pl: Likewise.
12334         * math/w_dremf.c: Likewise.
12335         * misc/ftruncate.c: Likewise.
12336         * posix/bug-glob2.c: Likewise.
12337         * posix/tst-pcre.c: Likewise.
12338         * posix/wait4.c: Likewise.
12339         * resolv/README: Likewise.
12340         * resolv/res_debug.h: Likewise.
12341         * resolv/tst-inet_ntop.c: Likewise.
12342         * setjmp/bug269-setjmp.c: Likewise.
12343         * soft-fp/extended.h: Likewise.
12344         * soft-fp/op-1.h: Likewise.
12345         * soft-fp/op-2.h: Likewise.
12346         * soft-fp/op-4.h: Likewise.
12347         * soft-fp/op-8.h: Likewise.
12348         * soft-fp/testit.c: Likewise.
12349         * stdio-common/bug16.c: Likewise.
12350         * stdlib/random.c: Likewise.
12351         * sunrpc/rpcsvc/rquota.x: Likewise.
12352         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12353         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12354         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12355         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12356         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12357         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12358         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12359         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12360         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12361         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12362         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12363         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12364         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12365         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12366         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12367         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12368         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12369         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12370         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12371         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12372         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12373         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12374         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12375         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12376         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12377         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12378         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12380         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12381         * sysdeps/ieee754/s_lib_version.c: Likewise.
12382         * sysdeps/mach/hurd/check_fds.c: Likewise.
12383         * sysdeps/mach/hurd/getsockname.c: Likewise.
12384         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12385         * sysdeps/mach/hurd/recvfrom.c: Likewise.
12386         * sysdeps/powerpc/bits/link.h: Likewise.
12387         * sysdeps/powerpc/dl-procinfo.c: Likewise.
12388         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12389         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12390         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12391         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12392         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12393         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12394         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12395         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12396         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12397         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12398         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12399         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12400         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12401         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12402         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12403         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12404         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12405         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12406         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12407         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12408         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12409         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12410         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12411         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12412         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12413         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12414         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12415         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12416         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12417         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12418         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12419         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12420         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12421         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12422         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12423         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12424         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12425         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12426         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12427         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12428         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12429         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12430         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12431         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12432         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12433         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12434         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12435         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12436         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12437         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12438         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12439         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12440         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12441         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12442         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12443         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12444         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12445         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12446         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12447         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12448         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12449         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12450         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12451         * sysdeps/powerpc/sysdep.h: Likewise.
12452         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12453         * sysdeps/s390/s390-64/sub_n.S: Likewise.
12454         * sysdeps/sh/dl-trampoline.S: Likewise.
12455         * sysdeps/sh/memset.S: Likewise.
12456         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12457         * sysdeps/sh/strlen.S: Likewise.
12458         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12459         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12460         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12461         * sysdeps/sparc/sparc32/rem.S: Likewise.
12462         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12463         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12464         * sysdeps/sparc/sparc32/strchr.S: Likewise.
12465         * sysdeps/sparc/sparc32/udiv.S: Likewise.
12466         * sysdeps/sparc/sparc32/urem.S: Likewise.
12467         * sysdeps/sparc/sparc64/add_n.S: Likewise.
12468         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12469         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12470         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12471         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12472         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12473         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12474         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12475         * sysdeps/unix/bsd/times.c: Likewise.
12476         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12477         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12481         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12482         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12483         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12484         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12485         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12486         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12487         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12488         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12489         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12490         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12491         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12492         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12493         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12494         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12495         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12496         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12497         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12498         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12499         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12500         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12501         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12502         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12503         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12504         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12505         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12506         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12507         * sysdeps/x86_64/strcspn.S: Likewise.
12509 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12511         * locale/C-translit.h: Revert #include <stdint.h> because this is a
12512         generated file.  Regenerate properly from gen-translit.pl.
12513         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
12514         locale/C-translit.h.
12516 2013-06-05  Andreas Schwab  <schwab@suse.de>
12518         [BZ #15100]
12519         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12520         week as 6 instead of -1.
12521         * time/tst-strptime.c (day_tests): Add test case.
12523 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12525         * sysdeps/generic/math_private.h
12526         (libc_feholdexcept_setround_53bit): Replace with
12527         libc_feholdsetround_53bit.
12528         (libc_feupdateenv_53bit): Replace with
12529         libc_feresetround_53bit.
12530         (SET_RESTORE_ROUND_53BIT): Adjust.
12532 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12534         * string/test-strchrnul.c: Add copyright header.
12536         * posix/tst-getaddrinfo4.c: Increase test timeout.
12538 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
12540         [BZ #15536]
12541         * math/libm-test.inc (MAX_EXP): Remove
12542         (MIN_EXP): Define.
12543         (ulp): Use MIN_EXP - MANT_DIG.
12544         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12546 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12548         * po/be.po: Revert last change.
12549         * po/zh_CN.po: Likewise.
12550         * po/header.pot: Likewise.
12552 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12554         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12555         link-libc-deps to empty as target-specific variable.
12556         * Makerules (link-libc-args): New variable.
12557         (libc-for-link): Likewise.
12558         (link-libc-deps): Likewise.
12559         (lib%.so): Depend on $(link-libc-deps).  Link with
12560         $(link-libc-args).
12561         (build-module): Link with $(link-libc-args).
12562         (build-module-asneeded): Likewise.
12563         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12564         list of objects.
12565         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12566         target-specific variable.
12567         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12568         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12569         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12570         libc.
12571         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12572         libc and ld.so.
12573         ($(objpfx)libpcprofile.so): Likewise.
12574         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12575         libc_nonshared.a.
12576         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12577         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12578         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12579         $(link-libc-deps).
12580         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12581         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12582         * login/Makefile ($(objpfx)libutil.so): Likewise.
12583         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12584         * math/Makefile ($(objpfx)libm.so): Likewise.
12585         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12586         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12587         variable instead of depending directly on libc.
12588         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12589         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12590         $(link-libc-deps).
12591         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12592         libc.
12593         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12594         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12595         ($(objpfx)libanl.so): Likewise.
12596         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12597         ld.so.
12598         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12599         $(link-libc-deps).
12600         * sysdeps/i386/fpu/Makefile: Remove file.
12601         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12602         ($(objpfx)libm.so): Remove dependency on ld.so.
12604 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12606         [BZ # 15553]
12607         * nis/yp_xdr.c (XDRMAXNAME): Define.
12608         (XDRMAXRECORD): Define.
12609         (xdr_domainname): Use XDRMAXNAME.
12610         (xdr_mapname): Likewise.
12611         (xdr_peername): Likewise.
12612         (xdr_keydat): Use XDRMAXRECORD.
12613         (xdr_valdat): Likewise.
12615 2013-05-30  Jeff Law  <law@redhat.com>
12617         [BZ #14256]
12618         * manual/errno.texi (ESTALE): Update to account for more than
12619         just NFS file systems.
12620         * sysdeps/gnu/errlist.c: Regenerated.
12622 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12624         [BZ #15465]
12625         * elf/Makefile (tests): Add tst-null-argv.
12626         (modules-names):  Add tst-null-argv-lib.
12627         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12628         (tst-null-argv-ENV): Set environment for tst-null-argv.
12629         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12630         (RTLD_PROGNAME): New macro.
12631         * elf/tst-null-argv.c: New test case.
12632         * elf/tst-null-argv-lib.c: Library for test case.
12633         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12634         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12635         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12636         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12637         * elf/dl-init.c (call_init): Likewise.
12638         (_dl_init): Likewise.
12639         * elf/dl-load.c (print_search_path): Likewise.
12640         (_dl_map_object): Likewise.
12641         * elf/dl-lookup.c (do_lookup_x): Likewise.
12642         (add_dependency): Likewise.
12643         (_dl_lookup_symbol_x): Likewise.
12644         (_dl_debug_bindings): Likewise.
12645         * elf/dl-open.c (_dl_show_scope): Likewise.
12646         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12647         * elf/dl-version.c (match_symbol): Likewise.
12648         (_dl_check_map_versions): Likewise.
12649         * elf/rtld.c (dl_main): Likewise.
12650         (print_unresolved): Use RTLD_PROGNAME.
12651         (print_missing_version): Likewise.
12652         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12653         (elf_machine_rela): Likewise.
12654         * sysdeps/powerpc/powerpc32/dl-machine.c
12655         (__process_machine_rela): Likewise.
12656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12657         Likewise.
12658         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12659         Likewise.
12660         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12661         Likewise.
12662         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12663         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12664         Likewise.
12665         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12666         Likewise.
12667         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12669 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12671         * po/be.po: Add descriptive title.
12672         * po/zh_CN.po: Likewise.
12673         * po/header.pot: Likewise.
12675 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12677         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12678         error message.
12679         (enlarge_archive): Likewise.
12681 2013-05-28  Ben North  <ben@redfrontdoor.org>
12683         * manual/arith.texi (frexp): It is the magnitude of the return
12684         value which lies in [0.5, 1), not the return value itself.
12686 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12690 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12692         * stdio-common/bug26.c (main): Correct fscanf template.
12694         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12695         declare _dl_skip_args.
12697         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12698         Don't declare.
12700         * manual/platform.texi: Add missing @end deftypefun.
12702 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12704         [BZ #15529]
12705         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12706         bit of mantissa of 2^16382.
12707         * math/libm-test.inc (hypot_test_data): Add more tests.
12709         * math/libm-test.inc: Add drem and pow10 to list of tested
12710         functions.
12711         (pow10_test): New function.
12712         (drem_test): Likewise.
12713         (drem_test_tonearest): Likewise.
12714         (drem_test_towardzero): Likewise.
12715         (drem_test_downward): Likewise.
12716         (drem_test_upward): Likewise.
12717         (main): Call the new functions.
12719         * math/libm-test.inc (finite_test_data): Remove.
12720         (finite_test): Run tests from isfinite_test_data.
12721         (gamma_test_data): Remove.
12722         (gamma_test): Run tests from lgamma_test_data.
12723         * sysdeps/i386/fpu/libm-test-ulps: Update.
12724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12726 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12728         * manual/platform.texi: Add PowerPC PPR function set documentation.
12729         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12730         implementation.
12732 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12734         * math/libm-test.inc (MAX_EXP): Define.
12735         (ULPDIFF): Define.
12736         (ulp): New function.
12737         (check_float_internal): Use ULPDIFF.
12738         (cpow_test): Disable failing test.
12739         (check_ulp): Test ulp() implemetnation.
12740         (main): Call check_ulp before starting tests.
12742 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12744         * math/gen-libm-test.pl (generate_testfile): Do not handle
12745         START_DATA and END_DATA.
12746         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12747         END_DATA.
12748         (acos_tonearest_test_data): Likewise.
12749         (acos_towardzero_test_data): Likewise.
12750         (acos_downward_test_data): Likewise.
12751         (acos_upward_test_data): Likewise.
12752         (acosh_test_data): Likewise.
12753         (asin_test_data): Likewise.
12754         (asin_tonearest_test_data): Likewise.
12755         (asin_towardzero_test_data): Likewise.
12756         (asin_downward_test_data): Likewise.
12757         (asin_upward_test_data): Likewise.
12758         (asinh_test_data): Likewise.
12759         (atan_test_data): Likewise.
12760         (atanh_test_data): Likewise.
12761         (atan2_test_data): Likewise.
12762         (cabs_test_data): Likewise.
12763         (cacos_test_data): Likewise.
12764         (cacosh_test_data): Likewise.
12765         (carg_test_data): Likewise.
12766         (casin_test_data): Likewise.
12767         (casinh_test_data): Likewise.
12768         (catan_test_data): Likewise.
12769         (catanh_test_data): Likewise.
12770         (cbrt_test_data): Likewise.
12771         (ccos_test_data): Likewise.
12772         (ccosh_test_data): Likewise.
12773         (ceil_test_data): Likewise.
12774         (cexp_test_data): Likewise.
12775         (cimag_test_data): Likewise.
12776         (clog_test_data): Likewise.
12777         (clog10_test_data): Likewise.
12778         (conj_test_data): Likewise.
12779         (copysign_test_data): Likewise.
12780         (cos_test_data): Likewise.
12781         (cos_tonearest_test_data): Likewise.
12782         (cos_towardzero_test_data): Likewise.
12783         (cos_downward_test_data): Likewise.
12784         (cos_upward_test_data): Likewise.
12785         (cosh_test_data): Likewise.
12786         (cosh_tonearest_test_data): Likewise.
12787         (cosh_towardzero_test_data): Likewise.
12788         (cosh_downward_test_data): Likewise.
12789         (cosh_upward_test_data): Likewise.
12790         (cpow_test_data): Likewise.
12791         (cproj_test_data): Likewise.
12792         (creal_test_data): Likewise.
12793         (csin_test_data): Likewise.
12794         (csinh_test_data): Likewise.
12795         (csqrt_test_data): Likewise.
12796         (ctan_test_data): Likewise.
12797         (ctan_tonearest_test_data): Likewise.
12798         (ctan_towardzero_test_data): Likewise.
12799         (ctan_downward_test_data): Likewise.
12800         (ctan_upward_test_data): Likewise.
12801         (ctanh_test_data): Likewise.
12802         (ctanh_tonearest_test_data): Likewise.
12803         (ctanh_towardzero_test_data): Likewise.
12804         (ctanh_downward_test_data): Likewise.
12805         (ctanh_upward_test_data): Likewise.
12806         (erf_test_data): Likewise.
12807         (erfc_test_data): Likewise.
12808         (exp_test_data): Likewise.
12809         (exp_tonearest_test_data): Likewise.
12810         (exp_towardzero_test_data): Likewise.
12811         (exp_downward_test_data): Likewise.
12812         (exp_upward_test_data): Likewise.
12813         (exp10_test_data): Likewise.
12814         (exp2_test_data): Likewise.
12815         (expm1_test_data): Likewise.
12816         (fabs_test_data): Likewise.
12817         (fdim_test_data): Likewise.
12818         (finite_test_data): Likewise.
12819         (floor_test_data): Likewise.
12820         (fma_test_data): Likewise.
12821         (fma_towardzero_test_data): Likewise.
12822         (fma_downward_test_data): Likewise.
12823         (fma_upward_test_data): Likewise.
12824         (fmax_test_data): Likewise.
12825         (fmin_test_data): Likewise.
12826         (fmod_test_data): Likewise.
12827         (fpclassify_test_data): Likewise.
12828         (frexp_test_data): Likewise.
12829         (gamma_test_data): Likewise.
12830         (hypot_test_data): Likewise.
12831         (ilogb_test_data): Likewise.
12832         (isfinite_test_data): Likewise.
12833         (isgreater_test_data): Likewise.
12834         (isgreaterequal_test_data): Likewise.
12835         (isinf_test_data): Likewise.
12836         (isless_test_data): Likewise.
12837         (islessequal_test_data): Likewise.
12838         (islessgreater_test_data): Likewise.
12839         (isnan_test_data): Likewise.
12840         (isnormal_test_data): Likewise.
12841         (issignaling_test_data): Likewise.
12842         (isunordered_test_data): Likewise.
12843         (j0_test_data): Likewise.
12844         (j1_test_data): Likewise.
12845         (jn_test_data): Likewise.
12846         (ldexp_test_data): Likewise.
12847         (lgamma_test_data): Likewise.
12848         (lrint_test_data): Likewise.
12849         (lrint_tonearest_test_data): Likewise.
12850         (lrint_towardzero_test_data): Likewise.
12851         (lrint_downward_test_data): Likewise.
12852         (lrint_upward_test_data): Likewise.
12853         (llrint_test_data): Likewise.
12854         (llrint_tonearest_test_data): Likewise.
12855         (llrint_towardzero_test_data): Likewise.
12856         (llrint_downward_test_data): Likewise.
12857         (llrint_upward_test_data): Likewise.
12858         (log_test_data): Likewise.
12859         (log10_test_data): Likewise.
12860         (log1p_test_data): Likewise.
12861         (log2_test_data): Likewise.
12862         (logb_test_data): Likewise.
12863         (logb_downward_test_data): Likewise.
12864         (lround_test_data): Likewise.
12865         (llround_test_data): Likewise.
12866         (modf_test_data): Likewise.
12867         (nearbyint_test_data): Likewise.
12868         (nextafter_test_data): Likewise.
12869         (nexttoward_test_data): Likewise.
12870         (pow_test_data): Likewise.
12871         (pow_tonearest_test_data): Likewise.
12872         (pow_towardzero_test_data): Likewise.
12873         (pow_downward_test_data): Likewise.
12874         (pow_upward_test_data): Likewise.
12875         (remainder_test_data): Likewise.
12876         (remainder_tonearest_test_data): Likewise.
12877         (remainder_towardzero_test_data): Likewise.
12878         (remainder_downward_test_data): Likewise.
12879         (remainder_upward_test_data): Likewise.
12880         (remquo_test_data): Likewise.
12881         (rint_test_data): Likewise.
12882         (rint_tonearest_test_data): Likewise.
12883         (rint_towardzero_test_data): Likewise.
12884         (rint_downward_test_data): Likewise.
12885         (rint_upward_test_data): Likewise.
12886         (round_test_data): Likewise.
12887         (scalb_test_data): Likewise.
12888         (scalbn_test_data): Likewise.
12889         (scalbln_test_data): Likewise.
12890         (signbit_test_data): Likewise.
12891         (sin_test_data): Likewise.
12892         (sin_tonearest_test_data): Likewise.
12893         (sin_towardzero_test_data): Likewise.
12894         (sin_downward_test_data): Likewise.
12895         (sin_upward_test_data): Likewise.
12896         (sincos_test_data): Likewise.
12897         (sinh_test_data): Likewise.
12898         (sinh_tonearest_test_data): Likewise.
12899         (sinh_towardzero_test_data): Likewise.
12900         (sinh_downward_test_data): Likewise.
12901         (sinh_upward_test_data): Likewise.
12902         (sqrt_test_data): Likewise.
12903         (tan_test_data): Likewise.
12904         (tan_tonearest_test_data): Likewise.
12905         (tan_towardzero_test_data): Likewise.
12906         (tan_downward_test_data): Likewise.
12907         (tan_upward_test_data): Likewise.
12908         (tanh_test_data): Likewise.
12909         (tgamma_test_data): Likewise.
12910         (trunc_test_data): Likewise.
12911         (y0_test_data): Likewise.
12912         (y1_test_data): Likewise.
12913         (yn_test_data): Likewise.
12914         (significand_test_data): Likewise.
12916         * math/gen-libm-test.pl (@functions): Remove variable.
12917         (generate_testfile): Don't handle START and END lines.
12918         * math/libm-test.inc (START): New macro.
12919         (END): Likewise.
12920         (END_COMPLEX): Likewise.
12921         (acos_test): Use END macro without arguments.
12922         (acos_test_tonearest): Likewise.
12923         (acos_test_towardzero): Likewise.
12924         (acos_test_downward): Likewise.
12925         (acos_test_upward): Likewise.
12926         (acosh_test): Likewise.
12927         (asin_test): Likewise.
12928         (asin_test_tonearest): Likewise.
12929         (asin_test_towardzero): Likewise.
12930         (asin_test_downward): Likewise.
12931         (asin_test_upward): Likewise.
12932         (asinh_test): Likewise.
12933         (atan_test): Likewise.
12934         (atanh_test): Likewise.
12935         (atan2_test): Likewise.
12936         (cabs_test): Likewise.
12937         (cacos_test): Use END_COMPLEX macro without arguments.
12938         (cacosh_test): Likewise.
12939         (carg_test): Use END macro without arguments.
12940         (casin_test): Use END_COMPLEX macro without arguments.
12941         (casinh_test): Likewise.
12942         (catan_test): Likewise.
12943         (catanh_test): Likewise.
12944         (cbrt_test): Use END macro without arguments.
12945         (ccos_test): Use END_COMPLEX macro without arguments.
12946         (ccosh_test): Likewise.
12947         (ceil_test): Use END macro without arguments.
12948         (cexp_test): Use END_COMPLEX macro without arguments.
12949         (cimag_test): Use END macro without arguments.
12950         (clog_test): Use END_COMPLEX macro without arguments.
12951         (clog10_test): Likewise.
12952         (conj_test): Likewise.
12953         (copysign_test): Use END macro without arguments.
12954         (cos_test): Likewise.
12955         (cos_test_tonearest): Likewise.
12956         (cos_test_towardzero): Likewise.
12957         (cos_test_downward): Likewise.
12958         (cos_test_upward): Likewise.
12959         (cosh_test): Likewise.
12960         (cosh_test_tonearest): Likewise.
12961         (cosh_test_towardzero): Likewise.
12962         (cosh_test_downward): Likewise.
12963         (cosh_test_upward): Likewise.
12964         (cpow_test): Use END_COMPLEX macro without arguments.
12965         (cproj_test): Likewise.
12966         (creal_test): Use END macro without arguments.
12967         (csin_test): Use END_COMPLEX macro without arguments.
12968         (csinh_test): Likewise.
12969         (csqrt_test): Likewise.
12970         (ctan_test): Likewise.
12971         (ctan_test_tonearest): Likewise.
12972         (ctan_test_towardzero): Likewise.
12973         (ctan_test_downward): Likewise.
12974         (ctan_test_upward): Likewise.
12975         (ctanh_test): Likewise.
12976         (ctanh_test_tonearest): Likewise.
12977         (ctanh_test_towardzero): Likewise.
12978         (ctanh_test_downward): Likewise.
12979         (ctanh_test_upward): Likewise.
12980         (erf_test): Use END macro without arguments.
12981         (erfc_test): Likewise.
12982         (exp_test): Likewise.
12983         (exp_test_tonearest): Likewise.
12984         (exp_test_towardzero): Likewise.
12985         (exp_test_downward): Likewise.
12986         (exp_test_upward): Likewise.
12987         (exp10_test): Likewise.
12988         (exp2_test): Likewise.
12989         (expm1_test): Likewise.
12990         (fabs_test): Likewise.
12991         (fdim_test): Likewise.
12992         (finite_test): Likewise.
12993         (floor_test): Likewise.
12994         (fma_test): Likewise.
12995         (fma_test_towardzero): Likewise.
12996         (fma_test_downward): Likewise.
12997         (fma_test_upward): Likewise.
12998         (fmax_test): Likewise.
12999         (fmin_test): Likewise.
13000         (fmod_test): Likewise.
13001         (fpclassify_test): Likewise.
13002         (frexp_test): Likewise.
13003         (gamma_test): Likewise.
13004         (hypot_test): Likewise.
13005         (ilogb_test): Likewise.
13006         (isfinite_test): Likewise.
13007         (isgreater_test): Likewise.
13008         (isgreaterequal_test): Likewise.
13009         (isinf_test): Likewise.
13010         (isless_test): Likewise.
13011         (islessequal_test): Likewise.
13012         (islessgreater_test): Likewise.
13013         (isnan_test): Likewise.
13014         (isnormal_test): Likewise.
13015         (issignaling_test): Likewise.
13016         (isunordered_test): Likewise.
13017         (j0_test): Likewise.
13018         (j1_test): Likewise.
13019         (jn_test): Likewise.
13020         (ldexp_test): Likewise.
13021         (lgamma_test): Likewise.
13022         (lrint_test): Likewise.
13023         (lrint_test_tonearest): Likewise.
13024         (lrint_test_towardzero): Likewise.
13025         (lrint_test_downward): Likewise.
13026         (lrint_test_upward): Likewise.
13027         (llrint_test): Likewise.
13028         (llrint_test_tonearest): Likewise.
13029         (llrint_test_towardzero): Likewise.
13030         (llrint_test_downward): Likewise.
13031         (llrint_test_upward): Likewise.
13032         (log_test): Likewise.
13033         (log10_test): Likewise.
13034         (log1p_test): Likewise.
13035         (log2_test): Likewise.
13036         (logb_test): Likewise.
13037         (logb_test_downward): Likewise.
13038         (lround_test): Likewise.
13039         (llround_test): Likewise.
13040         (modf_test): Likewise.
13041         (nearbyint_test): Likewise.
13042         (nextafter_test): Likewise.
13043         (nexttoward_test): Likewise.
13044         (pow_test): Likewise.
13045         (pow_test_tonearest): Likewise.
13046         (pow_test_towardzero): Likewise.
13047         (pow_test_downward): Likewise.
13048         (pow_test_upward): Likewise.
13049         (remainder_test): Likewise.
13050         (remainder_test_tonearest): Likewise.
13051         (remainder_test_towardzero): Likewise.
13052         (remainder_test_downward): Likewise.
13053         (remainder_test_upward): Likewise.
13054         (remquo_test): Likewise.
13055         (rint_test): Likewise.
13056         (rint_test_tonearest): Likewise.
13057         (rint_test_towardzero): Likewise.
13058         (rint_test_downward): Likewise.
13059         (rint_test_upward): Likewise.
13060         (round_test): Likewise.
13061         (scalb_test): Likewise.
13062         (scalbn_test): Likewise.
13063         (scalbln_test): Likewise.
13064         (signbit_test): Likewise.
13065         (sin_test): Likewise.
13066         (sin_test_tonearest): Likewise.
13067         (sin_test_towardzero): Likewise.
13068         (sin_test_downward): Likewise.
13069         (sin_test_upward): Likewise.
13070         (sincos_test): Likewise.
13071         (sinh_test): Likewise.
13072         (sinh_test_tonearest): Likewise.
13073         (sinh_test_towardzero): Likewise.
13074         (sinh_test_downward): Likewise.
13075         (sinh_test_upward): Likewise.
13076         (sqrt_test): Likewise.
13077         (tan_test): Likewise.
13078         (tan_test_tonearest): Likewise.
13079         (tan_test_towardzero): Likewise.
13080         (tan_test_downward): Likewise.
13081         (tan_test_upward): Likewise.
13082         (tanh_test): Likewise.
13083         (tgamma_test): Likewise.
13084         (trunc_test): Likewise.
13085         (y0_test): Likewise.
13086         (y1_test): Likewise.
13087         (yn_test): Likewise.
13088         (significand_test): Likewise.
13090 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13092         [BZ #15381]
13093         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13095 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13097         [BZ #14894]
13098         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13099         __ppc_mdoio and __ppc_mdoom.
13100         * manual/platform.texi: Document new functions __ppc_yield,
13101         __ppc_mdoio and __ppc_mdoom.
13103 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
13105         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13106         (main): Mention "tls" pseudo-hwcap is legacy.
13107         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13109 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13111         * math/gen-libm-test.pl (parse_args): Output only string of
13112         arguments as text for test name, not full call or descriptions of
13113         tests for extra outputs.
13114         (generate_testfile): Do not pass function name to parse_args.
13115         Generate this_func variable from START.
13116         * math/libm-test.inc (struct test_f_f_data): Rename test_name
13117         field to arg_str.
13118         (struct test_ff_f_data): Likewise.
13119         (test_ff_f_data_nexttoward): Likewise.
13120         (struct test_fi_f_data): Likewise.
13121         (struct test_fl_f_data): Likewise.
13122         (struct test_if_f_data): Likewise.
13123         (struct test_fff_f_data): Likewise.
13124         (struct test_c_f_data): Likewise.
13125         (struct test_f_f1_data): Likewise.  Remove field extra_name.
13126         (struct test_fF_f1_data): Likewise.
13127         (struct test_ffI_f1_data): Likewise.
13128         (struct test_c_c_data): Rename test_name field to arg_str.
13129         (struct test_cc_c_data): Likewise.
13130         (struct test_f_i_data): Likewise.
13131         (struct test_ff_i_data): Likewise.
13132         (struct test_f_l_data): Likewise.
13133         (struct test_f_L_data): Likewise.
13134         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
13135         and extra2_name.
13136         (COMMON_TEST_SETUP): New macro.
13137         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13138         (COMMON_TEST_CLEANUP): Likewise.
13139         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13140         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
13141         macros.
13142         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13143         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
13144         macros.
13145         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13146         (RUN_TEST_fff_f): Take argument string.  Call new setup and
13147         cleanup macros.
13148         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13149         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
13150         macros.
13151         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13152         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
13153         macros.
13154         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13155         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
13156         cleanup macros.
13157         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13158         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
13159         cleanup macros.
13160         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13161         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
13162         cleanup macros.
13163         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13164         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
13165         macros.
13166         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13167         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
13168         macros.
13169         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13170         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
13171         macros.
13172         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13173         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
13174         cleanup macros.
13175         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13176         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
13177         cleanup macros.
13178         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13179         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
13180         macros.
13181         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13182         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
13183         cleanup macros.
13184         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13185         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
13186         macros.
13187         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13188         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
13189         macros.
13190         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13191         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
13192         cleanup macros.
13193         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13195 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13197         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13198         to _sifields.sigfault.
13199         (si_addr_lsb): Define new macro.
13200         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13201         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13202         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13204 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
13206         [BZ #15441]
13207         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13208         returns -1.
13209         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13210         null return -1.
13211         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13212         loading the domain.
13214 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13216         * math/gen-libm-test.pl (parse_args): Do not include expected
13217         result in test name.
13218         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13219         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13220         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13221         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13222         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13225 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13227         * benchtests/Makefile: Sort function entries.
13229         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13230         tanh, asinh, acosh, atanh.
13231         * benchtests/acos-inputs: New file.
13232         * benchtests/acosh-inputs: New file.
13233         * benchtests/asin-inputs: New file.
13234         * benchtests/asinh-inputs: New file.
13235         * benchtests/atanh-inputs: New file.
13236         * benchtests/cosh-inputs: New file.
13237         * benchtests/log-inputs: New file.
13238         * benchtests/sinh-inputs: New file.
13239         * benchtests/tanh-inputs: New file.
13241 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
13243         [BZ #15339]
13244         * posix/tst-getaddrinfo4.c: New test.
13245         * posix/Makefile (tests): Add it.
13247 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13249         [BZ #15339]
13250         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13251         when no services were used.
13252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13253         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13255 2013-05-21  Andreas Schwab  <schwab@suse.de>
13257         [BZ #15014]
13258         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13259         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13260         successful.
13261         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13262         redundant variable declarations and reallocation of buffer when
13263         parsing as IPv6 address.  Always set NSS status when called from
13264         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
13265         buffer too small.  Correct computation of needed size.
13266         * nss/Makefile (tests): Add test-digits-dots.
13267         * nss/test-digits-dots.c: New test.
13269 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13271         * benchtests/Makefile: Remove instructions for adding
13272         benchmark tests.
13273         * benchtests/README: New file to explain how to execute and
13274         enhance the benchmark tests.
13276 2013-05-21  Andreas Schwab  <schwab@suse.de>
13278         [BZ #15493]
13279         * setjmp/Makefile (tests): Add tst-sigsetjmp.
13280         * setjmp/tst-sigsetjmp.c: New test.
13282 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13284         * sysdeps/x86_64/memset.S (memset): New implementation.
13285         (__bzero): Likewise.
13286         (__memset_tail): New function.
13288 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13290         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13291         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13292         __memcpy_sse2_unaligned ifunc selection.
13293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13294         Add memcpy-sse2-unaligned.S.
13295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13296         Add: __memcpy_sse2_unaligned.
13298 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
13300         [BZ #15490]
13301         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13302         math_force_eval before restoring floating-point envrionment.
13303         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13304         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13305         Likewise.
13306         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13307         <math_private.h>.
13308         (__nearbyintl): Use math_force_eval before restoring
13309         floating-point environment.
13310         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13312         * math/gen-libm-test.pl (special_functions): Remove.
13313         (parse_args): Don't handle TEST_extra.  Handle functions with no
13314         return value.
13315         * math/libm-test.inc (struct test_sincos_data): Replace with
13316         struct test_fFF_11_data.
13317         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13318         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13319         (sincos_test_data): Change element type to struct
13320         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
13321         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13322         RUN_TEST_LOOP_sincos.
13323         * math/README.libm-test: Don't mention special handling of
13324         individual functions.
13325         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13326         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13327         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13328         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13329         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13332         * math/gen-libm-test.pl (get_variable): Remove function.
13333         (parse_args): Don't show pointer parameters to call in test
13334         names.  Use "extra output N" in test names for extra outputs
13335         rather than naming variables.
13337 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
13339         [BZ #15488]
13340         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13341         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13342         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13343         double tests.
13344         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13345         disable.
13346         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13347         check_long_double.
13349         * math/gen-libm-test.pl (@tests): Remove variable.
13350         ($count): Likewise.
13351         (new_test): Remove function.
13352         (show_exceptions): New function.
13353         (special_functions): Use show_exceptions instead of new_test.
13354         (parse_args): Likewise.
13355         (generate_testfile): Pass only function name in generated call to
13356         print_max_error or print_complex_max_error.
13357         (get_ulps): Do not handle complex tests specially.
13358         (output_test): Rename to ...
13359         (get_all_ulps_for_test): ... this.  Return a string rather than
13360         printing to a file.  Require ulps to be present.
13361         (output_ulps): Generate arrays rather than #defines.
13362         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13363         (struct ulp_data): New type.
13364         (BUILD_COMPLEX_ULP): Remove macro.
13365         (compare_ulp_data): New function.
13366         (find_ulps): Likewise.
13367         (find_test_ulps): Likewise.
13368         (find_function_ulps): Likewise.
13369         (find_complex_function_ulps): Likewise.
13370         (print_max_error): Determine allowed ulps using
13371         find_function_ulps.
13372         (print_complex_max_error): Determine allowed ulps using
13373         find_complex_function_ulps.
13374         (check_float_internal): Determine max ulps using find_test_ulps.
13375         (check_float): Do not take max_ulp parameter.  Update call to
13376         check_float_internal.
13377         (check_complex): Likewise.
13378         (check_int): Do not take max_ulp parameter.
13379         (check_long): Likewise.
13380         (check_bool): Likewise.
13381         (check_longlong): Likewise.
13382         (struct test_f_f_data): Remove max_ulp field.
13383         (struct test_ff_f_data): Likewise.
13384         (struct test_ff_f_data_nexttoward): Likewise.
13385         (struct test_fi_f_data): Likewise.
13386         (struct test_fl_f_data): Likewise.
13387         (struct test_if_f_data): Likewise.
13388         (struct test_fff_f_data): Likewise.
13389         (struct test_c_f_data): Likewise.
13390         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13391         (struct test_fF_f1_data): Likewise.
13392         (struct test_ffI_f1_data): Likewise.
13393         (struct test_c_c_data): Remove max_ulp field.
13394         (struct test_cc_c_data): Likewise.
13395         (struct test_f_i_data): Likewise.
13396         (struct test_ff_i_data): Likewise.
13397         (struct test_f_l_data): Likewise.
13398         (struct test_f_L_data): Likewise.
13399         (struct test_sincos_data): Likewise.
13400         (RUN_TEST_f_f): Do not handle ulps.
13401         (RUN_TEST_LOOP_f_f): Likewise.
13402         (RUN_TEST_2_f): Likewise.
13403         (RUN_TEST_LOOP_2_f): Likewise.
13404         (RUN_TEST_fff_f): Likewise.
13405         (RUN_TEST_LOOP_fff_f): Likewise.
13406         (RUN_TEST_c_f): Likewise.
13407         (RUN_TEST_LOOP_c_f): Likewise.
13408         (RUN_TEST_f_f1): Likewise.
13409         (RUN_TEST_LOOP_f_f1): Likewise.
13410         (RUN_TEST_fF_f1): Likewise.
13411         (RUN_TEST_LOOP_fF_f1): Likewise.
13412         (RUN_TEST_fI_f1): Likewise.
13413         (RUN_TEST_LOOP_fI_f1): Likewise.
13414         (RUN_TEST_ffI_f1): Likewise.
13415         (RUN_TEST_LOOP_ffI_f1): Likewise.
13416         (RUN_TEST_c_c): Likewise.
13417         (RUN_TEST_LOOP_c_c): Likewise.
13418         (RUN_TEST_cc_c): Likewise.
13419         (RUN_TEST_LOOP_cc_c): Likewise.
13420         (RUN_TEST_f_i): Likewise.
13421         (RUN_TEST_LOOP_f_i): Likewise.
13422         (RUN_TEST_f_i_tg): Likewise.
13423         (RUN_TEST_LOOP_f_i_tg): Likewise.
13424         (RUN_TEST_ff_i_tg): Likewise.
13425         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13426         (RUN_TEST_f_b): Likewise.
13427         (RUN_TEST_LOOP_f_b): Likewise.
13428         (RUN_TEST_f_b_tg): Likewise.
13429         (RUN_TEST_LOOP_f_b_tg): Likewise.
13430         (RUN_TEST_f_l): Likewise.
13431         (RUN_TEST_LOOP_f_l): Likewise.
13432         (RUN_TEST_f_L): Likewise.
13433         (RUN_TEST_LOOP_f_L): Likewise.
13434         (RUN_TEST_sincos): Likewise.
13435         (RUN_TEST_LOOP_sincos): Likewise.
13437 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
13439         [BZ #15480]
13440         [BZ #15485]
13441         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13442         main case of finite arguments, set rounding mode to FE_TONEAREST
13443         and discard exceptions.
13444         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13445         exceptions.
13446         (remainder_tonearest_test_data): New variable.
13447         (remainder_test_tonearest): New function.
13448         (remainder_towardzero_test_data): New variable.
13449         (remainder_test_towardzero): New function.
13450         (remainder_downward_test_data): New variable.
13451         (remainder_test_downward): New function.
13452         (remainder_upward_test_data): New variable.
13453         (remainder_test_upward): New function.
13454         (main): Call the new test functions.
13456         * math/libm-test.inc (struct test_f_f1_data): Remove field
13457         extra_init.
13458         (struct test_fF_f1_data): Likewise.
13459         (struct test_ffI_f1_data): Likewise.
13460         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
13461         based on value of EXTRA_EXPECTED.
13462         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13463         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
13464         EXTRA_VAR based on value of EXTRA_EXPECTED.
13465         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13466         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
13467         EXTRA_VAR based on value of EXTRA_EXPECTED.
13468         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13469         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
13470         EXTRA_VAR based on value of EXTRA_EXPECTED.
13471         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13472         * math/gen-libm-test.pl (parse_args): Don't output initializers
13473         for extra output values.
13475         * math/libm-test.inc (check_int): Expect result to be exactly
13476         equal to expected value and do not handle ulps.
13477         (check_long): Likewise.
13478         (check_longlong): Likewise.
13480         * math/libm-test.inc (ceil_test_data): Test for "inexact"
13481         exceptions.
13482         (cimag_test_data): Likewise.
13483         (conj_test_data): Likewise.
13484         (copysign_test_data): Likewise.
13485         (cproj_test_data): Likewise.
13486         (creal_test_data): Likewise.
13487         (fabs_test_data): Likewise.
13488         (fdim_test_data): Likewise.
13489         (finite_test_data): Likewise.
13490         (floor_test_data): Likewise.
13491         (fmax_test_data): Likewise.
13492         (fmin_test_data): Likewise.
13493         (fmod_test_data): Likewise.
13494         (fpclassify_test_data): Likewise.
13495         (frexp_test_data): Likewise.
13496         (ilogb_test_data): Likewise.
13497         (isfinite_test_data): Likewise.
13498         (isgreater_test_data): Likewise.
13499         (isgreaterequal_test_data): Likewise.
13500         (isinf_test_data): Likewise.
13501         (isless_test_data): Likewise.
13502         (islessequal_test_data): Likewise.
13503         (islessgreater_test_data): Likewise.
13504         (isnan_test_data): Likewise.
13505         (isnormal_test_data): Likewise.
13506         (issignaling_test_data): Likewise.
13507         (isunordered_test_data): Likewise.
13508         (ldexp_test_data): Likewise.
13509         (lrint_test_data): Likewise.
13510         (lrint_test_data) [TEST_FLOAT]: Disable one test.
13511         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13512         (lrint_tonearest_test_data): Test for "inexact" exceptions.
13513         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13514         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13515         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13516         test input.
13517         (lrint_towardzero_test_data): Test for "inexact" exceptions.
13518         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13519         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13520         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13521         that test input.
13522         (lrint_downward_test_data): Test for "inexact" exceptions.
13523         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13524         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13525         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13526         test input.
13527         (lrint_upward_test_data): Test for "inexact" exceptions.
13528         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13529         test input.
13530         (llrint_test_data): Test for "inexact" exceptions.
13531         (llrint_test_data) [TEST_FLOAT]: Disable one test.
13532         (llrint_tonearest_test_data): Test for "inexact" exceptions.
13533         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13534         (llrint_towardzero_test_data): Test for "inexact" exceptions.
13535         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13536         (llrint_downward_test_data): Test for "inexact" exceptions.
13537         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13538         (llrint_upward_test_data): Test for "inexact" exceptions.
13539         (logb_test_data): Likewise.
13540         (logb_downward_test_data): Likewise.
13541         (nextafter_test_data): Likewise.
13542         (nexttoward_test_data): Likewise.
13543         (remainder_test_data): Likewise.
13544         (remquo_test_data): Likewise.
13545         (scalbn_test_data): Likewise.
13546         (scalbln_test_data): Likewise.
13547         (signbit_test_data): Likewise.
13548         (sqrt_test_data): Likewise.
13549         (significand_test_data): Likewise.
13551 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13553         [BZ #15424]
13554         * benchtests/bench-modf.c (struct args): Mark arg0 as
13555         volatile.
13556         * scripts/bench.pl: Mark members of struct args as volatile.
13558 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13560         [BZ # 15497]
13561         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13562         negative infinity on POWER6 or lower.
13563         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13565 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13567         [BZ #15442]
13568         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13569         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13570         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13571         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13572         (_FP_SETQNAN): New macro.
13573         (_FP_SETQNAN_SEMIRAW): Likewise.
13574         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13575         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13576         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13577         (FP_EXTEND): Use _FP_FRAC_SNANP.
13578         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13579         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13580         into account.
13581         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13582         New macro.
13583         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13584         Likewise.
13586 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13588         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13589         with DIVIDE_BY_ZERO_EXCEPTION.
13590         (gamma_test_data): Likewise.
13591         (lgamma_test_data): Likewise.
13592         (log_test_data): Likewise.
13593         (log10_test_data): Likewise.
13594         (log2_test_data): Likewise.
13595         (tgamma_test_data): Likewise.
13597         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13598         (acos_test_tonearest): Likewise.
13599         (acos_test_towardzero): Likewise.
13600         (acos_test_downward): Likewise.
13601         (acos_test_upward): Likewise.
13602         (acosh_test): Likewise.
13603         (asin_test): Likewise.
13604         (asin_test_tonearest): Likewise.
13605         (asin_test_towardzero): Likewise.
13606         (asin_test_downward): Likewise.
13607         (asin_test_upward): Likewise.
13608         (asinh_test): Likewise.
13609         (atan_test): Likewise.
13610         (atanh_test): Likewise.
13611         (atan2_test): Likewise.
13612         (cabs_test): Likewise.
13613         (cacos_test): Likewise.
13614         (cacosh_test): Likewise.
13615         (casin_test): Likewise.
13616         (casinh_test): Likewise.
13617         (catan_test): Likewise.
13618         (catanh_test): Likewise.
13619         (cbrt_test): Likewise.
13620         (ccos_test): Likewise.
13621         (ccosh_test): Likewise.
13622         (cexp_test): Likewise.
13623         (clog_test): Likewise.
13624         (clog10_test): Likewise.
13625         (cos_test): Likewise.
13626         (cos_test_tonearest): Likewise.
13627         (cos_test_towardzero): Likewise.
13628         (cos_test_downward): Likewise.
13629         (cos_test_upward): Likewise.
13630         (cosh_test): Likewise.
13631         (cosh_test_tonearest): Likewise.
13632         (cosh_test_towardzero): Likewise.
13633         (cosh_test_downward): Likewise.
13634         (cosh_test_upward): Likewise.
13635         (cpow_test): Likewise.
13636         (csin_test): Likewise.
13637         (csinh_test): Likewise.
13638         (csqrt_test): Likewise.
13639         (ctan_test): Likewise.
13640         (ctan_test_tonearest): Likewise.
13641         (ctan_test_towardzero): Likewise.
13642         (ctan_test_downward): Likewise.
13643         (ctan_test_upward): Likewise.
13644         (ctanh_test): Likewise.
13645         (ctanh_test_tonearest): Likewise.
13646         (ctanh_test_towardzero): Likewise.
13647         (ctanh_test_downward): Likewise.
13648         (ctanh_test_upward): Likewise.
13649         (erf_test): Likewise.
13650         (erfc_test): Likewise.
13651         (exp_test): Likewise.
13652         (exp_test_tonearest): Likewise.
13653         (exp_test_towardzero): Likewise.
13654         (exp_test_downward): Likewise.
13655         (exp_test_upward): Likewise.
13656         (exp10_test): Likewise.
13657         (exp2_test): Likewise.
13658         (expm1_test): Likewise.
13659         (fmod_test): Likewise.
13660         (gamma_test): Likewise.
13661         (hypot_test): Likewise.
13662         (j0_test): Likewise.
13663         (j1_test): Likewise.
13664         (jn_test): Likewise.
13665         (lgamma_test): Likewise.
13666         (log_test): Likewise.
13667         (log10_test): Likewise.
13668         (log1p_test): Likewise.
13669         (log2_test): Likewise.
13670         (logb_test_downward): Likewise.
13671         (pow_test): Likewise.
13672         (pow_test_tonearest): Likewise.
13673         (pow_test_towardzero): Likewise.
13674         (pow_test_downward): Likewise.
13675         (pow_test_upward): Likewise.
13676         (remainder_test): Likewise.
13677         (remquo_test): Likewise.
13678         (sin_test): Likewise.
13679         (sin_test_tonearest): Likewise.
13680         (sin_test_towardzero): Likewise.
13681         (sin_test_downward): Likewise.
13682         (sin_test_upward): Likewise.
13683         (sincos_test): Likewise.
13684         (sinh_test): Likewise.
13685         (sinh_test_tonearest): Likewise.
13686         (sinh_test_towardzero): Likewise.
13687         (sinh_test_downward): Likewise.
13688         (sinh_test_upward): Likewise.
13689         (sqrt_test): Likewise.
13690         (tan_test): Likewise.
13691         (tan_test_tonearest): Likewise.
13692         (tan_test_towardzero): Likewise.
13693         (tan_test_downward): Likewise.
13694         (tan_test_upward): Likewise.
13695         (tanh_test): Likewise.
13696         (tgamma_test): Likewise.
13697         (y0_test): Likewise.
13698         (y1_test): Likewise.
13699         (yn_test): Likewise.
13701         * math/gen-libm-test.pl (adjust_arg): Remove function.
13702         (special_function): Remove argument $in_func.  Only handle
13703         generating output for tables of tests, not inside functions.
13704         (parse_args): Likewise.
13705         (generate_testfile): Remove variable $in_func.  Update call to
13706         parse_args.
13707         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13708         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13709         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13710         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13711         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13712         (MAX_VALUE_INIT): Rename macro to max_value.
13713         (MIN_VALUE_INIT): Rename macro to min_value.
13714         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13715         (plus_zero): Remove variable.
13716         (minus_zero): Likewise.
13717         (plus_infty): Likewise.
13718         (minus_infty): Likewise.
13719         (qnan_value): Likewise.
13720         (max_value): Likewise.
13721         (min_value): Likewise.
13722         (min_subnorm_value): Likewise.
13724 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13726         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13727         uint64_t or uint32_t usage.
13728         * crypt/sha256-block.c: Likewise.
13729         * crypt/sha256-crypt.c: Likewise.
13730         * crypt/sha256.c: Likewise.
13731         * crypt/sha512-block.c: Likewise.
13732         * crypt/sha512-crypt.c: Likewise.
13733         * crypt/sha512.c: Likewise.
13734         * debug/backtrace-tst.c: Likewise.
13735         * debug/pcprofiledump.c: Likewise.
13736         * elf/cache.c: Likewise.
13737         * elf/dl-cache.c: Likewise.
13738         * elf/dl-misc.c: Likewise.
13739         * elf/dl-profile.c: Likewise.
13740         * elf/dl-support.c: Likewise.
13741         * elf/ldconfig.c: Likewise.
13742         * elf/sprof.c: Likewise.
13743         * iconv/dummy-repertoire.c: Likewise.
13744         * iconv/iconv_charmap.c: Likewise.
13745         * iconv/skeleton.c: Likewise.
13746         * iconvdata/8bit-generic.c: Likewise.
13747         * iconvdata/cp737.h: Likewise.
13748         * iconvdata/cp775.h: Likewise.
13749         * iconvdata/ibm1008.h: Likewise.
13750         * iconvdata/ibm1025.h: Likewise.
13751         * iconvdata/ibm1046.h: Likewise.
13752         * iconvdata/ibm1097.h: Likewise.
13753         * iconvdata/ibm1112.h: Likewise.
13754         * iconvdata/ibm1122.h: Likewise.
13755         * iconvdata/ibm1123.h: Likewise.
13756         * iconvdata/ibm1124.h: Likewise.
13757         * iconvdata/ibm1129.h: Likewise.
13758         * iconvdata/ibm1130.h: Likewise.
13759         * iconvdata/ibm1132.h: Likewise.
13760         * iconvdata/ibm1133.h: Likewise.
13761         * iconvdata/ibm1137.h: Likewise.
13762         * iconvdata/ibm1140.h: Likewise.
13763         * iconvdata/ibm1141.h: Likewise.
13764         * iconvdata/ibm1142.h: Likewise.
13765         * iconvdata/ibm1143.h: Likewise.
13766         * iconvdata/ibm1144.h: Likewise.
13767         * iconvdata/ibm1145.h: Likewise.
13768         * iconvdata/ibm1146.h: Likewise.
13769         * iconvdata/ibm1147.h: Likewise.
13770         * iconvdata/ibm1148.h: Likewise.
13771         * iconvdata/ibm1149.h: Likewise.
13772         * iconvdata/ibm1153.h: Likewise.
13773         * iconvdata/ibm1154.h: Likewise.
13774         * iconvdata/ibm1155.h: Likewise.
13775         * iconvdata/ibm1156.h: Likewise.
13776         * iconvdata/ibm1157.h: Likewise.
13777         * iconvdata/ibm1158.h: Likewise.
13778         * iconvdata/ibm1160.h: Likewise.
13779         * iconvdata/ibm1161.h: Likewise.
13780         * iconvdata/ibm1162.h: Likewise.
13781         * iconvdata/ibm1163.h: Likewise.
13782         * iconvdata/ibm1164.h: Likewise.
13783         * iconvdata/ibm1166.h: Likewise.
13784         * iconvdata/ibm1167.h: Likewise.
13785         * iconvdata/ibm12712.h: Likewise.
13786         * iconvdata/ibm1390.h: Likewise.
13787         * iconvdata/ibm1399.h: Likewise.
13788         * iconvdata/ibm16804.h: Likewise.
13789         * iconvdata/ibm4517.h: Likewise.
13790         * iconvdata/ibm4899.h: Likewise.
13791         * iconvdata/ibm4909.h: Likewise.
13792         * iconvdata/ibm4971.h: Likewise.
13793         * iconvdata/ibm5347.h: Likewise.
13794         * iconvdata/ibm803.h: Likewise.
13795         * iconvdata/ibm856.h: Likewise.
13796         * iconvdata/ibm901.h: Likewise.
13797         * iconvdata/ibm902.h: Likewise.
13798         * iconvdata/ibm9030.h: Likewise.
13799         * iconvdata/ibm9066.h: Likewise.
13800         * iconvdata/ibm921.h: Likewise.
13801         * iconvdata/ibm922.h: Likewise.
13802         * iconvdata/ibm9448.h: Likewise.
13803         * iconvdata/isiri-3342.h: Likewise.
13804         * iconvdata/jis0201.h: Likewise.
13805         * include/link.h: Likewise.
13806         * include/netdb.h: Likewise.
13807         * inet/check_native.c: Likewise.
13808         * inet/check_pf.c: Likewise.
13809         * inet/getipv4sourcefilter.c: Likewise.
13810         * inet/getnameinfo.c: Likewise.
13811         * inet/getsourcefilter.c: Likewise.
13812         * inet/htonl.c: Likewise.
13813         * inet/setipv4sourcefilter.c: Likewise.
13814         * inet/setsourcefilter.c: Likewise.
13815         * inet/test-inet6_opt.c: Likewise.
13816         * inet/tst-network.c: Likewise.
13817         * locale/C-collate.c: Likewise.
13818         * locale/C-ctype.c: Likewise.
13819         * locale/C-time.c: Likewise.
13820         * locale/C-translit.h: Likewise.
13821         * locale/loadarchive.c: Likewise.
13822         * locale/programs/3level.h: Likewise.
13823         * locale/programs/charmap.c: Likewise.
13824         * locale/programs/charmap.h: Likewise.
13825         * locale/programs/ld-address.c: Likewise.
13826         * locale/programs/ld-collate.c: Likewise.
13827         * locale/programs/ld-ctype.c: Likewise.
13828         * locale/programs/ld-identification.c: Likewise.
13829         * locale/programs/ld-measurement.c: Likewise.
13830         * locale/programs/ld-messages.c: Likewise.
13831         * locale/programs/ld-monetary.c: Likewise.
13832         * locale/programs/ld-name.c: Likewise.
13833         * locale/programs/ld-numeric.c: Likewise.
13834         * locale/programs/ld-paper.c: Likewise.
13835         * locale/programs/ld-telephone.c: Likewise.
13836         * locale/programs/ld-time.c: Likewise.
13837         * locale/programs/linereader.c: Likewise.
13838         * locale/programs/locale.c: Likewise.
13839         * locale/programs/locarchive.c: Likewise.
13840         * locale/programs/locfile.h: Likewise.
13841         * locale/programs/repertoire.c: Likewise.
13842         * locale/programs/simple-hash.c: Likewise.
13843         * locale/programs/simple-hash.h: Likewise.
13844         * malloc/memusage.c: Likewise.
13845         * malloc/memusagestat.c: Likewise.
13846         * nis/nis_defaults.c: Likewise.
13847         * nis/nis_hash.c: Likewise.
13848         * nis/nis_print.c: Likewise.
13849         * nis/nis_xdr.c: Likewise.
13850         * nscd/connections.c: Likewise.
13851         * nscd/hstcache.c: Likewise.
13852         * nscd/nscd_gethst_r.c: Likewise.
13853         * nscd/nscd_getserv_r.c: Likewise.
13854         * nscd/nscd_helper.c: Likewise.
13855         * nscd/servicescache.c: Likewise.
13856         * nss/makedb.c: Likewise.
13857         * nss/nss_db/db-XXX.c: Likewise.
13858         * nss/nss_db/db-initgroups.c: Likewise.
13859         * nss/nss_db/db-netgrp.c: Likewise.
13860         * nss/nss_files/files-network.c: Likewise.
13861         * nss/nss_files/files-parse.c: Likewise.
13862         * posix/bug-regex5.c: Likewise.
13863         * posix/fnmatch_loop.c: Likewise.
13864         * posix/regcomp.c: Likewise.
13865         * posix/regexec.c: Likewise.
13866         * posix/tst-rfc3484-2.c: Likewise.
13867         * posix/tst-rfc3484-3.c: Likewise.
13868         * posix/tst-rfc3484.c: Likewise.
13869         * resolv/nss_dns/dns-canon.c: Likewise.
13870         * resolv/nss_dns/dns-network.c: Likewise.
13871         * resolv/res_init.c: Likewise.
13872         * resolv/res_mkquery.c: Likewise.
13873         * resolv/tst-aton.c: Likewise.
13874         * stdlib/cxa_atexit.c: Likewise.
13875         * stdlib/cxa_finalize.c: Likewise.
13876         * stdlib/gen-fpioconst.c: Likewise.
13877         * stdlib/strtol_l.c: Likewise.
13878         * string/tst-endian.c: Likewise.
13879         * sunrpc/auth_des.c: Likewise.
13880         * sunrpc/clnt_udp.c: Likewise.
13881         * sunrpc/rtime.c: Likewise.
13882         * sunrpc/svcauth_des.c: Likewise.
13883         * sunrpc/xdr.c: Likewise.
13884         * sunrpc/xdr_intXX_t.c: Likewise.
13885         * sunrpc/xdr_rec.c: Likewise.
13886         * sysdeps/generic/ldconfig.h: Likewise.
13887         * sysdeps/generic/ldsodefs.h: Likewise.
13888         * sysdeps/generic/memusage.h: Likewise.
13889         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13890         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13891         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13892         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13893         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13894         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13895         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13896         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13897         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13898         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13899         * sysdeps/posix/getaddrinfo.c: Likewise.
13900         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13901         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13902         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13903         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13904         * sysdeps/powerpc/test-gettimebase.c: Likewise.
13905         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13906         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13907         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13908         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13909         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13910         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13911         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13912         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13913         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13914         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13915         * sysdeps/x86_64/dl-tls.h: Likewise.
13916         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13917         * time/alt_digit.c: Likewise.
13918         * time/era.c: Likewise.
13919         * wcsmbs/tst-c16c32-1.c: Likewise.
13921 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13923         * math/libm-test.inc (struct test_sincos_data): New type.
13924         (RUN_TEST_LOOP_sincos): New macro.
13925         (sincos_test_data): New variable.
13926         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13928 2013-05-16  Richard Henderson  <rth@redhat.com>
13930         * math/atest-exp2.c (LIMB64): New macro.
13931         (CONSTSZ): New macro.
13932         (mp_exp1, mp_exp_m1, mp_log2): New variables.
13933         (hexdig): Move ...
13934         (print_mpn_fp): ... to function scope.
13935         (read_mpn_hex): Remove.
13936         (get_log2): Remove.
13937         (exp2_mpn): Use mp_log2.
13938         (main): Use mp_exp1.
13940 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13942         * math/libm-test.inc: Remove comment about not testing "inexact"
13943         exceptions.
13944         (INEXACT_EXCEPTION): New macro.
13945         (NO_INEXACT_EXCEPTION): Likewise.
13946         (INVALID_EXCEPTION_OK): Update value.
13947         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13948         (OVERFLOW_EXCEPTION_OK): Likewise.
13949         (UNDERFLOW_EXCEPTION_OK): Likewise.
13950         (IGNORE_ZERO_INF_SIGN): Likewise.
13951         (ERRNO_UNCHANGED): Likewise.
13952         (ERRNO_EDOM): Likewise.
13953         (ERRNO_ERANGE): Likewise.
13954         (test_exceptions): Handle testing "inexact" exceptions.
13955         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13956         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13957         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13958         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13959         INEXACT_EXCEPTION.
13960         (rint_towardzero_test_data): Likewise.
13961         (rint_downward_test_data): Likewise.
13962         (rint_upward_test_data): Likewise.
13964         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13965         with OVERFLOW_EXCEPTION.
13966         (exp10_test_data): Likewise.
13967         (exp2_test_data): Likewise.
13968         (expm1_test_data): Likewise.
13969         (lgamma_test_data): Likewise.
13970         (pow_test_data): Likewise.
13971         (tgamma_test_data): Likewise.
13972         (yn_test_data): Remove duplicate test of overflow.
13974         * math/libm-test.inc (struct test_cc_c_data): New type.
13975         (RUN_TEST_LOOP_cc_c): New macro.
13976         (cpow_test_data): New variable.
13977         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13979         * math/libm-test.inc (struct test_f_L_data): New type.
13980         (RUN_TEST_LOOP_f_L): New macro.
13981         (llrint_test_data): New variable.
13982         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13983         (llrint_tonearest_test_data): New variable.
13984         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13985         (llrint_towardzero_test_data): New variable.
13986         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13987         (llrint_downward_test_data): New variable.
13988         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13989         (llrint_upward_test_data): New variable.
13990         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13991         (llround_test_data): New variable.
13992         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13994 2013-05-13  Peter Collingbourne  <pcc@google.com>
13996         * math/atest-exp2.c (get_log2): Remove const attribute.
13998 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14000         * math/libm-test.inc (struct test_f_l_data): New type.
14001         (RUN_TEST_LOOP_f_l): New macro.
14002         (lrint_test_data): New variable.
14003         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14004         (lrint_tonearest_test_data): New variable.
14005         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14006         (lrint_towardzero_test_data): New variable.
14007         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14008         (lrint_downward_test_data): New variable.
14009         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14010         (lrint_upward_test_data): New variable.
14011         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14012         (lround_test_data): New variable.
14013         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14015 2013-05-15  Peter Collingbourne  <pcc@google.com>
14017         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14018         (EXTRACT_WORDS64) Use where appropriate.
14019         (INSERT_WORDS64) Likewise.
14021         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14022         constraints with x constraints.
14023         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14025         * malloc/obstack.c (_obstack_compat): Add initializer.
14027 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14029         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14030         si_trapno and add si_addr_lsb to _sifields.sigfault.
14031         (si_trapno): Remove macro.
14032         (si_addr_lsb): Define new macro.
14033         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14035 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14037         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14038         instead of TEST_f_l.
14039         (llrint_test_tonearest): Likewise.
14040         (llrint_test_towardzero): Likewise.
14041         (llrint_test_downward): Likewise.
14042         (llrint_test_upward): Likewise.
14043         (llround_test): Likewise.
14045         * math/libm-test.inc (struct test_f_i_data): Add comment.
14046         (RUN_TEST_LOOP_f_b): New macro.
14047         (RUN_TEST_LOOP_f_b_tg): Likewise.
14048         (finite_test_data): New variable.
14049         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14050         (isfinite_test_data): New variable.
14051         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14052         (isinf_test_data): New variable.
14053         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14054         (isnan_test_data): New variable.
14055         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14056         (isnormal_test_data): New variable.
14057         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14058         (issignaling_test_data): New variable.
14059         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14060         (signbit_test_data): New variable.
14061         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14063         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14064         with INVALID_EXCEPTION.
14065         (acosh_test_data): Likewise.
14066         (asin_test_data): Likewise.
14067         (atanh_test_data): Likewise.
14068         (fmod_test_data): Likewise.
14069         (log_test_data): Likewise.
14070         (log10_test_data): Likewise.
14071         (log2_test_data): Likewise.
14072         (pow_test_data): Likewise.
14073         (sqrt_test_data): Likewise.
14074         (y0_test_data): Likewise.
14075         (y1_test_data): Likewise.
14076         (yn_test_data): Likewise.
14078         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14079         function contents.
14081         * math/libm-test.inc (struct test_ff_i_data): New type.
14082         (RUN_TEST_LOOP_ff_i_tg): New macro.
14083         (isgreater_test_data): New variable.
14084         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14085         (isgreaterequal_test_data): New variable.
14086         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14087         (isless_test_data): New variable.
14088         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14089         (islessequal_test_data): New variable.
14090         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14091         (islessgreater_test_data): New variable.
14092         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14093         (isunordered_test_data): New variable.
14094         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14096 2013-05-14  David S. Miller  <davem@davemloft.net>
14098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14100 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
14102         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14104         * math/libm-test.inc (struct test_fF_f1_data): Change type of
14105         extra_test to int.
14106         (struct test_f_i_data): Change type of max_ulp to int.
14108         * math/libm-test.inc (test_ffI_f1_data): New type.
14109         (RUN_TEST_LOOP_ffI_f1): New macro.
14110         (remquo_test_data): New variable.
14111         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14113         * setjmp/tst-setjmp-fp.c: New file.
14114         * setjmp/Makefile (tests): Add tst-setjmp-fp.
14115         (link-libm): New variable.
14116         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14118         * math/libm-test.inc (struct test_f_i_data): New type.
14119         (RUN_TEST_LOOP_f_i): New macro.
14120         (RUN_TEST_LOOP_f_i_tg): Likewise.
14121         (fpclassify_test_data): New variable.
14122         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14123         (ilogb_test_data): New variable.
14124         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14126         * math/libm-test.inc (scalbln_test): Correct function name in END
14127         call.
14129         * math/libm-test.inc (struct test_f_f1_data): Add comment.
14130         (RUN_TEST_LOOP_fI_f1): New macro.
14131         (frexp_test_data): New variable.
14132         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14134         * math/libm-test.inc (struct test_fF_f1_data): New type.
14135         (RUN_TEST_LOOP_fF_f1): New macro.
14136         (modf_test_data): New variable.
14137         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14139         * math/libm-test.inc (struct test_f_f1_data): New type.
14140         (RUN_TEST_LOOP_f_f1): New macro.
14141         (gamma_test_data): New variable.
14142         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14143         (lgamma_test_data): New variable.
14144         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14146 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
14148         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14149         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14150         (main): Comment "tls" pseudo-hwcap.
14152 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
14154         * math/libm-test.inc (struct test_fl_f_data): New type.
14155         (RUN_TEST_LOOP_fl_f): New variable.
14156         (scalbln_test_data): New variable.
14157         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14159         * math/libm-test.inc (struct test_fi_f_data): New type.
14160         (RUN_TEST_LOOP_fi_f): New macro.
14161         (ldexp_test_data): New variable.
14162         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14163         (scalbn_test_data): New variable.
14164         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14166         * math/libm-test.inc (struct test_c_f_data): New type.
14167         (RUN_TEST_LOOP_c_f): New macro.
14168         (cabs_test_data): New variable.
14169         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14170         (carg_test_data): New variable.
14171         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14172         (cimag_test_data): New variable.
14173         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14174         (creal_test_data): New variable.
14175         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14177         * math/libm-test.inc (struct test_if_f_data): New type.
14178         (RUN_TEST_LOOP_if_f): New macro.
14179         (jn_test_data): New variable.
14180         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14181         (yn_test_data): New variable.
14182         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14184         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14186 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14188         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14189         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14191 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14193         * benchtests/Makefile (CPPFLAGS-nonlib): Add
14194         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14195         (bench-deps): Add bench-timing.h.
14196         * benchtests-bench-skeleton.c: Include bench-timing.h.
14197         (main): Use TIMING_* macros instead of clock_gettime.
14198         * benchtests/bench-timing.h: New file.
14200         [BZ #14582]
14201         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14202         Renamed from _LIB_VERSION.
14203         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14205 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
14207         * math/libm-test.inc (struct test_fff_f_data): New type.
14208         (RUN_TEST_LOOP_fff_f): New macro.
14209         (fma_test_data): New variable.
14210         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14211         (fma_towardzero_test_data): New variable.
14212         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14213         (fma_downward_test_data): New variable.
14214         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14215         (fma_upward_test_data): New variable.
14216         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14218         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14219         (struct test_c_c_data): New type.
14220         (RUN_TEST_LOOP_c_c): New macro.
14221         (cacos_test_data): New variable.
14222         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14223         (cacosh_test_data): New variable.
14224         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14225         (casin_test_data): New variable.
14226         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14227         (casinh_test_data): New variable.
14228         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14229         (catan_test_data): New variable.
14230         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14231         (catanh_test_data): New variable.
14232         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14233         (ccos_test_data): New variable.
14234         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14235         (ccosh_test_data): New variable.
14236         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14237         (cexp_test_data): New variable.
14238         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14239         (clog_test_data): New variable.
14240         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14241         (clog10_test_data): New variable.
14242         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14243         (conj_test_data): New variable.
14244         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14245         (cproj_test_data): New variable.
14246         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14247         (csin_test_data): New variable.
14248         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14249         (csinh_test_data): New variable.
14250         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14251         (csqrt_test_data): New variable.
14252         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14253         (ctan_test_data): New variable.
14254         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14255         (ctan_tonearest_test_data): New variable.
14256         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14257         (ctan_towardzero_test_data): New variable.
14258         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14259         (ctan_downward_test_data): New variable.
14260         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14261         (ctan_upward_test_data): New variable.
14262         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14263         (ctanh_test_data): New variable.
14264         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14265         (ctanh_tonearest_test_data): New variable.
14266         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14267         (ctanh_towardzero_test_data): New variable.
14268         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14269         (ctanh_downward_test_data): New variable.
14270         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14271         (ctanh_upward_test_data): New variable.
14272         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14273         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14274         of BUILD_COMPLEX.
14276         * math/libm-test.inc (struct test_ff_f_data): New type.
14277         (struct test_ff_f_data_nexttoward): Likewise.
14278         (RUN_TEST_LOOP_2_f): New macro.
14279         (RUN_TEST_LOOP_ff_f): Likewise.
14280         (atan2_test_data): New variable.
14281         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14282         (copysign_test_data): New variable.
14283         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14284         (fdim_test_data): New variable.
14285         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14286         (fmax_test_data): New variable.
14287         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14288         (fmin_test_data): New variable.
14289         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14290         (fmod_test_data): New variable.
14291         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14292         (hypot_test_data): New variable.
14293         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14294         (nextafter_test_data): New variable.
14295         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14296         (nexttoward_test_data): New variable.
14297         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14298         (pow_test_data): New variable.
14299         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14300         (pow_tonearest_test_data): New variable.
14301         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14302         (pow_towardzero_test_data): New variable.
14303         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14304         (pow_downward_test_data): New variable.
14305         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14306         (pow_upward_test_data): New variable.
14307         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14308         (remainder_test_data): New variable.
14309         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14310         (scalb_test_data): New variable.
14311         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14312         * sysdeps/i386/fpu/libm-test-ulps: Update.
14314 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
14316         * math/libm-test.inc (fma_test): Use max_value instead of local
14317         variable fltmax.
14318         (nextafter_test): Likewise.
14320         * math/libm-test.inc (acos_towardzero_test_data): New variable.
14321         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14322         (acos_downward_test_data): New variable.
14323         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14324         (acos_upward_test_data): New variable.
14325         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14326         (acosh_test_data): New variable.
14327         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14328         (asin_test_data): New variable.
14329         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14330         (asin_tonearest_test_data): New variable.
14331         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14332         (asin_towardzero_test_data): New variable.
14333         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14334         (asin_downward_test_data): New variable.
14335         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14336         (asin_upward_test_data): New variable.
14337         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14338         (asinh_test_data): New variable.
14339         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14340         (atan_test_data): New variable.
14341         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14342         (atanh_test_data): New variable.
14343         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14344         (cbrt_test_data): New variable.
14345         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14346         (ceil_test_data): New variable.
14347         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14348         (cos_test_data): New variable.
14349         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14350         (cos_tonearest_test_data): New variable.
14351         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14352         (cos_towardzero_test_data): New variable.
14353         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14354         (cos_downward_test_data): New variable.
14355         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14356         (cos_upward_test_data): New variable.
14357         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14358         (cosh_test_data): New variable.
14359         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14360         (cosh_tonearest_test_data): New variable.
14361         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14362         (cosh_towardzero_test_data): New variable.
14363         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14364         (cosh_downward_test_data): New variable.
14365         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14366         (cosh_upward_test_data): New variable.
14367         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14368         (erf_test_data): New variable.
14369         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14370         (erfc_test_data): New variable.
14371         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14372         (exp_test_data): New variable.
14373         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14374         (exp_tonearest_test_data): New variable.
14375         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14376         (exp_towardzero_test_data): New variable.
14377         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14378         (exp_downward_test_data): New variable.
14379         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14380         (exp_upward_test_data): New variable.
14381         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14382         (exp10_test_data): New variable.
14383         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14384         (exp2_test_data): New variable.
14385         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14386         (expm1_test_data): New variable.
14387         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14388         (fabs_test_data): New variable.
14389         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14390         (floor_test_data): New variable.
14391         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14392         (j0_test_data): New variable.
14393         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14394         (j1_test_data): New variable.
14395         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14396         (log_test_data): New variable.
14397         (log_test): Run tests with RUN_TEST_LOOP_f_f.
14398         (log10_test_data): New variable.
14399         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14400         (log1p_test_data): New variable.
14401         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14402         (log2_test_data): New variable.
14403         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14404         (logb_test_data): New variable.
14405         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14406         (logb_downward_test_data): New variable.
14407         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14408         (nearbyint_test_data): New variable.
14409         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14410         (rint_test_data): New variable.
14411         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14412         (rint_tonearest_test_data): New variable.
14413         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14414         (rint_towardzero_test_data): New variable.
14415         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14416         (rint_downward_test_data): New variable.
14417         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14418         (rint_upward_test_data): New variable.
14419         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14420         (round_test_data): New variable.
14421         (round_test): Run tests with RUN_TEST_LOOP_f_f.
14422         (sin_test_data): New variable.
14423         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14424         (sin_tonearest_test_data): New variable.
14425         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14426         (sin_towardzero_test_data): New variable.
14427         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14428         (sin_downward_test_data): New variable.
14429         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14430         (sin_upward_test_data): New variable.
14431         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14432         (sinh_test_data): New variable.
14433         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14434         (sinh_tonearest_test_data): New variable.
14435         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14436         (sinh_towardzero_test_data): New variable.
14437         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14438         (sinh_downward_test_data): New variable.
14439         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14440         (sinh_upward_test_data): New variable.
14441         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14442         (sqrt_test_data): New variable.
14443         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14444         (tan_test_data): New variable.
14445         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14446         (tan_tonearest_test_data): New variable.
14447         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14448         (tan_towardzero_test_data): New variable.
14449         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14450         (tan_downward_test_data): New variable.
14451         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14452         (tan_upward_test_data): New variable.
14453         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14454         (tanh_test_data): New variable.
14455         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14456         (tgamma_test_data): New variable.
14457         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14458         (trunc_test_data): New variable.
14459         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14460         (y0_test_data): New variable.
14461         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14462         (y1_test_data): New variable.
14463         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14464         (significand_test_data): New variable.
14465         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14467 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
14469         [BZ #12387]
14470         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14472 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14474         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14476 2013-05-10  Andreas Jaeger  <aj@suse.de>
14478         [BZ #15448]
14479         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14480         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14482 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14484         * math/gen-libm-test.pl (adjust_arg): New function.
14485         (special_functions): Handle generating output in both functions
14486         and arrays.
14487         (parse_args): Likewise.
14488         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
14489         $in_func argument to parse_args.
14490         * math/libm-test.inc (struct test_f_f_data): New type.
14491         (IF_ROUND_INIT_): New macro.
14492         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14493         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14494         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14495         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14496         (ROUND_RESTORE_): Likewise.
14497         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14498         (ROUND_RESTORE_FE_TONEAREST): Likewise.
14499         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14500         (ROUND_RESTORE_FE_UPWARD): Likewise.
14501         (RUN_TEST_LOOP_f_f): New macro.
14502         (acos_test_data): New variable.
14503         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14504         (acos_tonearest_test_data): New variable.
14505         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14507 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14509         * benchtests/bench-skeleton.c (startup): Fix coding style.
14511 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14513         [BZ #6809]
14514         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14515         negative infinity argument.
14516         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14517         negative infinity argument.
14518         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14519         negative infinity argument.
14520         * math/libm-test.inc (tgamma_test): Expect errno to be set for
14521         domain errors.
14523 2013-05-10  Florian Weimer  <fweimer@redhat.com>
14525         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14526         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14527         * iconv/iconv_prog.c (main): Likewise.
14528         * locale/programs/charmap-dir.c (charmap_readdir)
14529         (fopen_uncompressed): Likewise.
14530         * locale/programs/locfile.c (siblings_uncached)
14531         (write_locale_data): Use lstat64 instead of lstat.
14532         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14533         stat.
14535 2013-05-10  Andreas Jaeger  <aj@suse.de>
14537         [BZ #15395]
14538         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14539         localization.
14540         Include <locale.h>.
14542 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14544         * elf/dl-close.c (_dl_close_worker): Add comments.
14546 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14548         [BZ #15359]
14549         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14550         high part of pi/2.
14551         (__ieee754_rem_pio2l): Update comments.
14553         [BZ #15429]
14554         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14555         high part of pi/2.
14556         (__ieee754_rem_pio2l): Update comments.
14558         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14559         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14561         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14562         M_PI_4l.
14564         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14565         (M_PI_34_LOG10El): Likewise.
14566         (M_PI2_LOG10El): Likewise.
14567         (M_PI4_LOG10El): Likewise.
14568         (M_PI_LOG10El): Likewise.
14570 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14574 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14576         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14577         (MINUS_ZERO_INIT): Likewise.
14578         (PLUS_INFTY_INIT): Likewise.
14579         (MINUS_INFTY_INIT): Likewise.
14580         (QNAN_VALUE_INIT): Likewise.
14581         (MAX_VALUE_INIT): Likewise.
14582         (MIN_VALUE_INIT): Likewise.
14583         (MIN_SUBNORM_VALUE_INIT): Likewise.
14584         (plus_zero): Initialize with PLUS_ZERO_INIT.
14585         (minus_zero): Initialize with MINUS_ZERO_INIT.
14586         (plus_infty): Initialize with PLUS_INFTY_INIT.
14587         (minus_infty): Initialize with MINUS_INFTY_INIT.
14588         (qnan_value): Initialize with QNAN_VALUE_INIT.
14589         (max_value): Initialize with MAX_VALUE_INIT.
14590         (min_value): Initialize with MIN_VALUE_INIT.
14591         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14593         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14594         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14595         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14596         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14598         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14599         (RUN_TEST_2_f): Likewise.
14600         (RUN_TEST_ff_f): Likewise.
14601         (RUN_TEST_fi_f): Likewise.
14602         (RUN_TEST_fl_f): Likewise.
14603         (RUN_TEST_fff_f): Likewise.
14604         (RUN_TEST_c_f): Likewise.
14605         (RUN_TEST_f_f1): Likewise.
14606         (RUN_TEST_fF_f1): Likewise.
14607         (RUN_TEST_fI_f1): Likewise.
14608         (RUN_TEST_ffI_f1): Likewise.
14609         (RUN_TEST_c_c): Likewise.
14610         (RUN_TEST_cc_c): Likewise.
14611         (RUN_TEST_f_i): Likewise.
14612         (RUN_TEST_f_i_tg): Likewise.
14613         (RUN_TEST_ff_i_tg): Likewise.
14614         (RUN_TEST_f_b): Likewise.
14615         (RUN_TEST_f_b_tg): Likewise.
14616         (RUN_TEST_f_l): Likewise.
14617         (RUN_TEST_f_L): Likewise.
14618         (RUN_TEST_sincos): Likewise.
14619         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14620         whether to show exceptions.  Do not include ");\n" in return
14621         value.
14622         (special_functions): Output call to RUN_TEST_sincos instead of
14623         check_float calls.  Update calls to new_test.
14624         (parse_args): Output call to single RUN_TEST_* macro instead of
14625         check_* calls and other assignments.  Update calls to new_test.
14627         [BZ #2546]
14628         [BZ #2560]
14629         [BZ #5159]
14630         [BZ #15426]
14631         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14632         input to result for tgamma overflow.
14633         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14634         (gamma_coeff): New variable.
14635         (NCOEFF): New macro.
14636         (gamma_positive): New function.
14637         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14638         underflow here.  Use gamma_positive instead of exp (lgamma) for
14639         other arguments.
14640         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14641         (gamma_coeff): New variable.
14642         (NCOEFF): New macro.
14643         (gammaf_positive): New function.
14644         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14645         underflow here.  Use gamma_positive instead of exp (lgamma) for
14646         other arguments.
14647         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14648         (gamma_coeff): New variable.
14649         (NCOEFF): New macro.
14650         (gammal_positive): New function.
14651         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14652         underflow here.  Use gamma_positive instead of exp (lgamma) for
14653         other arguments.
14654         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14655         (gamma_coeff): New variable.
14656         (NCOEFF): New macro.
14657         (gammal_positive): New function.
14658         (__ieee754_gammal_r): Handle positive infinity, overflow and
14659         underflow here.  Handle NaN the same as positive infinity.  Remove
14660         check x < 0xffffffff for negative integers.  Use gamma_positive
14661         instead of exp (lgamma) for other arguments.
14662         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14663         (gamma_coeff): New variable.
14664         (NCOEFF): New macro.
14665         (gammal_positive): New function.
14666         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14667         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14668         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14669         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14670         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14671         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14672         * sysdeps/generic/math_private.h (__gamma_productf): New
14673         prototype.
14674         (__gamma_product): Likewise.
14675         (__gamma_productl): Likewise.
14676         * math/Makefile (libm-calls): Add gamma_product.
14677         * math/libm-test.inc (tgamma_test): Add more tests.
14678         * sysdeps/i386/fpu/libm-test-ulps: Update.
14679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14681 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14683         * benchtests/bench-skeleton.c (main): Preheat CPU.
14685 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14687         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14689 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14691         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14692         and _dl_skip_args_internal.
14694 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14696         * manual/message.texi (Message Translation): Talk about users.
14697         Message to key mapping impacts design.
14699 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14701         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14703         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14705         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14706         * sysdeps/wordsize-64/glob64.c: ... here.
14708         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14709         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14710         New macros.
14712         * debug/getlogin_r_chk.c: Moved to ...
14713         * login/getlogin_r_chk.c: ... here.
14714         * debug/Makefile (routines): Move getlogin_r_chk to ...
14715         * login/Makefile (routines): ... here.
14716         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14717         * login/Versions (libc: GLIBC_2.4): ... here.
14719         * io/poll.c (__poll): Renamed from poll.
14720         Add libc_hidden_def.
14721         (poll): Define as weak alias.
14723         * debug/ptsname_r_chk.c: Moved to ...
14724         * login/ptsname_r_chk.c: ... here.
14725         * debug/Makefile (routines): Move ptsname_r_chk to ...
14726         * login/Makefile (routines): ... here.
14727         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14728         * login/Versions (libc: GLIBC_2.4): ... here.
14730         * posix/getlogin.c: Moved to ...
14731         * login/getlogin.c: ... here.
14732         * posix/getlogin_r.c: Moved to ...
14733         * login/getlogin_r.c: ... here.
14734         * posix/getlogin_r.c: Moved to ...
14735         * login/getlogin_r.c: ... here.
14736         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14737         * login/Makefile (routines): ... here.
14738         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14739         * login/Versions (libc: GLIBC_2.0): ... here.
14741         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14742         (setrlimit): Define as weak alias.
14744         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14745         Call __ names for open, ftruncate, and close.
14746         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14747         (truncate): Define as weak alias.
14749 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14751         * math/gen-libm-test.pl (parse_args): Initialize x before each
14752         test of frexp, modf and remquo.
14754         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14755         test signgam value.
14757 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14759         [BZ #15418]
14760         [BZ #15419]
14761         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14762         internal tests.
14763         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14765 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14767         * elf/dl-writev.h: New file.
14768         * elf/dl-misc.c: Include it.
14769         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14770         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14772 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14774         * math/libm-test.inc (noXFails): Remove variable.
14775         (noXPasses): Likewise.
14776         (BUILD_COMPLEX_INT): Remove macro.
14777         (print_screen): Remove xfail argument.
14778         (print_screen_max_error): Likewise.
14779         (update_stats): Likewise.
14780         (print_max_error): Likewise.  Update calls to other affected
14781         functions.
14782         (print_complex_max_error): Likewise.
14783         (test_single_exception): Update calls to print_screen.
14784         (test_single_errno): Likewise.
14785         (check_float_internal): Remove xfail argument.  Update calls to
14786         other affected functions.
14787         (check_float): Likewise.
14788         (check_complex): Likewise.
14789         (check_int): Likewise.
14790         (check_long): Likewise.
14791         (check_bool): Likewise.
14792         (check_longlong): Likewise.
14793         (main): Don't print noXFails and noXPasses.
14794         * math/gen-libm-test.pl (top level): Don't mention expected
14795         failure handling in comment.
14796         (new_test): Don't handle expected failures.
14797         (parse_args): Don't mention expected failure handling in comment.
14798         (generate_testfile): Don't handle expected failures.
14799         (parse_ulps): Likewise.
14800         (print_ulps_file): Likewise.
14801         (get_failure): Remove function.
14802         (output_test): Don't handle expected failures.
14803         * make/README.libm-test: Don't mention expected failure handling.
14805         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
14806         (minus_zero): Likewise.
14807         (plus_infty): Likewise.
14808         (minus_infty): Likewise.
14809         (qnan_value): Likewise.
14810         (max_value): Likewise.
14811         (min_value): Likewise.
14812         (min_subnorm_value): Likewise.
14813         (initialize): Do not initialize those variables dynamically.
14815 2013-05-03  Roland McGrath  <roland@hack.frob.com>
14817         * io/open.c (__open_2): Moved to ...
14818         * io/open_2.c: ... this new file.
14819         * io/open64.c (__open64_2): Moved to ...
14820         * io/open64_2.c: ... this new file.
14821         * io/openat.c (__openat_2): Moved to ...
14822         * io/openat_2.c: ... this new file.
14823         * io/openat64.c (__openat64_2): Moved to ...
14824         * io/openat64_2.c: ... this new file.
14825         * io/Makefile (routines): Add them.
14826         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14827         * sysdeps/unix/sysv/linux/open_2.c: File removed.
14828         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14829         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14830         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14831         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14832         (__openat64): Add hidden_ver.
14833         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14834         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14836         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14837         Separately conditionalize setting of GLRO(dl_sysinfo) so
14838         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14839         as well, but the actual setting is only under [NEED_DL_SYSINFO].
14841 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14843         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14844         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14845         definition.
14846         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14847         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14848         (_libc_vdso_platform_setup): Add __vdso_time initialization.
14849         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14850         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14852 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
14854         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14855         test signgam value.
14857         * math/libm-test.inc (hypot_test): Do not use
14858         IGNORE_ZERO_INF_SIGN.
14860 2013-05-03  Andreas Jaeger  <aj@suse.de>
14862         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14863         Linux 3.9.
14864         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14865         (PF_MAX): Adjust for VSOCK change.
14867 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14871 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
14873         [BZ #15264]
14874         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14875         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14876         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14878 2013-05-02  David S. Miller  <davem@davemloft.net>
14880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14882 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
14884         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14886 2013-05-01  Roland McGrath  <roland@hack.frob.com>
14888         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14890 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
14892         [BZ #14952]
14893         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14894         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14895         Use __attribute__ ((__gnu_inline__)).
14896         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14897         Don't use __attribute__ ((__gnu_inline__)).
14899 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
14901         [BZ #15423]
14902         * math/s_catan.c (__catan): Handle small real or imaginary part of
14903         input specially to avoid spurious underflow.
14904         * math/s_catanf.c (__catanf): Likewise.
14905         * math/s_catanh.c (__catanh): Likewise.
14906         * math/s_catanhf.c (__catanhf): Likewise.
14907         * math/s_catanhl.c (__catanhl): Likewise.
14908         * math/s_catanl.c (__catanl): Likewise.
14909         * math/libm-test.inc (catan_test): Add more tests.
14910         (catanh_test): Likewise.
14911         * sysdeps/i386/fpu/libm-test-ulps: Update.
14912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14914 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14918 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
14920         [BZ #15416]
14921         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14922         accurately for denominator in atan2.
14923         * math/s_catanf.c (__catanf): Likewise.
14924         * math/s_catanh.c (__catanh): Likewise.
14925         * math/s_catanhf.c (__catanhf): Likewise.
14926         * math/s_catanhl.c (__catanhl): Likewise.
14927         * math/s_catanl.c (__catanl): Likewise.
14928         * math/libm-test.inc (catan_test): Add more tests.
14929         (catanh_test): Likewise.
14930         * sysdeps/i386/fpu/libm-test-ulps: Update.
14931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14933 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14935         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14937         * benchtests/Makefile (bench): Remove slow benchmarks.
14938         * benchtests/atan-inputs: Add slow benchmark inputs.
14939         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14940         (BENCH_FUNC): Accept variant offset.
14941         (VARIANT): Define.
14942         * benchtests/bench-skeleton.c (main): Run benchmark for each
14943         variant.
14944         * benchtests/cos-inputs: Add slow benchmark inputs.
14945         * benchtests/exp-inputs: Likewise.
14946         * benchtests/pow-inputs: Likewise.
14947         * benchtests/sin-inputs: Likewise.
14948         * benchtests/slowatan-inputs: Remove.
14949         * benchtests/slowatan.c: Remove.
14950         * benchtests/slowcos-inputs: Remove.
14951         * benchtests/slowcos.c: Remove.
14952         * benchtests/slowexp-inputs: Remove.
14953         * benchtests/slowexp.c: Remove.
14954         * benchtests/slowpow-inputs: Remove.
14955         * benchtests/slowpow.c: Remove.
14956         * benchtests/slowsin-inputs: Remove.
14957         * benchtests/slowsin.c: Remove.
14958         * benchtests/slowtan-inputs: Remove.
14959         * benchtests/slowtan.c: Remove.
14960         * benchtests/tan-inputs: Add slow benchmark inputs.
14961         * scripts/bench.pl: Parse comments and directives.
14963         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
14964         in CPPFLAGS.
14965         ($(objpfx)bench-%.c): Remove *-ITER.
14966         * benchtests/bench-modf.c: Remove definition of ITER.
14967         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14968         (main): Loop for DURATION seconds instead of fixed number of
14969         iterations.
14970         * scripts/bench.pl: Don't expect iterations in parameters.
14972 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14974         * io/fchdir.c (__fchdir): Renamed from fchdir.
14975         (fchdir): Define as weak alias.
14977 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14979         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14980         (ERRNO_EDOM): Likewise.
14981         (ERRNO_ERANGE): Likewise.
14982         (noErrnoTests): New variable.
14983         (init_max_error): Set errno to 0.
14984         (test_single_errno): New function.
14985         (test_errno): Likewise.
14986         (check_float_internal): Call test_errno.  Set errno to 0.
14987         (check_complex): Refer to errno tests in comment.
14988         (check_int): Call test_errno.  Set errno to 0.
14989         (check_long): Likewise.
14990         (check_bool): Likewise.
14991         (check_longlong): Likewise.
14992         (cos_test): Use ERRNO_* flags for errno tests instead of
14993         check_int.
14994         (expm1_test): Likewise.
14995         (fmod_test): Likewise.
14996         (ilogb_test): Likewise.
14997         (lgamma_test): Likewise.
14998         (pow_test): Likewise.
14999         (remainder_test): Likewise.
15000         (sin_test): Likewise.
15001         (tan_test): Likewise.
15002         (yn_test): Likewise.
15003         (initialize): Set errno to 0.
15004         (main): Print number of errno tests.
15005         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15007 2013-04-29  Andreas Jaeger  <aj@suse.de>
15009         [BZ #15084]
15010         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15011         and RES_USEVC.
15013         [BZ #15085]
15014         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15015         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15016         unimplemented.
15018         [BZ #15380]
15019         * stdlib/random.c (__initstate): Return NULL if
15020         __initstate fails.
15022         [BZ #15086]
15023         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15024         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15025         RES_SNGLKUPREOP.
15027 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15031 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15033         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15034         of individual tests.
15035         (casin_test): Likewise.
15036         (casinh_test): Likewise.
15038 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15040         [BZ #15409]
15041         * math/s_catan.c (__catan): Handle arguments with large real or
15042         imaginary part separately without squaring.
15043         * math/s_catanf.c (__catanf): Likewise.
15044         * math/s_catanh.c (__catanh): Likewise.
15045         * math/s_catanhf.c (__catanhf): Likewise.
15046         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15047         and redefine.
15048         (__catanhl): Handle arguments with large real or imaginary part
15049         separately without squaring.
15050         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15051         and redefine.
15052         (__catanl): Handle arguments with large real or imaginary part
15053         separately without squaring.
15054         * math/libm-test.inc (catan_test): Add more tests.
15055         (catanh_test): Likewise.
15056         * sysdeps/i386/fpu/libm-test-ulps: Update.
15057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15059 2013-04-27  Andreas Jaeger  <aj@suse.de>
15061         [BZ #15007]
15062         * stdlib/stdlib.h: Update guards for qecvt.
15063         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15064         <stdlib.h>.
15066 2013-04-27  Allan McRae  <allan@archlinux.org>
15068         * sysdeps/i386/fpu/libm-test-ulps: Update.
15070 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15072         [BZ #15406]
15073         * math/s_catan.c: Include <float.h>.
15074         (__catan): Ensure underflow exception occurs for underflowed
15075         result.
15076         * math/s_catanf.c: Include <float.h>.
15077         (__catanf): Ensure underflow exception occurs for underflowed
15078         result.
15079         * math/s_catanh.c: Include <float.h>.
15080         (__catanh): Ensure underflow exception occurs for underflowed
15081         result.
15082         * math/s_catanhf.c: Include <float.h>.
15083         (__catanhf): Ensure underflow exception occurs for underflowed
15084         result.
15085         * math/s_catanhl.c: Include <float.h>.
15086         (__catanhl): Ensure underflow exception occurs for underflowed
15087         result.
15088         * math/s_catanl.c: Include <float.h>.
15089         (__catanl): Ensure underflow exception occurs for underflowed
15090         result.
15091         * math/libm-test.inc (catan_test): Add more tests.
15092         (catanh_test): Likewise.
15094         [BZ #15405]
15095         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15096         underflowed result.
15097         * math/s_ccoshf.c (__ccoshf): Likewise.
15098         * math/s_ccoshl.c (__ccoshl): Likewise.
15099         * math/s_csin.c (__csin): Likewise.
15100         * math/s_csinf.c (__csinf): Likewise.
15101         * math/s_csinh.c (__csinh): Likewise.
15102         * math/s_csinhf.c (__csinhf): Likewise.
15103         * math/s_csinhl.c (__csinhl): Likewise.
15104         * math/s_csinl.c (__csinl): Likewise.
15105         * math/libm-test.inc (ccos_test): Add more tests.
15106         (ccosh_test): Likewise.
15107         (csin_test): Likewise.
15108         (csinh_test): Likewise.
15110 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15112         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15113         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15114         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15115         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15116         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15117         powerpc/power5+/fpu folders.
15118         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15121 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15125 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
15127         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15128         additions to variable.
15129         [$(config-machine) = x86_64] (modules-names): Likewise.
15130         ($(objpfx)tst-audit3): Remove dependency.
15131         ($(objpfx)tst-audit3.out): Likewise.
15132         ($(objpfx)tst-audit4): Likewise.
15133         ($(objpfx)tst-audit4.out): Likewise.
15134         ($(objpfx)tst-audit5): Likewise.
15135         ($(objpfx)tst-audit5.out): Likewise.
15136         ($(objpfx)tst-audit6): Likewise.
15137         ($(objpfx)tst-audit6.out): Likewise.
15138         ($(objpfx)tst-audit7): Likewise.
15139         ($(objpfx)tst-audit7.out): Likewise.
15140         (tst-audit3-ENV): Remove variable.
15141         (tst-audit4-ENV): Likewise.
15142         (tst-audit5-ENV): Likewise.
15143         (tst-audit6-ENV): Likewise.
15144         (tst-audit7-ENV): Likewise.
15145         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15146         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15147         addition to variable.
15148         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15149         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15150         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15151         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15152         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15153         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15154         tst-audit3, tst-audit4 and tst-audit5.
15155         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15156         tst-audit6 and tst-audit7.
15157         [$(subdir) = elf] (modules-names): Add audit modules for those
15158         tests.
15159         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15160         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15161         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15162         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15163         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15164         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15165         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15166         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15167         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15168         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15169         [$(subdir) = elf] (tst-audit3-ENV): New variable.
15170         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15171         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15172         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15173         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15174         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15175         Likewise.
15176         [$(subdir) = elf && $(config-cflags-avx) = yes]
15177         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15178         [$(subdir) = elf && $(config-cflags-avx) = yes]
15179         (CFLAGS-tst-auditmod4a.c): Likewise.
15180         [$(subdir) = elf && $(config-cflags-avx) = yes]
15181         (CFLAGS-tst-auditmod4b.c): Likewise.
15182         [$(subdir) = elf && $(config-cflags-avx) = yes]
15183         (CFLAGS-tst-auditmod6b.c): Likewise.
15184         [$(subdir) = elf && $(config-cflags-avx) = yes]
15185         (CFLAGS-tst-auditmod6c.c): Likewise.
15186         [$(subdir) = elf && $(config-cflags-avx) = yes]
15187         (CFLAGS-tst-auditmod7b.c): Likewise.
15188         * elf/tst-audit3.c: Move to ...
15189         * sysdeps/x86_64/tst-audit3.c: ... here.
15190         * elf/tst-audit4.c: Move to ...
15191         * sysdeps/x86_64/tst-audit4.c: ... here.
15192         * elf/tst-audit5.c: Move to ...
15193         * sysdeps/x86_64/tst-audit5.c: ... here.
15194         * elf/tst-audit6.c: Move to ...
15195         * sysdeps/x86_64/tst-audit6.c: ... here.
15196         * elf/tst-audit7.c: Move to ...
15197         * sysdeps/x86_64/tst-audit7.c: ... here.
15198         * elf/tst-auditmod3a.c: Move to ...
15199         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15200         * elf/tst-auditmod3b.c: Move to ...
15201         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15202         * elf/tst-auditmod4a.c: Move to ...
15203         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15204         * elf/tst-auditmod4b.c: Move to ...
15205         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15206         * elf/tst-auditmod5a.c: Move to ...
15207         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15208         * elf/tst-auditmod5b.c: Move to ...
15209         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15210         * elf/tst-auditmod6a.c: Move to ...
15211         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15212         * elf/tst-auditmod6b.c: Move to ...
15213         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15214         * elf/tst-auditmod6c.c: Move to ...
15215         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15216         * elf/tst-auditmod7a.c: Move to ...
15217         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15218         * elf/tst-auditmod7b.c: Move to ...
15219         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15221 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
15223         [BZ #15366]
15224         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15225         define unconditionally.
15226         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15227         define unconditionally.
15228         (INT8_C, INT16_C, etc.): Likewise.
15230 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
15232         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15233         __ehdr_start with hidden visibility.
15235         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15237 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
15239         * math/libm-test.inc (cos_test): Use accurate hex constants.
15240         (sincost_test): Likewise.
15242 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
15244         * math/libm-test.inc (catan_test): Add more tests.
15245         (catanh_test): Likewise.
15247         * math/s_catanf.c (__catanf): Use suffixed floating-point
15248         constants.
15249         * math/s_catanhf.c (__catanhf): Likewise.
15250         * math/s_catanhl.c (__catanhl): Likewise.
15251         * math/s_catanl.c (__catanl): Likewise.
15253         [BZ #15394]
15254         * math/s_catan.c (__catan): Calculate imaginary part of result
15255         with log1p not log unless computing log of number close to 0.
15256         * math/s_catanf.c (__catanf): Likewise.
15257         * math/s_catanl.c (__catanl): Likewise.
15258         * math/s_catanh.c (__catanh): Calculate real part of result with
15259         log1p not log unless computing log of number close to 0.
15260         * math/s_catanhf.c (__catanhf): Likewise.
15261         * math/s_catanhl.c (__catanhl): Likewise.
15262         * math/libm-test.inc (catan_test): Add more tests.
15263         (catanh_test): Likewise.
15264         * sysdeps/i386/fpu/libm-test-ulps: Update.
15265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15267 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15269         * benchtests/Makefile: Mention files in which fast and slow
15270         paths of math functions are implemented.
15272 2013-04-23  Roland McGrath  <roland@hack.frob.com>
15274         * sysdeps/posix/timespec_get.c: New file.
15276 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15278         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15279         POWER.
15280         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15281         for POWER.
15282         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15283         powerpc/power5/fpu folders.
15284         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15285         * benchtests/Makefile: Add modf testcase.
15286         * benchtests/bench-modf.c: New file: Benchmark test for mo
15288 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15290         [BZ #14888]
15291         * time/Makefile (tests): Add tst-strptime-whitespace.
15292         * time/strptime_l.c (get_number): Use ISSPACE.
15293         (__strptime_internal): Likewise.
15294         * time/tst-strptime-whitespace.c: New test case.
15296 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
15298         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15299         member.
15300         (_nss_files_init): Set it here.
15302 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
15304         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15305         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15306         unsigned.
15308 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
15310         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15312 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15314         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15315         size just once.
15317 2013-04-21  David S. Miller  <davem@davemloft.net>
15319         * po/ru.po: Update Russion translation from translation project.
15321 2013-04-17  Adam Conrad  <adconrad@0c3.net>
15323         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15324         and setfsgid.
15326 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
15328         * configure.in: Remove i386 configure warning. Remove i386 case.
15329         * configure: Regenerate.
15330         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15331         Add example to error message.
15332         * sysdeps/i386/configure: Regenerate.
15334 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15336         * benchtests/Makefile (bench): Add cos, tan, slowcos and
15337         slowtan.
15338         * benchtests/cos-inputs: New file.
15339         * benchtests/slowcos-inputs: New file.
15340         * benchtests/slowcos.c: New file.
15341         * benchtests/slowtan-inputs: New file.
15342         * benchtests/slowtan.c: New file.
15343         * benchtests/tan-inputs: New file.
15345 2013-04-16  Roland McGrath  <roland@hack.frob.com>
15347         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15348         considered kosher.
15350 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15352         * benchtests/Makefile: Include cppflags-iterator.mk to add
15353         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15355         * Makefile.in (bench-clean): New target.
15356         * benchtests/Makefile (bench-clean): Likewise.
15358 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
15360         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15362 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
15364         * stdio-common/tstdiomisc.c: Fix coding-style violation.
15366 2013-04-15  Andreas Schwab  <schwab@suse.de>
15368         * nscd/grpcache.c (cache_addgr): Properly check for short write.
15369         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15370         * nscd/pwdcache.c (cache_addpw): Likewise.
15371         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
15372         more than recsize.
15374 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15376         * benchtests/Makefile (bench): Write all output to
15377         bench-out.tmp together.
15379 2013-04-15  Andreas Schwab  <schwab@suse.de>
15381         * nscd/nscd.c (main): Don't fork again after closing files.
15383 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15385         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15387         * benchtests/Rules (bench-deps): Collect dependencies into a
15388         single variable.  Add Makefile to dependencies.
15389         ($(objpfx)bench-%.c): Depend on bench-deps.
15391 2013-04-12  Roland McGrath  <roland@hack.frob.com>
15392             Xavier Roche  <roche+kml2@exalead.com>
15394         [BZ #15361]
15395         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15396         just that it's a file descriptor.
15397         * manual/llio.texi (Synchronizing AIO Operations): Update description
15398         for EBADF error from aio_fsync.
15400 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15402         * Rules (bench): Move target definition...
15403         * benchtests/Makefile: ... here.
15405 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
15407         * math/libm-test.inc (cos_test): Fix PI/2 test.
15408         (sincos_test): Likewise.
15409         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15410         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15412 2013-04-11  Andreas Schwab  <schwab@suse.de>
15414         [BZ #13988]
15415         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15416         accept exponent character only when digits were seen.
15417         * stdio-common/Makefile (tests): Add bug26.
15418         * stdio-common/bug26.c: New file.
15420         [BZ #14293]
15421         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15422         non-freeable.
15424 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15426         * Makeconfig (rtld-prefix): Define built linker prefix.
15427         * Rules (run-bench): Use it.
15428         * math/Makefile (run-regen-ulps): Likewise.
15430         * Rules (bench): Remove eval.
15432 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15433             Roland McGrath  <roland@hack.frob.com>
15434             Ondrej Bilka  <neleai@seznam.cz>
15436         [BZ #15346]
15437         * time/getdate.c: Include ctype.h and alloca.h.
15438         (__getdate_r): Trim leading and trailing spaces of input.
15439         * time/tst-getdate.c (tests): Add tests with leading and
15440         trailing spaces.
15442 2013-04-08  Roland McGrath  <roland@hack.frob.com>
15444         [BZ #14280]
15445         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15446         when computing value.
15448 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15450         * math/README.libm-test (How can I generate "libm-test-ulps"?):
15451         Use testrun.sh to run libm tests.
15453         [BZ #15309]
15454         * elf/dl-open.c (dl_open_worker): memset all of seen array.
15456 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
15458         [BZ #15264]
15459         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15461 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15463         * Makefile.in (regen-ulps): New target.
15464         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15465         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15466         [ifneq (no,$(PERL)] (regen-ulps): New target.
15467         [ifeq (no,$(PERL)] (regen-ulps): New target.
15468         * math/libm-test.inc (ulps_file_name): Define.
15469         (output_dir): New variable.
15470         (options): Add "output-dir" option.
15471         (parse_opt): Handle 'o' case.
15472         (main): If output_dir is non-NULL use it as a prefix
15473         otherwise use "".
15474         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15476 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15478         [BZ #10060, #10062]
15479         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15480         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15481         fail configure if __sync_val_compare_and_swap is not inlined.
15482         * sysdeps/i386/configure: Regenerate.
15483         * configure.in: Build for i686 when configured for i386.
15484         * configure: Regenerate.
15485         * README: Remove i386 reference.
15487 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15489         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15490         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15492 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15494         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15495         (lmsnanval): New variables.
15496         (F): Add conversion tests.
15497         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15498         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15500         * stdio-common/tstdiomisc.c (F): Properly collect individual
15501         tests' results.
15503         [BZ #14686, #15336]
15504         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15505         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15506         Instead, use input NaN values or generate a qNaN by arithmetic
15507         operation.  Also fix bugs to comply with the standard.
15508         * math/libm-test.inc (remainder_test): Add more tests.
15510         [BZ #15335, #15342]
15511         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15512         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15513         input NaN values or generate a qNaN by arithmetic operation.
15515         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15516         unreachable code.
15518         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15519         definitions.
15521 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
15523         [BZ #14478]
15524         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15525         underflowed result.
15526         * math/s_cexpf.c (__cexpf): Likewise.
15527         * math/s_cexpl.c (__cexpl): Likewise.
15528         * math/libm-test.inc (cexp_test): Add more tests.
15530 2013-04-03  Andreas Schwab  <schwab@suse.de>
15532         [BZ #15330]
15533         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15534         order arrays from heap if bigger than alloca cutoff.
15536 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
15538         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15539         (SNAN_TESTS_double): Refer to GCC PR56831.
15540         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15541         GCC PR56828.
15543 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15545         * Rules (bench): Move bench.out after the run is complete.
15547         * Rules (bench): Echo currently running benchmark.
15549         * benchtests/Makefile (bench): Add atan and slowatan.
15550         * benchtests/atan-inputs: New file.
15551         * benchtests/slowatan-inputs: New file.
15552         * benchtests/slowatan.c: New file.
15554         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15555         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15556         its value.
15558         [BZ #15305]
15559         * sysdeps/unix/sysv/linux/kernel-features.h
15560         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15561         __ASSUME_XFS_RESTRICTED_CHOWN.
15562         * sysdeps/unix/sysv/linux/pathconf.c
15563         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15564         Save and restore errno.
15566 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #15327]
15569         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15570         arguments using __kernel_casinh.
15571         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15572         arguments using __kernel_casinhf.
15573         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15574         arguments using __kernel_casinhl.
15575         * math/libm-test.inc (cacosh_test): Add more tests.
15576         * sysdeps/i386/fpu/libm-test-ulps: Update.
15577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15579 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15581         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15584         * bench/Makefile (bench): Add sin and slowsin.
15585         * benchtests/sin-inputs: New file.
15586         * benchtests/slowsin-inputs: New file.
15587         * benchtests/slowsin.c: New file.
15589         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15590         (bench): Add slowexp and slowpow.
15591         (exp-ITER): Increase iterations.
15592         (pow-ITER): Likewise.
15593         * benchtests/exp-inputs: Change input.
15594         * benchtests/pow-inputs: Likewise.
15595         * benchtests/slowexp-inputs: New file.
15596         * benchtests/slowexp.c: New file.
15597         * benchtests/slowpow-inputs: New file.
15598         * benchtests/slowpow.c: New file.
15600 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15602         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15603         instructions.
15604         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15605         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15606         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15607         * benchtests/Makefile: Add rint benchtest.
15608         * benchtests/rint-inputs: Input for rint benchtest.
15610 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15612         * Versions.def (libm): Add GLIBC_2.18.
15613         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15614         hidden libm prototypes.
15615         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15616         * math/Makefile (libm-calls): Add s_issignaling.
15617         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15618         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15619         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15620         declaration.
15621         * math/math.h [__USE_GNU] (issignaling): New macro.
15622         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15623         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15624         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15625         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15626         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15627         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15628         * manual/arith.texi (issignaling): New section.
15629         * manual/libm-err-tab.pl (@all_functions): Update comment.
15630         * math/gen-libm-test.pl (parse_args): Apply special handling for
15631         issignaling.
15632         * math/libm-test.inc (print_float, issignaling_test): New
15633         functions.
15634         (check_float_internal): Add issignaling checks.
15635         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15636         default definition.
15637         * sysdeps/powerpc/math-tests.h: New file.
15638         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15639         tests.
15640         * math/test-snan.c (TEST_FUNC): Likewise.
15642 2013-03-30  David S. Miller  <davem@davemloft.net>
15644         * po/de.po: Update from translation team.
15646 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
15648         [BZ #10357]
15649         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15650         imaginary part less than 1.0 and real part less than 0.5
15651         specially.
15652         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15653         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15654         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15655         (cacos_test): Add more tests.
15656         (casin_test): Likewise.
15657         (casinh_test): Likewise.
15658         * sysdeps/i386/fpu/libm-test-ulps: Update.
15659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15661 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15663         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15664         ONE with its value.
15666         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15667         (__pow_mp): Replace ONE and MONE with their values.
15668         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15669         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15670         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15671         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15672         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15673         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15675         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15677         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15678         (__pow_mp): Replace ZERO and MZERO with their values.
15679         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15680         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15681         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15683         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15684         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15685         (__sqr): Likewise.
15687         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15689         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15691 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15693         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15694         Declare with __attribute__ ((weak)).
15695         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15696         Call __call_tls_dtors only if it's not NULL.
15698 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15700         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15701         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15702         magic __ehdr_start linker symbol if it's defined.
15703         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15704         them up here if it was already done.
15706         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15707         (_dl_aux_init): Use const in cast when setting it.
15708         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15709         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15710         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15712         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15713         Declare them here.
15714         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15715         * csu/libc-tls.c: Nor here.
15716         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15718         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15719         (__libc_message): Never call vsyslog.
15721 2013-03-28  Alan Modra  <amodra@gmail.com>
15723         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15724         Define as empty.
15725         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15726         Likewise.
15728 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15730         [BZ #15214]
15731         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15732         underflow.
15733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15735 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15737         [BZ #15304]
15738         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15739         Don't add gid passed as argument.
15741         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15743 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15745         [BZ #15307]
15746         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15747         imaginary part between 1.0 and 1.5 and real part less than 0.5
15748         specially.
15749         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15750         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15751         * math/libm-test.inc (cacos_test): Add more tests.
15752         (casin_test): Likewise.
15753         (casinh_test): Likewise.
15754         * sysdeps/i386/fpu/libm-test-ulps: Update.
15755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15757 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15759         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15760         constants.
15761         (norm): Likewise.
15762         (denorm): Likewise.
15763         (__dbl_mp): Likewise.
15764         (add_magnitudes): Likewise.
15765         (sub_magnitudes): Likewise.
15766         (__add): Likewise.
15767         (__sub): Likewise.
15768         (__mul): Likewise.
15769         (__sqr): Likewise.
15770         (__inv): Likewise.
15771         (__dvd): Likewise.
15773         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15774         commented code.
15775         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15776         (__dubcos): Likewise.
15777         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15778         (__ieee754_acos): Likewise.
15779         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15780         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15781         (__exp1): Likewise.
15782         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15784         (log1): Likewise.
15785         (my_log2): Likewise.
15786         (checkint): Likewise.
15787         * sysdeps/ieee754/dbl-64/e_remainder.c
15788         (__ieee754_remainder): Likewise.
15789         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15790         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15791         (bsloww): Likewise.
15792         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15794         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15795         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15796         MANTISSA_STORE_T to store computations on mantissa.  Use
15797         macros for rounding and division.
15798         (denorm): Likewise.
15799         (__dbl_mp): Likewise.
15800         (add_magnitudes): Likewise.
15801         (sub_magnitudes): Likewise.
15802         (__mul): Likewise.
15803         (__sqr): Likewise.
15804         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15805         powers of two in terms of TWOPOW macro.
15806         (mp_no): Make type of mantissa as MANTISSA_T.
15807         [!RADIXI]: Define RADIXI.
15808         [!TWO52]: Define TWO52.
15809         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15811 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15813         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15814         llroundl symbol when building for PPC32.
15816 2013-03-24  Mark H Weaver  <mhw@netris.org>
15818         * manual/arith.texi (Normalization Functions): Fix prototypes for
15819         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15821 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15823         [BZ #13889]
15824         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15825         high value to check if expl overflow.
15826         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15827         to check for underflow and overflow.
15828         * math/libm-test.inc: Add exp test.
15830 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
15832         [BZ #11120]
15833         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15834         with NOT_IN_libc.
15836 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15838         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15839         symbol.
15841 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15843         * math/gen-libm-test.pl (parse_args, special_functions): Properly
15844         wrap blocks consisting of several statements.
15846         * sysdeps/generic/math-tests.h: New file.
15847         * sysdeps/i386/fpu/math-tests.h: Likewise.
15848         * math/test-snan.c: Include it.
15849         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15851 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15853         [BZ #15285]
15854         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15855         (__ieee754_j0l): Do not improve calculations using cos of twice
15856         input for inputs above LDBL_MAX / 2.0L.
15857         (__ieee754_y0l): Likewise.
15858         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15859         (__ieee754_j1l): Do not improve calculations using cos of twice
15860         input for inputs above LDBL_MAX / 2.0L.
15861         (__ieee754_y1l): Likewise.
15862         * math/libm-test.inc (j0_test): Add another test.
15863         (j1_test): Likewise.
15864         (y0_test): Likewise.
15865         (y1_test): Likewise.
15866         * sysdeps/i386/fpu/libm-test-ulps: Update.
15868 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15870         * Rules ($(objpfx)bench-%.c): Include code from a C source
15871         file.
15873 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15875         [BZ #15287]
15876         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15877         imaginary part 1.0 and real part less than 0.5 specially.
15878         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15879         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15880         * math/libm-test.inc (cacos_test): Add more tests.
15881         (casin_test): Likewise.
15882         (casinh_test): Likewise.
15883         * sysdeps/i386/fpu/libm-test-ulps: Update.
15884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15886 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15888         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15889         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15891 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
15893         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15894         * config.make.in (config-cflags-sse4): Remove variable.
15895         (config-cflags-avx): Likewise.
15896         (config-cflags-sse2avx): Likewise.
15897         (config-cflags-novzeroupper): Likewise.
15898         (config-asflags-i686): Likewise.
15899         (have-mfma4): Likewise.
15900         (have-as-vis3): Likewise.
15901         (MIG): Likewise.
15902         * configure.in (MIG): Do not AC_SUBST.
15903         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15904         (libc_cv_cc_sse4): Do not AC_SUBST.
15905         (libc_cv_cc_avx): Likewise.
15906         (libc_cv_cc_sse2avx): Likewise.
15907         (libc_cv_cc_novzeroupper): Likewise.
15908         (libc_cv_cc_fma4): Likewise.
15909         (libc_cv_as_i686): Likewise.
15910         (libc_cv_sparc_as_vis3): Likewise.
15911         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15912         LIBC_CONFIG_VAR.
15913         (config-asflags-i686): Likewise.
15914         (config-cflags-avx): Likewise.
15915         (config-cflags-sse2avx): Likewise.
15916         (have-mfma4): Likewise.
15917         (config-cflags-novzeroupper): Likewise.
15918         * sysdeps/mach/configure.in (MIG): Likewise.
15919         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15920         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15921         LIBC_CONFIG_VAR.
15922         (config-cflags-avx): Likewise.
15923         (config-cflags-sse2avx): Likewise.
15924         (have-mfma4): Likewise.
15925         (config-cflags-novzeroupper): Likewise.
15926         * configure: Regenerated.
15927         * sysdeps/i386/configure: Likewise.
15928         * sysdeps/mach/configure: Likewise.
15929         * sysdeps/sparc/configure: Likewise.
15930         * sysdeps/x86_64/configure: Likewise.
15932 2013-03-20  Roland McGrath  <roland@hack.frob.com>
15934         [BZ #14812]
15935         * locale/programs/localedef.c (options): Put N_ translation marker
15936         on argument names, not just descriptions.
15938 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15940         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15942 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
15944         [BZ #14176]
15945         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15947 2013-03-19  Roland McGrath  <roland@hack.frob.com>
15949         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15950         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15951         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15952         [!BEFORE_ABORT] (before_abort): New function.
15953         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15954         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15955         (writev_for_fatal): New function.
15956         (WRITEV_FOR_FATAL): New macro; call that.
15957         (backtrace_and_maps): New function.
15958         (BEFORE_ABORT): New macro; call that.
15959         (struct str_list): Type removed.
15960         (__libc_message, __libc_fatal): Functions removed.
15961         Include <sysdeps/posix/libc_fatal.c> instead.
15963 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
15965         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15966         constants.
15967         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15968         double constants.
15970 2013-03-19  Andreas Schwab  <schwab@suse.de>
15972         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15973         * sysdeps/gnu/configure: Regenerate.
15975         * configure.in: Substitute libc_cv_rtlddir.
15976         * configure: Regenerate.
15977         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15978         * Makeconfig (rtlddir, inst_rtlddir): New variables.
15979         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15980         * elf/Makefile (install-others, CFLAGS-interp.c)
15981         (ldso_install, common-ldd-rewrite): Likewise.
15982         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15983         $(inst_slibdir)/$(rtld-installed-name).
15984         * scripts/rellns-sh: Add -p option.
15985         * Makerules (make-shlib-link): Use rellns-sh to get relative name
15986         for source.
15988 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15990         * manual/nptl.texi: Renamed to ...
15991         * manual/threads.texi: ... this.
15992         * manual/Makefile (chapters): Update.
15994 2013-03-18  Roland McGrath  <roland@hack.frob.com>
15996         [BZ #14812]
15997         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15998         on argument names, not just descriptions.
15999         * malloc/memusagestat.c (options): Likewise.
16000         * nss/getent.c (options): Likewise.
16002 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
16004         [BZ #14812]
16005         * iconv/iconv_prog.c (options): Put N_ translation marker
16006         on argument names, not just descriptions.
16007         * iconv/iconvconfig.c (options): Likewise.
16009 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
16011         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16012         implementation which is faster on all x86_64 architectures.
16013         Tested on AMD, Intel Nehalem, SNB, IVB.
16014         * sysdeps/x86_64/strnlen.S: Likewise.
16016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16017         Remove all multiarch strlen and strnlen versions.
16018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16019         Remove strlen and strnlen related parts.
16021         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16022         Inline strlen part.
16023         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16025         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16026         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16027         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16028         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16029         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16030         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16032 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16034         * manual/memory.texi (Malloc Tunable Parameters):
16035         Sort parameters alphabetically. Add comments for missing entries.
16037 2013-03-17  David S. Miller  <davem@davemloft.net>
16039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16041 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16043         [BZ #15283]
16044         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16045         for arguments at most half maximum finite value.
16046         * math/libm-test.inc (j0_test): Add more tests.
16047         (j1_test): Likewise.
16048         (y0_test): Likewise.
16049         (y1_test): Likewise.
16050         * sysdeps/i386/fpu/libm-test-ulps: Update.
16051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16053         [BZ #14155]
16054         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16055         1 / x and functions P and Q for arguments above 0x1p256L.
16056         (__ieee754_y0l): Likewise.
16057         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16058         (__ieee754_y1l): Likewise.
16059         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16060         (j1_test): Likewise.
16061         (y0_test): Likewise.
16062         (y1_test): Likewise.
16064 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16066         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16067         variable.
16069 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16071         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16072         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16073         zero since it's initialized to EXEC_PAGESIZE.
16075         * sysdeps/unix/sysv/linux/ldsodefs.h
16076         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16077         * sysdeps/generic/ldsodefs.h: ... here.
16079 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16081         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16083         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16084         math/test-snan.c.
16085         * math/test-snan.c: Renamed from
16086         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16087         * math/Makefile (tests): Add test-snan.
16088         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16089         test-powerpc-snan.
16091         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16092         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16093         functions.
16094         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16095         __builtin_nan family of functions.
16096         * math/libm-test.inc (initialize): Initialize qnan_value with
16097         __builtin_nan family of functions.
16098         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16099         Remove variables.
16100         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16101         Remove functions.
16102         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
16103         storage class.  Initialize qNaN_var and sNaN_var with
16104         __builtin_nan and __builtin_nans families of functions,
16105         respectively.
16107         * math/libm-test.inc (acosh_test): Also test with qNaN input.
16108         (sqrt_test): Remove duplicate test with qNaN input.
16109         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16110         (round_test, signbit_test, significand_test): Note missing +/-Inf
16111         as well as qNaN tests.
16113         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16114         qNaN_var.  Fix a few strings, too.
16115         * math/libm-test.inc (nan_value): Rename to qnan_value.
16116         * math/gen-libm-test.pl (%beautify): Adjust to that.
16117         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16118         * math/test-misc.c (main): Likewise.
16119         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16120         to __qnan_bytes, and __qnan_union, respectively.
16121         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16122         Likewise.
16123         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16124         and lqnanval, respectively.
16125         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16126         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16127         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16128         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16130         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16131         * math/test-misc.c (main) [__x86_64__]: Enable test for long
16132         doubles.
16134         * math/test-misc.c (main): Fix copy'n'pastos.
16135         * misc/tst-efgcvt.c (special): Likewise.
16137         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16138         Remove declarations.
16140 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16142         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16143         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16144         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16145         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16147 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16149         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16150         macro to return vdso values correctly in IFUNC implementations.
16151         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16152         Optimization by using IFUNC.
16154 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16155             Richard Henderson  <rth@redhat.com>
16156             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16158         * Makefile.in (bench): New target.
16159         * NEWS: Mention the benchmark framework.
16160         * Rules (bench): Likewise.
16161         (binaries-bench): Generate binaries for functions to
16162         benchmark.
16163         * benchtests/Makefile: New makefile for benchmark tests.
16164         * benchtests/bench-skeleton.c: New skeleton file for benchmark
16165         programs.
16166         * benchtests/exp-inputs: New input file for EXP function.
16167         * benchtests/pow-inputs: New input file for POW function.
16168         * scripts/bench.pl: New script to generate source files for
16169         benchmark programs.
16171 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16173         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16175         computations on mantissa.  Use macros for rounding and
16176         division.
16177         (denorm): Likewise.
16178         (__dbl_mp): Likewise.
16179         (add_magnitudes): Likewise.
16180         (sub_magnitudes): Likewise.
16181         (__mul): Likewise.
16182         (__sqr): Likewise.
16183         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16184         powers of two in terms of TWOPOW macro.
16185         (mp_no): Make type of mantissa as MANTISSA_T.
16186         [!RADIXI]: Define RADIXI.
16187         [!TWO52]: Define TWO52.
16188         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16190         * manual/nptl.texi (cindex): Modify threads to pthreads.
16192 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
16194         * sysdeps/x86_64/preconfigure: Regenerated.
16196 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
16198         [BZ #14155]
16199         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16200         0x1p28 and above.
16201         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16202         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16203         0x1p28 and above.
16204         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16205         * math/libm-test.inc (j0_test): Do not allow one spurious
16206         underflow exception.
16207         (y1_test): Likewise.
16209 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16211         * manual/Makefile (chapters): Add nptl.
16212         * manual/debug.texi (Debugging Support): Add link to Threads
16213         chapter.
16214         * manual/nptl.texi: New file.
16216         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16218 2013-03-14  Petr Baudis  <pasky@ucw.cz>
16220         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16221         for non-NULL pointer before the memory validity test. Pointed
16222         out by Holger Brunck <holger.brunck@keymile.com>.
16224 2013-03-13  Andreas Schwab  <schwab@suse.de>
16226         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16227         instead of .os.
16229 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
16231         * timezone/zic.c: Update from tzcode 2013b.
16233 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
16235         * manual/install.texi (Configuring and compiling):
16236         Mention i686 and i586.
16237         * INSTALL: Regenerate.
16239 2013-03-12  Roland McGrath  <roland@hack.frob.com>
16241         * sysdeps/init_array/elf-init.c: New file.
16242         * csu/elf-init.c
16243         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16244         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16246         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16247         __gmon_start__ as global, but as static with a .preinit_array pointer.
16248         * sysdeps/init_array/gmon-start.c: New file.  Use that.
16249         * sysdeps/init_array/crti.S: New file, empty except for comments.
16250         * sysdeps/init_array/crtn.S: Likewise.
16252 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
16254         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16255         definining bcopy.
16256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16257         Remove Prefer_SSE_for_memop.
16258         * sysdeps/x86_64/multiarch/init-arch.h: Remove
16259         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16260         HAS_PREFER_SSE_FOR_MEMOP.
16261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16262         memset-x86-64.
16263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16264         Remove bzero, memset ifunc support.
16265         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16266         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16267         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16268         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16270 2013-03-11  Andreas Schwab  <schwab@suse.de>
16272         [BZ #15234]
16273         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16274         by SHLIB_COMPAT.
16275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16276         (GLIBC_2.16): Remove pthread_atfork.
16278 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16280         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16281         (ptestcases.h): Likewise.
16283 2013-03-08  Roland McGrath  <roland@hack.frob.com>
16285         * Makeconfig ($(common-objpfx)config.status): Depend on
16286         sysdeps/*/preconfigure{,.in} too.
16288 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
16290         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16291         (__free_hook): Use void * instead of __malloc_ptr_t.
16292         (__malloc_hook): Likewise.
16293         (__realloc_hook): Likewise.
16294         (__memalign_hook): Likewise.
16295         (__after_morecore_hook): Likewise.
16296         * malloc/arena.c (save_malloc_hook): Likewise.
16297         (save_free_hook): Likewise.
16298         * malloc/hooks.c (malloc_hook_ini): Likewise.
16299         (realloc_hook_ini): Likewise.
16300         (memalign_hook_ini): Likewise.
16301         * malloc/malloc.c (malloc_hook_ini): Likewise.
16302         (realloc_hook_ini): Likewise.
16303         (memalign_hook_ini): Likewise.
16304         (__free_hook): Likewise.
16305         (__malloc_hook): Likewise.
16306         (__realloc_hook): Likewise.
16307         (__memalign_hook): Likewise.
16308         (__libc_malloc): Likewise.
16309         (__libc_free): Likewise.
16310         (__libc_realloc): Likewise.
16311         (__libc_memalign): Likewise.
16312         (__libc_valloc): Likewise.
16313         (__libc_pvalloc): Likewise.
16314         (__libc_calloc): Likewise.
16315         (__posix_memalign): Likewise.
16316         * malloc/morecore.c (__sbrk): Likewise.
16317         (__default_morecore): Likewise.
16319         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16321         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16322         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16323         __malloc_ptrdiff_t.
16325         * malloc/malloc.h (__malloc_size_t): Remove macro.
16326         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16327         __malloc_size_t.
16328         (old_memalign_hook): Likewise.
16329         (old_realloc_hook): Likewise.
16330         (struct hdr): Likewise.
16331         (flood): Likewise.
16332         (mallochook): Likewise.
16333         (memalignhook): Likewise.
16334         (reallochook): Likewise.
16335         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16336         (tr_old_realloc_hook): Likewise.
16337         (tr_old_memalign_hook): Likewise.
16338         (tr_mallochook): Likewise.
16339         (tr_reallochook): Likewise.
16340         (tr_memalignhook): Likewise.
16342 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16344         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16345         default_ldbl_pack and using as default implementation.
16346         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16347         implementation.
16348         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16349         redundant definition.
16350         (ldbl_insert_mantissa): Likewise.
16351         (ldbl_canonicalize): Likewise.
16352         (ldbl_nearbyint): Likewise.
16353         (ldbl_pack): Rename to ldbl_pack_ppc.
16354         (ldbl_unpack): Rename to ldbl_unpack_ppc.
16355         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16356         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16358 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16361         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16362         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16363         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16365         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16366         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16367         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16369 2013-03-07  Andreas Jaeger  <aj@suse.de>
16371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16372         bits/mman-linux.h.
16374 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16376         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16377         Include mpa.h and declare __MPEXP.
16378         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16379         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16380         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16381         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16382         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16383         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16384         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16386         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16387         (__slowpow): Use long double EXPL and LOGL functions to
16388         compute POW.
16389         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16390         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16391         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16392         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16393         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16394         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16397         intermediate variable to calculate exponent.
16398         (__sqr): Likewise.
16399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16400         Likewise.
16401         (__sqr): Likewise.
16403         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16404         [!NO__SQR]: Define __sqr.
16405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16406         and NO__SQR.  Remove all code except __mul and __sqr.  Include
16407         sysdeps/ieee754/dbl-64/mpa.c.
16408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16410         [BZ #12723]
16411         * posix/Makefile (tests): Add tst-pathconf.
16412         * posix/tst-pathconf.c: New test case.
16413         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16414         _PC_PIPE_BUF.
16415         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16417 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
16419         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16421 2013-03-06  Andreas Jaeger  <aj@suse.de>
16423         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16424         definition via __MAP_ANONYMOUS.
16426         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16427         it's not part of Linux headers.
16429         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16430         (MAP_HUGE_MASK): Define.
16432         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16433         Define.
16434         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16435         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16436         Define.
16437         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16438         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16439         Define.
16440         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16441         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16442         Define.
16443         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16445         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16446         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16447         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16448         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16449         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16450         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16452         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16453         Handle f2fs.
16455         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16456         Handle f2fs and efivarfs.
16458         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16459         f2fs.
16461         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16462         (EFIVARFS_MAGIC): Add.
16463         (F2FS_LINK_MAX): Add.
16465 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16467         * stdio-common/vfprintf.c: Replace __builtin_expect with
16468         __glibc_unlikely.
16470 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
16472         [BZ #13550]
16473         * sysdeps/generic/bp-sym.h: Remove file.
16474         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16475         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16476         <bp-sym.h> and <bp-asm.h>.
16477         (__longjmp): Don't use BP_SYM.
16478         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16479         and <bp-asm.h>.
16480         (memcpy): Don't use BP_SYM.
16481         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16482         <bp-sym.h> and <bp-asm.h>.
16483         (memcpy): Don't use BP_SYM.
16484         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16485         <bp-asm.h>.
16486         (memcpy): Don't use BP_SYM.
16487         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16488         <bp-asm.h>.
16489         (memset): Don't use BP_SYM.
16490         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16491         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16492         (__bzero): Don't use BP_SYM.
16493         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16494         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16495         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16496         <bp-sym.h> and <bp-asm.h>.
16497         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16498         pointers.
16499         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16500         <bp-sym.h> and <bp-asm.h>.
16501         (memcpy): Don't use BP_SYM.
16502         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16503         <bp-sym.h> and <bp-asm.h>.
16504         (memset): Don't use BP_SYM.
16505         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16506         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16507         (__bzero): Don't use BP_SYM.
16508         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16509         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16510         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16511         <bp-sym.h> and <bp-asm.h>.
16512         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16513         pointers.
16514         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16515         <bp-sym.h> and <bp-asm.h>.
16516         (memcpy): Don't use BP_SYM.
16517         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16518         <bp-sym.h> and <bp-asm.h>.
16519         (memset): Don't use BP_SYM.
16520         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16521         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16522         (__bzero): Don't use BP_SYM.
16523         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16524         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16526         <bp-sym.h> and <bp-asm.h>.
16527         (__memchr): Don't use BP_SYM.
16528         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16529         <bp-sym.h> and <bp-asm.h>.
16530         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16531         pointers.
16532         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16533         <bp-sym.h> and <bp-asm.h>.
16534         (memcpy): Don't use BP_SYM.
16535         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16536         <bp-sym.h> and <bp-asm.h>.
16537         (__mempcpy): Don't use BP_SYM.
16538         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16539         <bp-sym.h> and <bp-asm.h>.
16540         (__memrchr): Don't use BP_SYM.
16541         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16542         <bp-sym.h> and <bp-asm.h>.
16543         (memset): Don't use BP_SYM.
16544         (__bzero): Likewise.
16545         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16546         <bp-sym.h> and <bp-asm.h>.
16547         (__rawmemchr): Don't use BP_SYM.
16548         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16549         <bp-sym.h> and <bp-asm.h>.
16550         (__STRCMP): Don't use BP_SYM.
16551         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16552         <bp-sym.h> and <bp-asm.h>.
16553         (strchr): Don't use BP_SYM.
16554         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16555         <bp-sym.h> and <bp-asm.h>.
16556         (__strchrnul): Don't use BP_SYM.
16557         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16558         <bp-sym.h> and <bp-asm.h>.
16559         (strlen): Don't use BP_SYM.
16560         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16561         <bp-sym.h> and <bp-asm.h>.
16562         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16563         pointers.
16564         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16565         <bp-sym.h> and <bp-asm.h>.
16566         (__strnlen): Don't use BP_SYM.
16567         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16568         <bp-sym.h> and <bp-asm.h>.
16569         (__GI__setjmp): Don't use BP_SYM.
16570         (_setjmp): Likewise.
16571         (__sigsetjmp): Likewise.
16572         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16573         (L(start_addresses)): Don't use BP_SYM.
16574         (_start): Likewise.
16575         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16576         <bp-asm.h>.
16577         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16578         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16579         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16580         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16581         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16582         <bp-asm.h>.
16583         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16584         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16585         about bounded pointers.
16586         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16587         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16588         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16589         <bp-asm.h>.
16590         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16591         about bounded pointers.  Remove GKM FIXME comments.
16592         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16593         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16594         <bp-asm.h>.
16595         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16596         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16597         Remove GKM FIXME comments.
16598         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16599         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16600         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16601         <bp-asm.h>.
16602         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16603         about bounded pointers.  Remove GKM FIXME comment.
16604         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16605         and <bp-asm.h>.
16606         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16607         pointers.
16608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16609         <bp-sym.h> and <bp-asm.h>.
16610         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16612         <bp-sym.h> and <bp-asm.h>.
16613         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16614         comment.
16616 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16618         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16619         call free(NULL).
16621 2013-03-05  David S. Miller  <davem@davemloft.net>
16623         * po/es.po: Update from translation team.
16625 2013-03-05  Andreas Jaeger  <aj@suse.de>
16627         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16628         <bits/mman-linux.h>.
16629         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16630         is fine.
16631         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16632         <bits/mman-linux.h> to end of file.
16633         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16634         is fine.
16635         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16636         <bits/mman-linux.h> to end of file.
16637         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16638         is fine.
16639         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16640         <bits/mman-linux.h> to end of file.
16642         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16643         (MCL_CURRENT, MCL_FUTURE): Define here.
16645 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16647         [BZ #15232]
16648         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16649         attribute_hidden.
16650         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16652 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16654         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16655         fourth parameter needed for rt_sigprocmask syscall.
16656         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16657         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16658         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16659         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16660         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16661         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16663 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16665         [BZ #13550]
16666         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16667         comment about bounded pointers.
16668         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16669         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16671 2013-03-04  Andreas Jaeger  <aj@suse.de>
16673         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16674         common definitions.
16676         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16677         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16678         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16679         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16680         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16681         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16683 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16685         [BZ #15055]
16686         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16687         __ieee754_sqrl instead of __sqrl.
16689 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16691         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16692         * sysdeps/powerpc/fpu_control.h: ... here.
16693         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16694         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16695         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16696         * sysdeps/powerpc/bits/mathinline.h: ... here.
16698 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16700         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16701         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16702         to just [NEED_DL_SYSINFO_DSO].
16703         * elf/dl-support.c: Likewise.
16704         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16705         * elf/rtld.c (dl_main): Likewise.
16706         * elf/setup-vdso.h (setup_vdso): Likewise.
16707         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16708         * sysdeps/unix/sysv/linux/dl-sysdep.c
16709         (_dl_discover_osversion): Likewise.
16711 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16713         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16714         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16716 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16718         * NEWS: Mention libm performance improvements and non-x86 PI
16719         futex support.
16721         * csu/libc-start.c (__pthread_initialize_minimal): Change
16722         function arguments.
16723         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16725 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16727         [BZ #13550]
16728         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16729         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16730         <bp-sym.h> and <bp-asm.h>.
16731         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16732         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16733         and <bp-asm.h>.
16734         (memcpy): Don't use BP_SYM.
16735         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16736         <bp-asm.h>.
16737         (__mpn_add_n): Don't use BP_SYM.
16738         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16739         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16740         and <bp-asm.h>.
16741         (__mpn_addmul_1): Don't use BP_SYM.
16742         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16743         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16744         <bp-sym.h>.
16745         (_setjmp): Don't use BP_SYM.
16746         (__novmx_setjmp): Likewise.
16747         (__GI__setjmp): Likewise.
16748         (__vmx_setjmp): Likewise.
16749         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16750         <bp-sym.h>.
16751         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16752         (__bzero): Don't use BP_SYM.
16753         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16754         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16755         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16756         <bp-sym.h> and <bp-asm.h>.
16757         (memcpy): Don't use BP_SYM.
16758         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16759         <bp-sym.h> and <bp-asm.h>.
16760         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16761         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16762         <bp-sym.h> and <bp-asm.h>.
16763         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16764         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16765         <bp-asm.h>.
16766         (__mpn_lshift): Don't use BP_SYM.
16767         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16768         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16769         <bp-asm.h>.
16770         (memset): Don't use BP_SYM.
16771         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16772         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16773         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16774         <bp-asm.h>.
16775         (__mpn_mul_1): Don't use BP_SYM.
16776         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16777         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16778         <bp-sym.h> and <bp-asm.h>.
16779         (memcmp): Don't use BP_SYM.
16780         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16781         <bp-sym.h> and <bp-asm.h>.
16782         (memcpy): Don't use BP_SYM.
16783         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16784         <bp-sym.h> and <bp-asm.h>.
16785         (memset): Don't use BP_SYM.
16786         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16787         <bp-sym.h> and <bp-asm.h>.
16788         (strncmp): Don't use BP_SYM.
16789         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16790         <bp-sym.h> and <bp-asm.h>.
16791         (memcpy): Don't use BP_SYM.
16792         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16793         <bp-sym.h> and <bp-asm.h>.
16794         (memset): Don't use BP_SYM.
16795         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16796         <bp-sym.h> and <bp-asm.h>.
16797         (__memchr): Don't use BP_SYM.
16798         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16799         <bp-sym.h> and <bp-asm.h>.
16800         (memcmp): Don't use BP_SYM.
16801         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16802         <bp-sym.h> and <bp-asm.h>.
16803         (memcpy): Don't use BP_SYM.
16804         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16805         <bp-sym.h> and <bp-asm.h>.
16806         (__mempcpy): Don't use BP_SYM.
16807         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16808         <bp-sym.h> and <bp-asm.h>.
16809         (__memrchr): Don't use BP_SYM.
16810         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16811         <bp-sym.h> and <bp-asm.h>.
16812         (memset): Don't use BP_SYM.
16813         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16814         <bp-sym.h> and <bp-asm.h>.
16815         (__rawmemchr): Don't use BP_SYM.
16816         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16817         <bp-sym.h> and <bp-asm.h>.
16818         (__STRCMP): Don't use BP_SYM.
16819         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16820         <bp-sym.h> and <bp-asm.h>.
16821         (strchr): Don't use BP_SYM.
16822         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16823         <bp-sym.h> and <bp-asm.h>.
16824         (__strchrnul): Don't use BP_SYM.
16825         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16826         <bp-sym.h> and <bp-asm.h>.
16827         (strlen): Don't use BP_SYM.
16828         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16829         <bp-sym.h> and <bp-asm.h>.
16830         (strncmp): Don't use BP_SYM.
16831         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16832         <bp-sym.h> and <bp-asm.h>.
16833         (__strnlen): Don't use BP_SYM.
16834         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16835         <bp-asm.h>.
16836         (__mpn_rshift): Don't use BP_SYM.
16837         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16838         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16839         <bp-sym.h> and <bp-asm.h>.
16840         (__sigsetjmp): Don't use BP_SYM.
16841         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16842         (L(start_addresses)): Don't use BP_SYM.
16843         (_start): Likewise.
16844         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16845         <bp-asm.h>.
16846         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16847         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16848         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16849         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16850         <bp-asm.h>.
16851         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16852         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16853         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16854         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16855         <bp-asm.h>.
16856         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16857         comments.
16858         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16859         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16860         <bp-asm.h>.
16861         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
16862         FIXME comments.
16863         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16864         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16865         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16866         <bp-asm.h>.
16867         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16868         comment.
16869         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16870         and <bp-asm.h>.
16871         (strncmp): Don't use BP_SYM,
16872         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16873         <bp-asm.h>.
16874         (__mpn_sub_n): Don't use BP_SYM.
16875         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16876         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16877         and <bp-asm.h>.
16878         (__mpn_submul_1): Don't use BP_SYM.
16879         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16881         <bp-sym.h> and <bp-asm.h>.
16882         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16884         <bp-sym.h> and <bp-asm.h>.
16885         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16886         comment.
16888 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16891         Use ZK to minimize writes to Z.
16892         (sub_magnitudes): Simplify code a bit.
16893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16894         Use ZK to minimize writes to Z.
16895         (sub_magnitudes): Simplify code a bit.
16897 2013-02-27  Roland McGrath  <roland@hack.frob.com>
16899         * csu/gmon-start.c: Add special exception to license text.
16901 2013-02-27  Richard Henderson  <rth@redhat.com>
16903         * scripts/config.guess: Update from config.git.
16904         * scripts/config.sub: Likewise.
16906 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16908         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16910         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16912         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16914         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16916         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16918 2013-02-26  Roland McGrath  <roland@hack.frob.com>
16920         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16921         [$(build-shared = yes].
16923 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16925         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16926         (__mul): Reduce iterations for calculating mantissa.
16928         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16929         MPTWO.
16930         (__mpranred): Likewise.
16932         [BZ #15160]
16933         * malloc/memusagestat.c (main): Draw graphs for heap and stack
16934         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16936 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
16938         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16939         Define __attribute__.
16941 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16943         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16944         unused.
16945         * posix/regex_internal.h (__attribute): Remove.
16946         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16947         (re_string_context_at): Likewise.
16948         (bitset_not): Use __attribute__ and mark function as possibly
16949         unused.
16950         (bitset_merge): Likewise.
16951         (bitset_mask): Likewise.
16952         (re_string_char_size_at): Likewise.
16953         (re_string_wchar_at): Likewise.
16954         (re_string_elem_size_at): Likewise.
16956 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16958         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16959         code.
16960         (cc32): Likewise.
16962         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16963         (__acr): Likewise.
16964         (__cpy): Likewise.
16965         (norm): Likewise.
16966         (denorm): Likewise.
16967         (__dbl_mp): Likewise.
16968         (add_magnitudes): Likewise.
16969         (sub_magnitudes): Likewise.
16970         (__mul): Likewise.
16971         (__inv): Likewise.
16973         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16974         style.
16976         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16977         style.
16979         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16980         code.
16982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16983         up changes with default code.
16984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16985         Likewise.
16987 2013-02-24  Allan McRae  <allan@archlinux.org>
16989         * manual/socket.texi (The Internet Namespace): Order menu items
16990         to match that in the file.
16992         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16993         node listing of the info page menu.
16995 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
16997         [BZ #13550]
16998         * sysdeps/i386/bp-asm.h: Remove file.
16999         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17000         (PARMS): Do not use macros from bp-asm.h.
17001         (S1): Likewise.
17002         (S2): Likewise.
17003         (SIZE): Likewise.
17004         (__mpn_add_n): Do not use BP_SYM
17005         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17006         "bp-asm.h".
17007         (PARMS): Do not use macros from bp-asm.h.
17008         (S1): Likewise.
17009         (SIZE): Likewise.
17010         (__mpn_addmul_1): Do not use BP_SYM
17011         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17012         "bp-asm.h".
17013         (PARMS): Do not use macros from bp-asm.h.
17014         (SIGMSK): Likewise.
17015         (_setjmp): Likewise.  Do not use BP_SYM.
17016         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17017         "bp-asm.h".
17018         (PARMS): Do not use macros from bp-asm.h.
17019         (SIGMSK): Likewise.
17020         (setjmp): Likewise.  Do not use BP_SYM.
17021         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17022         "bp-asm.h".
17023         (PARMS): Do not use macros from bp-asm.h.
17024         (__frexp): Do not use BP_SYM.
17025         (frexp): Likewise.
17026         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17027         "bp-asm.h".
17028         (PARMS): Do not use macros from bp-asm.h.
17029         (__frexpf): Do not use BP_SYM.
17030         (frexpf): Likewise.
17031         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17032         "bp-asm.h".
17033         (PARMS): Do not use macros from bp-asm.h.
17034         (__frexpl): Do not use BP_SYM.
17035         (frexpl): Likewise.
17036         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17037         "bp-asm.h".
17038         (PARMS): Do not use macros from bp-asm.h.
17039         (__remquo): Do not use BP_SYM.
17040         (remquo): Likewise.
17041         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17042         "bp-asm.h".
17043         (PARMS): Do not use macros from bp-asm.h.
17044         (__remquof): Do not use BP_SYM.
17045         (remquof): Likewise.
17046         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17047         "bp-asm.h".
17048         (PARMS): Do not use macros from bp-asm.h.
17049         (__remquol): Do not use BP_SYM.
17050         (remquol): Likewise.
17051         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17052         "bp-asm.h".
17053         (PARMS): Do not use macros from bp-asm.h.
17054         (DEST): Likewise.
17055         (SRC): Likewise.
17056         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17057         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17058         "bp-asm.h".
17059         (PARMS): Do not use macros from bp-asm.h.
17060         (strlen): Do not use BP_SYM.
17061         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17062         "bp-asm.h".
17063         (PARMS): Do not use macros from bp-asm.h.
17064         (S1): Likewise.
17065         (S2): Likewise.
17066         (SIZE): Likewise.
17067         (__mpn_add_n): Do not use BP_SYM.
17068         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17069         "bp-asm.h".
17070         (PARMS): Do not use macros from bp-asm.h.
17071         (S1): Likewise.
17072         (SIZE): Likewise.
17073         (__mpn_addmul_1): Do not use BP_SYM.
17074         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17075         weak_alias.
17076         (bzero): Likewise.
17077         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17078         "bp-asm.h".
17079         (PARMS): Do not use macros from bp-asm.h.
17080         (S): Likewise.
17081         (SIZE): Likewise.
17082         (__mpn_lshift): Do not use BP_SYM.
17083         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17084         "bp-asm.h".
17085         (PARMS): Do not use macros from bp-asm.h.
17086         (DEST): Likewise.
17087         (SRC): Likewise.
17088         (LEN): Likewise.
17089         (memcpy): Likewise.  Do not use BP_SYM.
17090         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17091         libc_hidden_def and weak_alias.
17092         (mempcpy): Do not use BP_SYM in weak_alias.
17093         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17094         "bp-asm.h".
17095         (PARMS): Do not use macros from bp-asm.h.
17096         (DEST): Likewise.
17097         (LEN): Likewise.
17098         [!BZERO_P] (CHR): Likewise.
17099         (memset): Likewise.  Do not use BP_SYM.
17100         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17101         "bp-asm.h".
17102         (PARMS): Do not use macros from bp-asm.h.
17103         (S1): Likewise.
17104         (SIZE): Likewise.
17105         (__mpn_mul_1): Do not use BP_SYM.
17106         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17107         "bp-asm.h".
17108         (PARMS): Do not use macros from bp-asm.h.
17109         (S): Likewise.
17110         (SIZE): Likewise.
17111         (__mpn_rshift): Do not use BP_SYM.
17112         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17113         "bp-asm.h".
17114         (PARMS): Do not use macros from bp-asm.h.
17115         (STR): Likewise.
17116         (CHR): Likewise.
17117         (strchr): Likewise.  Do not use BP_SYM.
17118         (index): Do not use BP_SYM in weak_alias.
17119         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17120         "bp-asm.h".
17121         (PARMS): Do not use macros from bp-asm.h.
17122         (DEST): Likewise.
17123         (SRC): Likewise.
17124         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
17125         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17126         "bp-asm.h".
17127         (PARMS): Do not use macros from bp-asm.h.
17128         (strlen): Do not use BP_SYM.
17129         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17130         "bp-asm.h".
17131         (PARMS): Do not use macros from bp-asm.h.
17132         (S1): Likewise.
17133         (S2): Likewise.
17134         (SIZE): Likewise.
17135         (__mpn_sub_n): Do not use BP_SYM.
17136         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17137         "bp-asm.h".
17138         (PARMS): Do not use macros from bp-asm.h.
17139         (S1): Likewise.
17140         (SIZE): Likewise.
17141         (__mpn_submul_1): Do not use BP_SYM.
17142         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17143         "bp-asm.h".
17144         (PARMS): Do not use macros from bp-asm.h.
17145         (S1): Likewise.
17146         (S2): Likewise.
17147         (SIZE): Likewise.
17148         (__mpn_add_n): Do not use BP_SYM.
17149         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17150         weak_alias.
17151         (bzero): Likewise.
17152         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17153         "bp-asm.h".
17154         (PARMS): Do not use macros from bp-asm.h.
17155         (BLK2): Likewise.
17156         (LEN): Likewise.
17157         (memcmp): Do not use BP_SYM.
17158         (bcmp): Do not use BP_SYM in weak_alias.
17159         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17160         "bp-asm.h".
17161         (PARMS): Do not use macros from bp-asm.h.
17162         (DEST): Likewise.
17163         (SRC): Likewise.
17164         (LEN): Likewise.
17165         (memcpy): Likewise.  Do not use BP_SYM.
17166         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17167         "bp-asm.h".
17168         (PARMS): Do not use macros from bp-asm.h.
17169         (DEST): Likewise.
17170         (SRC): Likewise.
17171         (LEN): Likewise.
17172         (memmove): Likewise.  Do not use BP_SYM.
17173         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17174         "bp-asm.h".
17175         (PARMS): Do not use macros from bp-asm.h.
17176         (DEST): Likewise.
17177         (SRC): Likewise.
17178         (LEN): Likewise.
17179         (__mempcpy): Likewise.  Do not use BP_SYM.
17180         (mempcpy): Do not use BP_SYM in weak_alias.
17181         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17182         "bp-asm.h".
17183         (PARMS): Do not use macros from bp-asm.h.
17184         (DEST): Likewise.
17185         (LEN): Likewise.
17186         [!BZERO_P] (CHR): Likewise.
17187         (memset): Likewise.  Do not use BP_SYM.
17188         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17189         "bp-asm.h".
17190         (PARMS): Do not use macros from bp-asm.h.
17191         (STR2): Likewise.
17192         (strcmp): Do not use BP_SYM.
17193         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17194         "bp-asm.h".
17195         (PARMS): Do not use macros from bp-asm.h.
17196         (STR): Likewise.
17197         (DELIM): Likewise.
17198         [USE_AS_STRTOK_R] (SAVE): Likewise.
17199         (FUNCTION): Likewise.  Do not use BP_SYM.
17200         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17201         aliases.
17202         (strtok_r): Likewise.
17203         (__GI___strtok_r): Likewise.
17204         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17205         (PARMS): Do not use macros from bp-asm.h.
17206         (S): Likewise.
17207         (SIZE): Likewise.
17208         (__mpn_lshift): Do not use BP_SYM.
17209         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17210         (PARMS): Do not use macros from bp-asm.h.
17211         (STR): Likewise.
17212         (CHR): Likewise.
17213         (__memchr): Do not use BP_SYM.
17214         (memchr): Do not use BP_SYM in weak_alias.
17215         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17216         (PARMS): Do not use macros from bp-asm.h.
17217         (BLK2): Likewise.
17218         (LEN): Likewise.
17219         (memcmp): Do not use BP_SYM.
17220         (bcmp): Do not use BP_SYM in weak_alias.
17221         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17222         (PARMS): Do not use macros from bp-asm.h.
17223         (S1): Likewise.
17224         (SIZE): Likewise.
17225         (__mpn_mul_1): Do not use BP_SYM.
17226         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17227         "bp-asm.h".
17228         (PARMS): Do not use macros from bp-asm.h.
17229         (STR): Likewise.
17230         (CHR): Likewise.
17231         (__rawmemchr): Do not use BP_SYM.
17232         (rawmemchr): Do not use BP_SYM in weak_alias.
17233         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17234         (PARMS): Do not use macros from bp-asm.h.
17235         (S): Likewise.
17236         (SIZE): Likewise.
17237         (__mpn_rshift): Do not use BP_SYM.
17238         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17239         (PARMS): Do not use macros from bp-asm.h.
17240         (SIGMSK): Likewise.
17241         (__sigsetjmp): Likewise.  Do not use BP_SYM.
17242         * sysdeps/i386/start.S: Do not include "bp-sym.h".
17243         (_start): Do not use BP_SYM.
17244         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17245         (PARMS): Do not use macros from bp-asm.h.
17246         (DEST): Likewise.
17247         (SRC): Likewise.
17248         (__stpcpy): Likewise.  Do not use BP_SYM.
17249         (stpcpy): Do not use BP_SYM in weak_alias.
17250         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17251         "bp-asm.h".
17252         (PARMS): Do not use macros from bp-asm.h.
17253         (DEST): Likewise.
17254         (SRC): Likewise.
17255         (LEN): Likewise.
17256         (__stpncpy): Likewise.  Do not use BP_SYM.
17257         (stpncpy): Do not use BP_SYM in weak_alias.
17258         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17259         (PARMS): Do not use macros from bp-asm.h.
17260         (STR): Likewise.
17261         (CHR): Likewise.
17262         (strchr): Likewise.  Do not use BP_SYM.
17263         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17264         "bp-asm.h".
17265         (PARMS): Do not use macros from bp-asm.h.
17266         (STR): Likewise.
17267         (CHR): Likewise.
17268         (__strchrnul): Likewise.  Do not use BP_SYM.
17269         (strchrnul): Do not use BP_SYM in weak_alias.
17270         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17271         "bp-asm.h".
17272         (PARMS): Do not use macros from bp-asm.h.
17273         (STOP): Likewise.
17274         (strcspn): Do not use BP_SYM.
17275         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17276         "bp-asm.h".
17277         (PARMS): Do not use macros from bp-asm.h.
17278         (STR): Likewise.
17279         (STOP): Likewise.
17280         (strpbrk): Likewise.  Do not use BP_SYM.
17281         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17282         "bp-asm.h".
17283         (PARMS): Do not use macros from bp-asm.h.
17284         (STR): Likewise.
17285         (CHR): Likewise.
17286         (strrchr): Likewise.  Do not use BP_SYM.
17287         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17288         (PARMS): Do not use macros from bp-asm.h.
17289         (SKIP): Likewise.
17290         (strspn): Do not use BP_SYM.
17291         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17292         (PARMS): Do not use macros from bp-asm.h.
17293         (STR): Likewise.
17294         (DELIM): Likewise.
17295         (SAVE): Likewise.
17296         (FUNCTION): Likewise.  Do not use BP_SYM.
17297         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17298         aliases.
17299         (strtok_r): Likewise.
17300         (__GI___strtok_r): Likewise.
17301         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17302         (PARMS): Do not use macros from bp-asm.h.
17303         (S1): Likewise.
17304         (S2): Likewise.
17305         (SIZE): Likewise.
17306         (__mpn_sub_n): Do not use BP_SYM.
17307         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17308         "bp-asm.h".
17309         (PARMS): Do not use macros from bp-asm.h.
17310         (S1): Likewise.
17311         (SIZE): Likewise.
17312         (__mpn_submul_1): Do not use BP_SYM.
17313         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17314         <bp-sym.h>.
17315         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17316         and <bp-asm.h>.
17317         (PARMS): Do not use macros from bp-asm.h.
17318         (FLAGS): Likewise.
17319         (PTID): Likewise.
17320         (TLS): Likewise.
17321         (CTID): Likewise.
17322         (__clone): Do not use BP_SYM.
17323         (clone): Do not use BP_SYM in weak_alias.
17324         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17325         and <bp-asm.h>.
17326         (PARMS): Do not use macros from bp-asm.h.
17327         (LEN): Likewise.
17328         (__mmap64): Do not use BP_SYM.
17329         (mmap64): Do not use BP_SYM in weak_alias.
17330         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17331         <bp-sym.h> and <bp-asm.h>.
17332         (PARMS): Do not use macros from bp-asm.h.
17333         (__posix_fadvise64_l64): Do not use BP_SYM.
17334         * sysdeps/unix/sysv/linux/i386/semtimedop.S
17335         (PARMS): Do not use macros from bp-asm.h.
17336         (NSOPS): Likewise.
17337         (semtimedop): Do not use BP_SYM.
17338         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17339         and <bp-asm.h>.
17341 2013-02-21  Allan McRae  <allan@archlinux.org>
17343         * manual/message.texi (Charset conversion in gettext):
17344         Move @end statement to beginning of line.
17346 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17349         static.
17350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17351         Likewise.
17353         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17354         (denorm): Likewise.
17355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17358 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17360         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17361         tail-call to the resolved function if pltexit isn't needed.
17363 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17366         or Y being zero as being unlikely.
17367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17368         Likewise.
17370 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
17372         * manual/nss.texi (System Databases and Name Service Switch):
17373         Remove frobnicate @pxref.
17375 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17377         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17378         __attribute__ ((unused)) to __attribute__ ((__unused__)).
17380 2013-02-20  Petr Machata  <pmachata@redhat.com>
17382         * elf/elf.h (R_ARM_TARGET1): New macro.
17383         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17384         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17385         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17386         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17387         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17388         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17389         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17390         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17391         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17392         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17393         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17394         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17395         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17396         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17397         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17398         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17399         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17400         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17401         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17402         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17403         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17404         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17405         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17406         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17407         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17408         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17409         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17410         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17411         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17412         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17413         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17414         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17415         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17416         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17417         (R_ARM_THM_GOT_BREL12): Likewise.
17418         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17419         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17420         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17421         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17422         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17423         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17424         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17425         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17426         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17428 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17430         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17431         __attribute_used__ to __attribute__ ((unused)).
17433 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17435         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17436         powerpc mpa.c.
17437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17438         comment formatting.
17439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17441 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
17443         [BZ #13550]
17444         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17445         Remove macro.
17446         (ENTER): Remove both macro definitions.
17447         (LEAVE): Likewise.
17448         (CHECK_BOUNDS_LOW): Likewise.
17449         (CHECK_BOUNDS_HIGH): Likewise.
17450         (CHECK_BOUNDS_BOTH): Likewise.
17451         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17452         (RETURN_BOUNDED_POINTER): Likewise.
17453         (RETURN_NULL_BOUNDED_POINTER): Likewise.
17454         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17455         (POP_ERRNO_LOCATION_RETURN): Likewise.
17456         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17457         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17458         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17459         macros.
17460         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17461         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17462         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17463         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17464         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17465         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17466         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17467         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17468         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17469         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17470         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17471         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17472         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17473         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17474         removed macros.
17475         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17476         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17477         macros.
17478         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17479         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17480         * sysdeps/i386/i586/memset.S (memset): Likewise.
17481         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17482         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17483         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17484         macros.
17485         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17486         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17487         Change uses of L(2) to L(out).
17488         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17489         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17490         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17491         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17492         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17493         removed macros.
17494         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17495         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17496         macros.
17497         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17498         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17499         (RETURN): Do not use macro LEAVE.
17500         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17501         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17502         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17503         * sysdeps/i386/i686/memset.S (memset): Likewise.
17504         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17505         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17506         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17507         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17508         Likewise.
17509         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17510         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
17511         L(1_2) and L(1_3) into L(1).
17512         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17513         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17514         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17515         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17516         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17517         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17518         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17519         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17520         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17521         macros.
17522         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17523         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17524         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17525         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17526         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17527         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17528         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17529         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17530         * sysdeps/i386/strcspn.S (strcspn): Likewise.
17531         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17532         * sysdeps/i386/strrchr.S (strrchr): Likewise.
17533         * sysdeps/i386/strspn.S (strspn): Likewise.
17534         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17535         conditional code.
17536         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17537         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17538         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17539         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
17540         L(1_3) into L(1_1).
17541         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17542         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17543         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17544         macros.
17545         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17547 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17549         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17550         macro.
17552 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17554         * math/atest-exp.c (exp_mpn): Remove ROUND.
17555         * math/atest-exp2.c (exp_mpn): Likewise.
17556         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17558         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17559         * stdlib/tst-tls-atexit-lib.c: Likewise.
17560         * stdlib/tst-tls-atexit.c: Likewise.
17562 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17564         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17565         and __attribute_alloc_size__.
17567 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17569         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17570         __attribute_alloc_size__.
17571         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17572         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17574 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17576         * include/programs/xmalloc.h: New file.
17577         * catgets/gencat.c: Include it.
17578         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17579         * elf/pldd.c: Likewise.
17580         * iconv/iconv_charmap.c: Likewise.
17581         * iconv/iconvconfig.c: Likewise.
17582         * iconv/strtab.c: Likewise.
17583         * locale/programs/locale.c: Likewise.
17584         * locale/programs/localedef.h: Likewise.
17585         * locale/programs/simple-hash.c: Likewise.
17586         * nscd/nscd.h: Likewise.
17587         * nss/makedb.c: Likewise.
17588         * sysdeps/generic/ldconfig.h: Likewise.
17590 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17592         * Versions.def: Add GLIBC_2.18.
17593         * include/link.h (struct link_map): New member l_tls_dtor_count.
17594         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17595         (__call_tls_dtors): Likewise.
17596         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17597         __cxa_thread_atexit_impl.
17598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17599         Likewise.
17600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17601         Likewise.
17602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17603         Likewise.
17604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17605         Likewise.
17606         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17608         Likewise.
17609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17610         Likewise.
17611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17613         Likewise.
17614         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17615         (tests): Add test case tst-tls-atexit.
17616         (modules-names): Add shared library for tst-tls-atexit.
17617         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17618         (GLIBC_PRIVATE): Add __call_tls_dtors.
17619         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17620         for libstdc++.
17621         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17622         * stdlib/tst-tls-atexit.c: New test case.
17623         * stdlib/tst-tls-atexit-lib.c: New test case.
17625         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17627         * elf/Versions (ld): Add _dl_find_dso_for_object.
17628         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17629         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17630         (dl_open_worker): Use _dl_find_dso_for_object.
17631         * elf/dl-sym.c (do_sym): Likewise.
17632         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17634 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17636         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17637         Syntactic changes only.
17638         (_dl_runtime_profile): Do a tail-call to the resolved function.
17640 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
17642         [BZ #13550]
17643         * sysdeps/x86_64/bp-asm.h: Remove file.
17644         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17645         <bp-sym.h> and <bp-asm.h>.
17646         (__clone): Do not use BP_SYM.
17647         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17648         <bp-sym.h> and <bp-asm.h>.
17649         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17650         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17651         "bp-asm.h".
17652         (_setjmp): Do not use BP_SYM.
17653         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17654         "bp-asm.h".
17655         (setjmp): Do not use BP_SYM.
17656         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17657         libc_hidden_def.
17658         (mempcpy): Do not use BP_SYM in weak_alias.
17659         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17660         "bp-asm.h".
17661         (strchr): Do not use BP_SYM.
17662         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17663         "bp-asm.h".
17664         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17665         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17666         (_start): Do not use BP_SYM.
17667         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17668         "bp-asm.h".
17669         (strcat): Do not use BP_SYM.
17670         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17671         "bp-asm.h".
17672         (STRCMP): Do not use BP_SYM.
17673         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17674         "bp-asm.h".
17675         (STRCPY): Do not use BP_SYM.
17676         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17677         "bp-asm.h".
17678         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17679         "bp-asm.h".
17680         (FUNCTION): Do not use BP_SYM.
17681         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17682         weak_alias.
17683         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17685 2013-02-17  Andreas Jaeger  <aj@suse.de>
17687         * time/Versions: Sort entries.
17688         * string/Versions: Likewise.
17689         * resolv/Versions: Likewise.
17690         * posix/Versions: Likewise.
17691         * iconv/Versions: Likewise.
17692         * elf/Versions: Likewise.
17693         * wcsmbs/Versions: Likewise.
17695 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17697         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17698         loop termination condition.
17700         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17701         variable to calculate EZ.
17702         (__sqr): Likewise.
17704         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17705         the lower precision input.
17707 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17709         [BZ #13550]
17710         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17711         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17712         (run-via-rtld-prefix): Do not handle %-bp tests.
17713         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17714         (all-object-suffixes): Remove .ob.
17715         (bppfx): Remove variable.
17716         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17717         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17718         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17719         [$(build-bounded) = yes] (libtype.ob): Likewise.
17720         * Makerules (elide-routines.ob): Remove variable.
17721         (do-tests-clean): Do not handle *-bp.out.
17722         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17723         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17724         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17725         (tests): Do not include $(tests-bp.out).
17726         (xtests): Do not include $(xtests-bp.out).
17727         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17728         [$(build-bounded) = yes] ($(addprefix
17729         $(objpfx),$(binaries-bounded))): Remove rule.
17730         ($(objpfx)%-bp.out): Remove rule.
17731         * config.make.in (build-bounded): Remove variable.
17732         * crypt/Makefile [$(build-bounded) = yes]
17733         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17734         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17735         append to variable.
17736         [$(build-bounded) = yes] (install-lib): Likewise.
17737         [$(build-bounded) = yes] (generated): Likewise.
17738         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17739         Remove rule.
17740         * intl/Makefile [$(build-bounded) = yes]
17741         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17742         * math/Makefile [$(build-bounded) = yes]
17743         ($(tests:%=$(objpfx)%-bp): Likewise.
17744         * misc/Makefile [$(build-bounded) = yes]
17745         ($(objpfx)tst-tsearch-bp): Likewise.
17746         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17747         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17748         Remove dependency.
17749         * string/Makefile (o-objects.ob): Remove variable.
17750         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17751         (CFLAGS-.ob): Remove variable.
17752         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17753         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17754         both definitions of variable.
17755         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17756         (ASFLAGS-.ob): Remove variable.
17758 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17760         [BZ #13550]
17761         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17762         Remove __BOUNDED_POINTERS__ from condition.
17763         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17764         * string/bits/string2.h [!__NO_STRING_INLINES &&
17765         !__BOUNDED_POINTERS__]: Likewise.
17766         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17767         Likewise.
17768         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17769         Remove conditional code.
17770         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17771         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17772         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17773         condition.
17775         [BZ #13550]
17776         * csu/libc-start.c: Do not include <bp-sym.h>.
17777         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17778         * elf/dl-open.c: Do not include <bp-sym.h>.
17779         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17780         * math/fegetenv.c: Do not include <bp-sym.h>.
17781         (fegetenv): Do not use BP_SYM in versioned symbols.
17782         * nptl/sysdeps/pthread/bits/libc-lockP.h
17783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17784         <bp-sym.h>.
17785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17786         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17788         (__pthread_mutex_destroy): Likewise.
17789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17790         (__pthread_mutex_lock): Likewise.
17791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17792         (__pthread_mutex_trylock): Likewise.
17793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17794         (__pthread_mutex_unlock): Likewise.
17795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17796         (__pthread_mutexattr_init): Likewise.
17797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17798         (__pthread_mutexattr_destroy): Likewise.
17799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17800         (__pthread_mutexattr_settype): Likewise.
17801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17802         (__pthread_rwlock_init): Likewise.
17803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17804         (__pthread_rwlock_destroy): Likewise.
17805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17806         (__pthread_rwlock_rdlock): Likewise.
17807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17808         (__pthread_rwlock_tryrdlock): Likewise.
17809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17810         (__pthread_rwlock_wrlock): Likewise.
17811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17812         (__pthread_rwlock_trywrlock): Likewise.
17813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17814         (__pthread_rwlock_unlock): Likewise.
17815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17816         (__pthread_key_create): Likewise.
17817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17818         (__pthread_setspecific): Likewise.
17819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17820         (__pthread_getspecific): Likewise.
17821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17822         Likewise.
17823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17824         (_pthread_cleanup_push_defer): Likewise.
17825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17826         (_pthread_cleanup_pop_restore): Likewise.
17827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17828         (pthread_setcancelstate): Likewise.
17829         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17830         <bp-sym.h>.
17831         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17832         (memchr): Do not use BP_SYM in weak_alias.
17833         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17834         (fegetenv): Do not use BP_SYM in versioned symbols.
17835         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17836         (fesetenv): Do not use BP_SYM in versioned symbols.
17837         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17838         (feupdateenv): Do not use BP_SYM in versioned symbols.
17839         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17840         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17841         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17842         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17843         (open64): Do not use BP_SYM in weak_alias.
17844         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17845         (fegetenv): Do not use BP_SYM in versioned symbols.
17846         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17847         (fesetenv): Do not use BP_SYM in versioned symbols.
17848         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17849         (feupdateenv): Do not use BP_SYM in versioned symbols.
17850         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17851         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17852         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17853         (feraiseexcept): Do not use BP_SYM in versioned symbols.
17854         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17855         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17856         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17857         <bp-sym.h>.
17858         (__libc_start_main): Do not use BP_SYM.
17860 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17863         redundant return line.
17864         (norm): Likewise.
17865         (denorm): Likewise.
17866         (dbl_mp): Likewise.
17867         (sub_magnitudes): Likewise.
17868         (__add): Likewise.
17869         (__sub): Likewise.
17870         (__mul): Likewise.
17871         (__inv): Likewise.
17872         (__dvd): Likewise.
17873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17874         (norm): Likewise.
17875         (denorm): Likewise.
17876         (dbl_mp): Likewise.
17877         (sub_magnitudes): Likewise.
17878         (__add): Likewise.
17879         (__sub): Likewise.
17880         (__mul): Likewise.
17881         (__inv): Likewise.
17882         (__dvd): Likewise.
17884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17885         instead of __mul.
17886         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17887         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17888         (cc32): Likewise.
17890         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17891         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17893         of __mul for squares.
17894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17895         function
17896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17897         Likewise.
17898         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17899         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17901 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
17903         [BZ #13550]
17904         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17905         code.
17906         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17907         prototype or function definition.  Rename ubp_* variables and
17908         parameters.  Remove argv definitions conditional on
17909         [__BOUNDED_POINTERS__].
17910         * debug/backtrace.c (__backtrace): Do not use __unbounded.
17911         * elf/dl-runtime.c (_dl_fixup): Likewise.
17912         * include/set-hooks.h (RUN_HOOK): Likewise.
17913         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17914         definition.
17915         * string/strcpy.c (strcpy): Do not use __unbounded.
17916         * sysdeps/generic/frame.h (struct layout): Likewise.
17917         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17918         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17919         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17920         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17921         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17922         (__backtrace): Likewise.
17923         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17924         use __ptrvalue.
17925         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17926         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17927         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17928         Likewise.
17929         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17930         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17931         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17932         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17933         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17934         Do not use __unbounded.
17935         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17936         Rename __unboundedrlimits parameter to rlimits in prototype.
17937         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17938         Do not use __unbounded.
17939         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17940         not use __ptrvalue.
17941         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17942         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17943         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17944         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17945         __ptrvalue or __unbounded.
17946         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17947         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17948         use __unbounded.
17949         (__new_msgctl): Do not use __ptrvalue.
17950         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17951         __unbounded.
17952         (__libc_msgrcv): Do not use __ptrvalue.
17953         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17954         startup_info): Do not use __unbounded.
17955         (__libc_start_main): Likewise.  Rename ubp_* variables and
17956         parameters.  Remove argv definitions conditional on
17957         [__BOUNDED_POINTERS__].
17958         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17959         __ptrvalue.
17960         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17961         use __unbounded.
17962         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17963         or __ptrvalue.
17964         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17965         use __unbounded.
17966         (__new_shmctl): Do not use __ptrvalue.
17967         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17968         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17969         Likewise.
17970         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17971         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17972         (__libc_sigaction): Likewise.
17973         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17974         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17975         Likewise.
17976         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17978 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
17980         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17982         * string/mempcpy.c: Implement by calling memcpy.
17984 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17988         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17989         evaluation.
17991         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17992         values in the mantissa.
17994         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17995         minimize writes to Z.
17996         (sub_magnitudes): Simplify code a bit.
17998 2013-02-12  Roland McGrath  <roland@hack.frob.com>
18000         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18001         from the message.  The linker prefixes all warnings with that already.
18003 2013-02-12  Andreas Schwab  <schwab@suse.de>
18005         [BZ #15078]
18006         * posix/regexec.c (extend_buffers): Add parameter min_len.
18007         (check_matching): Pass minimum needed length.
18008         (clean_state_log_if_needed): Likewise.
18009         (get_subexp): Likewise.
18010         * posix/Makefile (tests): Add bug-regex34.
18011         (bug-regex34-ENV): Define.
18012         * posix/bug-regex34.c: New file.
18014         [BZ #11561]
18015         * posix/regcomp.c (parse_bracket_exp): When looking up collating
18016         elements compare against the byte sequence of it, not its name.
18017         * posix/Makefile (tests): Add bug-regex35.
18018         (bug-regex35-ENV): Define.
18019         * posix/bug-regex35.c: New file.
18021 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18023         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18024         comment.
18025         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18026         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18027         (CHECK_EOL): Add undef.
18029 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18031         * bits/stdlib-bsearch.h: New file.
18032         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18033         * stdlib/stdlib.h: Likewise.
18035 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18037         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18038         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18039         declaration.
18040         * manual/search.texi (Array Search Function): Add missing const in
18041         lfind prototype.
18042         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18043         declaration to use rlim_t.
18044         (Basic Scheduling Functions): Remove erroneous const from
18045         sched_getparam prototype.  Remove erroneous * from
18046         sched_get_priority_max and sched_get_priority_min prototypes.
18047         (Resource Usage): Fix summary @comment on vtimes to refer to
18048         sys/vtimes.h rather than vtimes.h.
18049         Add missing *s in vtimes prototype.
18050         (Limits on Resources): Fix ulimit prototype to return long int.
18051         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18052         prototypes to use long int rather than double.
18053         (BSD Random): Fix initstate and setstate to use char *, not void *.
18054         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18055         prototype to make second argument 'struct aiocb64 *const[]'.
18056         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18057         (Status of AIO Operations): Remove erroneous const in aio_return and
18058         aio_return64 prototypes.
18059         (Synchronizing I/O): Fix sync prototype to return void.
18060         * manual/startup.texi (Suboptions): Remove an erroneous const in
18061         getsubopt prototype.
18062         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18063         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18064         use size_t rather than int.
18065         (Scanning All Users): Likewise for getpwent_r.
18066         (Setting Groups): Add missing const to setgroups prototype.
18067         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18068         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18069         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18070         'const void *' rather than 'const char *'.
18071         (Host Address Functions): Likewise for inet_ntop.
18072         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18073         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18074         ssize_t for return value.
18075         (Sending Data): Likewise for send, sendto, sendmsg.
18076         (Socket Option Functions): Add a missing const in setsockopt prototype.
18077         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18078         use wchar_t for the argument.
18079         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18080         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18081         take no arguments.
18082         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18083         double/float/long double for second argument.
18084         Fix return types of significand, significandf, significandl.
18085         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18086         argument in fchmod prototype.
18087         (File Owner): Use uid_t and gid_t in fchown prototype.
18088         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18089         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18090         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18091         use 'const struct dirent **' as argument types to CMP function pointer
18092         argument.
18093         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18094         (File Times): Fix summary magic @comment for struct utimbuf and utime
18095         to refer to utime.h, not time.h.
18096         * manual/string.texi (Argz Functions): Add missing const in
18097         argz_extract and argz_next prototypes.
18098         (Finding Tokens in a String): Likewise for basename.
18099         (String/Array Comparison): Fix typo in wcscasecmp prototype.
18100         (Copying and Concatenation): Fix typo in wmemmove prototype.
18101         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18102         (Signal Stack): Remove erroneous const in sigstack prototype.
18103         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18104         prototype.
18105         (Simple Calendar Time): Likewise for stime.
18106         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18107         prototype.
18108         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18109         say sys/sysctl.h instead.
18110         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18111         and vsyslog prototypes.
18113 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18115         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18116         Remove.
18118 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18120         * misc/sys/mman.h: Fix typo in mremap comment.
18122 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18124         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18125         the '\0' terminator.
18127 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18129         [BZ #13550]
18130         * debug/segfault.c: Don't include <bp-checks.h>.
18131         * sysdeps/generic/bp-checks.h: Remove file.
18132         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18133         (__GETDENTS): Don't use CHECK_N.
18134         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18135         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18136         (__getgroups): Don't use CHECK_N.
18137         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18138         (setgroups): Don't use CHECK_N.
18139         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18140         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18141         (__libc_msgrcv): Don't use CHECK_N.
18142         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18143         (__libc_msgsnd): Don't use CHECK_N.
18144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18145         <bp-checks.h>.
18146         (__libc_pread): Don't use CHECK_N.
18147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18148         include <bp-checks.h>.
18149         (__libc_pread64): Don't use CHECK_N.
18150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18151         include <bp-checks.h>.
18152         (__libc_pwrite): Don't use CHECK_N.
18153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18154         include <bp-checks.h>.
18155         (__libc_pwrite64): Don't use CHECK_N.
18156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18157         <bp-checks.h>.
18158         (__libc_pread): Don't use CHECK_N.
18159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18160         include <bp-checks.h>.
18161         (__libc_pread64): Don't use CHECK_N.
18162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18163         include <bp-checks.h>.
18164         (__libc_pwrite): Don't use CHECK_N.
18165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18166         include <bp-checks.h>.
18167         (__libc_pwrite64): Don't use CHECK_N.
18168         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18169         (do_pread): Don't use CHECK_N.
18170         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18171         (do_pread64): Don't use CHECK_N.
18172         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18173         (do_pwrite): Don't use CHECK_N.
18174         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18175         (do_pwrite64): Don't use CHECK_N.
18176         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18177         (__libc_readv): Don't use CHECK_N.
18178         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18179         (semop): Don't use CHECK_N.
18180         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18181         <bp-checks.h>.
18182         (semtimedop): Don't use CHECK_N.
18183         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18184         (__libc_pread): Don't use CHECK_N.
18185         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18186         <bp-checks.h>.
18187         (__libc_pread64): Don't use CHECK_N.
18188         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18189         <bp-checks.h>.
18190         (__libc_pwrite): Don't use CHECK_N.
18191         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18192         <bp-checks.h>.
18193         (__libc_pwrite64): Don't use CHECK_N.
18194         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18195         <bp-checks.h>.
18196         (__libc_msgrcv): Don't use CHECK_N.
18197         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18198         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
18199         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18200         (__libc_writev): Don't use CHECK_N.
18202 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18204         * string/strcpy.c: Removed unused variable.
18206         * Makeconfig (+sysdep-includes): Define with := rather than =.
18207         Use an existing include/ subdir of each sysdeps dir before it.
18209 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18211         * nscd/connection.c (register_traced_file): Comment function.
18212         [HAVE_INOTIFY] (union __inev): Define.
18213         [HAVE_INOTIFY] (inotify_check_files): New function.
18214         [HAVE_INOTIFY] (clear_db_cache): Likewise.
18215         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18216         clear_db_cache.
18217         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18219 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18221         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18222         loaded if not already and that a failure is permanent.
18224 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18226         [BZ #15006]
18227         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18228         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18230 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18232         [BZ #13550]
18233         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18234         (CHECK_1_NULL_OK): Likewise.
18235         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18236         (__fxstat): Do not use CHECK_1.
18237         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18238         <bp-checks.h>.
18239         (___fxstat64): Do not use CHECK_1.
18240         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18241         <bp-checks.h>.
18242         (__fxstatat): Do not use CHECK_1.
18243         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18244         <bp-checks.h>.
18245         (__fxstatat64): Do not use CHECK_1.
18246         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18247         <bp-checks.h>.
18248         (__fxstat): Do not use CHECK_1.
18249         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18250         <bp-checks.h>.
18251         (__fxstatat): Do not use CHECK_1.
18252         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18253         <bp-checks.h>.
18254         (__getresgid): Do not use CHECK_1.
18255         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18256         <bp-checks.h>.
18257         (__getresuid): Do not use CHECK_1.
18258         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18259         <bp-checks.h>.
18260         (__lxstat): Do not use CHECK_1.
18261         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18262         <bp-checks.h>.
18263         (__old_msgctl): Do not use CHECK_1.
18264         (__new_msgctl): Likewise.
18265         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18266         <bp-checks.h>.
18267         (__new_setrlimit): Do not use CHECK_1.
18268         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18269         <bp-checks.h>.
18270         (__old_shmctl): Do not use CHECK_1.
18271         (__new_shmctl): Likewise.
18272         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18273         <bp-checks.h>.
18274         (__xstat): Do not use CHECK_1.
18275         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18276         (__lxstat): Do not use CHECK_1.
18277         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18278         <bp-checks.h>.
18279         (___lxstat64): Do not use CHECK_1.
18280         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18281         (__old_msgctl): Do not use CHECK_1.
18282         (__new_msgctl): Likewise.
18283         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18284         <bp-checks.h>.
18285         (__gettimeofday): Do not use CHECK_1.
18286         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18287         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18288         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18289         <bp-checks.h>.
18290         (__gettimeofday): Do not use CHECK_1.
18291         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18292         (__old_shmctl): Do not use CHECK_1_NULL_OK.
18293         (__new_shmctl): Do not use CHECK_1.
18294         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18295         <bp-checks.h>.
18296         (do_sigtimedwait): Do not use CHECK_1.
18297         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18298         <bp-checks.h>.
18299         (do_sigwaitinfo): Do not use CHECK_1.
18300         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18301         <bp-checks.h>.
18302         (msgctl): Do not use CHECK_1.
18303         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18304         <bp-checks.h>.
18305         (shmctl): Do not use CHECK_1.
18306         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18307         (ustat): Do not use CHECK_1.
18308         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18309         <bp-checks.h>.
18310         (__fxstat): Do not use CHECK_1.
18311         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18312         <bp-checks.h>.
18313         (__fxstatat): Do not use CHECK_1.
18314         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18315         <bp-checks.h>.
18316         (__lxstat): Do not use CHECK_1.
18317         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18318         <bp-checks.h>.
18319         (__xstat): Do not use CHECK_1.
18320         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18321         (__xstat): Do not use CHECK_1.
18322         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18323         (___xstat64): Do not use CHECK_1.
18325         [BZ #13550]
18326         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18327         definitions.
18328         (CHECK_BOUNDS_HIGH): Likewise.
18329         * string/strcpy.c: Do not include <bp-checks.h>.
18330         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18332 2013-02-07  Roland McGrath  <roland@hack.frob.com>
18334         * nscd/nscd-client.h (__nscd_drop_map_ref):
18335         Add __attribute__ ((unused)).
18336         * nis/nss-nisplus.h (niserr2nss): Likewise.
18338         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18339         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18341         * csu/libc-tls.c (init_static_tls, init_slotinfo):
18342         Remove inline keyword.
18343         * include/rounding-mode.h (round_away): Likewise.
18344         * libio/wfileops.c (adjust_wide_data): Likewise.
18345         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18346         (__m128i_strloadu_tolower): Likewise.
18347         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18348         (__m128i_strloadu_tolower): Likewise.
18349         * time/mktime.c (ydhms_diff): Likewise.
18350         * locale/elem-hash.h (elem_hash): Likewise.
18351         * locale/setlocale.c (setdata): Likewise.
18352         * posix/regex_internal.h (re_string_char_size_at): Likewise.
18353         (re_string_wchar_at): Likewise.
18354         (bitset_not, bitset_merge, bitset_mask): Likewise.
18355         [!(__GNUC__ > 3)] (inline): Remove macro.
18356         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18357         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18358         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18359         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18360         * string/memcmp.c (memcmp_bytes): Likewise.
18361         * locale/programs/locarchive.c (compute_hashval): Likewise.
18362         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18363         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18364         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18365         * nss/getent.c (print_rpc, print_protocols): Likewise.
18366         (print_passwd, print_group, print_aliases): Likewise.
18367         * nis/nss-nisplus.h (niserr2nss): Likewise.
18368         * nscd/connections.c (restart_p): Likewise.
18369         Change return type to bool.
18371 2013-02-05  Roland McGrath  <roland@hack.frob.com>
18373         * Makeconfig (all-Depend-files): Add existing
18374         $(sorted-subdirs:=/Depend) files.
18375         (all-subdirs): Remove nss.
18376         * sysdeps/unix/inet/Subdirs: Add it here instead.
18377         * hesiod/Depend: New file.
18379         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18380         instead of calling alloca.
18382         * io/lseek.c (__lseek): Rename to __libc_lseek.
18383         Define __lseek as an alias.
18385         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18387 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
18389         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18390         else clause and remove check for non-standard endianness.
18392 2013-02-04  David S. Miller  <davem@davemloft.net>
18394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18396 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
18398         [BZ #13550]
18399         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18400         (__ubp_memchr): Remove prototype.
18401         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18402         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18403         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18404         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18405         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18406         Remove alias.
18407         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18408         (__ubp_memchr): Likewise.
18409         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18410         (__ubp_memchr): Likewise.
18411         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18412         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18413         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18414         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18415         CHECK_STRING.
18416         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18417         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18418         (__getcwd): Do not use CHECK_STRING.
18419         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18420         <bp-checks.h>.
18421         (__real_chown): Do not use CHECK_STRING.
18422         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18423         <bp-checks.h>.
18424         (fchownat): Do not use CHECK_STRING.
18425         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18426         CHECK_STRING.
18427         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18428         <bp-checks.h>.
18429         (__lchown): Do not use CHECK_STRING.
18430         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18431         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18432         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18433         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18435         include <bp-checks.h>.
18436         (truncate64): Do not use CHECK_STRING.
18437         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18438         <bp-checks.h>.
18439         (__real_chown): Do not use CHECK_STRING.
18440         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18441         <bp-checks.h>.
18442         (__lchown): Do not use CHECK_STRING.
18443         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18444         <bp-checks.h>.
18445         (__chown): Do not use CHECK_STRING.
18446         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18447         <bp-checks.h>.
18448         (truncate64): Do not use CHECK_STRING.
18449         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18450         Likewise.
18451         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18452         (__xmknod): Do not use CHECK_STRING.
18453         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18454         <bp-checks.h>.
18455         (__xmknodat): Do not use CHECK_STRING.
18456         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18457         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18459 2013-02-04  Andreas Schwab  <schwab@suse.de>
18461         [BZ #14142]
18462         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18463         * include/netdb.h: Likewise for h_errno.
18464         * elf/tst-stackguard1.c: Include <tls.h>.
18466 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18468         * elf/link.h (struct link_map): Extend the l_addr comment.
18469         * include/link.h (struct link_map): Likewise.
18471 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
18473         [BZ #13550]
18474         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18475         (BOUNDED_1): Remove macro.
18476         * debug/backtrace.c: Don't include <bp-checks.h>.
18477         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18478         (__backtrace): Likewise.
18479         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18480         <bp-checks.h>.
18481         (__backtrace): Don't use BOUNDED_1.
18482         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18483         <bp-checks.h>.
18484         (__backtrace): Don't use BOUNDED_1.
18485         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18486         (__backtrace): Don't use BOUNDED_1.
18487         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18488         (shmat): Don't use BOUNDED_N.
18490 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
18492         [BZ #13550]
18493         * sysdeps/generic/bp-start.h: Remove file.
18494         * csu/libc-start.c: Don't include <bp-start.h>.
18495         (LIBC_START_MAIN): Set up __environ directly instead of using
18496         INIT_ARGV_and_ENVIRON.
18497         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18498         <bp-start.h>.
18500         [BZ #13550]
18501         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18502         definitions.
18503         (CHECK_FCNTL): Likewise.
18504         (CHECK_N_PAGES): Likewise.
18506         [BZ #13550]
18507         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18508         definitions.
18509         (CHECK_SIGSET_NULL_OK): Likewise.
18510         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18511         <bp-checks.h>.
18512         (sigpending): Don't use CHECK_SIGSET.
18513         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18514         <bp-checks.h>.
18515         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18516         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18517         <bp-checks.h>.
18518         (do_sigsuspend): Don't use CHECK_SIGSET.
18519         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18520         use CHECK_SIGSET.
18521         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18522         (do_sigwait): Don't use CHECK_SIGSET.
18523         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18524         use CHECK_SIGSET.
18525         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18526         include <bp-checks.h>.
18527         (sigpending): Don't use CHECK_SIGSET.
18528         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18529         include <bp-checks.h>.
18530         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18531         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18532         <bp-checks.h>.
18533         (sigpending): Don't use CHECK_SIGSET.
18534         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18535         <bp-checks.h>.
18536         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18538         [BZ #13550]
18539         * sysdeps/generic/bp-semctl.h: Remove file.
18540         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18541         <bp-checks.h> and <bp-semctl.h>.
18542         (__old_semctl): Don't use CHECK_SEMCTL.
18543         (__new_semctl): Likewise.
18544         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18545         and <bp-semctl.h>.
18546         (__old_semctl): Don't use CHECK_SEMCTL.
18547         (__new_semctl): Likewise.
18548         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18549         <bp-checks.h> and <bp-semctl.h>.
18550         (__old_semctl): Don't use CHECK_SEMCTL.
18551         (__new_semctl): Likewise.
18552         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18553         <bp-checks.h> and <bp-semctl.h>.
18554         (semctl): Don't use CHECK_SEMCTL.
18556         [BZ #13550]
18557         * Makerules (elide-bp-thunks): Remove variable.
18558         (elide-routines.oS): Don't use $(elide-bp-thunks).
18559         (elide-routines.os): Likewise.
18560         (elide-routines.o): Likewise.
18561         (elide-routines.op): Likewise.
18562         (elide-routines.og): Likewise.
18563         (objects): Don't use $(bp-thunks).
18564         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18565         include.
18566         (common-generated): Do not add s-proto-bp.d.
18567         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18568         (int): Likewise.
18569         (typ): Likewise.
18570         Do not generate makefile rules for bounded-pointer thunks.
18571         * sysdeps/generic/bp-thunks.h: Remove file.
18572         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18573         * sysdeps/unix/s-proto-bp.S: Likewise.
18575         [BZ #15062]
18576         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18577         parts of result separately when argument is not close to line from
18578         -i to i and one part of argument is small.
18579         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18580         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18581         * math/libm-test.inc (cacos_test): Add more tests.
18582         (casin_test): Likewise.
18583         (casinh_test): Likewise.
18584         * sysdeps/i386/fpu/libm-test-ulps: Update.
18585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18587 2013-01-31  David S. Miller  <davem@davemloft.net>
18589         * po/de.po: Update from translation team.
18591 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18593         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18595 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18597         * configure.in (_AC_PROG_CC_C89): New definition.
18598         * configure: Regenerate.
18600         * configure.in (AC_PROG_CPP): New definition.
18601         * configure: Regenerate.
18603 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18605         * debug/tst-backtrace.h: New file.
18606         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18607         (ret): Remove variable.
18608         (x): Likewise.
18609         (FAIL): Remove macro.
18610         (NO_INLINE): Likewise.
18611         (fn1): Use match function instead of strstr.
18612         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18613         (ret): Remove variable.
18614         (x): Likewise.
18615         (FAIL): Remove macro.
18616         (NO_INLINE): Likewise.
18617         (fn): Use match function instead of strstr.
18618         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18619         (ret): Remove variable.
18620         (x): Likewise.
18621         (FAIL): Remove macro.
18622         (NO_INLINE): Likewise.
18623         (handle_signal): Use match function instead of strstr.
18624         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18625         (ret): Remove variable.
18626         (x): Likewise.
18627         (FAIL): Remove macro.
18628         (NO_INLINE): Likewise.
18629         (handle_signal): Use match function instead of strstr.
18631 2013-01-23  Roland McGrath  <roland@hack.frob.com>
18633         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18635 2013-01-23  David S. Miller  <davem@davemloft.net>
18637         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18638         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18639         argument of CAS if possible.
18640         * sysdeps/sparc/sparc64/bits/atomic.h
18641         (__arch_compare_and_exchange_val_32_acq): Likewise.
18642         (__arch_compare_and_exchange_val_64_acq): Likewise.
18644 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
18646         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18647         * sysdeps/posix/ulimit.c: ... this.
18648         Include <limits.h>.
18649         * sysdeps/unix/bsd/ulimit.c: Remove file.
18651 2013-01-23  Adam Conrad  <adconrad@0c3.net>
18653         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18654         (LDFLAGS-tst-array5): Likewise.
18656 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18658         [BZ #15036]
18659         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18660         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18661         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18662         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18664 2013-01-21  David S. Miller  <davem@davemloft.net>
18666         * sysdeps/sparc/backtrace.c: New file.
18667         * sysdeps/sparc/sparc32/backtrace.h: New file.
18668         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18669         * sysdeps/sparc/sparc64/backtrace.h: New file.
18670         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18671         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18672         -funwind-tables.
18674 2013-01-21  Andreas Schwab  <schwab@suse.de>
18676         [BZ #15020]
18677         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18678         closed its stdout.
18680 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18683         "mpa2.h".
18684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18686 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18687             Mark Mitchell  <mark@codesourcery.com>
18688             Tom de Vries  <tom@codesourcery.com>
18689             Paul Pluzhnikov  <ppluzhnikov@google.com>
18691         * debug/tst-backtrace2.c: New file.
18692         * debug/tst-backtrace3.c: Likewise.
18693         * debug/tst-backtrace4.c: Likewise.
18694         * debug/tst-backtrace5.c: Likewise.
18695         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18696         (CFLAGS-tst-backtrace3.c): Likewise.
18697         (CFLAGS-tst-backtrace4.c): Likewise.
18698         (CFLAGS-tst-backtrace5.c): Likewise.
18699         (LDFLAGS-tst-backtrace2): Likewise.
18700         (LDFLAGS-tst-backtrace3): Likewise.
18701         (LDFLAGS-tst-backtrace4): Likewise.
18702         (LDFLAGS-tst-backtrace5): Likewise.
18703         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18704         tst-backtrace4 and tst-backtrace5.
18706 2013-01-18  Anton Blanchard  <anton@samba.org>
18707             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18709         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18710         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18711         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18712         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18714         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18715         "+r" and remove output regs list as redundant.  Add explicit inline
18716         asm to specify register of return val to work around compiler codegen
18717         bug.  Remove (int) cast on return value.  Add return type parameter to
18718         use in macro so that this macro does not truncate return value for
18719         64-bit values.
18720         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18721         pass to INTERNAL_VSYSCALL_NCS.
18722         (INLINE_VSYSCALL): Add 'long int' as return type to
18723         INTERNAL_VSYSCALL_NCS macro invocation.
18724         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18725         INTERNAL_VSYSCALL_NCS macro invocation.
18726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18728 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18730         [BZ #14496]
18731         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18732         Fix application of SIMD FP exception mask.
18734         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18735         mp_no from a power of two.
18736         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18737         __mpexp_twomm1.  Use __pow_mp.
18739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18740         multiplication.
18742 2013-01-17  David S. Miller  <davem@davemloft.net>
18744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18746 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18748         [BZ #15023]
18749         * include/complex.h: Condition contents on [!_COMPLEX_H].
18750         (__kernel_casinhf): New prototype.
18751         (__kernel_casinh): Likewise.
18752         (__kernel_casinhl): Likewise.
18753         * math/Makefile (libm_calls): Add k_casinh.
18754         * math/k_casinh.c: New file.
18755         * math/k_casinhf.c: Likewise.
18756         * math/k_casinhl.c: Likewise.
18757         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18758         finite nonzero arguments.
18759         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18760         finite nonzero arguments.
18761         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18762         finite nonzero arguments.
18763         * math/s_casinh.c: Do not include <float.h>.
18764         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18765         * math/s_casinhf.c: Do not include <float.h>.
18766         (__casinhf): Move code for finite nonzero arguments to
18767         k_casinhf.c.
18768         * math/s_casinhl.c: Do not include <float.h>.
18769         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18770         redefine.
18771         (__casinhl): Move code for finite nonzero arguments to
18772         k_casinhl.c.
18773         * math/libm-test.inc (cacos_test): Add more tests.
18774         * sysdeps/i386/fpu/libm-test-ulps: Update.
18775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18777 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18779         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18780         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18781         [!HAVE_MREMAP]: Remove [defined linux] case.
18782         * malloc/arena.c: Do not include <malloc-sysdep.h>.
18784 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18786         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18788 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
18790         * elf/elf.h (R_386_SIZE32): New relocation.
18791         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18792         R_386_SIZE32.
18793         (elf_machine_rela): Likewise.
18794         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18795         R_X86_64_SIZE64 and R_X86_64_SIZE32.
18797 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18799         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18800         (FP_FAST_FMA): Do not define.
18801         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18802         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18803         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18804         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18805         !_SOFT_FLOAT]: Likewise.
18806         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18807         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18808         value.
18809         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18810         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18811         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18812         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18813         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18814         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18815         file.
18817 2013-01-16  Andreas Schwab  <schwab@suse.de>
18819         [BZ #14327]
18820         * include/stdlib.h (__mktemp): Add declaration.
18821         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18822         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18824 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18826         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18827         definitions.
18828         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18829         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18830         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18831         definitions here.
18832         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18833         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18834         definitions.
18835         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18836         and ONE.
18837         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18838         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18839         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18840         definitions.
18841         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18842         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18843         definitions.
18844         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18846         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18848 2013-01-15  David S. Miller  <davem@davemloft.net>
18850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18851         trunc{,f} to libm-sysdep_routes.
18852         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18854         file.
18855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18857         file.
18858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18859         file.
18860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18862         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18863         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18864         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18865         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18866         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18867         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18870         nearbyint{,f} to libm-sysdep_routes.
18871         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18873         New file.
18874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18875         file.
18876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18877         New file.
18878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18879         file.
18880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18882         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18883         file.
18884         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18885         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18886         file.
18887         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18888         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18889         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18891         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18892         libc_feholdexcept and libc_fesetenv.
18894 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
18896         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18898 2013-01-14  David S. Miller  <davem@davemloft.net>
18900         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18901         (SPARC_ASM_VIS2_IFUNC): Likewise.
18902         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18904         use of 'siam' instruction.
18905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18906         Likewise.
18907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18908         Likewise.
18909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18910         Likewise.
18911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18914         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18916         file.
18917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18918         file.
18919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18920         file.
18921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18922         file.
18923         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18924         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18928         new VIS2 routines.
18929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18932         Likewise.
18933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18938         routines to libm-sysdep_routines.
18939         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18942         fdim/fdimf to libm-sysdep_routines.
18943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18944         file.
18945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18947         file.
18948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18951         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18952         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18953         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18954         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18956 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18958         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18959         to optimize copies.
18961         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18966         local variable MPTWO.
18967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18968         Likewise.
18970 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18972         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18973         GLOB_NOESCAPE.
18975 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18977         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18979 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18981         * manual/pattern.texi (glob_t): Document gl_flags.
18982         (glob64_t): Likewise.
18984 2013-01-11  David S. Miller  <davem@davemloft.net>
18986         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18987         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18988         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
18989         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18990         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18991         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18992         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18993         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18994         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18995         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18996         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18997         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18998         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19000         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19001         sparc V9 rather than using V8 code.
19002         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19003         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19005         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19006         Move to...
19007         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19008         Here.
19010 2013-01-11  Roland McGrath  <roland@hack.frob.com>
19012         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19013         not in the main loop.
19014         * configure: Regenerated.
19016 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19018         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19019         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19020         to just #else.
19021         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19022         [!__GLIBC_HAVE_LONG_LONG] case.
19023         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19024         condition to just #else.
19025         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19026         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19027         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19028         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19029         unconditional.
19030         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19031         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19032         #elif condition to just #else.
19033         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19034         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19035         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19036         #elif condition to just #else.
19038 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19040         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19041         (EF_MIPS_ARCH_64): Fix value.
19042         (EF_MIPS_ARCH_32R2): New.
19043         (EF_MIPS_ARCH_64R2): New.
19045 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19047         * Makeconfig (+link-pie-before-libc): New.
19048         (+link-pie-after-libc): Likewise.
19049         (+link-pie-tests): Likewise.
19050         (+link-pie): Rewritten.
19051         (link-before-libc): Remove $(config-LDFLAGS).
19052         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19053         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19054         (config-LDFLAGS): Renamed to ...
19055         (rtld-LDFLAGS): This.
19056         (rtld-tests-LDFLAGS): New macro.
19057         (link-libc-rpath-link): Likewise.
19058         (link-libc-tests-rpath-link): Likewise.
19059         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19060         (link-libc): Prepand $(link-libc-rpath-link).
19061         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19062         (test-program-prefix): New macro.
19063         (test-via-rtld-prefix): Likewise.
19064         (test-program-cmd): Likewise.
19065         (host-test-program-cmd): Likewise.
19066         * Makefile ($(common-objpfx)testrun.sh): Replace
19067         $(run-program-prefix) with $(test-program-prefix).
19068         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19069         $(rtld-LDFLAGS).
19070         ($(common-objpfx)shlib.lds): Likewise.
19071         (build-module-helper): Likewise.
19072         ($(common-objpfx)format.lds): Likewise.
19073         * Rules (binaries-pie-tests): New.
19074         (binaries-pie-notests): Likewise.
19075         (binaries-pie): Rewritten.
19076         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19077         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19078         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19079         (make-test-out): Replace $(host-built-program-cmd) with
19080         $(host-test-program-cmd).
19081         * config.make.in (build-hardcoded-path-in-tests): New variable.
19082         * configure.in (--enable-hardcoded-path-in-tests): New configure
19083         option.
19084         (hardcoded_path_in_tests): New AC_SUBST.
19085         * configure: Regenerated.
19086         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19087         $(built-program-cmd) with $(test-program-cmd).
19088         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19089         (test_program_cmd): This.
19090         * elf/Makefile ($(objpfx)order.out): Run test with
19091         $(test-program-prefix).
19092         ($(objpfx)order2.out): Likewise.
19093         ($(objpfx)tst-initorder.out): Likewise.
19094         ($(objpfx)tst-initorder2.out): Likewise.
19095         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19096         $(test-program-cmd).
19097         ($(objpfx)tst-array1-static.out): Likewise.
19098         ($(objpfx)tst-array2.out): Likewise.
19099         ($(objpfx)tst-array3.out): Likewise.
19100         ($(objpfx)tst-array4.out): Likewise.
19101         ($(objpfx)tst-array5.out): Likewise.
19102         ($(objpfx)tst-array5-static.out): Likewise.
19103         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19104         $(test-program-cmd).
19105         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19106         $(run-program-prefix) with $(test-program-prefix).
19107         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19108         (test_program_prefix): This.
19109         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19110         $(run-program-prefix) with $(test-program-prefix).
19111         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19112         (test_program_prefix): This.
19113         * iconvdata/tst-tables.sh: Likewise.
19114         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19115         $(run-program-prefix) with $(test-program-prefix).
19116         ($(objpfx)tst-translit.out): Likewise.
19117         ($(objpfx)tst-gettext2.out): Likewise.
19118         ($(objpfx)tst-gettext4.out): Likewise.
19119         ($(objpfx)tst-gettext6.out): Likewise.
19120         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19121         (test_program_prefix): This.
19122         * intl/tst-gettext2.sh: Likewise.
19123         * intl/tst-gettext4.sh  Likewise.
19124         * intl/tst-gettext6.sh: Likewise.
19125         * intl/tst-translit.sh: Likewise.
19126         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19127         with $(test-program-cmd).
19128         * libio/Makefile ($(objpfx)test-freopen.out): Replace
19129         $(run-program-prefix) with $(test-program-prefix).
19130         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19131         (test_program_prefix): This.
19132         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19133         $(run-program-prefix) with $(test-program-prefix).
19134         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19135         (test_program_prefix): This.
19136         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19137         * posix/Makefile ($(objpfx)globtest.out): Replace
19138         $(run-via-rtld-prefix) and $(test-wrapper) with
19139         $(test-program-prefix) and $(test-via-rtld-prefix).
19140         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19141         $(test-program-prefix).
19142         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19143         $(host-test-program-cmd).
19144         (tst-spawn-ARGS): Likewise.
19145         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19146         $(test-program-prefix).
19147         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19148         (test_via_rtld_prefix): This.
19149         (test_wrapper): Renamed to ...
19150         (test_program_prefix): This.
19151         (run_program_prefix): Replaced by test_program_prefix.
19152         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19153         (test_program_prefix): This.
19154         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19155         with $(host-test-program-cmd).
19156         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19157         $(run-program-prefix) with $(test-program-prefix).
19158         ($(objpfx)tst-printf.out): Likewise.
19159         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19160         $(test-program-cmd).
19161         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19162         (test_program_prefix): This.
19163         * stdio-common/tst-unbputc.sh: Likewise.
19164         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19165         $(run-program-prefix) with $(test-program-prefix).
19166         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19167         (test_program_prefix): This.
19168         * string/Makefile ($(objpfx)tst-svc.out):  Replace
19169         $(built-program-cmd) with $(test-program-cmd).
19171 2013-01-11  Andreas Jaeger  <aj@suse.de>
19173         [BZ #15003]
19174         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19175         value. Sync with Linux 3.7.
19177 2013-01-10  David S. Miller  <davem@davemloft.net>
19179         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19180         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19181         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19183 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19185         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19186         never set.
19187         * configure: Regenerated.
19189 2013-01-10  David S. Miller  <davem@davemloft.net>
19191         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19192         sparc V9 rather than using V8 code.
19193         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19194         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19196 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19198         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19199         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19200         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19201         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19202         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19203         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19204         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19205         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19206         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19207         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19208         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19209         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19210         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19211         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19212         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19213         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19214         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19215         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19216         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19217         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19218         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19219         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19220         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19221         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19222         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19223         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19224         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19226 2013-01-10  David S. Miller  <davem@davemloft.net>
19228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19230 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19232         * posix/Makefile (tests-static): New variable.
19233         (tests): Add $(tests-static).
19234         (tst-exec-static-ARGS): New variable.
19235         (tst-spawn-static-ARGS): Likewise.
19236         * posix/tst-exec-static.c: New file.
19237         * posix/tst-spawn-static.c: Likewise.
19238         * posix/tst-exec.c: Support run directly.
19239         * posix/tst-spawn.c: Likewise.
19241 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
19243         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19244         long.
19245         * math/bits/mathcalls.h (llrint): Likewise.
19246         (llround): Likewise.
19247         * stdlib/stdlib.h (struct drand48_data): Likewise.
19248         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19249         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19250         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19251         Likewise.
19252         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19253         Likewise.
19254         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19255         (elf_greg_t): Likewise.
19256         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19257         (__jmp_buf): Likewise.
19258         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19259         definitions.
19260         (llrint): Likewise, for all definitions.
19261         (llrintl): Likewise.
19263         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19264         Remove [__GNUC__] condition.
19265         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19266         condition to just [__USE_ISOC99].
19267         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19269 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19271         [BZ #14200]
19272         * sysdeps/unix/sysv/linux/x86/bits/environments.h
19273         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19274         defined.
19275         (_POSIX_V6_ILP32_OFF32): Likewise.
19276         (_XBS5_ILP32_OFF32): Likewise.
19277         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19278         (__ILP32_OFFBIG_LDFLAGS): Likewise.
19280 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19282         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19284         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19285         doubles __mpexp_twomm1.  Adjust usage.
19286         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19287         Remove.
19289 2013-01-10  Andreas Schwab  <schwab@suse.de>
19291         [BZ #14964]
19292         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19293         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19295 2013-01-09  David S. Miller  <davem@davemloft.net>
19297         [BZ #15003]
19298         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19299         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19300         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19301         TCP_FASTOPEN): Define.
19302         (tcp_repair_opt): New structure.
19303         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19304         enum values.
19305         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19306         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19307         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19308         (tcp_cookie_transactions): New structure.
19310 2013-01-09  Anton Blanchard  <anton@samba.org>
19312         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19313         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19314         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19315         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19317 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
19319         * include/features.h (__USE_ANSI): Remove.
19321 2013-01-09  Roland McGrath  <roland@hack.frob.com>
19323         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19325         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19327 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19329         * sysdeps/s390/fpu/libm-test-ulps: Update.
19331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19333         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19334         (__acr): Likewise.
19335         (__cpy): Likewise.
19336         (norm): Likewise.
19337         (denorm): Likewise.
19338         (__mp_dbl): Likewise.
19339         (__dbl_mp): Likewise.
19340         (add_magnitudes): Likewise.
19341         (sub_magnitudes): Likewise.
19342         (__add): Likewise.
19343         (__sub): Likewise.
19344         (__mul): Likewise.
19345         (__inv): Likewise.
19346         (__dvd): Likewise.
19347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19348         (__acr): Likewise.
19349         (__cpy): Likewise.
19350         (norm): Likewise.
19351         (denorm): Likewise.
19352         (__mp_dbl): Likewise.
19353         (__dbl_mp): Likewise.
19354         (add_magnitudes): Likewise.
19355         (sub_magnitudes): Likewise.
19356         (__add): Likewise.
19357         (__sub): Likewise.
19358         (__mul): Likewise.
19359         (__inv): Likewise.
19360         (__dvd): Likewise.
19361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19362         (__acr): Likewise.
19363         (__cpy): Likewise.
19364         (norm): Likewise.
19365         (denorm): Likewise.
19366         (__mp_dbl): Likewise.
19367         (__dbl_mp): Likewise.
19368         (add_magnitudes): Likewise.
19369         (sub_magnitudes): Likewise.
19370         (__add): Likewise.
19371         (__sub): Likewise.
19372         (__mul): Likewise.
19373         (__inv): Likewise.
19374         (__dvd): Likewise.
19376 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
19378         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19379         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19380         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19381         2 && __USE_EXTERN_INLINES]: Likewise.
19383 2013-01-08  Andreas Jaeger  <aj@suse.de>
19385         [BZ# 14985]
19386         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19387         Remove.
19388         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19389         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19391 2013-01-07  Anton Blanchard  <anton@samba.org>
19393         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19394         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19395         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19396         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19397         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19398         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19399         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19400         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19402         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19403         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19404         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19405         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19406         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19407         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19408         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19409         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19410         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19411         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19412         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19413         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19414         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19415         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19416         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19417         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19418         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19419         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19420         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19421         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19422         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19423         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19425         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19426         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19427         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19428         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19429         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19430         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19431         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19432         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19433         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19434         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19435         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19437 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
19439         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19440         (__MALLOC_PMT): Likewise.
19441         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19442         [__GNUC__], only on [_LIBC].
19443         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19444         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19445         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19446         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19447         forward declaration.
19448         (realloc_hook_ini): Likewise.
19449         (memalign_hook_ini): Likewise.
19450         (__libc_memalign): Do not use __MALLOC_PMT in variable
19451         declaration.
19452         (__libc_valloc): Likewise.
19453         (__libc_pvalloc): Likewise.
19454         (__libc_calloc): Likewise.
19455         (__posix_memalign): Likewise.
19457         [BZ #14996]
19458         * math/s_casinh.c: Include <float.h>.
19459         (__casinh): Do not do computation with squaring and square root
19460         for large arguments.
19461         * math/s_casinhf.c: Include <float.h>.
19462         (__casinhf): Do not do computation with squaring and square root
19463         for large arguments.
19464         * math/s_casinhl.c: Include <float.h>.
19465         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19466         (__casinhl): Do not do computation with squaring and square root
19467         for large arguments.
19468         * math/libm-test.inc (casin_test): Add more tests.
19469         (casinh_test): Likewise.
19470         * sysdeps/i386/fpu/libm-test-ulps: Update.
19471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
19475         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19476         (__x86_64_raw_data_cache_size): Likewise.
19477         (__x86_64_data_cache_size_half): Likewise.
19478         (__x86_64_raw_data_cache_size_half): Likewise.
19479         (__x86_64_shared_cache_size): Likewise.
19480         (__x86_64_raw_shared_cache_size): Likewise.
19481         (__x86_64_shared_cache_size_half): Likewise.
19482         (__x86_64_raw_shared_cache_size_half): Likewise.
19483         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19484         to ...
19485         (__x86_data_cache_size): This.
19486         (__x86_64_raw_data_cache_size): Renamed to ...
19487         (__x86_raw_data_cache_size): This.
19488         (__x86_64_data_cache_size_half): Renamed to ...
19489         (__x86_data_cache_size_half): This.
19490         (__x86_64_raw_data_cache_size_half): Renamed to ...
19491         (__x86_raw_data_cache_size_half): This.
19492         (__x86_64_shared_cache_size): Renamed to ...
19493         (__x86_shared_cache_size): This.
19494         (__x86_64_raw_shared_cache_size): Renamed to ...
19495         (__x86_raw_shared_cache_size): This.
19496         (__x86_64_shared_cache_size_half): Renamed to ...
19497         (__x86_shared_cache_size_half): This.
19498         (__x86_64_raw_shared_cache_size_half): Renamed to ...
19499         (__x86_raw_shared_cache_size_half): This.
19500         * sysdeps/x86_64/memcpy.S: Updated.
19501         * sysdeps/x86_64/memset.S: Likewise.
19502         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19503         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19504         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19506 2013-01-04  David S. Miller  <davem@davemloft.net>
19508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19510 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
19512         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19513         1 to avoid redefinition warning.
19514         (__USE_GNU): Don't define.
19515         (init_signaling_nan): Protoize.
19517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19519 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19521         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19523         (__cpymn): Likewise.
19524         (norm): Remove commented code.
19525         (denorm): Likewise.
19526         (__mp_dbl): Likewise.
19527         (__inv): Likewise.
19528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19529         (__cpymn): Likewise.
19530         (norm): Remove commented code.
19531         (denorm): Likewise.
19532         (__mp_dbl): Likewise.
19533         (__inv): Likewise.
19535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19536         mp_no value for 1.0 and 2.0.
19537         (norm): Use RADIXI instead of radixi.d.
19538         (denorm): Likewise.
19539         (__mul): Use 0.0 instead of zero.d.
19540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19541         mp_no value for 1.0 and 2.0.
19542         (norm): Use RADIXI instead of radixi.d.
19543         (denorm): Likewise.
19544         (__mul): Use 0.0 instead of zero.d.
19546 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19548         [BZ #14994]
19549         * math/s_casinh.c (__casinh): Reduce finite argument to first
19550         quadrant then set signs of results at the end.
19551         * math/s_casinhf.c (__casinhf): Likewise.
19552         * math/s_casinhl.c (__casinhl): Likewise.
19553         * math/libm-test.inc (casin_test): Add more tests.
19554         (casinh_test): Likewise.
19555         * sysdeps/i386/fpu/libm-test-ulps: Update.
19556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19558 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19560         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19562         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19564         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19565         declarations.
19566         (denorm): Likewise.
19567         (__mp_dbl): Likewise.
19568         (__inv): Likewise.
19570         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19571         and adjust the header comment.
19573         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19574         variable name from declaration.
19576 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19579         Initialize COMMON_CPUID_INDEX_7 element.
19580         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19581         (CPUID_RTM): Likewise.
19582         (HAS_RTM): Likewise.
19583         (COMMON_CPUID_INDEX_7): New enum.
19585 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19587         [BZ #14981]
19588         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19589         size is zero, record memory as freed.
19591 2013-01-03  Andreas Jaeger  <aj@suse.de>
19593         * po/ia.po: Add new Interlingua translation.
19595 2012-01-03  Allan McRae  <allan@archlinux.org>
19597         * locale/programs/localedef.c: Fix description of '--posix' flag.
19599 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19601         * NEWS: Update dates in second copyright notice.
19602         * README: Update copyright dates in example.
19603         * manual/libc.texinfo: Update copyright dates.
19604         * scripts/test-installation.pl: Update copyright date in --version
19605         output.
19607         * hurd/ctty-input.c: Fix copyright notice formatting.
19608         * hurd/ctty-output.c: Likewise.
19609         * hurd/dtable.c: Likewise.
19610         * hurd/hurd-raise.c: Likewise.
19611         * hurd/hurdprio.c: Likewise.
19612         * hurd/msgportdemux.c: Likewise.
19613         * misc/sys/file.h: Likewise.
19614         * misc/sys/ioctl.h: Likewise.
19615         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19616         * sysdeps/mach/hurd/chdir.c: Likewise.
19617         * sysdeps/mach/hurd/fchdir.c: Likewise.
19618         * sysdeps/mach/hurd/rename.c: Likewise.
19619         * sysdeps/mach/hurd/rmdir.c: Likewise.
19620         * sysdeps/mach/hurd/seekdir.c: Likewise.
19621         * sysdeps/mach/hurd/setsid.c: Likewise.
19622         * sysdeps/posix/wait3.c: Likewise.
19624         * All files with FSF copyright notices: Update copyright dates
19625         using scripts/update-copyrights.
19626         * intl/plural.c: Regenerated.
19627         * locale/programs/charmap-kw.h: Likewise.
19628         * locale/programs/locfile-kw.h: Likewise.
19630 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19632         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19633         four values.
19635         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19636         calculation loop and add branch prediction.
19638         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19639         check access beyond bounds of m1np.
19641         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19642         MPTWO.
19643         (__inv): Remove local variable MPTWO to use the global
19644         constant.
19645         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19646         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19647         variable MPTWO.
19648         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19649         MP3HALFS static const.
19651 2013-01-01  David S. Miller  <davem@davemloft.net>
19653         * po/ca.po: Update from translation team.
19655 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19657         * scripts/update-copyrights: New file.
19658         * Makeconfig: Reformat copyright notice.
19659         * ctype/ctype.h: Likewise.
19660         * debug/swprintf_chk.c: Likewise.
19661         * elf/dl-cache.c: Likewise.
19662         * elf/dl-debug.c: Likewise.
19663         * elf/dl-object.c: Likewise.
19664         * grp/initgroups.c: Likewise.
19665         * hurd/Makefile: Likewise.
19666         * hurd/hurd/signal.h: Likewise.
19667         * hurd/hurdfault.c: Likewise.
19668         * hurd/hurdioctl.c: Likewise.
19669         * hurd/hurdlookup.c: Likewise.
19670         * hurd/intr-msg.c: Likewise.
19671         * iconv/gconv_open.c: Likewise.
19672         * libio/swprintf.c: Likewise.
19673         * locale/lc-ctype.c: Likewise.
19674         * locale/nl_langinfo.c: Likewise.
19675         * mach/Machrules: Likewise.
19676         * mach/Makefile: Likewise.
19677         * malloc/obstack.h: Likewise.
19678         * manual/Makefile: Likewise.
19679         * manual/tsort.awk: Likewise.
19680         * misc/bits/stab.def: Likewise.
19681         * nis/nis_print_group_entry.c: Likewise.
19682         * nis/nis_table.c: Likewise.
19683         * nis/nss_compat/compat-pwd.c: Likewise.
19684         * nis/nss_compat/compat-spwd.c: Likewise.
19685         * po/Makefile: Likewise.
19686         * posix/fnmatch.c: Likewise.
19687         * posix/regex.h: Likewise.
19688         * resolv/Makefile: Likewise.
19689         * resolv/nss_dns/dns-network.c: Likewise.
19690         * resolv/res_hconf.c: Likewise.
19691         * scripts/gen-sorted.awk: Likewise.
19692         * soft-fp/soft-fp.h: Likewise.
19693         * stdio-common/printf.h: Likewise.
19694         * stdlib/monetary.h: Likewise.
19695         * stdlib/random.c: Likewise.
19696         * stdlib/random_r.c: Likewise.
19697         * sysdeps/generic/Makefile: Likewise.
19698         * sysdeps/gnu/Makefile: Likewise.
19699         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19700         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19701         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19703         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19704         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19705         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19706         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19707         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19708         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19709         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19710         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19711         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19712         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19713         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19714         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19715         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19716         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19717         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19718         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19719         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19720         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19721         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19722         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19723         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19724         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19725         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19726         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19727         * sysdeps/mach/hurd/errnos.awk: Likewise.
19728         * sysdeps/mach/hurd/fork.c: Likewise.
19729         * sysdeps/mach/hurd/getcwd.c: Likewise.
19730         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19731         * sysdeps/mach/hurd/mmap.c: Likewise.
19732         * sysdeps/mach/hurd/utimes.c: Likewise.
19733         * sysdeps/mach/hurd/xmknod.c: Likewise.
19734         * sysdeps/posix/profil.c: Likewise.
19735         * sysdeps/posix/readdir_r.c: Likewise.
19736         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19737         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19738         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19739         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19741         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19742         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19743         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19745         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19746         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19747         * sysdeps/pthread/lio_listio.c: Likewise.
19748         * sysdeps/sparc/dl-procinfo.h: Likewise.
19749         * sysdeps/unix/i386/sysdep.S: Likewise.
19750         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19751         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19752         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19753         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19755         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19756         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19757         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19758         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19759         * sysdeps/wordsize-32/divdi3.c: Likewise.
19760         * time/sys/time.h: Likewise.
19761         * wcsmbs/Makefile: Likewise.
19763 2013-01-01  David S. Miller  <davem@davemloft.net>
19765         * po/fr.po: Update from translation team.
19767         * catgets/gencat.c: Update copyright year.
19768         * csu/version.c: Likewise.
19769         * debug/catchsegv.sh: Likewise.
19770         * debug/pcprofiledump.c: Likewise.
19771         * debug/xtrace.sh: Likewise.
19772         * elf/ldconfig.c: Likewise.
19773         * elf/ldd.bash.in: Likewise.
19774         * elf/pldd.c: Likewise.
19775         * elf/sotruss.ksh: Likewise.
19776         * elf/sprof.c: Likewise.
19777         * iconv/iconv_prog.c: Likewise.
19778         * iconv/iconvconfig.c: Likewise.
19779         * locale/programs/locale.c: Likewise.
19780         * locale/programs/localedef.c: Likewise.
19781         * login/programs/pt_chown.c: Likewise.
19782         * malloc/memusage.sh: Likewise.
19783         * malloc/memusagestat.c: Likewise.
19784         * malloc/mtrace.pl: Likewise.
19785         * nscd/nscd.c: Likewise.
19786         * nss/getent.c: Likewise.
19787         * nss/makedb.c: Likewise.
19788         * posix/getconf.c: Likewise.
19790 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19792         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19793         numbers.
19795 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
19797         * math/bits/mathcalls.h (modf): Use __nonnull.
19799 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19801         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19802         (split): Use macro CN instead of the bare value.
19803         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19804         could be used.
19805         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19806         instead of the bare value.
19807         (power1): Likewise.
19809 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19811         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19812         __ATAN_TWOM.
19813         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19815         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19816         their values.
19817         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19818         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19819         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19820         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19822 2012-12-28  Andreas Jaeger  <aj@suse.de>
19824         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
19825         values are from Linux 3.7.
19827         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19828         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
19830 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19832         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19833         TRUE case.
19835         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19836         (norm): Likewise.
19837         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19838         variables with preprocessor constants.
19839         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19840         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19841         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19843 2012-12-27  Bruno Haible  <bruno@clisp.org>
19845         [BZ #14317]
19846         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19847         only if needed.
19849 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19852         and use variable directly.
19853         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19855         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19856         MPONE.
19857         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19858         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19859         variable MPONE.
19860         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19861         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19862         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19863         include directive.  Remove local variable MPONE.
19864         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19865         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19866         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19868 2012-12-25  David S. Miller  <davem@davemloft.net>
19870         * version.h (RELEASE): Set to "development".
19871         (VERSION): Set to "2.17.90".
19872         * NEWS: Add 2.18 section.
19874 2012-12-21  David S. Miller  <davem@davemloft.net>
19876         * po/hr.po: Update from translation team.
19878 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19880         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19882 2012-12-19  Steve Ellcey  <sellcey@mips.com>
19884         * NEWS:  Mention new memcpy for MIPS.
19886 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19888         * manual/contrib.texi (Contributors): Spelling correction.
19890 2012-12-15  David S. Miller  <davem@davemloft.net>
19892         * po/ru.po: Update from translation team.
19894 2012-12-13  David S. Miller  <davem@davemloft.net>
19896         * NEWS: Mention IFUNC testsuite enhancements.
19898         * po/pl.po: Update from translation team.
19899         * po/bg.po: Likewise.
19901         * manual/contrib.texi (Contributors): Update entries for Hongjiu
19902         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
19904 2012-12-11  David S. Miller  <davem@davemloft.net>
19906         * po/sv.po: Update from translation team.
19908         * po/vi.po: Update from translation team.
19910         * po/cs.po: Update from translation team.
19912         * po/de.po: Update from translation team.
19913         * po/eo.po: Likewise.
19914         * po/nl.po: Likewise.
19916 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19918         [BZ #14246]
19919         * manual/argp.texi (Argp Helper Functions): Move node to follow
19920         Argp Parsing State.
19922         [BZ #14872]
19923         * manual/conf.texi (Limits on File System Capacity): Mention if
19924         terminating null is included in the max size.
19926 2012-12-10  Andreas Jaeger  <aj@suse.de>
19928         * po/cs.po: Update from translation team.
19930 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19932         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19933         void pointer and cast to uintptr_t.
19934         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19935         path.
19936         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19937         * sysdeps/s390/s390-64/memset.S: Likewise.
19939 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
19941         [BZ #14833]
19942         * menual/message.texi (Message Translation): Fix typos.
19943         (Helper programs for gettext): Likewise.
19945 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
19947         [BZ #14898]
19948         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19949         Change to -1.
19951 2012-12-07  David S. Miller  <davem@davemloft.net>
19953         * po/libc.pot: Update.
19955 2012-12-07  Richard Henderson  <rth@redhat.com>
19957         [BZ #10114]
19958         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19959         normal/normal case to before the switch.
19960         (_FP_DIV): Likewise.
19962 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
19963             Mike Frysinger  <vapier@gentoo.org>
19965         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19966         check for __NR_fadvise64_64.
19968 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
19970         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19971         0, not just to plain "0" as a statement.
19972         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19973         with cw.
19975 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
19977         * NEWS: Use sourceware.org in Bugzilla URL.
19979 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19982         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19984         * stdio-common/tst-put-error.c (do_test): Add newline to the
19985         padded test to ensure flush.
19987 2012-12-05  Jeff Law  <law@redhat.com>
19989         * sunrpc/etc.rpc (fedfs_admin): Add entry.
19991 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
19993         * README: Don't refer to ports add-on as distributed separately.
19994         Mention AArch64 in list of systems supported in the ports add-on.
19996         * LICENSES: Add more non-FSF copyright and license notices.
19998         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19999         ((unused)).
20001         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20003         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20004         10000 as width of padded output.
20006 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20008         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20010         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20011         variable LX with __attribute__ ((unused)).
20012         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20013         Likewise.
20014         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20016         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20017         with __attribute__ ((unused)).
20019 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20021         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20023 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20025         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20026         (CFLAGS-nldbl-acos.c): New variable.
20027         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20028         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20029         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20030         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20031         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20032         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20033         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20034         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20035         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20036         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20037         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20038         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20039         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20040         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20041         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20042         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20043         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20044         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20045         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20046         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20047         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20048         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20049         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20050         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20051         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20052         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20053         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20054         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20055         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20056         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20057         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20058         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20059         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20060         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20061         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20062         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20063         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20064         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20065         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20066         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20067         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20068         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20069         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20070         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20071         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20072         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20073         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20074         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20075         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20076         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20077         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20078         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20079         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20080         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20081         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20082         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20083         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20084         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20085         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20086         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20087         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20088         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20089         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20090         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20091         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20092         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20093         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20094         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20095         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20096         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20097         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20098         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20099         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20100         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20101         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20102         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20103         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20104         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20105         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20106         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20107         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20108         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20109         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20110         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20111         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20112         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20113         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20114         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20115         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20116         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20117         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20118         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20119         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20120         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20121         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20122         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20123         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20126         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20128         [BZ #14914]
20129         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20130         whole low double instead of just low 47 bits when splitting values
20131         into two parts.
20133 2012-12-03  Allan McRae  <allan@archlinux.org>
20135         * manual/stdio.texi (Predefined Printf Handlers): Remove
20136         @hsep and @vsep usage.
20138 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
20140         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20141         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20143 2012-12-03  Jeff Law  <law@redhat.com>
20145         * time/sys/time.h (settimeofday): Do not mark TV argument
20146         as __nonnull.
20148 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
20150         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20151         when currently writing and seek to current position when not.
20152         * libio/Makefile (tests): Remove bug-fclose1.
20153         * libio/bug-fclose1.c: Delete.
20155 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
20157         * manual/arith.texi (feenableexcept): Fix typo.
20158         (fedisableexcept): Likewise.
20160 2012-11-30  Roland McGrath  <roland@hack.frob.com>
20162         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20163         second, differently-typed declaration, rather than a cast.
20165 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20167         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20168         * include/rpc/svc.h: ... here.
20170 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
20172         [BZ #13013]
20173         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20174         depending n and resplen2 to catch cases where answer
20175         equals answerp2.
20177 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
20179         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20180         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20182 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
20184         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20186 2012-11-29  Roland McGrath  <roland@hack.frob.com>
20188         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20190 2012-11-28  Jeff Law  <law@redhat.com>
20192         [BZ #13761]
20193         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20194         dataset_temporary.  Track alloca usage into alloca_used.
20195         If dataset is large allocate and release it via malloc/free.
20197 2012-06-04  Florian Weimer  <fweimer@redhat.com>
20199         [BZ #14197]
20200         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20202 2012-11-28  David S. Miller  <davem@davemloft.net>
20204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20206 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20208         [BZ #14803]
20209         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20210         of pi/2 rounded to nearest to 64 bits.
20211         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20212         nearest to 64 bits.
20213         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20214         bits.
20216 2012-11-28  Jeff Law <law@redhat.com>
20217             Martin Osvald <mosvald@redhat.com>
20219         [BZ #14889]
20220         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20221         * sunrpc/svc.c: Include time.h.
20222         (__svc_accept_failed): New function.
20223         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20224         any reason other than EINTR, call __svc_accept_failed.
20225         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20226         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20228 2012-11-28  Andreas Schwab  <schwab@suse.de>
20230         * scripts/abilist.awk: Also handle indirect functions in .opd
20231         section.
20233 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20235         [BZ #13881]
20236         * sysdeps/x86/fpu/powl_helper.c: New file.
20237         * sysdeps/x86/fpu/Makefile: Likewise.
20238         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20239         (p3): New object.
20240         (__ieee754_powl): Use __powl_helper for finite arguments except
20241         integer exponents below 8.
20242         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20243         (p3): New object.
20244         (__ieee754_powl): Use __powl_helper for finite arguments except
20245         integer exponents below 8.
20246         * math/libm-test.inc (pow_test): Add more tests and enable some
20247         previously disabled tests.
20248         * sysdeps/i386/fpu/libm-test-ulps: Update.
20249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20252             Carlos O'Donell  <carlos_odonell@mentor.com>
20254         * nss/makedb.c (is_prime): Assert that input is odd and greater
20255         than 4.  Note that fact in a comment too.
20256         (next_prime): Add 4 to input.
20258 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20260         [BZ #11741]
20261         * libio/Makefile (tests): Add test case tst-fwrite-error.
20262         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20263         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20264         * libio/tst-fwrite-error.c: New test case.
20266 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
20268         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20269         before casting to void *.
20270         * include/libc-internal.h (__pointer_type): New macro.
20271         (__integer_if_pointer_type_sub): Likewise.
20272         (__integer_if_pointer_type): Likewise.
20273         (cast_to_integer): Likewise.
20274         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20275         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20276         before casting to atomic64_t.
20277         (atomic_exchange_acq): Likewise.
20278         (__arch_exchange_and_add_body): Likewise.
20279         (__arch_add_body): Likewise.
20280         (atomic_add_negative): Likewise.
20281         (atomic_add_zero): Likewise.
20283 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
20285         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20286         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20287         (add_fdes): Likewise.
20288         (linear_search_fdes): Likewise.
20289         (binary_search_unencoded_fdes): Likewise.
20291 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
20293         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20295 2012-11-24  Adam Conrad  <adconrad@0c3.net>
20297         * configure.in: Autodetect C++ header directories.
20298         * configure: Regenerated.
20300 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
20302         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20304 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
20306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20308 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
20310         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20311         LDBL_MANT_DIG == 106]: Disable some tests.
20312         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20313         Likewise.
20314         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20315         Likewise.
20317         [BZ #14871]
20318         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20319         input for small inputs.  Return +/- pi/2 for large inputs.
20320         * math/libm-test.inc (atan_test): Add more tests.
20322         * sysdeps/generic/unwind-dw2-fde-glibc.c
20323         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20324         __attribute__ ((unused)).
20326         [BZ #14645]
20327         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20328         x * y if x and y are nonzero and z is zero.
20330         [BZ #14811]
20331         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20332         nonzero exponents with absolute value below 0x1p-117 to +/-
20333         0x1p-117.
20335         [BZ #14869]
20336         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20337         up arguments below 2**-450, not just those below 2**-500.
20338         * math/libm-test.inc (hypot_test): Add another test.
20340         [BZ #14868]
20341         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20342         Return a+b for ratio over 2**120, not 2**60.
20343         * math/libm-test.inc (hypot_test): Add another test.
20345         * math/libm-test.inc (clog_test): Use
20346         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20347         (clog10_test): Likewise.
20349         [BZ #6778]
20350         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20352 2012-11-22  Andreas Schwab  <schwab@suse.de>
20354         * sysdeps/i386/fpu/libm-test-ulps: Update.
20356 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
20358         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20359         printf output with newline.
20361 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
20363         [BZ #14865]
20364         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20365         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20366         -z nodlopen, -z initfirst and -z execstack support.
20367         * configure: Regenerated.
20369         * elf/elf.h (DF_1_NODIRECT): New macro.
20370         (DF_1_IGNMULDEF): Likewise.
20371         (DF_1_NOKSYMS): Likewise.
20372         (DF_1_NOHDR): Likewise.
20373         (DF_1_EDITED): Likewise.
20374         (DF_1_NORELOC): Likewise.
20375         (DF_1_SYMINTPOSE): Likewise.
20376         (DF_1_GLOBAUDIT): Likewise.
20377         (DF_1_SINGLETON): Likewise.
20378         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20379         DT_1_SUPPORTED_MASK bits.
20380         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20382 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
20384         * sysdeps/unix/make-syscalls.sh: Document prefixes.
20386 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
20388         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20389         macro.
20391         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20392         (sendmmsg): Move declarations...
20393         * socket/sys/socket.h: ... here.
20394         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20395         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20396         include it from...
20397         * socket/recvmmsg.c: ... this new file.
20398         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20399         (sendmmsg): Rename to __sendmmsg, create weak alias and make
20400         definition of __sendmmsg hidden.
20401         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20402         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20403         Move ENOSYS stub into and include it from...
20404         * socket/sendmmsg.c: ... this new file.
20405         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20406         (sysdep_routines): Move recvmmsg and sendmmsg...
20407         * socket/Makefile (routines): ... here.
20408         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20409         (GLIBC_PRIVATE): Add __sendmmsg.
20410         * include/sys/socket.h (__sendmmsg): Add declarations.
20411         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20412         sendmmsg.
20414 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
20416         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20417         variable I1 with __attribute__ ((unused)).
20418         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20420 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20422         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20423         DUMMY variables with __attribute__ ((unused)).
20425         * bits/byteswap.h: Include <bits/types.h>.
20426         (__bswap_64): Use __uint64_t instead of unsigned long long int.
20428 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20430         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20431         string_t.  Do not manually set errno.
20432         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20433         length with __strnlen.  Make sure to both set errno and return it on
20434         failure.
20436 2012-11-19  David S. Miller  <davem@davemloft.net>
20438         With help from Joseph Myers.
20439         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20440         very large arguments properly.
20441         * math/libm-test.inc (atan_test): New tests.
20442         (atan2_test): New tests.
20443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20446 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20448         [BZ #14856]
20449         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20450         Define to 3.
20452         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20453         [POSIX] (EADDRNOTAVAIL): Likewise.
20454         [POSIX] (EAFNOSUPPORT): Likewise.
20455         [POSIX] (EALREADY): Likewise.
20456         [POSIX] (ECONNABORTED): Likewise.
20457         [POSIX] (ECONNREFUSED): Likewise.
20458         [POSIX] (ECONNRESET): Likewise.
20459         [POSIX] (EDESTADDRREQ): Likewise.
20460         [POSIX] (EDQUOT): Likewise.
20461         [POSIX] (EHOSTUNREACH): Likewise.
20462         [POSIX] (EIDRM): Likewise.
20463         [POSIX] (EISCONN): Likewise.
20464         [POSIX] (ELOOP): Likewise.
20465         [POSIX] (EMULTIHOP): Likewise.
20466         [POSIX] (ENETDOWN): Likewise.
20467         [POSIX] (ENETUNREACH): Likewise.
20468         [POSIX] (ENOBUFS): Likewise.
20469         [POSIX] (ENODATA): Likewise.
20470         [POSIX] (ENOLINK): Likewise.
20471         [POSIX] (ENOMSG): Likewise.
20472         [POSIX] (ENOPROTOOPT): Likewise.
20473         [POSIX] (ENOSR): Likewise.
20474         [POSIX] (ENOSTR): Likewise.
20475         [POSIX] (ENOTCONN): Likewise.
20476         [POSIX] (ENOTSOCK): Likewise.
20477         [POSIX] (EOPNOTSUPP): Likewise.
20478         [POSIX] (EOVERFLOW): Likewise.
20479         [POSIX] (EPROTO): Likewise.
20480         [POSIX] (EPROTONOSUPPORT): Likewise.
20481         [POSIX] (EPROTOTYPE): Likewise.
20482         [POSIX] (ESTALE): Likewise.
20483         [POSIX] (ETIME): Likewise.
20484         [POSIX] (ETXTBSY): Likewise.
20485         [POSIX] (EWOULDBLOCK): Likewise.
20486         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20487         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20488         [POSIX] (SEEK_CUR): Likewise.
20489         [POSIX] (SEEK_END): Likewise.
20490         [POSIX || UNIX98] (mode_t): Do not require.
20491         [POSIX] (off_t): Likewise.
20492         [POSIX] (pid_t): Likewise.
20493         [POSIX] (sys/stat.h): Do not allow header.
20494         [POSIX] (unistd.h): Likewise.
20495         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20496         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20497         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20498         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20499         require.
20500         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20501         sigevent): Specify elements.
20502         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20503         entry.
20504         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20505         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20507         * conform/data/cpio.h-data [POSIX]: Disable whole file.
20508         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20509         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20510         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20511         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20512         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20513         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20514         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20515         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20516         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20517         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20518         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20519         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20520         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20521         Likewise.
20522         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20523         Likewise.
20524         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20525         Likewise.
20526         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20527         Likewise.
20528         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20529         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20530         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20531         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20532         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20533         Specify lower bound on value.
20534         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20535         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20536         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20537         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20538         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20539         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20540         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20541         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20542         value.
20543         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20544         as optional.
20545         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20546         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20547         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20548         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20549         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20550         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20551         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20552         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20553         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20554         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20555         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20556         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20557         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20558         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20559         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20560         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20561         entry.
20562         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20563         optional.
20564         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20565         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20566         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20567         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20568         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20569         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20570         Likewise.
20571         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20572         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20573         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20574         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20575         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20576         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20577         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20578         as optional.
20579         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20580         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20581         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20582         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20583         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20584         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20585         specify as optional.
20586         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20587         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20588         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20589         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20590         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20591         [XPG3] (NL_LANGMAX): Likewise.
20592         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20593         [POSIX || XPG3] (NL_NMAX): Likewise.
20594         [POSIX || XPG3] (NL_SETMAX): Likewise.
20595         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20596         [XPG3] (NZERO): Likewise.
20597         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20598         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20599         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20600         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20601         (REG_ERANGE): Expect.
20602         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20603         optional-constant.
20604         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20605         Use (void) in prototype.
20606         [POSIX] (*_t): Allow.
20607         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20608         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20609         (WRDE_BADVAL): Expect.
20611         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20612         expect.
20613         [XPG3 || XPG4] (O_RSYNC): Likewise.
20614         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20615         Likewise.
20616         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20617         [XPG3 || XPG4] (sigqueue): Likewise.
20618         [XPG3 || XPG4] (sigtimedwait): Likewise.
20619         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20620         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20621         [XPG3 || XPG4] (vsnprintf): Likewise.
20622         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20623         Likewise.
20624         [XPG3 || XPG4] (blksize_t): Likewise.
20625         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20626         Likewise.
20627         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20628         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20629         [XPG3 || XPG4] (struct itimerspec): Likewise.
20630         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20631         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20632         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20633         [XPG3 || XPG4] (clockid_t): Likewise.
20634         [XPG3 || XPG4] (timer_t): Likewise.
20635         [XPG3 || XPG4] (clock_getres): Likewise.
20636         [XPG3 || XPG4] (clock_gettime): Likewise.
20637         [XPG3 || XPG4] (clock_settime): Likewise.
20638         [XPG3 || XPG4] (nanosleep): Likewise.
20639         [XPG3 || XPG4] (timer_create): Likewise.
20640         [XPG3 || XPG4] (timer_delete): Likewise.
20641         [XPG3 || XPG4] (timer_gettime): Likewise.
20642         [XPG3 || XPG4] (timer_getoverrun): Likewise.
20643         [XPG3 || XPG4] (timer_settime): Likewise.
20644         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20645         [XPG3 || XPG4] (getlogin_r): Likewise.
20646         [XPG3 || XPG4] (pread): Likewise.
20647         [XPG3 || XPG4] (pthread_atfork): Likewise.
20648         [XPG3 || XPG4] (pwrite): Likewise.
20650         [BZ #14835]
20651         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20652         <bits/siginfo.h>.
20654 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20656         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20657         finalizing MALLSTREAM.
20659         * sysdeps/mach/hurd/syncfs.c: New file.
20661 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20663         [BZ #14719]
20664         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20665         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20666         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20667         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20668         (_nss_dns_gethostbyname4_r): Likewise.
20669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20670         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20672 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20674         [BZ #13763]
20675         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20677 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20679         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20680         * elf/cache.c (print_entry): Print ",AArch64" for
20681         FLAG_AARCH64_LIB64
20683         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20684         * elf/cache.c (print_entry): Print ",hard-float" for
20685         FLAG_ARM_LIBHF.
20687 2012-11-18  David S. Miller  <davem@davemloft.net>
20689         With help from Joseph Myers.
20690         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20691         cutoff to 2**-13.
20692         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20693         cutoff to 2**-25.
20694         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20695         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20696         small.
20697         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20698         * math/libm-test.inc (y0_test): New tests.
20699         (y1_test): New tests.
20700         * sysdeps/i386/fpu/libm-test-ulps: Update.
20701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20704 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20706         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20707         64-bit targets.
20708         * configure: Regenerated.
20710 2012-11-17  David S. Miller  <davem@davemloft.net>
20712         [BZ #14811]
20713         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20714         nonzero exponents with absolute value below 0x1p-128 to +/-
20715         0x1p-128.
20717 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20719         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20721         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20723         * posix/getconf-speclist.c: New file.
20724         * posix/posix-envs.def: Likewise.
20725         * posix/confstr.c (START_ENV_GROUP): New macro.
20726         (END_ENV_GROUP): Likewise.
20727         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20728         (KNOWN_PRESENT_ENV_STRING): Likewise.
20729         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20730         (UNKNOWN_ENVIRONMENT): Likewise.
20731         (confstr): Include posix-envs.def instead of handling
20732         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20733         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20734         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20735         (END_ENV_GROUP): Likewise.
20736         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20737         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20738         (UNKNOWN_ENVIRONMENT): Likewise.
20739         (__sysconf): Include posix-envs.def instead of handling associated
20740         cases directly here.
20741         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20742         preprocessing getconf-speclist.c rather than running getconf or
20743         generating empty file.
20745 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20747         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20749 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20751         [BZ #14672]
20752         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20754 2012-11-16  David S. Miller  <davem@davemloft.net>
20756         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20757         smaller than LDBL_EPSILON/2.0L, just return xm1.
20759 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20761         * elf/tst-array1.c (init): Set constructor priority to 1000.
20762         (fini): Set destructor priority to 1000.
20763         * elf/tst-array2dep.c: Likewise.
20765 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20767         [BZ #11741]
20768         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20769         (_IO_new_file_xsputn): Also return EOF if none of the input
20770         data was written when overflow failed.
20771         * libio/iopadn.c (_IO_padn): Likewise.
20772         * libio/iowpadn.c (_IO_wpadn): Likewise.
20773         * stdio-common/tst-put-error.c: Add copyright notice.
20774         (do_test): Add case for printing padded string.
20775         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20776         _IO_padn returned error.
20777         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20778         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20779         return EOF.
20781 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20783         * libio/libioP.h: Add comment note that the references to C++
20784         bits are now obsolete.
20786 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20788         * math/libm-test.inc (check_complex): Use asprintf.
20790 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
20792         * debug/pcprofiledump.c (print_version): Update copyright year.
20793         * malloc/memusagestat.c (print_version): Likewise.
20795 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20797         [BZ #14831]
20798         * elf/Makefile (tests): Add tst-audit8.
20799         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20800         ($(objpfx)tst-audit8.out): New target.
20801         (tst-audit8-ENV): New variable.
20802         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20803         audit if l_reloc_result is NULL.
20804         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20805         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20806         * elf/tst-audit8.c: New file.
20808 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20810         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20811         * misc/Makefile (CFLAGS-select.c): Define.
20812         * posix/Makefile (CFLAGS-pause.c): Define.
20814 2012-11-13  David S. Miller  <davem@davemloft.net>
20816         * crypt/Makefile: Move test targets after toplevel Rules
20817         inclusion.  Grab any necessary sysdep routines when linking.
20818         * crypt/md5.c (md5_process_block): Remove define, we will always
20819         name it __md5_process_block.
20820         (md5_finish_ctx): Update md5_process_block call.
20821         (md5_stream): Likewise.
20822         (md5_process_bytes): Likewise.
20823         (md5_process_block): Rename to __md5_process_block and move to ...
20824         * crypt/md5-block.c: ... here.
20825         * crypt/sha256.c (sha256_process_block): Move to ...
20826         * crypt/sha256-block.c: ... here.
20827         * crypt/sha512.c (sha512_process_block): Move to ...
20828         * crypt/sha512-block.c: ... here.
20829         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20830         path.
20831         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20832         * sysdeps/sparc/sparc64/multiarch/Makefile
20833         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20834         crypt subdir.
20835         (localedef-aux): Add md5 crypto assembler when in locale subdir.
20836         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20837         multiarch changes.
20838         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20839         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20840         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20841         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20842         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20843         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20844         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20845         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20846         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20847         file.
20848         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20849         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20850         file.
20851         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20853 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
20855         * timezone/tzselect.ksh: Update from tzcode git revision
20856         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20857         * timezone/zdump.c: Likewise.
20858         * timezone/zic.c: Likewise.
20859         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20860         in TZVERSION setting, not $(PKGVERSION).
20861         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
20862         REPORT_BUGS_TO settings.
20864         [BZ #14838]
20865         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20866         macro.
20868 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20870         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20871         detection to immediately after _FP_ROUND().
20872         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20873         bits are 0.
20875 2012-11-11  David S. Miller  <davem@davemloft.net>
20877         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20878         inttypes.h
20879         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20880         __close rather than their public counterparts.
20882 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
20884         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20885         file.
20886         [UNIX98] (sem_timedwait): Do not expect.
20887         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20888         [XPG4 || UNIX98] (sockatmark): Do not expect.
20889         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20890         (clock_getcpuclockid): Do not expect.
20891         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20892         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20893         Do not expect.
20894         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20895         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20896         [UNIX98] (vwscanf): Likewise.
20897         [UNIX98] (vswscanf): Likewise.
20899 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
20901         * timezone/version.h: Remove file.
20902         * timezone/README: Do not refer to version.h.
20903         * timezone/Makefile ($(objpfx)zic.o): New dependency on
20904         $(objpfx)version.h.
20905         ($(objpfx)zdump.o): Likewise.
20906         ($(objpfx)version.h): New target.
20908         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20909         2012i.
20910         * timezone/README: Don't mention modification to tzselect.ksh.
20911         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20912         work on unmodified tzselect.ksh.  Substitute version numbers in
20913         tzselect.ksh.
20915         * Makefile (format-me): Remove.
20916         (INSTALL): Adjust indentation.  Use commands directly instead of
20917         using $(format-me).
20919         * aclocal.m4 (ACX_PKGVERSION): New macro.
20920         (ACX_BUGURL): Likewise.
20921         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20922         (PKGVERSION): New AC_DEFINE_UNQUOTED.
20923         (REPORT_BUGS_TO): Likewise.
20924         * configure: Regenerated.
20925         * config.h.in (PKGVERSION): New macro.
20926         (REPORT_BUGS_TO): Likewise.
20927         * config.make.in (PKGVERSION): New variable.
20928         (PKGVERSION_TEXI): Likewise.
20929         (REPORT_BUGS_TO): Likewise.
20930         (REPORT_BUGS_TEXI): Likewise.
20931         * Makefile (format-me): Use -I$(common-objpfx)manual.
20932         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20933         ($(common-objpfx)manual/%): New target.
20934         (manual/%): Remove target.
20935         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20936         (print_version): Use PKGVERSION.
20937         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20938         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20939         and REPORT_BUGS_TO.
20940         ($(objpfx)xtrace): Likewise.
20941         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20942         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20943         (print_version): Use PKGVERSION.
20944         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20945         (do_version): Use PKGVERSION.
20946         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20947         REPORT_BUGS_TO.
20948         (common-ldd-rewrite): Likewise.
20949         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20950         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20951         (print_version): Use PKGVERSION.
20952         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20953         * elf/pldd.c (argp_program_bug_address): Remove variable.
20954         (more_help): New function.
20955         (argp): Use more_help.
20956         (print_version): Use PKGVERSION.
20957         * elf/sln.c (main): Use PKGVERSION.
20958         (usage): Use REPORT_BUGS_TO.
20959         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20960         (top level): Use PKGVERSION.
20961         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20962         (print_version): Use PKGVERSION.
20963         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20964         (print_version): Use PKGVERSION.
20965         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20966         (print_version): Use PKGVERSION.
20967         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20968         (print_version): Use PKGVERSION.
20969         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20970         (print_version): Use PKGVERSION.
20971         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20972         (print_version): Use PKGVERSION.
20973         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20974         and BUGURL.
20975         ($(objpfx)memusage): Likewise.
20976         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20977         (do_version): Use PKGVERSION.
20978         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20979         (print_version): Use PKGVERSION.
20980         * malloc/mtrace.pl ($PACKAGE): Remove variable.
20981         ($PKGVERSION): New variable.
20982         ($REPORT_BUGS_TO): Likewise.
20983         (usage): Use $REPORT_BUGS_TO.
20984         (top level): Use $PKGVERSION.
20985         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20986         ($(objpfx)pkgvers.texi): New rule.
20987         ($(objpfx)stamp-pkgvers): Likewise.
20988         * manual/install.texi: Include pkgvers.texi.
20989         (--with-pkgversion): Document new configure option.
20990         (--with-bugurl): Likewise.
20991         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20992         than necessarily for this particular distribution.  Use
20993         REPORT_BUGS_TO for where to report bugs.
20994         * INSTALL: Regenerated.
20995         * manual/libc.texinfo: Include pkgvers.texi.
20996         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20997         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20998         (print_version): Use PKGVERSION.
20999         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21000         (print_version): Use PKGVERSION.
21001         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21002         (print_version): Use PKGVERSION.
21003         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21004         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21005         macro.
21006         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21007         (print_version): Use PKGVERSION.
21008         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21009         (print_version): Use PKGVERSION.
21010         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21011         and PKGVERSION.
21013         * timezone/checktab.awk: Update from tzcode 2012i.
21014         * timezone/ialloc.c: Likewise.
21015         * timezone/private.h: Likewise.
21016         * timezone/scheck.c: Likewise.
21017         * timezone/tzfile.h: Likewise.
21018         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21019         (TZVERSION): Hardcode tzcode version number.
21020         * timezone/zdump.c: Update from tzcode 2012i.
21021         * timezone/zic.c: Likewise.
21022         * timezone/version.h: New file.
21023         * timezone/README: Describe version.h.  Update upstream location.
21025         [BZ #14824]
21026         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21027         (mktemp): Enable declaration.
21028         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21029         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21030         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21031         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21032         Likewise.
21033         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21034         Likewise.
21035         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21036         Likewise.
21037         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21038         Likewise.
21039         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21040         Likewise.
21041         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21042         Likewise.
21044         [BZ #14821]
21045         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21046         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21047         for copies of such integer values.
21048         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21049         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21051 2012-11-09  Andreas Jaeger  <aj@suse.de>
21053         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21054         definitions and declarations that are provided by
21055         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21057 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21059         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21060         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21061         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21062         definition.
21064 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21066         * elf/elf.h: Update comment before AArch64 relocations.
21068 2012-11-07  David S. Miller  <davem@davemloft.net>
21070         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21071         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21072         (__start_context): Declare.
21073         (__makecontext_ret): Delete.
21074         (__makecontext): Hook up __start_context instead of
21075         __makecontext_ret.
21076         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21077         (sysdep_routines): Add __start_context when in stdlib.
21079 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21081         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21082         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21083         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21084         hardcoded "nm".
21085         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21086         (READELF): New variable.  Use it instead of hardcoded "readelf".
21088 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21090         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21091         * sysdeps/x86/Makefile: Here.
21092         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21093         * sysdeps/x86/tst-xmmymm.sh: This.
21095 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21097         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21098         expectations.
21099         [UNIX98] (pthread_barrier_t): Do not expect.
21100         [UNIX98] (pthread_barrierattr_t): Likewise.
21101         [UNIX98] (pthread_spinlock_t): Likewise.
21102         [UNIX98] (pthread_barrier_destroy): Likewise.
21103         [UNIX98] (pthread_barrier_init): Likewise.
21104         [UNIX98] (pthread_barrier_wait): Likewise.
21105         [UNIX98] (pthread_barrierattr_destroy): Likewise.
21106         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21107         [UNIX98] (pthread_barrierattr_init): Likewise.
21108         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21109         [UNIX98] (pthread_getcpuclockid): Likewise.
21110         [UNIX98] (pthread_mutex_timedlock): Likewise.
21111         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21112         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21113         [UNIX98] (pthread_sigmask): Likewise.
21114         [UNIX98] (pthread_spin_destroy): Likewise.
21115         [UNIX98] (pthread_spin_init): Likewise.
21116         [UNIX98] (pthread_spin_lock): Likewise.
21117         [UNIX98] (pthread_spin_trylock): Likewise.
21118         [UNIX98] (pthread_spin_unlock): Likewise.
21119         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21120         Do not expect.
21121         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21122         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21123         [XPG3 || XPG4] (pthread_cond_t): Likewise.
21124         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21125         [XPG3 || XPG4] (pthread_key_t): Likewise.
21126         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21127         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21128         [XPG3 || XPG4] (pthread_once_t): Likewise.
21129         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21130         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21131         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21132         [XPG3 || XPG4] (pthread_t): Likewise.
21134         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21135         not expect.
21136         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21138         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21139         Change function return type to int.
21141         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21142         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21143         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21144         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21145         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21146         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21147         [!POSIX] (posix_madvise): Likewise.
21148         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21149         && !UNIX98].
21150         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21151         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21152         (mode_t): Likewise.
21153         (posix_mem_offset): Likewise.
21154         (posix_typed_mem_get_info): Likewise.
21155         (posix_typed_mem_open): Likewise.
21157         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21158         Change condition to [XOPEN2K8].
21160         * conform/conformtest.pl: Preprocess allow-header data with -x c
21161         instead of from stdin.
21162         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21163         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21164         [C99-based standards] (cerfc): Likewise.
21165         [C99-based standards] (cexp2): Likewise.
21166         [C99-based standards] (cexpm1): Likewise.
21167         [C99-based standards] (clog10): Likewise.
21168         [C99-based standards] (clog1p): Likewise.
21169         [C99-based standards] (clog2): Likewise.
21170         [C99-based standards] (clgamma): Likewise.
21171         [C99-based standards] (ctgamma): Likewise.
21172         [C99-based standards] (cerff): Likewise.
21173         [C99-based standards] (cerfcf): Likewise.
21174         [C99-based standards] (cexp2f): Likewise.
21175         [C99-based standards] (cexpm1f): Likewise.
21176         [C99-based standards] (clog10f): Likewise.
21177         [C99-based standards] (clog1pf): Likewise.
21178         [C99-based standards] (clog2f): Likewise.
21179         [C99-based standards] (clgammaf): Likewise.
21180         [C99-based standards] (ctgammaf): Likewise.
21181         [C99-based standards] (cerfl): Likewise.
21182         [C99-based standards] (cerfcl): Likewise.
21183         [C99-based standards] (cexp2l): Likewise.
21184         [C99-based standards] (cexpm1l): Likewise.
21185         [C99-based standards] (clog10l): Likewise.
21186         [C99-based standards] (clog1pl): Likewise.
21187         [C99-based standards] (clog2l): Likewise.
21188         [C99-based standards] (clgammal): Likewise.
21189         [C99-based standards] (ctgammal): Likewise.
21190         * conform/data/inttypes.h-data [C99-based standards]: Include
21191         stdint.h-data.  Remove all expectations for stdint.h contents.
21192         [C99-based standards] (PRI*): Do not allow.
21193         [C99-based standards] (SCN*): Likewise.
21194         [C99-based standards] (*_t): Likewise.
21195         [C99-based-standards] (PRId8): Expect macro.
21196         [C99-based-standards] (PRIi8): Likewise.
21197         [C99-based-standards] (PRIo8): Likewise.
21198         [C99-based-standards] (PRIu8): Likewise.
21199         [C99-based-standards] (PRIx8): Likewise.
21200         [C99-based-standards] (PRIX8): Likewise.
21201         [C99-based-standards] (SCNd8): Likewise.
21202         [C99-based-standards] (SCNi8): Likewise.
21203         [C99-based-standards] (SCNo8): Likewise.
21204         [C99-based-standards] (SCNu8): Likewise.
21205         [C99-based-standards] (SCNx8): Likewise.
21206         [C99-based-standards] (PRIdLEAST8): Likewise.
21207         [C99-based-standards] (PRIiLEAST8): Likewise.
21208         [C99-based-standards] (PRIoLEAST8): Likewise.
21209         [C99-based-standards] (PRIuLEAST8): Likewise.
21210         [C99-based-standards] (PRIxLEAST8): Likewise.
21211         [C99-based-standards] (PRIXLEAST8): Likewise.
21212         [C99-based-standards] (SCNdLEAST8): Likewise.
21213         [C99-based-standards] (SCNiLEAST8): Likewise.
21214         [C99-based-standards] (SCNoLEAST8): Likewise.
21215         [C99-based-standards] (SCNuLEAST8): Likewise.
21216         [C99-based-standards] (SCNxLEAST8): Likewise.
21217         [C99-based-standards] (PRIdFAST8): Likewise.
21218         [C99-based-standards] (PRIiFAST8): Likewise.
21219         [C99-based-standards] (PRIoFAST8): Likewise.
21220         [C99-based-standards] (PRIuFAST8): Likewise.
21221         [C99-based-standards] (PRIxFAST8): Likewise.
21222         [C99-based-standards] (PRIXFAST8): Likewise.
21223         [C99-based-standards] (SCNdFAST8): Likewise.
21224         [C99-based-standards] (SCNiFAST8): Likewise.
21225         [C99-based-standards] (SCNoFAST8): Likewise.
21226         [C99-based-standards] (SCNuFAST8): Likewise.
21227         [C99-based-standards] (SCNxFAST8): Likewise.
21228         [C99-based-standards] (PRId16): Likewise.
21229         [C99-based-standards] (PRIi16): Likewise.
21230         [C99-based-standards] (PRIo16): Likewise.
21231         [C99-based-standards] (PRIu16): Likewise.
21232         [C99-based-standards] (PRIx16): Likewise.
21233         [C99-based-standards] (PRIX16): Likewise.
21234         [C99-based-standards] (SCNd16): Likewise.
21235         [C99-based-standards] (SCNi16): Likewise.
21236         [C99-based-standards] (SCNo16): Likewise.
21237         [C99-based-standards] (SCNu16): Likewise.
21238         [C99-based-standards] (SCNx16): Likewise.
21239         [C99-based-standards] (PRIdLEAST16): Likewise.
21240         [C99-based-standards] (PRIiLEAST16): Likewise.
21241         [C99-based-standards] (PRIoLEAST16): Likewise.
21242         [C99-based-standards] (PRIuLEAST16): Likewise.
21243         [C99-based-standards] (PRIxLEAST16): Likewise.
21244         [C99-based-standards] (PRIXLEAST16): Likewise.
21245         [C99-based-standards] (SCNdLEAST16): Likewise.
21246         [C99-based-standards] (SCNiLEAST16): Likewise.
21247         [C99-based-standards] (SCNoLEAST16): Likewise.
21248         [C99-based-standards] (SCNuLEAST16): Likewise.
21249         [C99-based-standards] (SCNxLEAST16): Likewise.
21250         [C99-based-standards] (PRIdFAST16): Likewise.
21251         [C99-based-standards] (PRIiFAST16): Likewise.
21252         [C99-based-standards] (PRIoFAST16): Likewise.
21253         [C99-based-standards] (PRIuFAST16): Likewise.
21254         [C99-based-standards] (PRIxFAST16): Likewise.
21255         [C99-based-standards] (PRIXFAST16): Likewise.
21256         [C99-based-standards] (SCNdFAST16): Likewise.
21257         [C99-based-standards] (SCNiFAST16): Likewise.
21258         [C99-based-standards] (SCNoFAST16): Likewise.
21259         [C99-based-standards] (SCNuFAST16): Likewise.
21260         [C99-based-standards] (SCNxFAST16): Likewise.
21261         [C99-based-standards] (PRId32): Likewise.
21262         [C99-based-standards] (PRIi32): Likewise.
21263         [C99-based-standards] (PRIo32): Likewise.
21264         [C99-based-standards] (PRIu32): Likewise.
21265         [C99-based-standards] (PRIx32): Likewise.
21266         [C99-based-standards] (PRIX32): Likewise.
21267         [C99-based-standards] (SCNd32): Likewise.
21268         [C99-based-standards] (SCNi32): Likewise.
21269         [C99-based-standards] (SCNo32): Likewise.
21270         [C99-based-standards] (SCNu32): Likewise.
21271         [C99-based-standards] (SCNx32): Likewise.
21272         [C99-based-standards] (PRIdLEAST32): Likewise.
21273         [C99-based-standards] (PRIiLEAST32): Likewise.
21274         [C99-based-standards] (PRIoLEAST32): Likewise.
21275         [C99-based-standards] (PRIuLEAST32): Likewise.
21276         [C99-based-standards] (PRIxLEAST32): Likewise.
21277         [C99-based-standards] (PRIXLEAST32): Likewise.
21278         [C99-based-standards] (SCNdLEAST32): Likewise.
21279         [C99-based-standards] (SCNiLEAST32): Likewise.
21280         [C99-based-standards] (SCNoLEAST32): Likewise.
21281         [C99-based-standards] (SCNuLEAST32): Likewise.
21282         [C99-based-standards] (SCNxLEAST32): Likewise.
21283         [C99-based-standards] (PRIdFAST32): Likewise.
21284         [C99-based-standards] (PRIiFAST32): Likewise.
21285         [C99-based-standards] (PRIoFAST32): Likewise.
21286         [C99-based-standards] (PRIuFAST32): Likewise.
21287         [C99-based-standards] (PRIxFAST32): Likewise.
21288         [C99-based-standards] (PRIXFAST32): Likewise.
21289         [C99-based-standards] (SCNdFAST32): Likewise.
21290         [C99-based-standards] (SCNiFAST32): Likewise.
21291         [C99-based-standards] (SCNoFAST32): Likewise.
21292         [C99-based-standards] (SCNuFAST32): Likewise.
21293         [C99-based-standards] (SCNxFAST32): Likewise.
21294         [C99-based-standards] (PRId64): Likewise.
21295         [C99-based-standards] (PRIi64): Likewise.
21296         [C99-based-standards] (PRIo64): Likewise.
21297         [C99-based-standards] (PRIu64): Likewise.
21298         [C99-based-standards] (PRIx64): Likewise.
21299         [C99-based-standards] (PRIX64): Likewise.
21300         [C99-based-standards] (SCNd64): Likewise.
21301         [C99-based-standards] (SCNi64): Likewise.
21302         [C99-based-standards] (SCNo64): Likewise.
21303         [C99-based-standards] (SCNu64): Likewise.
21304         [C99-based-standards] (SCNx64): Likewise.
21305         [C99-based-standards] (PRIdLEAST64): Likewise.
21306         [C99-based-standards] (PRIiLEAST64): Likewise.
21307         [C99-based-standards] (PRIoLEAST64): Likewise.
21308         [C99-based-standards] (PRIuLEAST64): Likewise.
21309         [C99-based-standards] (PRIxLEAST64): Likewise.
21310         [C99-based-standards] (PRIXLEAST64): Likewise.
21311         [C99-based-standards] (SCNdLEAST64): Likewise.
21312         [C99-based-standards] (SCNiLEAST64): Likewise.
21313         [C99-based-standards] (SCNoLEAST64): Likewise.
21314         [C99-based-standards] (SCNuLEAST64): Likewise.
21315         [C99-based-standards] (SCNxLEAST64): Likewise.
21316         [C99-based-standards] (PRIdFAST64): Likewise.
21317         [C99-based-standards] (PRIiFAST64): Likewise.
21318         [C99-based-standards] (PRIoFAST64): Likewise.
21319         [C99-based-standards] (PRIuFAST64): Likewise.
21320         [C99-based-standards] (PRIxFAST64): Likewise.
21321         [C99-based-standards] (PRIXFAST64): Likewise.
21322         [C99-based-standards] (SCNdFAST64): Likewise.
21323         [C99-based-standards] (SCNiFAST64): Likewise.
21324         [C99-based-standards] (SCNoFAST64): Likewise.
21325         [C99-based-standards] (SCNuFAST64): Likewise.
21326         [C99-based-standards] (SCNxFAST64): Likewise.
21327         [C99-based-standards] (PRIdMAX): Likewise.
21328         [C99-based-standards] (PRIiMAX): Likewise.
21329         [C99-based-standards] (PRIoMAX): Likewise.
21330         [C99-based-standards] (PRIuMAX): Likewise.
21331         [C99-based-standards] (PRIxMAX): Likewise.
21332         [C99-based-standards] (PRIXMAX): Likewise.
21333         [C99-based-standards] (SCNdMAX): Likewise.
21334         [C99-based-standards] (SCNiMAX): Likewise.
21335         [C99-based-standards] (SCNoMAX): Likewise.
21336         [C99-based-standards] (SCNuMAX): Likewise.
21337         [C99-based-standards] (SCNxMAX): Likewise.
21338         [C99-based-standards] (PRIdPTR): Likewise.
21339         [C99-based-standards] (PRIiPTR): Likewise.
21340         [C99-based-standards] (PRIoPTR): Likewise.
21341         [C99-based-standards] (PRIuPTR): Likewise.
21342         [C99-based-standards] (PRIxPTR): Likewise.
21343         [C99-based-standards] (PRIXPTR): Likewise.
21344         [C99-based-standards] (SCNdPTR): Likewise.
21345         [C99-based-standards] (SCNiPTR): Likewise.
21346         [C99-based-standards] (SCNoPTR): Likewise.
21347         [C99-based-standards] (SCNuPTR): Likewise.
21348         [C99-based-standards] (SCNxPTR): Likewise.
21349         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21350         allow.
21351         * conform/data/stdint.h-data: Update comments to clarify
21352         requirements.
21353         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
21354         type.
21355         [C99-based standards] (INT8_MAX): Likewise.
21356         [C99-based standards] (INT16_MIN): Likewise.
21357         [C99-based standards] (INT16_MAX): Likewise.
21358         [C99-based standards] (INT32_MIN): Likewise.
21359         [C99-based standards] (INT32_MAX): Likewise.
21360         [C99-based standards] (INT64_MIN): Likewise.
21361         [C99-based standards] (INT64_MAX): Likewise.
21362         [C99-based standards] (UINT8_MAX): Likewise.
21363         [C99-based standards] (UINT16_MAX): Likewise.
21364         [C99-based standards] (UINT32_MAX): Likewise.
21365         [C99-based standards] (UINT64_MAX): Likewise.
21366         [C99-based standards] (INT_LEAST8_MIN): Likewise.
21367         [C99-based standards] (INT_LEAST8_MAX): Likewise.
21368         [C99-based standards] (INT_LEAST16_MIN): Likewise.
21369         [C99-based standards] (INT_LEAST16_MAX): Likewise.
21370         [C99-based standards] (INT_LEAST32_MIN): Likewise.
21371         [C99-based standards] (INT_LEAST32_MAX): Likewise.
21372         [C99-based standards] (INT_LEAST64_MIN): Likewise.
21373         [C99-based standards] (INT_LEAST64_MAX): Likewise.
21374         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21375         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21376         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21377         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21378         [C99-based standards] (INT_FAST8_MIN): Likewise.
21379         [C99-based standards] (INT_FAST8_MAX): Likewise.
21380         [C99-based standards] (INT_FAST16_MIN): Likewise.
21381         [C99-based standards] (INT_FAST16_MAX): Likewise.
21382         [C99-based standards] (INT_FAST32_MIN): Likewise.
21383         [C99-based standards] (INT_FAST32_MAX): Likewise.
21384         [C99-based standards] (INT_FAST64_MIN): Likewise.
21385         [C99-based standards] (INT_FAST64_MAX): Likewise.
21386         [C99-based standards] (UINT_FAST8_MAX): Likewise.
21387         [C99-based standards] (UINT_FAST16_MAX): Likewise.
21388         [C99-based standards] (UINT_FAST32_MAX): Likewise.
21389         [C99-based standards] (UINT_FAST64_MAX): Likewise.
21390         [C99-based standards] (INTPTR_MIN): Likewise.
21391         [C99-based standards] (INTPTR_MAX): Likewise.
21392         [C99-based standards] (UINTPTR_MAX): Likewise.
21393         [C99-based standards] (INTMAX_MIN): Likewise.
21394         [C99-based standards] (INTMAX_MAX): Likewise.
21395         [C99-based standards] (UINTMAX_MAX): Likewise.
21396         [C99-based standards] (PTRDIFF_MIN): Likewise.
21397         [C99-based standards] (PTRDIFF_MAX): Likewise.
21398         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21399         [C99-based standards] (SIZE_MAX): Likewise.
21400         [C99-based standards] (WCHAR_MAX): Likewise.
21401         [C99-based standards] (WINT_MAX): Likewise.
21402         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
21403         constraint on value.
21404         [C99-based standards] (WCHAR_MIN): Likewise.
21405         [C99-based standards] (WINT_MIN): Likewise.
21406         [C99-based standards] (*_t): Allow.
21407         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21408         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21409         Include math.h-data and complex.h-data.  Remove all expectations
21410         of math.h and complex.h contents.
21411         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21412         at end of line.
21413         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21414         (struct tm): Expect tag.
21415         [C99-based-standards] (wcstof): Expect function.
21416         [C99-based-standards] (wcstold): Likewise.
21417         [C99-based-standards] (wcstoll): Likewise.
21418         [C99-based-standards] (wcstoull): Likewise.
21419         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21420         macro-int-constant.  Specify type.
21421         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
21422         constraint on value.
21423         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21424         Specify type.
21425         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21426         Specify value.
21427         [ISO C standards]: Do not allow headers.
21428         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21429         wcs[abcdefghijklmnopqrstuvwxyz]*.
21430         [ISO C standards] (*_t): Do not allow.
21431         * conform/data/wctype.h-data [C99-based standards] (iswblank):
21432         Expect function.
21433         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21434         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21435         Specify type.
21436         [ISO C standards]: Do not allow headers.
21437         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21438         is[abcdefghijklmnopqrstuvwxyz]*.
21439         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21440         to[abcdefghijklmnopqrstuvwxyz]*.
21441         [ISO C standards] (*_t): Do not allow.
21442         * conform/data/stdalign.h-data: New file.
21443         * conform/data/stdbool.h-data: Likewise.
21444         * conform/data/stdnoreturn.h-data: Likewise.
21446 2012-11-07  Roland McGrath  <roland@hack.frob.com>
21448         [BZ #14815]
21449         * manual/filesys.texi (Directory Entries): Typo fix.
21450         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21452 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21454         * elf/elf.h (EM_AARCH64): New macro.
21455         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21456         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21457         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21458         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21459         (R_AARCH64_TLSDESC): Likewise.
21460         (NT_ARM_TLS): Likewise.
21461         (NT_ARM_HW_BREAK): Likewise.
21462         (NT_ARM_HW_WATCH): Likewise.
21464 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21466         [BZ #14811]
21467         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21468         (__ieee754_powl): Saturate nonzero exponents with absolute value
21469         below 0x1p-79 to +/- 0x1p-79.
21470         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21471         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21472         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21473         nonzero exponents with absolute value below 0x1p-32 to +/-
21474         0x1p-32.
21475         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21476         (__ieee754_powl): Saturate nonzero exponents with absolute value
21477         below 0x1p-79 to +/- 0x1p-79.
21478         * math/libm-test.inc (pow_test): Add more tests.
21480 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21482         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21483         _dl_s390_cap_flags with kernel. Increase string length.
21484         (_dl_s390_platforms): Add z196 and zEC12.
21486 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21488         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21489         Change XOPEN21K to XOPEN2K.
21491 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
21493         * string/memmove.c: Use memcpy when possible.
21495 2012-11-06  Andreas Jaeger  <aj@suse.de>
21497         * po/eo.po: Update from translation team.
21499 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
21501         [BZ #14793]
21502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21503         exponent and small x and y exponents, scale x or y up.  Increase
21504         by 2 the exponent used in scaling up.
21505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21506         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21507         * math/libm-test.inc (fma_test): Add more tests.
21508         (fma_test_towardzero): Likewise.
21509         (fma_test_downward): Likewise.
21510         (fma_test_upward): Likewise.
21512 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
21514         [BZ #14805]
21515         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21516         fenv_t *.
21518         [BZ #14801]
21519         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21520         namespace for names of struct fields.
21521         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21522         fenv_t fields.
21523         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21524         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21526 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21528         [BZ #3665]
21529         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21531 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21533         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21534         PTR_DEMANGLE.
21536         [BZ #5246]
21537         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21538         PTR_DEMANGLE.
21540 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
21542         [BZ #14797]
21543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21544         definitely overflow as x * y not x * y + z.
21545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21547         * math/libm-test.inc (fma_test): Add more tests.
21548         (fma_test_towardzero): Likewise.
21549         (fma_test_downward): Likewise.
21550         (fma_test_upward): Likewise.
21552 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21554         [BZ #157]
21556         * include/stub-tag.h: Remove file.
21557         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21558         '#include' of it.
21559         * manual/maint.texi (Porting): Don't reference it.
21560         * Makerules ($(objpfx)stubs): Likewise.
21561         * dirent/closedir.c: Don't include <stub-tag.h>.
21562         * dirent/dirfd.c: Likewise.
21563         * dirent/fdopendir.c: Likewise.
21564         * dirent/getdents.c: Likewise.
21565         * dirent/getdents64.c: Likewise.
21566         * dirent/opendir.c: Likewise.
21567         * dirent/readdir.c: Likewise.
21568         * dirent/readdir64.c: Likewise.
21569         * dirent/readdir64_r.c: Likewise.
21570         * dirent/readdir_r.c: Likewise.
21571         * dirent/rewinddir.c: Likewise.
21572         * dirent/seekdir.c: Likewise.
21573         * dirent/telldir.c: Likewise.
21574         * gmon/profil.c: Likewise.
21575         * grp/setgroups.c: Likewise.
21576         * inet/if_index.c: Likewise.
21577         * io/access.c: Likewise.
21578         * io/chdir.c: Likewise.
21579         * io/chmod.c: Likewise.
21580         * io/chown.c: Likewise.
21581         * io/close.c: Likewise.
21582         * io/dup.c: Likewise.
21583         * io/dup2.c: Likewise.
21584         * io/dup3.c: Likewise.
21585         * io/euidaccess.c: Likewise.
21586         * io/faccessat.c: Likewise.
21587         * io/fchdir.c: Likewise.
21588         * io/fchmod.c: Likewise.
21589         * io/fchmodat.c: Likewise.
21590         * io/fchown.c: Likewise.
21591         * io/fchownat.c: Likewise.
21592         * io/fcntl.c: Likewise.
21593         * io/flock.c: Likewise.
21594         * io/fstatfs.c: Likewise.
21595         * io/fstatfs64.c: Likewise.
21596         * io/fstatvfs.c: Likewise.
21597         * io/fstatvfs64.c: Likewise.
21598         * io/futimens.c: Likewise.
21599         * io/fxstat.c: Likewise.
21600         * io/fxstat64.c: Likewise.
21601         * io/fxstatat.c: Likewise.
21602         * io/fxstatat64.c: Likewise.
21603         * io/getcwd.c: Likewise.
21604         * io/isatty.c: Likewise.
21605         * io/lchmod.c: Likewise.
21606         * io/lchown.c: Likewise.
21607         * io/link.c: Likewise.
21608         * io/linkat.c: Likewise.
21609         * io/lseek.c: Likewise.
21610         * io/lseek64.c: Likewise.
21611         * io/lxstat64.c: Likewise.
21612         * io/mkdir.c: Likewise.
21613         * io/mkdirat.c: Likewise.
21614         * io/mkfifo.c: Likewise.
21615         * io/mkfifoat.c: Likewise.
21616         * io/open.c: Likewise.
21617         * io/open64.c: Likewise.
21618         * io/openat.c: Likewise.
21619         * io/openat64.c: Likewise.
21620         * io/pipe.c: Likewise.
21621         * io/pipe2.c: Likewise.
21622         * io/poll.c: Likewise.
21623         * io/posix_fadvise.c: Likewise.
21624         * io/posix_fadvise64.c: Likewise.
21625         * io/posix_fallocate.c: Likewise.
21626         * io/posix_fallocate64.c: Likewise.
21627         * io/read.c: Likewise.
21628         * io/readlink.c: Likewise.
21629         * io/readlinkat.c: Likewise.
21630         * io/rmdir.c: Likewise.
21631         * io/sendfile.c: Likewise.
21632         * io/sendfile64.c: Likewise.
21633         * io/statfs.c: Likewise.
21634         * io/statfs64.c: Likewise.
21635         * io/statvfs.c: Likewise.
21636         * io/statvfs64.c: Likewise.
21637         * io/symlink.c: Likewise.
21638         * io/symlinkat.c: Likewise.
21639         * io/ttyname.c: Likewise.
21640         * io/ttyname_r.c: Likewise.
21641         * io/umask.c: Likewise.
21642         * io/unlink.c: Likewise.
21643         * io/unlinkat.c: Likewise.
21644         * io/utime.c: Likewise.
21645         * io/utimensat.c: Likewise.
21646         * io/write.c: Likewise.
21647         * io/xmknod.c: Likewise.
21648         * io/xmknodat.c: Likewise.
21649         * io/xstat.c: Likewise.
21650         * io/xstat64.c: Likewise.
21651         * login/getpt.c: Likewise.
21652         * login/grantpt.c: Likewise.
21653         * login/unlockpt.c: Likewise.
21654         * math/e_acoshl.c: Likewise.
21655         * math/e_acosl.c: Likewise.
21656         * math/e_asinl.c: Likewise.
21657         * math/e_atan2l.c: Likewise.
21658         * math/e_atanhl.c: Likewise.
21659         * math/e_coshl.c: Likewise.
21660         * math/e_expl.c: Likewise.
21661         * math/e_fmodl.c: Likewise.
21662         * math/e_gammal_r.c: Likewise.
21663         * math/e_hypotl.c: Likewise.
21664         * math/e_j0l.c: Likewise.
21665         * math/e_j1l.c: Likewise.
21666         * math/e_jnl.c: Likewise.
21667         * math/e_lgammal_r.c: Likewise.
21668         * math/e_log10l.c: Likewise.
21669         * math/e_log2l.c: Likewise.
21670         * math/e_logl.c: Likewise.
21671         * math/e_powl.c: Likewise.
21672         * math/e_rem_pio2l.c: Likewise.
21673         * math/e_sinhl.c: Likewise.
21674         * math/e_sqrtl.c: Likewise.
21675         * math/fclrexcpt.c: Likewise.
21676         * math/fedisblxcpt.c: Likewise.
21677         * math/feenablxcpt.c: Likewise.
21678         * math/fegetenv.c: Likewise.
21679         * math/fegetexcept.c: Likewise.
21680         * math/fegetround.c: Likewise.
21681         * math/feholdexcpt.c: Likewise.
21682         * math/fesetenv.c: Likewise.
21683         * math/fesetround.c: Likewise.
21684         * math/feupdateenv.c: Likewise.
21685         * math/fgetexcptflg.c: Likewise.
21686         * math/fraiseexcpt.c: Likewise.
21687         * math/fsetexcptflg.c: Likewise.
21688         * math/ftestexcept.c: Likewise.
21689         * math/k_cosl.c: Likewise.
21690         * math/k_rem_pio2l.c: Likewise.
21691         * math/k_sinl.c: Likewise.
21692         * math/k_tanl.c: Likewise.
21693         * math/s_asinhl.c: Likewise.
21694         * math/s_atanl.c: Likewise.
21695         * math/s_cbrtl.c: Likewise.
21696         * math/s_erfl.c: Likewise.
21697         * math/s_expm1l.c: Likewise.
21698         * math/s_log1pl.c: Likewise.
21699         * math/s_tanhl.c: Likewise.
21700         * misc/acct.c: Likewise.
21701         * misc/brk.c: Likewise.
21702         * misc/chflags.c: Likewise.
21703         * misc/chroot.c: Likewise.
21704         * misc/fchflags.c: Likewise.
21705         * misc/fgetxattr.c: Likewise.
21706         * misc/flistxattr.c: Likewise.
21707         * misc/fremovexattr.c: Likewise.
21708         * misc/fsetxattr.c: Likewise.
21709         * misc/fsync.c: Likewise.
21710         * misc/ftruncate.c: Likewise.
21711         * misc/futimes.c: Likewise.
21712         * misc/futimesat.c: Likewise.
21713         * misc/getdomain.c: Likewise.
21714         * misc/getdtsz.c: Likewise.
21715         * misc/gethostid.c: Likewise.
21716         * misc/gethostname.c: Likewise.
21717         * misc/getloadavg.c: Likewise.
21718         * misc/getpagesize.c: Likewise.
21719         * misc/getsysstats.c: Likewise.
21720         * misc/getxattr.c: Likewise.
21721         * misc/gtty.c: Likewise.
21722         * misc/ioctl.c: Likewise.
21723         * misc/lgetxattr.c: Likewise.
21724         * misc/listxattr.c: Likewise.
21725         * misc/llistxattr.c: Likewise.
21726         * misc/lremovexattr.c: Likewise.
21727         * misc/lsetxattr.c: Likewise.
21728         * misc/lutimes.c: Likewise.
21729         * misc/madvise.c: Likewise.
21730         * misc/mincore.c: Likewise.
21731         * misc/mlock.c: Likewise.
21732         * misc/mlockall.c: Likewise.
21733         * misc/mmap.c: Likewise.
21734         * misc/mprotect.c: Likewise.
21735         * misc/msync.c: Likewise.
21736         * misc/munlock.c: Likewise.
21737         * misc/munlockall.c: Likewise.
21738         * misc/munmap.c: Likewise.
21739         * misc/preadv.c: Likewise.
21740         * misc/preadv64.c: Likewise.
21741         * misc/ptrace.c: Likewise.
21742         * misc/pwritev.c: Likewise.
21743         * misc/pwritev64.c: Likewise.
21744         * misc/readv.c: Likewise.
21745         * misc/reboot.c: Likewise.
21746         * misc/remap_file_pages.c: Likewise.
21747         * misc/removexattr.c: Likewise.
21748         * misc/revoke.c: Likewise.
21749         * misc/select.c: Likewise.
21750         * misc/setdomain.c: Likewise.
21751         * misc/setegid.c: Likewise.
21752         * misc/seteuid.c: Likewise.
21753         * misc/sethostid.c: Likewise.
21754         * misc/sethostname.c: Likewise.
21755         * misc/setregid.c: Likewise.
21756         * misc/setreuid.c: Likewise.
21757         * misc/setxattr.c: Likewise.
21758         * misc/sstk.c: Likewise.
21759         * misc/stty.c: Likewise.
21760         * misc/swapoff.c: Likewise.
21761         * misc/swapon.c: Likewise.
21762         * misc/sync.c: Likewise.
21763         * misc/syncfs.c: Likewise.
21764         * misc/syscall.c: Likewise.
21765         * misc/truncate.c: Likewise.
21766         * misc/ualarm.c: Likewise.
21767         * misc/usleep.c: Likewise.
21768         * misc/ustat.c: Likewise.
21769         * misc/utimes.c: Likewise.
21770         * misc/vhangup.c: Likewise.
21771         * misc/writev.c: Likewise.
21772         * posix/_exit.c: Likewise.
21773         * posix/alarm.c: Likewise.
21774         * posix/execve.c: Likewise.
21775         * posix/fexecve.c: Likewise.
21776         * posix/fork.c: Likewise.
21777         * posix/fpathconf.c: Likewise.
21778         * posix/getaddrinfo.c: Likewise.
21779         * posix/getegid.c: Likewise.
21780         * posix/geteuid.c: Likewise.
21781         * posix/getgid.c: Likewise.
21782         * posix/getgroups.c: Likewise.
21783         * posix/getlogin.c: Likewise.
21784         * posix/getlogin_r.c: Likewise.
21785         * posix/getpgid.c: Likewise.
21786         * posix/getpid.c: Likewise.
21787         * posix/getppid.c: Likewise.
21788         * posix/getresgid.c: Likewise.
21789         * posix/getresuid.c: Likewise.
21790         * posix/getsid.c: Likewise.
21791         * posix/getuid.c: Likewise.
21792         * posix/glob64.c: Likewise.
21793         * posix/nanosleep.c: Likewise.
21794         * posix/pathconf.c: Likewise.
21795         * posix/pause.c: Likewise.
21796         * posix/posix_madvise.c: Likewise.
21797         * posix/pread.c: Likewise.
21798         * posix/pread64.c: Likewise.
21799         * posix/pwrite.c: Likewise.
21800         * posix/pwrite64.c: Likewise.
21801         * posix/sched_getaffinity.c: Likewise.
21802         * posix/sched_getp.c: Likewise.
21803         * posix/sched_gets.c: Likewise.
21804         * posix/sched_primax.c: Likewise.
21805         * posix/sched_primin.c: Likewise.
21806         * posix/sched_rr_gi.c: Likewise.
21807         * posix/sched_setaffinity.c: Likewise.
21808         * posix/sched_setp.c: Likewise.
21809         * posix/sched_sets.c: Likewise.
21810         * posix/sched_yield.c: Likewise.
21811         * posix/setgid.c: Likewise.
21812         * posix/setlogin.c: Likewise.
21813         * posix/setpgid.c: Likewise.
21814         * posix/setresgid.c: Likewise.
21815         * posix/setresuid.c: Likewise.
21816         * posix/setsid.c: Likewise.
21817         * posix/setuid.c: Likewise.
21818         * posix/sleep.c: Likewise.
21819         * posix/spawni.c: Likewise.
21820         * posix/sysconf.c: Likewise.
21821         * posix/times.c: Likewise.
21822         * posix/wait.c: Likewise.
21823         * posix/wait3.c: Likewise.
21824         * posix/wait4.c: Likewise.
21825         * posix/waitpid.c: Likewise.
21826         * resolv/gai_sigqueue.c: Likewise.
21827         * resource/getpriority.c: Likewise.
21828         * resource/getrlimit.c: Likewise.
21829         * resource/getrusage.c: Likewise.
21830         * resource/nice.c: Likewise.
21831         * resource/setpriority.c: Likewise.
21832         * resource/setrlimit.c: Likewise.
21833         * resource/ulimit.c: Likewise.
21834         * rt/aio_cancel.c: Likewise.
21835         * rt/aio_fsync.c: Likewise.
21836         * rt/aio_read.c: Likewise.
21837         * rt/aio_sigqueue.c: Likewise.
21838         * rt/aio_suspend.c: Likewise.
21839         * rt/aio_write.c: Likewise.
21840         * rt/clock_getres.c: Likewise.
21841         * rt/clock_gettime.c: Likewise.
21842         * rt/clock_nanosleep.c: Likewise.
21843         * rt/clock_settime.c: Likewise.
21844         * rt/lio_listio.c: Likewise.
21845         * rt/mq_close.c: Likewise.
21846         * rt/mq_getattr.c: Likewise.
21847         * rt/mq_notify.c: Likewise.
21848         * rt/mq_open.c: Likewise.
21849         * rt/mq_receive.c: Likewise.
21850         * rt/mq_send.c: Likewise.
21851         * rt/mq_setattr.c: Likewise.
21852         * rt/mq_timedreceive.c: Likewise.
21853         * rt/mq_timedsend.c: Likewise.
21854         * rt/mq_unlink.c: Likewise.
21855         * rt/shm_open.c: Likewise.
21856         * rt/shm_unlink.c: Likewise.
21857         * rt/timer_create.c: Likewise.
21858         * rt/timer_delete.c: Likewise.
21859         * rt/timer_getoverr.c: Likewise.
21860         * rt/timer_gettime.c: Likewise.
21861         * rt/timer_settime.c: Likewise.
21862         * setjmp/__longjmp.c: Likewise.
21863         * setjmp/setjmp.c: Likewise.
21864         * signal/kill.c: Likewise.
21865         * signal/killpg.c: Likewise.
21866         * signal/raise.c: Likewise.
21867         * signal/sigaction.c: Likewise.
21868         * signal/sigaltstack.c: Likewise.
21869         * signal/sigblock.c: Likewise.
21870         * signal/sigignore.c: Likewise.
21871         * signal/sigintr.c: Likewise.
21872         * signal/signal.c: Likewise.
21873         * signal/sigpause.c: Likewise.
21874         * signal/sigpending.c: Likewise.
21875         * signal/sigqueue.c: Likewise.
21876         * signal/sigreturn.c: Likewise.
21877         * signal/sigset.c: Likewise.
21878         * signal/sigsetmask.c: Likewise.
21879         * signal/sigstack.c: Likewise.
21880         * signal/sigsuspend.c: Likewise.
21881         * signal/sigtimedwait.c: Likewise.
21882         * signal/sigvec.c: Likewise.
21883         * signal/sigwait.c: Likewise.
21884         * signal/sigwaitinfo.c: Likewise.
21885         * signal/sysv_signal.c: Likewise.
21886         * socket/accept.c: Likewise.
21887         * socket/accept4.c: Likewise.
21888         * socket/bind.c: Likewise.
21889         * socket/connect.c: Likewise.
21890         * socket/getpeername.c: Likewise.
21891         * socket/getsockname.c: Likewise.
21892         * socket/getsockopt.c: Likewise.
21893         * socket/isfdtype.c: Likewise.
21894         * socket/listen.c: Likewise.
21895         * socket/recv.c: Likewise.
21896         * socket/recvfrom.c: Likewise.
21897         * socket/recvmsg.c: Likewise.
21898         * socket/send.c: Likewise.
21899         * socket/sendmsg.c: Likewise.
21900         * socket/sendto.c: Likewise.
21901         * socket/setsockopt.c: Likewise.
21902         * socket/shutdown.c: Likewise.
21903         * socket/sockatmark.c: Likewise.
21904         * socket/socket.c: Likewise.
21905         * socket/socketpair.c: Likewise.
21906         * stdio-common/ctermid.c: Likewise.
21907         * stdio-common/cuserid.c: Likewise.
21908         * stdio-common/remove.c: Likewise.
21909         * stdio-common/rename.c: Likewise.
21910         * stdio-common/renameat.c: Likewise.
21911         * stdio-common/tempname.c: Likewise.
21912         * stdlib/getcontext.c: Likewise.
21913         * stdlib/makecontext.c: Likewise.
21914         * stdlib/setcontext.c: Likewise.
21915         * stdlib/swapcontext.c: Likewise.
21916         * stdlib/system.c: Likewise.
21917         * streams/fattach.c: Likewise.
21918         * streams/fdetach.c: Likewise.
21919         * streams/getmsg.c: Likewise.
21920         * streams/getpmsg.c: Likewise.
21921         * streams/putmsg.c: Likewise.
21922         * streams/putpmsg.c: Likewise.
21923         * sysdeps/unix/bsd/getpt.c: Likewise.
21924         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21925         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21926         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21928         Likewise.
21929         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21930         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21931         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21932         * sysvipc/msgctl.c: Likewise.
21933         * sysvipc/msgget.c: Likewise.
21934         * sysvipc/msgrcv.c: Likewise.
21935         * sysvipc/msgsnd.c: Likewise.
21936         * sysvipc/semctl.c: Likewise.
21937         * sysvipc/semget.c: Likewise.
21938         * sysvipc/semop.c: Likewise.
21939         * sysvipc/semtimedop.c: Likewise.
21940         * sysvipc/shmat.c: Likewise.
21941         * sysvipc/shmctl.c: Likewise.
21942         * sysvipc/shmdt.c: Likewise.
21943         * sysvipc/shmget.c: Likewise.
21944         * termios/tcdrain.c: Likewise.
21945         * termios/tcflow.c: Likewise.
21946         * termios/tcflush.c: Likewise.
21947         * termios/tcgetattr.c: Likewise.
21948         * termios/tcgetpgrp.c: Likewise.
21949         * termios/tcsendbrk.c: Likewise.
21950         * termios/tcsetattr.c: Likewise.
21951         * termios/tcsetpgrp.c: Likewise.
21952         * time/adjtime.c: Likewise.
21953         * time/clock.c: Likewise.
21954         * time/getitimer.c: Likewise.
21955         * time/gettimeofday.c: Likewise.
21956         * time/setitimer.c: Likewise.
21957         * time/settimeofday.c: Likewise.
21958         * time/stime.c: Likewise.
21959         * time/time.c: Likewise.
21961 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
21963         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21964         /usr/old/bin.
21966         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21967         instead of spaces.
21968         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21970 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
21972         [BZ #14796]
21973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21974         FE_TONEAREST before applying Dekker multiplication and Knuth
21975         addition.  Clear inexact exceptions and check for exact zero
21976         results afterwards.
21977         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21978         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21979         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21980         * math/libm-test.inc (fma_test): Add more tests.
21981         (fma_test_towardzero): Likewise.
21982         (fma_test_downward): Likewise.
21983         (fma_test_upward): Likewise.
21984         * sysdeps/generic/math_private.h (default_libc_fesetround): New
21985         function.
21986         (libc_fesetround): New macro.
21987         (libc_fesetroundf): Likewise.
21988         (libc_fesetroundl): Likewise.
21989         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21990         function.
21991         (libc_fesetround_387): Likewise.
21992         (libc_fesetroundf): New macro.
21993         (libc_fesetround): Likewise.
21994         (libc_fesetroundl): Likewise.
21995         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21996         function.
21997         (libc_fesetroundf): New macro.
21998         (libc_fesetround): Likewise.
21999         (libc_fesetroundl): Likewise.
22000         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22001         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22002         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22003         libm_hidden_ver.
22004         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22005         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22006         libm_hidden_def.
22007         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22008         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22009         libm_hidden_ver.
22010         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22011         libm_hidden_def.
22013         [BZ #3439]
22014         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22015         integer constant usable in #if and use that to give value to enum
22016         constant.
22017         (FE_DIVBYZERO): Likewise.
22018         (FE_UNDERFLOW): Likewise.
22019         (FE_OVERFLOW): Likewise.
22020         (FE_INVALID): Likewise.
22021         (FE_INVALID_SNAN): Likewise.
22022         (FE_INVALID_ISI): Likewise.
22023         (FE_INVALID_IDI): Likewise.
22024         (FE_INVALID_ZDZ): Likewise.
22025         (FE_INVALID_IMZ): Likewise.
22026         (FE_INVALID_COMPARE): Likewise.
22027         (FE_INVALID_SOFTWARE): Likewise.
22028         (FE_INVALID_SQRT): Likewise.
22029         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22030         (FE_TONEAREST): Likewise.
22031         (FE_TOWARDZERO): Likewise.
22032         (FE_UPWARD): Likewise.
22033         (FE_DOWNWARD): Likewise.
22034         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22035         (FE_DIVBYZERO): Likewise.
22036         (FE_OVERFLOW): Likewise.
22037         (FE_UNDERFLOW): Likewise.
22038         (FE_INEXACT): Likewise.
22039         (FE_TONEAREST): Likewise.
22040         (FE_DOWNWARD): Likewise.
22041         (FE_UPWARD): Likewise.
22042         (FE_TOWARDZERO): Likewise.
22043         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22044         (FE_UNDERFLOW): Likewise.
22045         (FE_OVERFLOW): Likewise.
22046         (FE_DIVBYZERO): Likewise.
22047         (FE_INVALID): Likewise.
22048         (FE_TONEAREST): Likewise.
22049         (FE_TOWARDZERO): Likewise.
22050         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22051         (FE_OVERFLOW): Likewise.
22052         (FE_UNDERFLOW): Likewise.
22053         (FE_DIVBYZERO): Likewise.
22054         (FE_INEXACT): Likewise.
22055         (FE_TONEAREST): Likewise.
22056         (FE_TOWARDZERO): Likewise.
22057         (FE_UPWARD): Likewise.
22058         (FE_DOWNWARD): Likewise.
22059         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22060         (FE_DIVBYZERO): Likewise.
22061         (FE_OVERFLOW): Likewise.
22062         (FE_UNDERFLOW): Likewise.
22063         (FE_INEXACT): Likewise.
22064         (FE_TONEAREST): Likewise.
22065         (FE_DOWNWARD): Likewise.
22066         (FE_UPWARD): Likewise.
22067         (FE_TOWARDZERO): Likewise.
22069 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22071         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22073 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22075         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22076         commands.  Quote $PWD.
22077         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22078         -x" by "export".
22079         (remove_newlines): Remove.
22081 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22083         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22084         * stdlib/stdlib.h (atof): Moved to ...
22085         * include/bits/stdlib-float.h: Here.  New file.
22086         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22087         * stdlib/bits/stdlib-float.h: New file.
22088         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22089         -mno-sse -mno-mmx.
22090         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22091         <xmmintrin.h>.
22093 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22095         * conform/conformtest.pl (@headers): Add fenv.h.
22096         * conform/data/fenv.h-data: New file.
22097         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22098         include of <math/fenv.h>.
22100         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22101         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22102         && !UNIX98].  Enables tests for XOPEN2K8.
22103         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22104         POSIX2008]: Likewise.
22106         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22107         (struct rusage): Do not expect type or its members.
22109         [BZ #3439]
22110         * math/math.h (FP_NAN): Define macro to integer constant usable in
22111         #if and use that to give value to enum constant.
22112         (FP_INFINITE): Likewise.
22113         (FP_ZERO): Likewise.
22114         (FP_SUBNORMAL): Likewise.
22115         (FP_NORMAL): Likewise.
22117 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
22119         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22120         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22121         arguments.
22123 2012-11-02  Roland McGrath  <roland@hack.frob.com>
22125         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22126         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22127         autoconf-time if not.
22128         * configure.in: Remove AC_PREREQ.
22130 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22132         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22133         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22134         of the internal implementation.
22136 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22138         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22139         except include of <misc/sys/syslog.h>.
22141 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22144         function returns with a NULL context exit with zero.
22146 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22148         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22150 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
22152         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22153         (run_program_cmd): This.
22154         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22155         (tst_langinfo): New variable.  Use it.
22157 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
22159         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22160         floating point opcodes.
22162 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22164         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22165         variable.
22167         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22169         * sysdeps/mach/hurd/powerpc: Remove directory.
22170         * sysdeps/mach/powerpc: Likewise.
22172 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22174         * scripts/check-local-headers.sh: Ignore c++ headers.
22176 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22178         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22179         __libc_cleanup_region_start argument.
22181 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
22183         [BZ #14784]
22184         [BZ #14785]
22185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22186         x * y using scaling, not as x * y + z.
22187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22189         * math/libm-test.inc (fma_test): Add more tests.
22190         (fma_test_towardzero): Likewise.
22191         (fma_test_downward): Likewise.
22192         (fma_test_upward): Likewise.
22194 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22196         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22198 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22200         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22201         New variable.
22203 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
22205         * rt/tst-shm.c (worker): Correct checking for mmap failure.
22207 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22210         Fix sort order.
22211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22212         Likewise.
22214 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22217         Fix the order of the list for glibc 2.17.
22218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22219         Likewise.
22221 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22225 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22227         [BZ #14610]
22228         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22229         for low part of x being zero before using __atanl (y).
22230         * math/libm-test.inc (atan2_test): Add another test.
22232         * manual/install.texi (Configuring and compiling): Document
22233         general use of test-wrapper and test-wrapper-env.
22234         * INSTALL: Regenerated.
22236         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22237         (__fma): Do not extract and scale down low bits on after-rounding
22238         systems when result rounded to normal precision would have normal
22239         exponent.
22240         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22241         (__fmal): Do not extract and scale down low bits on after-rounding
22242         systems when result rounded to normal precision would have normal
22243         exponent.
22244         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22245         (__fmal): Do not extract and scale down low bits on after-rounding
22246         systems when result rounded to normal precision would have normal
22247         exponent.
22248         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22249         macro.
22250         (fma_test): Add more tests.
22251         (fma_test_towardzero): Likewise.
22252         (fma_test_downward): Likewise.
22253         (fma_test_upward): Likewise.
22255 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
22257         * sysdeps/i386/tininess.h: Renamed to ...
22258         * sysdeps/x86/tininess.h: This.
22259         * sysdeps/x86_64/tininess.h: Removed.
22261 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22263         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22264         input.  Use $(build-program-cmd).
22265         ($(objpfx)tst-array1-static.out): Likewise.
22266         ($(objpfx)tst-array2.out): Likewise.
22267         ($(objpfx)tst-array3.out): Likewise.
22268         ($(objpfx)tst-array4.out): Likewise.
22269         ($(objpfx)tst-array5.out): Likewise.
22270         ($(objpfx)tst-array5-static.out): Likewise.
22272 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
22274         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22275         if defined.
22277         * nss/nsswitch.h (nss_interface_function): Provide new
22278         macro for use with NSS functions.
22279         * grp/initgroups.c: Use new macro.
22280         * nss/getXXbyYY.c: Likewise.
22281         * nss/getXXbyYY_r.c: Likewise.
22282         * nss/getXXent.c: Likewise.
22283         * nss/getXXent_r.c: Likewise.
22284         * sysdeps/posix/getaddrinfo.c: Likewise.
22286 2012-10-30  Andreas Jaeger  <aj@suse.de>
22288         * po/ru.po: Update Russion translation from translation project.
22290 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22292         [BZ #14152]
22293         [BZ #14783]
22294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22295         result and shift together with sticky bit instead of replicating
22296         round-to-nearest rounding.
22297         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22298         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22299         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
22300         missing underflow exceptions.
22301         (fma_test_towardzero): Add more tests.
22302         (fma_test_downward): Likewise.
22303         (fma_test_upward): Likewise.
22305         [BZ #14047]
22306         * sysdeps/generic/tininess.h: New file.
22307         * sysdeps/i386/tininess.h: Likewise.
22308         * sysdeps/sh/tininess.h: Likewise.
22309         * sysdeps/x86_64/tininess.h: Likewise.
22310         * stdlib/tst-strtod-underflow.c: Likewise.
22311         * stdlib/tst-tininess.c: Likewise.
22312         * stdlib/strtod_l.c: Include <tininess.h>.
22313         (round_and_return): Do not set errno for exact underflow cases.
22314         Force an underflow exception when setting errno for underflow.
22315         Determine underflow based on rounding to normal precision if
22316         TININESS_AFTER_ROUNDING.
22317         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22318         ERANGE for exact underflow cases.
22319         * stdlib/Makefile (tests): Add tst-tininess and
22320         tst-strtod-underflow.
22321         ($(objpfx)tst-tininess): Use $(link-libm).
22322         ($(objpfx)tst-strtod-underflow): Likewise.
22324 2012-10-30  Andreas Jaeger  <aj@suse.de>
22326         [BZ#14767]
22327         * elf/Makefile (tests): Remove conditional for have-initfini-array
22328         since this is now always required and the variable does not exist
22329         anymore.
22330         (tests-static): Likewise.
22331         (modules-names): Likewise.
22333         * po/eo.po: Add Esperanto translation from translation project.
22335         * elf/tst-array1.c (fini_array): Make writeable so that it can be
22336         merged with constructor/destructor.
22337         (init_array): Likewise.
22338         * elf/tst-array2dep.c (fini_array): Likewise.
22339         (init_array): Likewise.
22341 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
22343         * manual/message.texi: Delete @cartouche tags.
22345 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
22347         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22348         EOPNOTSUPP.
22349         * sysdeps/mach/hurd/fsync.c: Likewise.
22351         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22352         [_POSIX_REALTIME_SIGNALS]: Change condition to
22353         [_POSIX_REALTIME_SIGNALS > 0].
22355 2012-10-27  Andreas Jaeger  <aj@suse.de>
22357         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22358         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22359         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22360         [__WORDSIZE != 64]: Likewise.
22362 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
22364         *  iconvdata/tst-table.sh: Remove ${SHELL}.
22365         *  iconvdata/tst-tables.sh: Likewise.
22367 2012-10-25  David S. Miller  <davem@davemloft.net>
22369         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22370         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22371         of strtoull.
22373         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22374         ifunc-impl-list.c
22375         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22376         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22377         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22378         file.
22380 2012-10-25  Roland McGrath  <roland@hack.frob.com>
22382         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22383         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22384         __getdirentries.
22386 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22387             Jim Blandy  <jimb@codesourcery.com>
22389         * scripts/cross-test-ssh.sh: New file.
22390         * manual/install.texi (Configuring and compiling): Document use of
22391         cross-test-ssh.sh.
22392         * INSTALL: Regenerated.
22394 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
22396         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22397         EOPNOTSUPP.
22399 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22401         * Makeconfig (run-program-prefix): Fix comment.
22403 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22404             Jim Blandy  <jimb@codesourcery.com>
22406         * Makeconfig (test-wrapper): New variable,
22407         (test-wrapper-env): Likewise.
22408         [$(cross-compiling) = yes && $(test-wrapper) != ""]
22409         (run-built-tests): Define to yes.
22410         (run-program-prefix): Use $(test-wrapper).
22411         (built-program-cmd): Likewise.
22412         * Rules (make-test-out): Use $(test-wrapper-env) and
22413         $(host-built-program-cmd).
22414         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22415         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22416         tst-pathopt.sh.
22417         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22418         $(test-wrapper-env) to tst-rtld-load-self.sh.
22419         ($(objpfx)order2.out): Use $(test-wrapper).
22420         ($(objpfx)tst-initorder.out): Likewise.
22421         ($(objpfx)tst-initorder2.out): Likewise.
22422         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22423         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22424         (test_wrapper_env): New variable.  Use it to run ld.so.
22425         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22426         Use it to run ld.so.
22427         (test_wrapper_env): Likewise.
22428         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22429         $(test-wrapper) to run-iconv-test.sh.
22430         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22431         (ICONV): Use $test_wrapper.
22432         * posix/Makefile ($(objpfx)globtest.out): Pass
22433         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22434         globtest.sh, not $(run-program-prefix).
22435         * posix/globtest.sh (run_via_rtld_prefix): New variable.
22436         (test_wrapper): Likewise.
22437         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
22438         set together with run_via_rtld_prefix.
22439         (run_program_prefix): Define in terms of test_wrapper and
22440         run_via_rtld_prefix.
22442 2012-10-24  Roland McGrath  <roland@hack.frob.com>
22444         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22445         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22446         Targets removed.
22448         [BZ #14743]
22449         * include/time.h: Remove librt_hidden_proto (clock_gettime).
22450         Declare __clock_getres, __clock_gettime, __clock_settime,
22451         __clock_nanosleep, and __clock_getcpuclockid.
22452         * rt/clock_gettime.c: Define __clock_gettime as an alias.
22453         Remove librt_hidden_def (clock_gettime).
22454         * sysdeps/unix/clock_gettime.c: Likewise.
22455         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22456         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22457         * rt/clock_getres.c: Define __clock_getres as an alias.
22458         * sysdeps/posix/clock_getres.c: Likewise.
22459         * rt/clock_settime.c: Define __clock_settime as an alias.
22460         * sysdeps/unix/clock_settime.c: Likewise.
22461         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22462         * sysdeps/unix/clock_nanosleep.c: Likewise.
22463         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22464         * rt/clock-compat.c: New file.
22465         * rt/Makefile (librt-routines): Add clock-compat and move
22466         $(clock-routines) to ...
22467         (routines): ... here, new variable.
22468         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22469         Don't add get_clockfreq here.
22470         * rt/Versions (libc: GLIBC_2.17): New version set.
22471         Add clock_* symbols here.
22472         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
22473         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22474         (GLIBC_2.17): Add clock_* symbols.
22475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22477         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22479         Likewise.
22480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22481         Likewise.
22482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22486         * NEWS: Mention the move.
22488         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22489         Use __open, __read, __close rather than their public counterparts.
22490         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22491         (__get_clockfreq_via_cpuinfo): Likewise.
22492         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22493         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22495         * config.h.in (HAVE_IFUNC): New #undef.
22496         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22497         was successful.
22498         * configure: Regenerated.
22500 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22502         * configure.in: Move READELF check to start of file.
22503         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22504         libc_cv_asm_gnu_indirect_function in the process.
22505         * configure: Regenerated.
22507 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22509         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22510         send the output to /dev/null.
22511         (libc_cv_cc_with_libunwind): Likewise.
22512         (libc_cv_as_noexecstack): Likewise.
22513         * configure: Regenerate.
22515 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22517         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22519         * posix/globtest.sh (TMPDIR): Do not set.
22520         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22521         (testout): Likewise.
22523 2012-10-24  Andreas Jaeger  <aj@suse.de>
22525         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22526         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22527         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22528         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22529         posix_fadvise64, posix_fallocate64.
22531         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22532         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22533         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22534         Likewise.
22535         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22536         Likewise.
22537         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22540         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22541         <bits/fcntl-linux.h>.
22542         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22544         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22545         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22546         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22547         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22548         [__WORDSIZE != 64]: Likewise.
22550 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22552         * Makeconfig (run-built-tests): New variable.
22553         * Rules [$(cross-compiling) = yes]: Change condition to
22554         [$(run-built-tests) = no].
22555         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22556         to [$(run-built-tests) = yes].
22557         * elf/Makefile [$(cross-compiling) = no]: Likewise
22558         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22559         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22560         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22561         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22562         * io/Makefile [$(cross-compiling) = no]: Likewise.
22563         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22564         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22565         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22566         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22567         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22568         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22569         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22570         * string/Makefile [$(cross-compiling) = no]: Likewise.
22572         * posix/Makefile ($(objpfx)globtest.out): Pass
22573         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22574         $(rtld-installed-name).
22575         * posix/globtest.sh (elf_objpfx): Remove variable.
22576         (rtld_installed_name): Likewise.
22577         (library_path): Likewise.
22578         (run_program_prefix): New variable.  Use for running globtest
22579         binary.
22581 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22582             Joseph Myers  <joseph@codesourcery.com>
22584         * Makeconfig (host-built-program-cmd): New variable.
22585         * elf/Makefile (tst-stackguard1-ARGS): Use
22586         $(host-built-program-cmd).
22587         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22588         (tst-spawn-ARGS): Likewise.
22589         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22591 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22592             Jim Blandy  <jimb@codesourcery.com>
22594         * Makeconfig (run-via-rtld-prefix): New variable.
22595         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22596         (built-program-cmd): Likewise.
22598 2012-10-22  Andreas Jaeger  <aj@suse.de>
22600         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22601         __O_RSYNC if it exists, otherwise to O_SYNC.
22603 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22604             Joseph Myers  <joseph@codesourcery.com>
22606         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22607         /dev/null.
22608         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22609         from /dev/null
22610         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22611         /dev/null.
22613 2012-10-22  Andreas Jaeger  <aj@suse.de>
22615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22616         Define always.
22617         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22620         bits/fcntl-linux.h.
22622         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22623         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22625         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22626         to __O_LARGEFILE.
22627         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22628         to __O_LARGEFILE.
22630 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
22631             Joseph Myers  <joseph@codesourcery.com>
22633         * config.make.in (NM): New variable.
22635 2012-10-21  Andreas Jaeger  <aj@suse.de>
22637         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22638         definitions and declarations that are provided by
22639         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22641 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22643         [BZ #14683]
22644         * elf/Makefile (tests-static): Add tst-leaks1-static.
22645         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22646         ($(objpfx)tst-leaks1-static): New rule.
22647         ($(objpfx)tst-leaks1-static-mem): Likewise.
22648         (tst-leaks1-static-ENV): New macro.
22649         * elf/dl-open.c (dl_open_worker): Check the main application
22650         only if SHARED is defined.
22651         * elf/tst-leaks1-static.c: New file.
22653 2012-10-20  Andreas Jaeger  <aj@suse.de>
22655         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22656         generic values for Linux.
22657         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22658         and declarations that are provided by <bits/fcntl-linux.h> and
22659         include <bits/fcntl-linux.h>.
22660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22661         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22663 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22665         * io/fcntl.h: Move include of <bits/types.h> to the top and
22666         include it unconditionally.
22668 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22670         * wcsmbs/Makefile (tests-ifunc): New variable.
22671         (tests): Add $(tests-ifunc).
22672         * wcsmbs/test-wcschr-ifunc.c: New file.
22673         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22674         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22675         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22676         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22677         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22679         * string/Makefile (tests-ifunc): New variable.
22680         (tests): Add $(tests-ifunc).
22681         * string/test-memccpy.c (TEST_NAME): New macro.
22682         * string/test-memchr.c (TEST_NAME): Likewise.
22683         * string/test-memcmp.c (TEST_NAME): Likewise.
22684         * string/test-memcpy.c (TEST_NAME): Likewise.
22685         * string/test-memmem.c (TEST_NAME): Likewise.
22686         * string/test-memmove.c (TEST_NAME): Likewise.
22687         * string/test-memset.c (TEST_NAME): Likewise.
22688         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22689         * string/test-stpcpy.c (TEST_NAME): Likewise.
22690         * string/test-stpncpy.c (TEST_NAME): Likewise.
22691         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22692         * string/test-strcasestr.c (TEST_NAME): Likewise.
22693         * string/test-strcat.c (TEST_NAME): Likewise.
22694         * string/test-strchr.c (TEST_NAME): Likewise.
22695         * string/test-strcmp.c(TEST_NAME): Likewise.
22696         * string/test-strcpy.c (TEST_NAME): Likewise.
22697         * string/test-strcspn.c (TEST_NAME): Likewise.
22698         * string/test-strlen.c (TEST_NAME): Likewise.
22699         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22700         * string/test-strncmp.c (TEST_NAME): Likewise.
22701         * string/test-strncpy.c (TEST_NAME): Likewise.
22702         * string/test-strnlen.c (TEST_NAME): Likewise.
22703         * string/test-strpbrk.c (TEST_NAME): Likewise.
22704         * string/test-strrchr.c (TEST_NAME): Likewise.
22705         * string/test-strspn.c (TEST_NAME): Likewise.
22706         * string/test-strstr.c (TEST_NAME): Likewise.
22707         * string/test-bcopy-ifunc.c: New file.
22708         * string/test-bzero-ifunc.c: Likewise.
22709         * string/test-memccpy-ifunc.c: Likewise.
22710         * string/test-memchr-ifunc.c: Likewise.
22711         * string/test-memcmp-ifunc.c: Likewise.
22712         * string/test-memcpy-ifunc.c: Likewise.
22713         * string/test-memmem-ifunc.c: Likewise.
22714         * string/test-memmove-ifunc.c: Likewise.
22715         * string/test-mempcpy-ifunc.c: Likewise.
22716         * string/test-memset-ifunc.c: Likewise.
22717         * string/test-rawmemchr-ifunc.c: Likewise.
22718         * string/test-stpcpy-ifunc.c: Likewise.
22719         * string/test-stpncpy-ifunc.c: Likewise.
22720         * string/test-strcasecmp-ifunc.c: Likewise.
22721         * string/test-strcasestr-ifunc.c: Likewise.
22722         * string/test-strcat-ifunc.c: Likewise.
22723         * string/test-strchr-ifunc.c: Likewise.
22724         * string/test-strchrnul-ifunc.c: Likewise.
22725         * string/test-strcmp-ifunc.c: Likewise.
22726         * string/test-strcpy-ifunc.c: Likewise.
22727         * string/test-strcspn-ifunc.c: Likewise.
22728         * string/test-strlen-ifunc.c: Likewise.
22729         * string/test-strncasecmp-ifunc.c: Likewise.
22730         * string/test-strncat-ifunc.c: Likewise.
22731         * string/test-strncmp-ifunc.c: Likewise.
22732         * string/test-strncpy-ifunc.c: Likewise.
22733         * string/test-strnlen-ifunc.c: Likewise.
22734         * string/test-strpbrk-ifunc.c: Likewise.
22735         * string/test-strrchr-ifunc.c: Likewise.
22736         * string/test-strspn-ifunc.c: Likewise.
22737         * string/test-strstr-ifunc.c: Likewise.
22739         * debug/Makefile (tests-ifunc): New variable.
22740         (tests): Add $(tests-ifunc).
22741         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22742         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22743         * debug/test-stpcpy_chk-ifunc.c: New file.
22744         * debug/test-strcpy_chk-ifunc.c: Likewise.
22746 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22748         [BZ #13601]
22749         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22750         header is not read in.
22752 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22754         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22755         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22756         directly.  Pass built executable to script as
22757         $(built-program-cmd).
22758         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22759         $testprogram without using LD_LIBRARY_PATH and $ldso.
22761         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22762         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22763         $(rtld-installed-name).
22764         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22765         (rtld_installed_name): Likewise.
22766         (library_path): Likewise.
22767         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22768         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22769         $(run-program-prefix) to tst-tables.sh.
22770         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22771         it to run tst-table-from and tst-table-to.
22772         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22773         Pass it to tst-table.sh.
22774         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22775         $(run-program-prefix) to tst-gettext.sh.
22776         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22777         tst-translit.sh.
22778         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22779         tst-gettext2.sh.
22780         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22781         to run tst-gettext.
22782         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22783         to run tst-gettext2.
22784         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
22785         to run tst-translit.
22786         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22787         $(run-program-prefix) to tst-mtrace.sh.
22788         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
22789         to run tst-mtrace.
22790         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22791         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22792         $(rtld-installed-name).
22793         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22794         (rtld_installed_name): Likewise.
22795         (run_program_prefix): New variable.  Use it to run wordexp-test.
22797         * Makeconfig (ARCH): Remove all definitions.
22798         (machine): Likewise.
22799         [ARCH]: Remove conditional code.
22800         [!objdir]: Give error.
22801         [!objdir] (objpfx): Remove.
22802         [!objdir] (common-objpfx): Likewise.
22803         [!objdir] (common-objdir): Likewise.
22804         * configure.in (config_makefile): Remove.  Hardcode Makefile in
22805         AC_CONFIG_FILES call.
22806         * configure: Regenerated.
22808         [BZ #13888]
22809         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22810         or TMPDIR.
22811         (testout): Likewise.
22813         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22814         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22815         $(rtld-installed-name).
22816         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22817         (rtld_installed_name): Likwise.
22818         (runit): Remove function.
22819         (run_getconf): New variable,  Use it for running getconf binary.
22821 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
22823         [BZ #14716]
22824         * string/test-memmem.c (check_result): New function.
22825         (do_one_test): Use it.
22826         (check1): New function.
22827         (test_main): Use it.
22829 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
22831         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22833 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
22835         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22836         (_G_LSEEK64): Likewise.
22837         (_G_MMAP64): Likewise.
22838         (_G_FSTAT64): Likewise.
22839         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22840         (_G_LSEEK64): Likewise.
22841         (_G_MMAP64): Likewise.
22842         (_G_FSTAT64): Likewise.
22843         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22844         unconditional.  Call __mmap64 directly.
22845         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22846         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
22847         __lseek64 directly.
22848         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22849         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
22850         __mmap64 directly.
22851         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22852         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22853         __lseek64 directly.
22854         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22855         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22856         __lseek64 directly.
22857         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22858         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
22859         __lseek64 directly.
22860         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22861         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
22862         __fxstat64 directly.
22863         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22864         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22865         unconditional.
22866         (freopen64) [!_G_OPEN64]: Remove conditional code.
22867         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22868         unconditional.
22869         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22870         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22871         unconditional.
22872         (ftello64) [!_G_LSEEK64]: Remove conditional code.
22873         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22874         unconditional.
22875         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22876         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22877         unconditional.
22878         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22879         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22880         unconditional.
22881         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22882         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22883         unconditional.
22884         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22885         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22886         unconditional.
22887         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22889 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22891         [BZ #12140]
22892         * manual/memory.texi (Malloc Tunable Parameters): Add note
22893         about free list pointers overwriting some perturb bytes.
22894         Wording suggested by Roland McGrath.
22896 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
22898         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22899         (lgamma_test): Likewise.
22900         (tgamma_test): Likewise.
22902 2012-10-16  Florian Weimer  <fweimer@redhat.com>
22904         [BZ #14700]
22905         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22906         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22908 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
22910         * NEWS: Mention BZ #14716.
22911         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22912         when removing AVAILABLE1_USES_J macro.
22914 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
22916         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22917         (__bswap_64): __uint64_t for unsigned 64-bit int.
22919 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
22921         * include/string.h (memmem): Declare libc hidden alias.
22922         * string/memmem.c (memmem): Define libc hidden alias.
22923         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22924         __read, __close instead of open, read, close.
22926 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
22928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22929         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22930         global and hidden.
22931         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22932         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22933         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22934         Likewise.
22935         (__rawmemchr_sse2): Likewise.
22936         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22937         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22938         (__strchr_sse2): Likewise.
22939         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22940         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22941         (__strcasecmp_sse2): Likewise.
22942         (__strncasecmp_sse2): Likewise.
22943         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22944         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22945         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22946         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22947         (__strrchr_sse2): Likewise.
22948         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22949         ifunc-impl-list.c.
22950         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22951         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22952         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22953         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22954         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22956         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22957         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22958         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22959         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22960         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22961         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22962         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22963         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22964         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22965         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22966         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22967         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22968         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22969         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22970         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22971         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22972         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22973         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22974         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22975         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22976         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22977         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22978         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22979         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22981         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22982         global and hidden.
22983         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22984         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22985         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22986         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22987         Likewise.
22988         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22989         Likewise.
22990         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22991         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22992         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22993         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22994         ifunc-impl-list.c.
22995         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22996         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22997         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22998         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22999         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23000         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23001         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23002         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23003         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23004         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23005         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23006         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23007         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23008         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23009         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23010         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23011         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23012         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23013         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23014         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23015         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23016         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23017         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23018         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23019         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23020         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23021         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23022         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23023         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23024         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23025         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23026         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23027         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23028         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23029         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23030         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23031         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23032         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23033         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23034         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23035         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23037         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23038         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23039         * include/ifunc-impl-list.h: New file.
23040         * misc/ifunc-impl-list.c: Likewise.
23041         * misc/Makefile (routines): Add ifunc-impl-list.
23042         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23043         * string/test-string.h: Include <ifunc-impl-list.h>.
23044         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23045         impl_array): New variables.
23046         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23047         are defined.
23048         (test_init): Call __libc_ifunc_impl_list to initialize
23049         func_list if TEST_IFUNC and TEST_NAME are defined.
23051         * string/Makefile (strop-tests): Add bcopy and bzero.
23052         * string/test-bcopy.c: New file.
23053         * string/test-bzero.c: Likewise.
23054         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23055         defined.
23056         * string/test-memset.c: Support bzero test if TEST_BZERO is
23057         defined.
23058         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23059         __libc_memmove.
23060         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23061         __libc_memset.
23062         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23063         of memset.
23065 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23067         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23068         * configure: Regenerated.
23070         * Makeconfig (+link-static-before-libc): Don't include
23071         $(link-static-libc).
23073         * libio/libio.h (_IO_pos_t): Remove.
23075 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23077         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23078         McGrath.
23080 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23082         * crypt/crypt-entry.c: Include fips-private.h.
23083         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23084         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23085         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23086         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23088 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23090         * crypt/crypt-private.h: Include stdbool.h.
23091         (_ufc_setup_salt_r): Return bool.
23092         * crypt/crypt-entry.c: Include errno.h.
23093         (__crypt_r): Return NULL with EINVAL for bad salt.
23094         * crypt/crypt_util.c (bad_for_salt): New.
23095         (_ufc_setup_salt_r): Check that salt is long enough and within
23096         the specified alphabet.
23097         * crypt/badsalttest.c: New file.
23098         * crypt/Makefile (tests): Add it.
23099         ($(objpfx)badsalttest): New.
23101 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
23103         * NEWS: Add entry for BZ #14602.
23105 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23107         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23108         type-generic.
23109         * math/libm-test.inc: Update comment listing what functions and
23110         macros are tested.
23111         (isgreater_test): New function.
23112         (isgreaterequal_test): Likewise.
23113         (isless_test): Likewise.
23114         (islessequal_test): Likewise.
23115         (islessgreater_test): Likewise.
23116         (isunordered_test): Likewise.
23117         (main): Call the new functions.
23119 2012-10-09  Roland McGrath  <roland@hack.frob.com>
23121         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23122         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23123         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23124         * sysdeps/i386/configure: Regenerated.
23125         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23126         * sysdeps/mach/configure: Regenerated.
23127         * sysdeps/mach/hurd/configure: Regenerated.
23128         * sysdeps/powerpc/configure: Regenerated.
23129         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23130         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23131         * sysdeps/s390/s390-32/configure: Regenerated.
23132         * sysdeps/s390/s390-64/configure: Regenerated.
23133         * sysdeps/sh/configure: Regenerated.
23134         * sysdeps/sparc/configure: Regenerated.
23135         * sysdeps/unix/sysv/linux/configure: Regenerated.
23136         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23137         * sysdeps/x86_64/configure: Regenerated.
23139         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23140         defined.  Don't check if MAP is NULL.
23142 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23144         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23145         (_G_stat64): Likewise.
23146         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23147         (_G_stat64): Likewise.
23148         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23149         instead of struct _G_stat64.
23150         * libio/fileops.c (mmap_remap_check): Likewise.
23151         (decide_maybe_mmap): Likewise.
23152         (_IO_new_file_seekoff): Likewise.
23153         (_IO_file_stat): Likewise.
23154         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23155         _G_off64_t.
23156         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23157         instead of struct _G_stat64.
23158         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23160 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
23162         [BZ #14602]
23163         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23164         Replace with ...
23165         (CHECK_EOL): New macro.
23166         (two_way_short_needle): Check beginning of haystack for EOL.  Use
23167         CHECK_EOL.
23168         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23169         Replace with CHECK_EOL.
23170         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23171         Replace with CHECK_EOL.
23173 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
23175         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23176         type-generic.
23177         * math/libm-test.inc: Update comment listing what functions and
23178         macros are tested.
23179         (finite_test): New function.
23180         (isinf_test): Likewise.
23181         (isnan_test): Likewise.
23182         (fpclassify_test): Test subnormal input.
23183         (isfinite_test): Likewise.
23184         (isnormal_test): Likewise.
23185         (main): Call the new functions.
23187 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
23189         [BZ #14660]
23190         * Makerules (%.dynsym): Force C locale when running
23191         $(OBJDUMP) --dynamic-syms.
23193 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
23195         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23196         <stdint.h>.
23198 2012-10-06  David S. Miller  <davem@davemloft.net>
23200         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23201         upper 32-bits of the length value in %o2 since we use branch-on-register
23202         tests which consider the entire 64-bit register.
23204 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
23206         * string/test-strstr.c (check2): Add a test for page boundary.
23208 2012-10-05  David S. Miller  <davem@davemloft.net>
23210         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23211         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23212         file.
23213         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23214         sysdep_routines.
23215         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23216         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23217         and bzero when HWCAP_SPARC_CRYPTO is present.
23219 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
23221         [BZ #14602]
23222         * string/test-strstr.c (check2): New function.
23223         (test_main): Call check2.
23225         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23226         and bug-strchr1.
23227         * string/bug-strcasestr1.c (do_test): Moved to ...
23228         * string/test-strcasestr.c (check1): Here.  New function.
23229         (do_one_test): Break out result checking code into ...
23230         (check_result): This.  New function.
23231         (do_one_test): Call check_result.
23232         (test_main): Call check1.
23233         * string/bug-strchr1.c (do_test): Moved to ...
23234         * string/test-strchr.c (check1): Here.  New function.
23235         (do_one_test): Break out result checking code into ...
23236         (check_result): This.  New function.
23237         (do_one_test): Call check_result.
23238         (test_main): Call check1.
23239         * string/bug-strstr1.c (main): Moved to ...
23240         * string/test-strstr.c (check1): Here.  New function.
23241         (do_one_test): Break out result checking code into ...
23242         (check_result): This.  New function.
23243         (do_one_test): Call check_result.
23244         (test_main): Call check1.
23245         * string/bug-strcasestr1.c: Removed.
23246         * string/bug-strchr1.c: Likewise.
23247         * string/bug-strstr1.c: Likewise.
23249         * elf/Makefile (dl-routines): Add hwcaps.
23250         * elf/dl-support.c (_dl_important_hwcaps): Removed.
23251         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23252         (_dl_important_hwcaps): Moved to ...
23253         * elf/dl-hwcaps.c: Here.  New file.
23254         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23256         [BZ #14557]
23257         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23258         if IS_IN_rtld isn't defined.
23260         * elf/dl-support.c (_dl_sysinfo_map): New.
23261         Include "get-dynamic-info.h" and "setup-vdso.h".
23262         (_dl_non_dynamic_init): Call setup_vdso.
23263         * elf/dynamic-link.h: Don't include <assert.h>.
23264         (elf_get_dynamic_info): Moved to ...
23265         * elf/get-dynamic-info.h: Here.  New file.
23266         * elf/dynamic-link.h: Include "get-dynamic-info.h".
23267         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23268         * elf/setup-vdso.h: Here.  New file.
23269         * elf/rtld.c: Include "setup-vdso.h".
23270         (dl_main): Call setup_vdso.
23272 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
23274         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23275         creal in comment listing functions tested.  List finite, isinf,
23276         isnan, isless, islessequal, isgreater, isgreaterequal,
23277         islessgreater, isunordered, lgamma_r and pow10 as functions and
23278         macros not tested.  Mention which functions not tested are aliases
23279         for other functions.  Fix typo.  Note that signs of NaNs are not
23280         tested.
23282         * scripts/config.guess: Update from config.git.
23283         * scripts/config.sub: Likewise.
23285 2012-10-04  Roland McGrath  <roland@hack.frob.com>
23287         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23288         * misc/madvise.c (madvise): Renamed to __madvise.
23289         Make madvise a weak alias.
23290         * include/sys/mman.h: Declare __madvise.
23291         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23292         * sysdeps/unix/syscalls.list
23293         (madvise): Make __madvise the strong name, and madvise a weak alias.
23294         * sysdeps/unix/sysv/linux/syscalls.list
23295         (madvise, mmap): Remove redundant entries.
23296         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23297         * malloc/malloc.c (mtrim): Likewise.
23298         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23300 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23302         * sysdeps/mach/hurd/dl-cache.c: File removed.
23303         * config.h.in (USE_LDCONFIG): New #undef.
23304         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23305         * configure: Regenerated.
23306         * elf/Makefile (dl-routines): Add dl-cache only under
23307         [$(use-ldconfig) = yes].
23308         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23309         cache on [USE_LDCONFIG].
23310         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23311         [USE_LDCONFIG].
23312         * elf/rtld.c (dl_main): Likewise.
23314 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
23316         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23317         _SC_LEVEL4_CACHE_LINESIZE.
23319 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23321         * sysdeps/unix/bsd/confstr.h: File removed.
23323 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
23325         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23326         sys/sdt-config.h.
23328 2012-10-02  Roland McGrath  <roland@hack.frob.com>
23330         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23331         Make 'mapoff' field ElfW(Off) rather than off_t.
23333 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
23335         * nscd/Makefile: Remove nscd-cflags and all its users.
23336         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23337         (CFLAGS-nonlib): Add compiler flags for nscd modules.
23339         [BZ #10631]
23340         * malloc.c (malloc_printerr): Clarify error message.
23342 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
23344         [BZ #14648]
23345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23346         Set bit_FMA_Usable if FMA is supported.
23347         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23348         macro.
23349         (bit_FMA4_Usable): Updated.
23350         (index_FMA_Usable): New macro.
23351         (CPUID_FMA): Likewise
23352         (HAS_FMA): Defined with bit_FMA_Usable.
23354 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23356         * bits/types.h (__swblk_t): Type removed.
23357         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23358         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23360         (__SWBLK_T_TYPE): Likewise.
23361         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23362         (__SWBLK_T_TYPE): Likewise.
23363         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23364         (__SWBLK_T_TYPE): Likewise.
23365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23366         (__SWBLK_T_TYPE): Likewise.
23368 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
23369             Honza Horak <hhorak@redhat.com>
23371         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23372         (xdr_mapname): Use YPMAXMAP as maxsize.
23373         (xdr_peername): Use YPMAXPEER as maxsize.
23374         (xdr_keydat): Use YPAXRECORD as maxsize.
23375         (xdr_valdat): Use YPMAXRECORD as maxsize.
23377 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23379         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23381         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23382         * csu/init-first.c: ... here.
23383         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23384         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23385         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23386         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23387         * sysdeps/i386/init-first.c: File removed.
23388         * sysdeps/sh/init-first.c: File removed.
23390 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
23392         [BZ #14645]
23393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23394         if x * y might underflow to zero and z is zero.
23395         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23396         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23397         * math/libm-test.inc (min_subnorm_value): New variable.
23398         (fma_test): Add more tests.
23399         (fma_test_towardzero): Likewise.
23400         (fma_test_downward): Likewise
23401         (fma_test_upward): Likewise.
23402         (initialize): Set min_subnorm_value.
23404 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
23406         [BZ #14638]
23407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23408         0 + 0.
23409         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23410         mode for addition resulting in exact zero.
23411         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23413         exact 0 + 0.
23414         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23416         * math/libm-test.inc (fma_test): Add more tests.
23417         (fma_test_towardzero): New function.
23418         (fma_test_downward): Likewise.
23419         (fma_test_upward): Likewise.
23420         (main): Call the new functions.
23422 2012-09-28  David S. Miller  <davem@davemloft.net>
23424         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23426 2012-09-28  Roland McGrath  <roland@hack.frob.com>
23428         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23429         instead of SIGALRM.
23431         * sysdeps/gnu/_G_config.h: Moved to ...
23432         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23433         * sysdeps/mach/hurd/_G_config.h: Moved to ...
23434         * sysdeps/generic/_G_config.h: ... here.
23436         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
23438         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23440         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23441         Conditionalize target on [libnss_test1.so-version].
23443         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23445         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23446         (elfobjdir): Move out of conditionals.
23448         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23449         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23450         (__nss_lookup_function): Conditionalize label remove_from_tree on
23451         [!DO_STATIC_NSS || SHARED], matching its only use.
23453 2012-09-28  David S. Miller  <davem@davemloft.net>
23455         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23456         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23457         file.
23458         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23459         sysdep_routines.
23460         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23461         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23462         when HWCAP_SPARC_CRYPTO is present.
23464 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23466         * io/tst-mknodat.c: Create a FIFO instead of a socket.
23468 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
23470         [BZ #6530]
23471         * stdio-common/vfprintf.c (process_string_arg): Revert
23472         2000-07-22 change.
23474 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
23476         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23477         for testcase.
23478         * stdio-common/tst-sprintf.c: Include <locale.h>
23479         (main): Test sprintf's handling of incomplete multibyte
23480         characters.
23482 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
23484         * elf/dl-runtime.c (VERSYMIDX): Removed.
23485         * elf/dl-version.c (VERSYMIDX): Likewise.
23486         * elf/do-rel.h (VERSYMIDX): Likewise.
23487         (VALIDX): Likewise.
23488         * elf/dynamic-link.h (VERSYMIDX): Likewise.
23489         * elf/rtld.c (VALIDX): Likewise.
23490         (ADDRIDX): Likewise.
23491         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23492         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23493         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23494         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23495         (VALIDX): Likewise.
23496         (ADDRIDX): Likewise.
23498 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23500         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23502 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23504         [BZ #11438]
23505         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23506         to global scope.
23507         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23508         addresses are in the same scope as 192.0.2/24.
23509         * posix/gai.conf: Document new scope table defaults.
23511 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23513         [BZ #5298]
23514         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23515         for ftell.  Compute offsets from write pointers instead.
23516         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23518 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23520         [BZ #14543]
23521         * libio/Makefile (tests): New test case tst-fseek.
23522         * libio/tst-fseek.c: New test case to verify that fseek/ftell
23523         combination works in wide mode.
23524         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23525         state when the external buffer state changes.
23527 2012-09-27  David S. Miller  <davem@davemloft.net>
23529         [BZ #14376]
23530         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23531         pass reloc->r_addend in as the 'high' argument to
23532         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23536 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23538         * rt/tst-aio2.c: Include <pthread.h>.
23539         * rt/tst-aio3.c: Likewise.
23541 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23543         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23545 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23547         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23548         contents on [SHARED].
23550 2012-09-26  Marek Polacek  <polacek@redhat.com>
23552         [BZ #14530]
23553         [BZ #13741]
23554         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23555         for C++ and GCC <4.3 as well as for non GCC compilers.
23557 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23561 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23563         * Makefile.in (all, install): Declare with .PHONY.
23564         Reported by Michael Hope <michael.hope@linaro.org>.
23566 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23568         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23569         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23570         system header.
23571         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23572         Likewise.
23573         (sydep_routines): Add the new and the internal functions.
23574         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23575         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23577         (GLIBC_2.17): Add the new function.
23578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23579         (GLIBC_2.17): Likewise.
23580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23581         (GLIBC_2.17): Likewise.
23582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23583         (GLIBC_2.17): Likewise.
23584         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23586 2012-09-25  Alan Modra  <amodra@gmail.com>
23588         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23589         Add release barrier before setting once_control to say
23590         initialisation is done.  Add hints on lwarx.  Use macro in
23591         place of isync.
23592         (clear_once_control): Add release barrier.
23594 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23596         [BZ #13629]
23597         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23598         specially.
23599         * math/s_clog10.c (__clog10): Likewise.
23600         * math/s_clog10f.c (__clog10f): Likewise.
23601         * math/s_clog10l.c (__clog10l): Likewise.
23602         * math/s_clogf.c (__clogf): Likewise.
23603         * math/s_clogl.c (__clogl): Likewise.
23604         * math/Makefile (libm-calls): Add x2y2m1.
23605         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23606         (__x2y2m1): Likewise.
23607         (__x2y2m1l): Likewise.
23608         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23609         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23610         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23611         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23612         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23613         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23614         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23615         * sysdeps/i386/fpu/libm-test-ulps: Update.
23616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23618         [BZ #14621]
23619         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23620         int as type of variable DEPTH.
23621         (glob): Use size_t instead of int as type of variables NEWCOUNT
23622         and OLD_PATHC.
23624 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23626         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23627         Add s_sincosf-sse2.
23628         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23629         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23630         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23631         macros for using routine as __sincosf_ia32.
23632         Use macro for function declaration and weak_alias.
23633         * sysdeps/i386/fpu/libm-test-ulps: Update.
23635         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23638         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23639         subnormal argument.
23640         * math/s_cexpf.c (__cexpf): Likewise.
23641         * math/s_csinf.c (__csinf): Likewise.
23642         * math/s_csinhf.c (__csinhf): Likewise.
23643         * math/s_ctanf.c (__ctanf): Likewise.
23644         * math/s_ctanhf.c (__ctanhf): Likewise.
23645         * math/s_ccosh.c (__ccoshf): Likewise.
23646         * math/s_cexp.c (__cexpl): Likewise.
23647         * math/s_csin.c (__csin): Likewise.
23648         * math/s_csinh.c (__csinh): Likewise.
23649         * math/s_ctan.c (__ctan): Likewise.
23650         * math/s_ctanh.c (ctanh): Likewise.
23651         * math/s_ccoshl.c (__ccoshl): Likewise.
23652         * math/s_cexpl.c (__cexpl): Likewise.
23653         * math/s_csinl.c (__csinl): Likewise.
23654         * math/s_csinhl.c (__csinhl): Likewise.
23655         * math/s_ctanl.c (__ctanl): Likewise.
23656         * math/s_ctanhl.c (__ctanhl): Likewise.
23658 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23660         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23661         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23662         (_IO_off_t): Define to __off_t, not _G_off_t.
23663         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23664         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23665         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23666         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23667         type of __dummy and __dummy2 fields.
23668         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23669         (_G_ssize_t): Likewise.
23670         (_G_off_t): Likewise.
23671         (_G_pid_t): Likewise.
23672         (_G_uid_t): Likewise.
23673         (_G_wchar_t): Likewise.
23674         (_G_wint_t): Likewise.
23675         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23676         (_G_ssize_t): Likewise.
23677         (_G_off_t): Likewise.
23678         (_G_pid_t): Likewise.
23679         (_G_uid_t): Likewise.
23680         (_G_wchar_t): Likewise.
23681         (_G_wint_t): Likewise.
23682         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23683         (_G_ssize_t): Likewise.
23684         (_G_off_t): Likewise.
23685         (_G_pid_t): Likewise.
23686         (_G_uid_t): Likewise.
23687         (_G_wchar_t): Likewise.
23688         (_G_wint_t): Likewise.
23690 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23692         * malloc/arena.c: Include malloc-sysdep.h.
23693         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23694         is sufficient to shrink the heap or an unmap is needed.
23695         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23696         new function check_may_shrink_heap.
23697         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23698         new function check_may_shrink_heap.
23700 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23702         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23703         comments.
23705 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23707         * catgets/test-gencat.sh: Add "set -e".
23708         * elf/tst-pathopt.sh: Likewise.
23709         * grp/tst_fgetgrent.sh: Likewise.
23710         * iconvdata/run-iconv-test.sh: Likewise.
23711         * intl/tst-gettext.sh: Likewise.
23712         * intl/tst-gettext2.sh: Likewise.
23713         * intl/tst-gettext4.sh: Likewise.
23714         * intl/tst-gettext6.sh: Likewise.
23715         * intl/tst-translit.sh: Likewise.
23716         * io/ftwtest-sh: Likewise.
23717         * libio/test-freopen.sh: Likewise.
23718         * malloc/tst-mtrace.sh: Likewise.
23719         * posix/globtest.sh: Likewise.
23720         * posix/tst-getconf.sh: Likewise.
23721         * posix/wordexp-tst.sh: Likewise.
23722         * stdio-common/tst-printf.sh: Likewise.
23723         * stdio-common/tst-unbputc.sh: Likewise.
23724         * stdlib/tst-fmtmsg.sh: Likewise.
23725         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23726         * catgets/Makefile: Do not specify -e option when running
23727         testsuite shell scripts.
23728         * elf/Makefile: Likewise.
23729         * grp/Makefile: Likewise.
23730         * iconvdata/Makefile: Likewise.
23731         * intl/Makefile: Likewise.
23732         * io/Makefile: Likewise.
23733         * libio/Makefile: Likewise.
23734         * malloc/Makefile: Likewise.
23735         * posix/Makefile: Likewise.
23736         * stdio-common/Makefile: Likewise.
23737         * stdlib/Makefile: Likewise.
23738         * sysdeps/x86_64/Makefile: Likewise.
23740         * io/ftwtest-sh: Add copyright header.
23741         * posix/globtest.sh: Likewise.
23742         * posix/tst-getconf.sh: Likewise.
23743         * posix/wordexp-tst.sh: Likewise.
23744         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23746 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23748         [BZ #13679]
23749         * Makeconfig (+link): Defined as $(+link-static) if
23750         $(build-shared) isn't yes.
23751         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23752         isn't yes.
23753         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23755         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23757         [BZ #14562]
23758         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23759         new chunk size with MALLOC_ALIGN_MASK.
23761 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23763         [BZ #5044]
23764         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23765         <rounding-mode.h>.
23766         (__printf_fphex): Determine rounding using get_rounding_mode and
23767         round_away.
23768         * stdio-common/tst-printf-round.c (struct hex_test): New
23769         structure.
23770         (hex_tests): New variable.
23771         (test_hex_in_one_mode): New function.
23772         (do_test): Also run tests for hex float output.
23774 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23776         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23777         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23778         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23779         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23780         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23781         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23782         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23783         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23785 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
23787         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23788         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23789         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23790         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23792 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
23794         [BZ #14579]
23795         * elf/rtld.c (dl_main): Limit the check for self loading to normal
23796         mode only.
23797         * elf/tst-rtld-load-self.sh: New test.
23798         * elf/Makefile: Run it.
23800 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
23802         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23803         (tst-writev-ENV): Remove.
23804         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23806 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
23808         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23810 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
23812         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23813         unconditional.
23814         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23815         Likewise.
23816         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23817         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23818         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23819         Likewise.
23821 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
23823         [BZ #14587]
23824         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23825         * config.make.in (have-cpp-asm-debuginfo): Removed.
23826         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23827         * configure: Regenerated.
23829 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
23831         [BZ #5044]
23832         * stdio-common/printf_fp.c: Include <stdbool.h> and
23833         <rounding-mode.h>.
23834         (___printf_fp): Determine rounding using get_rounding_mode and
23835         round_away.
23836         * stdio-common/tst-printf-round.c: New file.
23837         * stdio-common/Makefile (tests): Add tst-printf-round.
23838         (link-libm): New variable.
23839         ($(objpfx)tst-printf-round): Depend in $(link-libm).
23841 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
23843         [BZ #14576]
23844         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23845         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23846         Likewise.
23847         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23848         Likewise.
23850 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
23852         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23853         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23854         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23855         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23857 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
23859         [BZ #14518]
23860         * include/rounding-mode.h: New file.
23861         * sysdeps/generic/get-rounding-mode.h: Likewise.
23862         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23863         * stdlib/strtod_l.c: Include <rounding-mode.h>.
23864         (MAX_VALUE): New macro.
23865         (MIN_VALUE): Likewise.
23866         (overflow_value): New function.
23867         (underflow_value): Likewise.
23868         (round_and_return): Use overflow_value and underflow_value to
23869         determine return values in overflow and underflow cases.  Use
23870         round_away to determine rounding depending on rounding mode.
23871         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23872         determine return values in overflow and underflow cases.
23873         * stdlib/tst-strtod-round.c: Include <fenv.h>.
23874         (struct test_results): New structure.
23875         (struct test): Use struct test_results to store expected results
23876         for all rounding modes.
23877         (TEST): Include expected results for all rounding modes.
23878         (test_in_one_mode): New function.
23879         (do_test): Use test_in_one_mode to compute and check results.
23880         Check results for all rounding modes.
23881         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23882         $(link-libm).
23884 2012-12-09  Allan McRae  <allan@archlinux.org>
23886         * sysdeps/i386/fpu/libm-test-ulps: Update
23888 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
23890         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23891         (_G_int32_t): Likewise.
23892         (_G_uint16_t): Likewise.
23893         (_G_uint32_t): Likewise.
23894         (_G_HAVE_BOOL): Likewise.
23895         (_G_HAVE_ATEXIT): Likewise.
23896         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23897         (_G_HAVE_IO_FILE_OPEN): Likewise.
23898         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23899         (_G_int32_t): Likewise.
23900         (_G_uint16_t): Likewise.
23901         (_G_uint32_t): Likewise.
23902         (_G_HAVE_BOOL): Likewise.
23903         (_G_HAVE_ATEXIT): Likewise.
23904         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23905         (_G_HAVE_IO_FILE_OPEN): Likewise.
23906         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23907         (_G_int32_t): Likewise.
23908         (_G_uint16_t): Likewise.
23909         (_G_uint32_t): Likewise.
23910         (_G_HAVE_BOOL): Likewise.
23911         (_G_HAVE_ATEXIT): Likewise.
23912         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23913         (_G_HAVE_IO_FILE_OPEN): Likewise.
23915 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
23917         * csu/libc-tls.c: Update copyright years.
23919 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
23921         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23922         [!_G_USING_THUNKS]: Remove conditional code.
23923         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23924         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23926         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23927         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23928         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23929         (_G_VTABLE_LABEL_PREFIX): Likewise.
23930         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23931         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23932         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23933         (_G_VTABLE_LABEL_PREFIX): Likewise.
23934         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23935         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23936         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23937         (_G_VTABLE_LABEL_PREFIX): Likewise.
23938         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23940 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
23942         * libio/Makefile: Include ../Makeconfig before tests.
23943         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23944         only if $(build-shared) is yes.
23946         * iconv/gconv_db.c: Update copyright years.
23948 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23950         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23951         unwind info if defined PIC. Fix special cases description.
23952         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23954         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23955         DP_HI_MASK entry.
23956         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23958 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
23960         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23962         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23963         is NULL.
23965         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23966         (LDLIBS-tst-chk4): This.
23967         (LDFLAGS-tst-chk5): Renamed to ...
23968         (LDLIBS-tst-chk5): This.
23969         (LDFLAGS-tst-chk6): Renamed to ...
23970         (LDLIBS-tst-chk6): This.
23971         (LDFLAGS-tst-lfschk4): Renamed to ...
23972         (LDLIBS-tst-lfschk4): This.
23973         (LDFLAGS-tst-lfschk5): Renamed to ...
23974         (LDLIBS-tst-lfschk5): This.
23975         (LDFLAGS-tst-lfschk6): Renamed to ...
23976         (LDLIBS-tst-lfschk6): This.
23978         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23979         on $(common-objpfx)soversions.mk.
23981 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
23983         [BZ #10014]
23984         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23985         example host name.
23987 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23989         * malloc/arena.c (arena_get_retry): New function that gets
23990         another arena for the caller to try its request on.
23991         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23992         current arena cannot fulfill the request.
23993         (__libc_memalign): Likewise.
23994         (__libc_memalign): Likewise.
23995         (__libc_pvalloc): Likewise.
23996         (__libc_calloc): Likewise.
23998 2012-09-05  John Tobey  <john.tobey@gmail.com>
24000         [BZ #13542]
24001         * manual/arith.texi (Operations on Complex): Fix description
24002         of carg branch cut.
24004 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24006         [BZ #10014]
24007         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24008         host name.
24010         [BZ #10038]
24011         * manual/memory.texi (Memory): Make order of menu items match
24012         order of sections.
24014 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24016         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24017         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24018         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24020 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24022         * csu/libc-tls.c (static_dtv): Renamed to ...
24023         (_dl_static_dtv): This.  Make it global.
24024         (_dl_initial_dtv): Removed.
24025         (__libc_setup_tls): Updated.
24026         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24027         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24028         DL_INITIAL_DTV.
24030 2012-09-06  Petr Machata  <pmachata@redhat.com>
24032         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24033         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24034         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24035         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24037 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24039         [BZ #14545]
24040         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24041         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24042         freeing dtv[-1].
24044 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24046         [BZ #14544]
24047         * Makeconfig (link-static-before-libc): Replace $(+prector)
24048         with $(+prectorT).
24049         (link-static-after-libc): Replace $(+postctor) with
24050         $(+postctorT).
24051         (link-bounded): Replace $(+prector)/$(+postctor) with
24052         $(+prectorT)/$(+postctorT).
24053         (+prectorT): New macro.
24054         (+postctorT): Likewise.
24056 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24058         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24059         (round_str): Handle values above the maximum for IBM long double
24060         as inexact.
24061         * stdlib/tst-strtod-round.c (tests): Regenerated.
24063 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24065         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24066         assembler flag.
24067         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24068         zarch_nohighgprs around the zarch optimized routines.
24069         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24070         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24071         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24072         for zarch.
24074 2012-09-05  David S. Miller  <davem@davemloft.net>
24076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24078         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24079         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24080         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24081         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24082         entries.
24084 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24086         * malloc/arena.c: Fold copyright years.
24087         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24089 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24091         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24093 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24095         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24097 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24099         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24100         change internal state upon failure.
24102 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24104         * malloc/mcheck.c (mcheck_check_all): Fix typo.
24105         * malloc/memusage.c (mmap): Likewise.
24106         (mmap64, mremap): Likewise.  Adjust name in comment.
24108 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24110         * libio/fileops.c: Fix typos in comments.
24111         * libio/oldfileops.c: Likewise.
24112         * libio/wfileops.c: Likewise.
24114 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24116         [BZ #1349]
24117         * malloc/Makefile (tests): Add tst-malloc-usable test case.
24118         (tst-malloc-usable-ENV): Set environment for test case.
24119         * malloc/hooks.c (malloc_check_get_size): New function to get
24120         requested size.
24121         * malloc/malloc.c (musable): Use malloc_check_get_size.
24122         * malloc/tst-malloc-usable.c: New test case.
24124 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24126         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24128 2012-09-05  Allan McRae  <allan@archlinux.org>
24130         [BZ #13966]
24131         * configure.in (CXX_SYSINCLUDES): Use compiler output to
24132         determine header location.
24133         * configure: Regenerated.
24135 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24137         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24138         float format.
24139         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24140         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24141         format.
24142         (test): Regenerate.
24144 2012-09-04  David S. Miller  <davem@davemloft.net>
24146         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24147         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24148         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24150 2012-09-04  Florian Weimer  <fweimer@redhat.com>
24152         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24153         failures.
24155         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24157 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
24159         [BZ #9914]
24160         * libio/iogetdelim.c: Include <limits.h>.
24161         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24162         + len + 1 would overflow.
24164 2012-09-03  Andreas Jaeger  <aj@suse.de>
24166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24167         * sysdeps/i386/fpu/libm-test-ulps: Update.
24169 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24171         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24172         Add s_sinf-sse2, s_conf-sse2.
24174         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24175         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24176         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24177         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24179         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24180         for using routine as __sinf_ia32.
24181         Use macro for function declaration and weak_alias.
24182         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24183         for using routine as __cosf_ia32.
24184         Use macro for function declaration and weak_alias.
24186         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24187         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24189         * sysdeps/x86_64/fpu/s_sinf.S: New file.
24190         * sysdeps/x86_64/fpu/s_cosf.S: New file.
24191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24193         * math/libm-test.inc (cos_test): Add more test cases.
24194         (sin_test): Likewise.
24195         (sincos_test): Likewise.
24197 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24199         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24200         (IFUNC_RESOLVE): Make pointers to the specialized implementations
24201         hidden.
24202         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24204 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
24206         [BZ #14538]
24207         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24208         first element of the GOT.
24209         (elf_machine_load_address): Return the difference between
24210         the runtime address of _DYNAMIC and elf_machine_dynamic ().
24212 2012-09-01  Allan McRae  <allan@archlinux.org>
24214         [BZ #13412]
24215         * configure.in (AWK): Require gawk version 3.0 or later.
24216         * configure: Regenerated.
24218 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
24220         * sysdeps/unix/sysv/linux/kernel-features.h
24221         (__ASSUME_POSIX_CPU_TIMERS): Remove.
24222         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24223         [__NR_clock_getres]: Make code unconditional.
24224         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24225         (clock_getcpuclockid): Remove code left unreachable by removal of
24226         conditionals.
24227         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24228         code unconditional.
24229         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24230         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24231         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24232         Make code unconditional.
24233         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24234         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24235         * sysdeps/unix/sysv/linux/clock_settime.c
24236         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24237         conditional code.
24238         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24239         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24241 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
24243         [BZ #14476]
24244         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24245         scripts/test-installation.pl.
24247         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24248         and $ld_so_version if it is set.
24250 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24252         [BZ #14516]
24253         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24254         failure if reading from procfs failed.
24255         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24257 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24259         * sysdeps/unix/sysv/linux/kernel-features.h
24260         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24261         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24262         Remove conditional code.
24263         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24264         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24265         Remove conditional code.
24266         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24267         * sysdeps/unix/sysv/linux/i386/fxstat.c
24268         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24269         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24270         * sysdeps/unix/sysv/linux/i386/fxstatat.c
24271         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24272         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24273         * sysdeps/unix/sysv/linux/i386/lxstat.c
24274         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24275         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24276         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24277         Remove conditional code.
24278         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24279         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24280         Remove conditional code.
24281         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24282         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24283         <kernel-features.h>.
24284         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24285         Remove.
24286         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24287         Remove conditional code.
24288         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24289         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24290         Remove conditional.
24292 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
24294         [BZ #5400]
24295         * NEWS: Add fixed bug number.
24297 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24299         [BZ #14519]
24300         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24301         underflowing exponent in case of negative sign.
24302         * stdlib/tst-strtod-round-data: Add more tests.
24303         * stdlib/tst-strtod-round.c (tests): Regenerated.
24305         [BZ #3479]
24306         * stdlib/strtod_l.c (NDIG): Remove.
24307         (HEXNDIG): Likewise.
24308         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24309         smallest representable value.
24310         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24311         lie within an exact representation of 1/2 ulp of the result.
24312         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24313         unconditionally.
24314         (TENS_P9_IDX): Define unconditionally.
24315         (TENS_P9_SIZE): Likewise.
24316         (TENS_P10_IDX): Likewise.
24317         (TENS_P10_SIZE): Likewise.
24318         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24319         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24320         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24321         entries for 10^2^13 and 10^2^14.
24322         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24323         (TENS_P13_IDX): Define.
24324         (TENS_P13_SIZE): Likewise.
24325         (TENS_P14_IDX): Likewise.
24326         (TENS_P14_SIZE): Likewise.
24327         (_fpioconst_pow10): Change array size to
24328         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
24329         unconditional.
24330         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24331         1024]: Add entries for 10^2^13 and 10^2^14.
24332         [LAST_POW10 > _LAST_POW10]: Remove #error.
24333         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24334         (_fpioconst_pow10): Change array size to
24335         FPIOCONST_POW10_ARRAY_SIZE.
24336         * stdlib/gen-fpioconst.c: New file.
24337         * stdlib/gen-tst-strtod-round.c: Likewise.
24338         * stdlib/tst-strtod-round-data: Likewise.
24339         * stdlib/tst-strtod-round.c: Likewise.
24340         * stdlib/Makefile (tests): Add tst-strtod-round.
24342         [BZ #14459]
24343         * stdlib/strtod_l.c: Include <stdint.h>.
24344         (NDEBUG): Do not define.
24345         (round_and_return): Change EXPONENT parameter to type intmax_t.
24346         Rearrange calculations to avoid internal overflow possibilities.
24347         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24348         Rearrange calculations to avoid internal overflow possibilities.
24349         Assert that number fits inside MPNSIZE limbs.
24350         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24351         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
24352         calculations and add assertions to avoid internal overflow
24353         possibilities.  Add casts to avoid signed/unsigned operations.
24354         * stdlib/tst-strtod-overflow.c: New file.
24355         * stdlib/Makefile (tests): Add tst-strtod-overflow.
24357 2012-08-25  Marek Polacek  <polacek@redhat.com>
24359         * time/time.h: Fix some typos in comments.
24361 2012-08-23  Roland McGrath  <roland@hack.frob.com>
24363         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24364         * posix/tst-rfc3484-2.c: Likewise.
24365         * posix/tst-rfc3484-3.c: Likewise.
24367 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
24369         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24370         (EF_ARM_ABI_FLOAT_HARD): Likewise.
24372 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
24374         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24375         #include of fxstatat64.c.
24377 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24379         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24380         * shadow/getspent_r.c: Likewise.
24381         * shadow/getspnam.c: Likewise.
24382         * shadow/getspnam_r.c: Likewise.
24383         * gshadow/getsgent.c: Likewise.
24384         * gshadow/getsgent_r.c: Likewise.
24385         * gshadow/getsgnam.c: Likewise.
24386         * gshadow/getsgnam_r.c: Likewise.
24387         * inet/getnetbyad.c: Likewise.
24388         * inet/getnetbyad_r.c: Likewise.
24389         * inet/getnetbynm.c: Likewise.
24390         * inet/getnetbynm_r.c: Likewise.
24391         * inet/getnetent.c: Likewise.
24392         * inet/getnetent_r.c: Likewise.
24393         * inet/getproto.c: Likewise.
24394         * inet/getproto_r.c: Likewise.
24395         * inet/getprtent.c: Likewise.
24396         * inet/getprtent_r.c: Likewise.
24397         * inet/getprtname.c: Likewise.
24398         * inet/getprtname_r.c: Likewise.
24399         * inet/getrpcbyname.c: Likewise.
24400         * inet/getrpcbyname_r.c: Likewise.
24401         * inet/getrpcbynumber.c: Likewise.
24402         * inet/getrpcbynumber_r.c: Likewise.
24403         * inet/getrpcent.c: Likewise.
24404         * inet/getrpcent_r.c: Likewise.
24405         * inet/getaliasent.c: Likewise.
24406         * inet/getaliasent_r.c: Likewise.
24407         * inet/getaliasname.c: Likewise.
24408         * inet/getaliasname_r.c: Likewise.
24409         * nscd/getgrgid_r.c: Likewise.
24410         * nscd/getgrnam_r.c: Likewise.
24411         * nscd/gethstbyad_r.c: Likewise.
24412         * nscd/gethstbynm3_r.c: Likewise.
24413         * nscd/getpwnam_r.c: Likewise.
24414         * nscd/getpwuid_r.c: Likewise.
24415         * nscd/getsrvbynm_r.c: Likewise.
24416         * nscd/getsrvbypt_r.c: Likewise.
24417         * nscd/gai.c: Likewise.
24419         * configure.in (build_nscd): New substituted variable, set
24420         by --disable-build-nscd and defaults to $use_nscd.
24421         * configure: Regenerated.
24422         * config.make.in (build-nscd): New substituted variable.
24423         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24424         Change conditional to require [$(build-nscd) = yes] as well.
24425         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24427         [BZ# 13696]
24428         * configure.in (use_nscd): New substituted variable, set by
24429         --disable-nscd.  If enabled, define USE_NSCD.
24430         * configure: Regenerated.
24431         * config.h.in: Add USE_NSCD.
24432         * config.make.in (use-nscd): New substituted variable.
24433         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24434         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24435         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24436         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24437         (CFLAGS-getgrnam_r.c): Likewise.
24438         (CFLAGS-initgroups.c): Likewise.
24439         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24440         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24441         Variables removed.
24442         * inet/getnetgrent_r.c
24443         (nscd_setnetgrent): New function, broken out of ...
24444         (setnetgrent): ... here.  Call it.
24445         (innetgr): Conditionalize nscd bits on [USE_NSCD].
24446         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24447         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24448         * nscd/Makefile (routines, aux): Move definitions after include of
24449         Makeconfig.  Conditionalize on [$(use-nscd) != no].
24450         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24451         Conditionalize on [USE_NSCD].
24452         (is_nscd, nscd_init_cb): Likewise.
24453         (nss_load_library): Conditionalize init callback on [USE_NSCD].
24454         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24455         * nss/nss_db/db-init.c: Likewise.
24456         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24457         [USE_NSCD].
24458         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24459         (make_request): Use it.
24460         (cache_valid_p): New function.
24461         (__check_pf): Use it.
24462         * NEWS: Add item for --disable-nscd.
24464 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
24466         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24467         to support sed >= 4.2.1-20-ga9bf076.
24468         * configure: Regenerated.
24470 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24472         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24473         Conditionalize whole body on [IREL].
24475 2012-08-22  Jeff Law <law@redhat.com>
24477         [BZ #14505]
24478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24479         if the family is PF_UNSPEC.
24481 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
24483         * Makerules (lib-version): Rename from V.
24484         (install-lib-nosubdir): Change V to lib-version.
24486 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
24488         [BZ #14252]
24489         * powerpc32/power6/wcschr.c: New file.
24490         * powerpc32/power6/wcscpy.c: New file.
24491         * powerpc32/power6/wcsrchr.c: New file.
24492         * powerpc64/power6/wcschr.c: New file.
24493         * powerpc64/power6/wcscpy.c: New file.
24494         * powerpc64/power6/wcsrchr.c: New file.
24496 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24498         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24499         (two_way_short_needle): Use it.
24500         * string/strstr.c (AVAILABLE1_USES_J): Define.
24501         * string/strcasestr.c: Likewise.
24503         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24504         array references.
24505         * string/strcasestr.c (TOLOWER): Make side-effect safe.
24507         [BZ #11607]
24508         * NEWS: Add an entry.
24509         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24510         define their defaults.
24511         (two_way_short_needle): Detect end-of-string on-the-fly.
24512         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24513         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24514         * string/bug-strcasestr1.c: New test.
24515         * string/Makefile: Run it.
24517 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24519         [BZ #11607]
24520         * string/str-two-way.h (two_way_short_needle): Optimize matching of
24521         the first character.
24523 2012-08-21  Roland McGrath  <roland@hack.frob.com>
24525         * csu/elf-init.c (__libc_csu_irel): Function removed.
24526         * csu/libc-start.c (apply_irel): New function.
24527         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24529 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
24531         * sysdeps/unix/sysv/linux/kernel-features.h
24532         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24533         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24534         <kernel-features.h>.
24535         [__NR_fadvise64_64]: Make code unconditional.
24536         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24537         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24538         !__NR_fadvise64_64)]: Likewise.
24539         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24540         !__NR_fadvise64_64))]: Likewise.
24541         [__NR_fadvise64]: Make code unconditional.
24542         [!__NR_fadvise64]: Remove conditional code.
24543         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24544         <kernel-features.h>.
24545         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24546         unconditional.
24547         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24548         conditional code.
24549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24550         not include <kernel-features.h>.
24551         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24552         unconditional.
24553         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24554         conditional code.
24555         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24556         include <kernel-features.h>.
24557         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24558         unconditional.
24559         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24560         conditional code.
24562 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24564         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24565         slight instruction rearrangements per scrollpipe analysis.
24566         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24568 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24570         * manual/syslog.texi (syslog; vsyslog, closelog):
24571         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24572         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24574         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24575         DSOCAPS to match condition on defining it.
24577 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24579         * sysdeps/unix/sysv/linux/kernel-features.h
24580         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24582         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24583         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24585         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24586         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24588         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24589         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24591         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24592         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24594         * sysdeps/unix/sysv/linux/kernel-features.h
24595         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24596         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24597         unconditional.
24598         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24599         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24600         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24601         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24602         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24603         Make code unconditional.
24604         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24605         (__mmap64) [!__NR_mmap2]: Likewise.
24606         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24607         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24608         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24609         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24610         [__NR_mmap2]: Make code unconditional.
24611         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24612         (__mmap64) [!__NR_mmap2]: Likewise.
24614 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24616         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24618 2012-08-18  Andreas Jaeger  <aj@suse.de>
24620         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24622 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24624         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24625         * include/unistd.h (__have_sock_cloexec): Likewise.
24626         (__have_pipe2): Likewise.
24627         (__have_dup3): Likewise.
24629 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24631         [BZ #9685]
24632         * include/unistd.h (__have_pipe2): Change define into an extern int.
24633         (__have_dup3): Likewise.
24634         * socket/have_sock_cloexec.c: Include fcntl.h.
24635         (__have_pipe2): New variable.
24636         (__have_dup3): Likewise.
24638 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
24640         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24642 2012-08-17  Marek Polacek  <polacek@redhat.com>
24644         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24645         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24647 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24649         * configure.in: Add AC_SUBST for sysheaders.
24650         * configure: Regenerated.
24651         * config.make.in (sysheaders): New substituted variable.
24653         * sysdeps/unix/mkfifo.c: Moved ...
24654         * sysdeps/posix/mkfifo.c: ... here.
24655         * sysdeps/unix/mkfifoat.c: Moved ...
24656         * sysdeps/posix/mkfifoat.c: ... here.
24658         * sysdeps/unix/utime.c: Moved ...
24659         * sysdeps/posix/utime.c: ... here.
24661         * sysdeps/unix/time.c: Moved ...
24662         * sysdeps/posix/time.c: ... here.
24663         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24664         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24666         * sysdeps/unix/nice.c: Moved ...
24667         * sysdeps/posix/nice.c: ... here.
24669         * sysdeps/unix/alarm.c: Moved ...
24670         * sysdeps/posix/alarm.c: ... here.
24672         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24674 2012-08-17  Jeff Law <law@redhat.com>
24676         * intl/Makefile (codeset_mo): New variable.
24677         ($(codeset_mo)): New target.
24678         (tst-codeset.out): Depend on that.  Remove explicit rule.
24679         (tst-gettext3.out, tst-gettext5.out): Likewise.
24680         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24681         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24682         * intl/tst-codeset.sh: Remove.
24683         * intl/tst-gettext3.sh: Likewise.
24684         * intl/tst-gettext5.sh: Likewise.
24686 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24688         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24689         * sysdeps/unix/syscalls.list: ... here.
24691         * sysdeps/posix/getaddrinfo.c
24692         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24693         (gaiconf_init, gaiconf_reload): Use them.
24694         [!_STATBUF_ST_NSEC]
24695         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24696         Define using time_t rather than struct timespec.
24698         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24699         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24700         Macros removed.
24701         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24702         [!NO_THREADS].
24703         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24704         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24705         Likewise.
24707         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24708         __libc_cleanup_push argument.
24710         * bits/param.h: New file.
24711         * misc/sys/param.h: New file.
24712         * include/sys/param.h: New file.
24713         * misc/Makefile (headers): Add bits/param.h.
24714         * sysdeps/generic/sys/param.h: File removed.
24715         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24716         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24717         * sysdeps/mach/hurd/bits/param.h: New file.
24718         * sysdeps/mach/hurd/sys/param.h: File removed.
24720         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24721         last change.
24723         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24724         [_IO_MTSAFE_IO].
24725         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24726         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24727         New macros.
24729         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24730         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24731         rather than -D_IO_MTSAFE_IO conditionally.
24732         * stdio-common/Makefile (CPPFLAGS): Likewise.
24733         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24734         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24735         Use $(libio-mtsafe).
24736         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24737         of -D_IO_MTSAFE_IO.
24738         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24739         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24740         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24741         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24742         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24743         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24744         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24745         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24746         (CFLAGS-fread_u_chk.c): Likewise.
24747         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24748         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24749         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24750         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24751         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24752         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24753         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24754         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24755         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24757         * libio/Makefile: Test [$(libc-reentrant) = yes]
24758         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24760         * Makeconfig
24761         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24762         * sysdeps/pthread/configure: File removed.
24763         * sysdeps/pthread/Makeconfig: New file.
24764         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24765         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24767 2012-08-16  Gary Benson  <gbenson@redhat.com>
24769         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24770         unmapping the first object in a namespace.
24772 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24774         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24775         (__internal_setnetgrent): ... this.  Add internal_function to
24776         definition.  Add libc_hidden_def.
24777         (setnetgrent): Update caller.
24778         (internal_endnetgrent): Renamed to ...
24779         (__internal_endnetgrent): ... this.  Add internal_function to
24780         definition.  Add libc_hidden_def.
24781         (endnetgrent): Update caller.
24782         (internal_getnetgrent_r): Renamed to ...
24783         (__internal_getnetgrent_r): ... this.  Add internal_function to
24784         definition.  Add libc_hidden_def.
24785         (__getnetgrent_r): Update caller.
24786         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
24788 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24790         * stdlib/longlong.h: Update from GCC.
24792 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24794         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24795         on _QL, which is set by umul_ppmm but never used.
24796         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24797         variables, which are set by GMP macros but never used.
24798         * stdio-common/_itowa.c (_itowa): Likewise.
24799         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24800         * stdlib/mod_1.c (mpn_mod_1): Likewise.
24802 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
24804         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24805         struct La_sh_regs is not constant.
24806         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24807         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24808         and struct La_sparc64_regs are not constant.
24810 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24812         * sysdeps/unix/sysv/linux/kernel-features.h
24813         (__ASSUME_POSIX_TIMERS): Remove.
24814         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24815         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24816         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24817         Make code unconditional.
24818         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24819         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24820         Make code unconditional.
24821         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24822         * sysdeps/unix/sysv/linux/clock_nanosleep.c
24823         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24824         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24825         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24826         Make code unconditional.
24827         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24828         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24829         (__libc_missing_posix_timers): Remove.
24831 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24833         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24834         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24836         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24838         * elf/dl-sym.c: Include <stdlib.h>.
24840         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24841         constants, which avoids warnings in 32-bit builds.
24843         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24844         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24846         * misc/lseek.c: File moved to ...
24847         * io/lseek.c: ... here.
24849         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24851         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24852         shifting LEN more than 31 bits at once.
24854 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24856         [BZ #14195]
24857         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24858         segmentation fault for a case of two empty input strings.
24859         * string/test-strncasecmp.c (check1): Renamed to...
24860         (bz12205): ...this.
24861         (bz14195): Add new testcase for two empty input strings and N > 0.
24862         (test_main): Call new testcase, adapt for renamed function.
24864 2012-08-15  Andreas Jaeger  <aj@suse.de>
24866         [BZ #14090]
24867         * crypt/md5test2.c: New test, based on test supplied by Serge
24868         Belyshev <belyshev@depni.sinp.msu.ru>.
24869         * crypt/Makefile (xtests): Add md5test-giant..
24870         * crypt/Makefile ($(objpfx)md5test-giant): Add.
24872 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
24874         [BZ #14090]
24875         * crypt/md5.c (md5_process_block): Don't assume the buffer
24876         length is less than 2**32.
24877         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24878         length is less than 2**64.
24880 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24882         * string/str-two-way.h: Include <sys/param.h>.
24883         (MAX): Macro removed.
24885         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24886         Move #define and #undef of memmove to just before and after
24887         including <string.h>.
24889         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24890         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24891         and after including <string.h>.  Move declarations of
24892         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24893         to before #include "string/memmove.c".
24895         * include/dirent.h: Declare __getdirentries.
24897         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24898         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24900 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
24902         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24903         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24904         * sysdeps/i386/configure: Regenerated.
24905         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24906         STABS_CURRENT_FILE, and STABS_FUN.
24907         (END): Remove call to STABS_FUN_END.
24908         (STABS_CURRENT_FILE1): Delete.
24909         (STABS_CURRENT_FILE): Likewise.
24910         (STABS_FUN): Likewise.
24911         (STABS_FUN_END): Likewise.
24912         (STABS_FUN2): Likewise.
24913         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24914         * sysdeps/x86_64/configure: Regenerated.
24916 2012-08-14  Roland McGrath  <roland@hack.frob.com>
24918         * elf/dl-open.c: Include <atomic.h>.
24919         * elf/dl-lookup.c: Likewise.
24921 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
24923         * sysdeps/unix/sysv/linux/kernel-features.h
24924         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24925         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24926         unconditionally.
24927         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24928         unconditionally.
24929         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24930         condition on __ASSUME_CLONE_THREAD_FLAGS.
24932 2012-08-14  Andreas Jaeger  <aj@suse.de>
24934         * sysdeps/i386/fpu/libm-test-ulps: Update.
24936 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
24938         * include/atomic.h (atomic_exchange_and_add): Split into ...
24939         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24940         New atomic macros.
24942 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
24944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24946 2012-08-13  Jeff Law <law@redhat.com>
24948         * manual/stdio.texi (snprintf): Clarify handling of the trailing
24949         null byte in the output string.
24951 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
24953         * sysdeps/unix/sysv/linux/kernel-features.h
24954         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24955         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24956         (__ASSUME_ARG_MAX_STACK_BASED): Define.
24957         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24958         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24959         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
24960         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24962 2012-08-09  Jeff Law <law@redhat.com>
24964         [BZ #13939]
24965         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24966         When avoid_arena is set, don't retry in the that arena.  Pick the
24967         next one, whatever it might be.
24968         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24969         (arena_lock): Pass in new parameter to arena_get2.
24970         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24971         arena_get2.
24972         (__libc_malloc): Unify retrying after main arena failure with
24973         __libc_memalign version.
24974         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24976 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24978         [BZ #14166]
24979         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24980         to __redirect_strstr.
24981         (__strstr_sse42): Use typeof __redirect_strstr.
24982         (__strstr_ia32): Likewise.
24983         (__libc_strstr): New prototype.
24984         (strstr): Renamed to ...
24985         (__libc_strstr): This.
24986         (strstr): New strong alias of __libc_strstr.
24987         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24988         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24989         __redirect_time.
24990         Include <time.h>.
24991         (__libc_time): New prototype.
24992         (time_ifunc): Replace time with __libc_time.
24993         (time): New strong alias and hidden definition of __libc_time.
24994         (__GI_time): Remove strong alias.
24995         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24996         Include <stddef.h>.
24997         (memmove): Redefined to __redirect_memmove.
24998         (__memmove_sse2): Use typeof __redirect_memmove.
24999         (__memmove_ssse3): Likewise.
25000         (__memmove_ssse3_back): Likewise.
25001         (__libc_memmove): New prototype.
25002         (memmove): Renamed to ...
25003         (__libc_memmove): This.
25004         (memmove): New strong alias of __libc_memmove.
25006 2012-08-08  Mark Salter  <msalter@redhat.com>
25008         * elf/elf.h
25009         (R_MN10300_TLS_GD): Define.
25010         (R_MN10300_TLS_LD): Likewise.
25011         (R_MN10300_TLS_LDO): Likewise.
25012         (R_MN10300_TLS_GOTIE): Likewise.
25013         (R_MN10300_TLS_IE): Likewise.
25014         (R_MN10300_TLS_LE): Likewise.
25015         (R_MN10300_TLS_DTPMOD): Likewise.
25016         (R_MN10300_TLS_DTPOFF): Likewise.
25017         (R_MN10300_TLS_TPOFF): Likewise.
25018         (R_MN10300_SYM_DIFF): Likewise.
25019         (R_MN10300_ALIGN): Likewise.
25020         (R_MN10300_NUM): Update.
25022 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25024         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25025         Remove.
25027 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25029         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25031         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25032         sysdeps/unix -> sysdeps/posix move.
25033         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25035 2012-08-07      Allan McRae     <allan@archlinux.org>
25037         [BZ #14303]
25038         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25039         (SUNOS_CPP): Likewise.
25040         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25041         not found.
25042         (open_input): Call CPP using execvp.
25044 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25046         * sysdeps/unix/sysv/linux/kernel-features.h
25047         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25048         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25049         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25050         (__ASSUME_WAITID_SYSCALL): Likewise.
25051         * sysdeps/unix/sysv/linux/dl-execstack.c
25052         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25053         code unconditional.
25054         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25055         conditional code.
25056         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25057         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25058         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25059         code.
25060         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25061         unconditional.
25062         [__ASSUME_WAITID_SYSCALL]: Likewise.
25063         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25065 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25067         * sysdeps/unix/closedir.c: Renamed to ...
25068         * sysdeps/posix/closedir.c: ... here.
25069         * sysdeps/unix/dirfd.c: Renamed to ...
25070         * sysdeps/posix/dirfd.c: ... here.
25071         * sysdeps/unix/dirstream.h: Renamed to ...
25072         * sysdeps/posix/dirstream.h: ... here.
25073         * sysdeps/unix/fdopendir.c: Renamed to ...
25074         * sysdeps/posix/fdopendir.c: ... here.
25075         * sysdeps/unix/opendir.c: Renamed to ...
25076         * sysdeps/posix/opendir.c: ... here.
25077         * sysdeps/unix/readdir.c: Renamed to ...
25078         * sysdeps/posix/readdir.c: ... here.
25079         * sysdeps/unix/readdir_r.c: Renamed to ...
25080         * sysdeps/posix/readdir_r.c: ... here.
25081         * sysdeps/unix/rewinddir.c: Renamed to ...
25082         * sysdeps/posix/rewinddir.c: ... here.
25083         * sysdeps/unix/seekdir.c: Renamed to ...
25084         * sysdeps/posix/seekdir.c: ... here.
25085         * sysdeps/unix/telldir.c: Renamed to ...
25086         * sysdeps/posix/telldir.c: ... here.
25087         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25088         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25089         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25090         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25092         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25093         * bits/fcntl.h: ... here.
25095         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25096         not 0.
25097         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25098         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25099         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25100         (struct flock): Move l_start, l_len to the beginning.
25101         Use __pid_t for l_pid.
25102         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25103         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25104         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25105         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25106         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25107         [__USE_LARGEFILE64] (struct flock64): New type.
25108         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25110         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25111         * bits/dirent.h: ... here.
25113         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25114         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25116 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25118         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25119         Change from 2.6.0 to 2.6.16.
25120         * sysdeps/unix/sysv/linux/configure: Regenerated.
25121         * sysdeps/unix/sysv/linux/kernel-features.h
25122         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25123         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25124         version.
25125         (__ASSUME_UTIMES): Likewise.
25126         (__ASSUME_CLONE_STOPPED): Remove.
25127         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25128         architectures, not kernel version.
25129         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25130         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25131         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25132         (__ASSUME_WAITID_SYSCALL): Likewise.
25133         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25134         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25135         * README: State 2.6.16 as minimum Linux kernel version.  Do not
25136         refer to older versions.
25138 2012-08-06  Roland McGrath  <roland@hack.frob.com>
25140         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25141         Define alphasort64 as an alias.
25142         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25143         Define versionsort64 as an alias.
25144         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25145         Define scandir64 as an alias.
25146         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25147         Define scandirat64 as an alias.
25148         * dirent/alphasort64.c (alphasort64):
25149         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25150         * dirent/versionsort64.c: Likewise.
25151         * dirent/scandir64.c: Likewise.
25152         * dirent/scandirat64.c: Likewise.
25153         * sysdeps/wordsize-64/alphasort.c: File removed.
25154         * sysdeps/wordsize-64/alphasort64.c: File removed.
25155         * sysdeps/wordsize-64/scandir.c: File removed.
25156         * sysdeps/wordsize-64/scandir64.c: File removed.
25157         * sysdeps/wordsize-64/scandirat.c: File removed.
25158         * sysdeps/wordsize-64/scandirat64.c: File removed.
25159         * sysdeps/wordsize-64/versionsort.c: File removed.
25160         * sysdeps/wordsize-64/versionsort64.c: File removed.
25161         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25162         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25163         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25164         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25165         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25166         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25167         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25168         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25170         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25171         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25172         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25173         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25174         [defined __arch64__ || defined __sparcv9]
25175         (__INO_T_MATCHES_INO64_T): New macro.
25176         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25177         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25178         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25179         * sysdeps/unix/sysv/linux/bits/dirent.h
25180         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25181         (_DIRENT_MATCHES_DIRENT64): New macro.
25183         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25184         Define lockf64 as an alias.
25185         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25186         Define fseeko64 as an alias.
25187         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25188         Define ftello64 as an alias.
25189         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25190         Define _IO_fgetpos64 and fgetpos64 as aliases.
25191         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25192         Define _IO_fsetpos64 and fsetpos64 as aliases.
25193         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25194         Conditionalize body on this.
25195         * libio/fseeko64.c: Likewise.
25196         * libio/ftello64.c: Likewise.
25197         * libio/iofgetpos64.c: Likewise.
25198         * libio/iofsetpos64.c: Likewise.
25199         * sysdeps/wordsize-64/lockf.c: File removed.
25200         * sysdeps/wordsize-64/lockf64.c: File removed.
25201         * sysdeps/wordsize-64/fseeko.c: File removed.
25202         * sysdeps/wordsize-64/fseeko64.c: File removed.
25203         * sysdeps/wordsize-64/ftello.c: File removed.
25204         * sysdeps/wordsize-64/ftello64.c: File removed.
25205         * sysdeps/wordsize-64/iofgetpos.c: File removed.
25206         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25207         * sysdeps/wordsize-64/iofsetpos.c: File removed.
25208         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25209         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25210         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25211         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25212         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25213         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25214         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25215         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25216         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25217         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25218         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25220         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25221         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25222         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25223         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25224         [defined __arch64__ || defined __sparcv9]
25225         (__OFF_T_MATCHES_OFF64_T): New macro.
25226         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25227         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25228         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25229         (__OFF_T_MATCHES_OFF64_T): New macro.
25231 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25233         * stdlib/secure-getenv.c (__secure_getenv): Replace
25234         GLIBC_2_16 with GLIBC_2_17.
25236 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25238         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25239         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25241 2012-08-03  David S. Miller  <davem@davemloft.net>
25243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25245 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25247         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25248         Remove.
25249         (__ASSUME_CORRECT_SI_PID): Likewise.
25250         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25251         (__ASSUME_TMPFS_NAME): Likewise.
25252         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25253         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25254         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25255         (HAVE_AUX_SECURE): Make definition unconditional.
25256         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25257         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25259 2012-08-03  Roland McGrath  <roland@hack.frob.com>
25261         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25262         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25263         * sysdeps/mach/hurd/eloop-threshold.h: New file.
25264         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25265         __eloop_threshold instead of SYMLOOP_MAX.
25267         * sysdeps/generic/eloop-threshold.h: New file.
25268         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25269         of MAXSYMLINKS.
25270         * elf/chroot_canon.c (chroot_canon): Likewise.
25272 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25274         [BZ #13717]
25275         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25276         Change to 2.6.0 everywhere.
25277         * sysdeps/unix/sysv/linux/configure: Regenerated.
25278         * sysdeps/unix/sysv/linux/kernel-features.h
25279         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25280         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25281         kernel versions.
25282         (__ASSUME_POSIX_TIMERS): Define unconditionally.
25283         (__ASSUME_FUTEX_REQUEUE): Remove.
25284         (__ASSUME_STATFS64): Define unconditionally.
25285         (__ASSUME_AT_SECURE): Likewise.
25286         (__ASSUME_CORRECT_SI_PID): Likewise.
25287         (__ASSUME_TGKILL): Define without depending on kernel version for
25288         i386.
25289         (__ASSUME_UTIMES): Likewise.
25290         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25291         kernel version.
25292         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25293         (__ASSUME_TMPFS_NAME): Likewise.
25294         * README: Update reference to Linux kernel versions.
25296 2012-08-02  Marek Polacek  <polacek@redhat.com>
25298         [BZ# 14150]
25299         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
25300         libc_cv_asm_type_prefix with %.
25301         * configure: Regenerated.
25302         * include/libc-symbols.h: Remove comment about
25303         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25304         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25305         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25306         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25307         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25308         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25309         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25310         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25311         * elf/tst-unique2mod1.c: Likewise.
25312         * elf/tst-unique1mod2.c: Likewise.
25313         * elf/tst-unique1mod1.c: Likewise.
25314         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25315         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25316         Replace ASM_TYPE_DIRECTIVE with .type.
25317         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25318         * sysdeps/i386/sysdep.h: Likewise.
25319         * sysdeps/x86_64/sysdep.h: Likewise.
25320         * sysdeps/sh/sysdep.h: Likewise.
25321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25322         Do not define ASM_TYPE_DIRECTIVE.
25323         * sysdeps/powerpc/sysdep.h: Likewise.
25324         * sysdeps/powerpc/powerpc32/sysdep.h:
25325         Replace ASM_TYPE_DIRECTIVE with .type.
25326         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25327         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25328         * sysdeps/i386/fpu/e_powf.S: Likewise.
25329         * sysdeps/i386/fpu/e_expl.S: Likewise.
25330         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25331         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25332         * sysdeps/i386/fpu/e_pow.S: Likewise.
25333         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25334         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25335         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25336         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25337         * sysdeps/i386/fpu/e_log2.S: Likewise.
25338         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25339         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25340         * sysdeps/i386/fpu/e_powl.S: Likewise.
25341         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25342         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25343         * sysdeps/i386/fpu/e_logl.S: Likewise.
25344         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25345         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25346         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25347         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25348         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25349         * sysdeps/i386/fpu/e_log.S: Likewise.
25350         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25351         * sysdeps/i386/fpu/e_logf.S: Likewise.
25352         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25353         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25354         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25355         * sysdeps/i386/fpu/e_log10.S: Likewise.
25356         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25357         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25358         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25359         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25360         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25361         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25362         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25363         * sysdeps/i386/i686/strtok.S: Likewise.
25364         * sysdeps/i386/i386-mcount.S: Likewise.
25365         * sysdeps/i386/strtok.S: Likewise.
25366         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25367         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25368         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25369         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25370         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25371         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25372         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25373         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25374         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25375         * sysdeps/x86_64/_mcount.S: Likewise.
25376         * sysdeps/x86_64/strtok.S: Likewise.
25377         * sysdeps/sh/_mcount.S: Likewise.
25379 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25381         * libio/iofopen.c: Include <fcntl.h>.
25382         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25383         (_IO_fopen64, fopen64): Define as aliases.
25384         * libio/iofopen64.c: Include <fcntl.h>.
25385         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25386         Conditionalize body on this.
25387         * sysdeps/wordsize-64/iofopen.c: File removed.
25388         * sysdeps/wordsize-64/iofopen64.c: File removed.
25390 2012-08-01  Marek Polacek  <polacek@redhat.com>
25392         * libc/Makeconfig: Use elf in place of binfmt-subdir.
25393         Use dlfcn directly instead of a variable.
25394         (binfmt-subdir): Do not define.
25395         (dlfcn): Likewise.
25397 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
25399         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25400         Remove all definitions.
25401         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25402         <kernel-features.h>.
25403         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25404         (miss_F_GETOWN_EX): Remove all definitions.
25405         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25406         macro definition.
25407         [!__ASSUME_FCNTL64]: Remove conditional code.
25408         [__ASSUME_FCNTL64]: Make code unconditional.
25409         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25410         <kernel-features.h>.
25411         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25412         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25413         (lockf64) [__NR_fcntl64]: Make code unconditional.
25414         (lockf64) [__ASSUME_FCNTL64]: Likewise.
25416         * sysdeps/unix/sysv/linux/kernel-features.h
25417         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25418         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25419         Make code unconditional.
25420         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25421         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25423         [__NR_vfork]: Make code unconditional.
25424         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25425         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25427         [__NR_vfork]: Make code unconditional.
25428         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25429         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25431 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25433         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25434         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25436         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25437         Define mkstemp64 as an alias.
25438         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25439         Define mkstemps64 as an alias.
25440         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25441         Define mkostemp64 as an alias.
25442         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25443         Define mkostemps64 as an alias.
25444         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25445         Conditionalize body on this.
25446         * misc/mkostemp64.c: Likewise.
25447         * misc/mkostemps64.c: Likewise.
25448         * misc/mkstemps64.c: Likewise.
25449         * sysdeps/wordsize-64/mkstemp64.c: File removed.
25450         * sysdeps/wordsize-64/mkostemp64.c: File removed.
25451         * sysdeps/wordsize-64/mkostemp.c: File removed.
25452         * sysdeps/wordsize-64/mkstemp.c: File removed.
25453         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25454         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25455         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25456         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25458         [BZ #14138]
25459         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25460         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25461         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25462         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25464         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25465         compat_symbol macros from <shlib-compat.h> rather than the underlying
25466         default_symbol_version and symbol_version macros, so that DEFAULT
25467         lines in shlib-versions are respected.
25468         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25470 2012-08-01  Florian Weimer  <fweimer@redhat.com>
25472         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25473         Declare with warn_unused_result.
25474         (setgid, setregid, setegid, setresgid): Likewise.
25475         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25476         Likewise.
25477         * WUR-REPORT: Remove set*id functions.
25479 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
25481         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25483 2012-07-31  Roland McGrath  <roland@hack.frob.com>
25485         [BZ #10191]
25486         * include/sys/socket.h (__libc_accept, __libc_accept4):
25487         Add attribute_hidden.
25488         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25490         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25491         use of PTR_MANGLE.
25492         * inet/getnetgrent_r.c (setup): Likewise.
25494         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25496 2012-07-31  David S. Miller  <davem@davemloft.net>
25498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25500 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
25502         [BZ #13629]
25503         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25504         value between 1.0 and 2.0 and smaller part has absolute value less
25505         than 1.0.
25506         * math/s_clog10.c (__clog10): Likewise.
25507         * math/s_clog10f.c (__clog10f): Likewise.
25508         * math/s_clog10l.c (__clog10l): Likewise.
25509         * math/s_clogf.c (__clogf): Likewise.
25510         * math/s_clogl.c (__clogl): Likewise.
25511         * math/libm-test.inc (clog_test): Add more tests.
25512         (clog10_test): Likewise.
25513         * sysdeps/i386/fpu/libm-test-ulps: Update.
25514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25516 2012-07-31  Florian Weimer  <fweimer@redhat.com>
25518         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25519         Exit with zero in case no suitable GID is found, and write a
25520         message to standard error.
25522 2012-07-30  Roland McGrath  <roland@hack.frob.com>
25524         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25525         rather than to 1.
25526         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25527         (MAXPATHLEN): Removed.
25528         (NOGROUP, NODEV): New macros.
25529         (setbit, clrbit, isset, isclr): New macros.
25530         (howmany, roundup, powerof2): New macros.
25531         (DEV_BSIZE): New macro.
25533         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25534         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25536         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25537         definition on [!__NO_LONG_DOUBLE_MATH].
25539         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25540         PTR_MANGLE and PTR_DEMANGLE.
25542         * socket/accept4.c (accept4): Rename to __libc_accept4.
25543         Define accept4 as a weak alias.
25545         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25546         on [_DIRENT_HAVE_D_TYPE].
25547         * io/ftw.c (ftw_dir): Likewise.
25549         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25551         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25553         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25554         Use the BSD numbers rather than the arbitrary ones we had.
25555         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25556         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25557         (SIGXCPU, SIGXFSZ): New macros.
25558         (_NSIG): Now 32.
25560         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25561         initializer on [_LIBC_REENTRANT].
25563         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25564         definitions inside [_POSIX_MAPPED_FILES].
25566         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25568         * dirent/opendir.c: Include <fcntl.h>.
25570         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25571         (__libc_getspecific): Likewise.
25572         (__libc_key_create): Likewise.
25574         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25575         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25576         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25577         (tmpfile64): Define as alias.
25578         * sysdeps/wordsize-64/tmpfile.c: File removed.
25579         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25580         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25581         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25583         * stdio-common/vfscanf.c: Include <stdbool.h>.
25584         * nss/makedb.c: Likewise.
25585         * stdio-common/_i18n_number.h: Likewise.
25586         * argp/argp-help.c: Likewise.
25587         * posix/wordexp.c: Likewise.
25588         * sysdeps/posix/spawni.c: Likewise.
25589         * nss/nss_files/files-initgroups.c: Likewise.
25590         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25591         * nss/nss_files/files-initgroups.c: Likewise.
25592         * nss/nss_db/db-netgrp.c: Likewise.
25593         * nss/nss_db/db-initgroups.c: Likewise.
25594         * io/fchmodat.c: Include <sys/stat.h>.
25596         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25597         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25599         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25600         [HAVE_MMAP].
25602         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25603         Add multiple inclusion protection.
25605 2012-07-27  David S. Miller  <davem@davemloft.net>
25607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25609 2012-07-27  Gary Benson  <gbenson@redhat.com>
25611         [BZ #14298]
25612         * elf/rtld.c: Include <stap-probe.h>.
25613         (dl_main): Added static probes "init_start" and "init_complete".
25614         * elf/dl-load.c: Include <stap-probe.h>.
25615         (lose): Take new parameter "nsid".
25616         Added static probe "map_failed".
25617         (_dl_map_object_from_fd): Pass namespace id to lose.
25618         Added static probe "map_start".
25619         (open_verify): Pass namespace id to lose.
25620         * elf/dl-open.c: Include <stap-probe.h>.
25621         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25622         and "reloc_complete".
25623         * elf/dl-close.c: Include <stap-probe.h>.
25624         (_dl_close_worker): Added static probes "unmap_start" and
25625         "unmap_complete".
25626         * elf/rtld-debugger-interface.txt: New file documenting the above.
25628 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25630         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25631         rather than a string variable.
25632         * sunrpc/rpc_main.c (h_output): Likewise.
25633         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25635 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
25637         * inet/check_native.c: New file.
25639 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
25641         [BZ #13629]
25642         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25643         if larger part has absolute value 1.0.
25644         * math/s_clog10.c (__clog10): Likewise.
25645         * math/s_clog10f.c (__clog10f): Likewise.
25646         * math/s_clog10l.c (__clog10l): Likewise.
25647         * math/s_clogf.c (__clogf): Likewise.
25648         * math/s_clogl.c (__clogl): Likewise.
25649         * math/libm-test.inc (clog_test): Add more tests.
25650         (clog10_test): Likewise.
25651         * sysdeps/i386/fpu/libm-test-ulps: Update.
25652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25654         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25655         (pltexit): Likewise.
25656         (La_regs): Likewise.
25657         (La_retval): Likewise.
25658         (int_retval): Likewise.
25659         Update #error for removed macros to refer only to definitions in
25660         tst-audit.h.
25661         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25662         macro.
25663         (pltexit): Likewise.
25664         (La_regs): Likewise.
25665         (La_retval): Likewise.
25666         (int_retval): Likewise.
25667         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25668         macro.
25669         (pltexit): Likewise.
25670         (La_regs): Likewise.
25671         (La_retval): Likewise.
25672         (int_retval): Likewise.
25673         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25674         macro.
25675         (pltexit): Likewise.
25676         (La_regs): Likewise.
25677         (La_retval): Likewise.
25678         (int_retval): Likewise.
25679         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25680         macro.
25681         (pltexit): Likewise.
25682         (La_regs): Likewise.
25683         (La_retval): Likewise.
25684         (int_retval): Likewise.
25685         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25686         macro.
25687         (pltexit): Likewise.
25688         (La_regs): Likewise.
25689         (La_retval): Likewise.
25690         (int_retval): Likewise.
25691         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25692         macro.
25693         (pltexit): Likewise.
25694         (La_regs): Likewise.
25695         (La_retval): Likewise.
25696         (int_retval): Likewise.
25697         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25698         macro definitions in tst-audit.h.
25699         * sysdeps/i386/tst-audit.h: New file.
25700         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25701         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25702         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25703         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25704         * sysdeps/sh/tst-audit.h: Likewise.
25705         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25706         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25707         * sysdeps/x86_64/tst-audit.h: Likewise.
25709 2012-07-26  Andreas Jaeger  <aj@suse.de>
25711         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25712         ptrace.
25714         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25715         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25716         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25717         PTRACE_O_MASK.
25718         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25719         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25720         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25722         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25723         value.
25725         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25726         _sigsys.
25727         (si_call_addr, si_syscall, si_arch): Define new macro.
25728         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25729         _sigsys.
25730         (si_call_addr, si_syscall, si_arch): Define new marcro.
25731         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25732         _sigsys.
25733         (si_call_addr, si_syscall, si_arch): Define new macro.
25734         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25735         _sigsys.
25736         (si_call_addr, si_syscall, si_arch): Define new macro.
25738 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25740         [BZ #13717]
25741         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25742         Change to 2.4.21 where previously 2.4.1.
25743         * sysdeps/unix/sysv/linux/configure: Regenerated.
25744         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25745         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25746         Linux kernel version.
25747         (__ASSUME_STD_AUXV): Remove.
25748         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25749         kernel version.
25750         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25751         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25752         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25753         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25754         (__ASSUME_NETLINK_SUPPORT): Likewise.
25755         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25756         (__no_netlink_support): Remove conditional definition.
25757         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25758         Remove.
25759         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25760         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25761         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25762         (if_nameindex_ioctl): Remove.
25763         (if_nameindex_netlink): Do not handle __no_netlink_support.
25764         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25765         code.
25766         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25767         Remove conditional code.
25768         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25769         code.
25770         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25771         unconditional.
25772         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25773         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25774         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25775         Remove.
25776         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25777         [!__ASSUME_STD_AUXV]: Remove conditional code.
25778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25779         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25780         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25782         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25783         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25784         code.
25785         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25787         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25788         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25789         conditional code.
25790         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25792         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25793         code.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25795         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25796         conditional code.
25797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25798         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25799         code unconditional.
25800         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25801         conditional code.
25802         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25803         unconditional.
25804         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25805         conditional code.
25806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25807         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25808         unconditional.
25809         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25810         conditional code.
25811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25812         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25813         code unconditional.
25814         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25815         conditional code.
25816         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25817         unconditional.
25818         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25819         conditional code.
25820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25821         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25822         code unconditional.
25823         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25824         conditional code.
25825         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25826         unconditional.
25827         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25828         conditional code.
25830 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
25832         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25833         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25834         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25835         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25836         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25837         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25838         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25839         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25840         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25841         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25842         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25843         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25844         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25845         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25846         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25847         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25848         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25849         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25850         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25852         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25853         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25854         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25856 2012-07-25  Florian Weimer  <fweimer@redhat.com>
25858         * Versions.def: Add GLIBC_2.17.
25859         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25860         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25861         Introduce __libc_secure_getenv.
25862         * stdlib/Versions (2.17): Add secure_getenv
25863         (GLIBC_PRIVATE): Add __libc_secure_getenv.
25864         * stdlib/secure-getenv.c: Rename __secure_getenv to
25865         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
25866         symbol __secure_getenv for GLIBC_2.0.
25867         * stdlib/tst-secure-getenv.c: New.
25868         * stdlib/Makefile (tests): Add testcase.
25869         * manual/startup.texi (Environment Access): Document
25870         secure_getenv.
25871         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25872         __libc_secure_getenv.
25873         * inet/ruserpass.c (ruserpass): Likewise.
25874         * malloc/mtrace.c (mtrace): Likewise.
25875         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25876         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25877         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25878         * sysdeps/posix/tempname.c: Likewise.  Evaluate
25879         HAVE_SECURE_GETENV.
25880         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25881         __secure_getenv to __libc_secure_getenv.
25882         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25884         Likewise.
25885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25886         Likewise.
25887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25895 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25897         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25898         (struct La_i86_retval): Likewise.
25899         (struct La_x86_64_regs): Likewise.
25900         (struct La_x86_64_retval): Likewise.
25901         (struct La_x32_regs): Likewise.
25902         (struct La_x32_retval): Likewise.
25903         (struct La_ppc32_regs): Likewise.
25904         (struct La_ppc32_retval): Likewise.
25905         (struct La_ppc64_regs): Likewise.
25906         (struct La_ppc64_retval): Likewise.
25907         (struct La_sh_regs): Likewise.
25908         (struct La_sh_retval): Likewise.
25909         (struct La_s390_32_regs): Likewise.
25910         (struct La_s390_32_retval): Likewise.
25911         (struct La_s390_64_regs): Likewise.
25912         (struct La_s390_64_retval): Likewise.
25913         (struct La_sparc32_regs): Likewise.
25914         (struct La_sparc32_retval): Likewise.
25915         (struct La_sparc64_regs): Likewise.
25916         (struct La_sparc64_retval): Likewise.
25917         (struct audit_ifaces): Remove architecture-specific pltenter and
25918         pltexit members.
25919         * sysdeps/i386/ldsodefs.h: New file.
25920         * sysdeps/powerpc/ldsodefs.h: Likewise.
25921         * sysdeps/s390/ldsodefs.h: Likewise.
25922         * sysdeps/sh/ldsodefs.h: Likewise.
25923         * sysdeps/sparc/ldsodefs.h: Likewise.
25924         * sysdeps/x86_64/ldsodefs.h: Likewise.
25926 2012-07-25  Marek Polacek  <polacek@redhat.com>
25928         [BZ #6808]
25929         * math/libm-test.inc (yn_test): Add another test.
25930         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25931         to ERANGE when the result is +-Inf.
25932         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25933         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25935         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25937 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
25939         * conform/data/time.h-data (NULL): Use macro-constant.  Require
25940         equal to 0.
25941         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
25942         clock_t.
25943         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
25945 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
25947         * configure.in <sysdeps resolving>: Correct printing
25948         Implies_before.
25949         * configure: Regenerate.
25951 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
25953         * math/w_ilogb.c: Include <limits.h>.
25954         * math/w_ilogbl.c: Likewise.
25956 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25958         * manual/lang.texi (__va_copy): Document primarily as ISO C99
25959         va_copy.  Document allowing for unavailable va_copy only as
25960         pre-C99 compatibility.
25961         * manual/string.texi (Copying and Concatenation): Use va_copy
25962         instead of __va_copy in concat example.
25964 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
25966         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25967         (__sendto): Use create_address_port.  Initialize APORT and deallocate
25968         it if not null.
25970         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25971         with O_NOLINK passed to __file_name_lookup.
25973         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25974         with O_NOLINK passed to __file_name_lookup.
25976         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25977         negative N or less than NGIDS.
25979         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25980         type to string_t.  Set ERANGE as errno and return it if NAME is not big
25981         enough.  Use memcpy instead of strncpy.
25983 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25985         * elf/Makefile (check-data): Remove.
25986         (localplt.data): New vpath directive.
25987         ($(objpfx)check-localplt.out): Use localplt.data from vpath
25988         instead of $(check-data).
25989         * scripts/data/localplt-generic.data: Move to ...
25990         * sysdeps/generic/localplt.data: ... here.
25991         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25992         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25993         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25995         ... here.
25996         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25998         ... here.
25999         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26001         ... here.
26002         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26004         ... here.
26005         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26007         ... here.
26008         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26010         ... here.
26012 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26014         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26015         PPC32 and PPC64 files.
26016         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26017         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26019 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26021         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26022         __makecontext_ret to ...
26023         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26024         ... here and call exit if uc_link is NULL.  New file.
26025         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26026         __makecontext_ret.S.
26027         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26028         __makecontext_ret to ...
26029         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26030         ... here and call exit if uc_link is NULL.  New file.
26031         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26032         __makecontext_ret.S.
26034 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26036         * elf/elf.h (R_390_IRELATIVE): New definition.
26037         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26038         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26039         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26040         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26041         (elf_machine_lazy_rel): Likewise.
26042         * sysdeps/s390/dl-irel.h: New file.
26043         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26044         * sysdeps/s390/s390-64/memset.S: New asm code.
26045         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26046         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26047         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26048         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26049         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26050         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26051         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26052         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26053         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26054         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26055         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26056         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26057         * sysdeps/s390/s390-32/memset.S: New asm code.
26058         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26060 2012-07-17  Marek Polacek  <polacek@redhat.com>
26062         [BZ #14349]
26063         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26064         * sysdeps/s390/s390-64/configure.in: Likewise.
26065         * sysdeps/sparc/configure.in: Likewise.
26066         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26067         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26068         * sysdeps/i386/configure.in: Likewise.
26069         * sysdeps/x86_64/configure.in: Likewise.
26070         * sysdeps/sh/configure.in: Likewise.
26071         * sysdeps/s390/s390-32/configure: Regenerated.
26072         * sysdeps/s390/s390-64/configure: Likewise.
26073         * sysdeps/x86_64/configure: Likewise.
26074         * sysdeps/sh/configure: Likewise.
26075         * sysdeps/powerpc/powerpc64/configure: Likewise.
26076         * sysdeps/powerpc/powerpc32/configure: Likewise.
26077         * sysdeps/sparc/configure: Likwise.
26078         * sysdeps/i386/configure: Likewise.
26080         * elf/dl-open.c: Comment fixes.
26082 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26084         * Makefile [CXX] (check-data): Remove.
26085         [CXX] (c++-types.data): New vpath directive.
26086         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26087         vpath.  Do not allow for C++ type data being missing.
26088         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26089         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26090         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26091         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26092         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26093         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26094         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26096         ... here.
26097         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26099         ... here.
26100         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26102         ... here.
26103         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26105         ... here.
26106         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26108         ... here.
26109         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26111         ... here.
26112         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26114         ... here.
26115         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26118         * elf/tls-macros.h (TLS_LE): Move architecture-specific
26119         definitions to architecture-specific files.
26120         (TLS_IE): Likewise.
26121         (TLS_LD): Likewise.
26122         (TLS_GD): Likewise.
26123         * sysdeps/i386/tls-macros.h: New file.
26124         * sysdeps/powerpc/tls-macros.h: Likewise.
26125         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26126         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26127         * sysdeps/sh/tls-macros.h: Likewise.
26128         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26129         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26130         * sysdeps/x86_64/tls-macros.h: Likewise.
26132 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26134         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26135         zero value for regular exit case.
26137         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26138         (__start_context): Preserve zero value for regular exit case.
26140 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26141             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26143         * manual/setjmp.texi (setcontext): Clarify normal process
26144         termination when uc_link is the null pointer.
26145         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26146         exit call.
26148 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
26150         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26151         preprocessor.  Test for each exception mask separately.
26153 2012-07-16  Andreas Jaeger  <aj@suse.de>
26155         * po/ru.po: Update from translation team.
26157 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
26159         * conform/data/string.h-data (NULL): Use macro-constant.  Require
26160         equal to 0.
26161         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26162         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26163         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26164         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26165         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26167 2012-07-13  Andreas Jaeger  <aj@suse.de>
26169         * po/fr.po: Update from translation team.
26171 2012-07-12  Marek Polacek  <polacek@redhat.com>
26173         [BZ #14173]
26174         * math/libm-test.inc (yn_test): Add test for BZ #14173.
26175         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26176         loop condition.
26178 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
26180         [BZ #13717]
26181         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26182         Change to 2.4.1 where previously 2.4.0.
26183         * sysdeps/unix/sysv/linux/configure: Regenerated.
26184         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26185         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26186         version.
26187         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26188         (__ASSUME_AT_CLKTCK): Remove.
26189         (__ASSUME_AT_PAGESIZE): Likewise.
26190         (__ASSUME_AT_XID): Likewise.
26191         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26192         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26193         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26194         unconditionally.
26195         (HAVE_AUX_PAGESIZE): Likewise.
26196         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26197         [__ASSUME_AT_CLKTCK]: Make code unconditional.
26198         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26200 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
26202         [BZ #14307]
26203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26204         the temporary buffer used to invoke __gethostbyname2_r,
26205         __gethostbyaddr_r and gethostbyname4_r to make room for struct
26206         host_data / struct gaih_addrtuple.
26207         * resolv/nss_dns/dns-host.c (global scope): Move definition of
26208         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26209         header file nss/nsswitch.h.
26210         * nss/nsswitch.h (global scope): Add definition of implementation
26211         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26212         resolv/nss_dns/dns-host.c).
26214 2012-07-11  Andreas Jaeger  <aj@suse.de>
26216         * po/fr.po: Update from translation team.
26218         * po/sv.po: Update from translation team
26219         * po/fr.po: Another update from translation team.
26221 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26223         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26224         for subnormals or multiply small sinh result by itself.
26225         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26228 2012-07-11  David S. Miller  <davem@davemloft.net>
26230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26232 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
26234         [BZ #14347]
26235         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26236         (INTERNAL_MARK): Shift it here.
26238 2012-07-10  Marek Polacek  <polacek@redhat.com>
26240         [BZ #14151]
26241         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
26242         libc_cv_asm_global_directive with .globl.
26243         * configure: Regenerated.
26244         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26245         with .globl.
26246         * sysdeps/i386/configure: Regenerated.
26247         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26248         with .globl.
26249         * sysdeps/x86_64/configure: Regenerated.
26250         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26251         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26252         * elf/tst-unique2mod2.c: Likewise.
26253         * elf/tst-unique2mod1.c: Likewise.
26254         * elf/tst-unique1mod2.c: Likewise.
26255         * elf/tst-unique1mod1.c: Likewise.
26256         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26257         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26258         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26259         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26260         * sysdeps/mach/sysdep.h: Likewise.
26261         * sysdeps/i386/sysdep.h: Likewise.
26262         * sysdeps/i386/i386-mcount.S: Likewise.
26263         * sysdeps/x86_64/_mcount.S: Likewise.
26264         * sysdeps/x86_64/sysdep.h: Likewise.
26265         * sysdeps/sh/_mcount.S: Likewise.
26266         * sysdeps/sh/sysdep.h: Likewise.
26267         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26268         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26269         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26270         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26271         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26272         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26273         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26274         * locale/localeinfo.h: Likewise.
26275         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26276         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26278 2012-07-09  Roland McGrath  <roland@hack.frob.com>
26280         [BZ #14336]
26281         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26282         system".
26283         * manual/message.texi (The Uniforum approach): Likewise.
26284         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26285         (glibc iconv Implementation): Likewise.
26287 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
26289         [BZ #14337]
26290         * math/s_clog.c (__clog): Avoid scaling a value down where that
26291         could result in underflow.
26292         * math/s_clog10.c (__clog10): Likewise.
26293         * math/s_clog10f.c (__clog10f): Likewise.
26294         * math/s_clog10l.c (__clog10l): Likewise.
26295         * math/s_clogf.c (__clogf): Likewise.
26296         * math/s_clogl.c (__clogl): Likewise.
26297         * math/libm-test.inc (clog_test): Add more tests.
26298         (clog10_test): Likewise.
26299         * sysdeps/i386/fpu/libm-test-ulps: Update.
26300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26302 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
26304         [BZ #14283]
26305         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26306         by 7 not 8 to examine high bit of fractional part.
26308         [BZ #14042]
26309         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26310         for call to __mcount_internal.
26311         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26312         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26313         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26315 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
26317         [BZ #14154]
26318         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26319         approximation for values within 0x1p-13f of an odd multiple of
26320         pi/4.
26321         * math/libm-test.inc (tan_test): Do not allow spurious underflow
26322         exception.  Add more tests.
26323         * sysdeps/i386/fpu/libm-test-ulps: Update.
26325         [BZ #6778]
26326         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26327         inputs and return -1 for them.  Do not check for +Inf in case not
26328         reachable for +Inf.
26329         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26330         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26331         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26332         and return -1 for them.  Do not check for +Inf in case not
26333         reachable for +Inf.
26334         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26335         define.
26336         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26337         and return -1 for them.  Do not check for +Inf in case not
26338         reachable for +Inf.
26339         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
26340         spurious underflow.
26341         * sysdeps/i386/fpu/libm-test-ulps: Update.
26342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26344 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
26346         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26348 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
26350         [BZ #14157]
26351         [BZ #14331]
26352         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26353         could result in spurious underflow.  Scale down values above
26354         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26355         * math/s_csqrtf.c (__csqrtf): Likewise.
26356         * math/s_csqrtl.c (__csqrtl): Likewise.
26357         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
26358         spurious underflow.
26359         * sysdeps/i386/fpu/libm-test-ulps: Update.
26360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26362 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
26364         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26365         xopen-msg.sed.
26366         * catgets/xopen-msg.awk: New file.
26367         * catgets/xopen-msg.sed: Removed.
26369         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26370         po2text.sed.
26371         * intl/po2test.awk: New file.
26372         * intl/po2test.sed: Removed.
26374 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
26376         [BZ #14328]
26377         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26378         or multiply small sinh result by itself.
26379         * math/s_ctanf.c (__ctanf): Likewise.
26380         * math/s_ctanh.c (__ctanh): Likewise.
26381         * math/s_ctanhf.c (__ctanhf): Likewise.
26382         * math/s_ctanhl.c (__ctanhl): Likewise.
26383         * math/s_ctanl.c (__ctanl): Likewise.
26384         * math/libm-test.inc (ctan_test_tonearest): New function.
26385         (ctan_test_towardzero): Likewise.
26386         (ctan_test_downward): Likewise.
26387         (ctan_test_upward): Likewise.
26388         (ctanh_test_tonearest): Likewise.
26389         (ctanh_test_towardzero): Likewise.
26390         (ctanh_test_downward): Likewise.
26391         (ctanh_test_upward): Likewise.
26392         (main): Call these new functions.
26393         * sysdeps/i386/fpu/libm-test-ulps: Update.
26394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26396 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
26398         * .gitignore: Delete /ports entry.
26400 2012-07-03  Andreas Jaeger  <aj@suse.de>
26402         * po/bg.po: Update from translation team.
26403         * po/cs.po: Likewise.
26404         * po/de.po: Likewise.
26405         * po/hr.po: Likewise.
26406         * po/nl.pl: Likewise.
26407         * po/pl.po: Likewise.
26408         * po/vi.po: Likewise.
26410 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
26412         * Makeconfig [!+link] (+link-before-libc): New variable.
26413         [!+link] (+link-after-libc): Likewise.
26414         [!+link] (+link-tests): Likewise.
26415         [!+link] (+link): Define in terms of $(+link-before-libc) and
26416         $(+link-after-libc).
26417         [!+link-static] (+link-static-before-libc): New variable.
26418         [!+link-static] (+link-static-after-libc): Likewise.
26419         [!+link-static] (+link-static-tests): Likewise.
26420         [!+link-static] (+link-static): Define in terms of
26421         $(+link-static-before-libc) and $(+link-static-after-libc).
26422         [build-shared] (link-libc-before-gnulib): New variable.
26423         [build-shared] (link-libc-tests): Likewise.
26424         [build-shared] (link-libc): Define in terms of
26425         $(link-libc-before-gnulib).
26426         [!build-shared] (link-libc-tests): New variable.
26427         (link-libc-static-tests): New variable.
26428         [!gnulib] (gnulib-arch): New variable.
26429         [!gnulib] (gnulib-tests): Likewise.
26430         [!gnulib] (static-gnulib-arch): Likewise.
26431         [!gnulib] (static-gnulib-tests): Likewise.
26432         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
26433         Define with "=" instead of ":=".
26434         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
26435         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
26436         * Rules (binaries-all-notests): New variable.
26437         (binaries-all-tests): Likewise.
26438         (binaries-static-notests): Likewise.
26439         (binaries-static-tests): Likewise.
26440         (binaries-all): Define using $(binaries-all-notests) and
26441         $(binaries-all-tests).
26442         (binaries-static): Define using $(binaries-static-notests) and
26443         $(binaries-static-tests).
26444         (binaries-shared-tests): New variable.
26445         (binaries-shared-notests): Likewise.
26446         (binaries-shared): Remove variable.
26447         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26448         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26449         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26450         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26451         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26452         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26453         * elf/Makefile (sln-modules): New variable.
26454         (extra-objs): Add $(sln-modules:=.o).
26455         (ldconfig-modules): Add static-stubs.
26456         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26457         * elf/static-stubs.c: New file.
26459         [BZ #14283]
26460         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26461         by 7 not 8 to examine high bit of fractional part.  Use volatile
26462         variables when splitting into final array of floats if
26463         __FLT_EVAL_METHOD__ != 0.
26464         * math/libm-test.inc (cos_test): Add another test.
26465         (sin_test): Likewise.
26466         * sysdeps/i386/fpu/libm-test-ulps: Update.
26468         [BZ #14273]
26469         * math/libm-test.inc (cosh_test): Add more tests.
26471         * version.h (RELEASE): Set to "development".
26472         (VERSION): Set to "2.16.90".
26474 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
26476         * NEWS: Update copyright. Remove last-updated date.
26477         Mention math library bug fixes and timezone data changes.
26478         * README: Mention GNU/Hurd, x32, and HPPA support status.
26480 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
26482         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26484 2012-06-27  Andreas Jaeger  <aj@suse.de>
26486         * manual/contrib.texi (Contributors): Add Samuel Thibault.
26488 2012-06-25  Andreas Jaeger  <aj@suse.de>
26490         * sysdeps/s390/fpu/libm-test-ulps: Update.
26492 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
26493             Thomas Schwinge  <thomas@codesourcery.com>
26495         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26496         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26497         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26498         fanotify_mark.
26500 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
26502         * sysdeps/mach/start.c: Remove file.
26503         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26504         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26505         * sysdeps/sh/init-first.c: Likewise.
26507         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26508         registers for frame unwinding purposes, add CFI directives.
26509         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26510         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26511         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26512         Likewise.
26514         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26515         __fortify_fail returning.
26516         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26518         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26519         sysdeps/sh/____longjmp_chk.S.
26520         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26521         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26522         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26523         (gen-as-const-headers): Append sigaltstack-offsets.sym.
26525         * sysdeps/sh/abort-instr.h: New file.
26526         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26527         process in case exit returns.
26529         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26530         initialize the GOT register before use.
26532         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26533         calculation of ARGC > 4.
26535         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26536         meaningful names to some local labels.
26538 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26539             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26541         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26542         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26543         (__arch_compare_and_exchange_val_16_acq): Likewise.
26544         (__arch_compare_and_exchange_val_32_acq): Likewise.
26545         (atomic_exchange_and_add): Fix gUSA sequence.
26546         (atomic_add): Likewise.
26547         (atomic_add_negative): Likewise.
26548         (atomic_add_zero): Likewise.
26549         (atomic_bit_test_set): Likewise.
26551 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26553         [BZ #13579]
26554         * include/link.h (struct link_map): Add l_free_initfini.
26555         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26556         l_initfini.
26557         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26558         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26559         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26560         set.
26562 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26564         * configure.in: Use AC_LANG_SOURCE.
26565         * configure: Regenerate.
26567 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26569         * configure.in (libc_cv_localstatedir): New substituted variable.
26570         * configure: Regenerated.
26571         * config.make.in (localstatedir): New variable, substituted from
26572         libc_cv_localstatedir.
26573         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26574         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26575         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26576         * sysdeps/gnu/configure: Regenerated.
26578 2012-06-21  Jeff Law  <law@redhat.com>
26580         [BZ #14277]
26581         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26582         free.  Simplify list management for _LIBC case.
26584 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26586         [BZ #14273]
26587         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26588         Clear sign bit of 64-bit integer value before comparing against
26589         overflow value.
26591         * sysdeps/mach/configure: Regenerated.
26593 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26595         [BZ #14278]
26596         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26598 2012-06-21  Jeff Law  <law@redhat.com>
26600         [BZ #13882]
26601         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26602         uint16_t for elements in the "seen" array to avoid char overflows.
26603         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26604         * elf/dl-open.c (dl_open_worker): Likewise.
26606 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26608         * scripts/list-sources.sh: Scan PORTS for translations.
26609         * po/libc.pot: Regenerated.
26611 2012-06-21  Andreas Jaeger  <aj@suse.de>
26613         [BZ #12194]
26614         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26615         warning.
26616         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26617         * bits/byteswap-16.h (__bswap_16): Likewise.
26618         * bits/byteswap.h (__bswap_constant_16): Likewise.
26620 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26622         [BZ #14117]
26623         * sysdeps/i386/fpu_control.h: Removed.
26624         * sysdeps/x86_64/fpu_control.h: Moved to ...
26625         * sysdeps/x86/fpu_control.h: Here.
26627         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26628         (_FPU_SETCW): Likewise.
26630 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
26632         [BZ #14117]
26633         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26634         * sysdeps/x86/fpu/bits/mathinline.h: This.
26635         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26637         [BZ #14050]
26638         [BZ #14117]
26639         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26640         functions if __x86_64__ is defined.
26642 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
26644         * string/endian.h: Add !__ASSEMBLER__ condition for including
26645         conversion interfaces.
26647 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
26649         [BZ #14241]
26650         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26651         of ABS(x) in calculating zero to negative powers other than odd
26652         integers.
26653         * math/libm-test.inc (pow_test): Add more tests.
26655 2012-06-15  Andreas Jaeger  <aj@suse.de>
26657         * manual/contrib.texi (Contributors): Update entry of Liubov
26658         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26659         Machado Filho.
26661 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26663         * string/string.h: Add __wur to GNU version of strerror_r.
26665 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26667         [BZ #14229]
26668         * string/Makefile (tests): Add tst-strtok_r.
26669         * string/tst-strtok_r.c: New file.
26670         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26671         RAX_LP/RDX_LP on SAVE_PTR.
26673 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26675         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26677 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26679         * libm_test.inc (csqrt_test): Allow more spurious underflow
26680         exceptions.
26681         (j0_test): Likewise.
26682         (j1_test): Likewise.
26683         (y0_test): Likewise.
26684         (y1_test): Likewise.
26686 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26688         * po/Makefile (libc.pot): Use UTF-8 charset.
26690 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26692         [BZ #14210]
26693         Suppress sign-conversion warning from FD_SET.
26694         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26695         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26696         not unsigned long int.
26697         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26699 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26701         [BZ #14050]
26702         [BZ #14117]
26703         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26704         __extern_always_inline instead of __extern_inline.
26705         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26706         (__signbit): Likewise.
26707         (__signbitl): Support C++ namespace.
26708         (lrintf): New inline function.
26709         (lrint): Likewise.
26710         (llrintf): Likewise.
26711         (llrint): Likewise.
26712         (fmaxf): Likewise.
26713         (fmax): Likewise.
26714         (fminf): Likewise.
26715         (fmin): Likewise.
26716         (rint): Likewise.
26717         (rintf): Likewise.
26718         (ceil): Likewise.
26719         (ceilf): Likewise.
26720         (floor): Likewise.
26721         (floorf): Likewise.
26722         (nearbyint): Likewise.
26723         (nearbyintf): Likewise.
26725 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26727         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26728         non-default versions.
26730 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26732         [BZ #14218]
26733         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26735 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26737         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26738         (FE_UPWARD, FE_DOWNWARD): Don't define.
26739         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26740         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26742         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26743         reading it.
26744         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26745         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26747 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26749         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26750         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26751         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26752         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26754 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26756         [BZ #14117]
26757         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26758         * sysdeps/i386/fpu/Implies: New file.
26759         * sysdeps/x86_64/fpu/Implies: Likewise.
26760         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26761         * sysdeps/x86/fpu/bits/fenv.h: This.
26763         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26764         __SSE_MATH__.
26766 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26768         [BZ #14134]
26769         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26770         character 0xffff that matches the last element of the
26771         conversion table.
26773 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26775         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26776         fmodl commit.
26778 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26780         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26781         values higher than 25.6283.
26783 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26785         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26786         subnormal exponent extraction and add some __builtin_expect.
26787         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26788         Fix for subnormal mantissa calculation.
26790 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
26792         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26793         cpu2 is -1 and errno is not ENOSYS.
26795 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
26797         [BZ #14117]
26798         * sysdeps/i386/i486/bits/string.h: Renamed to ...
26799         * sysdeps/x86/bits/string.h: This.
26800         * sysdeps/x86_64/bits/string.h: Removed.
26802         * sysdeps/i386/i486/bits/string.h: Define inline functions only
26803         if not compiling for x86-64, but compiling for >= i486.
26805         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26806         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26808         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26809         New macro from Linux kernel 3.4.0.
26810         (FP_XSTATE_MAGIC2): Likewise.
26811         (FP_XSTATE_MAGIC2_SIZE): Likewise.
26812         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26813         (struct _fpx_sw_bytes): New struct.
26814         (struct _xsave_hdr): Likewise.
26815         (struct _ymmh_state): Likewise.
26816         (struct _xstate): Likewise.
26818         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26819         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26820         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26821         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26822         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26823         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26825         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26826         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26827         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26828         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26829         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26830         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26832 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26834         [BZ #13743]
26835         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26836         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26837         (sysdep_headers): Include sys/platform/ppc.h.
26838         * sysdeps/powerpc/test-gettimebase.c: Test for
26839         __ppc_get_timebase() to catch future ISA opcode/insn changes.
26840         * manual/Makefile (appendices): Include platform.texi.
26841         * manual/contrib.texi (Contributors): Update @node pointers.
26842         * manual/maint.texi (Maintenance): Likewise.
26843         (Platform): New node.
26844         * manual/platform.texi: New file.  Document the new features.
26846 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26847             Jakub Jelinek  <jakub@redhat.com>
26849         [BZ #14188]
26850         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26851         where __builtin_expect is unavailable.
26853 2012-06-03  David S. Miller  <davem@davemloft.net>
26855         * stdlib/longlong.h: Updated from GCC.
26857 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
26859         [BZ #14042]
26860         * sysdeps/powerpc/powerpc32/mcount.c: New file.
26861         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26862         __mcount_internal.
26863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26864         (GLIBC_2.16): Likewise.
26866 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26868         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26870 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26873         (default-abi): New variable.
26874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26875         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26876         variable.
26877         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26878         Likewise.
26879         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26880         Likewise.
26881         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26882         Likewise.
26884         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26885         definition.  Document in comment.
26887 2012-06-01  David S. Miller  <davem@davemloft.net>
26889         * stdlib/longlong.h: Updated from GCC.
26891 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26893         [BZ #14117]
26894         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26895         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26896         sys/debugreg.h sys/io.h here.
26897         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26898         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26899         sys/io.h.
26900         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26901         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26902         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26903         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26904         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26905         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26907         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26908         Define only if __x86_64__ is defined.
26910 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26912         [BZ #14048]
26913         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26914         Use int64_t for variable i.
26915         * math/libm-test.inc (fmod_test): Add more tests.
26917         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26918         z computation is not scheduled after fetestexcept.
26919         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26920         Use math_force_eval instead of asm to ensure calculation scheduled
26921         before exception test.
26922         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26923         Ensure a1 + u.d computation is not scheduled after fetestexcept.
26925 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
26927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26928         computation is not scheduled after fetestexcept.
26930 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26932         [BZ #14117]
26933         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26934         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26936 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26938         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26939         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26941 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26943         [BZ #14117]
26944         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26945         <bits/wordsize.h>.
26946         (__WCHAR_MIN): Support __WORDSIZE == 64.
26947         (__WCHAR_MAX): Likewise.
26949         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26950         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26952         [BZ #14183]
26953         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26954         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26956         [BZ #14117]
26957         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26958         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26960         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26961         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26963         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26964         Defined to 1 if __x86_64__ isn't defined.
26965         (_STAT_VER_LINUX_OLD): New.
26966         (st_atime): Remove duplicate.
26967         (st_mtime): Likewise.
26968         (st_ctime): Likewise.
26970 2012-05-31  David S. Miller  <davem@davemloft.net>
26972         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26973         entries.
26975 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
26977         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26978         gen-libm-test.pl.
26980         [BZ #14132]
26981         * elf/dl-reloc.c: Include <_itoa.h>.
26982         (_dl_reloc_bad_type): Remove use of INTUSE.
26983         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26984         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26985         * stdio-common/psiginfo.c (psiginfo): Likewise.
26986         * stdio-common/psignal.c (psignal): Likewise.
26987         * string/strsignal.c (strsignal): Likewise.
26988         * include/signal.h (_sys_siglist): Declare hidden proto.
26989         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
26990         INTVARDEF with libc_hidden_data_def.
26991         * stdio-common/itoa-udigits.c: Likewise.
26992         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26993         (_itoa_lower_digits_internal): Remove declaration.
26994         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26995         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26996         (_sys_sigabbrev_internal): Remove aliases.
26997         (_sys_siglist): Define hidden alias.
26999 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
27001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27002         bits/sysctl.h.
27004 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27006         [BZ #14117]
27007         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27008         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27010         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27011         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27012         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27013         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27014         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27015         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27017         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27018         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27019         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27021         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27022         with __addr.
27023         (insw): Likewise.
27024         (insl): Likewise.
27025         (outsb): Likewise.
27026         (outsw): Likewise.
27027         (outsl): Likewise.
27029         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27030         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27031         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27033         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27034         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27035         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27036         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27037         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27038         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27040         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27041         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27043         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27044         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27046         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27047         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27048         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27050         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27051         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27052         to ...
27053         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27055         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27056         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27057         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27059         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27060         for x86-64.
27061         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27063 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27065         * math/math.h (M_El): Use two more decimal places.
27066         (M_LOG2El): Likewise.
27067         (M_LOG10El): Likewise.
27068         (M_LN2l): Likewise.
27069         (M_LN10l): Likewise.
27070         (M_PIl): Likewise.
27071         (M_PI_2l): Likewise.
27072         (M_PI_4l): Likewise.
27073         (M_1_PIl): Likewise.
27074         (M_2_PIl): Likewise.
27075         (M_2_SQRTPIl): Likewise.
27076         (M_SQRT2l): Likewise.
27077         (M_SQRT1_2l): Likewise.
27079 2012-05-31  David S. Miller  <davem@davemloft.net>
27081         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27082         values between float registers.
27083         * sysdeps/sparc/sparc64/memset.S: Likewise.
27084         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27086 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27088         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27089         -D_FORTIFY_SOURCE=1.
27090         (CPPFLAGS-tst-longjmp_chk.c): Define.
27091         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27092         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27093         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27094         CFLAGS-tst-wchar-h.c.
27096 2012-05-31  Marek Polacek  <polacek@redhat.com>
27098         [BZ #14132]
27099         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27100         __endmntent_internal): Remove declaration.
27101         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27102         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27103         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27105 2012-05-30  David S. Miller  <davem@davemloft.net>
27107         * sysdeps/sparc/sparc32/soft-fp/q_util.c
27108         (___Q_simulate_exceptions): Use real FP ops rather than writing
27109         into the %fsr.
27110         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27111         Likewise.
27113 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27115         [BZ #14117]
27116         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27117         * sysdeps/x86/bits/xtitypes.h: This.
27119         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27120         * sysdeps/x86/bits/wordsize.h: This.
27122         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27123         * sysdeps/x86/bits/huge_vall.h: This.
27125         * sysdeps/i386/bits/select.h: Removed.
27126         * sysdeps/x86_64/bits/select.h: Renamed to ...
27127         * sysdeps/x86/bits/select.h: This.
27129         * sysdeps/i386/bits/setjmp.h: Removed.
27130         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27131         * sysdeps/x86/bits/setjmp.h: This.
27133         * sysdeps/i386/bits/mathdef.h: Removed.
27134         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27135         * sysdeps/x86/bits/mathdef.h: This.
27137 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
27139         [BZ #14132]
27140         * include/sys/socket.h (__connect_internal)
27141         (__libc_sa_len_internal): Remove declaration.
27142         (__connect, __libc_sa_len): Declare hidden_proto.
27143         (SA_LEN): Remove use of INTUSE.
27144         * socket/connect.c: Add libc_hidden_def.
27145         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27146         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27147         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27148         alias.
27149         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27150         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27151         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27152         of adding _internal alias.
27154 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27156         [BZ #14117]
27157         * sysdeps/i386/bits/link.h: Removed.
27158         * sysdeps/i386/bits/linkmap.h: Likewise.
27159         * sysdeps/x86_64/bits/link.h: Renamed to ...
27160         * sysdeps/x86/bits/link.h: This.
27161         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27162         * sysdeps/x86/bits/linkmap.h: This.
27164         * sysdeps/i386/bits/endian.h: Removed.
27165         * sysdeps/x86_64/bits/endian.h: Renamed to ...
27166         * sysdeps/x86/bits/endian.h: This.
27168         * sysdeps/i386/bits/byteswap.h: Removed.
27169         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27170         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27171         * sysdeps/x86/bits/byteswap.h: This.
27172         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27173         * sysdeps/x86/bits/byteswap-16.h: This.
27174         * sysdeps/i386/Implies: Add x86.
27175         * sysdeps/x86_64/Implies: Likewise.
27177 2012-05-30  David S. Miller  <davem@davemloft.net>
27179         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27180         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27181         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27182         (FP_TRAPPING_EXCEPTIONS): Define.
27183         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27184         (FP_TRAPPING_EXCEPTIONS): Define.
27185         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27186         subnormals only when inexact has been signalled or underflow
27187         exceptions are enabled.
27188         (_FP_PACK_CANONICAL): Likewise.
27190 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27192         [BZ #14183]
27193         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27194         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27196 2012-05-30  Richard Henderson  <rth@twiddle.net>
27198         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27199         with #ifndef NOT_IN_libc.
27201         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
27202         marked to avoid plt entry.
27204 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27206         [BZ #14112]
27207         * Makeconfig (default-abi): New macro.
27208         (abi-includes): Likewise.
27209         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
27210         $(abi-$(default-abi)-lib-soname) for soname if defined.
27211         ($(common-objpfx)gnu/lib-names.stmp): Generate from
27212         abi-variants.
27213         * Makefile (installed-stubs): Likewise.
27214         * include/stubs-biarch.h: Removed.
27215         * scripts/lib-names.awk: Only handle one library at a time.
27216         * scripts/soversions.awk: Remove WORDSIZE support.
27217         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27218         entries.
27219         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27220         Removed.
27221         (syscall-list-default-condition): Likewise.
27222         (syscall-list-default-condition): Likewise.
27223         (syscall-list-includes): Likewise.
27224         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27225         syscall-list-* with abi-*.  Handle undefined abi-variants.
27226         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27227         * sysdeps/unix/sysv/linux/i386/Implies: New file.
27228         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27229         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27230         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27231         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27232         Removed.
27233         (syscall-list-32-options): Likewise.
27234         (syscall-list-32-condition): Likewise.
27235         (syscall-list-64-options): Likewise.
27236         (syscall-list-64-condition): Likewise.
27237         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27238         macro.
27239         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27240         Renamed to ...
27241         (abi-*): This.
27242         (abi-64-ld-soname): New macro.
27243         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27244         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27245         Renamed to ...
27246         (abi-*): This.
27247         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27248         * sysdeps/x86_64/x32/shlib-versions: Likewise.
27250 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
27252         * sysdeps/unix/sysv/linux/kernel-features.h
27253         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27254         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27255         include <kernel-features.h>.
27256         [!__NR_ftruncate64]: Remove conditional code.
27257         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27258         [__NR_ftruncate64]: Make code unconditional.
27259         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27260         * sysdeps/unix/sysv/linux/truncate64.c: Do not
27261         include <kernel-features.h>.
27262         [!__NR_ftruncate64]: Remove conditional code.
27263         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27264         [__NR_ftruncate64]: Make code unconditional.
27265         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27267         include <kernel-features.h>.
27268         [!__NR_ftruncate64]: Remove conditional code.
27269         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27270         [__NR_ftruncate64]: Make code unconditional.
27271         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27273         include <kernel-features.h>.
27274         [!__NR_ftruncate64]: Remove conditional code.
27275         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27276         [__NR_ftruncate64]: Make code unconditional.
27277         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27279         * configure.in (libc_cv_fpie): Weaken to a compile test using
27280         LIBC_TRY_CC_OPTION.
27281         * configure: Regenerated.
27283 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27289         Refreshed.
27290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27296         Refreshed.
27298 2012-05-27  David S. Miller  <davem@davemloft.net>
27300         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27301         (___Q_zero): New.
27302         (__Q_simulate_exceptions): Return void.  Change to simulate
27303         exceptions by writing into the %fsr.
27304         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27305         (__Qp_handle_exceptions): Likewise.
27306         (numbers): Delete.
27307         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27308         __Qp_handle_exceptions.
27309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27310         __Qp_handle_exceptions.
27311         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27312         as unused and give dummy FP_RND_NEAREST initializer.
27313         (FP_INHIBIT_RESULTS): Define.
27314         (___Q_simulate_exceptions): Update declaration.
27315         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27316         formatting.
27317         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27318         as unused and give dummy FP_RND_NEAREST initializer.
27319         (__Qp_handle_exceptions): Update declaration.
27320         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27321         formatting.
27323 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
27325         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27326         the temporary FPU control word.
27327         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27328         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27329         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27330         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27331         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27332         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27333         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27334         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27335         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27336         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27337         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27339 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27341         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27342         fields.
27344 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
27346         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27347         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27348         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27349         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27350         Likewise.
27351         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27352         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27353         Likewise.
27355 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
27357         * po/h.po: Update from translation team.
27359 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
27361         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27363         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27364         handling of denormals.
27365         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27366         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27367         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27368         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27369         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27371         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27372         Likewise.
27374 2012-05-26  Marek Polacek  <polacek@redhat.com>
27376         [BZ #14152]
27377         * math/libm-test.inc (fma_test): Don't always expect underflow
27378         exception.
27380 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27382         [BZ #12416]
27383         * elf/tst-execstack.c: Include stackinfo.h.
27384         (do_test): Adjust test case to ensure that pthread_getattr_np
27385         behaviour remains the same after marking stack executable.
27387 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27389         * sysdeps/unix/sysv/linux/kernel-features.h
27390         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27391         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27392         kernel-features.h.
27393         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27394         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27395         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27396         kernel-features.h.
27397         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27398         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27400 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
27402         * configure.in: Define the default includes to being none.
27403         * configure: Regenerated.
27405 2012-05-25  Roland McGrath  <roland@hack.frob.com>
27407         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27408         * sysdeps/x86_64/setjmp.S: Likewise.
27409         * sysdeps/i386/bsd-setjmp.S: Likewise.
27410         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27411         * sysdeps/i386/setjmp.S: Likewise.
27412         * sysdeps/i386/__longjmp.S: Likewise.
27413         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27414         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27416         * include/stap-probe.h: New file.
27417         * configure.in: Handle --enable-systemtap.
27418         * configure: Regenerated.
27419         * config.h.in (USE_STAP_PROBE): New #undef.
27420         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27421         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27422         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27424 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27426         [BZ #13717]
27427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27428         to 2.4.0 where earlier.
27429         * sysdeps/unix/sysv/linux/configure: Regenerated.
27430         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27431         <kernel-features.h>.
27432         [__ASSUME_32BITUIDS]: Make code unconditional.
27433         [!__ASSUME_32BITUIDS]: Remove conditional code.
27434         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27435         <kernel-features.h>.
27436         [__ASSUME_32BITUIDS]: Make code unconditional.
27437         [!__ASSUME_32BITUIDS]: Remove conditional code.
27438         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27439         [__ASSUME_32BITUIDS]: Make code unconditional.
27440         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27441         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27442         <kernel-features.h>.
27443         [__ASSUME_32BITUIDS]: Make code unconditional.
27444         [!__ASSUME_32BITUIDS]: Remove conditional code.
27445         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27446         <kernel-features.h>.
27447         [__ASSUME_32BITUIDS]: Make code unconditional.
27448         [!__ASSUME_32BITUIDS]: Remove conditional code.
27449         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27450         <kernel-features.h>.
27451         [__ASSUME_32BITUIDS]: Make code unconditional.
27452         [!__ASSUME_32BITUIDS]: Remove conditional code.
27453         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27454         <kernel-features.h>.
27455         [__ASSUME_32BITUIDS]: Make code unconditional.
27456         [!__ASSUME_32BITUIDS]: Remove conditional code.
27457         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27458         <kernel-features.h>.
27459         [__ASSUME_32BITUIDS]: Make code unconditional.
27460         [!__ASSUME_32BITUIDS]: Remove conditional code.
27461         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27462         <kernel-features.h>.
27463         [__ASSUME_32BITUIDS]: Make code unconditional.
27464         [!__ASSUME_32BITUIDS]: Remove conditional code.
27465         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27466         <kernel-features.h>.
27467         [__ASSUME_32BITUIDS]: Make code unconditional.
27468         [!__ASSUME_32BITUIDS]: Remove conditional code.
27469         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27470         <kernel-features.h>.
27471         [__ASSUME_32BITUIDS]: Make code unconditional.
27472         [!__ASSUME_32BITUIDS]: Remove conditional code.
27473         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27474         <kernel-features.h>.
27475         [__ASSUME_32BITUIDS]: Make code unconditional.
27476         [!__ASSUME_32BITUIDS]: Remove conditional code.
27477         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27478         <kernel-features.h>.
27479         [__ASSUME_32BITUIDS]: Make code unconditional.
27480         [!__ASSUME_32BITUIDS]: Remove conditional code.
27481         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27482         <kernel-features.h>.
27483         [__NR_setresgid] (__setresgid): Do not declare.
27484         [__ASSUME_32BITUIDS]: Make code unconditional.
27485         [!__ASSUME_32BITUIDS]: Remove conditional code.
27486         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27487         <kernel-features.h>.
27488         [__NR_setresuid] (__setresuid): Do not declare.
27489         [__ASSUME_32BITUIDS]: Make code unconditional.
27490         [!__ASSUME_32BITUIDS]: Remove conditional code.
27491         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27492         <kernel-features.h>.
27493         [__ASSUME_32BITUIDS]: Make code unconditional.
27494         [!__ASSUME_32BITUIDS]: Remove conditional code.
27495         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27496         <kernel-features.h>.
27497         [__ASSUME_32BITUIDS]: Make code unconditional.
27498         [!__ASSUME_32BITUIDS]: Remove conditional code.
27499         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27500         <kernel-features.h>.
27501         [__ASSUME_32BITUIDS]: Make code unconditional.
27502         [!__ASSUME_32BITUIDS]: Remove conditional code.
27503         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27504         <kernel-features.h>.
27505         [__ASSUME_32BITUIDS]: Make code unconditional.
27506         [!__ASSUME_32BITUIDS]: Remove conditional code.
27507         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27508         <kernel-features.h>.
27509         [__ASSUME_32BITUIDS]: Make code unconditional.
27510         [!__ASSUME_32BITUIDS]: Remove conditional code.
27511         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27512         <kernel-features.h>.
27513         [__ASSUME_32BITUIDS]: Make code unconditional.
27514         [!__ASSUME_32BITUIDS]: Remove conditional code.
27515         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27516         <kernel-features.h>.
27517         [__ASSUME_32BITUIDS]: Make code unconditional.
27518         [!__ASSUME_32BITUIDS]: Remove conditional code.
27519         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27520         <kernel-features.h>.
27521         [__ASSUME_32BITUIDS]: Make code unconditional.
27522         [!__ASSUME_32BITUIDS]: Remove conditional code.
27523         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27524         <kernel-features.h>.
27525         [__ASSUME_32BITUIDS]: Make code unconditional.
27526         [!__ASSUME_32BITUIDS]: Remove conditional code.
27527         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27528         <kernel-features.h>.
27529         [__ASSUME_32BITUIDS]: Make code unconditional.
27530         [!__ASSUME_32BITUIDS]: Remove conditional code.
27531         * sysdeps/unix/sysv/linux/kernel-features.h
27532         (__ASSUME_SETRESUID_SYSCALL): Remove.
27533         (__ASSUME_SETRESGID_SYSCALL): Likewise.
27534         (__ASSUME_32BITUIDS): Likewise.
27535         (__ASSUME_LDT_WORKS): Likewise.
27536         (__ASSUME_O_DIRECTORY): Likewise.
27537         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27538         architecture but not kernel version.
27539         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27540         (__ASSUME_MMAP2_SYSCALL): Likewise.
27541         (__ASSUME_STAT64_SYSCALL): Likewise.
27542         (__ASSUME_IPC64): Likewise.
27543         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27544         <kernel-features.h>.
27545         [__ASSUME_32BITUIDS]: Make code unconditional.
27546         [!__ASSUME_32BITUIDS]: Remove conditional code.
27547         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27548         <kernel-features.h>.
27549         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27550         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27551         132096]: Remove conditional code.
27552         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27553         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27554         <kernel-features.h>.
27555         [__ASSUME_32BITUIDS]: Make code unconditional.
27556         [!__ASSUME_32BITUIDS]: Remove conditional code.
27557         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27558         <kernel-features.h>.
27559         [__ASSUME_32BITUIDS]: Make code unconditional.
27560         [!__ASSUME_32BITUIDS]: Remove conditional code.
27561         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27562         <kernel-features.h>.
27563         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27564         unconditional.
27565         (__setresgid): Do not declare.
27566         [__ASSUME_32BITUIDS]: Make code unconditional.
27567         [!__ASSUME_32BITUIDS]: Remove conditional code.
27568         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27569         <kernel-features.h>.
27570         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27571         unconditional.
27572         (__setresuid): Do not declare.
27573         [__ASSUME_32BITUIDS]: Make code unconditional.
27574         [!__ASSUME_32BITUIDS]: Remove conditional code.
27575         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27576         <kernel-features.h>.
27577         [__ASSUME_32BITUIDS]: Make code unconditional.
27578         [!__ASSUME_32BITUIDS]: Remove conditional code.
27579         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27580         <kernel-features.h>.
27581         [__ASSUME_32BITUIDS]: Make code unconditional.
27582         [!__ASSUME_32BITUIDS]: Remove conditional code.
27584 2012-05-25  Richard Henderson  <rth@twiddle.net>
27586         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27587         dl_hwcap to ifunc resolver.
27588         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27589         elf_ifunc_invoke.
27590         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27591         dl_hwcap to ifunc resolver.
27592         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27594 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27596         [BZ #14153]
27597         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27598         for |x| <= 2**-26, not 2**-57.
27599         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27600         exception.
27602 2012-05-24  Jeff Law  <law@redhat.com>
27604         * stdio-common/Makefile (tests): Add bug25.
27605         * stdio-common/bug25.c: New test.
27607 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27609         [BZ #13576]
27610         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27611         multiple of MALLOC_ALIGNMENT in size.
27612         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27614 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27616         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27617         Require >= 256.
27618         (FILENAME_MAX): Use macro-int-constant.
27619         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27620         (_IOFBF): Use macro-int-constant.
27621         (_IOLBF): Likewise.
27622         (_IONBF): Likewise.
27623         (SEEK_CUR): Likewise.
27624         (SEEK_END): Likewise.
27625         (SEEK_SET): Likewise.
27626         (TMP_MAX): Likewise.
27627         (EOF): Use macro-int-constant.  Require < 0.
27628         (NULL): Use macro-constant.  Require == 0.
27629         (stdin): Require type to be FILE *.
27630         (stdout): Likewise.
27631         (stderr): Likewise.
27632         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27633         macro-int-constant.
27634         (EXIT_SUCCESS): Likewise.
27635         (NULL): Use macro-constant.  Require == 0.
27636         (RAND_MAX): Use macro-int-constant.
27637         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27638         [C99-based standards] (strtof): Require function.
27639         [C99-based standards] (strtold): Likewise.
27640         [C99-based standards] (strtoll): Likewise.
27641         [C99-based standards] (strtoull): Likewise.
27642         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27643         [ISO || ISO99 || ISO11] (limits.h): Likewise.
27644         [ISO || ISO99 || ISO11] (math.h): Likewise.
27645         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27646         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27647         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27649 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
27651         [BZ #14132]
27652         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27653         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27654         * intl/dgettext.c (DCGETTEXT): Likewise.
27655         * intl/gettext.c (DCGETTEXT): Likewise.
27656         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27657         * posix/regex_internal.h (gettext): Likewise.
27658         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27659         Remove declaration.
27660         * include/argz.h (__argz_count_internal)
27661         (__argz_stringify_internal): Remove declaration.
27662         (__argz_count, __argz_stringify): Declare hidden proto.
27663         * intl/dcgettext.c: Remove use of INTDEF.
27664         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27665         * string/argz-stringify.c: Likewise.
27666         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27667         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27668         Declare hidden proto.
27669         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27670         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27671         Declare hidden proto.
27672         * include/stdio.h (__asprintf_internal): Don't declare.
27673         (__asprintf): Don't define as macro.  Declare hidden proto.
27674         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27675         (__fsetlocking): Declare hidden proto.
27676         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27677         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27678         hidden proto.
27679         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27680         (_IO_setlinebuf): Remove use of INTUSE.
27681         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27682         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27683         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27684         Remove declaration.
27685         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27686         (_IO_do_flush): Remove use of INTUSE.
27687         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27688         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27689         (_IO_adjust_column, _IO_least_wmarker)
27690         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27691         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27692         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27693         (_IO_default_doallocate, _IO_wdefault_doallocate)
27694         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27695         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27696         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27697         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27698         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27699         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27700         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27701         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27702         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27703         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27704         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27705         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27706         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27707         proto.
27708         (_IO_flush_all_internal, _IO_adjust_column_internal)
27709         (_IO_default_uflow_internal, _IO_default_finish_internal)
27710         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27711         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27712         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27713         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27714         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27715         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27716         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27717         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27718         (_IO_file_close_internal, _IO_file_close_it_internal)
27719         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27720         (_IO_file_init_internal, _IO_file_attach_internal)
27721         (_IO_file_fopen_internal, _IO_file_read_internal)
27722         (_IO_file_sync_internal, _IO_file_seek_internal)
27723         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27724         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27725         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27726         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27727         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27728         (_IO_list_all_internal, _IO_link_in_internal)
27729         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27730         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27731         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27732         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27733         (_IO_do_write_internal, _IO_padn_internal)
27734         (_IO_getline_info_internal, _IO_getline_internal)
27735         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27736         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27737         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27738         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27739         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27740         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27741         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27742         with libc_hidden_ver, remove use of INTUSE.
27743         * libio/genops.c: Likewise.
27744         * libio/freopen.c: Likewise.
27745         * libio/freopen64.c: Likewise.
27746         * libio/iofclose.c: Likewise.
27747         * libio/iofdopen.c: Likewise.
27748         * libio/iofflush.c: Likewise.
27749         * libio/iofflush_u.c: Likewise.
27750         * libio/iofgets.c: Likewise.
27751         * libio/iofgets_u.c: Likewise.
27752         * libio/iofopen.c: Likewise.
27753         * libio/iofopncook.c: Likewise.
27754         * libio/iofread.c: Likewise.
27755         * libio/iofread_u.c: Likewise.
27756         * libio/ioftell.c: Likewise.
27757         * libio/iofwrite.c: Likewise.
27758         * libio/iogetline.c: Likewise.
27759         * libio/iogets.c: Likewise.
27760         * libio/iogetwline.c: Likewise.
27761         * libio/iopadn.c: Likewise.
27762         * libio/iopopen.c: Likewise.
27763         * libio/ioseekoff.c: Likewise.
27764         * libio/ioseekpos.c: Likewise.
27765         * libio/iosetbuffer.c: Likewise.
27766         * libio/iosetvbuf.c: Likewise.
27767         * libio/ioungetc.c: Likewise.
27768         * libio/ioungetwc.c: Likewise.
27769         * libio/iovdprintf.c: Likewise.
27770         * libio/iovsprintf.c: Likewise.
27771         * libio/iovsscanf.c: Likewise.
27772         * libio/memstream.c: Likewise.
27773         * libio/obprintf.c: Likewise.
27774         * libio/oldfileops.c: Likewise.
27775         * libio/oldiofclose.c: Likewise.
27776         * libio/oldiofdopen.c: Likewise.
27777         * libio/oldiofopen.c: Likewise.
27778         * libio/oldiopopen.c: Likewise.
27779         * libio/oldstdfiles.c: Likewise.
27780         * libio/putc.c: Likewise.
27781         * libio/setbuf.c: Likewise.
27782         * libio/setlinebuf.c: Likewise.
27783         * libio/stdfiles.c: Likewise.
27784         * libio/strops.c: Likewise.
27785         * libio/vasprintf.c: Likewise.
27786         * libio/vscanf.c: Likewise.
27787         * libio/vsnprintf.c: Likewise.
27788         * libio/vswprintf.c: Likewise.
27789         * libio/wfiledoalloc.c: Likewise.
27790         * libio/wfileops.c: Likewise.
27791         * libio/wgenops.c: Likewise.
27792         * libio/wmemstream.c: Likewise.
27793         * libio/wstrops.c: Likewise.
27794         * libio/__fpurge.c: Likewise.
27795         * libio/__fsetlocking.c: Likewise.
27796         * assert/assert.c: Likewise.
27797         * debug/fgets_chk.c: Likewise.
27798         * debug/fgets_u_chk.c: Likewise.
27799         * debug/fread_chk.c: Likewise.
27800         * debug/fread_u_chk.c: Likewise.
27801         * debug/gets_chk.c: Likewise.
27802         * debug/obprintf_chk.c: Likewise.
27803         * debug/vasprintf_chk.c: Likewise.
27804         * debug/vdprintf_chk.c: Likewise.
27805         * debug/vsnprintf_chk.c: Likewise.
27806         * debug/vsprintf_chk.c: Likewise.
27807         * malloc/mtrace.c: Likewise.
27808         * misc/error.c: Likewise.
27809         * misc/syslog.c: Likewise.
27810         * stdio-common/asprintf.c: Likewise.
27811         * stdio-common/fxprintf.c: Likewise.
27812         * stdio-common/getw.c: Likewise.
27813         * stdio-common/isoc99_fscanf.c: Likewise.
27814         * stdio-common/isoc99_scanf.c: Likewise.
27815         * stdio-common/isoc99_vfscanf.c: Likewise.
27816         * stdio-common/isoc99_vscanf.c: Likewise.
27817         * stdio-common/isoc99_vsscanf.c: Likewise.
27818         * stdio-common/printf-prs.c: Likewise.
27819         * stdio-common/printf_fp.c: Likewise.
27820         * stdio-common/printf_fphex.c: Likewise.
27821         * stdio-common/printf_size.c: Likewise.
27822         * stdio-common/putw.c: Likewise.
27823         * stdio-common/scanf.c: Likewise.
27824         * stdio-common/sprintf.c: Likewise.
27825         * stdio-common/tmpfile.c: Likewise.
27826         * stdio-common/vfprintf.c: Likewise.
27827         * stdio-common/vfscanf.c: Likewise.
27828         * stdlib/strfmon_l.c: Likewise.
27829         * sunrpc/openchild.c: Likewise.
27830         * sunrpc/xdr_stdio.c: Likewise.
27831         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27832         * sysdeps/mach/hurd/tmpfile.c: Likewise.
27834 2012-05-24  Roland McGrath  <roland@hack.frob.com>
27836         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27838         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27839         in the third column, to generate for the shared library an IFUNC
27840         that uses _dl_vdso_vsym.
27841         * Makerules (COMPILE.c, compile-stdin.c): New variables.
27842         * Makeconfig (object-suffixes-noshared): New variable.
27844         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27845         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27846         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27847         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27849         [BZ #14132]
27850         * include/sys/time.h (__gettimeofday): Remove macro.
27851         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27852         * time/gettimeofday.c (__gettimeofday): Remove #undef.
27853         Remove INTDEF.
27854         (__gettimeofday): Add libc_hidden_def.
27855         (gettimeofday): Add libc_hidden_weak.
27856         * sysdeps/mach/gettimeofday.c: Likewise.
27857         * sysdeps/posix/gettimeofday.c: Likewise.
27858         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27859         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27860         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27861         (__gettimeofday_internal): Remove strong_alias.
27862         (__gettimeofday): Add libc_hidden_def.
27863         (gettimeofday): Add libc_hidden_weak.
27864         * sysdeps/unix/syscalls.list (gettimeofday):
27865         Remove __gettimeofday_internal alias.
27867 2012-05-24  Daniel Jacobowitz  <drow@false.org>
27868             H.J. Lu  <hongjiu.lu@intel.com>
27870         [BZ #12495]
27871         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27872         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27873         (largebin_index_32_big): New.
27874         (largebin_index): Use it for 16-byte alignment.
27875         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
27876         correction with front_misalign.
27878 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27882         Likewise.
27883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27884         Likewise.
27885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27886         Likewise.
27887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27888         Likewise.
27889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27890         Likewise.
27891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27892         Likewise.
27893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27894         Likewise.
27895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27896         Likewise.
27897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27898         Likewise.
27899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27900         Likewise.
27901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27902         Likewise.
27903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27904         Likewise.
27906         * scripts/data/c++-types-x32-linux-gnu.data: New file.
27907         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27909 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27911         [BZ #10846]
27912         [BZ #14036]
27913         * math/libm-test.inc (exp_test): Add test from bug 14036.
27914         (pow_test): Add test from bug 10846.
27916         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27917         and other flags.
27918         (special_function): Do not include flags in test name.
27919         (parse_args): Likewise.
27920         * sysdeps/i386/fpu/libm-test-ulps: Update.
27921         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27922         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27923         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27926         * math/gen-libm-test.pl (%beautify): Add entries for underflow
27927         exceptions.
27928         * math/libm-test.inc ("Philosophy"): Update comment about
27929         exception testing.
27930         (UNDERFLOW_EXCEPTION): New macro.
27931         (UNDERFLOW_EXCEPTION_OK): Likewise.
27932         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27933         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27934         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27935         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27936         (INVALID_EXCEPTION_OK): Update value.
27937         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27938         (OVERFLOW_EXCEPTION_OK): Likewise.
27939         (IGNORE_ZERO_INF_SIGN): Likewise.
27940         (test_exceptions): Handle underflow exceptions.
27941         (acos_test): Update for underflow exception expectations.
27942         (cexp_test): Likewise.
27943         (clog_test): Likewise.
27944         (clog10_test): Likewise.
27945         (csqrt_test): Likewise.
27946         (ctan_test): Likewise.
27947         (ctanh_test): Likewise.
27948         (exp_test): Likewise.
27949         (exp10_test): Likewise.
27950         (exp2_test): Likewise.
27951         (expm1_test): Likewise.
27952         (fma_test): Likewise.
27953         (j0_test): Likewise.
27954         (jn_test): Likewise.
27955         (nexttoward_test): Likewise.
27956         (pow_test): Likewise.
27957         (scalbn_test): Likewise.
27958         (scalbln_test): Likewise.
27959         (tan_test): Likewise.
27960         (y1_test): Likewise.
27961         * sysdeps/i386/fpu/libm-test-ulps: Update.
27962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27964 2012-05-23  David S. Miller  <davem@davemloft.net>
27966         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27967         (__libc_sigaction): Remove unused local variables.
27969 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27971         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27973 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
27975         mktime: avoid signed integer overflow
27976         * time/mktime.c (__mktime_internal): Do not mishandle the case
27977         where diff == INT_MIN.
27979         mktime: simplify computation of average
27980         * time/mktime.c (ranged_convert): Use new time_t_avg function
27981         instead of rolling our own (probably-slower) code.
27983         mktime: do not assume signed right shift propagates sign bit
27984         * time/mktime.c (isdst_differ): New static function.
27985         (__mktime_internal): No need to normalize tm_isdst now.
27986         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27987         tm_isdst values.
27989         mktime: merge another wrapv change from gnulib
27990         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27991         from some compilers.
27993         mktime: remove incorrect attempt at unusual arithmetics
27994         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27995         The code didn't really work on such machines anyway.
27996         (TYPE_MINIMUM): Assume two's complement.
27997         (twos_complement_arithmetic): Verify that long_int and time_t
27998         are two's complement (or unsigned, in the latter case).
28000         mktime: check signed shifts on long_int and time_t, too
28001         * time/mktime.c (SHR): Check that shifts work as desired
28002         on the types long_int and time_t too, as SHR is used on
28003         such types.
28005         mktime: do not assume 'long' is wide enough
28006         * time/mktime.c (verify): Move decl up.
28007         (long_int): New type.
28008         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28009         to remove assumption in the code that 'long' is wide enough to
28010         store year values.  This assumption is not true on x32 and on
28011         some non-glibc platforms.
28013         mktime: merge wrapv change from gnulib
28014         * time/mktime.c (WRAPV): New macro.
28015         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28016         (guess_time_tm, __mktime_internal): Do not assume that signed
28017         integer overflow wraps around; modern compilers generate code
28018         where this assumption is no longer valid.
28020 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28022         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28023         Replace "jmp L(pseudo_end)" with "ret".
28024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28025         Likewise.
28027 2012-05-23  Andreas Jaeger  <aj@suse.de>
28029         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28030         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28032 2012-05-23  Andreas Jaeger  <aj@suse.de>
28033             Maximilian Attems  <max@stro.at>
28035         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28036         New macros.
28038 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28040         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28041         code so that pseudo_end is just ret and the stack pointer is
28042         correct also for static library in error case.
28044 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28046         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28047         move to syscalls.list.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28053         * manual/install.texi (Running make install): Do not mention Linux
28054         kernel version for which pt_chown is not needed.
28055         (Linux): Do not mention problems with nscd with 2.0 kernels.
28056         * INSTALL: Regenerated.
28058 2012-05-23  Andreas Jaeger  <aj@suse.de>
28060         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28061         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28062         macro.
28063         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28064         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28065         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28066         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28067         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28068         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28069         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28070         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28071         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28072         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28073         * sysdeps/unix/sysv/linux/bits/in.h
28074         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28076 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28078         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28079         (PREPARE_VERSION): Just use assert instead, it will be elided
28080         under [NDEBUG] anyway.
28082 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28084         * sysdeps/unix/sysv/linux/Makefile: Include
28085         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28086         (sysdep_routines): Remove sysctl.
28087         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28088         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28089         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28090         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28091         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28093 2012-05-22  Andreas Jaeger  <aj@suse.de>
28095         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28096         that pseudo_end is just ret and the stack pointer is correct also
28097         for static library in error case.
28099 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28101         [BZ #14122]
28102         * nss/nsswitch.c (defconfig_entries): New variable.
28103         (__nss_database_lookup): Don't leak defconfig entries.
28104         (nss_parse_service_list): Don't leak on error paths.
28105         (free_database_entries): New function.
28106         (free_defconfig): New function.
28107         (free_mem): Move common code to free_database_entries.
28109 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28111         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28112         Add arch_prctl.
28113         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28115         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28116         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28117         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28118         New macro.
28119         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28120         (INTERNAL_SYSCALL_TYPES): Likewise.
28121         (LOAD_ARGS_TYPES_[1-6]): Likewise.
28122         (LOAD_REGS_TYPES_[1-6]): Likewise.
28123         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28124         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28126 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28128         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28129         copysignl for GLIBC_2_0.
28130         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28131         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28132         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28133         logbl for GLIBC_2_0.
28134         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28135         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28137 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28140         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28142         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28143         Use "neg %eax".
28145         * time/mktime.c: Update copyright years.
28147 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28149         mktime: merge comment-quoting-style change from gnulib
28150         * time/mktime.c: Quote 'like this' in comments.
28151         The GNU coding standards suggest that we no longer quote `like this',
28152         as "`" and "'" are typically rendered asymmetrically nowadays.
28153         The typical gnulib style is to quote 'like this' when quoting
28154         code, and "like this" when quoting English.
28156         * time/mktime.c (compile-command): Add "-I.".
28158         mktime: merge mktime-internal.h change from gnulib
28159         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28161         mktime: merge time_r change from gnulib
28162         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28164         mktime: merge DEBUG change from gnulib
28165         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28166         case system <time.h> has a #define.
28168         mktime: merge <sys/types.h> change from gnulib
28169         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28170         since <time.t> is now guaranteed to define time_t.
28172         mktime: merge HAVE_CONFIG_H change from gnulib
28173         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28175 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28178         Use "neg %eax".
28180         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28181         __rlim_t cast.
28182         (struct rusage): Use anonymous union to pad each field to
28183         __syscall_slong_t.
28185 2012-05-21  David S. Miller  <davem@davemloft.net>
28187         * Makefules (o-iterator): Remove .s cases.
28188         (compile-command.s): Delete.
28189         (COMPILE.s): Delete.
28190         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28192 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
28194         * configure.in (libc_cv_predef_stack_protector): Only consider
28195         "foobar" and "__stack_chk_fail" lines in libc_undefs.
28196         * configure: Regenerated.
28198 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28200         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28201         New macro.  Use R*LP on int and pointer.
28202         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28203         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28204         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28205         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28207         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28208         [__WORDSIZE_TIME64_COMPAT32] instead of
28209         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28210         (struct utmp): Likewise.
28211         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28212         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28213         Renamed to ...
28214         (__WORDSIZE_TIME64_COMPAT32): This.
28215         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28216         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28217         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28218         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28219         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28220         (__WORDSIZE_TIME64_COMPAT32): New macro.
28222 2012-05-21  Andreas Jaeger  <aj@suse.de>
28224         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28225         only if [SHARED]. Add prototype for __wcschr_ia32.
28227 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28229         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28230         of %rbp unmolested in the jmp_buf while mangling the low bits.
28231         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28232         unmolested high bits of %rbp while demangling the low bits.
28233         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28235 2012-05-21  Andreas Jaeger  <aj@suse.de>
28237         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28238         * sunrpc/svc_simple.c: Use it for registerrpc.
28239         * sunrpc/xcrypt.c: Use it for passwd2des.
28241         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28243 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28245         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28246         Don't define if [__SYSCALL_WORDSIZE != 32].
28247         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28248         New macro.
28250 2012-05-21  Bruno Haible  <bruno@clisp.org>
28251             Andreas Jaeger  <aj@suse.de>
28253         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28254         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28255         inptr and inend for must_buffer_ch.
28256         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28257         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28258         * stdio-common/Makefile (tests): Remove bug15.
28259         (bug15-ENV): Remove macro.
28260         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28261         anymore.
28263 2012-05-19  Andreas Jaeger  <aj@suse.de>
28264             Roland McGrath  <roland@hack.frob.com>
28266         * manual/contrib.texi: Completely rewritten. It contains now an
28267         alphabetical list of contributors and their contributions.
28269 2012-05-21  Richard Henderson  <rth@twiddle.net>
28271         * misc/getauxval.c (__getauxval): Use unsigned long int.
28272         * misc/sys/auxv.h: Include <sys/cdefs.h>.
28273         (getauxval): Use unsigned long int.
28275 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28277         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28279 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28281         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28282         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28283         __alignof__ (long double).
28285 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28289 2012-05-20  Richard Henderson  <rth@twiddle.net>
28291         * misc/getauxval.c: New file.
28292         * misc/sys/auxv.h: New file.
28293         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28294         (routines): Add getauxval.
28295         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28296         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28297         * elf/dl-sysdep.c (_dl_auxv): Remove.
28298         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28299         * elf/dl-support.c (_dl_auxv): New variable.
28300         (_dl_aux_init): Initialize it.
28301         * manual/startup.texi (Auxiliary Vector): New node.
28302         * sysdeps/generic/bits/hwcap.h: New file.
28303         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28304         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
28305         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28306         * sysdeps/sparc/sysdep.h: ... here.  Include it.
28307         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28308         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28310         Update.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28314         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28320 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28324 2012-05-19  David S. Miller  <davem@davemloft.net>
28326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28328 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28330         [BZ #14123]
28331         * math/s_ccosh.c: Include <float.h>
28332         (__ccosh): Avoid internal overflow calculating sinh and cosh
28333         values before multiplying by sin and cos values.
28334         * math/s_ccoshf.c: Likewise.
28335         * math/s_ccoshl.c: Likewise.
28336         * math/s_csin.c: Likewise.
28337         * math/s_csinf.c: Likewise.
28338         * math/s_csinl.c: Likewise.
28339         * math/s_csinh.c: Likewise.
28340         * math/s_csinhf.c: Likewise.
28341         * math/s_csinhl.c: Likewise.
28342         * math/libm-test.inc (ccos_test): Add more tests.
28343         (ccosh_test): Likewise.
28344         (csin_test): Likewise.
28345         (csinh_test): Likewise.
28346         * sysdeps/i386/fpu/libm-test-ulps: Update.
28347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28349 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
28351         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28352         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28354         * sysdeps/x86_64/x32/_itoa.h: Add comment.
28356 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28358         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28359         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28360         * sysdeps/powerpc/soft-fp/Versions: Likewise.
28361         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28362         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28363         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28364         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28365         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28366         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28367         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28368         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28369         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28370         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28371         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28372         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28373         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28374         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28375         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28376         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28377         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28378         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28379         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28380         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28381         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28382         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28383         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28384         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28385         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28386         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28387         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28388         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28390 2012-05-18  Andreas Jaeger  <aj@suse.de>
28392         * csu/.gitignore: Delete.
28394 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28396         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28397         (timex): Use __syscall_slong_t.
28399 2012-05-18  Andreas Jaeger  <aj@suse.de>
28400             Carlos O'Donell  <carlos_odonell@mentor.com>
28402         * manual/install.texi (Configuring and compiling): Update
28403         description about files modified in the source directory.
28404         * INSTALL: Regenerated.
28406 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28408         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28409         value.  Use "or" to set return value to -1.
28410         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28411         negate return value.
28413 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28415         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28416         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28417         failure if the compiler has Graphite support disabled.
28418         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28419         Likewise.
28420         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28421         CFLAGS-memmove.c): Likewise.
28422         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28423         Likewise.
28425 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28427         * sysdeps/x86_64/x32/_itoa.h: New file.
28429         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28430         getdents system call only if kernel and user dirents have the
28431         same d_ino and d_off.
28433         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28434         LLONG_MAX != LONG_MAX.
28435         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28436         (_fitoa_word): Likewise.
28438         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28439         years.
28440         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28441         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28442         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28444         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28445         include <bits/wordsize.h>.  Check __x86_64__ instead of
28446         __WORDSIZE.
28447         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28448         if __x86_64__ is defined.  Use anonymous union on fpstate.
28450         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28451         anonymous union.
28453 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
28455         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28456         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28457         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28458         Refer to _rtld_local_ro instead of _rtld_global_ro.
28459         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28460         Likewise.
28461         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28462         Likewise.
28463         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28464         Likewise.
28465         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28466         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28467         of _rtld_global, and rtld_progname instead of _dl_argv[0].
28469         * sysdeps/powerpc/powerpc32/dl-machine.c
28470         (__elf_machine_runtime_setup) [PROF]: Don't reference
28471         _dl_prof_resolve.
28473 2012-05-18  Andreas Jaeger  <aj@suse.de>
28475         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28476         function only available for GCCs before 3.4 since GCC 3.4
28477         introduced a builtin.
28478         (lrint): Likewise.
28479         (llrintf): Likewise.
28480         (llrint): Likewise.
28481         (fmaxf): Likewise.
28482         (fmax): Likewise.
28483         (fminf): Likewise.
28484         (fmin): Likewise.
28485         (rint): Likewise.
28486         (rintf): Likewise.
28487         (nearbyint): Likewise.
28488         (nearbyintf): Likewise.
28489         (ceil): Likewise.
28490         (ceilf): Likewise.
28491         (floor): Likewise.
28492         (floorf): Likewise.
28494 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28496         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28497         on both fields and cast pointer to __syscall_ulong_t.
28499         * bits/types.h (__fsword_t): New type.
28500         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28501         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28502         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28503         (__FSWORD_T_TYPE): Likewise.
28504         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28505         (__FSWORD_T_TYPE): Likewise.
28506         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28507         (__FSWORD_T_TYPE): Likewise.
28508         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28509         (__FSWORD_T_TYPE): Likewise.
28510         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28511         __SWORD_TYPE with __fsword_t.
28512         (statfs64): Likewise.
28514 2012-05-17  David S. Miller  <davem@davemloft.net>
28516         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28518 2012-05-17  Andreas Jaeger  <aj@suse.de>
28520         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28521         warning.
28523 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28525         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28527 2012-05-17  Andreas Jaeger  <aj@suse.de>
28529         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28530         when it is used.
28532 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28534         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28536 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28538         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28539         * sysdeps/x86_64/tst-mallocalign1.c: New file.
28541 2012-05-17  Andreas Jaeger  <aj@suse.de>
28542             Carlos O'Donell  <carlos_odonell@mentor.com>
28544         [BZ #14059]
28545         * sysdeps/x86_64/multiarch/init-arch.h
28546         (bit_YMM_Usable): Rename to...
28547         (bit_AVX_Usable): ... this.
28548         (bit_FMA4_Usable): New macro.
28549         (bit_XMM_state): New macro.
28550         (bit_YMM_state): New macro.
28551         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28552         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28553         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28554         (CPUID_OSXSAVE): New macro.
28555         (CPUID_AVX): New macro.
28556         (CPUID_FMA4): New macro.
28557         (index_YMM_Usable): Rename to...
28558         (index_AVX_Usable): ... this.
28559         (HAS_AVX): Use HAS_ARCH_FEATURE.
28560         (HAS_FMA4): Likewise.
28561         (HAS_YMM_USABLE): Remove.
28562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28563         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28564         are present.
28565         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28566         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28567         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28568         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28569         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28571 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28573         * math/libm-test.c: Support platforms without multiple rounding modes.
28574         * math/bug-nextafter.c: Support platforms without FP exceptions.
28575         * math/bug-nexttoward.c: Likewise.
28576         * math/test-fenv.c: Likewise.
28577         * math/test-misc.c: Likewise.
28578         * stdlib/bug-getcontext.c: Likewise.
28580 2012-05-17  Andreas Jaeger  <aj@suse.de>
28582         * manual/examples/search.c (critter_cmp): Change signature to
28583         avoid warnings.
28584         * manual/string.texi (Collation Functions): Likewise.
28586 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28588         * bits/types.h: Fold copyright years.
28589         * bits/typesizes.h: Likewise.
28590         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28591         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28593         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28594         * time/time.h: Likewise.
28596 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28598         [BZ #208]
28599         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28600         in instead of returning them.  Return void.
28601         (__libc_mallinfo): Accumulate over all arenas.
28602         (__malloc_stats): Adjust for change in int_mallinfo interface.
28604 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28606         [BZ #10375]
28607         * configure.in (NM): Add AC_CHECK_TOOL for it.
28608         (libc_extra_cflags): New substituted variable.
28609         Check for -fstack-protector being used implicitly.
28610         * configure: Regenerated.
28611         * config.make.in (config-extra-cflags): New variable,
28612         gets @libc_extra_cflags@.
28613         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28615         [BZ #10375]
28616         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28617         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28618         * configure: Regenerated.
28619         * config.make.in (CPPUNDEFS): New substituted variable.
28620         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28621         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28622         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28624 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28626         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28627         (mq_attr): Use __syscall_slong_t.
28629 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28631         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28632         Check __x86_64__ instead of __WORDSIZE.
28633         (_STAT_VER_LINUX): Likewise.
28634         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
28635         __syscall_ulong_t and __syscall_slong_t.
28636         (stat64): Likewise.
28638 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28640         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28642 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28644         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28648         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28649         __syscall_ulong_t.
28651         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28652         include <bits/wordsize.h>.  Check __x86_64__ instead of
28653         __WORDSIZE.
28654         (greg_t): Use "__extension__ long long int" if __x86_64__ is
28655         defined.
28656         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28658         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28659         include <bits/wordsize.h>.  Check __x86_64__ instead of
28660         __WORDSIZE.
28661         (user_regs_struct): Use "__extension__ unsigned long long"
28662         instead of "unsigned long" if __x86_64__ is defined.
28663         (user): Likewise.  Pad after pointer field if __ILP32__ is
28664         defined.
28666 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28668         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28669         versions 5 to 9.
28670         * configure: Regenerated.
28671         * manual/install.texi (texinfo): Increase version requirement to
28672         4.5 or later.
28673         * INSTALL: Regenerated.
28675         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28679         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28681         * sysdeps/x86_64/x32/ffs.c: New file.
28683         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28684         __syscall_ulong_t.
28685         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28686         defined.  Use __syscall_ulong_t.
28687         (shminfo): Use __syscall_ulong_t.
28688         (shm_info): Likewise.
28690         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28691         __syscall_ulong_t.
28693         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28694         <bits/wordsize.h>.
28695         (msgqnum_t): Use __syscall_ulong_t.
28696         (msglen_t): Likewise.
28697         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28698         __syscall_ulong_t.
28700         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28701         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28703         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28705         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28706         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28708         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28709         __syscall_slong_t.
28711         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28712         include <bits/wordsize.h>.  Check __x86_64__ instead of
28713         __WORDSIZE.
28715         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28716         "unsigned long long int" if __x86_64__ is defined.
28717         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28719         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28720         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28721         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28723         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28724         <stdint.h>.
28725         (GET_PC): Cast to uintptr_t first.
28726         (GET_FRAME): Likewise.
28727         (GET_STACK): Likewise.
28729         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28730         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28731         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28732         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28733         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28734         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28735         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28736         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28737         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28738         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28739         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28740         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28741         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28742         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28743         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28744         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28745         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28746         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28747         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28748         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28749         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28750         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28751         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28752         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28753         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28754         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28755         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28756         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28757         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28759 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28761         * Makerules (+depfiles): Also collect depfiles from .oS in
28762         $(extra-objs).
28763         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28764         .oS, $(libnldbl-routines)).
28766         * Makerules (native-compile-mkdep-flags): Define.
28767         * sunrpc/Makefile (extra-objs): Add $(addprefix
28768         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28769         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28770         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28771         calling $(make-target-directory).
28773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28775         * bits/types.h (__snseconds_t): Removed.
28776         * time/time.h (struct timespec): Replace __snseconds_t with
28777         __syscall_slong_t.
28778         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28779         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28780         Likewise.
28781         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28782         (__SNSECONDS_T_TYPE): Likewise.
28783         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28784         (__SNSECONDS_T_TYPE): Likewise.
28785         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28786         (__SNSECONDS_T_TYPE): Likewise.
28788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28790         * sysdeps/mach/hurd/bits/typesizes.h
28791         (__SYSCALL_SLONG_TYPE): New macro.
28792         (__SYSCALL_ULONG_TYPE): Likewise.
28794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28796         * bits/types.h (__syscall_slong_t): New type.
28797         (__syscall_ulong_t): Likewise.
28799         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28800         (__SYSCALL_ULONG_TYPE): Likewise.
28801         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28802         (__SYSCALL_SLONG_TYPE): Likewise.
28803         (__SYSCALL_ULONG_TYPE): Likewise.
28804         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28805         (__SYSCALL_SLONG_TYPE): Likewise.
28806         (__SYSCALL_ULONG_TYPE): Likewise.
28807         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28808         (__SYSCALL_SLONG_TYPE): Likewise.
28809         (__SYSCALL_ULONG_TYPE): Likewise.
28811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28813         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28814         Add sigaltstack-offsets.sym.
28815         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28816         <sigaltstack-offsets.h>.
28817         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
28818         longjmp_msg pointer.
28819         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
28820         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28821         signal stack.
28822         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28824 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28826         * elf/stackguard-macros.h: Remove file.
28827         * sysdeps/generic/stackguard-macros.h: New file.
28828         * sysdeps/i386/stackguard-macros.h: Likewise.
28829         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28830         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28831         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28832         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28833         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28834         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28835         * sysdeps/x86_64/stackguard-macros.h: Likewise.
28836         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28837         <elf/stackguard-macros.h>.
28839         [BZ #14109]
28840         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28841         __aligned__ in attribute.
28842         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28843         (gregset_t): Likewise.
28845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28847         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28848         * sysdeps/x86_64/64/Implies-after: Here.  New file.
28849         * sysdeps/x86_64/x32/Implies-after: New file.
28851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28853         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28854         and access return value for _dl_profile_fixup.  Use R10_LP to
28855         load frame size.
28857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28859         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28863         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28864         * sysdeps/x86_64/x32/sysdep.h: New file.
28866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28868         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28869         * sysdeps/x86_64/setjmp.S: Likewise.
28871 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28873         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28874         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28875         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28876         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28877         remove unused global constant.
28879 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
28881         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28882         include of <not-cancel.h>.
28884 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28886         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28888 2012-05-15  Jeff Law  <law@redhat.com>
28889             Andreas Jaeger  <aj@suse.de>
28891         [BZ #13594]
28892         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28893         out from...
28894         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28895         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28896         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28897         code changing __hst_map_handle.map.
28899 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28901         * configure.in (sysnames): Look for Implies-before and Implies-after
28902         files.
28903         * configure: Regenerated.
28905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28907         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28908         8-byte data alignment with LP_SIZE alignment.
28910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28912         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28913         into R10_LP.
28915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28917         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28921         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28922         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28923         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28924         Likewise.
28925         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28929         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28930         (stackinfo_sub_sp): Likewise.
28932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28934         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28935         RAX_LP.
28937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28939         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28940         into R*_LP.
28942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28944         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28945         sizes into R*_LP.
28947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28949         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28953         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28954         into R11_LP and load __x86_64_shared_cache_size_half into
28955         R8_LP.
28957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28960         R8_LP.
28962 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28964         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28965         logb for POWER7.
28966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28967         logbf for POWER7.
28968         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28969         logbl for POWER7.
28970         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28971         powerpc32/power7/fpu/s_logb.c via #include.
28972         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28973         powerpc32/power7/fpu/s_logbf.c via #include.
28974         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28975         powerpc32/power7/fpu/s_logbl.c via #include.
28977 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28979         * README.libm: Remove file.
28981 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28983         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28984         count for x32.  Use R*_LP and omit operand-size suffix.
28986 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28988         * shlib-versions: Move x86_64-.*-linux.* entries to ...
28989         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
28990         * sysdeps/x86_64/x32/shlib-versions: New file.
28992 2012-05-14  Roland McGrath  <roland@hack.frob.com>
28994         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28995         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28996         Use _dl_fatal_printf instead.
28998 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29000         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29001         set if not set by the user.  Do not allow for being unset.
29002         * sysdeps/unix/sysv/linux/configure: Regenerated.
29004 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29006         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29007         the `q' suffix from lea and replace .quad with ASM_ADDR.
29009 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29011         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29012         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
29013         instead of $17.
29014         (PTR_DEMANGLE): Likewise.
29016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29018         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29019         (LP_OP): Likewise.
29020         (ASM_ADDR): Likewise.
29021         (RAX_LP): Likewise.
29022         (RBP_LP): Likewise.
29023         (RBX_LP): Likewise.
29024         (RCX_LP): Likewise.
29025         (RDI_LP): Likewise.
29026         (RSI_LP): Likewise.
29027         (RSP_LP): Likewise.
29028         (R8_LP): Likewise.
29029         (R9_LP): Likewise.
29030         (R10_LP): Likewise.
29031         (R10_LP): Likewise.
29032         (R11_LP): Likewise.
29033         (R12_LP): Likewise.
29034         (R13_LP): Likewise.
29035         (R14_LP): Likewise.
29036         (R15_LP): Likewise.
29038 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29040         * sysdeps/x86_64/x32/dl-machine.h: New file.
29042 2012-05-14  Andreas Jaeger  <aj@suse.de>
29044         * manual/Makefile (subdir): Remove export of subdir.
29045         (all): Remove target.
29046         (.PHONY): Remove all from list.
29047         (mkinstalldirs): Remove.
29048         (.PHONY): Remove installdirs from list.
29049         ($(inst_infodir)/libc.info): Use make-target-directory.
29050         (installdirs): Remove.
29051         (subdir_%): Remove.
29052         (glibc-targets): Remove.
29053         (lib): Remove.
29054         (stubs): Remove.
29055         ($(objpfx)stubs ../po/manual.pot): Remove.
29056         ($(objpfx)stamp%): Remove.
29057         (make-target-directory): Remove.
29058         (subdir_install): Remove.
29059         (routines): Remove.
29060         (aux): Remove.
29061         (sources): Remove.
29062         (objects): Remove.
29063         (headers): Remove.
29065         [BZ #13750]
29066         * manual/.gitignore: Remove, it's not needed anymore.
29067         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29068         all files in it.
29069         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29070         directory.
29071         (texis): Renamed to $(objpfx)texis.
29072         (texis-path): New, contains path to generated files.
29073         (chapters.%): Use texis-path for complete path, add extra argument
29074         libc-texinfo.sh.
29075         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29076         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29077         (summary,texi, stamp-summary): Use complete path of
29078         files. Generate files in build dir.
29079         (dir-add.texi): Build in build dir.
29080         (libm-err.texi,stamp-libm-err): Likewise.
29081         (version.texi, stamp-version): Likewise.
29082         (.%c.texi): Likewise.
29083         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29084         (mostlyclean): Remove target.
29085         (realclean): Remove target.
29086         (generated): Add new variable with contents from mostlyclean and
29087         realclean, remove entries duplicated in common-mostlyclean, add
29088         stamp-libm-err and stamp-version.
29089         (generated-dirs): Add libc directory.
29090         ($(inst_infodir)/libc.info): Install files from build dir.
29092         * manual/install.texi (Configuring and compiling): Adjust since
29093         the info files are not part of the tar ball anymore.
29095 2012-05-14  Andreas Jaeger  <aj@suse.de>
29097         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29098         variable.
29100 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29102         [BZ #13717]
29103         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29104         to 2.2.0 where earlier.
29105         * sysdeps/unix/sysv/linux/configure: Regenerated.
29106         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29107         Remove conditional code.
29108         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29109         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29110         Remove conditional code.
29111         [!__NR_lchown]: Likewise.
29112         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29113         [__NR_lchown]: Likewise.
29114         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29115         comment referencing __ASSUME_LCHOWN_SYSCALL.
29116         * sysdeps/unix/sysv/linux/i386/sigaction.c
29117         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29118         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29119         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29120         Remove conditional code.
29121         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29122         (__protocol_available): Remove #if 0 code.
29123         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29124         conditional code.
29125         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29126         * sysdeps/unix/sysv/linux/kernel-features.h
29127         (__ASSUME_GETCWD_SYSCALL): Don't define.
29128         (__ASSUME_REALTIME_SIGNALS): Likewise.
29129         (__ASSUME_PREAD_SYSCALL): Likewise.
29130         (__ASSUME_PWRITE_SYSCALL): Likewise.
29131         (__ASSUME_POLL_SYSCALL): Likewise.
29132         (__ASSUME_LCHOWN_SYSCALL): Likewise.
29133         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29134         non-SPARC.
29135         (__ASSUME_SIOCGIFNAME): Don't define.
29136         (__ASSUME_MSG_NOSIGNAL): Likewise.
29137         (__ASSUME_SENDFILE): Define unconditionally.
29138         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29139         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29140         conditional code.
29141         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29142         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29143         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29144         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29145         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29146         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29147         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29149         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29152         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29153         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29155         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29156         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29158         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29159         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29161         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29162         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29164         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29165         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29167         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29168         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29170         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29171         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29172         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29173         Remove conditional code.
29174         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29175         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29176         Remove conditional code.
29177         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29178         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29179         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29180         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29181         Remove conditional code.
29182         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29183         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29184         Remove conditional code.
29185         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29186         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29187         Remove conditional code.
29188         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29189         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29190         Remove conditional code.
29191         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29192         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29193         Remove conditional code.
29194         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29195         * sysdeps/unix/sysv/linux/sh/pwrite64.c
29196         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29197         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29198         * sysdeps/unix/sysv/linux/sigaction.c
29199         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29200         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29201         * sysdeps/unix/sysv/linux/sigpending.c
29202         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29203         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29204         * sysdeps/unix/sysv/linux/sigprocmask.c
29205         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29206         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29207         * sysdeps/unix/sysv/linux/sigsuspend.c
29208         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29209         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29210         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29211         (__libc_missing_rt_sigs): Remove.
29212         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29213         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29214         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29215         Remove conditional code.
29216         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29217         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29218         return 1.
29219         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29220         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29221         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29222         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29224 2012-05-14  Andreas Jaeger  <aj@suse.de>
29226         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29227         it's not used in glibc.
29228         (__coshm1): Likewise.
29229         (__acosh1p): Likewise.
29230         (__sgn): Likewise.
29232         * manual/string.texi (Copying and Concatenation): Add missing
29233         variable in concat example.
29234         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29236 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29238         [BZ #14103]
29239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29240         __builtin_clzl with __builtin_clzll.
29242 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29244         [BZ #14104]
29245         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29246         libc_freeres_ptr.
29248 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29250         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29251         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29252         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29253         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29255 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
29257         * NEWS: Update ia64 info.
29259 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
29261         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29262         used as bcopy.
29264 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
29266         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29267         * sysdeps/unix/syscalls.list (dup3): Likewise.
29268         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29269         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29271 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29273         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29274         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29276 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29278         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29279         thread pointer.
29280         (TLS_IE): Use mov/add instead of movq/addq to load thread
29281         pointer.
29282         (TLS_GD_PREFIX): New.
29283         (TLS_GD): Use it.
29285 2012-05-11  David S. Miller  <davem@davemloft.net>
29287         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29288         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29289         (_FPU_SETCW): Likewise.
29291 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29293         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29294         is 32-byte aligned.
29296 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
29298         [BZ #11837]
29299         * iconvdata/gb18030.c: Update tables.
29300         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
29301         characters specially.
29302         (BODY for TO_LOOP): Add encoding of missing ranges.
29304 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
29306         [BZ #13673]
29307         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29308         * sysdeps/mach/hurd/dup3.c: Likewise.
29309         * sysdeps/mach/hurd/readlinkat.c: Likewise.
29310         * sysdeps/powerpc/memmove.c:: Likewise.
29312 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29314         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29315         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29317 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29319         * elf/elf.h (R_X86_64_RELATIVE64): New.
29320         (R_X86_64_NUM): Updated.
29321         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29322         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
29323         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29324         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29325         tst-quad1pie tst-quad2pie
29326         (modules-names): Add tst-quadmod1 tst-quadmod2.
29327         ($(objpfx)tst-quad1): New dependency.
29328         ($(objpfx)tst-quad2): Likewise.
29329         ($(objpfx)tst-quad1pie): Likewise.
29330         ($(objpfx)tst-quad2pie): Likewise.
29331         * sysdeps/x86_64/tst-quad1.c: New file.
29332         * sysdeps/x86_64/tst-quad1pie.c: New file.
29333         * sysdeps/x86_64/tst-quad2.c: Likewise.
29334         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29335         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29336         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29337         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29338         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29342         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29343         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29344         * streams/stropts.h (t_scalar_t): Define type.
29346         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29347         (_PATH_PRESERVE): Set to "/var/lib".
29348         (_PATH_RWHODIR): Set to "/var/spool/rwho".
29350         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29351         instead of int.
29353         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29354         if __dir_mkfile succeeded.
29356         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29357         checking for _hurd_dtablesize.  Unlock it right after having
29358         finished _hurd_dtable allocation.
29360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29362         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29363         * sysdeps/mach/hurd/configure: Regenerated.
29364         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29365         special-casing to...
29366         * sysdeps/gnu/configure.in: ... this new file.
29367         * sysdeps/unix/sysv/linux/configure: Regenerated.
29368         * sysdeps/gnu/configure: New generated file.
29370         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29371         for Linux: use nsec instead of usec, as well as:
29372         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29373         members of type struct timespec.
29374         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29375         New macros.
29376         (struct stat64): Likewise.
29377         (_STATBUF_ST_NSEC): New macro.
29378         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29380         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29381         __strtoul_internal rather than strtoul.
29383 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29385         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29386         and reject them.
29388 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29390         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29391         which preserves existing values.
29392         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29394 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29396         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29397         TIMEOUT values.  Return EINVAL for NFDS values either negative or
29398         greater than FD_SETSIZE.
29400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29402         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29403         allocated, call __vm_protect to finish enabling the existing space, and
29404         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29405         allocate the remainder.
29407 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29409         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29410         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
29412 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29414         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29415         sysdeps/mach/hurd/readlink.c.
29417         * posix/tst-sysconf.c (posix_options): Only use
29418         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29419         _POSIX_SYNCHRONIZED_IO when they are defined
29420         * sysdeps/mach/hurd/bits/posix_opt.h:
29421         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29422         (_XOPEN_REALTIME): Undefine macro.
29423         (_XOPEN_REALTIME_THREADS): Undefine macro.
29424         (_XOPEN_SHM): Undefine macro.
29425         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29426         macro to -1.
29427         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29428         macro to -1.
29429         (_POSIX_ASYNC_IO): Undefine macro.
29430         (_POSIX_PRIORITIZED_IO): Undefine macro.
29431         (_POSIX_SPIN_LOCKS): Define macro to -1.
29433         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29434         SA_NODEFER, SA_RESETHAND.
29435         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29436         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29437         F_DUPFD_CLOEXEC.
29439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29441         * elf/Makefile (pldd-modules): Define unconditionally.
29443 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29445         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29449         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29450         Return ENOENT when name is empty.
29451         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29455         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29457         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29461         Fix mlock in all cases except non-readable pages.
29462         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29463         instead of VM_PROT_ALL as parameter to __vm_wire function.
29465         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29466         (__mkdir): When path is `/', just fail with EEXIST.
29467         * sysdeps/mach/hurd/mkdirat.c: Likewise.
29469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29471         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29472         <sys/uio.h> (for writev).
29473         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29474         and <sys/param.h> (for MIN).
29476 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29478         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29479         REQUESTED_TIME.  Properly set the remaining time and return EINTR
29480         if interrupted.
29482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29484         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29485         Depend on against $(link-rpcuserlibs).
29487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29489         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29490         (__libc_stack_end): Do not use attribute_relro.
29491         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29492         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29493         to libthread-provided value.
29494         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29495         attribute_relro.
29497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29499         [BZ #3748]
29500         * bits/libc-lock.h (__libc_once_get): New macro.
29501         * sysdeps/mach/bits/libc-lock.h: Likewise.
29502         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29503         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29504         instead of using implementation details.
29506         * libio/fileops.c: Unconditionally include <kernel-features.h>.
29507         * libio/freopen.c: Likewise.
29508         * libio/freopen64.c: Likewise.
29509         * misc/syslog.c: Likewise.
29510         * nscd/connections.c: Likewise.
29511         * nscd/netgroupcache.c: Likewise.
29512         * sysdeps/posix/getcwd.c: Likewise.
29514 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29516         * math/w_ilogbf.c: Add #include <limits.h>.
29518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29520         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29521         path instead of returning without unlocking.
29523         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29524         immediate-write ioctls.
29525         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29529         * sysdeps/mach/hurd/i386/init-first.c (init): Use
29530         __builtin_frame_address instead of making assumptions about the
29531         location of the return address relative to DATA.  Force early load of
29532         the return address.
29533         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29534         __builtin_frame_address.
29536         dup3 for GNU Hurd.
29537         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29538         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
29539         implement dup3 and do some further code clean-ups.
29540         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29541         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29545         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29547         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29548         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29549         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29550         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29551         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29552         d->port.lock.
29554         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29555         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29556         when handler == SIG_ERR, not when handler != SIG_ERR.
29558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29560         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29561         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29562         definitions.
29564         accept4 for GNU Hurd.
29565         * include/sys/socket.h (__libc_accept4): New prototype.
29566         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29567         to implement __libc_accept4.
29568         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29569         __libc_accept4.
29570         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29572         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29573         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29574         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29575         signal-defines.sym.
29577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29579         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29581 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29583         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29584         assertion on O_CLOEXEC flag.
29585         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29586         * hurd/intern-fd.c: Likewise.
29587         * hurd/port2fd.c: Likewise.
29589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29591         [BZ #3906]
29592         * bits/in.h (IPV6_PKTINFO): Define new macro.
29593         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29595 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29597         [BZ #13954]
29598         [BZ #13955]
29599         [BZ #13956]
29600         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29601         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29602         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29603         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29604         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29605         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29606         * math/libm-test.inc (logb_test) : Additional logb tests.
29608 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29609             Andreas Jaeger  <aj@suse.de>
29611         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29612         * configure: Regenerated.
29613         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29614         * config.make.in (link-obsolete-rpc): New substituted variable.
29615         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29616         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29617         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29618         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29619         so that libc.a contains the symbols.
29620         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29621         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29622         * sunrpc/auth_none.c: Likewise.
29623         * sunrpc/auth_unix.c: Likewise.
29624         * sunrpc/authdes_prot.c: Likewise.
29625         * sunrpc/authuxprot.c: Likewise.
29626         * sunrpc/clnt_gen.c: Likewise.
29627         * sunrpc/clnt_perr.c: Likewise.
29628         * sunrpc/clnt_raw.c: Likewise.
29629         * sunrpc/clnt_simp.c: Likewise.
29630         * sunrpc/clnt_tcp.c: Likewise.
29631         * sunrpc/clnt_udp.c: Likewise.
29632         * sunrpc/clnt_unix.c: Likewise.
29633         * sunrpc/des_crypt.c: Likewise.
29634         * sunrpc/des_soft.c: Likewise.
29635         * sunrpc/get_myaddr.c: Likewise.
29636         * sunrpc/key_call.c: Likewise.
29637         * sunrpc/key_prot.c: Likewise.
29638         * sunrpc/netname.c: Likewise.
29639         * sunrpc/pm_getmaps.c: Likewise.
29640         * sunrpc/pm_getport.c: Likewise.
29641         * sunrpc/pmap_clnt.c: Likewise.
29642         * sunrpc/pmap_prot.c: Likewise.
29643         * sunrpc/pmap_prot2.c: Likewise.
29644         * sunrpc/pmap_rmt.c: Likewise.
29645         * sunrpc/publickey.c: Likewise.
29646         * sunrpc/rpc_cmsg.c: Likewise.
29647         * sunrpc/rpc_common.c: Likewise.
29648         * sunrpc/rpc_dtable.c: Likewise.
29649         * sunrpc/rpc_prot.c: Likewise.
29650         * sunrpc/rpc_thread.c: Likewise.
29651         * sunrpc/rtime.c: Likewise.
29652         * sunrpc/svc.c: Likewise.
29653         * sunrpc/svc_auth.c: Likewise.
29654         * sunrpc/svc_raw.c: Likewise.
29655         * sunrpc/svc_run.c: Likewise.
29656         * sunrpc/svc_tcp.c: Likewise.
29657         * sunrpc/svc_udp.c: Likewise.
29658         * sunrpc/svc_unix.c: Likewise.
29659         * sunrpc/svcauth_des.c: Likewise.
29660         * sunrpc/xcrypt.c: Likewise.
29661         * sunrpc/xdr.c: Likewise.
29662         * sunrpc/xdr_array.c: Likewise.
29663         * sunrpc/xdr_float.c: Likewise.
29664         * sunrpc/xdr_intXX_t.c: Likewise.
29665         * sunrpc/xdr_mem.c: Likewise.
29666         * sunrpc/xdr_rec.c: Likewise.
29667         * sunrpc/xdr_ref.c: Likewise.
29668         * sunrpc/xdr_sizeof.c: Likewise.
29669         * sunrpc/xdr_stdio.c: Likewise.
29671 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29673         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29674         change.  Update copyright years.
29676 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29678         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29680 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29681             Joseph Myers  <joseph@codesourcery.com>
29682             Paul Pluzhnikov  <ppluzhnikov@google.com>
29684         [BZ #14012]
29685         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29686         requiring rpcgen.
29687         [cross-compiling] (extra-libs): Likewise.
29688         [cross-compiling] (extra-libs-others): Likewise.
29689         [cross-compiling] (librpcsvc-routines): Likewise.
29690         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29691         [cross-compiling] (omit-deps): Likewise.
29692         (sunrpc-CPPFLAGS): New variable.
29693         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29694         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29695         (cross-rpcgen-objs): New variable.
29696         (extra-objs): Append $(cross-rpcgen-objs).
29697         ($(cross-rpcgen-objs)): New rule.
29698         ($(objpfx)cross-rpcgen): Likewise.
29699         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29700         comment.
29701         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29702         ($(objpfx)x%.stmp): Likewise.
29703         * sunrpc/proto.h [IS_IN_build] (_): Define.
29704         [IS_IN_build] (_libc_intl_domainname): Likewise.
29706 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29708         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29709         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29710         and R_X86_64_TPOFF64.
29712 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29714         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29715         sysdeps/unix/sysv/syscalls.list.
29716         (stime): Likewise.
29717         (utime): Likewise.
29718         * sysdeps/unix/sysv/syscalls.list: Remove file.
29720 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29722         [BZ #3440]
29723         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29724         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29725         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29726         (__LC_IDENTIFICATION): Make these macros useful in #if
29727         expressions, as required by C99.
29729 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29731         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29732         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29733         after this.
29735 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29737         * stdlib/longlong.h: Updated from GCC.
29739 2012-05-09  Andreas Jaeger  <aj@suse.de>
29741         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29742         default is first entry.
29743         (run_mode): Set type.
29744         (main): Remove informal message about syslog.
29745         (options): Fix typo.
29747         [BZ #14053]
29748         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29749         to asm.
29750         (lrint): Likewise.
29751         (llrintf): Likewise.
29752         (llrint): Likewise.
29753         (rint): Likewise.
29754         (rintf): Likewise.
29755         (nearbyint): Likewise.
29756         (nearbyintf): Likewise.
29758 2012-05-09  Andreas Jaeger  <aj@suse.de>
29759             Pedro Alves  <palves@redhat.com>
29761         * nscd/nscd.c (run_mode): Use enum.
29762         (main): Cleanup coding style issue.
29764 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29765             Andreas Jaeger  <aj@suse.de>
29767         * nscd/nscd.c (go_background): Replaced with...
29768         (run_mode): ... this.
29769         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29770         (options): Add -F --foreground.
29771         (main): Implement it.
29772         (parse_opt): Parse it.
29774 2012-05-09  Andreas Jaeger  <aj@suse.de>
29776         [BZ #14083]
29777         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29778         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29779         -Wconversion warning.
29780         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29781         Likewise.
29783 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
29785         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
29786         == 0.
29787         (LC_ALL): Use macro-int-constant.
29788         (LC_COLLATE): Likewise.
29789         (LC_CTYPE): Likewise.
29790         (LC_MESSAGES): Likewise.
29791         (LC_MONETARY): Likewise.
29792         (LC_NUMERIC): Likewise.
29793         (LC_TIME): Likewise.
29794         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29795         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29796         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29797         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29798         Specify type.
29799         [C99-based standards] (float_t): Expect type.
29800         [C99-based standards] (double_t): Expect type.
29801         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
29802         type.
29803         [C99-based standards] (HUGE_VALL): Likewise.
29804         [C99-based standards] (INFINITY): Likewise.
29805         [C99-based standards] (NAN): Likewise.
29806         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29807         [C99-based standards] (FP_NAN): Likewise.
29808         [C99-based standards] (FP_NORMAL): Likewise.
29809         [C99-based standards] (FP_SUBNORMAL): Likewise.
29810         [C99-based standards] (FP_ZERO): Likewise.
29811         [C99-based standards] (FP_FAST_FMA): Use
29812         optional-macro-int-constant.  Specify type.  Require == 1.
29813         [C99-based standards] (FP_FAST_FMAF): Likewise.
29814         [C99-based standards] (FP_FAST_FMAL): Likewise.
29815         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29816         [C99-based standards] (FP_ILOGBNAN): Likewise.
29817         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29818         Specify type.
29819         [C99-based standards] (MATH_ERREXCEPT): Likewise.
29820         [C99-based standards] (math_errhandling): Specify type.
29821         [ISO99 || ISO11] (signgam): Do not allow.
29822         [non-C99-based standards] (copysignf): Do not allow.
29823         [non-C99-based standards] (exp2f): Likewise.
29824         [non-C99-based standards] (log2f): Likewise.
29825         [non-C99-based standards] (modff): Allow.
29826         [non-C99-based standards] (erff): Do not allow.
29827         [non-C99-based standards] (erfcf): Likewise.
29828         [non-C99-based standards] (gammaf): Likewise.
29829         [non-C99-based standards] (hypotf): Likewise.
29830         [non-C99-based standards] (j0f): Likewise.
29831         [non-C99-based standards] (j1f): Likewise.
29832         [non-C99-based standards] (jnf): Likewise.
29833         [non-C99-based standards] (lgammaf): Likewise.
29834         [non-C99-based standards] (tgammaf): Likewise.
29835         [non-C99-based standards] (y0f): Likewise.
29836         [non-C99-based standards] (y1f): Likewise.
29837         [non-C99-based standards] (ynf): Likewise.
29838         [non-C99-based standards] (isnanf): Likewise.
29839         [non-C99-based standards] (acoshf): Likewise.
29840         [non-C99-based standards] (asinhf): Likewise.
29841         [non-C99-based standards] (atanhf): Likewise.
29842         [non-C99-based standards] (cbrtf): Likewise.
29843         [non-C99-based standards] (expm1f): Likewise.
29844         [non-C99-based standards] (ilogbf): Likewise.
29845         [non-C99-based standards] (log1pf): Likewise.
29846         [non-C99-based standards] (logbf): Likewise.
29847         [non-C99-based standards] (nextafterf): Likewise.
29848         [non-C99-based standards] (remainderf): Likewise.
29849         [non-C99-based standards] (rintf): Likewise.
29850         [non-C99-based standards] (scalbf): Likewise.
29851         [non-C99-based standards] (copysignl): Likewise.
29852         [non-C99-based standards] (exp2l): Likewise.
29853         [non-C99-based standards] (log2l): Likewise.
29854         [non-C99-based standards] (modfl): Allow.
29855         [non-C99-based standards] (erfl): Do not allow.
29856         [non-C99-based standards] (erfcl): Likewise.
29857         [non-C99-based standards] (gammal): Likewise.
29858         [non-C99-based standards] (hypotl): Likewise.
29859         [non-C99-based standards] (j0l): Likewise.
29860         [non-C99-based standards] (j1l): Likewise.
29861         [non-C99-based standards] (jnl): Likewise.
29862         [non-C99-based standards] (lgammal): Likewise.
29863         [non-C99-based standards] (tgammal): Likewise.
29864         [non-C99-based standards] (y0l): Likewise.
29865         [non-C99-based standards] (y1l): Likewise.
29866         [non-C99-based standards] (ynl): Likewise.
29867         [non-C99-based standards] (isnanl): Likewise.
29868         [non-C99-based standards] (acoshl): Likewise.
29869         [non-C99-based standards] (asinhl): Likewise.
29870         [non-C99-based standards] (atanhl): Likewise.
29871         [non-C99-based standards] (cbrtl): Likewise.
29872         [non-C99-based standards] (expm1l): Likewise.
29873         [non-C99-based standards] (ilogbl): Likewise.
29874         [non-C99-based standards] (log1pl): Likewise.
29875         [non-C99-based standards] (logbl): Likewise.
29876         [non-C99-based standards] (nextafterl): Likewise.
29877         [non-C99-based standards] (remainderl): Likewise.
29878         [non-C99-based standards] (rintl): Likewise.
29879         [non-C99-based standards] (scalbl): Likewise.
29880         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29881         [non-C99-based standards] (FP_*): Do not allow.
29882         [C99-based standards] (FP_*): Change to
29883         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29884         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29885         allow.
29886         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29887         (SIG_ERR): Likewise.
29888         [X/Open-based standards] (SIG_HOLD): Likewise.
29889         (SIG_IGN): Likewise.
29890         (SIGABRT): Use macro-int-constant.  Specify type.  Require
29891         positive value.
29892         (SIGFPE): Likewise.
29893         (SIGILL): Likewise.
29894         (SIGINT): Likewise.
29895         (SIGSEGV): Likewise.
29896         (SIGTER): Likewise.
29897         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29898         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29899         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29900         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29901         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29902         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29903         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29904         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29905         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29906         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29907         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29908         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29909         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29910         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29911         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29912         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29913         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29914         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29915         [X/Open-based standards] (SIGTRAP): Likewise.
29916         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29917         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29918         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29919         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29920         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29921         allow.
29923 2012-05-08  Ian Wienand  <ianw@vmware.com>
29925         [BZ #14080]
29926         * time/tzset.c (__tzset_parse_tz): Update default rules for
29927         daylight time changes in the Energy Policy Act of 2005.
29929 2012-05-09  Andreas Jaeger  <aj@suse.de>
29931         [BZ #13983]
29932         * elf/ldconfig.c (parse_conf): Change string to make clear that
29933         ldconfig only issued a warning if ld.so.conf does not exist.
29935 2012-05-08  David S. Miller  <davem@davemloft.net>
29937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29938         movxtod instead of popping the value on the stack.
29940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29942 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
29944         * config.h.in: Add HAVE_ARM_PCS_VFP.
29946 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
29948         [BZ #13979]
29949         * include/features.h: Warn if user requests __FORTIFY_SOURCE
29950         checking but the checks are disabled for any reason.
29952 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
29954         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29955         and ELF64_R_TYPE with ELFW(R_TYPE).
29957 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
29959         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29960         (ulimit): Likewise.
29962         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29963         (settimeofday): Likewise.
29965 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
29967         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
29968         a struct th_u2 inside the union, and move tu_block/tu_code into
29969         a new th_u3 union of tu_block/tu_code inside of that.  Move
29970         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
29971         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
29972         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29973         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29974         (th_stuff): Change to th_u1.tu_stuff.
29975         (th_data): Define.
29976         (th_msg): Change to th_u1.th_u2.tu_data.
29978 2012-05-07  David S. Miller  <davem@davemloft.net>
29980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29982         [BZ #14074]
29983         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29984         (SETUP_PIC_REG): Use it.
29985         (SETUP_PIC_REG_LEAF): Use it.
29987 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
29989         [BZ #13885]
29990         [BZ #13923]
29991         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29992         USE_AS_EXPM1L.
29993         (EXPL_FINITE): Likewise.
29994         (FLDLOG): Likewise.
29995         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29996         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29997         e_expl.S.
29998         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29999         USE_AS_EXPM1L.
30000         (EXPL_FINITE): Likewise.
30001         (FLDLOG): Likewise.
30002         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30003         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30004         e_expl.S.
30005         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
30006         test of -max_value argument for long double.
30007         * sysdeps/i386/fpu/libm-test-ulps: Update.
30008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30010 2012-05-06  David S. Miller  <davem@davemloft.net>
30012         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30013         quad soft-float symbols whose references which are compiler
30014         generated.
30015         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30017 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30019         [BZ #13884]
30020         [BZ #13914]
30021         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30022         USE_AS_EXP10L.
30023         (EXPL_FINITE): Likewise.
30024         (FLDLOG): Likewise.
30025         (c0): Likewise.
30026         (c1): Likewise.
30027         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30028         Adjust comments for base varying.
30029         (__expl_finite): Change alias to EXPL_FINITE.
30030         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30031         e_expl.S.
30032         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30033         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30034         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30035         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30036         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30037         USE_AS_EXP10L.
30038         (EXPL_FINITE): Likewise.
30039         (FLDLOG): Likewise.
30040         (c0): Likewise.
30041         (c1): Likewise.
30042         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30043         Adjust comments for base varying.
30044         (__expl_finite): Change alias to EXPL_FINITE.
30045         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30046         tests for bugs.
30047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30049         [BZ #14064]
30050         * math/libm-test.inc (check_float_internal): Correct ulp
30051         calculation for subnormal expected results.
30053 2012-05-06  Andreas Jaeger  <aj@suse.de>
30055         * Makeconfig (+math-flags): New, set to -frounding-math.
30056         (+cflags): Add +math-flags so that all of glibc gets compiled with
30057         it.
30059         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30061 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30063         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30064         Disable one test.
30066         [BZ #13787]
30067         [BZ #13922]
30068         [BZ #14036]
30069         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30070         (__ieee754_expl): Allow for and saturate large arguments.
30071         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30072         (u_threshold): Likewise.
30073         (__exp): Call __ieee754_exp before checking for overflow and
30074         underflow.
30075         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30076         (u_threshold): Likewise.
30077         (__expf): Call __ieee754_expf before checking for overflow and
30078         underflow.
30079         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30080         (u_threshold): Likewise.
30081         (__expl): Call __ieee754_expl before checking for overflow and
30082         underflow.
30083         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30084         (__ieee754_expl): Allow for and saturate large arguments.
30085         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30086         missing overflow exception on overflow.
30087         (expm1_test): Do not allow missing overflow exception on overflow.
30089         * sysdeps/i386/fpu/e_expl.c: Move to ...
30090         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30091         rather than using inline asm.
30092         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30093         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30094         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30096         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30097         (nice): Likewise.
30098         (poll): Likewise.
30099         (signal): Likewise.
30100         (time): Likewise.
30101         (times): Likewise.
30103 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30105         * sysdeps/unix/syscalls.list (adjtime): Add entry from
30106         sysdeps/unix/common/syscalls.list.
30107         (fchmod): Likewise.
30108         (fchown): Likewise.
30109         (ftruncate): Likewise.
30110         (getrusage): Likewise.
30111         (gettimeofday): Likewise.
30112         (setpgid): Likewise.
30113         (setregid): Likewise.
30114         (setreuid): Likewise.
30115         (sigaction): Likewise.
30116         (truncate): Likewise.
30117         (vhangup): Likewise.
30118         * sysdeps/unix/common/syscalls.list: Remove file.
30119         * sysdeps/unix/bsd/Implies: Don't include unix/common.
30120         * sysdeps/unix/sysv/linux/Implies: Likewise.
30122 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
30124         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30126         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30127         Moved to ...
30128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30129         Here.
30130         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30131         to ...
30132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30133         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30134         to ...
30135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30136         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30137         to ...
30138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30139         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30140         to ...
30141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30142         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30143         to ...
30144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30145         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30146         to ...
30147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30148         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30149         to ...
30150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30151         Here.
30152         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30153         to ...
30154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30155         Here.
30156         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30157         to ...
30158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30159         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30160         Moved to ...
30161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30162         Here.
30163         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30164         to ...
30165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30167 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30169         * sysdeps/unix/common/bits/dirent.h: Remove file.
30170         * sysdeps/unix/common/bits/fcntl.h: Likewise.
30172         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30173         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30174         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30175         * sysdeps/unix/bsd/isatty.c: Likewise.
30176         * sysdeps/unix/bsd/tcdrain.c: Likewise.
30177         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30178         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30180 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30182         [BZ #13563]
30183         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30184         long double comparison inaccuracies.
30185         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30188 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
30190         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30191         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30193 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30195         [BZ #14049]
30196         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30197         nonzero digits before rounding a hex value.
30198         * stdlib/tst-strtod.c (tests): Add another test.
30200 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30202         * sysdeps/s390/fpu/libm-test-ulps: Update.
30204 2012-05-03  Andreas Jaeger  <aj@suse.de>
30206         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30207         does not get optimized out.
30208         (malloc_opt_barrier): New.
30210 2012-05-03  Andreas Jaeger  <aj@suse.de>
30211             Roland McGrath  <roland@hack.frob.com>
30213         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30214         intermediate file deletion.
30215         (generated): Add .symlist files.
30217 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
30219         [BZ #13775]
30220         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30221         Redirect under this condition.
30222         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30223         [__USE_GNU] (__dprintf_chk): Not under this condition.
30224         [__USE_GNU] (__vdprintf_chk): Likewise.
30225         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30226         under this condition.
30227         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30228         [__USE_XOPEN2K8] (dprintf): Define under this condition.
30229         [__USE_XOPEN2K8] (vdprintf): Likewise.
30230         [__USE_GNU] (__dprintf_chk): Not under this condition.
30231         [__USE_GNU] (__vdprintf_chk): Likewise.
30232         [__USE_GNU] (dprintf): Likewise.
30233         [__USE_GNU] (vdprintf): Likewise.
30235 2012-05-03  Roland McGrath  <roland@hack.frob.com>
30237         * elf/Makefile (common-generated): Set this instead of generated for
30238         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
30239         $(all-built-dso)-derived lists.
30241 2012-05-03  Andreas Jaeger  <aj@suse.de>
30243         * sysdeps/i386/fpu/libm-test-ulps: Update.
30245         * FAQ: Removed.
30246         * FAQ.in: Likewise.
30247         * scripts/gen-FAQ.pl: Likewise.
30248         * manual/install.texi (Installation): Point to online location of
30249         FAQ.
30250         * Makefile (files-for-dist): Remove FAQ.
30251         (FAQ): Remove.
30253 2012-05-02  Allan McRae  <allan@archlinux.org>
30255         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30256         (LDFLAGS-reldepmod5.so): Likewise.
30257         (LDFLAGS-reldep6mod1.so): Likewise.
30258         (LDFLAGS-reldep6mod4.so): Likewise.
30259         (LDFLAGS-reldep8mod3.so): Likewise.
30260         (LDFLAGS-unload4mod1.so): Likewise.
30261         (LDFLAGS-unload4mod2.so): Likewise.
30262         (LDFLAGS-tst-initorder): Likewise.
30263         (LDFLAGS-tst-initordera2.so): Likewise.
30264         (LDFLAGS-tst-initordera3.so): Likewise.
30265         (LDFLAGS-tst-initordera4.so): Likewise.
30266         (LDFLAGS-tst-initorderb2.so): Likewise.
30267         (LDFLAGS-noload): Likewise.
30268         (LDFLAGS-next): Likewise.
30269         (LDFLAGS-order2mod1.so): Likewise.
30270         (LDFLAGS-order2mod2.so): Likewise.
30271         (LDFLAGS-tst-initorder2): Likewise.
30272         (LDFLAGS-tst-initorder2a.so): Likewise.
30273         (LDFLAGS-tst-initorder2b.so): Likewise.
30274         (LDFLAGS-tst-initorder2c.so): Likewise.
30275         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30277 2012-05-02  David S. Miller  <davem@davemloft.net>
30279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30281 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30283         [BZ #14055]
30284         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30286 2012-05-02  Andreas Jaeger  <aj@suse.de>
30288         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30289         since we manipulate rounding mode.
30290         (CPPFLAGS-test-idouble.c): Likewise.
30291         (CPPFLAGS-test-ifloat.c): Likewise.
30292         (CFLAGS-test-ldouble.c): Likewise.
30293         (CFLAGS-test-double.c): Likewise.
30294         (CFLAGS-test-float.c): Likewise.
30295         (CFLAGS-test-misc.c): Likewise.
30296         (CFLAGS-test-test-fenv.c): Likewise.
30298 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30300         [BZ #2550]
30301         [BZ #2570]
30302         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30303         comparisons to determine direction to adjust input.
30305 2012-05-01  Roland McGrath  <roland@hack.frob.com>
30307         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30308         output to the target.
30310         * scripts/localplt.awk: New file.
30311         * elf/Makefile ($(objpfx)check-localplt): Target removed.
30312         (check-localplt-CFLAGS): Variable removed.
30313         ($(all-built-dso:=.jmprel)): New static pattern rule.
30314         (generated): Add those targets.
30315         (localplt-built-dso): New variable.
30316         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30318         * elf/check-localplt.c: File removed.
30320         * scripts/check-execstack.awk: New file.
30321         * elf/Makefile ($(objpfx)check-execstack): Target removed.
30322         (check-execstack-CFLAGS): Variable removed.
30323         ($(objpfx)check-execstack.h): Target removed.
30324         ($(objpfx)execstack-default): New target.
30325         (generated): Add that instead of check-execstack.h.
30326         ($(all-built-dso:=.phdr)): New static pattern rule.
30327         (generated): Add those targets.
30328         * elf/check-execstack.c: File removed.
30330         * scripts/check-textrel.awk: New file.
30331         * elf/Makefile ($(objpfx)check-textrel): Target removed.
30332         (check-textrel-CFLAGS): Variable removed.
30333         (all-built-dso): Use := to define.o
30334         ($(all-built-dso:=.dyn)): New static pattern rule.
30335         (generated): Add those targets.
30336         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30337         * config.make.in (READELF): New substituted variable.
30338         * elf/check-textrel.c: File removed.
30340 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30342         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30343         allow.
30344         * conform/data/ctype.h-data [C99-based standards] (isblank):
30345         Expect function.
30346         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30347         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30348         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30349         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30350         Specify type.  Require positive value.
30351         (EILSEQ): Likewise.
30352         (ERANGE): Likewise.
30353         [ISO || POSIX] (EILSEQ): Do not expect.
30354         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30355         Specify type.  Require positive value.
30356         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30357         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30358         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30359         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30360         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30361         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30362         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30363         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30364         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30365         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30366         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30367         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30368         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30369         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30370         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30371         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30372         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30373         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30374         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30375         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30376         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30377         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30378         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30379         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30380         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30381         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30382         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30383         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30384         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30385         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30386         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30387         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30388         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30389         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30390         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30391         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30392         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30393         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30394         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30395         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30396         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30397         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30398         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30399         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30400         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30401         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30402         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30403         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30404         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30405         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30406         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30407         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30408         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30409         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30410         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30411         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30412         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30413         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30414         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30415         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30416         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30417         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30418         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30419         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30420         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30421         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30422         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30423         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30424         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30425         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30426         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30427         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30428         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30429         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30430         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30431         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30432         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30433         Require >= 2.
30434         (FLT_ROUNDS): Expect as macro, not constant.
30435         (FLT_MANT_DIG): Use macro-int-constant.
30436         (DBL_MANT_DIG): Likewise.
30437         (LDBL_MANT_DIG): Likewise.
30438         (FLT_DIG): Likewise.
30439         (DBL_DIG): Likewise.
30440         (LDBL_DIG): Likewise.
30441         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
30442         (DBL_MIN_EXP): Likewise.
30443         (LDBL_MIN_EXP): Likewise.
30444         (FLT_MAX_EXP): Use macro-int-constant.
30445         (DBL_MAX_EXP): Likewise.
30446         (LDBL_MAX_EXP): Likewise.
30447         (FLT_MAX_10_EXP): Likewise.
30448         (DBL_MAX_10_EXP): Likewise.
30449         (LDBL_MAX_10_EXP): Likewise.
30450         (FLT_MAX): Use macro-constant.
30451         (DBL_MAX): Likewise.
30452         (LDBL_MAX): Likewise.
30453         (FLT_EPSILON): Use macro-constant.  Give upper bound.
30454         (DBL_EPSILON): Likewise.
30455         (LDBL_EPSILON): Likewise.
30456         (FLT_MIN): Likewise.
30457         (DBL_MIN): Likewise.
30458         (LDBL_MIN): Likewise.
30459         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30460         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30461         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30462         [ISO11] (FLT_HAS_SUBNORM): Likewise.
30463         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30464         [ISO11] (DBL_DECIMAL_DIG): Likewise.
30465         [ISO11] (FLT_DECIMAL_DIG): Likewise.
30466         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30467         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30468         [ISO11] (FLT_TRUE_MIN): Likewise.
30469         [ISO11] (LDBL_TRUE_MIN): Likewise.
30470         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30471         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30472         (SCHAR_MIN): Use macro-int-constant.  Specify type.
30473         (SCHAR_MAX): Likewise.
30474         (UCHAR_MAX): Likewise.
30475         (CHAR_MIN): Likewise.
30476         (CHAR_MAX): Likewise.
30477         (MB_LEN_MAX): Use macro-int-constant.
30478         (SHRT_MIN): Use macro-int-constant.  Specify type.
30479         (SHRT_MAX): Likewise.
30480         (USHRT_MAX): Likewise.
30481         (INT_MAX): Likewise.
30482         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
30483         bound negative.
30484         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30485         bound with "U".
30486         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30487         bound with "L".
30488         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
30489         bound negative.  Suffix upper bound with "L".
30490         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30491         bound with "UL".
30492         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30493         Specify type.
30494         [C99-based standards] (LLONG_MAX): Likewise.
30495         [C99-based standards] (ULLONG_MAX): Likewise.
30496         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
30497         == 0.
30498         [ISO11] (max_align_t): Require type.
30499         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30501         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30502         from $CFLAGS, without defining away __attribute__ calls.
30503         (checknamespace): Use $CFLAGS_namespace.
30505         * conform/conformtest.pl (@keywords): Only include C99 keywords
30506         for standards based on C99 or C11.
30508         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30509         Disable tests.
30510         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30511         UNIX98]: Likewise.
30513         * conform/conformtest.pl: Handle "macro-int-constant" and test for
30514         usability of symbols in #if.
30516         * conform/conformtest.pl: If macro or constant types start
30517         "promoted:", expect the symbol to be of the following type
30518         promoted by the integer promotions.
30520         * conform/conformtest.pl: Parse all "constant" and "macro" lines
30521         in one place.  Also handle "macro-constant".
30523         * conform/conformtest.pl: Only accept expected macro values with
30524         "==".  Parse all "macro" lines in one place.
30525         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30527         * conform/conformtest.pl: Handle braced types on "constant" lines
30528         instead of handling "typed-constant".
30529         * conform/data/signal.h-data: Use "constant" instead of
30530         "typed-constant".
30532         * conform/conformtest.pl: Handle "optional-" at start of lines in
30533         one place rather than duplicating several cases.  Handle each
30534         format of "macro" line with initial "optional-".
30536         * conform/conformtest.pl: Only accept expected constant or
30537         optional-constant values with "==".  Parse all "constant" lines in
30538         one place.  Parse all "optional-constant" lines in one place.
30539         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30540         * conform/data/fmtmsg.h-data: Likewise.
30541         * conform/data/netinet/in.h-data: Likewise.
30542         * conform/data/tar.h-data: Likewise.
30543         * conform/data/limits.h-data: Use "==" form on "constant" and
30544         "optional-constant" lines.
30546         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30547         Use -std=c99 for XOPEN2K.
30548         (@knownproblems): Remove.
30549         (newtoken): Don't check %isknown.
30551         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30552         Do not expect macro.
30553         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30554         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30555         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30556         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30557         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30558         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30559         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30560         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30561         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30562         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30563         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30564         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30565         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30566         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30567         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30568         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30569         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30570         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30571         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30572         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30573         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30574         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30575         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30576         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30577         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30578         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30579         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30580         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30581         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30582         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30583         [XPG3] (acosh): Likewise.
30584         [XPG3] (asinh): Likewise.
30585         [XPG3] (atanh): Likewise.
30586         [XPG3] (cbrt): Likewise.
30587         [XPG3] (expm1): Likewise.
30588         [XPG3] (ilogb): Likewise.
30589         [XPG3] (log1p): Likewise.
30590         [XPG3] (logb): Likewise.
30591         [XPG3] (nextafter): Likewise.
30592         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30593         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30594         [XPG3] (remainder): Likewise.
30595         [XPG3] (rint): Likewise.
30596         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30597         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30598         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30599         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30600         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30601         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30602         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30603         [UNIX98 || XOPEN2K] (scalb): Expect.
30604         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30605         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30606         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30607         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30608         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30609         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30610         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30611         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30612         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30613         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30614         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30615         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30616         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30617         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30618         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30619         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30620         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30621         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30622         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30623         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30624         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30625         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30626         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30627         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30628         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30629         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30630         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30631         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30632         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30633         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30634         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30635         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30636         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30637         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30638         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30639         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30640         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30641         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30642         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30643         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30644         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30645         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30646         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30647         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30648         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30649         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30650         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30651         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30652         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30653         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30654         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30655         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30656         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30657         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30658         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30659         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30660         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30661         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30662         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30663         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30664         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30665         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30666         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30667         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30668         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30669         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30670         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30671         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30672         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30673         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30674         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30675         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30676         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30677         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30678         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30679         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30680         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30681         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30682         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30683         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30684         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30685         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30686         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30687         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30688         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30689         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30690         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30691         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30692         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30693         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30694         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30695         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30696         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30697         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30698         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30699         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30700         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30701         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30702         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30703         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30704         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30705         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30706         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30707         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30708         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30709         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30710         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30711         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30712         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30713         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30714         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30715         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30716         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30717         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30718         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30719         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30720         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30721         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30722         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30723         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30724         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30725         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30726         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30727         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30728         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30729         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30730         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30731         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30732         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30733         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30734         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30735         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30736         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30737         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30738         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30739         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30740         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30742         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30743         _XOPEN_SOURCE_EXTENDED for XPG4.
30745         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30747         * Makeconfig (localtime): Remove variable.
30748         (inst_localtime-file): Likewise.
30750 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30753         Update.
30754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30755         Update.
30756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30757         Update.
30758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30759         Update.
30760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30761         Update.
30762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30763         Update.
30764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30765         Update.
30766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30767         Update.
30768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30769         Update.
30771 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30773         [BZ #2550]
30774         [BZ #2570]
30775         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30776         comparisons to determine direction to adjust input.
30777         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30778         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30779         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30780         Likewise.
30781         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30782         Likewise.
30783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30784         Likewise.
30785         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30786         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30787         Likewise.
30788         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30789         Likewise.
30790         * math/libm-test.inc (nexttoward_test): Add more tests.
30792 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30794         [BZ #14040]
30795         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30796         in version GLIBC_2.1, not GLIBC_2.0.
30797         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30798         Likewise.
30800 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
30802         [BZ #13942]
30803         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30804         (1 - x) * (1 + x).
30805         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30806         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30807         * math/libm-test.inc (acos_test): Add more tests.
30808         (asin_test): Likewise.
30809         * sysdeps/i386/fpu/libm-test-ulps: Update.
30810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30812         [BZ #14034]
30813         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30814         of square root.
30815         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30816         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30817         * math/libm-test.inc (acos_test_tonearest): New function.
30818         (acos_test_towardzero): Likewise.
30819         (acos_test_downward): Likewise.
30820         (acos_test_upward): Likewise.
30821         (asin_test_tonearest): Likewise.
30822         (asin_test_towardzero): Likewise.
30823         (asin_test_downward): Likewise.
30824         (asin_test_upward): Likewise.
30825         (main): Call the new functions.
30826         * sysdeps/i386/fpu/libm-test-ulps: Update.
30827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30829         [BZ #13884]
30830         [BZ #13924]
30831         * math/e_exp10.c: Include <float.h>.
30832         (__ieee754_exp10): Handle underflow here rather than multiplying
30833         large negative argument by M_LN10.
30834         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30835         of __ieee754_expf.
30836         * math/e_exp10l.c: Include <float.h>.
30837         (__ieee754_exp10l): Handle underflow here rather than multiplying
30838         large negative argument by M_LN10l.
30839         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
30840         spurious overflow exception on underflow.
30842 2012-04-29  Marek Polacek  <polacek@redhat.com>
30844         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30845         (__fortify_function): New macro.
30846         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30847         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30848         __extern_always_inline.
30849         * libio/bits/stdio2.h: Likewise.
30850         * libio/bits/stdio.h: Likewise.
30851         * string/string.h: Likewise.
30852         * string/bits/string3.h: Likewise.
30853         * include/stdio.h: Likewise.
30854         * stdlib/bits/stdlib.h: Likewise.
30855         * stdlib/stdlib.h: Likewise.
30856         * rt/bits/mqueue2.h: Likewise.
30857         * rt/mqueue.h: Likewise.
30858         * posix/bits/unistd.h: Likewise.
30859         * posix/unistd.h: Likewise.
30860         * io/bits/poll2.h: Likewise.
30861         * io/bits/fcntl2.h: Likewise.
30862         * io/fcntl.h: Likewise.
30863         * io/sys/poll.h: Likewise.
30864         * misc/bits/syslog.h: Likewise.
30865         * misc/bits/syslog-ldbl.h: Likewise.
30866         * misc/sys/syslog.h: Likewise.
30867         * socket/bits/socket2.h: Likewise.
30868         * socket/sys/socket.h: Likewise.
30869         * debug/tst-chk1.c: Likewise.
30870         * wcsmbs/bits/wchar2.h: Likewise.
30871         * wcsmbs/bits/wchar-ldbl.h: Likewise.
30872         * wcsmbs/wchar.h: Likewise.
30874 2012-04-29  Andreas Jaeger  <aj@suse.de>
30876         * Makerules (tests): Remove enable-check-abi protection.
30877         (check-abi-warn): Remove.
30878         (check-abi-%): Remove check-abi-warn usage.
30880         * configure.in: Remove check-abi configure option.
30881         * configure: Regenerated.
30882         * config.make.in (enable-check-abi): Remove.
30884 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
30886         [BZ #14033]
30887         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30888         double functions to double *_finite functions.
30890         [BZ #13941]
30891         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30892         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30893         LDBL_MIN_EXP.
30894         * stdio-common/Makefile (tests): Add tst-sprintf3.
30895         * stdio-common/tst-sprintf3.c: New file.
30897         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30898         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30900 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30902         * conform/conformtest.pl: Remove duplicate typed-constant
30903         handling.
30905 2012-04-28  David S. Miller  <davem@davemloft.net>
30907         * Makerules (%.abilist): Add vpath on sysdep_dirs.
30908         (check-abi-%): Remove AWK script prerequisite and explicit
30909         abilist directory.
30910         (check-abi): Rewrite to just diff the symlist with the abilist.
30911         (config-tls, config-abi-config): Delete, no longer used.
30912         (update-abi-%): Remove AWK script and explicit abilist directory.
30913         (update-abi): Rewrite to simply compare and conditionally copy the
30914         symlist and the sysdep abilist file.  Remove update-abi-config
30915         checks.
30916         * abilist/ld.abilist: Remove.
30917         * abilist/libBrokenLocale.abilist: Remove.
30918         * abilist/libanl.abilist: Remove.
30919         * abilist/libcrypt.abilist: Remove.
30920         * abilist/libdl.abilist: Remove.
30921         * abilist/librt.abilist: Remove.
30922         * abilist/libthread_db.abilist: Remove.
30923         * abilist/libutil.abilist: Remove.
30924         * scripts/extract-abilist.awk: Remove.
30925         * scripts/merge-abilist.awk: Remove.
30926         * sysdeps/generic/libcidn.abilist: New file.
30927         * sysdeps/generic/libnss_compat.abilist: New file.
30928         * sysdeps/generic/libnss_db.abilist: New file.
30929         * sysdeps/generic/libnss_dns.abilist: New file.
30930         * sysdeps/generic/libnss_files.abilist: New file.
30931         * sysdeps/generic/libnss_hesiod.abilist: New file.
30932         * sysdeps/generic/libnss_nis.abilist: New file.
30933         * sysdeps/generic/libnss_nisplus.abilist: New file.
30934         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30935         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30936         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30937         file.
30938         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30939         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30940         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30941         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30942         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30943         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30944         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30945         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30946         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30947         file.
30948         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30949         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30950         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30951         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30952         file.
30953         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30954         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30955         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30956         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30957         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30958         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30959         file.
30960         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30961         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30962         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30963         file.
30964         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30965         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30966         New file.
30967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30968         New file.
30969         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30970         New file.
30971         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30972         New file.
30973         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30974         New file.
30975         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30976         New file.
30977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30978         New file.
30979         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30980         New file.
30981         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30982         New file.
30983         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30984         New file.
30985         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30986         New file.
30987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30988         New file.
30989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30990         New file.
30991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30992         file.
30993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30994         New file.
30995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30996         New file.
30997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30998         file.
30999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31000         New file.
31001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31002         New file.
31003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31004         file.
31005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31006         New file.
31007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31008         New file.
31009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31010         New file.
31011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31012         New file.
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31014         New file.
31015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31016         New file.
31017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31019         file.
31020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31021         New file.
31022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31023         file.
31024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31025         file.
31026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31027         file.
31028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31029         file.
31030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31031         file.
31032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31033         New file.
31034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31035         file.
31036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31037         file.
31038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31039         New file.
31040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31041         file.
31042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31044         file.
31045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31046         New file.
31047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31048         file.
31049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31050         file.
31051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31052         file.
31053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31054         file.
31055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31056         file.
31057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31058         New file.
31059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31060         file.
31061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31062         file.
31063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31064         New file.
31065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31066         file.
31067         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31068         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31069         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31070         file.
31071         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31072         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31073         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31074         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31075         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31076         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31077         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31078         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31079         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31080         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31083         file.
31084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31085         New file.
31086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31087         file.
31088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31089         file.
31090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31091         file.
31092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31093         file.
31094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31095         file.
31096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31097         New file.
31098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31099         New file.
31100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31101         file.
31102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31103         New file.
31104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31105         file.
31106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31108         file.
31109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31110         New file.
31111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31112         file.
31113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31114         file.
31115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31116         file.
31117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31118         file.
31119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31120         file.
31121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31122         New file.
31123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31124         New file.
31125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31126         file.
31127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31128         New file.
31129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31130         file.
31132 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31134         * conform/conformtest.pl: Fix typo in handling typed-constant from
31135         allow-header.
31137 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31139         * README: Cut down references to pre-2.6 Linux kernels and
31140         Linuxthreads.  Update lists of configurations in libc and ports
31141         and sort alphabetically.  Say "or newer" with Linux kernel version
31142         requirements.
31144         * config.h.in [IS_IN_build]: Allow compiling without optimization.
31146 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31148         [BZ #887]
31149         * math/libm-test.inc (logb_test_downward): New test to expose
31150         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31151         rounding mode.
31153 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31155         [BZ #14027]
31156         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31157         to be done.
31158         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31159         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31161 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
31163         * sysdeps/unix/i386/brk.S: Remove file.
31164         * sysdeps/unix/i386/dl-brk.S: Likewise.
31165         * sysdeps/unix/i386/pipe.S: Likewise.
31166         * sysdeps/unix/i386/sigreturn.S: Likewise.
31167         * sysdeps/unix/i386/syscall.S: Likewise.
31168         * sysdeps/unix/i386/vfork.S: Likewise.
31169         * sysdeps/unix/i386/wait.S: Likewise.
31171         * sysdeps/unix/common/tcsendbrk.c: Move to ...
31172         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31174         * configure.in (arm*-none*): Do not allow without
31175         --enable-hacker-mode.
31176         (netbsd*): Remove case setting base_os.
31177         (386bsd*): Likewise.
31178         (freebsd*): Likewise.
31179         (bsdi*): Likewise.
31180         (osf*): Likewise.
31181         (sunos*): Likewise.
31182         (ultrix*): Likewise.
31183         (newsos*): Likewise.
31184         (dynix*): Likewise.
31185         (*bsd*): Likewise.
31186         (sysv*): Likewise.
31187         (isc*): Likewise.
31188         (esix*): Likewise.
31189         (sco*): Likewise.
31190         (minix*): Likewise.
31191         (irix4*): Likewise.
31192         (irix6*): Likewise.
31193         (solaris[2-9]*): Likewise.
31194         (none): Likewise.
31195         * configure: Regenerated.
31197 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31199         [BZ #11521]
31200         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31201         overflow or cancellation in calculating denominator.
31202         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31203         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31204         down expression to avoid unexpected rounding in newer GCCs.
31205         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31207 2012-04-26  David S. Miller  <davem@davemloft.net>
31209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31210         long-double compat symbols.
31211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31225 2012-04-25  David S. Miller  <davem@davemloft.net>
31227         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31228         HWCAP_* values only after the memory barriers have been defined.
31229         (atomic_full_barrier): Define.
31230         (atomic_read_barrier): Define.
31231         (atomic_write_barrier): Define.
31233 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31235         * shlib-versions: Add libgcc_s version information.
31236         * sysdeps/generic/libgcc_s.h: Remove.
31237         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31238         libgcc_s.h.
31239         * sysdeps/gnu/unwind-resume.c: Likewise.
31240         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31242 2012-04-25  David S. Miller  <davem@davemloft.net>
31244         * sysdeps/unix/sparc/brk.S: Delete.
31245         * sysdeps/unix/sparc/dl-brk.S: Delete.
31246         * sysdeps/unix/sparc/pipe.S: Delete.
31247         * sysdeps/unix/sparc/sysdep.S: Delete.
31248         * sysdeps/unix/sparc/sysdep.h: Delete.
31249         * sysdeps/unix/sparc/vfork.S: Delete.
31250         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31251         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31252         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31253         ret_ERRVAL, r0, r1, MOVE): Define.
31254         (JUMPTARGET): Remove.
31255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31256         sysdeps/unix/sparc/sysdep.h
31257         (ENTRY, END): Remove.
31258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31260 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
31262         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31263         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31264         -DIS_IN_build.
31266         * timezone/README: Update upstream location and email address for
31267         tzcode and tzdata.
31268         * timezone/zdump.c: Update from tzcode 2012b.
31269         * timezone/zic.c: Likewise.
31271         * configure.in (libc_cv_as_needed): Remove test.
31272         * configure: Regenerated.
31273         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31274         conditional definition.
31275         [$(have-as-needed) != yes] (no-as-needed): Likewise.
31276         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31277         * config.make.in (have-as-needed): Remove variable.
31279 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31280             Paul Pluzhnikov  <ppluzhnikov@google.com>
31282         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31283         strings correctly.
31285 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
31287         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31288         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31289         * sysdeps/sh/strlen.S: Likewise.
31291 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31293         * sysdeps/unix/fork.S: Remove file.
31294         * sysdeps/unix/i386/fork.S: Likewise.
31295         * sysdeps/unix/sparc/fork.S: Likewise.
31297         * sysdeps/unix/system.c: Remove file.
31298         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31300         * sysdeps/unix/getegid.S: Remove file.
31301         * sysdeps/unix/geteuid.S: Likewise.
31303 2012-04-24  Roland McGrath  <roland@hack.frob.com>
31305         * scripts/check-localplt.awk: New file.
31306         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31307         of diff.
31308         * scripts/data/localplt-generic.data: Add a comment.
31310         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31311         NODE when __dir_mkfile failed.
31312         * sysdeps/mach/hurd/symlinkat.c: Likewise.
31313         Reported by Ludovic Courtès <ludo@gnu.org>.
31315 2012-04-24  Andreas Jaeger  <aj@suse.de>
31317         * Makerules (common-clean): Also remove gen-as-const-headers
31318         files.
31320 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31322         * Makerules (native-compile): Do not change working directory for
31323         build.  Use $(OUTPUT_OPTION) in command.
31324         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31326 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31328         [BZ #13886]
31329         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31330         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31331         * math/libm-test.inc (floor_test): Add more tests.
31332         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31334 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31336         * sysdeps/unix/getdents.c: Remove file.
31337         * sysdeps/unix/sysv/getdents.c: Likewise.
31338         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31340         * sysdeps/unix/syscalls.list (madvise): Add syscall from
31341         sysdeps/unix/mman/syscalls.list.
31342         (mmap): Likewise.
31343         (mprotect): Likewise.
31344         (msync): Likewise.
31345         (munmap): Likewise.
31346         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31347         * sysdeps/unix/mman/syscalls.list: Remove.
31348         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31350         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31351         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31352         * configure: Regenerated.
31353         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31354         $(libgcc_s_suffix).
31355         * config.make.in (libgcc_s_suffix): Remove variable.
31357 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
31359         * sysdeps/unix/sysv/gethostname.c: Move to ...
31360         * sysdeps/posix/gethostname.c: ... here.
31362         * sysdeps/unix/execve.S: Remove file.
31364         * sysdeps/unix/_exit.S: Remove file.
31366 2012-04-23  Andreas Jaeger  <aj@suse.de>
31368         [BZ #13739]
31369         * manual/Makefile: Remove make dist support, there's no
31370         need for a stand-alone documentation tar ball.
31371         (TEXI2DVI): Define always, it's not in Makeconfig.
31372         (dist): Removed.
31373         (tar-it): Removed.
31374         (edition): Removed.
31375         (glibc-doc-$(edition).tar): Removed
31376         (%.Z): Removed.
31377         (%.gz): Removed.
31378         (%.uu): Removed.
31379         (ETAGS): Remove, it's in Makeconfig.
31380         (move-if-change): Remove, it's in Makeconfig.
31382 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
31384         [BZ #13970]
31385         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31386         (strtod, strtof, strtold, strtol, strtoul, strtoq)
31387         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31388         (strtod_l, strtof_l, strtold_l): Remove __wur.
31389         It is not necessarily an error to ignore strtol's return value.
31390         One can reliably look at the stored endptr to decide whether
31391         the number had valid syntax.
31393 2012-04-21  Andreas Jaeger  <aj@suse.de>
31395         [BZ #13739]
31396         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31398 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
31400         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31401         * sysdeps/unix/sysv/Versions: Remove file.
31403 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
31405         [BZ #13927]
31406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31408 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
31410         [BZ #7064]
31411         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31412         version from __vm86.
31414 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
31416         * sysdeps/unix/common/lxstat.c: Remove file.
31417         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31419         * sysdeps/unix/sysv/Makefile: Remove file.
31421         * sysdeps/unix/sysv/direct.h: Remove file.
31423         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31424         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31425         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31426         * sysdeps/unix/sysv/bits/signum.h: Likewise.
31427         * sysdeps/unix/sysv/bits/stat.h: Likewise.
31428         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31429         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31431         * sysdeps/unix/sysv/setrlimit.c: Remove file.
31433         * sysdeps/unix/xmknod.c: Remove file.
31434         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31436         * sysdeps/unix/sysv/settimeofday.c: Remove file.
31438         * sysdeps/unix/sysv/i386/time.S: Remove file.
31440         * sysdeps/unix/fxstat.c: Remove file.
31441         * sysdeps/unix/xstat.c: Likewise.
31442         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31444         * sysdeps/unix/sysv/sigaction.c: Remove file.
31446         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31447         (sysdep_headers): Remove variable.
31448         [termio.h not in sysdep_headers] (generated): Likewise.
31449         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31450         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31451         * sysdeps/unix/sysv/tcdrain.c: Likewise.
31452         * sysdeps/unix/sysv/tcflow.c: Likewise.
31453         * sysdeps/unix/sysv/tcflush.c: Likewise.
31454         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31455         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31456         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31457         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31458         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31460         * sysdeps/unix/siglist.c: Remove file.
31462         * sysdeps/unix/getppid.S: Remove file.
31464         * sysdeps/unix/mkdir.c: Remove file.
31465         * sysdeps/unix/rmdir.c: Likewise.
31467 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
31469         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31470         ERR_MAX value.
31471         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31472         errlist-compat value.
31474 2012-04-18  David S. Miller  <davem@davemloft.net>
31476         * sysdeps/generic/memcopy.h (reg_char): Delete.
31477         * debug/strcat_chk.c: Use char, not reg_char.
31478         * debug/strcpy_chk.c: Likewise.
31479         * debug/strncat_chk.c: Likewise.
31480         * debug/strncpy_chk.c: Likewise.
31481         * string/memchr.c: Likewise.
31482         * string/memrchr.c: Likewise.
31483         * string/rawmemchr.c: Likewise.
31484         * string/strcat.c: Likewise.
31485         * string/strchr.c: Likewise.
31486         * string/strchrnul.c: Likewise.
31487         * string/strcmp.c: Likewise.
31488         * string/strcpy.c: Likewise.
31489         * string/strncat.c: Likewise.
31490         * string/strncmp.c: Likewise.
31491         * string/strncpy.c: Likewise.
31493 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31495         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31496         __builtin_memcopy is called when src and dest ranges are known to not
31497         overlap.
31499 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31501         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31502         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31503         fwd_align_merge macro call.
31504         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31505         bwd_align_merge macro call.
31506         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31508 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31510         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31511         bwd_align_merge macros.
31512         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31513         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31514         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31516 2012-04-18  David S. Miller  <davem@davemloft.net>
31518         * sysdeps/sparc/sparc64/memcopy.h: Delete.
31520 2012-04-18  Andreas Jaeger  <aj@suse.de>
31522         [BZ# 6794]
31523         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31524         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31525         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31527         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31528         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31529         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31531         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31532         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31533         Adjust for changed ldbl-128 files.
31535         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31536         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31537         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31539 2012-04-17  David S. Miller  <davem@davemloft.net>
31541         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31543 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31545         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31546         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31547         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31548         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31549         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31550         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31552 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31554         [BZ #6794]
31555         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31556         * math/libm-test.inc: Add ilogb errno and exception tests.
31557         * math/w_ilogb.c: New file: ilogb wrapper.
31558         * math/w_ilogbf.c: New file: ilogbf wrapper.
31559         * math/w_ilogbl.c: New file: ilogbl wrapper.
31560         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31561         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31562         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31563         exception being thrown with 0.0 as argument.
31564         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31565         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31566         exception being thrown with 0.0 as argument.
31567         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31568         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31569         exception being thrown with 0.0 as argument.
31570         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31571         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31572         exception being thrown with 0.0 as argument.
31573         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31574         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31575         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31576         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31577         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31578         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31579         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31580         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31581         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31583 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31585         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31586         with altivec.
31588 2012-04-16  Marek Polacek  <polacek@redhat.com>
31590         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31592 2012-04-16  Marek Polacek  <polacek@redhat.com>
31594         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31595         operands of fdivp instruction.
31597 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31599         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31600         * elf/tst-auditmod3b.c: Likewise.
31601         * elf/tst-auditmod4b.c: Likewise.
31602         * elf/tst-auditmod5b.c: Likewise.
31603         * elf/tst-auditmod6b.c: Likewise.
31604         * elf/tst-auditmod6c.c: Likewise.
31605         * elf/tst-auditmod7b.c: Likewise.
31606         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31607         * sysdeps/x86_64/preconfigure.in: Likewise.
31608         * sysdeps/x86_64/preconfigure: Regenerated.
31610 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31612         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31613         __ILP32__.
31615 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31617         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31618         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31620 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31622         [BZ #13973]
31623         * locale/iso-639.def: Fix gl language name. Spotted by
31624         Yaron Shahrabani.
31626 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31628         [BZ #2074]
31629         * libio/libio.h (__io_write_fn): Update comment.
31631 2012-04-12  Petr Baudis  <pasky@ucw.cz>
31633         [BZ #2074]
31634         * stdio.texi (Hook Functions): The user provided writer function
31635         is not allowed to return -1.
31637 2012-04-11  David S. Miller  <davem@davemloft.net>
31639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31641 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
31643         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31644         Add a leading slash to rtkaio.
31646 2012-04-11  Jim Meyering  <meyering@redhat.com>
31648         [BZ #11959]
31649         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31650         It is not necessarily an error to ignore fwrite's return
31651         value.  One can reliably use ferror to test for errors after
31652         the fact.
31654 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31656         * bits/types.h (__snseconds_t): New type.
31657         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31659         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31661         (__SNSECONDS_T_TYPE): Likewise.
31662         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31663         (__SNSECONDS_T_TYPE): Likewise.
31664         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31665         (__SNSECONDS_T_TYPE): Likewise.
31667 2012-04-10  Andreas Jaeger  <aj@suse.de>
31669         [BZ #2636]
31670         * manual/time.texi (Processor Time): Return type of times is
31671         elapsed real time since an arbitrary point in the past.
31672         (CPU Time): Move CLK_TCK from here...
31673         (Processor Time): ...to here.  Correct description.
31674         * manual/conf.texi (Constants for Sysconf): Correct description of
31675         _SC_CLK_TCK.
31677 2012-04-10  David S. Miller  <davem@davemloft.net>
31679         [BZ #13967]
31680         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31681         where the is a gap between DT_REL(A) and DT_JMPREL.
31683 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31685         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31686         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31687         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31689 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31691         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31692         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31693         (dl_main): Handle --inhibit-cache.
31694         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31695         _dl_inhibit_cache.
31696         * elf/dl-load.c (_dl_map_object): Use it.
31697         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31699 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31701         [BZ #13872]
31702         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31703         (__ieee754_powl): Saturate large exponents rather than testing for
31704         overflow of y*log2(x).
31705         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31706         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31707         exceptions.
31709         [BZ #11521]
31710         * math/s_ctan.c: Include <float.h>.
31711         (__ctan): Avoid internal overflow or cancellation in calculating
31712         denominator.
31713         * math/s_ctanf.c: Likewise.
31714         * math/s_ctanl.c: Likewise.
31715         * math/s_ctanh.c: Likewise.
31716         * math/s_ctanhf.c: Likewise.
31717         * math/s_ctanhl.c: Likewise.
31718         * math/libm-test.inc (ctan_test): Add more tests.
31719         (ctanh_test): Likewise.
31720         * sysdeps/i386/fpu/libm-test-ulps: Update.
31721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31723 2012-04-09  Andreas Jaeger  <aj@suse.de>
31725         [BZ #6894]
31726         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31727         is an optional BSD extension.
31729         [BZ #10254]
31730         * manual/stdio.texi (Opening Streams): Document additional fopen
31731         parameters.
31733 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31735         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31736         %eax without telling the compiler.
31738 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31740         [BZ # 13963]
31741         * manual/install.texi: Use sourceware.org.
31743 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31745         [BZ #13873]
31746         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31747         (__ieee754_pow): Generate overflow and underflow using huge*huge
31748         and tiny*tiny rather than just returning constant infinity or zero
31749         for large exponents.
31750         * math/libm-test.inc (pow_test): Require overflow exceptions for
31751         applicable cases of large exponents.
31753         [BZ #706]
31754         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31755         (__ieee754_pow): Use iterative multiplication algorithm only for
31756         integer exponents with absolute value below 1024.  Check for odd
31757         integer exponents when using algorithm for real exponents.
31758         * math/libm-test.inc (pow_test): Add more tests.
31759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31761 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31763         [BZ #13705]
31764         * math/libm-test.inc (exp_test): Do not allow overflow exception
31765         on underflow test.
31767 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31769         [BZ #13705]
31770         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31771         instead of __kernel_standard_f.
31773 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31775         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31776         * sysdeps/x86_64/memset_chk.S: Likewise.
31778 2012-04-08  Andreas Jaeger  <aj@suse.de>
31780         [BZ #10153]
31781         * manual/startup.texi (Environment Access): Describe return value
31782         for putenv and setenv.
31784         [BZ #6895]
31785         * manual/filesys.texi (Directory Entries): Add description for
31786         DT_LNK.
31788         [BZ #6890]
31789         * manual/filesys.texi (Directory Entries): Clarify that it's file
31790         system not operating system in the description of DT_UNKNOWN.
31792         [BZ #6578]
31793         * manual/syslog.texi (closelog): Fix reference, it's openlog.
31795 2012-04-08  Stephen Compall  <s11@member.fsf.org>
31797         [BZ #6649]
31798         * manual/llio.texi (Opening and Closing Files): Add cross
31799         reference to explain mode argument.
31801 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
31803         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31804         * sysdeps/x86_64/memset_chk.S: Likewise.
31806 2012-04-07  David S. Miller  <davem@davemloft.net>
31808         * elf/elf.h (R_SPARC_WDISP10): Define.
31809         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31810         R_SPARC_SIZE32.
31811         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31812         R_SPARC_SIZE64 and R_SPARC_H34.
31814 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
31816         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31817         conditions and remove no longer applicable assertion.
31819 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31821         * bits/byteswap.h: Include <features.h>.
31822         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31823         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31825 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31827         * bits/byteswap.h (__bswap_16): Removed.
31828         Include <bits/byteswap-16.h> to get __bswap_16.
31829         * sysdeps/i386/bits/byteswap.h: Likewise.
31830         * sysdeps/s390/bits/byteswap.h: Likewise.
31831         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31832         * bits/byteswap-16.h: New file.
31833         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31834         * sysdeps/s390/bits/byteswap-16.h: Likewise.
31835         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31836         * string/Makefile (headers): Add bits/byteswap-16.h.
31838 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31840         [BZ #13895]
31841         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31842         extra indirection.
31843         * nss/Makefile (tests-static, tests): Add tst-nss-static.
31844         * nss/tst-nss-static.c: New.
31846 2012-04-06  Robert Millan  <rmh@gnu.org>
31848         [BZ #6486]
31849         * manual/llio.texi (File Position Primitive): lseek
31850         refers to WHENCE when it really means OFFSET.
31852 2012-04-06  Andreas Jaeger  <aj@suse.de>
31854         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31855         strncmp declarations.
31857         * abilist/libc.abilist: Add __poll and __ppoll.
31859 2012-04-05  David S. Miller  <davem@davemloft.net>
31861         * scripts/check-local-headers.sh: Accept a host triplet in the
31862         path matched by the exclude regexp.
31864         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31865         definition.
31866         * sysdeps/powerpc/powerpc32/dl-machine.h
31867         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31868         * sysdeps/s390/s390-32/dl-machine.h
31869         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31870         * sysdeps/sparc/sparc32/dl-machine.h
31871         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31872         * sysdeps/sparc/sparc64/dl-machine.h
31873         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31875         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31876         lazy binding.
31877         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31878         undefined symbol errors.
31880         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31881         DT_NEEDED entries.
31883 2012-04-05  Michael Matz  <matz@suse.de>
31885         [BZ #13592]
31886         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31888 2012-04-05  Andreas Jaeger  <aj@suse.de>
31890         [BZ #13908]
31891         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31892         comment.
31894 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31896         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31897         which ROUND is no valid rounding mode.
31899 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31901         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31902         read again.
31903         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31905 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31907         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31908         an exception using FPU order intentionally.
31910 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31912         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31913         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31914         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31915         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31917 2012-04-05  Simon Josefsson  <simon@josefsson.org>
31919         [BZ #12340]
31920         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31921         EINVAL when BUFLEN is too smal.
31923 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31925         [BZ #13553]
31926         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31927         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31929 2012-04-03  Andreas Jaeger  <aj@suse.de>
31931         [BZ #13938]
31932         * manual/setjmp.texi (System V contexts): Fix sentence.
31934         [BZ #13926]
31935         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31936         New macro for this case.
31937         [!__GNUC__] (__bswap_64): New inline function for this case.
31938         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31939         * bits/byteswap.h: Likewise.
31940         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31941         ull, guard with __GLIBC_HAVE_LONG_LONG.
31943         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31944         __GLIBC_HAVE_LONG_LONG.
31946         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31947         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31949 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31951         [BZ #13691]
31952         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31953         inptr and inend, rather than using last_ch.
31955 2012-04-02  David S. Miller  <davem@davemloft.net>
31957         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31958         * stdio-common/printf-parse.h (read_int): Change return type to
31959         'int', return -1 on INT_MAX overflow.
31960         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31961         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
31962         overflows INT_MAX.  Check for overflow of in-format-string precision
31963         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
31964         SIZE_MAX not INT_MAX for integer overflow test.
31965         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31966         skip the construct in the format string but do not record anything.
31967         * stdio-common/bug22.c: Adjust to test both width/prevision
31968         INT_MAX overflow as well as total length INT_MAX overflow.  Check
31969         explicitly for proper errno values.
31971 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31973         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31974         CHAR_MAX.
31975         * string/test-strcmp.c [! WIDE]: Likewise.
31976         * time/tst-mktime2.c: Likewise for INT_MAX.
31977         * string/test-string.h: #include <sys/param.h> for MIN.
31979         * csu/init-first.c (__libc_init_first): Call __ctype_init.
31980         * sysdeps/i386/init-first.c (init): Likewise.
31981         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31982         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31983         * sysdeps/sh/init-first.c (init): Likewise.
31985 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
31987         * po/ru.po: Update from translation team.
31988         * po/vi.po: Likewise.
31990 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31992         * resolv/nss_dns/dns-host.c: Merge copyright years.
31994 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31996         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31997         Optimize memcpy with prefetch if
31998         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
31999         src, dst pointers have unequal 16 byte alignments.
32001 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32003         [BZ #13928]
32004         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32005         from a CNAME entry and return the minimum ttl for the query.
32006         (gaih_getanswer_slice): Likewise.
32008 2012-03-30  Jeff Law  <law@redhat.com>
32010         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32011         due to long keys.
32012         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32013         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32015         * resolv/nss_dns/dns-host.c: Update copyright year.
32017 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32019         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32020         requests to save a system call.  Fix check that all bytes are sent.
32022         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32023         comments for sendmmsg.
32025 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32027         [BZ #13691]
32028         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32029         with only 1 character between 0x0041 and 0x01b0.
32030         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32031         * wcsmbs/tst-mbsnrtowcs.c: New file.
32033 2012-03-29  David S. Miller  <davem@davemloft.net>
32035         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32036         small copies by hand.
32038 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32040         [BZ #13761]
32041         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32042         _nss_compat_initgroups_dyn): Fall back to malloc/free
32043         for large group memberships.
32045 2012-03-28  David S. Miller  <davem@davemloft.net>
32047         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32048         that branches into memcpy.
32049         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32050         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32052         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32053         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32054         bits.
32055         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32056         implementation too.
32057         * sysdeps/sparc/mempcpy.S: New file.
32059         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32060         the IFUNC routine in the libc case.
32061         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32063         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32064         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32065         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32066         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32067         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32068         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32069         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32070         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32072         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32073         loop to 256 bytes instead of 64 bytes and fix test signedness.
32075         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32076         * sysdeps/sparc/sparc32/Makefile: rather than here...
32077         * sysdeps/sparc/sparc64/Makefile: and here.
32079 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32081         * malloc/mallocbug.c: Avoid warnings about unused variables.
32083 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32085         [BZ #13760]
32086         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32087         in the right place. Discard and retry query if response is
32088         larger than input buffer size.
32090 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32092         [BZ #369]
32093         [BZ #2678]
32094         [BZ #3866]
32095         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32096         x for large integer exponent.
32097         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32098         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32099         sign of result as needed afterwards.
32100         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32101         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32102         result for underflowing pow the same as for overflow.
32103         (__kernel_standard_l): Handle powl overflow and underflow here
32104         rather than calling __kernel_standard.
32105         * math/libm-test.inc (pow_test): Add more tests.
32107         [BZ #3868]
32108         [BZ #13879]
32109         [BZ #13910]
32110         [BZ #13911]
32111         [BZ #13912]
32112         [BZ #13913]
32113         [BZ #13915]
32114         [BZ #13916]
32115         [BZ #13917]
32116         [BZ #13918]
32117         [BZ #13919]
32118         [BZ #13920]
32119         [BZ #13921]
32120         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32121         * sysdeps/ieee754/k_standard.c: Include <float.h>.
32122         (__kernel_standard_l): New function.
32123         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32124         __kernel_standard.
32125         * math/w_acosl.c (__acosl): Likewise.
32126         * math/w_asinl.c (__asinl): Likewise.
32127         * math/w_atan2l.c (__atan2l): Likewise.
32128         * math/w_atanhl.c (__atanhl): Likewise.
32129         * math/w_coshl.c (__coshl): Likewise.
32130         * math/w_exp10l.c (__exp10l): Likewise.
32131         * math/w_exp2l.c (__exp2l): Likewise.
32132         * math/w_fmodl.c (__fmodl): Likewise.
32133         * math/w_hypotl.c (__hypotl): Likewise.
32134         * math/w_j0l.c (__j0l, __y0l): Likewise.
32135         * math/w_j1l.c (__j1l, __y1l): Likewise.
32136         * math/w_jnl.c (__jnl, __ynl): Likewise.
32137         * math/w_lgammal.c (__lgammal): Likewise.
32138         * math/w_log10l.c (__log10l): Likewise.
32139         * math/w_log2l.c (__log2l): Likewise.
32140         * math/w_logl.c (__logl): Likewise.
32141         * math/w_powl.c (__powl): Likewise.
32142         * math/w_remainderl.c (__remainderl): Likewise.
32143         * math/w_scalbl.c (sysv_scalbl): Likewise.
32144         * math/w_sinhl.c (__sinhl): Likewise.
32145         * math/w_sqrtl.c (__sqrtl): Likewise.
32146         * math/w_tgammal.c (__tgammal): Likewise.
32147         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32148         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32149         * math/libm-test.inc (acos_test): Add more tests.
32150         (acosh_test): Likewise.
32151         (asin_test): Likewise.
32152         (atanh_test): Likewise.
32153         (exp_test): Likewise.
32154         (exp10_test): Likewise.
32155         (exp2_test): Likewise.
32156         (expm1_test): Likewise.
32157         (lgamma_test): Likewise.
32158         (log_test): Likewise.
32159         (log10_test): Likewise.
32160         (log1p_test): Likewise.
32161         (log2_test): Likewise.
32162         (pow_test): Do not allow some spurious overflow exceptions.
32163         (sqrt_test): Add more tests.
32164         (tgamma_test): Likewise.
32165         (y0_test): Likewise.
32166         (y1_test): Likewise.
32167         (yn_test): Likewise.
32169 2012-03-27  Anton Blanchard  <anton@samba.org>
32171         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32172         MAP_HUGETLB.
32173         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32174         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32175         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32177 2012-03-27  David S. Miller  <davem@davemloft.net>
32179         * conform/Makefile: Run run-conformtest.sh using $(BASH).
32181         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32182         have-as-vis3 check.
32184 2012-03-27  Andreas Jaeger  <aj@suse.de>
32186         * sysdeps/x86_64/elf/configure.in: Moved to ...
32187         * sysdeps/x86_64/configure.in: ... here.
32188         * sysdeps/x86_64/elf/start.S: Moved to ...
32189         * sysdeps/x86_64/start.S: ... here.
32190         * sysdeps/x86_64/elf/configure: Delete.
32192         * sysdeps/x86_64/configure.in: Merge contents from
32193         sysdeps/i386/configure.in (without i686 check).
32195         * sysdeps/i386/elf/Versions: Merge into ...
32196         * sysdeps/i386/Versions: ... this.
32197         * sysdeps/i386/elf/Versions: Delete file.
32198         * sysdeps/i386/elf/start.S: Moved to ...
32199         * sysdeps/i386/start.S: ...here.
32200         * sysdeps/i386/elf/configure.in: Merge into...
32201         * sysdeps/i386/configure.in: ...here.
32202         * sysdeps/i386/elf/configure.in: Delete file.
32203         * sysdeps/i386/elf/configure: Delete file.
32205         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32206         * debug/backtracesyms.c: ... here.
32207         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32208         * debug/backtracesymsfd.c: ... here.
32209         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32210         * sysdeps/generic/ifunc-sel.h: ... here.
32212         * sysdeps/unix/i386/start.c: Delete file.
32213         * sysdeps/unix/sparc/start.c: Delete file.
32214         * sysdeps/unix/start.c: Delete file.
32216         * sysdeps/sh/elf/configure.in: Moved to ...
32217         * sysdeps/sh/configure.in: ... here.
32218         * sysdeps/sh/elf/start.S: Moved to ...
32219         * sysdeps/sh/start.S: ... here.
32220         * sysdeps/sh/elf/configure: Delete file.
32222         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32223         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32224         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32225         * sysdeps/powerpc/powerpc64/entry.h: ... here.
32226         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32227         * sysdeps/powerpc/powerpc64/start.S: here.
32228         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32229         * sysdeps/powerpc/powerpc64/Makefile: ... this.
32230         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32231         * sysdeps/powerpc/powerpc64/configure.in: ... this.
32232         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32234         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32235         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32236         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32237         * sysdeps/powerpc/powerpc32/start.S: ... here.
32238         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32239         * sysdeps/powerpc/powerpc32/configure.in: ... this.
32240         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32242         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32243         * sysdeps/powerpc/ifunc-sel.h: ... here.
32244         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32245         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32247         * sysdeps/sparc/elf/configure.in: Moved to ...
32248         * sysdeps/sparc/configure.in: ... here.
32249         * sysdeps/sparc/elf/configure: Delete file.
32250         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32251         * sysdeps/sparc/sparc32/start.S: ... here.
32252         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32253         * sysdeps/sparc/sparc64/start.S: ... here.
32254         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32255         * sysdeps/sparc/sparc32/Makefile: ... this.
32256         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32257         * sysdeps/sparc/sparc64/Makefile: ... this.
32259         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32260         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32261         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32262         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32263         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32264         * sysdeps/s390/s390-32/setjmp.S: ... here.
32265         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32266         * sysdeps/s390/s390-32/configure.in: ... here.
32267         * sysdeps/s390/s390-32/elf/configure: Delete file.
32268         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32269         * sysdeps/s390/s390-32/start.S: ... here.
32271         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32272         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32273         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32274         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32275         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32276         * sysdeps/s390/s390-64/setjmp.S: ... here.
32277         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32278         * sysdeps/s390/s390-64/configure.in: ... here
32279         * sysdeps/s390/s390-64/elf/configure: Delete file.
32280         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32281         * sysdeps/s390/s390-64/start.S: ... here.
32282         * sysdeps/s390/s390-64/elf/configure: Delete.
32284         * configure.in: Remove support for elf directories in sysdeps.
32286         * configure: Regenerated.
32287         * sysdeps/i386/configure: Regenerated.
32288         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32289         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32290         * sysdeps/s390/s390-32/configure: Regenerated.
32291         * sysdeps/s390/s390-64/configure: Regenerated.
32292         * sysdeps/sh/configure: Regenerated.
32293         * sysdeps/sparc/configure: Regenerated.
32294         * sysdeps/x86_64/configure: Regenerated.
32296 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
32298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32300         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32301         denormal result into account.
32303 2012-03-25  Roland McGrath  <roland@hack.frob.com>
32305         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32306         Reported by Allan McRae <allan@archlinux.org>.
32308 2012-03-23  Jeff Law  <law@redhat.com>
32310         * nss/getnssent.c (__nss_getent): Fix typo.
32312 2012-03-23  David S. Miller  <davem@davemloft.net>
32314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32316 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
32318         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32319         to pad to uint64_t for each field.
32320         (dl_tls_index): Replace unsigned long with uint64_t.
32322 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
32323         Paul Pluzhnikov  <ppluzhnikov@google.com>
32325         [BZ #6528]
32326         * grp/Makefile (otherlibs): Don't set it.
32327         * inet/Makefile (otherlibs): Likewise.
32328         * login/Makefile (otherlibs): Likewise.
32329         * nscd/Makefile (otherlibs): Likewise.
32330         * posix/Makefile (otherlibs): Likewise.
32331         * pwd/Makefile (otherlibs): Likewise.
32332         * rt/Makefile (otherlibs): Likewise.
32333         * sunrpc/Makefile (otherlibs): Likewise.
32334         * nss/Makefile (otherlibs): Likewise.
32335         Add libnss_files to routines and static-only-routines.
32336         ($(objpfx)getent): Remove rule.
32337         * resolv/Makefile: Add libnss_dns and libresolv to routines and
32338         static-only-routines.
32340 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32342         [BZ #13892]
32343         * math/s_cexp.c: Include <float.h>.
32344         (__cexp): Handle exp result overflowing not necessarily
32345         overflowing both real and imaginary parts of result.
32346         * math/s_cexpf.c: Likewise.
32347         * math/s_cexpl.c: Likewise.
32348         * math/libm-test.inc (cexp_test): Add more tests.
32349         * sysdeps/i386/fpu/libm-test-ulps: Update.
32350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32352 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32354         * include/link.h (ELFW): New macro.
32355         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32356         Replace ELF64_R_TYPE with ELFW(R_TYPE).
32358 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32360         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32361         with uint64_t.
32363 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32365         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32366         declaration.
32367         (struct La_x32_retval): Likewise.
32369 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32371         * sysdeps/x86_64/preconfigure.in: New file.
32372         * sysdeps/x86_64/preconfigure: New generated file.
32374 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32376         [BZ #13824]
32377         * math/e_exp2l.c: Include <float.h>.
32378         (__ieee754_exp2l): Handle overflow and underflow cases
32379         separately.  Only pass fractional part of argument to
32380         __ieee754_expl.
32381         * math/libm-test.inc (exp2_test): Add more tests.
32383         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32384         negating x to take absolute value.
32385         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32386         Likewise.
32387         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32388         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32389         Likewise.
32390         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32391         computing low part if x was negated.
32392         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32394 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32396         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32397         la_x32_gnu_pltexit.
32398         (pltexit): Cast int_retval to ptrdiff_t.
32399         * elf/tst-auditmod3b.c: Likewise.
32400         * elf/tst-auditmod4b.c: Likewise.
32401         * elf/tst-auditmod5b.c: Likewise.
32402         * elf/tst-auditmod6b.c: Likewise.
32403         * elf/tst-auditmod6c.c: Likewise.
32404         * elf/tst-auditmod7b.c: Likewise.
32406         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32407         and x32_gnu_pltexit.
32409         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32410         __ELF_NATIVE_CLASS.
32411         (La_x32_regs): New macro.
32412         (La_x32_retval): Likewise.
32413         (la_x32_gnu_pltenter): New function prototype.
32414         (la_x32_gnu_pltexit): Likewise.
32416 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
32418         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32419         exponent.
32421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32423         * configure.in (libc_cv_cc_nofma): Check for option to disable
32424         generation of FMA instructions.
32425         * configure: Regenerate.
32426         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32427         * sysdeps/ieee754/dbl-64/Makefile: New file.
32428         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32429         Remove brandred-fma4.
32430         (CFLAGS-brandred-fma4.c): Remove.
32431         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32432         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32433         define.
32434         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32435         define.
32437 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32439         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32440         LLONG_MAX != LONG_MAX.
32441         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32442         (_fitoa_word): Likewise.
32443         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32444         LLONG_MAX != LONG_MAX.
32445         * stdio-common/_itowa.h: Include <_itoa.h>.
32446         (_itowa_word): Use _ITOA_WORD_TYPE on value.
32447         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
32448         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
32449         only if not defined.
32450         (_ITOA_WORD_TYPE): Likewise.
32451         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32452         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32454 2012-03-21  David S. Miller  <davem@davemloft.net>
32456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32458 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32460         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32461         of x86_64 when setting libc_cv_slibdir, libdir and
32462         libc_cv_localedir.
32463         * sysdeps/unix/sysv/linux/configure: Regenerated.
32465 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32467         * manual/lang.texi (Old Varargs): Remove section.
32468         (How Variadic): Update menu.
32469         (va_start): Do not mention varargs.h.
32471 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32472             Joseph Myers  <joseph@codesourcery.com>
32474         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32475         link test.
32476         * configure: Regenerated.
32478 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32480         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32481         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32482         conformtest.pl
32484 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32486         * NOTES: Remove.
32487         * Makefile (files-for-dist): Remove NOTES.
32488         (NOTES): Remove rule.
32489         * README: Don't refer to NOTES.
32490         * manual/creature.texi: Don't include macros.texi.
32491         * manual/intro.texi (creature.texi): Remove comment referring to
32492         NOTES.
32494         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32495         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32496         * configure: Regenerated.
32497         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32498         LIBC_TRY_CC_OPTION.
32499         (libc_cv_as_i686): Likewise.
32500         (libc_cv_cc_avx): Likewise.
32501         (libc_cv_cc_sse2avx): Likewise.
32502         (libc_cv_cc_fma4): Likewise.
32503         (libc_cv_cc_novzeroupper): Likewise.
32504         * sysdeps/i386/configure: Regenerated.
32506         [BZ #13883]
32507         * sysdeps/i386/fpu/s_cexp.S: Remove.
32508         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32509         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32510         * math/libm-test.inc (cexp_test): Add more tests.
32511         * sysdeps/i386/fpu/libm-test-ulps: Update.
32512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32514 2012-03-21  Allan McRae  <allan@archlinux.org>
32516         * timezone/Makefile: Do not install iso3166.tab and zone.tab
32518 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32520         [BZ #13871]
32521         * math/w_exp2.c: Do not include <float.h>.
32522         (o_threshold, u_threshold): Remove.
32523         (__exp2): Calculate result before checking finiteness and calling
32524         __kernel_standard.
32525         * math/w_exp2f.c: Likewise.
32526         * math/w_exp2l.c: Likewise.
32527         * math/libm-test.inc (exp2_test): Require overflow exception for
32528         1e6 input.
32530         [BZ #3866]
32531         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32532         range of signed 64-bit integers before using fistpll.  Remove
32533         checks for whether integers fit in mantissa bits.
32534         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32535         the range of signed 32-bit integers before using fistpl.  Remove
32536         checks for whether integers fit in mantissa bits.
32537         * sysdeps/i386/fpu/e_powl.S (p64): New object.
32538         (__ieee754_powl): Test for y outside the range of signed 64-bit
32539         integers before using fistpll.  Reduce 64-bit values to 63-bit
32540         ones as needed.
32541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32542         divide-by-zero is raised for zero to large negative powers.
32543         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32544         (__ieee754_powl): Test for y outside the range of signed 64-bit
32545         integers before using fistpll.  Reduce 64-bit values to 63-bit
32546         ones as needed.
32547         * math/libm-test.inc (pow_test): Add more tests.
32549 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32551         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32552         <stdio-common/_itoa.h>.
32553         * debug/segfault.c: Likewise.
32554         * elf/dl-cache.c: Likewise.
32555         * elf/dl-minimal.c: Likewise.
32556         * elf/dl-misc.c: Likewise.
32557         * elf/dl-sysdep.c: Likewise.
32558         * elf/dl-version.c: Likewise.
32559         * elf/rtld.c: Likewise.
32560         * hurd/hurdsock.c: Likewise.
32561         * hurd/lookup-retry.c: Likewise.
32562         * malloc/malloc.c: Likewise.
32563         * malloc/mtrace.c: Likewise.
32564         * nscd/nscd_getgr_r.c: Likewise.
32565         * nscd/nscd_getpw_r.c: Likewise.
32566         * nscd/nscd_getserv_r.c: Likewise.
32567         * posix/getopt_init.c: Likewise.
32568         * posix/wordexp.c: Likewise.
32569         * stdio-common/_itoa.c: Likewise.
32570         * stdio-common/printf_fphex.c: Likewise.
32571         * stdio-common/vfprintf.c: Likewise.
32572         * string/_strerror.c: Likewise.
32573         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32574         * sysdeps/i386/i686/hp-timing.h: Likewise.
32575         * sysdeps/mach/_strerror.c: Likewise.
32576         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32577         * sysdeps/mach/hurd/sethostid.c: Likewise.
32578         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32579         * sysdeps/mach/xpg-strerror.c: Likewise.
32580         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32581         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32582         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32583         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32584         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32585         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32586         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32587         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32588         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32589         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32590         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32591         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32592         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32593         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32594         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32595         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32596         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32597         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32598         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32599         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32600         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32602         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32604         * stdio-common/_itoa.h: Moved to ...
32605         * sysdeps/generic/_itoa.h: Here.
32607         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32609         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32610         instead of "_itoa.h" and "_itowa.h".
32611         * stdio-common/vfprintf.: Likewise.
32613 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32615         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32616         <bits/wordsize.h>.
32617         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32618         (__signbit): Likwise.
32619         (llrintf): Likwise.
32620         (llrint): Likwise.
32622 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32624         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32625         __WORDSIZE != 64.
32627 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32629         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32630         OVERFLOW_EXCEPTION_OK.
32631         * math/libm-test.inc ("Philosophy"): Update comment about
32632         exception testing.
32633         (OVERFLOW_EXCEPTION): Define.
32634         (OVERFLOW_EXCEPTION_OK): Likewise.
32635         (INVALID_EXCEPTION_OK): Renumber.
32636         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32637         (IGNORE_ZERO_INF_SIGN): Likewise.
32638         (test_exceptions): Handle FE_OVERFLOW.
32639         (exp10_test): Expect overflow exceptions.
32640         (exp2_test): Likewise.
32641         (expm1_test): Likewise.
32642         (nextafter_test): Likewise.
32643         (pow_test): Likewise.
32644         (scalbn_test): Likewise.
32645         (scalbln_test): Likewise.
32647 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32649         * sysdeps/x86_64/bits/atomic.h
32650         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32651         64bit integer.
32652         (atomic_exchange_acq): Likewise.
32653         (__arch_exchange_and_add_body): Likewise.
32654         (__arch_add_body): Likewise.
32655         (atomic_add_negative): Likewise.
32656         (atomic_add_zero): Likewise.
32658 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32660         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32661         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32663 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32665         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32666         Check __x86_64__ instead of __WORDSIZE.
32668 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32670         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32672 2012-03-19  David S. Miller  <davem@davemloft.net>
32674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32676         * sysdeps/sparc/fpu/fenv_private.h: New file.
32677         * sysdeps/sparc/fpu/math_private.h: Use it.
32678         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32679         Remove.
32680         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32681         (libc_feholdexcept_setroundl): Remove.
32682         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32683         Remove.
32684         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32685         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32687 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32689         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32690         int64_t instead of long int.
32691         (INSERT_WORDS64): Likwise.
32693 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32695         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32696         _Unwind_GetCFA return to _Unwind_Ptr first.
32698 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32700         [BZ #13629]
32701         * math/s_clog.c: Include <float.h>.
32702         (__clog): Scale large or subnormal inputs.
32703         * math/s_clogf.c: Likewise.
32704         * math/s_clogl.c: Likewise.
32705         * math/s_clog10.c: Include <float.h>.
32706         (M_LOG10_2): Define.
32707         (__clog10): Scale large or subnormal inputs.
32708         * math/s_clog10f.c: Likewise.
32709         * math/s_clog10l.c: Likewise.
32710         * math/libm-test.inc (clog_test): Add more tests.
32711         (clog10_test): Likewise.
32712         * sysdeps/i386/fpu/libm-test-ulps: Update.
32713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32715         [BZ #11451]
32716         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32717         x and y.
32718         * math/libm-test.inc (atan2_test): Add another test.
32720         * Makerules (common-objdir-compile): Remove.
32721         * sysdeps/unix/Makefile (config-generated): Do not add
32722         $(unix-generated) to variable.
32723         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32724         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32725         Remove rule.
32726         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32727         Likewise.
32728         [generic bits/local_lim.h] (before-compile): Do not append to
32729         variable.
32730         [generic bits/local_lim.h] (common-generated): Likewise.
32731         [generic sys/param.h] (before-compile): Do not append to variable.
32732         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32733         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32734         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32735         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32736         include.
32737         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32738         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32739         [generic sys/param.h] ($(addprefix
32740         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32741         [generic sys/param.h] (common-generated): Do not append to
32742         variable.
32743         [generic sys/param.h] (sysdep_headers): Likewise.
32744         [generic bits/errno.h] (before-compile): Do not append to
32745         variable.
32746         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32747         rule.
32748         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32749         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32750         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32751         [generic bits/errno.h] (common-generated): Do not append to
32752         variable.
32753         [generic bits/ioctls.h] (before-compile): Do not append to
32754         variable.
32755         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32756         rule.
32757         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32758         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32759         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32760         rule.
32761         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32762         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32763         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32764         [generic bits/ioctls.h] (common-generated): Do not append to
32765         variable.
32766         [generic sys/syscall.h] (syscall.h): Remove variable.
32767         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32768         rule.
32769         [generic sys/syscall.h] (before-compile): Do not append to
32770         variable.
32771         [generic sys/syscall.h] (common-generated): Likewise.
32772         * sysdeps/unix/errnos-tmpl.c: Remove file.
32773         * sysdeps/unix/errnos.awk: Likewise.
32774         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32775         * sysdeps/unix/ioctls.awk: Likewise.
32776         * sysdeps/unix/mk-local_lim.c: Likewise.
32777         * sysdeps/unix/snarf-ioctls: Likewise.
32779 2012-03-19  Richard Henderson  <rth@twiddle.net>
32781         * sysdeps/i386/fpu/fenv_private.h: New file.
32782         * sysdeps/i386/fpu/math_private.h: Use it.
32783         (math_opt_barrier, math_force_eval): Remove.
32784         (libc_feholdexcept_setround_53bit): Remove.
32785         (libc_feupdateenv_53bit): Remove.
32786         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32787         (math_opt_barrier, math_force_eval): Remove.
32788         (libc_feholdexcept): Remove.
32789         (libc_feholdexcept_setround): Remove.
32790         (libc_fetestexcept, libc_fesetenv): Remove.
32791         (libc_feupdateenv_test): Remove.
32792         (libc_feupdateenv, libc_feholdsetround): Remove.
32793         (libc_feresetround): Remove.
32795         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32796         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32798         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32799         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32800         (libc_feupdateenv_testl): New.
32801         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32802         (libc_feupdateenv_testf): New.
32803         (libc_feupdateenv): Use libc_feupdateenv_test.
32804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32805         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32807         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32808         (libc_feholdsetroundf, libc_feholdsetroundl): New.
32809         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32810         (libc_feresetround_noex): New.
32811         (libc_feresetround_noexf): New.
32812         (libc_feresetround_noexl): New.
32813         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32814         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32815         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32816         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32817         SET_RESTORE_ROUND.
32818         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32819         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32820         (__cos): Likewise.
32821         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32822         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32823         SET_RESTORE_ROUND_NOEX.
32824         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32825         SET_RESTORE_ROUND_NOEXF.
32826         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32827         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32828         (libc_feholdsetroundf): New.
32829         (libc_feresetround, libc_feresetroundf): New.
32831         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32832         (libc_feholdexcept_setround_53bit): Convert from macro to function.
32833         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
32835         * sysdeps/generic/math_private.h: Include <fenv.h>.
32836         (default_libc_feholdexcept): New.
32837         (default_libc_feholdexcept_setround): New.
32838         (default_libc_fesetenv, default_libc_feupdateenv): New.
32839         (libc_feholdexcept): Only define if undefined.
32840         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32841         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32842         (libc_feholdexcept_setroundl): Likewise.
32843         (libc_feholdexcept_setround_53bit): Likewise.
32844         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32845         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32846         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32847         (libc_feupdateenv_53bit): Likewise.
32848         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32849         (libc_feholdexcept): Convert from macro to inline function.
32850         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32851         (libc_fesetenv, libc_feupdateenv): Likewise.
32853         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32854         not previously defined.
32855         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32856         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32857         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32858         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32859         * sysdeps/ieee754/flt-32/math_private.h: New file.
32860         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32861         math_private.h below SET_FLOAT_WORD.
32862         (__isnan, __isinf_ns, __finite): Remove.
32863         (__isnanf, __isinf_nsf, __finitef): Remove.
32865 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
32867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32869 2012-03-17  David S. Miller  <davem@davemloft.net>
32871         [BZ #6471]
32872         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32873         for 2.16.
32875 2012-03-16  David S. Miller  <davem@davemloft.net>
32877         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32878         warnings.
32880         [BZ #6471]
32881         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32882         properly.
32883         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32884         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32885         sysdep_routines when subdir is sysvipc.
32886         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32887         __getshmlba helper.
32889         * sysdeps/sparc/fpu/libm-test/ulps: Update.
32891 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32893         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32894         [__LP64__].
32896 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32898         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32899         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32900         (__lround): Renamed to ...
32901         (__llround): This.  Replace long int with long long int.
32902         Define lround functions as aliases of llround functions.
32903         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32905 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32907         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32908         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
32909         adresses to uintptr_t.  Replace "long int" and "unsigned long
32910         int" with "greg_t" on va_arg.
32912 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32914         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32915         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32917         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32918         Move e_machine check before EI_CLASS check.  Handle x32
32919         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32920         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32921         SKIP_EM_IA_64 and include
32922         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32924         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32925         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32926         (add_system_dir): New macro.
32928         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32929         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32931 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32933         [BZ #2551]
32934         [BZ #2552]
32935         [BZ #2553]
32936         [BZ #2554]
32937         [BZ #2562]
32938         [BZ #2563]
32939         [BZ #2565]
32940         [BZ #2566]
32941         [BZ #2576]
32942         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32943         (y0): Likewise.
32944         * math/w_j0f.c (j0f): Likewise.
32945         (y0f): Likewise.
32946         * math/w_j0l.c (__j0l): Likewise.
32947         (__y0l): Likewise.
32948         * math/w_j1.c (j1): Likewise.
32949         (y1): Likewise.
32950         * math/w_j1f.c (j1f): Likewise.
32951         (y1f): Likewise.
32952         * math/w_j1l.c (__j1l): Likewise.
32953         (__y1l): Likewise.
32954         * math/w_jn.c (jn): Likewise.
32955         (yn): Likewise.
32956         * math/w_jnf.c (jnf): Likewise.
32957         (ynf): Likewise.
32958         * math/w_jnl.c (__jnl): Likewise.
32959         (__ynl): Likewise.
32960         * math/libm-test.inc (j0_test): Add more tests.
32961         (j1_test): Likewise.
32962         (jn_test): Likewise.  Add trailing semicolon to existing test.
32963         (y0_test): Likewise.
32964         (y1_test): Likewise.
32965         * sysdeps/i386/fpu/libm-test-ulps: Update.
32966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32968         [BZ #13851]
32969         [BZ #13854]
32970         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32971         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32972         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32973         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32974         (__tanl): Set errno for infinite argument.
32975         * sysdeps/i386/fpu/mptan.c: Remove.
32976         * sysdeps/i386/fpu/s_tan.S: Likewise.
32977         * sysdeps/i386/fpu/s_tanl.S: Likewise.
32978         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32979         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32980         * math/libm-test.inc (tan_test): Add more tests and enable more
32981         tests for double and long double.
32982         * sysdeps/i386/fpu/libm-test-ulps: Update.
32983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32985 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
32987         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32988         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32990 2012-03-16  Roland McGrath  <roland@hack.frob.com>
32992         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32993         * configure.in: Use it for both main tree and add-ons.
32994         * configure: Regenerated.
32996 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32998         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33000 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33002         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33003         in comment.
33005         [BZ #13851]
33006         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33007         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33008         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33009         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33010         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33011         infinite argument.
33012         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33013         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33014         != 0 for prec == 2.
33015         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33016         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33017         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33018         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33019         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33020         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33021         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33022         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33023         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33024         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33025         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33026         * math/libm-test.inc (cos_test): Add more tests and enable more
33027         tests for long double.
33028         (sin_test): Likewise.
33029         (sincos_test): Likewise.
33030         * sysdeps/i386/fpu/libm-test-ulps: Update.
33031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33033 2012-03-16  David S. Miller  <davem@davemloft.net>
33035         * sysdeps/sparc/fpu/math_private.h: New file.
33037 2012-03-15  David S. Miller  <davem@davemloft.net>
33039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33040         file.
33041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33043         file.
33044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33049         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33050         sysdep routines.
33051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33053         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33054         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33056         * sysdeps/sparc/sparc-ifunc.h: New file.
33057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33058         sparc-ifunc.h
33059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33061         Likewise.
33062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33063         Likewise.
33064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33068         Likewise.
33069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33074         Likewise.
33075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33076         Likewise.
33077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33081         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33082         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33083         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33084         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33085         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33086         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33091         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33092         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33093         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33094         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33095         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33096         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33097         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33098         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33099         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33100         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33102 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33104         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33105         scaling.
33106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33108 2012-03-15  Andreas Jaeger  <aj@suse.de>
33110         [BZ #13852]
33111         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33112         ieee754/flt-32 implementation for sin, cos and sincos.
33113         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33114         * sysdeps/i386/fpu/s_cosf.S: Likewise.
33115         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33116         * sysdeps/i386/fpu/s_sinf.S: Likewise.
33117         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33118         ieee754/flt-32 implementation for tan.
33120         * math/libm-test.inc (cos_test): Enable some large input tests for
33121         float as well
33122         (sin_test): Likewise.
33123         (sincos_test): Likewise.
33124         (tan_test): Add tests for large input.
33126         * sysdeps/i386/fpu/libm-test-ulps: Update.
33128 2012-03-15  Andreas Jaeger  <aj@suse.de>
33130         [BZ #13658]
33131         * math/libm-test.inc (cos_test): Add more test cases.
33132         (sin_test): Likewise.
33133         (sincos_test): Likewise.
33135 2012-03-15  Andreas Jaeger  <aj@suse.de>
33137         [BZ #13837]
33138         * math/libm-test.inc (cos_test): Add a test case for large input
33139         value.
33140         (sin_test): Likewise.
33141         (sincos_test): Likewise.
33143 2012-03-15  Andreas Jaeger  <aj@suse.de>,
33144         Joseph Myers  <joseph@codesourcery.com>
33146         [BZ #13658]
33147         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33148         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33149         * sysdeps/i386/fpu/branred.c: Likewise.
33150         * sysdeps/i386/fpu/dosincos.c: Likewise.
33151         * sysdeps/i386/fpu/mpa.c: Likewise.
33152         * sysdeps/i386/fpu/s_cos.S: Likewise.
33153         * sysdeps/i386/fpu/s_sin.S: Likewise.
33154         * sysdeps/i386/fpu/s_sincos.S: Likewise.
33155         * sysdeps/i386/fpu/sincos32.c: Likewise.
33157         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33158         Define.
33159         (libc_feupdateenv_53bit): Define.
33160         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33161         Define.
33162         (libc_feupdateenv_53bit): Define.
33164         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33165         53 bit (without extend i386 double precision).
33167         * math/libm-test.inc (sincos_test): Add tests for large input.
33168         (sin): Likewise.
33169         (cos): Likewise.
33171         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33173 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33177 2012-03-15  David S. Miller  <davem@davemloft.net>
33179         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33180         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33181         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33182         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33187         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33195         file.
33196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33198         file.
33199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33201         file.
33202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33204         file.
33205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33207         fmin/fmax sysdep routines.
33208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33210 2012-03-14  David S. Miller  <davem@davemloft.net>
33212         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33216         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33217         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33218         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33219         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33224         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33225         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33226         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33227         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33232         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33233         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33234         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33235         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33236         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33237         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33238         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33239         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33240         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33241         routines.
33242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33243         file.
33244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33246         file.
33247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33249         file.
33250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33252         file.
33253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33255         file.
33256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33258         file.
33259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33260         file.
33261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33262         file.
33263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33264         file.
33265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33266         New file.
33267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33268         file.
33269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33270         file.
33271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33273         file.
33274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33276         file.
33277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33279         file.
33280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33282         VIS3 routines.
33284         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33285         New file.
33287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33289         * sysdeps/sparc/configure.in: New file.
33290         * sysdeps/sparc/configure: Generate.
33291         * configure.in (libc_cv_sparc_as_vis3): Substitute.
33292         * configure: Regenerate.
33293         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33294         * config.make.in (have-as-vis3): New.
33295         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33296         available use -Av9d instead of -Av9a.
33297         * sysdeps/sparc/sparc64/Makefile: Likewise.
33298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33300         New file.
33301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33302         file.
33303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33304         New file.
33305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33306         file.
33307         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33308         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33309         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33310         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33311         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33313         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33314         fzeros/fnegs to load 0x80000000 into a float register instead of
33315         using the stack.
33316         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33318 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33321         bits/syscall.h.
33322         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33323         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33324         ($(inst_includedir)/bits/syscall.h): Remove rule.
33325         ($(objpfx)bits/syscall.d): Include instead of
33326         $(objpfx)syscall-list.d.
33327         (generated): Change syscall-list.h and syscall-list.d to
33328         bits/syscall.h and bits/syscall.d.
33330 2012-03-14  Roland McGrath  <roland@hack.frob.com>
33332         [BZ #13846]
33333         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33335 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33337         [BZ #13841]
33338         * math/s_csqrt.c: Include <float.h>.
33339         (__csqrt): Scale large or subnormal inputs.
33340         * math/s_csqrtf.c: Likewise.
33341         * math/s_csqrtl.c: Likewise.
33342         * math/libm-test.inc (csqrt_test): Add more tests.
33343         * sysdeps/i386/fpu/libm-test-ulps: Update.
33344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33346         [BZ #13840]
33347         * math/libm-test.inc (hypot_test): Add more tests.
33349 2012-03-13  David S. Miller  <davem@davemloft.net>
33351         [BZ #13840]
33352         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33353         double-precision for the calculation instead of scaling.
33355 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
33357         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33358         manipulate bits before adding and subtracting TWO52[sx].
33359         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33360         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33361         Likewise.
33362         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33364 2012-03-13  David S. Miller  <davem@davemloft.net>
33366         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33367         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33368         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33369         rtld-global-offsets.h
33370         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33372         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33373         large parameters.
33375         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33377         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33378         'err' in the ifdef scope in which it is actually used.
33380         * nss/nss_db/db-init.c: Include string.h
33382 2012-03-12  David S. Miller  <davem@davemloft.net>
33384         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33385         masking out of the most significant byte of random value used.
33386         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33387         Fix coding style in previous change.
33389         * sysdeps/unix/sysv/linux/kernel-features.h
33390         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33391         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33392         expression.
33393         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33394         later.
33396 2012-03-11  David S. Miller  <davem@davemloft.net>
33398         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33399         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33400         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33401         for 'resultvar' otherwise things get truncated on 64-bit.
33403         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33404         Fix masking out of the most significant byte of random value used.
33406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33408 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
33410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33412 2012-03-09  David S. Miller  <davem@davemloft.net>
33414         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33415         variables with appropriate CPP guards.
33416         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33417         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
33418         on resulting framesize and the management of the outregs buffer for pltexit.
33419         Preserve floating point return values across _dl_call_pltexit call.
33420         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33421         framesize and the management of the outregs buffer for pltexit.
33422         Preserve floating point return values across _dl_call_pltexit
33423         call.
33424         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33425         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33426         (print_exit): Fix format string for return register value.
33428 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
33430         * sunrpc/Makefile (others): Add rpcgen.
33431         ($(objpfx)rpcgen): Remove special build rule and dependency on
33432         libc.
33433         * sunrpc/rpcgen.c: New file.
33435 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
33437         [BZ #13673]
33438         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33439         * stdio-common/bug-vfprintf-nargs.c: Likewise.
33440         * sysdeps/i386/crti.S: Likewise.
33441         * sysdeps/i386/crtn.S: Likewise.
33442         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33443         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33444         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33445         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33446         * sysdeps/sh/crti.S: Likewise.
33447         * sysdeps/sh/crtn.S: Likewise.
33448         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33450         [BZ #13673]
33451         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33452         with URL.
33453         * locale/programs/locfile-kw.gperf: Likewise.
33454         * locale/programs/charmap-kw.h: Regenerated.
33455         * locale/programs/locfile-kw.h: Likewise.
33457         [BZ #13673]
33458         * intl/plural.y: Replace FSF snail mail address with URL.
33459         * intl/plural.c: Regenerated.
33461 2012-03-09  Richard Henderson  <rth@twiddle.net>
33463         * include/math_private.h: Remove file.
33464         * math/math_private.h: Move file ...
33465         * sysdeps/generic/math_private.h: ... here.
33467         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33468         * sysdeps/powerpc/fpu/math_private.h: Likewise.
33469         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33471         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33472         and <math_private.h>.
33473         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33474         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33475         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33476         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33477         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33478         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33479         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33481         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33482         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33484         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33485         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33486         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33487         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33488         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33489         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33490         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33491         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33492         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33494         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33495         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33496         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33497         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33498         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33499         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33500         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33501         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33502         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33503         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33504         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33505         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33506         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33507         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33508         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33509         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33510         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33511         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33512         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33513         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33514         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33515         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33516         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33517         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33518         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33519         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33520         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33521         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33522         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33523         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33524         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33525         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33526         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33527         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33528         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33529         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33530         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33531         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33532         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33533         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33534         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33535         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33536         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33537         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33538         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33539         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33540         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33541         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33542         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33543         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33544         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33545         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33546         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33547         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33548         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33549         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33551         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33552         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33553         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33554         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33555         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33556         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33557         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33559         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33560         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33561         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33562         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33563         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33564         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33565         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33566         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33567         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33568         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33569         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33570         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33571         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33572         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33573         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33574         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33575         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33576         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33577         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33578         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33579         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33580         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33581         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33582         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33583         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33584         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33585         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33586         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33587         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33588         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33589         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33590         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33591         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33592         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33593         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33594         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33595         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33596         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33597         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33598         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33599         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33600         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33601         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33602         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33603         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33604         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33605         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33606         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33607         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33608         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33609         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33610         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33611         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33612         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33613         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33614         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33615         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33616         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33617         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33618         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33619         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33620         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33621         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33622         * sysdeps/ieee754/k_standard.c: Likewise.
33623         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33624         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33625         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33626         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33627         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33628         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33629         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33630         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33631         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33632         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33633         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33634         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33635         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33636         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33637         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33638         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33639         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33640         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33641         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33642         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33643         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33644         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33645         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33646         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33647         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33648         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33649         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33650         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33651         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33653         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33654         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33655         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33656         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33657         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33658         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33659         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33660         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33661         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33662         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33663         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33664         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33665         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33666         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33667         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33668         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33669         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33670         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33671         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33672         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33673         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33674         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33675         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33676         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33677         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33678         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33679         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33680         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33681         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33682         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33683         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33684         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33685         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33686         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33687         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33688         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33689         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33690         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33691         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33692         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33693         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33694         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33695         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33696         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33697         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33698         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33699         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33700         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33701         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33702         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33703         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33704         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33705         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33706         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33707         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33708         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33709         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33710         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33711         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33712         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33713         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33714         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33715         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33716         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33717         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33718         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33719         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33720         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33721         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33722         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33723         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33724         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33725         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33726         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33727         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33728         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33729         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33730         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33731         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33732         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33733         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33734         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33735         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33736         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33737         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33738         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33739         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33740         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33741         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33742         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33743         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33744         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33745         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33746         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33747         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33748         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33749         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33750         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33751         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33752         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33753         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33754         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33755         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33756         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33757         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33758         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33759         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33760         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33761         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33762         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33763         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33764         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33765         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33766         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33767         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33768         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33769         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33770         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33771         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33772         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33773         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33774         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33775         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33776         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33777         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33778         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33779         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33780         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33781         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33782         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33783         * sysdeps/ieee754/s_lib_version.c: Likewise.
33784         * sysdeps/ieee754/s_matherr.c: Likewise.
33785         * sysdeps/ieee754/s_signgam.c: Likewise.
33786         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33787         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33788         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33789         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33790         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33791         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33792         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33793         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33794         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33795         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33796         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33797         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33798         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33799         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33800         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33801         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33802         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33803         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33804         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33805         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33808 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33810         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33811         * sunrpc/rpc_main.c: Likewise.
33812         * sunrpc/rpc_svcout.c: Likewise.
33814 2012-03-09  David S. Miller  <davem@davemloft.net>
33816         * include/math_private.h: New file.
33818 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33820         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33821         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33822         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33823         from <bits/socket_type.h>.
33824         (enum __socket_type): Don't define here.
33825         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33827         bits/socket_type.h.
33829         [BZ #13566]
33830         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33831         checking __USE_GNU.
33833         * Makerules ($(inst_includedir)/%.h): New rule.
33834         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33835         (install-others): Remove variable setting.
33836         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33838 2012-03-08  Richard Henderson  <rth@twiddle.net>
33840         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33841         from macro to inline function; merge with the
33842         !__LIBC_INTERNAL_MATH_INLINES version.
33843         (__ieee754_sqrtf): Likewise.
33845         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33846         to inline function.
33847         (__rintf, __floor, __floorf): Likewise.
33849         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33850         macro to inline function.
33851         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33853         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33854         not <math/math_private.h>.
33856 2012-03-08  David S. Miller  <davem@davemloft.net>
33858         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33859         copyright year.
33860         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33862 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
33864         * resolv/gai_misc.c (handle_requests): Fix struct timespec
33865         normalization.
33866         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33867         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33869 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
33871         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
33872         be defined individually, they must be defined as a block.  Define
33873         S for printing a string instead of hidint the different by using a
33874         macro for adding the 'l'.
33875         * stdio-common/tst-fphex-wide.c: Adjust.
33877 2012-03-07  Marek Polacek  <polacek@redhat.com>
33879         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33881 2012-03-08  Marek Polacek  <polacek@redhat.com>
33883         [BZ #13806]
33884         * stdio-common/Makefile (tests): Add tst-fphex-wide.
33885         * stdio-common/tst-fphex.c: Define a few macros to make the
33886         test reusable.  Use them.
33887         * stdio-common/tst-fphex-wide.c: New file.
33889 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
33891         [BZ #6911]
33892         * manual/macros.texi (gnusystems): New macro.
33893         (nongnusystems): Likewise.
33894         (gnulinuxhurdsystems): Likewise.
33895         (gnuhurdsystems): Likewise..
33896         (gnulinuxsystems): Likewise.
33897         * manual/charset.texi: Use new macros or @theglibc{} to refer to
33898         variants of the GNU system, not "GNU system".
33899         * manual/conf.texi: Likewise.
33900         * manual/errno.texi: Likewise.  Update example of errno macro
33901         expansion.
33902         * manual/filesys.texi: Likewise.
33903         (getumask): Document as specific to GNU/Hurd.
33904         * manual/install.texi: Likewise.  Reword some references to
33905         GNU/Linux.
33906         * manual/intro.texi: Likewise.
33907         * manual/io.texi: Likewise.
33908         (File Name Portability): Detail which constraints are inapplicable
33909         to all GNU systems and which are only inapplicable to GNU/Hurd.
33910         * manual/job.texi: Likewise.
33911         * manual/llio.texi: Likewise.
33912         (O_NOCTTY): Document as present on GNU/Linux.
33913         * manual/maint.texi: Likewise.
33914         * manual/memory.texi: Likewise.
33915         * manual/pattern.texi: Likewise.
33916         * manual/pipe.texi: Likewise.
33917         * manual/process.texi: Likewise.
33918         * manual/resource.texi: Likewise.
33919         (RUSAGE_CHILDREN): Remove statement about specifying a particular
33920         child on GNU/Hurd.
33921         * manual/setjmp.texi: Likewise.
33922         * manual/signal.texi: Likewise.
33923         * manual/startup.texi: Likewise.
33924         * manual/stdio.texi: Likewise.
33925         * manual/terminal.texi: Likewise.
33926         (ONLCR): Document as POSIX.
33927         (OXTABS): Document availability on GNU/Linux as XTABS.
33928         (ONOEOT): Document availability separately from other bits.
33929         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33930         * manual/time.texi: Likewise.
33931         * manual/users.texi: Likewise.
33932         * INSTALL: Regenerated.
33933         * sysdeps/gnu/errlist.c: Regenerated.
33935         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33936         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33937         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
33938         puts.
33939         * configure: Regenerated.
33941 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
33943         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33944         default includes instead of AC_HEADER_CHECK.
33945         * sysdeps/i386/configure: Regenerated.
33947         [BZ #10716]
33948         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33949         * math/s_cacoshf.c (__cacoshf): Likewise.
33950         * math/s_cacoshl.c (__cacoshl): Likewise.
33951         * math/s_casinh.c (__casinh): Set signs of result from argument.
33952         * math/s_casinhf.c (__casinhf): Likewise.
33953         * math/s_casinhl.c (__casinhl): Likewise.
33954         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33955         (casinh_test): Add more tests.
33956         * sysdeps/i386/fpu/libm-test-ulps: Update.
33957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33959 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
33961         * po/zh_TW.po: Update from translation team.
33963         * login/Makefile (distribute): Remove variable.
33964         * catgets/Makefile: Likewise.
33965         * mach/Makefile: Likewise.
33966         * malloc/Makefile: Likewise.
33967         * misc/Makefile: Likewise.
33968         * iconv/Makefile: Likewise.
33969         * nscd/Makefile: Likewise.
33970         * hurd/Makefile: Likewise.
33971         * manual/Makefile: Likewise.
33972         * locale/Makefile: Likewise.
33973         * intl/Makefile: Likewise.
33974         * conform/Makefile: Likewise.
33975         * nss/Makefile: Likewise.
33976         * time/Makefile: Likewise.
33977         * soft-fp/Makefile: Likewise.
33978         * dirent/Makefile: Likewise.
33979         * gmon/Makefile: Likewise.
33980         * po/Makefile: Likewise.
33981         * rt/Makefile: Likewise.
33982         * socket/Makefile: Likewise.
33983         * math/Makefile: Likewise.
33984         * signal/Makefile: Likewise.
33985         * debug/Makefile: Likewise.
33986         * elf/Makefile: Likewise.
33987         * timezone/Makefile: Likewise.
33988         * stdlib/Makefile: Likewise.
33989         * iconvdata/Makefile: Likewise.
33990         * sunrpc/Makefile: Likewise.
33991         * io/Makefile: Likewise.
33992         * argp/Makefile: Likewise.
33993         * inet/Makefile: Likewise.
33994         * hesiod/Makefile: Likewise.
33995         * grp/Makefile: Likewise.
33996         * csu/Makefile: Likewise.
33997         * wctype/Makefile: Likewise.
33998         * crypt/Makefile: Likewise.
33999         * libio/Makefile: Likewise.
34000         * string/Makefile: Likewise.
34001         * nis/Makefile: Likewise.
34002         * resolv/Makefile: Likewise.
34003         * stdio-common/Makefile: Likewise.
34004         * wcsmbs/Makefile: Likewise.
34005         * dlfcn/Makefile: Likewise.
34006         * posix/Makefile: Likewise.
34008         [BZ #6959]
34009         * timezone/Makefile: Don't install timezone files, just the programs
34010         and scripts.
34012 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
34014         * nss/databases.def: Add missing gshadow entry.
34016         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34018 2012-03-06  Marek Polacek  <polacek@redhat.com>
34020         [BZ #13726]
34021         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34022         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34023         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34024         * stdio-common/tst-long-dbl-fphex.c: New file.
34026 2012-03-06  David S. Miller  <davem@davemloft.net>
34028         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34029         (set_obp_int): New function.
34030         (get_obp_int): New function.
34031         (__get_clockfreq_via_dev_openprom): Likewise.
34032         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34033         Avoid unused variable warnings on 'val' and use builtin_expect.
34034         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34035         __builtin_expect.
34036         (INLINE_CLONE_SYSCALL): Likewise.
34038 2012-03-05  David S. Miller  <davem@davemloft.net>
34040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34042 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34046         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34047         only for |x| >= 40.
34048         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34050 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34052         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34053         Replace gettimeofday with __vdso_gettimeofday.
34055         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34056         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34057         __vdso_clock_gettime and __vdso_getcpu.
34059         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34060         time with __vdso_time.
34062 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34064         * manual/lang.texi (size_t): Note types to which size_t may be
34065         equivalent with the GNU C Library, but do not describe when
34066         differences between them are significant.
34068 2012-03-05  Andreas Jaeger  <aj@suse.de>
34070         * sysdeps/i386/fpu/libm-test-ulps: Update.
34072 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34074         [BZ #3976]
34075         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34076         (__ieee754_pow): Save and restore rounding mode and use
34077         round-to-nearest for main computations.
34078         * math/libm-test.inc (pow_test_tonearest): New function.
34079         (pow_test_towardzero): Likewise.
34080         (pow_test_downward): Likewise.
34081         (pow_test_upward): Likewise.
34082         (main): Call the new functions.
34083         * sysdeps/i386/fpu/libm-test-ulps: Update.
34084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34086         [BZ #3976]
34087         * math/libm-test.inc (cosh_test_tonearest): New function.
34088         (cosh_test_towardzero): Likewise.
34089         (cosh_test_downward): Likewise.
34090         (cosh_test_upward): Likewise.
34091         (sinh_test_tonearest): Likewise.
34092         (sinh_test_towardzero): Likewise.
34093         (sinh_test_downward): Likewise.
34094         (sinh_test_upward): Likewise.
34095         (main): Call the new functions.
34096         * sysdeps/i386/fpu/libm-test-ulps: Update.
34097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34099 2012-03-05  Tom de Vries  <tom@codesourcery.com>
34101         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34102         default stack guard is set in last bytes.
34103         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34105 2012-03-05  Kees Cook  <keescook@chromium.org>
34107         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34109         [BZ #13656]
34110         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34111         possibly allocate from heap instead of stack.
34112         * stdio-common/bug-vfprintf-nargs.c: New file.
34113         * stdio-common/Makefile (tests): Add nargs overflow test.
34115 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
34117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34119 2012-03-03  Marek Polacek  <polacek@redhat.com>
34121         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34122         * math/math_private.h: Likewise.
34123         * stdlib/tst-strtod.c: Likewise.
34124         * sysdeps/i386/i486/bits/atomic.h: Likewise.
34125         * sysdeps/x86_64/bits/atomic.h: Likewise.
34127 2012-03-02  David S. Miller  <davem@davemloft.net>
34129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34133         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34134         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34135         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34136         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34138 2012-03-02  Roland McGrath  <roland@hack.frob.com>
34140         [BZ #13792]
34141         * manual/examples/README: New file, says the example source files
34142         can be used under GPL>=2.
34143         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34144         line containing just "*/".
34145         * manual/examples/add.c: Add copyright header (GPL>=2).
34146         * manual/examples/argp-ex1.c: Likewise.
34147         * manual/examples/argp-ex2.c: Likewise.
34148         * manual/examples/argp-ex3.c: Likewise.
34149         * manual/examples/argp-ex4.c: Likewise.
34150         * manual/examples/atexit.c: Likewise.
34151         * manual/examples/db.c: Likewise.
34152         * manual/examples/dir.c: Likewise.
34153         * manual/examples/dir2.c: Likewise.
34154         * manual/examples/execinfo.c: Likewise.
34155         * manual/examples/filecli.c: Likewise.
34156         * manual/examples/filesrv.c: Likewise.
34157         * manual/examples/fmtmsgexpl.c: Likewise.
34158         * manual/examples/genpass.c: Likewise.
34159         * manual/examples/inetcli.c: Likewise.
34160         * manual/examples/inetsrv.c: Likewise.
34161         * manual/examples/isockad.c: Likewise.
34162         * manual/examples/longopt.c: Likewise.
34163         * manual/examples/memopen.c: Likewise.
34164         * manual/examples/memstrm.c: Likewise.
34165         * manual/examples/mkfsock.c: Likewise.
34166         * manual/examples/mkisock.c: Likewise.
34167         * manual/examples/mygetpass.c: Likewise.
34168         * manual/examples/pipe.c: Likewise.
34169         * manual/examples/popen.c: Likewise.
34170         * manual/examples/rprintf.c: Likewise.
34171         * manual/examples/search.c: Likewise.
34172         * manual/examples/select.c: Likewise.
34173         * manual/examples/setjmp.c: Likewise.
34174         * manual/examples/sigh1.c: Likewise.
34175         * manual/examples/sigusr.c: Likewise.
34176         * manual/examples/stpcpy.c: Likewise.
34177         * manual/examples/strdupa.c: Likewise.
34178         * manual/examples/strftim.c: Likewise.
34179         * manual/examples/strncat.c: Likewise.
34180         * manual/examples/subopt.c: Likewise.
34181         * manual/examples/swapcontext.c: Likewise.
34182         * manual/examples/termios.c: Likewise.
34183         * manual/examples/testopt.c: Likewise.
34184         * manual/examples/testpass.c: Likewise.
34185         * manual/examples/timeval_subtract.c: Likewise.
34187         [BZ #13792]
34188         * manual/time.texi (Elapsed Time): Move timeval_subtract example
34189         function to ...
34190         * manual/timeval_subtract.c.texi: ... here, new file.
34192 2012-03-02  David S. Miller  <davem@davemloft.net>
34194         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34196 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
34198         [BZ #3976]
34199         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34200         (__sin): Save and restore rounding mode and use round-to-nearest
34201         for all computations.
34202         (__cos): Save and restore rounding mode and use round-to-nearest
34203         for all computations.
34204         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34205         <fenv.h>.
34206         (tan): Save and restore rounding mode and use round-to-nearest for
34207         all computations.
34208         * math/libm-test.inc (cos_test_tonearest): New function.
34209         (cos_test_towardzero): Likewise.
34210         (cos_test_downward): Likewise.
34211         (cos_test_upward): Likewise.
34212         (sin_test_tonearest): Likewise.
34213         (sin_test_towardzero): Likewise.
34214         (sin_test_downward): Likewise.
34215         (sin_test_upward): Likewise.
34216         (tan_test_tonearest): Likewise.
34217         (tan_test_towardzero): Likewise.
34218         (tan_test_downward): Likewise.
34219         (tan_test_upward): Likewise.
34220         (main): Call the new functions.
34221         * sysdeps/i386/fpu/libm-test-ulps: Update.
34222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34224         [BZ #10135]
34225         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34226         small n, then large n, before computing and testing k+n.
34227         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34228         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34229         Likewise.
34230         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34231         Likewise.
34232         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34233         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34234         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34235         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34236         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34237         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34238         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34239         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34240         * math/libm-test.inc (scalbn_test): Add more tests.
34241         (scalbln_test): Likewise.
34243         * manual/filesys.texi (mode_t): Describe constraints on size and
34244         signedness, not exact equivalence to a particular type.
34245         (ino_t): Likewise.
34246         (ino64_t): Likewise.
34247         (dev_t): Likewise.
34248         (nlink_t): Likewise.
34249         (blkcnt_t): Likewise.
34250         (blkcnt64_t): Likewise.
34251         * manual/llio.texi (off_t): Likewise.
34253         [BZ #3976]
34254         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34255         (__ieee754_exp): Save and restore rounding mode and use
34256         round-to-nearest for all computations.
34257         * math/libm-test.inc (exp_test_tonearest): New function.
34258         (exp_test_towardzero): Likewise.
34259         (exp_test_downward): Likewise.
34260         (exp_test_upward): Likewise.
34261         (main): Call the new functions.
34262         * sysdeps/i386/fpu/libm-test-ulps: Update.
34263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34265 2012-03-01  Chris Demetriou  <cgd@google.com>
34267         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34268         have predictable order.
34270 2012-03-01  David S. Miller  <davem@davemloft.net>
34272         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34274         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34275         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34276         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34277         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34279         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34280         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34281         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34283         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34284         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34285         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34286         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34287         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34291         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34292         * sysdeps/sparc/fpu/libm-test-ulps: to here.
34293         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34295         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34296         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34297         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34298         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34299         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34300         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34301         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34302         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34303         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34304         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34305         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34306         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34308         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34309         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34310         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34311         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34312         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34313         * sysdeps/sparc/elf/configure: Regenerated.
34315 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
34317         * configure.in (AS, LD): Require binutils 2.20 or later.
34318         * configure: Regenerated.
34319         * manual/install.texi (Tools for Compilation): Give binutils 2.20
34320         as required minimum version.
34321         * INSTALL: Regenerated.
34323         [BZ #2541]
34324         [BZ #4108]
34325         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34326         before squaring exponent.
34327         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34328         bottom long double and 27 bits of top long double before squaring
34329         exponent.
34330         * math/libm-test.inc (erfc_test): Add more tests.
34331         * sysdeps/i386/fpu/libm-test-ulps: Update.
34332         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34335 2012-03-01  Kai Tietz  <ktietz@redhat.com>
34337         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34338         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34339         containing bit-fields.
34340         * soft-fp/extended.h (_FP_UNION_E): Likewise.
34341         * soft-fp/single.h (_FP_UNION_S): Likewise.
34342         * soft-fp/double.h (_FP_UNION_D): Likewise.
34344 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34346         [BZ #13786]
34347         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34348         not include ../strcmp.S.
34349         [USE_AS_STRNCASECMP_L]: Likewise.
34350         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34351         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34352         * sysdeps/i386/i686/multiarch/strncase_l-c.c
34353         (__strncasecmp_l_ia32): Define as alias to
34354         __strncasecmp_l_nonascii.
34356         [BZ #5794]
34357         * math/libm-test.inc (expm1_test): Add test for bug 5794.
34358         * sysdeps/i386/fpu/libm-test-ulps: Update.
34359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34361         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34364 2012-02-29  Jeff Law  <law@redhat.com>
34366         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34367         out of bounds read.
34369 2012-02-29  Marek Polacek  <polacek@redhat.com>
34371         [BZ #13706]
34372         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34373         * elf/Makefile: Add rules to run tst-unused-dep.out.
34375 2012-02-28  David S. Miller  <davem@davemloft.net>
34377         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34378         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34379         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34380         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34381         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34382         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34384 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34386         * math/libm-test.inc (llround_test): Move one test from
34387         lround_test.  Use TEST_f_L in moved test.
34388         (lround_test): Move misplaced test to llround_test.  Add testcase
34389         from bug 2561.
34391 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
34393         * sysdeps/x86_64/fpu/e_expf.S: New file.
34394         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34396 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
34398         [BZ #13637]
34399         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34400         of remain_len that may cause incomplete multi-byte character and
34401         false match.
34402         * posix/bug-regex33.c: New file.
34403         * posix/Makefile (tests): Add bug-regex33.
34405 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
34407         * manual/macros.texi: New file.
34408         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34409         * manual/libc.texinfo: Include macros.texi.
34410         * manual/creatute.texi: Likewise.
34411         * manual/install.texi: Likewise.
34412         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34413         @glibcadj{} in references to the GNU C Library.
34414         * manual/charset.texi: Likewise.
34415         * manual/conf.texi: Likewise.
34416         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
34417         when not using those macros.
34418         * manual/creature.texi: Likewise.
34419         * manual/crypt.texi: Likewise.
34420         * manual/errno.texi: Likewise.
34421         * manual/filesys.texi: Likewise.
34422         * manual/header.texi: Likewise.
34423         * manual/install.texi: Likewise.
34424         * manual/intro.texi: Likewise.
34425         * manual/io.texi: Likewise.
34426         * manual/job.texi: Likewise.
34427         * manual/lang.texi: Likewise.
34428         * manual/libc.texiinfo: Likewise.
34429         * manual/llio.texi: Likewise.
34430         * manual/locale.texi: Likewise.
34431         * manual/maint.texi: Likewise.
34432         * manual/math.texi: Likewise.
34433         * manual/memory.texi: Likewise.
34434         * manual/message.texi: Likewise.
34435         * manual/nss.texi: Likewise.
34436         * manual/pattern.texi: Likewise.
34437         * manual/process.texi: Likewise.
34438         * manual/resource.texi: Likewise.
34439         * manual/search.texi: Likewise.
34440         * manual/setjmp.texi: Likewise.
34441         * manual/signal.texi: Likewise.
34442         * manual/socket.texi: Likewise.
34443         * manual/startup.texi: Likewise.
34444         * manual/stdio.texi: Likewise.
34445         * manual/string.texi: Likewise.
34446         * manual/sysinfo.texi: Likewise.
34447         * manual/syslog.texi: Likewise.
34448         * manual/terminal.texi: Likewise.
34449         * manual/time.texi: Likewise.
34450         * manual/users.texi: Likewise.
34451         * INSTALL: Regenerated.
34452         * NOTES: Regenerated.
34453         * sysdeps/gnu/errlist.c: Regenerated.
34455 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
34457         * include/dirent.h: Include <dirstream.h> before
34458         <dirent/dirent.h>.
34460 2012-02-28  David S. Miller  <davem@davemloft.net>
34462         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34463         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34464         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34465         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34467 2012-02-27  David S. Miller  <davem@davemloft.net>
34469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34471         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34472         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34475         frame pointer instead of stack pointer relative arg slot.
34476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34477         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34478         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34480 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
34482         [BZ #3992]
34483         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34485 2012-02-27  David S. Miller  <davem@davemloft.net>
34487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34491         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34492         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34493         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34494         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34496 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34498         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34499         later.  Allow versions 5-9.
34500         * configure: Regenerated.
34501         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34502         required minimum version and 4.6 as recommended version.  Do not
34503         mention bugs in GCC 2.7 and 2.8.
34504         * INSTALL: Regenerated.
34506 2012-02-27  David S. Miller  <davem@davemloft.net>
34508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34512         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34513         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34514         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34515         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34517         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34518         manipulate bits before adding and subtracting TWO112[sx].
34519         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34521 2012-02-27  Roland McGrath  <roland@hack.frob.com>
34523         [BZ #13775]
34524         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34525         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34526         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34527         being in POSIX, because they are in 1003.1-2008.
34529         * rt/tst-aio.c: Include <fcntl.h>.
34530         * rt/tst-aio7.c: Likewise.
34531         * rt/tst-aio64.c: Likewise.
34533         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34535 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34537         * manual/install.texi (--with-headers): Describe headers as
34538         interface headers, not private headers.
34539         (Specific advice for GNU/Linux systems): Describe use of headers
34540         from "make headers_install", not private headers from older
34541         kernels.
34542         * INSTALL: Regenerated.
34543         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34544         Change to 2.6.19.
34545         * sysdeps/unix/sysv/linux/configure: Regenerated.
34547         * manual/llio.texi (fclean): Remove documentation.
34549         * manual/Makefile (libc-texi-generated): New variable.  Include
34550         version.texi.
34551         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34552         $(libc-texi-generated), not duplicated list of files.
34553         (version.texi, stamp-version): New rules.
34554         (realclean): Remove $(libc-texi-generated), not individual files
34555         from that list.  Do not remove dir-add.texinfo.
34556         * manual/libc.texinfo: Comment out uses of edition numbers and
34557         references to printed manual.  Remove last-updated dates.
34558         (EDITION): Comment out.
34559         (ISBN): Likewise.
34560         (VERSION, UPDATED): Remove.
34561         (version.texi): Include.
34563 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34565         * sysdeps/posix/spawni.c: Include <signal.h>.
34566         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34567         * sysdeps/pthread/aio_fsync.c: Likewise.
34569 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34571         * conform/Makefile (tests): Run only when not cross-compiling and
34572         when fast-check is not defined.
34574         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34575         * conform/data/limits.h-data: Fixes for POSIX2008.
34576         * conform/run-conformtest.sh: Run all tests.
34577         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34578         headers.
34579         * include/bits/dlfcn.h: Likewise.
34580         * include/langinfo.h: Likewise.
34581         * include/monetary.h: Likewise.
34582         * include/sys/poll.h: Likewise.
34584         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34585         for __USE_GNU.
34586         * posix/spawn.h: Define __need_sigset_t.
34587         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34588         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34589         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34590         to get sigevent_t only.
34591         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34592         only for __USE_GNU.
34593         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34594         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34595         process_vm_writev only for __USE_GNU.
34596         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34598         * conform/Makefile: For now ignore errors from run-conformtest.
34599         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34600         POSIX to avoid namespace pollution.  Don't prepend headers.
34601         * conform/data/aio.h-data: Fixes for POSIX testing.
34602         * conform/data/fcntl.h-data: Likewise.
34603         * conform/data/glob.h-data: Likewise.
34604         * conform/data/grp.h-data: Likewise.
34605         * conform/data/pthread.h-data: Likewise.
34606         * conform/data/pwd.h-data: Likewise.
34607         * conform/data/signal.h-data: Likewise.
34608         * conform/data/spawn.h-data: Likewise.
34609         * conform/data/stdio.h-data: Likewise.
34610         * conform/data/stdlib.h-data: Likewise.
34611         * conform/data/stropts.h-data: Likewise.
34612         * conform/data/sys/mman.h-data: Likewise.
34613         * conform/data/sys/stat.h-data: Likewise.
34614         * conform/data/sys/types.h-data: Likewise.
34615         * conform/data/sys/wait.h-data: Likewise.
34616         * conform/data/time.h-data: Likewise.
34617         * conform/data/unistd.h-data: Likewise.
34618         * conform/data/utime.h-data: Likewise.
34620         * io/sys/stat.h: fchmod was always in POSIX.
34621         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34622         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34623         * rt/aio.h: Define __need_timespec before including <time.h>.
34624         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34625         struct.  Add forward declaration of pthread_attr_t and use it in
34626         sigevent.
34627         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34628         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34629         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34630         always remove CLK_TCK definition.
34632 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
34634         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34636 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
34638         * conform/run-conformtest.sh: New file.
34639         * conform/Makefile: Run run-conformtest for tests.
34640         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
34641         support.
34643         * conform/data/uchar.h-data: New file.
34644         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34645         * conform/data/arpa/inet.h-data: Likewise.
34646         * conform/data/assert.h-data: Likewise.
34647         * conform/data/complex.h-data: Likewise.
34648         * conform/data/cpio.h-data: Likewise.
34649         * conform/data/ctype.h-data: Likewise.
34650         * conform/data/dirent.h-data: Likewise.
34651         * conform/data/dlfcn.h-data: Likewise.
34652         * conform/data/errno.h-data: Likewise.
34653         * conform/data/fcntl.h-data: Likewise.
34654         * conform/data/float.h-data: Likewise.
34655         * conform/data/fmtmsg.h-data: Likewise.
34656         * conform/data/fnmatch.h-data: Likewise.
34657         * conform/data/ftw.h-data: Likewise.
34658         * conform/data/glob.h-data: Likewise.
34659         * conform/data/grp.h-data: Likewise.
34660         * conform/data/iconv.h-data: Likewise.
34661         * conform/data/inttypes.h-data: Likewise.
34662         * conform/data/langinfo.h-data: Likewise.
34663         * conform/data/libgen.h-data: Likewise.
34664         * conform/data/limits.h-data: Likewise.
34665         * conform/data/locale.h-data: Likewise.
34666         * conform/data/math.h-data: Likewise.
34667         * conform/data/monetary.h-data: Likewise.
34668         * conform/data/mqueue.h-data: Likewise.
34669         * conform/data/ndbm.h-data: Likewise.
34670         * conform/data/net/if.h-data: Likewise.
34671         * conform/data/netdb.h-data: Likewise.
34672         * conform/data/netinet/in.h-data: Likewise.
34673         * conform/data/nl_types.h-data: Likewise.
34674         * conform/data/poll.h-data: Likewise.
34675         * conform/data/pthread.h-data: Likewise.
34676         * conform/data/pwd.h-data: Likewise.
34677         * conform/data/regex.h-data: Likewise.
34678         * conform/data/sched.h-data: Likewise.
34679         * conform/data/search.h-data: Likewise.
34680         * conform/data/semaphore.h-data: Likewise.
34681         * conform/data/setjmp.h-data: Likewise.
34682         * conform/data/signal.h-data: Likewise.
34683         * conform/data/spawn.h-data: Likewise.
34684         * conform/data/stdarg.h-data: Likewise.
34685         * conform/data/stdio.h-data: Likewise.
34686         * conform/data/stdlib.h-data: Likewise.
34687         * conform/data/string.h-data: Likewise.
34688         * conform/data/strings.h-data: Likewise.
34689         * conform/data/stropts.h-data: Likewise.
34690         * conform/data/sys/ipc.h-data: Likewise.
34691         * conform/data/sys/mman.h-data: Likewise.
34692         * conform/data/sys/msg.h-data: Likewise.
34693         * conform/data/sys/resource.h-data: Likewise.
34694         * conform/data/sys/select.h-data: Likewise.
34695         * conform/data/sys/sem.h-data: Likewise.
34696         * conform/data/sys/shm.h-data: Likewise.
34697         * conform/data/sys/socket.h-data: Likewise.
34698         * conform/data/sys/stat.h-data: Likewise.
34699         * conform/data/sys/statvfs.h-data: Likewise.
34700         * conform/data/sys/time.h-data: Likewise.
34701         * conform/data/sys/timeb.h-data: Likewise.
34702         * conform/data/sys/times.h-data: Likewise.
34703         * conform/data/sys/types.h-data: Likewise.
34704         * conform/data/sys/uio.h-data: Likewise.
34705         * conform/data/sys/un.h-data: Likewise.
34706         * conform/data/sys/utsname.h-data: Likewise.
34707         * conform/data/sys/wait.h-data: Likewise.
34708         * conform/data/syslog.h-data: Likewise.
34709         * conform/data/tar.h-data: Likewise.
34710         * conform/data/termios.h-data: Likewise.
34711         * conform/data/utime.h-data: Likewise.
34712         * conform/data/utmpx.h-data: Likewise.
34713         * conform/data/varargs.h-data: Likewise.
34714         * conform/data/wchar.h-data: Likewise.
34715         * conform/data/wctype.h-data: Likewise.
34716         * conform/data/wordexp.h-data: Likewise.
34718         * include/stropts.h: New file.
34719         * include/uchar.h: New file.
34720         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34721         * include/assert.h: Likewise.
34722         * include/ctype.h: Likewise.
34723         * include/dirent.h: Likewise.
34724         * include/dlfcn.h: Likewise.
34725         * include/fcntl.h: Likewise.
34726         * include/fnmatch.h: Likewise.
34727         * include/glob.h: Likewise.
34728         * include/grp.h: Likewise.
34729         * include/libio.h: Likewise.
34730         * include/locale.h: Likewise.
34731         * include/math.h: Likewise.
34732         * include/net/if.h: Likewise.
34733         * include/netdb.h: Likewise.
34734         * include/netinet/in.h: Likewise.
34735         * include/pthread.h: Likewise.
34736         * include/pwd.h: Likewise.
34737         * include/regex.h: Likewise.
34738         * include/sched.h: Likewise.
34739         * include/search.h: Likewise.
34740         * include/setjmp.h: Likewise.
34741         * include/signal.h: Likewise.
34742         * include/stdio.h: Likewise.
34743         * include/stdlib.h: Likewise.
34744         * include/string.h: Likewise.
34745         * include/sys/cdefs.h: Likewise.
34746         * include/sys/mman.h: Likewise.
34747         * include/sys/msg.h: Likewise.
34748         * include/sys/resource.h: Likewise.
34749         * include/sys/select.h: Likewise.
34750         * include/sys/socket.h: Likewise.
34751         * include/sys/stat.h: Likewise.
34752         * include/sys/statvfs.h: Likewise.
34753         * include/sys/time.h: Likewise.
34754         * include/sys/times.h: Likewise.
34755         * include/sys/uio.h: Likewise.
34756         * include/sys/utsname.h: Likewise.
34757         * include/sys/wait.h: Likewise.
34758         * include/termios.h: Likewise.
34759         * include/time.h: Likewise.
34760         * include/ulimit.h: Likewise.
34761         * include/unistd.h: Likewise.
34762         * include/utime.h: Likewise.
34763         * include/wchar.h: Likewise.
34764         * include/wctype.h: Likewise.
34765         * include/wordexp.h: Likewise.
34767         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34769         * time/time.h: TIME_UTC must be a macro.
34770         Make timespec_get available for ISO C11 only as well.
34772 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34774         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34775         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34777 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34779         * configure.in: Use -o not -a in test for unsupported multi-arch.
34781 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34783         * manual/texinfo.tex: Update to version 2012-01-19.16.
34785 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34787         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34789 2012-02-24  Roland McGrath  <roland@hack.frob.com>
34791         [BZ #13738]
34792         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34793         * manual/fdl-1.3.texi: New file.
34794         * manual/fdl-1.1.texi: File removed.
34796         [BZ #13738]
34797         * manual/libc.texinfo (FDL_VERSION): New @set.
34798         Use it for mention of FDL in cover text.
34799         (Documentation License): Use it in @include file name.
34801 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34802             Roland McGrath  <roland@hack.frob.com>
34804         [BZ #5461]
34805         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34806         not LONG_LONG_MAX and LONG_LONG_MIN.
34807         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34808         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
34809         name.
34810         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34812 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34814         [BZ #2547]
34815         [BZ #11365]
34816         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34817         manipulate bits before adding and subtracting TWO23[sx].
34818         * math/libm-test.inc (nearbyint_test): Add more tests.
34820 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34822         [BZ #2548]
34823         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34824         bits before adding and subtracting TWO23[sx].
34825         * math/libm-test.inc (rint_test): Add more tests.
34826         (rint_test_tonearest): Likewise.
34827         (rint_test_towardzero): Likewise.
34828         (rint_test_downward): Likewise.
34829         (rint_test_upward: Likewise.
34831 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34833         [BZ #10110]
34834         * include/stdc-predef.h: New file.  Extracted from features.h.
34835         * include/features.h: Include stdc-predef.h.
34836         * Makefile (headers): Add stdc-predef.h.
34837         * CONFORMANCE (Compiler limitations): Update.
34839 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34841         * manual/libc.texinfo (VERSION, UPDATED): Revert.
34843 2012-02-21  David S. Miller  <davem@davemloft.net>
34845         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34846         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34848 2012-02-20  David S. Miller  <davem@davemloft.net>
34850         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34851         using a normal save/restore sequence, rather than allocating a
34852         dummy stack frame just to store a frame pointer and restore.
34853         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34855 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34857         * manual/install.texi: Fix stray word in line-wrapped comment.
34859 2012-02-20  David S. Miller  <davem@davemloft.net>
34861         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34862         both binutils and gcc support GOTDATA.
34864         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34865         "rd %pc" in the PIC register setup sequences.
34867         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34868         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34869         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34870         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34871         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34872         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34873         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34874         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34875         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34876         (SYSCALL_ERROR_HANDLER): Likewise.
34877         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34878         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34879         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34880         (SYSCALL_ERROR_HANDLER): Likewise.
34882         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34883         (HAVE_GCC_GOTDATA): New.
34884         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34885         relocation support in both binutils and gcc.
34886         * sysdeps/sparc/elf/configure: Regenerate.
34888         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34889         * sysdeps/sparc/sparc32/elf/configure: Delete.
34890         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34891         * sysdeps/sparc/sparc64/elf/configure: Delete.
34892         * sysdeps/sparc/elf/configure.in: New file.
34893         * sysdeps/sparc/elf/configure: Generate.
34895         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34896         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34897         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34898         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34899         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34901 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34903         * manual/install.texi: Do not mention specific glibc version
34904         numbers.
34905         * manual/libc.texinfo (VERSION, UPDATED): Update.
34906         (@copying): Use @copyright{} and range of years.
34908 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34910         [BZ #13695]
34911         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34912         [crti.S not in sysdirs] (generated): Do not append.
34913         [crti.S not in sysdirs] (omit-deps): Likewise.
34914         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34915         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34916         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34917         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34918         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34919         Likewise.
34920         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34921         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34922         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34923         * csu/defs.awk: Remove file.
34924         * sysdeps/generic/initfini.c: Likewise.
34925         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34926         variable.
34927         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34928         Likewise.
34930 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34932         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34933         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34934         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34935         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34936         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34937         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34938         <bits/epoll.h>.
34939         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34940         (__EPOLL_PACKED): Define to empty if not defined by
34941         <bits/epoll.h>.
34942         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34944         bits/epoll.h.
34946 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34948         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34949         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34950         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34951         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34952         <bits/timerfd.h>.
34953         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34955         bits/timerfd.h.
34957 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34959         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34960         in C locale.
34961         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34962         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34963         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34966 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
34968         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34969         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34971 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
34973         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34974         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34975         defined.
34976         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34977         Likewise.
34978         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34979         entry for 2.16.
34981 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
34983         * math/w_acos.c: Use non-signaling floating-point comparisons.
34984         * math/w_acosf.c: Likewise.
34985         * math/w_acosh.c: Likewise.
34986         * math/w_acoshf.c: Likewise.
34987         * math/w_acoshl.c: Likewise.
34988         * math/w_acosl.c: Likewise.
34989         * math/w_asin.c: Likewise.
34990         * math/w_asinf.c: Likewise.
34991         * math/w_asinl.c: Likewise.
34992         * math/w_atanh.c: Likewise.
34993         * math/w_atanhf.c: Likewise.
34994         * math/w_atanhl.c: Likewise.
34995         * math/w_exp2.c: Likewise.
34996         * math/w_exp2f.c: Likewise.
34997         * math/w_exp2l.c: Likewise.
34998         * math/w_j0.c: Likewise.
34999         * math/w_j0f.c: Likewise.
35000         * math/w_j0l.c: Likewise.
35001         * math/w_j1.c: Likewise.
35002         * math/w_j1f.c: Likewise.
35003         * math/w_j1l.c: Likewise.
35004         * math/w_jn.c: Likewise.
35005         * math/w_jnf.c: Likewise.
35006         * math/w_log.c: Likewise.
35007         * math/w_log10.c: Likewise.
35008         * math/w_log10f.c: Likewise.
35009         * math/w_log10l.c: Likewise.
35010         * math/w_log2.c: Likewise.
35011         * math/w_log2f.c: Likewise.
35012         * math/w_log2l.c: Likewise.
35013         * math/w_logf.c: Likewise.
35014         * math/w_logl.c: Likewise.
35015         * math/w_sqrt.c: Likewise.
35016         * math/w_sqrtf.c: Likewise.
35017         * math/w_sqrtl.c: Likewise.
35018         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35019         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35020         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35021         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35022         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35024 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35026         [BZ #9739]
35027         * manual/string.texi (strnlen): Use correct parameter name in
35028         equivalent expression.
35030 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35032         [BZ #11174]
35033         * manual/users.texi (seteuid): Consistently use neweuid for
35034         argument name.
35036 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35038         [BZ #13704]
35039         * manual/nss.texi (Services in the NSS configuration): Correct
35040         list of services in example configuration file.
35042 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35044         [BZ #11322]
35045         * manual/arith.texi: Remove statements about negative zero
35046         behaving identically to zero.
35048 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35050         [BZ #5993]
35051         * manual/install.texi: Do not document upgrading from libc5.
35053 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35055         [BZ #4596]
35056         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35058 2012-02-18  David S. Miller  <davem@davemloft.net>
35060         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35061         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35062         %o7 across the call.
35063         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35064         instead.
35065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35066         SETUP_PIC_REG_LEAF.
35067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35068         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35069         * sysdeps/sparc/crtn.S: Likewise.
35071 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35073         * aout/Makefile: Remove.
35075 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35077         [BZ #13058]
35078         * manual/examples/argp-ex1.c (main): Format definition in GNU
35079         style.
35080         * manual/examples/argp-ex2.c (main): Likewise.
35081         * manual/examples/argp-ex3.c (main): Likewise.
35082         * manual/examples/argp-ex4.c (main): Likewise.
35083         * manual/examples/longopt.c (main): Use new-style prototype
35084         definition.
35085         * manual/examples/strncat.c (main): Specify return type and use
35086         (void) for arguments.
35087         * manual/examples/subopt.c (main): Use char **argv argument.
35089 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35091         [BZ #5077]
35092         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35093         rounding modes.
35095 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35097         [BZ #6907]
35098         * manual/string.texi (strchr): Change when strchrnul is
35099         recommended.
35101 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
35103         [BZ #174]
35104         * manual/locale.texi (setlocale): Document LOCPATH.
35106 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35108         [BZ #10210]
35109         * manual/process.texi (execle): Move @dots{} before last argument.
35111 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
35113         [BZ #12047]
35114         * manual/charset.texi (Generic Charset Conversion): Fix typo
35115         (LC_TYPE -> LC_CTYPE).
35117 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
35119         [BZ #5805]
35120         * manual/arith.texi (scalbn): Use @var{} on parameter names.
35121         (scalbnf): Likewise.
35122         (scalbnl): Likewise.
35123         (scalbln): Likewise.
35124         (scalblnf): Likewise.
35125         (scalblnl): Likewise.
35126         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35127         (vwarnx): Likewise.
35128         (verr): Likewise.
35129         (verrx): Likewise.
35130         * manual/filesys.texi (telldir): Use braces around return type.
35131         * manual/llio.texi (mmap): Add space after comma.
35132         (mmap64): Likewise.
35133         * manual/math.texi (jn): Use @var{} on parameter names.
35134         (jnf): Likewise.
35135         (jnl): Likewise.
35136         (yn): Likewise.
35137         (ynf): Likewise.
35138         (ynl): Likewise.
35139         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35140         line.
35141         * manual/resource.texi (ulimit): Use @dots{} instead of literal
35142         "...".
35143         (sched_get_priority_min): Remove semicolon on @deftypefun line.
35144         (sched_get_priority_max): Likewise.
35145         * manual/signal.texi (sigvec): Add space after comma.
35146         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35147         names.
35148         (if_indextoname): Likewise.
35149         (if_freenameindex): Likewise.
35150         (sendto): Use ',' instead of '.' in prototype.
35151         * manual/startup.texi (syscall): Use @dots{} instead of literal
35152         "...".
35153         * manual/stdio.texi (__fpending): Separate initial words of
35154         paragraph from @deftypefun line.
35155         * manual/syslog.texi (syslog): Use @dots{} instead of literal
35156         "...".
35157         (vsyslog): Use @var{} on parameter names.
35158         * manual/terminal.texi (stty): Use @var{} on parameter names.
35159         * manual/users.texi (getutmp): Use @var{} on parameter names.
35160         (getutmpx): Likewise.
35162 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35164         [BZ #6884]
35165         * manual/stdio.texi (fopen): Fix typos in description of
35166         ",ccs=STRING".
35168 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
35170         [BZ #4026]
35171         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35172         get clock_id definition.
35174 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
35176         [BZ #4822]
35177         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35178         (madvise): Cast every argument to void on its own.
35180 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35182         [BZ #9902]
35183         * manual/startup.texi (Exit Status): Fix typo.
35185 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35187         [BZ #10140]
35188         * manual/examples/argp-ex1.c: Include <stdlib.h>.
35189         * manual/examples/argp-ex2.c: Likewise.
35190         * manual/examples/argp-ex3.c: Likewise.
35192 2012-02-16  Richard Henderson  <rth@redhat.com>
35194         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35195         * sysdeps/s390/s390-32/initfini.c: Remove.
35196         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35197         * sysdeps/s390/s390-64/initfini.c: Remove.
35199 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35201         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35202         compiler output for sysdeps/generic/initfini.c.
35203         * sysdeps/sh/elf/initfini.c: Remove file.
35205 2012-02-16  David S. Miller  <davem@davemloft.net>
35207         [BZ #11494]
35208         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35210         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35211         * sysdeps/sparc/crti.S: New file.
35212         * sysdeps/sparc/crtn.S: New file.
35213         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35214         * sysdeps/sparc/sparc64/Makefile: Likewise.
35216 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
35218         [BZ #3335]
35219         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35221 2012-02-15  Roland McGrath  <roland@hack.frob.com>
35223         [BZ #4822]
35224         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35226         * mach/devstream.c (cookie_io_functions_t): Macro removed.
35227         (write, read, close): Likewise.
35228         Patch by Aurelien Jarno <aurelien@aurel32.net>.
35230 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
35232         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35233         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35234         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35235         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35236         <bits/signalfd.h>.
35237         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35239         bits/signalfd.h.
35241 2012-02-14  Marek Polacek  <polacek@redhat.com>
35243         * sysdeps/x86_64/crti.S: New file.
35244         * sysdeps/x86_64/crtn.S: New file.
35245         * sysdeps/x86_64/elf/initfini.c: Remove file.
35247 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35249         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35250         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35251         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35252         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35253         <bits/inotify.h>.
35254         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35256         bits/inotify.h.
35258 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35260         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35261         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35262         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35263         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35264         <bits/eventfd.h>.
35265         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35266         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35267         bits/eventfd.h.
35269 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
35271         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35272         __feraiseexcept instead of feraiseexcept.
35274         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35275         nanosleep invocations.
35276         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35277         strings, and add error checking for a nanosleep invocations.
35279 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
35281         Replace FSF snail mail address with URLs, as per GNU coding standards.
35282         Most of the snail mail addresses were wrong anyway, and omitting
35283         them makes the source code easier to maintain.  Almost all of the
35284         changes are to license notices and to locale LC_IDENTIFICATION
35285         addresses, except for this one:
35286         * manual/libc.texinfo: In "Published by", give the FSF's URL,
35287         not its snail mail address.
35289 2012-02-09  Richard Henderson  <rth@twiddle.net>
35291         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35292         of kernel-features.h.
35294         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35296 2012-02-08  Marek Polacek  <polacek@redhat.com>
35298         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35299         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35300         * sysdeps/gnu/_G_config.h: Likewise.
35301         * sysdeps/generic/_G_config.h: Likewise.
35303 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
35305         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35306         tests.
35307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35309         * sysdeps/powerpc/powerpc32/crti.S: New file.
35310         * sysdeps/powerpc/powerpc32/crtn.S: New file.
35311         * sysdeps/powerpc/powerpc64/crti.S: New file.
35312         * sysdeps/powerpc/powerpc64/crtn.S: New file.
35314         * Makeconfig (have-initfini): Don't set.
35315         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35316         * configure.in (nopic_initfini): Don't substitute.
35317         * config.h.in (HAVE_INITFINI): Don't #undef.
35318         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35319         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35321 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
35323         Support crti.S and crtn.S provided directly by architectures.
35324         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35325         [crti.S in sysdirs] (omit-deps): Likewise.
35326         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35327         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35328         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35329         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35330         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35331         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35332         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35333         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35334         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35335         compiler output for sysdeps/generic/initfini.c.
35336         * sysdeps/i386/elf/Makefile: Remove file.
35337         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35339 2012-02-07  Marek Polacek  <polacek@redhat.com>
35341         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35342         * sysdeps/gnu/_G_config.h: Likewise.
35343         * sysdeps/mach/hurd/_G_config.h: Likewise.
35345 2012-02-07  Marek Polacek  <polacek@redhat.com>
35347         * math/Makefile (tests): Add tst-CMPLX2.
35348         * math/tst-CMPLX2.c: New file.
35350 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
35352         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35354         * math/libm-test.inc (jn_test): Add missing L suffix.
35356 2012-02-06  Marek Polacek  <polacek@redhat.com>
35358         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35359         * sysdeps/i386/fpu/e_powf.S: Likewise.
35360         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35361         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35362         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35363         * sysdeps/i386/fpu/e_pow.S: Likewise.
35364         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35365         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35366         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35367         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35368         * sysdeps/i386/fpu/e_log2.S: Likewise.
35369         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35370         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35371         * sysdeps/i386/fpu/e_powl.S: Likewise.
35372         * sysdeps/i386/fpu/s_log1p.S: Likewise.
35373         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35374         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35375         * sysdeps/i386/fpu/e_logl.S: Likewise.
35376         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35377         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35378         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35379         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35380         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35381         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35382         * sysdeps/i386/fpu/e_log.S: Likewise.
35383         * sysdeps/i386/fpu/s_cexp.S: Likewise.
35384         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35385         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35386         * sysdeps/i386/fpu/e_logf.S: Likewise.
35387         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35388         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35389         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35390         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35391         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35392         * sysdeps/i386/fpu/e_log10.S: Likewise.
35393         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35394         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35395         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35396         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35397         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35398         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35399         * sysdeps/i386/asm-syntax.h: Likewise.
35400         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35401         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35402         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35403         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35404         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35405         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35406         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35407         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35408         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35409         * sysdeps/powerpc/sysdep.h: Likewise.
35410         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35411         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35413 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35415         [BZ #411]
35416         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35418 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35420         * sysdeps/i386/sysdep.h: Include <features.h>.
35421         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35422         version.
35424 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
35426         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35427         Define.
35428         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35429         LOAD_PIC_REG_STR.
35431 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35433         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35434         (SETUP_PIC_REG): Use GET_PC_THUNK.
35435         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35436         macro.
35438 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35440         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35441         for non-PIC compilation.
35442         (SETUP_PIC_REG): Add .p2align directive.
35443         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35444         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35445         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35446         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35447         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35448         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35449         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35450         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35451         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35452         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35453         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35454         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35455         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35456         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35457         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35458         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35459         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35460         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35461         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35462         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35463         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35464         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35465         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35466         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35467         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35468         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35469         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35470         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35471         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35472         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35473         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35474         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35475         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35476         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35477         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35478         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35479         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35480         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35481         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35482         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35483         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35485 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35487         * math/tst-CMPLX.c: Include <stdio.h>.
35489 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
35491         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35492         float.
35493         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35494         * sysdeps/sparc/bits/mathdef.h: Likewise.
35496 2012-01-31  Marek Polacek  <polacek@redhat.com>
35498         * libio/libio.h: Don't define _PARAMS.
35499         * locale/programs/config.h: Don't define PARAMS.
35500         * stdlib/strtol_l.c: Likewise.
35501         (__strtol_l): Remove PARAMS from the prototype.
35503 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
35505         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
35506         names.  Just use the correct names.  Remove unnecessary wrapper
35507         functions.
35508         * malloc/arena.c: Likewise.
35509         * malloc/hooks.c: Likewise.
35511         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35512         ARENA_TEST says not to.  Simplify test for creation of a new arena.
35513         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35515 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
35517         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35518         into tail calls.
35519         (update_get_addr): New function.
35520         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35521         GET_ADDR_MODULE parameter.
35523 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35525         * crypt/cert.c: Remove __STDC__ conditionals.
35526         * crypt/crypt-entry.c: Likewise.
35527         * crypt/crypt_util.c: Likewise.
35528         * libio/filedoalloc.c: Likewise.
35529         * libio/fileops.c: Likewise.
35530         * libio/genops.c: Likewise.
35531         * libio/iofclose.c: Likewise.
35532         * libio/iofdopen.c: Likewise.
35533         * libio/iofopen.c: Likewise.
35534         * libio/iofopen64.c: Likewise.
35535         * libio/iogetdelim.c: Likewise.
35536         * libio/iopopen.c: Likewise.
35537         * libio/obprintf.c: Likewise.
35538         * libio/oldfileops.c: Likewise.
35539         * libio/oldiofclose.c: Likewise.
35540         * libio/oldiofdopen.c: Likewise.
35541         * libio/oldiofopen.c: Likewise.
35542         * libio/oldiopopen.c: Likewise.
35543         * libio/wfiledoalloc.c: Likewise.
35544         * libio/wgenops.c: Likewise.
35545         * locale/programs/xmalloc.c: Likewise.
35546         * misc/syslog.c: Likewise.
35547         * stdio-common/xbug.c: Likewise.
35548         * string/memchr.c: Likewise.
35549         * string/memcmp.c: Likewise.
35550         * string/memrchr.c: Likewise.
35551         * string/rawmemchr.c: Likewise.
35552         * sysdeps/posix/getcwd.c: Likewise.
35553         * time/strftime_l.c: Likewise.
35555 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35557         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35558         * config.make.in (config-cflags-sse2avx): Define.
35559         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35560         Fix typo.
35562 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35564         * scripts/config.guess: Update from upstream config git repository.
35565         * scripts/config.sub: Likewise.
35567 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35569         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35570         (EM_NUM): Update.
35571         (R_TILEPRO_*, R_TILEGX_*): New macros.
35573         * scripts/firstversions.awk: Fix bug in version range handling.
35575         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35577         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35579         * include/sys/epoll.h: New file.
35580         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35581         libc_hidden_def.
35583 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35585         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35586         Avoid unnecessary __WORDSIZE == 64 test.
35587         (fmaxf): Use VEX format if possible.
35588         (fmax): Likewise.
35589         (fminf): Likewise.
35590         (fmin): Likewise.
35592         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35593         * math/math_private.h: Remove libc_fegetround* and
35594         libc_fesetround*.
35595         * sysdeps/i386/configure.in: Check for -msse2avx.
35596         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35597         also if SSE2AVX is defined.
35598         Remove libc_fegetround* and libc_fesetround*.
35599         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35600         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35601         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35602         of HAS_YMM_USABLE.
35603         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35604         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35605         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35606         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35607         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35609         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35611 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35613         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35614         size is not set.
35615         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35617 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35619         [BZ #13618]
35620         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35621         relocation.
35622         * Makeconfig (libm): Define.
35623         * elf/Makefile: Add rules to build and run tst-relsort1.
35624         * elf/tst-relsort1.c: New file.
35625         * elf/tst-relsort1mod1.c: New file.
35626         * elf/tst-relsort1mod2.c: New file.
35628 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
35630         * math/s_ldexp.c: Remove __STDC__ conditionals.
35631         * math/s_ldexpf.c: Likewise.
35632         * math/s_ldexpl.c: Likewise.
35633         * math/s_nextafter.c: Likewise.
35634         * math/s_nexttowardf.c: Likewise.
35635         * math/s_significand.c: Likewise.
35636         * math/s_significandf.c: Likewise.
35637         * math/s_significandl.c: Likewise.
35638         * math/w_jnl.c: Likewise.
35639         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35640         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35641         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35642         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35643         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35644         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35645         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35646         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35647         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35648         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35649         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35650         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35651         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35652         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35653         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35654         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35655         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35656         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35657         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35658         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35659         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35660         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35661         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35662         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35663         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35664         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35665         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35666         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35667         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35668         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35669         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35670         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35671         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35672         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35673         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35674         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35675         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35676         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35677         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35678         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35679         * sysdeps/ieee754/k_standard.c: Likewise.
35680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35681         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35682         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35683         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35684         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35685         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35686         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35687         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35688         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35689         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35690         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35691         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35692         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35693         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35694         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35695         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35696         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35697         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35698         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35699         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35700         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35701         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35702         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35703         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35704         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35705         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35706         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35707         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35709         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35710         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35711         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35712         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35713         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35714         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35715         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35716         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35717         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35718         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35719         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35720         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35721         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35722         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35723         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35724         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35725         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35726         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35727         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35728         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35729         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35730         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35731         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35732         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35733         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35734         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35737         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35738         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35739         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35740         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35741         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35742         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35743         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35744         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35745         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35746         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35747         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35748         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35749         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35750         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35751         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35752         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35753         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35754         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35755         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35756         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35757         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35758         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35759         * sysdeps/ieee754/s_matherr.c: Likewise.
35760         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35761         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35762         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35763         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35765 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35767         * crypt/md5.h: Remove __STDC__ conditionals.
35768         * libio/libioP.h: Likewise.
35769         * locale/programs/config.h: Likewise.
35770         * sysdeps/generic/sysdep.h: Likewise.
35771         * sysdeps/i386/asm-syntax.h: Likewise.
35772         * sysdeps/s390/asm-syntax.h: Likewise.
35773         * sysdeps/unix/sysdep.h: Likewise.
35774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35777 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35779         * libio/libio.h: Remove __STDC__ conditionals.
35780         * malloc/obstack.h: Likewise.
35781         * math/complex.h: Likewise.
35782         * math/math.h: Likewise.
35783         * sysdeps/generic/_G_config.h: Likewise.
35784         * sysdeps/gnu/_G_config.h: Likewise.
35785         * sysdeps/mach/hurd/_G_config.h: Likewise.
35786         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35787         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35788         * sysdeps/sparc/bits/mathdef.h: Likewise.
35790 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
35792         [BZ #13583]
35793         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35794         Clean up HAS_* macros.
35795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35796         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35797         possible.
35798         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35799         HAS_AVX.
35800         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35801         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35802         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35803         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35804         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35806 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
35808         * elf/tst-unique3.cc (gets): Remove declaration.
35809         * elf/tst-unique3lib.cc (gets): Likewise.
35810         * elf/tst-unique3lib2.cc (gets): Likewise.
35811         * elf/tst-unique4.cc (gets): Likewise.
35813 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
35815         * include/stdio.h: Add C++ protection.  Add gets declarations and
35816         definitions.
35817         * debug/tst-chk1.c: Don't declare gets here.
35818         * stdio-common/tst-gets.c: Likewise.
35820 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35822         * posix/glob: Remove directory.
35824 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35826         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35828 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
35830         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35831         of the non-standard EPFNOSUPPORT.
35833 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35835         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35836         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35837         ANYWHERE set to 1 only on KERN_NO_SPACE error.
35839 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
35841         * wcsmbs/uchar.h: Test __STDC_VERSION__.
35843 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
35845         * nscd/aicache.c (addhstaiX): Do not cache negative results of
35846         transient errors.
35847         * nscd/grpcache.c (cache_addgr): Likewise.
35848         * nscd/hstcache.c (cache_addhst): Likewise.
35849         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35850         * nscd/pwdcache.c (cache_addpw): Likewise.
35851         * nscd/servicescache.c (cache_addserv): Likewise.
35853 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
35855         * malloc/malloc.c: Various cleanups.
35856         * malloc/hooks.c: Likewise.
35858         * stdlib/Makefile (tests): Add bug-fmtmsg1.
35859         * stdlib/bug-fmtmsg1.c: New file.
35861         * stdlib/fmtmsg.c (init): Add missing unlock.
35862         Patch by Peng Haitao <penght@cn.fujitsu.com>.
35864 2012-01-12  Marek Polacek  <polacek@redhat.com>
35866         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35867         and _GNU_SOURCE.
35869 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35871         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35872         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35873         macro to ensure uniqueness of label name.
35874         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35875         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35877 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
35879         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35881         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35882         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35883         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35884         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35886 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
35888         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35890         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35891         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35892         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35894         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35896         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35897         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35898         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35899         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35901         * math/bits/math-finite.h: Add ldexp support.
35903 2012-01-10  Marek Polacek  <polacek@redhat.com>
35905         * locale/programs/localedef.h (show_archive_content): Add noreturn
35906         attribute.
35908 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
35910         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35912 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35914         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35916         * io/Makefile (headers): Add bits/poll2.h.
35918 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
35920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35921         typo #include statement.
35923 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35925         * include/sys/cdefs.h: Define __attribute_alloc_size.
35926         * catgets/gencat.c: Add alloc_size attribute and apply consistently
35927         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35928         * elf/pldd.c: Likewise.
35929         * iconv/iconv_charmap.c: Likewise.
35930         * iconv/iconvconfig.c: Likewise.
35931         * iconv/strtab.c: Likewise.
35932         * locale/programs/locale.c: Likewise.
35933         * locale/programs/localedef.h: Likewise.
35934         * locale/programs/simple-hash.c: Likewise.
35935         * nscd/nscd.h: Likewise.
35936         * nss/makedb.c: Likewise.
35937         * sysdeps/generic/ldconfig.h: Likewise.
35938         * locale/programs/localedef.c: Remove xmalloc prototype.
35939         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35941 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35943         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35944         appropriate.
35946 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35948         * math/Makefile (tests): Add tst-CMPLX.
35949         * math/tst-CMPLX.c: New file.
35951         * math/complex.h (CMPLXL): Fix typo.
35953         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35954         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35955         GLIBC_2.16.
35956         * debug/tst-chk1.c: Add poll and ppoll tests.
35957         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35958         * include/sys/poll.h: Add hidden proto for ppoll.
35959         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35960         * sysdeps/mach/hurd/ppoll.c: Likewise.
35961         * io/ppoll.c: Likewise.
35962         * debug/poll_chk.c: New file.
35963         * debug/ppoll_chk.c: New file.
35964         * include/bits/poll2.h: New file.
35965         * io/bits/poll2.h: New file.
35967         [BZ #1350]
35968         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35970         * configure.in: static is always set to yes.  Remove.
35971         * config.make.in: Don't set build-static.
35972         * Makeconfig: Remove use of build-static.
35973         * dlfcn/Makefile: Likewise.
35974         * elf/Makefile: Likewise.
35975         * math/Makefile: Likewise.
35976         * misc/Makefile: Likewise.
35977         * nptl/Makefile: Likewise.
35978         * sysdeps/mach/hurd/Makefile: Likewise.
35980         * configure.in: PWD_P is not used anymore.
35981         * config.make.in: Remove PWD_P entry.
35983         * configure.in: Remove last remnants of RANLIB.
35984         No need to check for signed size_t anymore.
35985         Don't set libc_commonpagesize and libc_relro_required here for Alpha
35986         and IA-64.
35987         Remove __builtin_expect test because we require at least gcc 3.4.
35988         * aclocal.m4: Likewise.
35990         * wcsmbs/mbrtoc16.c: Implement using towc function.
35991         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35992         * wcsmbs/wcsmbsload.c: Likewise.
35993         * iconv/gconv_simple.c: Likewise.
35994         * iconv/gconv_int.h: Likewise.
35995         * iconv/gconv_builtin.h: Likewise.
35996         * iconv/iconv_prog.c: Remove CHAR16 handling.
35998         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36000         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36002         * configure.in: Remove --with-elf and --enable-bounded options.
36003         Dont set base_machine for ia64.  More non-ELF conditions removed.
36004         Remove testing and setting of leading underscore information.
36005         * config.make.in (build-bounded): Set to no.
36006         * config.h.in: Remove NO_UNDERSCORES entry.
36007         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
36008         them.
36009         * csu/start.c: Remove !NO_UNDERSCORE code.
36010         * locale/localeinfo.h: Likewise.
36011         * sysdeps/generic/machine-gmon.h: Likewise.
36012         * sysdeps/generic/sysdep.h: Likewise.
36013         * sysdeps/i386/sysdep.h: Likewise.
36014         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36015         * sysdeps/mach/sysdep.h: Likewise.
36016         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36017         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36018         * sysdeps/sh/sysdep.h: Likewise.
36019         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36020         * sysdeps/unix/i386/sysdep.S: Likewise.
36021         * sysdeps/unix/sparc/start.c: Likewise.
36022         * sysdeps/unix/sparc/sysdep.S: Likewise.
36023         * sysdeps/unix/sparc/sysdep.h: Likewise.
36024         * sysdeps/unix/start.c: Likewise.
36025         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36026         * sysdeps/x86_64/sysdep.h: Likewise.
36028 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36030         [BZ #13553]
36031         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36032         for non-gcc.
36033         * argp/argp-fmtstream.h: Use const instead __const.
36034         * argp/argp.h: Likewise.
36035         * assert/assert.h: Likewise.
36036         * bits/fenv.h: Likewise.
36037         * bits/sched.h: Likewise.
36038         * bits/sigset.h: Likewise.
36039         * bits/sigthread.h: Likewise.
36040         * catgets/nl_types.h: Likewise.
36041         * conform/data/pthread.h-data: Likewise.
36042         * crypt/crypt-private.h: Likewise.
36043         * crypt/crypt.h: Likewise.
36044         * crypt/crypt_util.c: Likewise.
36045         * ctype/ctype.h: Likewise.
36046         * debug/execinfo.h: Likewise.
36047         * debug/mbsnrtowcs_chk.c: Likewise.
36048         * debug/mbsrtowcs_chk.c: Likewise.
36049         * debug/wcsnrtombs_chk.c: Likewise.
36050         * debug/wcsrtombs_chk.c: Likewise.
36051         * debug/wcstombs_chk.c: Likewise.
36052         * dirent/dirent.h: Likewise.
36053         * dlfcn/dlfcn.h: Likewise.
36054         * elf/neededtest4.c: Likewise.
36055         * grp/grp.h: Likewise.
36056         * gshadow/gshadow.h: Likewise.
36057         * iconv/gconv.h: Likewise.
36058         * iconv/gconv_int.h: Likewise.
36059         * iconv/gconv_simple.c: Likewise.
36060         * iconv/iconv.h: Likewise.
36061         * iconv/loop.c: Likewise.
36062         * iconv/skeleton.c: Likewise.
36063         * include/aio.h: Likewise.
36064         * include/aliases.h: Likewise.
36065         * include/argz.h: Likewise.
36066         * include/arpa/inet.h: Likewise.
36067         * include/assert.h: Likewise.
36068         * include/dirent.h: Likewise.
36069         * include/dlfcn.h: Likewise.
36070         * include/execinfo.h: Likewise.
36071         * include/fcntl.h: Likewise.
36072         * include/fenv.h: Likewise.
36073         * include/glob.h: Likewise.
36074         * include/grp.h: Likewise.
36075         * include/libintl.h: Likewise.
36076         * include/mntent.h: Likewise.
36077         * include/netdb.h: Likewise.
36078         * include/pwd.h: Likewise.
36079         * include/rpc/netdb.h: Likewise.
36080         * include/sched.h: Likewise.
36081         * include/search.h: Likewise.
36082         * include/shadow.h: Likewise.
36083         * include/signal.h: Likewise.
36084         * include/stdio.h: Likewise.
36085         * include/stdlib.h: Likewise.
36086         * include/string.h: Likewise.
36087         * include/sys/socket.h: Likewise.
36088         * include/sys/stat.h: Likewise.
36089         * include/sys/statfs.h: Likewise.
36090         * include/sys/statvfs.h: Likewise.
36091         * include/sys/syslog.h: Likewise.
36092         * include/sys/time.h: Likewise.
36093         * include/sys/uio.h: Likewise.
36094         * include/time.h: Likewise.
36095         * include/unistd.h: Likewise.
36096         * include/utmp.h: Likewise.
36097         * include/wchar.h: Likewise.
36098         * include/wctype.h: Likewise.
36099         * inet/aliases.h: Likewise.
36100         * inet/arpa/inet.h: Likewise.
36101         * inet/netinet/ether.h: Likewise.
36102         * inet/netinet/in.h: Likewise.
36103         * intl/libintl.h: Likewise.
36104         * io/bits/fcntl2.h: Likewise.
36105         * io/fcntl.h: Likewise.
36106         * io/ftw.h: Likewise.
36107         * io/sys/poll.h: Likewise.
36108         * io/sys/stat.h: Likewise.
36109         * io/sys/statfs.h: Likewise.
36110         * io/sys/statvfs.h: Likewise.
36111         * io/utime.h: Likewise.
36112         * libio/bits/stdio.h: Likewise.
36113         * libio/bits/stdio2.h: Likewise.
36114         * libio/libio.h: Likewise.
36115         * libio/libioP.h: Likewise.
36116         * libio/stdio.h: Likewise.
36117         * locale/lc-ctype.c: Likewise.
36118         * locale/locale.h: Likewise.
36119         * login/utmp.h: Likewise.
36120         * malloc/arena.c: Likewise.
36121         * malloc/malloc.c: Likewise.
36122         * malloc/malloc.h: Likewise.
36123         * malloc/mcheck.c: Likewise.
36124         * malloc/mtrace.c: Likewise.
36125         * math/bits/mathcalls.h: Likewise.
36126         * math/fenv.h: Likewise.
36127         * math/math_private.h: Likewise.
36128         * misc/bits/error.h: Likewise.
36129         * misc/bits/syslog.h: Likewise.
36130         * misc/err.h: Likewise.
36131         * misc/error.h: Likewise.
36132         * misc/fstab.h: Likewise.
36133         * misc/mntent.h: Likewise.
36134         * misc/regexp.h: Likewise.
36135         * misc/search.h: Likewise.
36136         * misc/sgtty.h: Likewise.
36137         * misc/sys/mman.h: Likewise.
36138         * misc/sys/syslog.h: Likewise.
36139         * misc/sys/uio.h: Likewise.
36140         * misc/sys/xattr.h: Likewise.
36141         * misc/ttyent.h: Likewise.
36142         * nis/rpcsvc/ypclnt.h: Likewise.
36143         * nss/nss.h: Likewise.
36144         * posix/bits/unistd.h: Likewise.
36145         * posix/fnmatch.h: Likewise.
36146         * posix/glob.h: Likewise.
36147         * posix/sched.h: Likewise.
36148         * posix/spawn.h: Likewise.
36149         * posix/sys/wait.h: Likewise.
36150         * posix/unistd.h: Likewise.
36151         * posix/wordexp.h: Likewise.
36152         * pwd/pwd.h: Likewise.
36153         * resolv/netdb.h: Likewise.
36154         * resource/sys/resource.h: Likewise.
36155         * rt/aio.h: Likewise.
36156         * rt/bits/mqueue2.h: Likewise.
36157         * rt/mqueue.h: Likewise.
36158         * shadow/shadow.h: Likewise.
36159         * signal/signal.h: Likewise.
36160         * socket/send.c: Likewise.
36161         * socket/sendto.c: Likewise.
36162         * socket/sys/socket.h: Likewise.
36163         * stdio-common/printf.h: Likewise.
36164         * stdlib/bits/stdlib.h: Likewise.
36165         * stdlib/fmtmsg.h: Likewise.
36166         * stdlib/monetary.h: Likewise.
36167         * stdlib/stdlib.h: Likewise.
36168         * stdlib/ucontext.h: Likewise.
36169         * streams/stropts.h: Likewise.
36170         * string/argz.h: Likewise.
36171         * string/bits/string2.h: Likewise.
36172         * string/string.h: Likewise.
36173         * string/strings.h: Likewise.
36174         * sunrpc/rpc/auth.h: Likewise.
36175         * sunrpc/rpc/auth_des.h: Likewise.
36176         * sunrpc/rpc/clnt.h: Likewise.
36177         * sunrpc/rpc/netdb.h: Likewise.
36178         * sunrpc/rpc/pmap_clnt.h: Likewise.
36179         * sunrpc/rpc/xdr.h: Likewise.
36180         * sysdeps/generic/inttypes.h: Likewise.
36181         * sysdeps/generic/net/if.h: Likewise.
36182         * sysdeps/generic/sys/swap.h: Likewise.
36183         * sysdeps/gnu/net/if.h: Likewise.
36184         * sysdeps/gnu/utmpx.h: Likewise.
36185         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36186         * sysdeps/i386/i486/bits/string.h: Likewise.
36187         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36188         * sysdeps/s390/bits/string.h: Likewise.
36189         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36190         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36191         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36192         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36193         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36194         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36195         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36196         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36197         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36198         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36199         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36200         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36201         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36202         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36203         * sysdeps/unix/sysv/linux/readv.c: Likewise.
36204         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36205         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36206         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36207         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36208         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36209         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36210         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36211         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36212         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36213         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36214         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36215         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36216         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36217         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36218         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36219         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36220         * sysvipc/sys/ipc.h: Likewise.
36221         * sysvipc/sys/msg.h: Likewise.
36222         * sysvipc/sys/sem.h: Likewise.
36223         * sysvipc/sys/shm.h: Likewise.
36224         * termios/termios.h: Likewise.
36225         * time/sys/time.h: Likewise.
36226         * time/time.h: Likewise.
36227         * wcsmbs/bits/wchar2.h: Likewise.
36228         * wcsmbs/uchar.h: Likewise.
36229         * wcsmbs/wchar.h: Likewise.
36230         * wctype/wctype.h: Likewise.
36232         [BZ #13551]
36233         * Makeconfig: Remove all but ELF support including AIX support.
36234         * Makerules: Likewise.
36235         * config.h.in: Likewise.
36236         * config.make.in: Likewise.
36237         * configure: Likewise.
36238         * configure.in: Likewise.
36239         * csu/Makefile: Likewise.
36240         * csu/version.c: Likewise.
36241         * debug/Makefile: Likewise.
36242         * dlfcn/Makefile: Likewise.
36243         * elf/Makefile: Likewise.
36244         * extra-lib.mk: Likewise.
36245         * iconv/Makefile: Likewise.
36246         * include/libc-symbols.h: Likewise.
36247         * include/shlib-compat.h: Likewise.
36248         * resolv/Makefile: Likewise.
36249         * resolv/res_libc.c: Likewise.
36250         * rt/Makefile: Likewise.
36251         * sysdeps/i386/asm-syntax.h: Likewise.
36252         * sysdeps/i386/sysdep.h: Likewise.
36253         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36254         * sysdeps/mach/sysdep.h: Likewise.
36255         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36256         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36257         * sysdeps/s390/asm-syntax.h: Likewise.
36258         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36259         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36260         * sysdeps/sh/sysdep.h: Likewise.
36261         * sysdeps/unix/sparc/sysdep.h: Likewise.
36262         * sysdeps/wordsize-32/divdi3.c: Likewise.
36263         * sysdeps/x86_64/sysdep.h: Likewise.
36265         * argp/Versions: Remove _argp_unlock_xxx.
36267         [BZ #13559]
36268         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
36269         * abilist/libBrokenLocale.abilist: Likewise.
36270         * abilist/libanl.abilist: Likewise.
36271         * abilist/libc.abilist: Likewise.
36272         * abilist/libcrypt.abilist: Likewise.
36273         * abilist/libdl.abilist: Likewise.
36274         * abilist/libm.abilist: Likewise.
36275         * abilist/libnsl.abilist: Likewise.
36276         * abilist/libpthread.abilist: Likewise.
36277         * abilist/libresolv.abilist: Likewise.
36278         * abilist/librt.abilist: Likewise.
36279         * abilist/libthread_db.abilist: Likewise.
36280         * abilist/libutil.abilist: Likewise.
36281         * abilist/libnss_db.abilist: New file.
36283         * scripts/abilist.awk: Add support for indirect functions.
36285         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36287         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36289         * shlib-versions: Remove entries for ports architectures.
36291         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
36292         files in ports.
36293         * elf/stackguard-macros.h: Remove support for IA-64.
36294         * elf/tst-auditmod1.c: Likewise.
36295         * sysdeps/generic/ldsodefs.h: Likewise.
36297         * sysdeps/unix/sysv/linux/configure.in: Ports should define
36298         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36299         configure files.
36301         [BZ #13552]
36302         * configure.in: Remove --enable-omitfp support.
36303         * FAQ.in: Adjust.
36304         * config.make.in: Likewise.
36305         * Makeconfig: Likewise.
36306         * manual/install.texi: Likewise.
36308         In case anyone cares, the IA-64 architecture could move to ports.
36309         * sysdeps/ia64/*: Removed.
36310         * sysdeps/unix/sysv/linux/ia64/*: Removed.
36311         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36313         [BZ #13555]
36314         * configure.in: Remove entries for unsupported architectures.
36316         [BZ #13533]
36317         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36318         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
36319         routines.
36320         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36321         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36322         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
36323         fall back to using wcrtomb.
36324         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36325         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
36326         renaming.
36327         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36328         * wcsmbs/tst-c16c32-1.c: New file.
36330         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36331         local variable.
36333         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36335         * elf/tst-unique3.cc: Add explicit declaration of gets.
36336         * elf/tst-unique3lib.cc: Likewise.
36337         * elf/tst-unique3lib2.cc: Likewise.
36338         * elf/tst-unique4.cc: Likewise.
36340         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36342 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
36344         [BZ #13566]
36345         * assert/assert.h (static_assert): Don't define for C++.
36346         * libio/stdio.h (gets): Do declare for C++ <= C++11.
36347         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36349 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
36351         * iconv/loop.c (single loop): Fix assertion in storing of
36352         remaining bytes.
36354         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36356 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
36358         * posix/getconf.c: Update copyright year.
36359         * nss/getent.c: Likewise.
36360         * nss/makedb.c: Likewise.
36361         * iconv/iconvconfig.c: Likewise.
36362         * iconv/iconv_prog.c: Likewise.
36363         * elf/ldconfig.c: Likewise.
36364         * elf/pldd.c: Likewise.
36365         * elf/sotruss.ksh: Likewise.
36366         * catgets/gencat.c: Likewise.
36367         * csu/version.c: Likewise.
36368         * elf/ldd.bash.in: Likewise.
36369         * elf/sprof.c (print_version): Likewise.
36370         * locale/programs/locale.c: Likewise.
36371         * locale/programs/localedef.c: Likewise.
36372         * login/programs/pt_chown.c: Likewise.
36373         * nscd/nscd.c (print_version): Likewise.
36374         * debug/xtrace.sh: Likewise.
36375         * malloc/memusage.sh: Likewise.
36376         * malloc/mtrace.pl: Likewise.
36377         * debug/catchsegv.sh: Likewise.
36379 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
36381         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36382         pure attribute.
36384 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
36386         [BZ #13533]
36387         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36388         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36389         transformations.
36390         * iconv/gconv_int.h: Likewise.
36391         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36392         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36393         from libc for GLIBC_2.16.
36394         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36395         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36396         * wcsmbs/uchar.h: Really define mbstate_t.
36397         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36398         * wcsmbs/c16rtomb.c: New file.
36399         * wcsmbs/mbrtoc16.c: New file.
36400         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36401         for C/POSIX locale.
36402         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36403         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36405         * wcsmbs/wchar.h: Add missing __restrict.
36407 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36409         [BZ #13532]
36410         * time/Makefile (routines): Add timespec_get.
36411         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36412         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
36413         timespec for ISO C11.
36414         * time/timespec_get.c: New file.
36415         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36416         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36418         [BZ #13531]
36419         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36420         * stdlib/stdlib.h: Declare aligned_alloc.
36421         * Versions.def: Add GLIBC_2.16 for libc.
36422         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36424         [BZ 13527]
36425         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36426         ISO C11.
36428         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36429         code.
36431         [BZ #13528]
36432         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36434         [BZ #13529]
36435         * assert/assert.h (static_assert): Define.
36437         * version.h: Update for 2.16 development version.
36439         [BZ #13526]
36440         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36441         _ISOC11_SOURCE.
36443         * version.h (RELEASE): Bump for 2.15 release.
36444         * include/features.h (__GLIBC_MINOR__): Bump to 15.
36446         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36447         Patch by Marek Polacek <mpolacek@redhat.com>.
36449         * bits/byteswap.h: Protect long long constants with __extension__.
36450         * sysdeps/i386/bits/byteswap.h: Likewise.
36451         * sysdeps/ia64/bits/byteswap.h: Likewise.
36452         * sysdeps/s390/bits/byteswap.h: Likewise.
36453         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36455 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36457         [BZ #13540]
36458         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36459         destination buffer.
36460         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36462 2011-12-23  Marek Polacek  <polacek@redhat.com>
36464         * elf/dl-addr.c (determine_info): Add inline keyword.
36465         * elf/tst-auditmod4b.c (check_avx): Likewise.
36466         * elf/tst-auditmod6b.c (check_avx): Likewise.
36467         * elf/tst-auditmod6c.c (check_avx): Likewise.
36468         * elf/tst-auditmod7b.c (check_avx): Likewise.
36470 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36472         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36473         !__SSE_MATH__.
36475 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36477         [BZ #13540]
36478         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36479         processing for last bytes.
36481 2011-08-06  Bruno Haible  <bruno@clisp.org>
36483         [BZ #13061]
36484         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36485         U+0385, not to U+1FEE.
36487         [BZ #13062]
36488         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36489         entry for U+00A5 U+0301.
36491 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36493         [BZ #13166]
36494         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36495         buffer for the output is too small.
36497         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36498         optimization.
36500         [BZ #13185]
36501         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36502         SSE flags if possible.
36504 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36506         [BZ #13540]
36507         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36508         processing for last bytes.
36510 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
36512         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36513         (syscall-list-default-options, syscall-list-default-condition)
36514         (syscall-list-includes): Define.
36515         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36516         list of ABIs and options and #if conditions for each ABI.  Do not
36517         handle common syscalls between ABIs specially.
36518         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36519         Remove.
36520         (syscall-list-variants, syscall-list-32bit-options)
36521         (syscall-list-32bit-condition, syscall-list-64bit-options)
36522         (syscall-list-64bit-condition): Define.
36523         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36524         (syscall-list-variants, syscall-list-32bit-options)
36525         (syscall-list-32bit-condition, syscall-list-64bit-options)
36526         (syscall-list-64bit-condition): Define.
36527         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36528         Remove.
36529         (syscall-list-variants, syscall-list-32bit-options)
36530         (syscall-list-32bit-condition, syscall-list-64bit-options)
36531         (syscall-list-64bit-condition): Define.
36532         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36533         Remove.
36534         (syscall-list-variants, syscall-list-32bit-options)
36535         (syscall-list-32bit-condition, syscall-list-64bit-options)
36536         (syscall-list-64bit-condition): Define.
36538 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36540         * locale/iso-639.def: Add brx entry.
36542         [BZ #13328]
36543         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36544         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36546         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36547         __feraiseexcept_renamed.
36549 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36551         [BZ #13538]
36552         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36553         EPOLLET with unsigned values.
36554         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36555         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36557         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36558         to large cancellation.
36559         * math/s_cacoshf.c: Likewise.
36560         * math/s_cacoshl.c: Likewise.
36562 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36564         [BZ #13305]
36565         [BZ #12786]
36566         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36567         * math/s_cacoshf.c: Likewise.
36568         * math/s_cacoshl.c: Likewise.
36570 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36572         [BZ #13439]
36573         * iconv/gconv.h: Define __GCONV_SWAP.
36574         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36575         * iconvdata/utf-16.c: Likewise.
36576         * iconvdata/utf-32.c: Likewise.
36578 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36580         [BZ #13524]
36581         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36582         numerator after shifting it by one limb.
36584 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36586         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36587         under [__USE_EXTERN_INLINES].
36589 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36591         [BZ #13446]
36592         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36594 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36596         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36597         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36598         optimized code.
36599         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36600         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36601         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36602         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36603         for strncasecmp/strncasecmp_l compilation.
36604         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36605         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36607 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36609         [BZ #13484]
36610         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36611         of __asm__.
36613 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36615         [BZ #13506]
36616         * time/tzfile.c (__tzfile_read): Check values from file header.
36618 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36620         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36621         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36622         * powerpc/powerpc32/dl-start.S: Likewise.
36623         * powerpc/powerpc32/elf/start.S: Likewise.
36624         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36625         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36626         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36627         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36628         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36629         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36630         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36631         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36632         * powerpc/powerpc32/fpu/s_round.S: Likewise.
36633         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36634         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36635         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36636         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36637         * powerpc/powerpc32/memset.S: Likewise.
36638         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36639         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36640         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36641         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36642         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36643         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36644         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36645         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36646         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36647         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36648         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36649         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36650         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36652 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36654         * math/libm-test.inc: Added more nearbyint tests.
36655         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36656         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36657         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36658         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36660 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36662         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36663         FD_CLOEXEC.
36665 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36667         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36668         Add wcscpy-ssse3 wcscpy-c.
36669         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36670         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36671         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36672         * sysdeps/x86_64/wcschr.S: New file.
36673         * sysdeps/x86_64/wcsrchr.S: New file.
36674         * string/test-strcmp.c: Remove checking of wcscmp function for
36675         wrong alignments.
36676         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36677         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36678         wcsrchr-sse2 wcsrchr-c.
36679         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36680         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36681         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36682         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36683         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36684         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36685         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36686         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36687         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36688         * wcsmbc/wcschr.c (WCSCHR): New macro.
36690 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36692         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36693         * wcsmbs/test-wcsrchr.c: New file.
36694         * string/test-strrchr.c: Add wcsrchr support.
36695         (WIDE): New macro.
36696         * wcsmbs/test-wcscpy.c: New file.
36697         * string/test-strcpy.c: Add wcscpy support.
36698         (WIDE): New macro.
36700 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36702         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36703         the inner loop.
36705 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36707         [BZ #13472]
36708         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36710 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36712         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36713         Minor optimizations.
36715         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36716         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36717         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36719 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36721         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36722         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36723         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36724         for gcc to avoid warnings.
36725         * inet/Makefile (tests): Add tst-checks.
36726         * inet/tst-checks.c: New file.
36728         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36729         warning.
36731         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36732         __wmemcmp_sse2.
36734         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36735         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36737         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36739 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36741         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36742         problem.
36744         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36746 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36748         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36749         conditional on GCC version.
36750         (__arch_compare_and_exchange_val_8_acq)
36751         (__arch_compare_and_exchange_val_16_acq)
36752         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36753         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36754         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36756 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36758         * sysdeps/sh/backtrace.c: New file.
36760 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36762         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36763         parenthesis.
36765 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36767         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36768         falling back to utime.
36770 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36772         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36773         expectations for float.
36775 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36777         * locale/weight.h (findidx): Add parameter len.
36778         * locale/weightwc.h (findidx): Likewise.
36779         * posix/fnmatch_loop.c (FCT): Adjust caller.
36780         * posix/regcomp.c (build_equiv_class): Likewise.
36781         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36782         * posix/regexec.c (check_node_accept_bytes): Likewise.
36783         * string/strcoll_l.c (STRCOLL): Likewise.
36784         * string/strxfrm_l.c (STRXFRM): Likewise.
36786 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
36788         * Makefile.in: Remove CVSOPT handling.
36789         * configure.in: Remove use of AC_REVISION.
36790         * iconvdata/Makefile (distribute): No need to filter out CVS.
36791         * scripts/list-sources.sh: Remove CVS, subversion and monotone
36792         handling.
36794 2011-11-16  Andreas Schwab  <schwab@redhat.com>
36796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36797         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36798         [USE_AS_STRNCASECMP_L]: Likewise.
36799         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36800         NO_TLS_DIRECT_SEG_REFS.
36801         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36802         Fix argument offsets for non-PIC.
36803         [USE_AS_STRNCASECMP_L]: Likewise.
36804         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36805         NO_TLS_DIRECT_SEG_REFS.
36807 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36809         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36810         O_CLOEXEC.
36811         * locale/loadlocale.c (_nl_load_locale): Likewise.
36813 2011-11-15  Andreas Schwab  <schwab@redhat.com>
36815         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36816         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36817         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36818         (SYSCALL_GETTIME): Set errno on error.
36820         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36821         count references to noai6ai_cached.
36823 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36825         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36827         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36828         FD_CLOEXEC for /proc/self/maps.
36830         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36831         FD_CLOEXEC for /proc/meminfo.
36833         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36834         gai.conf.
36836         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
36837         FD_CLOEXEC for given file.
36839         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36841         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36842         FD_CLOEXEC for /etc/hosts.
36843         (_gethtent): Likewise.
36845         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36847         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36848         cancellation and set FD_CLOEXEC for /etc/netgroup.
36850         * nss/nss_files/files-key.c (search): Don't allow cancellation when
36851         reading /etc/publickey.
36853         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36854         allow cancellation when reading /etc/group.
36856         * nss/nss_files/files-alias.c (internal_setent): Don't allow
36857         cancellation.
36858         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
36860         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36861         when using data file.
36863         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36865         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36866         (write_nis_obj): Use "c" and "e" in fopen.
36868         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36870         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36872         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36874         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36876         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36877         locale.alias.
36879         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36881         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36883         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36885         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36886         file parsing and set FD_CLOEXEC.
36888 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36890         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36892 2011-11-14  Andreas Schwab  <schwab@redhat.com>
36894         * malloc/arena.c (arena_get2): Don't call reused_arena when
36895         _int_new_arena failed.
36897 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36899         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36900         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36901         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36902         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36903         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36904         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36905         to compile strcasecmp and strncasecmp.
36906         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36907         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36909         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36911 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
36913         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36914         locale-defines.sym to gen-as-const-headers.
36915         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36916         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36917         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36918         to compile strcasecmp and strncasecmp.
36919         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36920         strcasecmp_l and strncasecmp_l.
36921         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36922         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36923         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36924         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36925         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36926         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36927         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36928         * sysdeps/i386/i686/multiarch/strncase.S: New file.
36929         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36930         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36931         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36933 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
36935         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36936         result of SYSDEP_GETTIME_CPU to retval.
36937         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36938         parameter list to macro.  Remove trailing semicolon.  Adjust users.
36940         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36941         variable.
36943         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36944         mantissa words.
36945         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36947         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36948         from unused variable.
36950         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36951         DWARF definitions.
36952         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36953         for assembling.
36955         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36956         over namespaces.
36958         * sunrpc/rpc_prot.c (rejected): Fix case value.
36960         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36961         unsigned long long int to avoid warnings in shift.
36963         * posix/regex_internal.c (re_string_reconstruct): Actually use result
36964         of use of trans.
36965         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36966         variable tmp.
36968         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36969         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36970         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36972         * nis/nis_table.c (nis_list): Use variable of correct type for
36973         result of __follow_path call.
36975 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36977         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36978         of math functions ceil, trunc, floor, round, and sqrt, when
36979         avaliable on the platform.
36980         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36981         name clash.
36982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36983         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36984         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36986 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
36988         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36989         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36991 2011-11-11  Roland McGrath  <roland@hack.frob.com>
36993         * include/unistd.h: Fix __readlink return type.
36994         Reported by Chris Metcalf <cmetcalf@tilera.com>.
36996 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
36998         * stdlib/ucontext.h: Undo last change for makecontext.
37000 2011-11-11  Andreas Schwab  <schwab@redhat.com>
37002         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37004         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37005         * setjmp/setjmp.h: Mark functions as non-leaf.
37006         * setjmp/bits/setjmp2.h: Likewise.
37007         * stdlib/ucontext.h: Likewise.
37009 2011-11-10  Andreas Schwab  <schwab@redhat.com>
37011         * malloc/arena.c (_int_new_arena): Don't increment narenas.
37012         (reused_arena): Don't check arena limit.
37013         (arena_get2): Atomically check arena limit.
37015 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37017         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37018         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37020         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37021         instructions.
37023 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37025         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37026         handler when locking.
37028         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37029         Fix size of allocated buffer.
37031 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37033         [BZ #10103]
37034         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37035         declarations for long double functions.
37036         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37038         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37040 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37042         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37043         installed.
37045         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37046         is disabled.
37048 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37050         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37052 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37054         * include/alloca.h (stackinfo_alloca_round): Define.
37055         (extend_alloca): Use it.
37056         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37057         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37058         here.
37060         * scripts/check-local-headers.sh: Ignore libaudit.h.
37062         * nscd/Makefile (extra-objs): Make recursively expanded.
37064 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37066         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37067         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37069         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37070         * posix/tst-rfc3484-2.c: Likewise.
37071         * posix/tst-rfc3484-3.c: Likewise.
37073         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37074         process_vm_writev.
37075         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37076         process_vm_writev.
37077         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37078         process_vm_writev from libc using GLIBC_2.15 version.
37080         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37082 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37084         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37085         stack usage.
37087 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37089         [BZ #13367]
37090         * nss/getent.c (initgroups_keys): Show error message in case no group
37091         names are given.
37093         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37094         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37095         __bump_nl_timestamp.
37096         * nscd/connections (nscd_init): When host database is served open
37097         netlink socket and request notification about configuration changes.
37098         (main_loop_poll): Track netlink file descriptor and bump timestamp
37099         in case data becomes available.
37100         (main_loop_epoll): Likewise.
37101         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37102         (database_pers_head): Add extra_data fileds.
37103         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37104         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37105         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37106         Adjust caller.
37107         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37108         in6ai data, call __free_in6ai.
37109         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37110         Add -DHAVE_NETLINK.
37111         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
37112         interface information.  Reuse previous data if netlink timestamp
37113         is not changed.
37114         (__bump_nl_timestamp): New function.
37115         (__free_in6ai): New function.
37117 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
37119         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37120         close_not_cancel_no_status here.
37121         (__check_pf): Reorganize code a bit to not call close twice if OOM.
37123 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37125         [BZ #13276]
37126         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37127         return value.
37129         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37130         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37131         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37133 2011-07-03  Andreas Jaeger  <aj@suse.de>
37135         [BZ #10709]
37136         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37137         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37138         * math/libm-test.inc (sin_test): Add test case.
37140 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37142         [BZ #13337]
37143         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37144         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37146         * elf/chroot_canon.c (chroot_canon): Cleanups.
37148         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37150         [BZ #13335]
37151         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37152         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37154         * string/test-strchr.c: Make usable for strchrnul testing.
37155         * string/test-strchrnul.c: New file.
37156         * string/Makefile (strop-tests): Add strchrnul.
37158         * po/it.po: Update from translation team.
37159         * po/es.po: Likewise.
37161 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
37163         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37164         the three constants needed as parameters.  Drop the others.
37165         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37166         __m128i_strloadu_tolower.
37167         Create and initialize variable zero and use it in all the places
37168         where _mm_setzero_si128 was used.
37170         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37171         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37172         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37173         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37174         anymore.
37175         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37176         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37177         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37178         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37179         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37180         __mpranred, __mptan.
37181         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37182         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37183         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37184         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37185         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37186         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37187         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37188         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37189         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37191 2011-10-28  Andreas Schwab  <schwab@redhat.com>
37193         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37194         redefine if SHARED.
37195         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37198         wide char related routines to wcsmbs subdir.
37200 2011-10-27  Andreas Schwab  <schwab@redhat.com>
37202         [BZ #13344]
37203         * misc/sys/cdefs.h (__THROWNL): Define.
37204         * posix/unistd.h: Use __THREADNL instead of __THREAD
37205         for memory synchronization functions.
37207 2011-10-26  Roland McGrath  <roland@hack.frob.com>
37209         [BZ #13349]
37210         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37211         doesn't exist.
37212         * manual/stdio.texi (Obstack Streams): Node removed.
37214 2011-10-26  Andreas Schwab  <schwab@redhat.com>
37216         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37217         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37218         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37220         * math/math_private.h (math_force_eval): Allow non-addressable
37221         arguments.
37222         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37224 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37226         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37227         file is not needed.
37229         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37230         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37231         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37232         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37233         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37234         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37235         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37236         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37237         Add AVX variants.
37238         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37239         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37240         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37241         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37242         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37243         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37244         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37245         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37246         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37247         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37248         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37249         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37250         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37251         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37252         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37253         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37254         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37255         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37256         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37258         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37259         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
37261         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37262         place.  Use VEX encoding when compiling for AVX.
37264 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37266         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37267         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37269         * string/test-strchr.c (do_test): Don't generate NUL bytes.
37271 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37273         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37274         useless if() expression.
37275         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37276         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37277         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37278         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37279         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37280         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37281         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37282         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37283         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37284         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37285         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37286         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37287         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37288         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37289         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37290         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37291         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37292         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37293         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37295         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37297 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37299         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37300         condition.
37301         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37303 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37305         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37306         .text section.  Avoid duplicate constants.
37307         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37308         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37309         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37310         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37311         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37312         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37313         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37315         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37316         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37317         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37318         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37319         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37320         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37321         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37322         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37323         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37324         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37325         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37327         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37328         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37329         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37330         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37331         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37332         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37333         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37334         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37335         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37336         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37337         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37338         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37339         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37340         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37341         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37342         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37343         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37344         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37345         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37346         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37347         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37348         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37349         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37350         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37351         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37353 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
37355         * sysdeps/x86_64/dla.h: Move to ...
37356         * sysdeps/x86_64/fpu/dla.h: ...here.
37357         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37358         situations.  Use __builtin_fma only for gcc 4.6 and up.
37360         * config.make.in: Add have-mfma4 entry.
37361         * configure.in: Substitute libc_cv_cc_fma4.
37362         * math/Makefile (dbl-only-routines): Add sincostab.
37363         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37364         Use __sincostab not sincos.
37365         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37366         name is a macro.
37367         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37368         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37369         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
37371         using __copysign.
37372         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
37373         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
37374         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37375         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37376         and __inv.
37377         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37378         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37379         __copysign.
37380         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
37381         define aliases when function name is a macro.
37382         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37383         sysdeps/ieee754/dbl-64/sincos.tbl.
37384         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37385         fma4-enabled routines.
37386         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37387         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37388         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37389         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37390         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37391         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37392         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37393         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37394         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37395         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37396         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37397         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37398         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37399         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37400         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37401         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37402         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37403         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37404         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37405         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37406         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37407         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37408         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37409         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37410         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37411         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37412         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37413         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37414         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37415         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37417         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37418         rename.
37419         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37421         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37422         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37424         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37425         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37426         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37428 2011-10-24  Andreas Schwab  <schwab@redhat.com>
37430         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37432 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37434         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37436         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37437         prediction.
37438         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37440         * string/strnlen.c: Don't define STRNLEN, reverse logic.
37441         Remove unused variable magic_bits.
37442         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37444         * string/strnlen.c: Define and use STRNLEN macro.
37445         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37446         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37447         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37448         * wcsmbs/wcslen.c: Define and use WCSLEN.
37449         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37450         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37451         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37452         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37453         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37454         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37455         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37457 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37460         strnlen-sse2-no-bsf.
37461         Rename strlen-no-bsf to strlen-sse2-no-bsf.
37462         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37463         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37464         Add strnlen support.
37465         (USE_AS_STRNLEN): New macro.
37466         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37467         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37468         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37469         * sysdeps/x86_64/wcslen.S: New file.
37471 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
37473         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37474         XMM-moves are used for copying on small sizes.
37476 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37478         * wcsmbs/Makefile (strop-tests): Add wcschr.
37479         * wcsmbs/test-wcschr.c: New file.
37480         * string/test-strchr.c: Update.
37481         Add wcschr support.
37482         (WIDE): New macro.
37484 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37486         * wcsmbs/Makefile (strop-tests): Add wcslen.
37487         * wcsmbs/test-wcslen.c: New file.
37488         * string/test-strlen.c: Update.
37489         Add wcslen support.
37490         (WIDE): New macro.
37492 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37494         * po/it.po: Update from translation team.
37496 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37498         * sysdeps/x86_64/wcscmp.S: Update.
37499         Fix wrong comparison semantics.
37500         wcscmp shall use signed comparison not unsigned.
37501         Don't use substraction to avoid overflow bug.
37502         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37503         * wcsmbc/wcscmp.c: Likewise.
37504         * string/test-strcmp.c: Likewise.
37505         Add new tests to check cases with negative values.
37507 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37509         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37510         * sysdeps/x86_64/dla.h: ...here.  New file.
37511         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37512         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37513         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37514         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37515         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37516         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37517         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37519         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37521 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
37523         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37524         __ynl_finite aliases.
37526 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37530         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37531         define DLA_FMA.
37532         [DLA_FMA] (EMULV): Use DLA_FMA.
37533         [DLA_FMA] (MUL12): Use EMULV.
37534         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37535         that are not needed.
37536         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37538         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37539         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37540         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37541         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37542         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37544 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37546         * math/s_nan.c: Undef __nan.
37547         * math/s_nanf.c: Undef __nanf.
37548         * math/s_nanl.c: Undef __nanl.
37549         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37550         "math_private.h".
37552 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37554         * math/s_catan.c: Add branch predictions.
37555         * math/s_catanf.c: Likewise.
37556         * math/s_catanh.c: Likewise.
37557         * math/s_catanhf.c: Likewise.
37558         * math/s_catanhl.c: Likewise.
37559         * math/s_catanl.c: Likewise.
37560         * math/s_cexp.c: Likewise.
37561         * math/s_cexpf.c: Likewise.
37562         * math/s_cexpl.c: Likewise.
37563         * math/s_clog.c: Likewise.
37564         * math/s_clog10.c: Likewise.
37565         * math/s_clog10f.c: Likewise.
37566         * math/s_clog10l.c: Likewise.
37567         * math/s_clogf.c: Likewise.
37568         * math/s_clogl.c: Likewise.
37569         * math/s_csqrt.c: Likewise.
37570         * math/s_csqrtf.c: Likewise.
37571         * math/s_csqrtl.c: Likewise.
37572         * math/s_ctanf.c: Likewise.
37573         * math/s_ctanh.c: Likewise.
37574         * math/s_ctanhf.c: Likewise.
37575         * math/s_ctanhl.c: Likewise.
37576         * math/s_ctanl.c: Likewise.
37578         * math/math_private.h: Define __nan, __nanf, __nanl.
37579         * math/s_cacosh.c: Include <math_private.h>.
37580         * math/s_cacoshl.c: Likewise.
37581         * math/s_casinh.c: Likewise.
37582         * math/s_casinhf.c: Likewise.
37583         * math/s_casinhl.c: Likewise.
37584         * math/s_ccos.c: Rely entire on ccosh.
37585         * math/s_ccosf.c: Rely entire on ccoshf.
37586         * math/s_ccosl.c: Rely entirely on ccoshl.
37587         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37588         Remove tests for FE_INVALID.
37589         * math/s_ccoshf.c: Likewise.
37590         * math/s_ccoshl.c: Likewise.
37591         * math/s_csin.c: Likewise.
37592         * math/s_csinf.c: Likewise.
37593         * math/s_csinh.c Likewise.
37594         * math/s_csinhf.c: Likewise.
37595         * math/s_csinhl.c: Likewise.
37596         * math/s_csinl.c: Likewise.
37597         * math/s_ctan.c: Likewise.
37598         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37599         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37600         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37602 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37605         compilation problems.
37607         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37608         __builtin_expect.
37610 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37612         * sysdeps/i386/configure.in: Test for -mfma4 option.
37613         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37614         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37615         COMMON_CPUID_INDEX_80000001.
37616         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37617         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37618         use it if FMA3 is not supported.
37619         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37621         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37622         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37624 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37626         [BZ #12892]
37627         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37628         it would create a cycle with a link time dependency.
37630 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
37632         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37633         instruction.
37634         * string/Makefile (strop-tests): Add rawmemchr.
37635         * string/test-rawmemchr.c: New file.
37637         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37638         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
37639         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
37640         when compiling str{,n}casecmp and when AVX is available.  Hook up
37641         new optimized code in initializers.
37643 2011-10-19  Andreas Schwab  <schwab@redhat.com>
37645         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37646         __feraiseexcept instead of feraiseexcept.
37648 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
37650         * math/math_private.h: Define defaults for libc_fetestexcept and
37651         libc_feupdateenv.
37652         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37653         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37654         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37655         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37656         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37657         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37658         libc_fetestexcept and libc_feupdateenv.
37660         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37661         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37662         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37663         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37664         libc_feholdexcept_setround.
37666         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37667         Add s_nearbyint-c and s_nearbyintf-c.
37668         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37669         nearbyintf inlines.
37670         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37671         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37672         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37673         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37675         * math/math_private.h: Define defaults for libc_fegetround,
37676         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37677         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37678         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37679         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37680         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37681         standard functions.
37682         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37683         Remove comments and hacks for old compiler versions.
37684         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37685         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37686         libc_feholdexceptl.
37688 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37690         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37691         (__feraiseexcept_renamed): Add __NTH.
37692         (feraiseexcept): Add __NTH.  Rename local variables to fix
37693         namespace violations.
37695 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37697         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37699         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37701         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37702         recently added interfaces.
37703         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37705         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37706         about macro parameter expansion.
37708         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37709         __NO_MATH_INLINES is defined.  Cleanups.
37711         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37712         and __floorf is target has SSE4.1.
37713         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37714         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37715         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37716         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37718         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37719         name.
37720         (floorf): Likewise.
37722         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37724 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37726         * misc/sys/cdefs.h: Fix last change.
37728         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37729         database lookup.
37731 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37733         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37735         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37736         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37737         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37738         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37739         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37740         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37741         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37742         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37743         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37744         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37745         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37746         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37747         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37748         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37749         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37750         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37751         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37752         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37753         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37754         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37755         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37756         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37758         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37759         ceil, ceilf, floor, floorf.
37761         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37762         Perform IRELATIVE relocations last.
37764         * elf/do-rel.h: Add another parameter nrelative, replacing the
37765         local variable with the same name.  Change name of the function
37766         to end in Rel or Rela (uppercase).
37767         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37768         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37769         elf_dynamic_do_##reloc function.
37771 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37773         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37774         is sufficient, at least on modern CPUs.
37776         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37778         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37779         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37781         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37782         __expl_finite.
37783         * math/bits/math-finite.h: Add entries for exp.
37784         * math/e_expl.c: Add __*_finite alias.
37785         * sysdeps/i386/fpu/e_exp.S: Likewise.
37786         * sysdeps/i386/fpu/e_expf.S: Likewise.
37787         * sysdeps/i386/fpu/e_expl.c: Likewise.
37788         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37789         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37790         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37791         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37792         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37793         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37794         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37796         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37797         is sufficient, at least on modern CPUs.
37799         * ctype/ctype-info.c (__ctype_init): Define.
37800         * include/ctype.h (__ctype_init): Declare.
37801         (__ctype_b_loc): The variable is always initialized.
37802         (__ctype_toupper_loc): Likewise.
37803         (__ctype_tolower_loc): Likewise.
37804         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37805         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37807 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
37809         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37811         * configure.in: Also look in $cxxmachine/include for C++ system
37812         headers.
37814 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37816         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37817         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37818         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37819         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
37820         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37821         (USE_AS_WMEMCMP): New macro.
37822         Fixing indents.
37823         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37824         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37825         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37826         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37827         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37828         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37829         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37830         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37831         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37832         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37833         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37834         (USE_AS_WMEMCMP): New macro.
37835         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37836         * sysdeps/string/test-memcmp.c: Update.
37837         Fix simple_wmemcmp.
37838         Add new tests.
37839         * wcsmbs/wmemcmp.c: Update.
37840         (WMEMCMP): New macro.
37841         Fix overflow bug.
37843 2011-10-12  Andreas Jaeger  <aj@suse.de>
37845         [BZ #13268]
37846         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37848 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37850         * libio/iofwide.c (do_length): Avoid warning.
37852         * ctype/ctype.h (__isctype_f): Add missing __THROW.
37854 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
37856         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37858         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37859         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37860         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37861         * sysdeps/i386/i686/fpu/e_log.S: New file.
37862         * sysdeps/i386/i686/fpu/e_logf.S: New file.
37863         * sysdeps/i386/i686/fpu/e_logl.S: New file.
37865         * ctype/ctype.h: Add support for inlined isXXX functions when
37866         compiling C++ code.
37868 2011-10-14  Andreas Schwab  <schwab@redhat.com>
37870         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37872         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37874 2011-10-13  Roland McGrath  <roland@hack.frob.com>
37876         [BZ #13291]
37877         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37879 2011-10-13  Andreas Schwab  <schwab@redhat.com>
37881         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37882         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37883         feraiseexcept.
37885         * sysdeps/x86_64/memrchr.S: Check for zero size.
37887         * string/stratcliff.c: Add memrchr tests.
37889 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37891         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37892         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37893         rawmemchr-sse2 rawmemchr-sse2-bsf.
37894         * sysdeps/i386/i686/multiarch/memchr.S: New file.
37895         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37896         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37897         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37898         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37899         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37900         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37901         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37902         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37903         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37904         * string/memrchr.c (MEMRCHR): New macro.
37906 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
37908         Add integration with gcc's -ffinite-math-only and optimize wrapper
37909         functions in libm.
37910         * Versions.def: Define GLIBC_2.15 version for libm.
37911         * math/Makefile (headers): Add bits/math-finite.h.
37912         * math/bits/math-finite.h: New file.
37913         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37914         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37915         * math/e_acoshl.c: Add __*_finite alias.
37916         * math/e_acosl.c: Likewise.
37917         * math/e_asinl.c: Likewise.
37918         * math/e_atan2l.c: Likewise.
37919         * math/e_atanhl.c: Likewise.
37920         * math/e_coshl.c: Likewise.
37921         * math/e_exp10.c: Likewise.
37922         * math/e_exp10f.c: Likewise.
37923         * math/e_exp10l.c: Likewise.
37924         * math/e_exp2l.c: Likewise.
37925         * math/e_fmodl.c: Likewise.
37926         * math/e_gammal_r.c: Likewise.
37927         * math/e_hypotl.c: Likewise.
37928         * math/e_j0l.c: Likewise.
37929         * math/e_j1l.c: Likewise.
37930         * math/e_jnl.c: Likewise.
37931         * math/e_lgammal_r.c: Likewise.
37932         * math/e_log10l.c: Likewise.
37933         * math/e_log2l.c: Likewise.
37934         * math/e_logl.c: Likewise.
37935         * math/e_powl.c: Likewise.
37936         * math/e_sinhl.c: Likewise.
37937         * math/e_sqrtl.c: Likewise.
37938         * math/e_scalb.c: Completely rewritten and optimized.
37939         * math/e_scalbf.c: Likewise.
37940         * math/e_scalbl.c: Likewise.
37941         * math/w_acos.c: Likewise.
37942         * math/w_acosf.c: Likewise.
37943         * math/w_acosl.c: Likewise.
37944         * math/w_acosh.c: Likewise.
37945         * math/w_acoshf.c: Likewise.
37946         * math/w_acoshl.c: Likewise.
37947         * math/w_asin.c: Likewise.
37948         * math/w_asinf.c: Likewise.
37949         * math/w_asinl.c: Likewise.
37950         * math/w_atan2.c: Likewise.
37951         * math/w_atan2f.c: Likewise.
37952         * math/w_atan2l.c: Likewise.
37953         * math/w_atanh.c: Likewise.
37954         * math/w_atanhf.c: Likewise.
37955         * math/w_atanhl.c: Likewise.
37956         * math/w_exp10.c: Likewise.
37957         * math/w_exp10f.c: Likewise.
37958         * math/w_exp10l.c: Likewise.
37959         * math/w_fmod.c: Likewise.
37960         * math/w_fmodf.c: Likewise.
37961         * math/w_fmodl.c: Likewise.
37962         * math/w_j0.c: Likewise.
37963         * math/w_j0f.c: Likewise.
37964         * math/w_j0l.c: Likewise.
37965         * math/w_j1.c: Likewise.
37966         * math/w_j1f.c: Likewise.
37967         * math/w_j1l.c: Likewise.
37968         * math/w_jn.c: Likewise.
37969         * math/w_jnf.c: Likewise.
37970         * math/w_log.c: Likewise.
37971         * math/w_logf.c: Likewise.
37972         * math/w_logl.c: Likewise.
37973         * math/w_log10.c: Likewise.
37974         * math/w_log10f.c: Likewise.
37975         * math/w_log10l.c: Likewise.
37976         * math/w_log2.c: Likewise.
37977         * math/w_log2f.c: Likewise.
37978         * math/w_log2l.c: Likewise.
37979         * math/w_pow.c: Likewise.
37980         * math/w_powf.c: Likewise.
37981         * math/w_powl.c: Likewise.
37982         * math/w_remainder.c: Likewise.
37983         * math/w_remainderf.c: Likewise.
37984         * math/w_remainderl.c: Likewise.
37985         * math/w_scalb.c: Likewise.
37986         * math/w_scalbf.c: Likewise.
37987         * math/w_scalbl.c: Likewise.
37988         * math/w_sqrt.c: Likewise.
37989         * math/w_sqrtf.c: Likewise.
37990         * math/w_sqrtl.c: Likewise.
37991         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37992         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
37993         used.
37994         * math/math_private.h: Declare __kernel_standard_f.
37995         * math/w_cosh.c: Remove cruft and optimize a bit.
37996         * math/w_coshf.c: Likewise.
37997         * math/w_coshl.c: Likewise.
37998         * math/w_exp2.c: Likewise.
37999         * math/w_exp2f.c: Likewise.
38000         * math/w_exp2l.c: Likewise.
38001         * math/w_hypot.c: Likewise.
38002         * math/w_hypotf.c: Likewise.
38003         * math/w_hypotl.c: Likewise.
38004         * math/w_lgamma.c: Likewise.
38005         * math/w_lgamma_r.c: Likewise.
38006         * math/w_lgammaf.c: Likewise.
38007         * math/w_lgammaf_r.c: Likewise.
38008         * math/w_lgammal.c: Likewise.
38009         * math/w_lgammal_r.c: Likewise.
38010         * math/w_sinh.c: Likewise.
38011         * math/w_sinhf.c: Likewise.
38012         * math/w_sinhl.c: Likewise.
38013         * math/w_tgamma.c: Likewise.
38014         * math/w_tgammaf.c: Likewise.
38015         * math/w_tgammal.c: Likewise.
38016         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38017         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38018         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38019         Minor optimizations.  Pretty printing.  Remove cruft.
38020         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38021         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38022         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38023         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38024         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38025         * sysdeps/i386/fpu/e_asin.S: Likewise.
38026         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38027         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38028         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38029         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38030         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38031         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38032         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38033         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38034         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38035         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38036         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38037         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38038         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38039         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38040         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38041         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38042         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38043         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38044         * sysdeps/i386/fpu/e_log.S: Likewise.
38045         * sysdeps/i386/fpu/e_log10.S: Likewise.
38046         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38047         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38048         * sysdeps/i386/fpu/e_log2.S: Likewise.
38049         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38050         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38051         * sysdeps/i386/fpu/e_logf.S: Likewise.
38052         * sysdeps/i386/fpu/e_logl.S: Likewise.
38053         * sysdeps/i386/fpu/e_pow.S: Likewise.
38054         * sysdeps/i386/fpu/e_powf.S: Likewise.
38055         * sysdeps/i386/fpu/e_powl.S: Likewise.
38056         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38057         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38058         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38059         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38060         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38061         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38062         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38063         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38064         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38065         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38066         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38067         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38068         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38069         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38070         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38071         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38072         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38073         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38074         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38075         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38076         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38077         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38078         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38079         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38080         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38081         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38082         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38083         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38084         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38085         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38086         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38087         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38088         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38089         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38090         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38091         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38092         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38093         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38094         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38095         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38096         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38097         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38098         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38099         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38100         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38101         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38102         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38103         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38104         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38105         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38106         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38107         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38108         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38109         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38110         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38111         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38112         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38113         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38114         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38115         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38116         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38117         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38118         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38120         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38121         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38122         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38123         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38124         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38125         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38126         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38127         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38128         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38129         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38130         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38131         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38132         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38133         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38134         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38135         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38136         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38137         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38138         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38139         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38140         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38141         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38142         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38143         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38144         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38145         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38146         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38147         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38148         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38149         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38150         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38151         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38152         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38153         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38154         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38155         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38156         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38157         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38158         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38159         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38160         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38161         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38162         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38163         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38164         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38165         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38166         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38167         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38168         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38169         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38170         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38171         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38172         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38173         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38174         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38175         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
38176         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38177         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38178         (__isnanf): Likewise.
38179         (__isinf_ns): Likewise.
38180         (__isinf_nsf): Likewise.
38181         (__finite): Likewise.
38182         (__finitef): Likewise.
38183         (__ieee754_sqrt): Define as macro.
38184         (__ieee754_sqrtf): Define as macro.
38185         (__ieee754_sqrtl): Define as macro.
38186         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38187         inlined copy.
38188         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38189         __FINITE_MATH_ONLY__ consistent.
38190         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38192 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
38194         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38195         of rawmemchr.
38197         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38199 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
38201         * po/ja.po: Update from translation team.
38203 2011-10-08  Roland McGrath  <roland@hack.frob.com>
38205         * locale/programs/locarchive.c (prepare_address_space): New function.
38206         (create_archive, enlarge_archive, open_archive): Use it.
38208         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38209         inside [SHARED], where it is used.
38211         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38213         * nss/getent.c (netgroup_keys): Remove unused variable.
38214         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38216 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
38218         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38219         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38221         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38222         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38223         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38224         * math/Makefile (libm-calls): Add s_isinf_ns.
38225         * math/divtc3.c: Use __isinf_nsl instead of isinf.
38226         * math/multc3.c: Likewise.
38227         * math/s_casin.c: Likewise.
38228         * math/s_casinf.c: Likewise.
38229         * math/s_casinl.c: Likewise.
38230         * math/s_ccos.c: Likewise.
38231         * math/s_ccosf.c: Likewise.
38232         * math/s_ccosl.c: Likewise.
38233         * math/s_ctan.c: Likewise.
38234         * math/s_ctanf.c: Likewise.
38235         * math/s_ctanh.c: Likewise.
38236         * math/s_ctanhf.c: Likewise.
38237         * math/s_ctanhl.c: Likewise.
38238         * math/s_ctanl.c: Likewise.
38239         * math/w_fmod.c: Likewise.
38240         * math/w_fmodf.c: Likewise.
38241         * math/w_fmodl.c: Likewise.
38242         * math/w_remainder.c: Likewise.
38243         * math/w_remainderf.c: Likewise.
38244         * math/w_remainderl.c: Likewise.
38245         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38246         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38247         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38249         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38250         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38251         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38252         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38254         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38255         of the number.
38256         * stdio-common/printf_fphex.c: Likewise.
38257         * stdio-common/printf_size.c: Likewise.
38259         * math/e_exp10.c: Include math_private.h using <...> not "...".
38260         * math/e_exp10f.c: Likewise.
38261         * math/e_exp10l.c: Likewise.
38262         * math/e_exp2l.c: Likewise.
38263         * math/e_j0l.c: Likewise.
38264         * math/e_j1l.c: Likewise.
38265         * math/e_jnl.c: Likewise.
38266         * math/e_lgammal_r.c: Likewise.
38267         * math/e_rem_pio2l.c: Likewise.
38268         * math/e_scalb.c: Likewise.
38269         * math/e_scalbf.c: Likewise.
38270         * math/e_scalbl.c: Likewise.
38271         * math/k_cosl.c: Likewise.
38272         * math/k_sinl.c: Likewise.
38273         * math/k_tanl.c: Likewise.
38274         * math/s_cacoshf.c: Likewise.
38275         * math/s_catan.c: Likewise.
38276         * math/s_catanf.c: Likewise.
38277         * math/s_catanh.c: Likewise.
38278         * math/s_catanhf.c: Likewise.
38279         * math/s_catanhl.c: Likewise.
38280         * math/s_catanl.c: Likewise.
38281         * math/s_ccosh.c: Likewise.
38282         * math/s_ccoshf.c: Likewise.
38283         * math/s_ccoshl.c: Likewise.
38284         * math/s_cexp.c: Likewise.
38285         * math/s_cexpf.c: Likewise.
38286         * math/s_cexpl.c: Likewise.
38287         * math/s_clog.c: Likewise.
38288         * math/s_clog10.c: Likewise.
38289         * math/s_clog10f.c: Likewise.
38290         * math/s_clog10l.c: Likewise.
38291         * math/s_clogf.c: Likewise.
38292         * math/s_clogl.c: Likewise.
38293         * math/s_csin.c: Likewise.
38294         * math/s_csinf.c: Likewise.
38295         * math/s_csinh.c: Likewise.
38296         * math/s_csinhf.c: Likewise.
38297         * math/s_csinhl.c: Likewise.
38298         * math/s_csinl.c: Likewise.
38299         * math/s_csqrt.c: Likewise.
38300         * math/s_csqrtf.c: Likewise.
38301         * math/s_csqrtl.c: Likewise.
38302         * math/s_ctan.c: Likewise.
38303         * math/s_ctanf.c: Likewise.
38304         * math/s_ctanh.c: Likewise.
38305         * math/s_ctanhf.c: Likewise.
38306         * math/s_ctanhl.c: Likewise.
38307         * math/s_ctanl.c: Likewise.
38308         * math/s_ldexp.c: Likewise.
38309         * math/s_ldexpf.c: Likewise.
38310         * math/s_ldexpl.c: Likewise.
38311         * math/s_significand.c: Likewise.
38312         * math/s_significandf.c: Likewise.
38313         * math/s_significandl.c: Likewise.
38314         * math/w_acos.c: Likewise.
38315         * math/w_acosf.c: Likewise.
38316         * math/w_acosh.c: Likewise.
38317         * math/w_acoshf.c: Likewise.
38318         * math/w_acoshl.c: Likewise.
38319         * math/w_acosl.c: Likewise.
38320         * math/w_asin.c: Likewise.
38321         * math/w_asinf.c: Likewise.
38322         * math/w_asinl.c: Likewise.
38323         * math/w_atan2.c: Likewise.
38324         * math/w_atan2f.c: Likewise.
38325         * math/w_atan2l.c: Likewise.
38326         * math/w_atanh.c: Likewise.
38327         * math/w_atanhf.c: Likewise.
38328         * math/w_atanhl.c: Likewise.
38329         * math/w_cosh.c: Likewise.
38330         * math/w_coshf.c: Likewise.
38331         * math/w_coshl.c: Likewise.
38332         * math/w_dremf.c: Likewise.
38333         * math/w_exp10.c: Likewise.
38334         * math/w_exp10f.c: Likewise.
38335         * math/w_exp10l.c: Likewise.
38336         * math/w_exp2.c: Likewise.
38337         * math/w_exp2f.c: Likewise.
38338         * math/w_fmod.c: Likewise.
38339         * math/w_fmodf.c: Likewise.
38340         * math/w_fmodl.c: Likewise.
38341         * math/w_hypot.c: Likewise.
38342         * math/w_hypotf.c: Likewise.
38343         * math/w_hypotl.c: Likewise.
38344         * math/w_j0.c: Likewise.
38345         * math/w_j0f.c: Likewise.
38346         * math/w_j0l.c: Likewise.
38347         * math/w_j1.c: Likewise.
38348         * math/w_j1f.c: Likewise.
38349         * math/w_j1l.c: Likewise.
38350         * math/w_jn.c: Likewise.
38351         * math/w_jnf.c: Likewise.
38352         * math/w_jnl.c: Likewise.
38353         * math/w_lgamma.c: Likewise.
38354         * math/w_lgamma_r.c: Likewise.
38355         * math/w_lgammaf.c: Likewise.
38356         * math/w_lgammaf_r.c: Likewise.
38357         * math/w_lgammal.c: Likewise.
38358         * math/w_lgammal_r.c: Likewise.
38359         * math/w_log.c: Likewise.
38360         * math/w_log10.c: Likewise.
38361         * math/w_log10f.c: Likewise.
38362         * math/w_log10l.c: Likewise.
38363         * math/w_log2.c: Likewise.
38364         * math/w_log2f.c: Likewise.
38365         * math/w_log2l.c: Likewise.
38366         * math/w_logf.c: Likewise.
38367         * math/w_logl.c: Likewise.
38368         * math/w_pow.c: Likewise.
38369         * math/w_powf.c: Likewise.
38370         * math/w_powl.c: Likewise.
38371         * math/w_remainder.c: Likewise.
38372         * math/w_remainderf.c: Likewise.
38373         * math/w_remainderl.c: Likewise.
38374         * math/w_scalb.c: Likewise.
38375         * math/w_scalbf.c: Likewise.
38376         * math/w_scalbl.c: Likewise.
38377         * math/w_sinh.c: Likewise.
38378         * math/w_sinhf.c: Likewise.
38379         * math/w_sinhl.c: Likewise.
38380         * math/w_sqrt.c: Likewise.
38381         * math/w_sqrtf.c: Likewise.
38382         * math/w_sqrtl.c: Likewise.
38383         * math/w_tgamma.c: Likewise.
38384         * math/w_tgammaf.c: Likewise.
38385         * math/w_tgammal.c: Likewise.
38387         * po/ja.po: Update from translation team.
38389 2011-09-29  Andreas Jaeger  <aj@suse.de>
38391         [BZ #13179]
38392         * sunrpc/netname.c (netname2host): Fix logic.
38394         [BZ #6779]
38395         [BZ #6783]
38396         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38397         correctly.
38398         * math/w_remainder.c (__remainder): Likewise.
38399         * math/w_remainderf.c (__remainderf): Likewise.
38400         * math/libm-test.inc (remainder_test): Add test cases.
38402 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38404         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
38405         sdiv_qrnnd.
38407 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38409         * string/test-memcmp.c: Avoid unncessary #defines.
38410         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38412 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38414         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38415         Use new sse2 version for core i3 - i7 as it's faster
38416         than sse42 version.
38417         (bit_Prefer_PMINUB_for_stringop): New.
38418         * sysdeps/x86_64/rawmemchr.S: Update.
38419         Replace with faster SSE2 version.
38420         * sysdeps/x86_64/memrchr.S: New file.
38421         * sysdeps/x86_64/memchr.S: Update.
38422         Replace with faster SSE2 version.
38424 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
38426         * elf/dl-load.c (lose): Add cast to avoid warning.
38428 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38430         * po/ca.po: Update from translation team.
38432         * inet/getnetgrent_r.c: Hook up nscd.
38433         * nscd/Makefile (routines): Add nscd_netgroup.
38434         (nscd-modules): Add netgroupcache.
38435         (CFLAGS-netgroupcache.c): Define.
38436         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38437         (cache_search): Add const to second parameter.
38438         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38439         INNETGR.
38440         (dbs): Add netgrdb entry.
38441         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38442         (verify_persistent_db): Handle netgrdb.
38443         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38444         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38445         GETFDNETGR.
38446         (netgroup_response_header): Define.
38447         (innetgroup_response_header): Define.
38448         (datahead): Add netgroup_response_header and innetgroup_response_header
38449         elements.
38450         * nscd/nscd.conf: Add entries for netgroup cache.
38451         * nscd/nscd.h (dbtype): Add netgrdb.
38452         (_PATH_NSCD_NETGROUP_DB): Define.
38453         (netgroup_iov_disabled): Declare.
38454         (xmalloc, xcalloc, xrealloc): Move declarations here.
38455         (cache_search): Adjust prototype.
38456         Add netgroup-related prototypes.
38457         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38458         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38459         (__nscd_innetgr): Declare.
38460         * nscd/selinux.c (perms): Use access_vector_t as element type and
38461         add netgroup-related initializers.
38462         * nscd/netgroupcache.c: New file.
38463         * nscd/nscd_netgroup.c: New file.
38464         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38465         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38466         For four parameters use innetgr.
38467         * nss/nss_files/files-init.c: Add definition and callback for netgr.
38468         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38469         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38470         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38472         * nscd/connections.c (register_traced_file): Don't register file
38473         for disabled databases.
38475 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
38477         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38479         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38480         from tree and freeing node.
38482 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
38484         * nss/nsswitch.c (__nss_database_lookup): Handle
38485         nss_parse_service_list out of memory case.
38487 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
38489         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38490         out of memory case.
38492 2011-10-04  Andreas Schwab  <schwab@redhat.com>
38494         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38495         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38496         pass it down.
38497         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38498         elf_machine_rela, elf_machine_lazy_rel.
38499         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38500         (ELF_DYNAMIC_DO_REL): Likewise.
38501         (ELF_DYNAMIC_DO_RELA): Likewise.
38502         (ELF_DYNAMIC_RELOCATE): Likewise.
38503         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38504         to ELF_DYNAMIC_DO_REL.
38505         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38506         (dl_main): In trace mode always set __RTLD_NOIFUNC.
38507         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38508         elf_machine_rela.
38509         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38510         skip_ifunc, don't call ifunc function if non-zero.
38511         (elf_machine_rela): Likewise.
38512         (elf_machine_lazy_rel): Likewise.
38513         (elf_machine_lazy_rela): Likewise.
38514         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38515         (elf_machine_lazy_rel): Likewise.
38516         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38517         Likewise.
38518         (elf_machine_lazy_rel): Likewise.
38519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38520         Likewise.
38521         (elf_machine_lazy_rel): Likewise.
38522         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38523         (elf_machine_lazy_rel): Likewise.
38524         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38525         (elf_machine_lazy_rel): Likewise.
38526         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38527         (elf_machine_lazy_rel): Likewise.
38528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38529         (elf_machine_lazy_rel): Likewise.
38530         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38531         (elf_machine_lazy_rel): Likewise.
38532         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38533         (elf_machine_lazy_rel): Likewise.
38535 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
38537         * nss/nss_files/files-init.c (_nss_files_init): Use static
38538         initialization for all the *_traced_file variables.
38540 2011-09-28  Andreas Schwab  <schwab@redhat.com>
38542         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38544 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38546         [BZ #13226]
38547         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38549 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38551         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38552         Reread the line before reparsing it.
38554 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38556         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38558 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38559             Maxim Kuvyrkov  <maxim@codesourcery.com>
38560             Joseph Myers  <joseph@codesourcery.com>
38562         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38563         if needed for __stack_chk_guard.
38565 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38567         * sysdeps/posix/spawni.c (script_execute): Always define it.
38568         It will be optimized away if unused.
38569         (maybe_script_execute): New function.
38570         (__spawni): Call it.
38572         * Makerules: Don't include tls.make.
38573         (config-tls): Always set to thread.
38574         * tls.make.c: File removed.
38576 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38578         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38579         * config.make.in (CPPFLAGS-config): New substituted variable.
38581 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38583         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38585         [BZ #13192]
38586         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38587         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38589 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38591         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38592         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38593         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38594         (CALL_FAIL): Likewise.
38595         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38596         (CALL_FAIL): Macro removed.
38597         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38599 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38601         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38602         for __FINITE_MATH_ONLY__ == 1.
38604 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38606         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38607         __ieee754_sqrt instead of sqrt.
38608         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38609         __ieee754_sqrtf instead of sqrtf.
38610         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38611         __floorf instead of floorf.
38612         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38613         __floorf, __truncf instead of floorf, truncf.
38615 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38617         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38619         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38620         __extern_always_inline.
38621         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38622         32-bit.
38624 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38626         * elf/rtld.c (dl_main): Also relocate in dependency order when
38627         doing symbol dependency testing.
38629 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
38631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38632         Always define `refsym'.
38634 2011-09-13  Andreas Schwab  <schwab@redhat.com>
38636         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38637         (__FD_ELT): Renamed from __FDELT.
38638         * misc/bits/select2.h (__FD_ELT): Likewise.
38639         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38640         __FD_MASK instead of __FDELT, __FDMASK.
38641         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38642         Likewise.
38643         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38644         Likewise.
38646         * elf/Makefile (gen-ldd): Fix pattern.
38648         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38649         (init_tls): Likewise.
38651 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
38653         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38655 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38657         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38658         `struct cmsghdr *' instead of `void *'.
38659         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38660         Likewise.
38662 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38664         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38665         if non-absolute.
38666         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38667         ldd_rewrite_script.
38669 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38671         * configure.in: Remove --with-tls option.
38672         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38673         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38674         out in case it is missing.
38675         * sysdeps/ia64/elf/configure.in: Likewise.
38676         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38677         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38678         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38679         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38680         * sysdeps/sh/elf/configure.in: Likewise.
38681         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38682         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38683         * sysdeps/x86_64/elf/configure.in: Likewise.
38684         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38685         * sysdeps/mach/hurd/tls.h: Likewise.
38687         [BZ #13067]
38688         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38690         [BZ #13090]
38691         * configure.in: Fix use of AC_INIT.
38693         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38695 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38697         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38698         __set_errno.
38699         * malloc/hooks.c: Likewise.
38701         [BZ #11929]
38702         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38703         variables statically.
38704         (narenas): Initialize.
38705         (list_lock): Initialize.
38706         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38707         initializtion of main_arena and list_lock.  Small cleanups.
38708         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38709         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38710         Add initializers to main_arena and mp_.
38711         (malloc_state): Remove pagesize member.  Change all users to use
38712         GLRO(dl_pagesize).
38714         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38715         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38716         is always initialized.
38718         * malloc/malloc.c: Removed unused configurations and dead code.
38719         * malloc/arena.c: Likewise.
38720         * malloc/hooks.c: Likewise.
38721         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38723         * include/tls.h: Removed.  USE___THREAD must always be defined.
38724         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38725         * elf/dl-libc.c: Likewise.
38726         * elf/dl-tsd.c: Likewise.
38727         * include/errno.h: Likewise.
38728         * include/netdb.h: Likewise.
38729         * include/resolv.h: Likewise.
38730         * inet/herrno-loc.c: Likewise.
38731         * inet/herrno.c: Likewise.
38732         * malloc/arena.c: Likewise.
38733         * malloc/hooks.c: Likewise.
38734         * malloc/malloc.c: Likewise.
38735         * resolv/res-state.c: Likewise.
38736         * resolv/res_libc.c: Likewise.
38737         * sysdeps/i386/dl-machine.h: Likewise.
38738         * sysdeps/ia64/dl-machine.h: Likewise.
38739         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38740         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38741         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38742         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38743         * sysdeps/sh/dl-machine.h: Likewise.
38744         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38745         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38746         * sysdeps/unix/i386/sysdep.S: Likewise.
38747         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38748         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38749         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38753         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38757         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38758         * sysdeps/x86_64/dl-machine.h: Likewise.
38759         * tls.make.c: Likewise.
38761         * configure.in: Remove --with-__thread option.  Make tests for
38762         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38763         tls_model attribute fail if no support is available.  Remove
38764         USE_IN_LIBIO.
38765         * Makeconfig: Adjust for dropped configure option.  All features are
38766         now mandatory.
38767         * Makerules: Likewise.
38768         * Versions.def: Likewise.
38769         * argp/argp-fmtstream.c: Likewise.
38770         * argp/argp-fmtstream.h: Likewise.
38771         * argp/argp-help.c: Likewise.
38772         * assert/assert.c: Likewise.
38773         * config.h.in: Likewise.
38774         * config.make.in: Likewise.
38775         * configure: Likewise.
38776         * configure.in: Likewise.
38777         * csu/Versions: Likewise.
38778         * csu/init.c: Likewise.
38779         * elf/tst-audit2.c: Likewise.
38780         * elf/tst-tls10.c: Likewise.
38781         * elf/tst-tls10.h: Likewise.
38782         * elf/tst-tls11.c: Likewise.
38783         * elf/tst-tls12.c: Likewise.
38784         * elf/tst-tls14.c: Likewise.
38785         * elf/tst-tlsmod11.c: Likewise.
38786         * elf/tst-tlsmod12.c: Likewise.
38787         * elf/tst-tlsmod13.c: Likewise.
38788         * elf/tst-tlsmod13a.c: Likewise.
38789         * elf/tst-tlsmod14a.c: Likewise.
38790         * elf/tst-tlsmod15b.c: Likewise.
38791         * elf/tst-tlsmod16a.c: Likewise.
38792         * elf/tst-tlsmod16b.c: Likewise.
38793         * elf/tst-tlsmod7.c: Likewise.
38794         * elf/tst-tlsmod8.c: Likewise.
38795         * elf/tst-tlsmod9.c: Likewise.
38796         * gmon/gmon.c: Likewise.
38797         * grp/fgetgrent_r.c: Likewise.
38798         * grp/putgrent.c: Likewise.
38799         * hurd/fopenport.c: Likewise.
38800         * include/libc-symbols.h: Likewise.
38801         * include/tls.h: Likewise.
38802         * intl/gettextP.h: Likewise.
38803         * intl/loadinfo.h: Likewise.
38804         * locale/global-locale.c: Likewise.
38805         * locale/localeinfo.h: Likewise.
38806         * mach/devstream.c: Likewise.
38807         * malloc/arena.c: Likewise.
38808         * malloc/set-freeres.c: Likewise.
38809         * misc/err.c: Likewise.
38810         * misc/getttyent.c: Likewise.
38811         * misc/mntent_r.c: Likewise.
38812         * posix/getopt.c: Likewise.
38813         * posix/wordexp.c: Likewise.
38814         * pwd/fgetpwent_r.c: Likewise.
38815         * resolv/Versions: Likewise.
38816         * resolv/res_hconf.c: Likewise.
38817         * shadow/fgetspent_r.c: Likewise.
38818         * shadow/putspent.c: Likewise.
38819         * stdio-common/printf_fphex.c: Likewise.
38820         * stdio-common/tmpfile.c: Likewise.
38821         * stdlib/abort.c: Likewise.
38822         * stdlib/fmtmsg.c: Likewise.
38823         * sunrpc/auth_unix.c: Likewise.
38824         * sunrpc/clnt_perr.c: Likewise.
38825         * sunrpc/clnt_tcp.c: Likewise.
38826         * sunrpc/clnt_udp.c: Likewise.
38827         * sunrpc/clnt_unix.c: Likewise.
38828         * sunrpc/openchild.c: Likewise.
38829         * sunrpc/svc_simple.c: Likewise.
38830         * sunrpc/svc_tcp.c: Likewise.
38831         * sunrpc/svc_udp.c: Likewise.
38832         * sunrpc/svc_unix.c: Likewise.
38833         * sunrpc/xdr.c: Likewise.
38834         * sunrpc/xdr_array.c: Likewise.
38835         * sunrpc/xdr_rec.c: Likewise.
38836         * sunrpc/xdr_ref.c: Likewise.
38837         * sunrpc/xdr_stdio.c: Likewise.
38839 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38841         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38843 2011-07-03  Andreas Jaeger  <aj@suse.de>
38845         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38846         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38847         regenerate with gen-libm-tests.pl.
38849 2010-05-12  Petr Baudis  <pasky@suse.cz>
38851         [BZ #11589]
38852         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38853         around j0() zero points by switching to j1().
38854         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38855         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38856         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38857         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38859 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38861         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38862         instead of 0.
38863         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38864         instead of 0.
38865         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38866         Patch in part by Pavel Roskin <proski@gnu.org>.
38868         [BZ #13138]
38869         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38870         realloc.
38871         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
38872         Free memory block if necessary.
38874         [BZ #12847]
38875         * libio/genops.c (INTDEF): For string streams the _lock pointer can
38876         be NULL.  Don't lock in this case.
38878 2011-09-09  Roland McGrath  <roland@hack.frob.com>
38880         * elf/elf.h (ELFOSABI_GNU): New macro.
38881         (ELFOSABI_LINUX): Define to that.
38883 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
38885         * string/strncat.c (strncat): Undef the symbol in case it has been
38886         defined in bits/string.h.
38888 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38890         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38892         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38893         link map.
38895 2011-08-17  Andreas Jaeger  <aj@suse.de>
38897         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38899 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38900             Ian Lance Taylor  <iant@google.com>
38902         * math/libm-test.inc (lround_test): New testcase.
38903         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38905 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
38907         * Makefile: Remove support for automatic cvs check-ins.
38908         * Makerules: Likewise.
38909         * config.make.in: Likewise.
38910         * configure.in: Likewise.
38911         * intl/Makefile: Likewise.
38912         * locale/Makefile: Likewise.
38913         * po/Makefile: Likewise.
38914         * posix/Makefile: Likewise.
38915         * sysdeps/gnu/Makefile: Likewise.
38916         * sysdeps/mach/hurd/Makefile: Likewise.
38917         * sysdeps/sparc/sparc32/Makefile: Likewise.
38919         [BZ #13118]
38920         * posix/Makefile (bug-regex32-ENV): Define.
38921         Patch by John Stanley <jpsinthemix@verizon.net>.
38923         * misc/Makefile (headers): Add bits/select2.h.
38924         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38925         * misc/bits/select2.h: New file.
38926         * include/bits/select2.h: New file.
38927         * debug/Makefile (routines): Add fdelt_chk.
38928         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38929         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38930         FD_ISSET.
38931         * debug/fdelt_chk.c: New file.
38933         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
38934         * wcsmbs/test-wmemcmp.c: Likewise.
38935         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38936         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38938 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38940         * string/Makefile (strop-tests): Add memcmp.
38941         * string/test-wmemcmp.c: New file.
38942         * string/test-memcmp.c: Add wmemcmp support.
38944 2011-09-08  Roland McGrath  <roland@hack.frob.com>
38946         [BZ #13153]
38947         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38948         2011-07-19 change.
38950         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38951         garbage value in a __mach_port_mod_refs call in the cases of the
38952         task-self and thread-self ports.
38954 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38956         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38958 2011-09-08  Andreas Schwab  <schwab@redhat.com>
38960         * elf/dl-load.c (lose): Check for non-null L.
38962 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38964         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38966         * elf/dl-libc.c (dlerror_run): Pass back error code from
38967         dl_catch_error.
38969         [BZ #13123]
38970         * elf/dl-load.c (lose): Free l_origin if it is valid.
38972         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38973         names.
38974         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38975         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38976         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38977         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38978         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38979         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38981 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38983         * sysdeps/powerpc/fpu/e_hypot.c: New file.
38984         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38985         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38986         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38987         * sysdeps/powerpc/fpu/k_cosf.c: New file.
38988         * sysdeps/powerpc/fpu/k_sinf.c: New file.
38989         * sysdeps/powerpc/fpu/s_cosf.c: New file.
38990         * sysdeps/powerpc/fpu/s_sinf.c: New file.
38991         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38992         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38994 2011-08-15  Alan Modra  <amodra@gmail.com>
38996         [BZ #13092]
38997         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38998         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38999         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
39000         ppc_mcount to static-only-routines.
39001         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39002         __mcount_internal.
39003         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39004         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
39006 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
39008         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39009         for finite and infinity parameters.
39011 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39013         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39014         and add nop instructions for throughput optimization.
39015         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39017 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39019         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39020         aligned copy for power7 with vector-scalar instructions.
39021         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39023 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39025         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39026         AVX check.
39028 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39030         [BZ #13144]
39031         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39032         last change.
39034 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39036         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39037         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39038         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39039         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39040         clock_gettime.
39042 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39044         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39045         Forgot to demangle the pointer.
39047         * sysdeps/i386/sysdep.h: Define atom_text_section.
39048         * sysdeps/x86_64/sysdep.h: Likewise.
39049         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39050         section with atom_text_section.
39051         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39052         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39053         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39054         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39055         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39057         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39058         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39059         already be defined.  Change to take two parameters and don't assign
39060         result to variable.  Adjust all users.
39061         Define INTERNAL_GETTIME if not already defined.
39062         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39063         call.
39064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39065         HAVE_CLOCK_GETTIME_VSYSCALL.
39066         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39068         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39069         gettimeofday vsyscall, just use time.
39071 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39073         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39074         <errno.h>.
39076 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39078         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39079         syscall on x86-64.
39080         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39081         syscall.
39082         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39083         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39084         syscall if possible.
39086 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39088         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39089         e_ident.  Don't pass to find_mapsXX.
39090         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39092 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39095         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39096         * sysdeps/x86_64/multiarch/strchr.S: Update.
39097         Check bit_slow_BSF bit.
39098         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39099         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39100         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39102 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39104         [BZ #13134]
39105         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39106         before glibc 2.15.
39107         (tryshell): Define.
39108         (__spawni): Change last parameter to be flag.  Test
39109         SPAWN_XFLAGS_USE_PATH flag to use path or not.
39110         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39111         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39112         * posix/spawni.c: Likewise.
39113         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39114         * posix/spawnp.c: Likewise.  Change normal version to use
39115         SPAWN_XFLAGS_USE_PATH.
39116         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39117         SPAWN_XFLAGS_TRY_SHELL.
39119         [BZ #13150]
39120         * posix/glob.h: Remove gcc 1.x support.
39122         [BZ #13068]
39123         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39125 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39127         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39128         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39129         strrchr-sse2-bsf
39130         * sysdeps/i386/i686/multiarch/strchr.S: New file.
39131         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39132         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39133         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39134         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39135         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39137 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39139         * sysdeps/x86_64/wcscmp.S: New file.
39141         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39142         wcscmp-c wcscmp-sse2
39143         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39144         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39145         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39146         * wcsmbs/wcscmp.c: Allow renaming.
39148 2011-09-05  David S. Miller  <davem@davemloft.net>
39150         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39151         stack slot, rather than the struct return pointer slot.
39152         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39153         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39155         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39157 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39159         * po/ja.po: Update from translation team.
39161         [BZ #13144]
39162         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39163         kernel in 64-bit binaries.
39165 2011-09-01  David S. Miller  <davem@davemloft.net>
39167         * elf/elf.h (HWCAP_SPARC_*): Move to..
39168         * sysdeps/sparc/sysdep.h: this new file and add new values.
39169         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39170         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39171         _DL_HWCAP_COUNT to 24.
39172         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39173         entries.
39174         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39175         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39176         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39177         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39178         instead of magic constants.
39179         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39181 2011-08-31  David S. Miller  <davem@davemloft.net>
39183         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39185         Reimplement to do errno handling inline.
39186         (SYSCALL_ERROR_HANDLER): New macro.
39187         (__SYSCALL_STRING): Do not do errno handling in asm.
39188         (__CLONE_SYSCALL_STRING): Delete.
39189         (__INTERNAL_SYSCALL_STRING): Delete.
39190         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39191         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39192         (PSEUDO): Reimplement to do errno handling inline.
39193         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39194         (SYSCALL_ERROR_HANDLER): New macro.
39195         (__SYSCALL_STRING): Do not do errno handling in asm.
39196         (__CLONE_SYSCALL_STRING): Delete.
39197         (__INTERNAL_SYSCALL_STRING): Delete.
39198         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39199         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39200         i386.
39201         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39202         (inline_syscall*): Add 'err' argument.
39203         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39204         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39205         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39206         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39208         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39209         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39211 2011-08-30  Andreas Schwab  <schwab@redhat.com>
39213         * elf/rtld.c (dl_main): Relocate objects in dependency order.
39215 2011-08-29  Jiri Olsa <jolsa@redhat.com>
39217         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39218         directive.
39220 2011-08-24  David S. Miller  <davem@davemloft.net>
39222         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39224 2011-08-24  Andreas Schwab  <schwab@redhat.com>
39226         * elf/Makefile: Add rules to build and run unload8 test.
39227         * elf/unload8.c: New file.
39228         * elf/unload8mod1.c: New file.
39229         * elf/unload8mod1x.c: New file.
39230         * elf/unload8mod2.c: New file.
39231         * elf/unload8mod3.c: New file.
39233         * elf/dl-close.c (_dl_close_worker): Reset private search list if
39234         it wasn't used.
39236 2011-08-23  David S. Miller  <davem@davemloft.net>
39238         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39239         subtract stack bias.
39240         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39241         %sp not %fp in calculations.
39242         (_JMPBUF_UNWINDS_ADJ): Likewise.
39244         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39245         (aio_suspend): Call it to force an exception region around the
39246         AIO_MISC_WAIT() invocation.
39248 2011-08-23  Andreas Schwab  <schwab@redhat.com>
39250         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39251         backslash.
39253 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
39255         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39256         protection macro.
39257         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39258         and <dl-machine.h>.
39259         (Elf64_FuncDesc): Remove.
39261 2011-08-22  David S. Miller  <davem@davemloft.net>
39263         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39264         sigaltstack check, add missing cfi directives.
39265         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39266         missing cfi directives, and sigaltstack handling.
39268 2011-08-16  Andreas Schwab  <schwab@redhat.com>
39270         [BZ #11724]
39271         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39272         object is seen twice.
39273         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39275         * elf/Makefile (distribute): Add tst-initorder2.c.
39276         (tests): Add tst-initorder2.
39277         (modules-names): Add tst-initorder2a tst-initorder2b
39278         tst-initorder2c tst-initorder2d.  Add rules to build them.
39279         ($(objpfx)tst-initorder2.out): New rule.
39280         * elf/tst-initorder2.c: New file.
39281         * elf/tst-initorder2.exp: New file.
39283 2011-08-22  Andreas Schwab  <schwab@redhat.com>
39285         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39287         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39288         dependencies back to end of function.
39290         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39291         $(elfobjdir)/ld.so.
39293 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
39295         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39296         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39297         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39298         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39299         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39300         of __vdso_gettimeofday.
39301         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39302         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
39303         attribute_hidden.
39304         (_libc_vdso_platform_setup): Remove initialization of
39305         __vdso_gettimeofday and __vdso_time.
39307 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39309         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39310         and fgetc_unlocked.
39311         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39312         getc_unlocked.
39314         * elf/dl-open.c (add_to_global): Report additions to the global scope
39315         for LD_DEBUG=scopes.
39316         (dl_open_worker): Also print scope of newly loaded dependencies.
39317         (_dl_show_scope): Indicate if there is no scope.
39319         [BZ #13114]
39320         * stdio-common/Makefile (tests): Add bug24.
39321         * stdio-common/bug24.c: New file.
39323 2011-08-19  Andreas Jaeger  <aj@suse.de>
39325         [BZ #13114]
39326         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39327         non-existant file when using close-on-exec mode.
39329 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39331         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39332         the very first instruction.
39334         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39335         the CFI state in the end.
39336         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39337         inclusion of dl-trampoline.h.
39338         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39340 2011-08-19  Andreas Schwab  <schwab@redhat.com>
39342         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39343         expectations for long double.
39345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39346         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39348 2011-08-14  David S. Miller  <davem@davemloft.net>
39350         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39351         artificual limit depends upon the system page size.
39353 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39355         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39356         * resolv/Makefile: Define CFLAGS-libresolv.
39358 2011-08-17  Andreas Schwab  <schwab@redhat.com>
39360         * nss/makedb.c (compute_tables): Make variables used in nested
39361         function static.
39363 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39365         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39366         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39367         if buffer was too small.
39369         * elf/pldd.c (main): Attach to all threads in the process.
39370         Rewrite /proc handling to use *at functions.
39372 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
39374         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39375         specifies first scope to show.
39376         (dl_open_worker): Update callers.  Move printing scope of new
39377         object to before the relocation.
39378         * elf/rtld.c (dl_main): Update _dl_show_scope call.
39379         * sysdeps/generic/ldsodefs.h: Update declaration.
39381         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39382         string for the scope number.
39384 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
39386         * nscd/servicescache.c (cache_addserv): Make sure written is always
39387         initialized.
39389 2011-08-14  Roland McGrath  <roland@hack.frob.com>
39391         * sysdeps/i386/i486/bits/atomic.h
39392         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39393         statement expression, so as to suppress "set but not used" warning.
39394         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39396         * string/strncat.c (STRNCAT): Use prototype definition.
39398         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39399         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39400         -Iprograms here.
39401         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39402         (localedef-modules): Add localedef.
39403         (locale-modules): Add locale.
39405         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39406         * elf/rtld.c (dl_main): Invert order of assignment in last change,
39407         to avoid a warning.
39409 2011-08-14  David S. Miller  <davem@davemloft.net>
39411         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39412         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39414 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
39416         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39417         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39418         * elf/rtld.c (dl_main): Set l_name of vDSO.
39419         Call _dl_show_scope when DL_DEBUG_SCOPES.
39420         (process_dl_debug): Recognize scopes flag and also set it for all.
39421         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39422         Declare _dl_show_scope.
39424         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39425         (do_dlopen): Pass caller_dlopen to dl_open.
39426         (__libc_dlopen_mode): Initialize caller_dlopen.
39428         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39429         of libc.  Make tolower call locale-independent.  Optimize a bit by
39430         using isdigit instead of isalnum.
39431         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39433 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
39435         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39436         was a dependency or dynamically loaded.
39438 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
39440         * intl/l10nflist.c: Allow architecture-specific pop function.
39441         * sysdeps/x86_64/l10nflist.c: New file.
39443         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39444         classification.
39446 2011-08-10  Andreas Schwab  <schwab@redhat.com>
39448         * include/dirent.h: Add libc_hidden_proto for scandirat and
39449         scandirat64.  Don't declare __scandirat64.
39450         * dirent/scandirat.c: Add libc_hidden_def.
39451         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39452         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39454 2011-08-10  David S. Miller  <davem@davemloft.net>
39456         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39457         enum.
39458         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39459         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39460         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39462 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
39464         * Versions.def [libc]: Add GLIBC_2.15.
39465         * dirent/Makefile (routines): Add scandirat and scandirat64.
39466         * dirent/Versions [libc]: Export scandirat and scandirat64 for
39467         GLIBC_2.15.
39468         * dirent/dirent.h: Declare scandirat and scandirat64.
39469         * dirent/scandirat.c: New file.
39470         * dirent/scandirat64.c: New file.
39471         * sysdeps/wordsize-64/scandirat.c: New file.
39472         * sysdeps/wordsize-64/scandirat64.c: New file.
39473         * dirent/opendir.c: Define opendirat.
39474         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
39475         using scandirat.
39476         * dirent/scandir64.c: Adjust for scandir.c change.
39477         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
39478         __scandirat64, and __scandir_cancel_handler.
39479         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
39480         additional parameter and use openat instead of open (outside of ld.so).
39481         Add new __opendir as wrapper around __opendirat.
39482         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39483         here without requiring old scandirat implementation.
39485 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
39487         * dirent/scandir.c (cancel_handler): Renamed to
39488         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
39489         defined.  Adjust users.
39490         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39491         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39493 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
39495         * string/test-string.h (IMPL): Use __STRING to expand name and then
39496         stringify it.
39498         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
39499         of cleanups.
39501 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39503         * string/Makefile: Update.
39504         (strop-tests): Append strncat.
39505         * string/test-wcscmp.c: New file.
39506         New comprehensive test for wcscmp.
39507         * string/test-strcmp.c: Update.
39508         (WIDE): New define.
39510 2011-07-22  Andreas Schwab  <schwab@redhat.com>
39512         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39513         line.
39515 2011-07-26  Andreas Schwab  <schwab@redhat.com>
39517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39518         encoding to ACE if AI_IDN.
39520 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
39522         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39523         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39525 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39527         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39528         Fix overflow bug in strncat.
39529         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39531         * string/test-strncat.c: Update.
39532         Add new tests for checking overflow bugs.
39534 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39536         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39537         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39538         * sysdeps/i386/i686/multiarch/strcat.S: New file.
39539         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39540         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39541         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39542         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39543         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39544         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39546         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39547         (USE_AS_STRCAT): Define.
39548         Add strcat and strncat support.
39549         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39551 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39553         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39554         __n bigger than INT_MAX+1.
39555         (__strncmp_g): Likewise.
39557 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39559         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39560         * libio/stido.h: Likewise.
39562         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39563         (AF_NFC): Define.
39564         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39565         (AF_NFC): Define.
39567         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39568         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39569         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39570         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39571         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39573         [BZ #13021]
39574         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39575         installed.
39577         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39578         typo.
39579         (_dl_x86_64_save_sse): Likewise.
39581 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39583         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39584         OSXSAVE.
39585         (_dl_x86_64_save_sse): Likewise.
39587         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39589         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39591 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39593         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39594         change.
39595         (_dl_x86_64_save_sse): Use correct AVX check.
39597 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39599         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39600         bug in strncpy/strncat.
39601         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39603 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39605         * string/tester.c (test_strcat): Add tests for different alignments
39606         of source and destination.
39607         (test_strncat): Likewise.
39609 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39611         [BZ #12852]
39612         * posix/glob.c (glob): Check passed in values before using them in
39613         expressions to avoid some overflows.
39614         (glob_in_dir): Likewise.
39616         [BZ #13007]
39617         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39618         check for AVX enablement so that we don't crash with old kernels and
39619         new hardware.
39620         * elf/tst-audit4.c: Add same checks here.
39621         * elf/tst-audit6.c: Likewise.
39623         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39625 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39627         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39629 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39631         * po/cs.po: Update from translation team.
39632         * po/bg.po: Likewise.
39634 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
39636         * misc/sys/cdefs.h: Add support for const attribute.
39637         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39638         to gnu_dev_{major,minor,makedev} functions.
39640 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
39642         * intl/dcigettext.c (get_output_charset): Add missing bracket.
39644 2011-07-20  Andreas Schwab  <schwab@redhat.com>
39646         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39647         strlen results.
39649 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39652         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39653         register in order to avoid conflicts with the soft frame pointer
39654         being held in r11 when necessary.
39655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39656         (INTERNAL_VSYSCALL_NCS): Likewise.
39658 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39660         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39661         * elf/dl-fini.c (_dl_fini): Adjust caller.
39662         * elf/dl-close.c (_dl_close_worker): Likewise.
39663         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39665 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39667         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39668         "aux_cache->nlibs < 0".
39670         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39671         in the reload-count case.
39673 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39676         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39677         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39678         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39679         * sysdeps/x86_64/multiarch/strcat.S: New file.
39680         * sysdeps/x86_64/multiarch/strncat.S: New file.
39681         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39682         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39683         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39684         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39685         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39686         (USE_AS_STRCAT): Define.
39687         Add strcat and strncat support.
39688         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39689         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39690         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39691         * string/strncat.c: Update.
39692         (USE_AS_STRNCAT): Define.
39693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39694         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39695         and i7.
39696         * sysdeps/x86_64/multiarch/init-arch.h
39697         (bit_Prefer_PMINUB_for_stringop): New.
39698         (index_Prefer_PMINUB_for_stringop): Likewise.
39699         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39700         bit_Prefer_PMINUB_for_stringop.
39702 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39704         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39705         buffer64.
39706         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39707         of casting of buffer.
39708         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39709         buffer32 and buffer64.
39710         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39711         writes instead of casting of buffer.
39712         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39713         buffer32.
39714         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39715         casting of buffer.
39717 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39719         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39721 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39723         * nscd/nscd.c (termination_handler): Don't do anything for a database
39724         if it has not yet been initialized.
39726 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39728         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39730 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39732         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39734 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39736         * po/nl.po: Update from translation team.
39737         * po/sv.po: Likewise.
39739 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39741         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39742         now disallowed by GCC.
39744         * configure.in (use-default-link): Default to yes if a test -shared
39745         link meets our qualifications.
39746         * configure: Regenerated.
39748         * config.make.in (output-format): New variable.
39749         * configure.in: Check for ld --print-output-format support.
39750         * configure: Regenerated.
39751         * Makerules ($(common-objpfx)format.lds)
39752         [$(output-format) != unknown]: Just use $(output-format),
39753         instead of the linker-script munging.
39755 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39757         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39758         of $(common-objpfx)shlib.lds.
39759         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39761         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39762         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39764         * configure.in (-z relro check): Adjust test code to add a large
39765         writable data section after it.
39766         * configure: Regenerated.
39768 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39770         * configure.in (-z relro check): Fix test code to make the variable
39771         truly const.
39772         * configure: Regenerated.
39774 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39776         * nscd/nscd.h (struct traced_file): Define.
39777         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39778         elements.  Add traced_files.
39779         (inotify_fd): Declare.
39780         (register_traced_file): Declare.
39781         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39782         (inotify_fd): Export.
39783         (resolv_conf_descr): Remove.
39784         (nscd_init): Move inotify descriptor creation to main.
39785         Don't register files for notification here.
39786         (register_traced_file): New function.
39787         (invalidate_cache): Don't use reset_res to determine whether to call
39788         res_init, go through the list of registered files.
39789         (main_loop_poll): The inotify descriptors are now stored in the
39790         structures for the traced files.
39791         (main_loop_epoll): Likewise
39792         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
39793         to __nss_disable_nscd.
39794         * nscd/cache.c (prune_cache): There is no single inotify descriptor
39795         for a database anymore.  Check the records for all the registered
39796         files instead.
39797         * nss/Makefile (libnss_files-routines): Add files-init.
39798         (libnss_db-routines): Add db-init.
39799         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39800         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39801         * nss/nss_db/db-init.c: New file.
39802         * nss/nss_files/files-init.c: New file.
39803         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
39804         __nss_lookup_function.
39805         (__nss_lookup_function): Call nss_load_library.
39806         (nss_load_all_libraries): New function.
39807         (__nss_disable_nscd): Take parameter with callback function for files
39808         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
39809         used for the cached services.
39810         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39811         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39812         options for features to all the files in nscd.
39814         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39816 2011-07-10  Roland McGrath  <roland@hack.frob.com>
39818         * csu/elf-init.c (__libc_csu_init): Comment typo.
39820 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
39822         * po/pl.po: Update from translation team.
39823         * po/ja.po: Likewise.
39824         * po/ru.po: Likewise.
39825         * po/ko.po: Likewise.
39826         * po/fr.po: Likewise.
39828 2011-07-09  Roland McGrath  <roland@hack.frob.com>
39830         * configure.in (.ctors/.dtors header and trailer check):
39831         Use an empirical test on a built program.
39832         * configure: Regenerated.
39834         * configure.in (-z relro check): Use an empirical test on a built DSO.
39835         Detect, but do not require, on ia64.
39836         * configure: Regenerated.
39838         * configure.in (READELF): Find it with AC_CHECK_TOOL.
39839         Update tests that use readelf to use $READELF instead.
39840         * configure: Regenerated.
39842 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
39844         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39845         if the result is not used.
39847 2011-07-05  Andreas Jaeger  <aj@suse.de>
39849         [BZ#9696]
39850         * stdlib/tst-strtod.c: Add testcase.
39852 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
39854         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39855         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39856         The latter has a higher limit.  Take additional parameter to pass to
39857         the new function.
39858         (__pathconf): Pass file to __statfs_link_max.
39859         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39860         __statfs_link_max.
39861         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39862         __statfs_link_max.
39864         [BZ #12868]
39865         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39866         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39867         Handle Lustre.
39868         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39869         (__statfs_filesize_max): Likewise.
39870         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39872 2011-07-05  Andreas Jaeger  <aj@suse.de>
39874         * resolv/res_comp.c (dn_skipname): Remove unused variable.
39876 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
39878         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39879         `status' variable.
39880         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39881         Likewise.
39883 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
39885         * Makefile (strop-tests): Add strncat.
39886         * string/test-strncat.c: New file.
39888 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
39890         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39892 2011-06-21  Andreas Jaeger  <aj@suse.de>
39894         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39895         Copy rule from iconvdata/Makefile.
39897 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39899         [BZ #12922]
39900         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39901         but no long options are defined, just return 'W'.
39903 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
39905         [BZ #9696]
39906         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39908 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39910         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39911         netgroups to read.
39912         (innetgr): Likewise.
39914 2011-07-05  Roland McGrath  <roland@hack.frob.com>
39916         * config.make.in (install_root): Default to $(DESTDIR).
39918 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
39920         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39922 2011-07-02  Roland McGrath  <roland@hack.frob.com>
39924         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39926         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39927         containing directory rather than embedding absolute directory names.
39929         * scripts/check-local-headers.sh: Rewritten using awk.
39930         Match by word, not by line.  Print error messages for matches.
39931         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39933         * Makerules [shlib-lds-flags empty]:
39934         ($(common-objpfx)libc_pic.opts): New target.
39935         ($(common-objpfx)libc_pic.os.clean): New target.
39936         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39938         * config.make.in (OBJCOPY): New variable.
39939         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39940         * configure: Regenerated.
39942         * config.make.in (use-default-link): New variable.
39943         * configure.in (use_default_link): Grok --with-default-link to set it.
39944         * configure: Regenerated.
39945         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39946         (shlib-lds, shlib-lds-flags): Define to empty.
39948         * Makerules (shlib-lds): New variable.
39949         (shlib-lds-flags): New variable.
39950         (build-shlib, build-moduile, build-module-asneeded): Use it.
39951         ($(common-objpfx)libc.so): Use $(shlib-lds).
39952         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39953         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39955         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39956         DT_FLAGS/DT_FLAGS_1 with zero flags.
39958         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39959         linker script munging.
39961 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
39963         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39964         as 128-bit value.
39965         * crypt/sha512.c (sha512_process_block): Perform total addition using
39966         128-bit if possible.
39967         (__sha512_finish_ctx): Likewise.
39968         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39969         as 64-bit value.
39970         * crypt/sha256.c (SWAP64): Define.
39971         (sha256_process_block): Perform total addition using 64-bit if
39972         possible.
39973         (__sha256_finish_ctx): Likewise.
39975 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
39977         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
39978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39979         * nscd/hstcache.c (cache_addhst): Likewise.
39980         * nscd/grpcache.c (cache_addgr): Likewise.
39981         * nscd/aicache.c (addhstaiX): Likewise
39982         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39984 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
39986         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39987         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39988         * nscd/hstcache.c (cache_addhst): Likewise.
39989         * nscd/grpcache.c (cache_addgr): Likewise.
39990         * nscd/aicache.c (addhstaiX): Likewise
39992 2011-07-01  Andreas Schwab  <schwab@redhat.com>
39994         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39995         domain only when needed.
39997 2011-06-30  Andreas Schwab  <schwab@redhat.com>
39999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40000         is always restored.
40002 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
40004         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40005         are re-adding the entry.
40006         * nscd/servicescache.c (cache_addserv): Likewise.
40008 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
40010         * sysdeps/generic/dl-irel.h: fix protection against multiple
40011         inclusions.
40012         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40014 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
40016         [BZ #12935]
40017         * malloc/memusage.sh: Fix quoting in message.
40018         * debug/xtrace.sh: Likewise.
40020         * configure.in: Remove support for --experimental-malloc option, make
40021         it the default.
40022         * config.make.in: Likewise.
40023         * malloc/Makefile: Likewise.
40025 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40027         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40028         two-byte characters.
40030 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40032         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40033         AC_CACHE_CHECK invocation.
40034         * configure: Regenerated.
40036         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40038 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40040         [BZ #12350]
40041         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40042         bit from old_res_options.
40044         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40046         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40047         value type for setfct.
40049 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40051         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40052         __gettimeofday instead of gettimeofday.
40054 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40056         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40058 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40060         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40062         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40063         info.
40065 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40068         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40069         strcpy-sse2-unaligned strncpy-sse2-unaligned
40070         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40071         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40072         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40073         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40074         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40075         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40076         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40077         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40078         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40079         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40080         (STRCPY): Support SSE2 and SSSE3 versions.
40082 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40084         [BZ #12874]
40085         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40086         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40087         kernels which artificially limit size of requests.
40089 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40092         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40093         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40094         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40095         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40096         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40097         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40098         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40099         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40100         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40101         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40102         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40103         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40104         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40105         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40107         Enable unaligned load optimization for Intel Core i3, i5 and i7
40108         processors.
40109         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40110         Define.
40111         (index_Fast_Unaligned_Load): Define.
40112         (HAS_FAST_UNALIGNED_LOAD): Define.
40114 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
40116         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40118 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40120         [BZ #12907]
40121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40122         until it is clear that the information is realy needed.
40123         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40125 2011-06-22  Andreas Schwab  <schwab@redhat.com>
40127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40129 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40131         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40132         /sys/devices/system/cpu/online if it is usable.
40134         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40135         reading the information from the /proc filesystem to once a second.
40137 2011-06-21  Andreas Jaeger  <aj@suse.de>
40139         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40140         NULL after inclusion of kernel headers.
40142 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
40144         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40145         calls to internal_setent.
40147         [BZ #12885]
40148         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40149         addresses using gethostbyname4_r ignore IPv4 addresses.
40151         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40152         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
40154         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40156 2011-06-20  David S. Miller  <davem@davemloft.net>
40158         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40159         inclusions.
40160         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40162         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40163         (elf_irel): Use it.
40164         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40165         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40166         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40167         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40168         * sysdeps/x86_64/dl-irel.h: Likewise.
40170         * elf/dl-runtime.c: Use elf_ifunc_invoke.
40171         * elf/dl-sym.c: Likewise.
40173 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40175         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
40176         need to dereference resplen2.
40178 2011-06-14  Andreas Schwab  <schwab@redhat.com>
40180         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40182 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40184         * Makeconfig: Define vardbdir and inst_vardbdir.
40185         * nss/Makefile: Add rules to install db-Makefile.
40187         * nss/nss_db/db-XXX.c: Cleanup.
40189         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40190         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40191         GLIBC_PRIVATE.
40192         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40193         * nss/makedb.c: Implement -g option to specify that value strings
40194         are generated and should not be added to table iterated over for
40195         get*ent calls.
40196         * nss/nss_db/db-initgroups.c: New file.
40198         * nss/getent.c: Add support for initgroups lookups through getgrouplist
40199         interface.
40201         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40202         (internal_getgrouplist): Adjust to name change.
40203         Update use_initgroups_entry if this is not the first call.
40204         * nss/databases.def: Add initgroups entry.
40206         * nss/makedb.c (compute_tables): Check result of multiple hash table
40207         sizes to minimize maximum chain length.
40209 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
40211         * Versions.def: Add entry for libnss_db.
40212         * shlib-versions: Likewise.
40213         * nss/Makefile: Add rules to build libnss_db.
40214         * nss/Versions: Add libnss_db information.  Organize libnss_files
40215         entries better.
40216         * nss/db-Makefile: Add gshadow support.  Change rules for the new
40217         makedb progra.  Some minor improvements to generate smaller files.
40218         * nss/nss_db/nss_db.h: Move NSS database header data structures to
40219         here from...
40220         * nss/makedb.c: ...here.
40221         Improve database format to be smaller and require less memory at
40222         runtime.
40223         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
40224         db anymore.
40225         * nss/nss_db/db-netgrp.c: Likewise.
40226         * nss/nss_db/db-open.c: Likewise.
40227         * nss/nss_files/flies-XXX.x: Adjust comments.
40228         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40229         * nss/nss_files/files-grp.c: Likewise.
40230         * nss/nss_files/files-hosts.c: Likewise.
40231         * nss/nss_files/files-network.c: Likewise.
40232         * nss/nss_files/files-proto.c: Likewise.
40233         * nss/nss_files/files-pwd.c: Likewise.
40234         * nss/nss_files/files-rpc.c: Likewise.
40235         * nss/nss_files/files-service.c: Likewise.
40236         * nss/nss_files/files-sgrp.c: Likewise.
40237         * nss/nss_files/files-spwd.c: Likewise.
40238         * nss/nss_db/db-alias.c: Removed.
40239         * nss/nss_db/dummy-db.h: Removed.
40241 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
40243         * nss/makedb.c: Rewritten to not use database library.
40244         * nss/Makefile: Update to build new makedb program.
40246 2011-06-14  Andreas Jaeger  <aj@suse.de>
40248         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40249         memset declaration.
40251 2011-06-10  Andreas Schwab  <schwab@redhat.com>
40253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40254         tmpbuf.
40256 2011-06-10  Roland McGrath  <roland@hack.frob.com>
40258         * Makerules (shlib.lds): Fail if the linker script comes out empty.
40259         * elf/Makefile ($(objpfx)ld.so): Likewise.
40261         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40262         Don't list ld.so twice in dependencies.
40264         * posix/bug-regex31.c: Include <stdlib.h>.
40266         * nscd/hstcache.c (cache_addhst): Remove unused variable.
40268         * nis/nss_compat/compat-spwd.c
40269         (getspent_next_nss_netgr): Remove unused variable.
40270         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40272         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40273         nonmembers" output to use the right array.
40275         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40277         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40279         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40280         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40281         * catgets/gencat.c (read_input_file): Likewise.
40282         * locale/programs/locarchive.c (enlarge_archive): Likewise.
40284         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40285         variable definition inside #if's controlling its use.
40287         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40289         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40291         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40293         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40294         unreachable code.
40296         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40298         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40299         * configure: Regenerated.
40301         * Makerules: Revert last change.
40302         * elf/Makefile: Likewise.
40304 2011-06-09  Roland McGrath  <roland@hack.frob.com>
40306         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40307         * elf/Makefile ($(objpfx)librtld.os): Likewise.
40308         (reloc-link): Likewise.
40310 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
40312         * elf/Makefile: Add rules to build pldd.
40313         * elf/pldd.c: New file.
40314         * elf/pldd-xx.c: New file.
40316 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
40318         * version.h: Update for 2.15 development version.
40320 2011-06-07  David S. Miller  <davem@davemloft.net>
40322         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40323         ifuncs.
40324         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40325         elf_machine_lazy_rel): Likewise.
40326         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40327         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40328         elf_machine_lazy_rel): Likewise.
40329         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40330         dl_hwcap via passed in argument.
40331         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40332         Likewise.
40334 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40336         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
40338 2011-06-06  Roland McGrath  <roland@hack.frob.com>
40340         [BZ #12849]
40341         * manual/fdl-1.1.texi: New file, verbatim from:
40342         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40343         * manual/lgpl-2.1.texi: New file, verbatim from:
40344         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40345         * manual/Makefile (licenses): New variable, list those new file names.
40346         (texis): Use it.
40347         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40349         * manual/fdl.texi: File removed.
40350         * manual/lesser.texi: File removed.
40351         * manual/libc.texinfo (Copying, Documentation License):
40352         Use new @include file names, put @appendix directive before @include.
40354 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
40356         [BZ #12841]
40357         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40358         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40359         (mq_open): Add __NTH.
40361 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
40363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40364         Assume Intel Core i3/i5/i7 processor if AVX is available.
40366 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40368         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40369         typo.
40371 2011-05-31  Andreas Schwab  <schwab@redhat.com>
40373         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40374         memory.  Use alloca_account.  Fix memory leak when retrying.
40376 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40378         * version.h (RELEASE): Bump for 2.14 release.
40379         * include/features.h (__GLIBC_MINOR__): Bump to 14.
40381         * config.make.in (RANLIB): Remove entry.
40383 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
40385         * po/Makefile (po-sed-cmd): Add ksh to extensions.
40386         (libc.pot): Work around missing support for .ksh extension in xgettext.
40388         [BZ #12684]
40389         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40390         if both request failed.
40391         (send_dg): In case of server errors clear resplen or *resplen2.
40393         [BZ #12454]
40394         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40395         when there are multiple maps.
40396         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40397         (_dl_fini): Remove test here.
40399         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40401 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
40403         [BZ #12350]
40404         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40405         bit from old_res_options.
40406         (gaih_inet): Likewise.
40408         [BZ #11099]
40409         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40410         as signed.
40412         * resolv/res_init.c (res_setoptions): Make the code more compact.
40414         [BZ #11558]
40415         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40416         set RES_USEVC.
40418         [BZ #11634]
40419         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40421         * malloc/malloc.h: Mark malloc hook variables as deprecated.
40423         [BZ #11781]
40424         * malloc/malloc.h: Declare malloc hook variables as volatile.
40426         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40427         in last patch.
40429         [BZ #11799]
40430         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40431         raise in the comment.
40432         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40433         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40434         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40436 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
40438         [BZ #12811]
40439         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40440         grow the buffers more if it already has to be sufficient.
40441         (build_wcs_upper_buffer): Likewise.
40442         * posix/regexec.c (check_matching): Likewise.
40443         (clean_state_log_if_needed): Likewise.
40444         (extend_buffers): Don't enlarge buffers beyond size of the input
40445         buffer.
40446         Patches mostly by Emil Wojak <emil@wojak.eu>.
40447         * posix/bug-regex32.c: New file.
40448         * posix/Makefile (tests): Add bug-regex32.
40450         * locale/findlocale.c (_nl_find_locale): Return right away if
40451         _nl_explode_name failed.
40452         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40454         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40456         * debug/xtrace.sh: Unify messages.
40457         * malloc/memusage.sh: Likewise.
40459         [BZ #12813]
40460         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40461         time symbol from vDSO.  Substitute with vsyscall if not available.
40462         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40463         __vdso_time.
40465         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40466         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40467         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40468         Add sendmmsg and internal_sendmmsg.
40469         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40470         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40471         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40473         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40474         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40475         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40477 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
40479         [BZ #12813]
40480         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40481         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
40482         available.
40483         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40484         __vdso_getcpu.
40486         [BZ #12814]
40487         * iconvdata/Makefile (tests): Add bug-iconv9.
40488         * iconvdata/bug-iconv9.c: New file.
40490 2011-05-27  Andreas Schwab  <schwab@redhat.com>
40492         [BZ #12814]
40493         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40495 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
40497         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40498         (struct user_regs_struct): Change intcs field back to cs.
40500 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
40502         * po/ja.po: Update from translation team.
40504 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
40506         [BZ #12795]
40507         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40508         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40510 2011-05-20  Andreas Schwab  <schwab@redhat.com>
40512         * stdlib/longlong.h: Update from GCC.
40514 2011-05-23  Andreas Schwab  <schwab@redhat.com>
40516         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40517         parameter name.
40518         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40519         Add parameter name.
40520         (__sysconf): Pass it down.
40522 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
40524         [BZ #12671]
40525         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40526         some situations.
40527         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40528         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40529         add in in __libc_use_alloca calls.  Adjust callers.
40530         (glob): Use malloc in some situations.
40532         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40533         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40534         pltexit.
40536 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
40538         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40539         and CLOCK_BOOTTIME_ALARM.
40541         [BZ #12782]
40542         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40543         is returned.
40545         * string/_strerror.c (__strerror_r): Print negative errors as signed
40546         numbers.
40548         [BZ #12777]
40549         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40550         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40551         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40553         * configure.in: Fix typo in redirection and correct removal of test
40554         files in two cases.
40556         [BZ #12788]
40557         * locale/setlocale.c (new_composite_name): Fix test to check for
40558         identical name of all categories.
40560         [BZ #12792]
40561         * libio/filedoalloc.c (local_isatty): New function.
40562         (_IO_file_doallocate): Use local_isatty.
40563         * stdio-common/perror.c (perror): In case a new stream is used
40564         forward the stream error.
40565         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40566         error flag.
40568 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40570         [BZ #11869]
40571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40572         alloca.
40573         * include/alloca.h (extend_alloca_account): Define.
40575         [BZ #11857]
40576         * posix/regex.h: Fix comments with documentation of user-accessible
40577         fields after compilation and describe correct free'ing of pattern
40578         after re_compile_pattern.
40579         Patch by Reuben Thomas <rrt@sc3d.org>.
40581 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40583         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40584         and -mno-altivec to prevent the compiler from using Altivec and/or
40585         VSX instructions when the corresponding registers are not available.
40587 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40589         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40591 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40593         * libio/freopen.c (freopen): Use __dup2, not dup2.
40594         * libio/freopen64.c (freopen64): Likewise.
40596 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40598         [BZ #12775]
40599         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40600         * math/Makefile (tests): Add test-powl.
40601         (CFLAGS-test-powl.c): Define.
40602         * math/test-powl.c: New file.
40604 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40606         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40608 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40610         [BZ #11837]
40611         * iconvdata/gb18030.c: Update to GB18020-2005.
40613 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40615         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40616         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40617         Patch by Aharon Robbins <arnold@skeeve.com>.
40619         [BZ #11892]
40620         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40621         on the stack.
40623         [BZ #11895]
40624         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40625         through underflows.
40627         [BZ #12766]
40628         * misc/error.c (error_at_line): Ensure file_name and old_file_name
40629         point to strings before performing equality test for error_one_per_line
40630         mode.
40632         [BZ #11697]
40633         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40635         [BZ #11820]
40636         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40637         (struct user_fpregs_struct): Avoid __uint*_t types.
40639         [BZ #6420]
40640         * malloc/mtrace.c (tr_where): Add additional parameter to point to
40641         symbol info.  Use it instead of calling _dl_addr locally.
40642         (lock_and_info): New function.
40643         (tr_freehook): Call lock_and_info and pass symbol info as additional
40644         parameter to tr_where.
40645         (tr_mallochook): Likewise.
40646         (tr_reallochook): Likewise.
40647         (tr_memalignhook): Likewise.
40649         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
40650         used and couldn't be at all thread-safe.
40652 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
40654         * libio/freopen.c (freopen): Don't close old file descriptor
40655         before the new one is opened.  Instead dup the new file descriptor
40656         to the old one after the new stream is created.
40657         * libio/freopen64.c (freopen64): Likewise.
40658         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40659         * libio/fileops.c (_IO_new_file_close_it): Handle new
40660         _IO_FLAGS2_NOCLOSE flag.
40661         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40662         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40663         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40664         _IO_FLAGS2_NOCLOSE flag.
40665         * include/unistd.h: Add hidden_proto for dup3.
40666         Define __have_dup3.
40667         * io/dup3.c: Define hidden symbol.
40668         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40670         [BZ #7101]
40671         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40672         when an incomplete long option is used.
40673         * posix/tst-getopt_long1.c: New file.
40674         * posix/Makefile (tests): Add tst-getopt_long1.
40676         [BZ #10138]
40677         * scripts/config.guess: Update from autoconf-2.68.
40678         * scripts/config.sub: Likewise.
40680         [BZ #10157]
40681         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40682         tests into ...
40683         (has_cpuclock): ...this.  New function.
40684         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40685         macro here based on has_cpuclock code.
40687         [BZ #10149]
40688         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40689         First byte (not low byte) is now always NUL.
40690         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40692         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40693         Use non-cancelable interfaces.
40695         [BZ #9809]
40696         * locale/iso-639.def: Add entry for Sorani.
40698         [BZ #11901]
40699         * include/stdlib.h: Move include protection to the right place.
40700         Define abort_msg_s.  Declare __abort_msg with it.
40701         * stdlib/abort.c (__abort_msg): Adjust type.
40702         * assert/assert.c (__assert_fail_base): New function.  Majority
40703         of code from __assert_fail.  Allocate memory for __abort_msg with
40704         mmap.
40705         (__assert_fail): Now call __assert_fail_base.
40706         * assert/assert-perr.c: Remove bulk of implementation.  Use
40707         __assert_fail_base.
40708         * include/assert.hL Declare __assert_fail_base.
40709         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40710         mmap.
40711         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40713 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40715         [BZ #11952]
40716         [BZ #12453]
40717         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40718         until all modules are registered in the DTV.
40719         * elf/Makefile: Add rules to build and run tst-tls19.
40720         * elf/tst-tls19.c: New file.
40721         * elf/tst-tls19mod1.c: New file.
40722         * elf/tst-tls19mod2.c: New file.
40723         * elf/tst-tls19mod3.c: New file.
40724         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40726         [BZ #12083]
40727         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40728         correctly.
40730         [BZ #12601]
40731         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40732         two-byte sequence errors.
40733         * iconvdata/Makefile (tests): Add bug-iconv8.
40734         * iconvdata/bug-iconv8.c: New file.
40736         [BZ #12626]
40737         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40738         buf2 definition.
40740         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40742         [BZ #12432]
40743         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40744         (dummy_getcfa): New function.
40745         (init): Get _Unwind_GetCFA address, use dummy if not found.
40746         (backtrace_helper): In recursion check, also check whether CFA changes.
40747         (__backtrace): Completely initialize arg.
40749         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40750         storing incomplete byte sequence in state object.  Avoid testing for
40751         guaranteed too small input if we know there is enough data available.
40753 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40755         * Makeconfig (+link-pie): Indent.
40756         * Rules (binaries-pie): Define if $(have-fpie) and
40757         $(build-shared).
40758         (binaries-shared): Also filter out $(binaries-pie).
40759         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40760         * nscd/Makefile (others-pie): Add nscd.
40761         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40762         ($(objpfx)nscd): Remove command override.
40763         * login/Makefile (others-pie): Add pt_chown.
40764         ($(objpfx)pt_chown): Remove command override.
40765         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40766         remove command overrides.
40768 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40770         * libio/tst_putwc.c: Fix error messages.
40772         [BZ #12724]
40773         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40774         currently writing and seek to current position when not.
40775         * libio/Makefile (tests): Add bug-fclose1.
40776         * libio/bug-fclose1.c: New file.
40778 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40780         [BZ #12511]
40781         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40782         don't set DF_1_NODELETE here.
40783         (do_lookup_x): When entering new entry test for copy relocation
40784         and if necessary set DF_1_NODELETE flag.
40785         * elf/tst-unique4.cc: New file.
40786         * elf/tst-unique4.h: New file.
40787         * elf/tst-unique4lib.cc: New file.
40788         * elf/Makefile: Add rules to build and run tst-unique4.
40789         Patch by Piotr Bury <pbury@goahead.com>.
40791 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
40793         [BZ #12052]
40794         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40796         [BZ #12625]
40797         * misc/mntent_r.c (addmntent): Flush the stream after the output
40799         [BZ #12393]
40800         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40801         (is_trusted_path_normalize): Skip initial colon.  Append slash
40802         to empty buffer.  Duplicate is_trusted_path code but allow
40803         constructed patch to be prefix.
40804         (is_dst): Allow $ORIGIN followed by /.
40805         (_dl_dst_substitute): Correct clearing of check_for_trusted.
40806         Correct testing of result of is_trusted_path_normalize
40807         (decompose_rpath): Fix warning.
40809 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
40811         [BZ #11257]
40812         * grp/initgroups.c (internal_getgrouplist): When we found the service
40813         list through the initgroups entry in nsswitch.conf do not always
40814         continue on a successful lookup.  Don't always use the
40815         __nss_group_database value if it is set.
40816         * nss/nsswitch.conf (initgroups): Change action for successful db
40817         lookup to continue for compatibility.
40819 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
40821         [BZ #11532]
40822         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40823         and CP774 modules.
40824         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40825         and CP774 modules.
40826         * iconvdata/tst-tables.sh: Likewise.
40827         * iconvdata/cp770.c: New file.
40828         * iconvdata/cp771.c: New file.
40829         * iconvdata/cp772.c: New file.
40830         * iconvdata/cp773.c: New file.
40831         * iconvdata/cp774.c: New file.
40832         * iconvdata/testdata/CP770: New file.
40833         * iconvdata/testdata/CP770..UTF8: New file.
40834         * iconvdata/testdata/CP771: New file.
40835         * iconvdata/testdata/CP771..UTF8: New file.
40836         * iconvdata/testdata/CP772: New file.
40837         * iconvdata/testdata/CP772..UTF8: New file.
40838         * iconvdata/testdata/CP773: New file.
40839         * iconvdata/testdata/CP773..UTF8: New file.
40840         * iconvdata/testdata/CP774: New file.
40841         * iconvdata/testdata/CP774..UTF8: New file.
40843         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40844         END CHARMAP line.
40845         * iconvdata/gen-8bit-gap.sh: Likewise.
40846         * iconvdata/gen-8bit.sh: Likewise.
40848         * locale/iso-639.def: Add ary entry.
40850         [BZ #11258]
40851         * locale/C-translit.h.in: Add U20A1 transliteration.
40853         [BZ #12178]
40854         * locale/iso-639.def: Add wae entry.
40855         Patch by Kevin Bortis <bortis@translate-wae.ch>.
40857         [BZ #12545]
40858         * locale/programs/localedef.c (construct_output_path): Use ssize_t
40859         for n.
40861         [BZ #12711]
40862         * locale/C-translit.h.in: Add entry for U20B9.
40863         Patch by pravin.d.s@gmail.com.
40865 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
40867         [BZ #12713]
40868         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40869         ENAMETOOLONG use generic getcwd.
40870         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
40871         in rtld.  Use *stat64.
40872         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40873         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40874         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40875         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40876         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40877         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40878         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40879         __fstatat64 macros.
40880         * include/dirent.h: Add libc_hidden_proto for rewinddir.
40881         * dirent/rewinddir.c: Add libc_hidden_def.
40882         * sysdeps/mach/hurd/rewinddir.c: Likewise.
40883         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
40885         * include/dirent.h (__alloc_dir): Add flags parameter.
40886         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40887         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40888         __alloc_dir.
40889         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
40890         from fdopendir if O_CLOEXEC is already set.
40892 2011-03-15  Alan Modra  <amodra@gmail.com>
40894         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40895         l_tls_firstbyte_offset non-zero.  Save padding offset in
40896         l_tls_firstbyte_offset for later use.
40897         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40898         freeing static tls block.
40900 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
40902         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40903         where #ifdef was intended.  The intent is to prevent ARG_MAX from
40904         being defined by the kernel headers.
40906 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
40908         [BZ #12734]
40909         * resolv/resolv.h: Define RES_NOTLDQUERY.
40910         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40911         no-tld-query and set RES_NOTLDQUERY.
40912         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40913         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40914         modern BIND to search name as TLD unless forbidden.
40916 2011-05-07  Petr Baudis  <pasky@suse.cz>
40917             Ulrich Drepper  <drepper@gmail.com>
40919         [BZ #12393]
40920         * elf/dl-load.c (fillin_rpath): Move trusted path check...
40921         (is_trusted_path): ...to here.
40922         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40923         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40924         using is_trusted_path_normalize() in setuid scripts.
40926 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40928         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40929         __BEGIN/__END_DECLS.
40931 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
40933         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40934         NSS_STATUS_NOTFOUND if no record was found.
40936 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40938         * sunrpc/Makefile (headers): Add rpc/netdb.h.
40939         (headers-not-in-tirpc): Remove rpc/netdb.h
40940         * resolv/netdb.h: Revert last change.
40942 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40944         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40945         circular dependency between libgcc.a and libc.a.
40947 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40949         * resolv/netdb.h: Don't include <rpc/netdb.h>.
40950         * nis/Makefile: Don't install rpcsvc/*.
40951         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40952         instead of <rpc/types.h>.
40953         (MAXHOSTNAMELEN): Define.
40955 2011-05-03  Andreas Schwab  <schwab@redhat.com>
40957         * elf/ldconfig.c (add_dir): Don't crash on empty path.
40959 2011-04-28  Maciej Babinski  <mbabinski@google.com>
40961         [BZ #12714]
40962         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40963         gethostbyname4_r when IPv6 results are possible.
40965 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
40967         [BZ #12723]
40968         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40969         _PC_PIPE_BUF handling.
40971 2011-04-30  Bruno Haible  <bruno@clisp.org>
40973         [BZ #12717]
40974         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40975         * resolv/netdb.h (getnameinfo): Change type of flags parameter
40976         to 'int'.
40977         * inet/getnameinfo.c (getnameinfo): Likewise.
40979 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
40981         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40982         to groups setting in database lookup.
40983         * nss/nsswitch.conf: Add initgroups entry.
40985 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
40987         [BZ #12685]
40988         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40989         mode string.
40990         Patch by Eric Blake <eblake@redhat.com>.
40992 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
40994         * sunrpc/Makefile (need-export-routines): Add svc_run.
40995         (routines): Remove svc_run.
40996         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40997         * sunrpc/clnt_perr.c (clnt_perrno): Export.
40998         * sunrpc/svc_run.c (svc_run): Likewise.
40999         * sunrpc/svc_udp.c (svcudp_create): Likewise.
41001 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
41003         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41004         problem in reallocation in last patch.
41006 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
41008         * sunrpc/Makefile: Move inclusion of Rules.
41010 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41012         * nss/nss_files/files-initgroups.c: New file.
41013         * nss/Makefile (libnss_files-routines): Add files-initgroups.
41014         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41015         _nss_files_initgroups_dyn.
41017 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41019         * elf/elf.h (R_ARM_IRELATIVE): Define.
41021 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41023         * po/ru.po: Update from translation team.
41025 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41027         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41028         dependencies.
41030 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41032         [BZ #12653]
41033         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41034         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41035         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41036         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41037         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41039 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41041         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41042         differing bytes.
41043         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41044         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41045         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41047 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41049         [BZ #12420]
41050         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41051         storing it.
41052         * stdlib/bug-getcontext.c: New file.
41053         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41055 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41057         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41058         instructions into .machine "z9-109".
41059         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41060         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41062 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41064         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41065         between environment variables and auxiliary vector.
41067 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41069         * Makefile: Add rules to build linkobj/libc.so.
41070         * include/libc-symbols.h: Define libc_hidden_nolink.
41071         * include/rpc/auth.h: Mark functions which are to be hidden.
41072         * include/rpc/auth_des.h: Likewise.
41073         * include/rpc/auth_unix.h: Likewise.
41074         * include/rpc/clnt.h: Likewise.
41075         * include/rpc/des_crypt.h: Likewise.
41076         * include/rpc/key_prot.h: Likewise.
41077         * include/rpc/pmap_clnt.h: Likewise.
41078         * include/rpc/pmap_prot.h: Likewise.
41079         * include/rpc/pmap_rmt.h: Likewise.
41080         * include/rpc/rpc_msg.h: Likewise.
41081         * include/rpc/svc.h: Likewise.
41082         * include/rpc/svc_auth.h: Likewise.
41083         * include/rpc/xdr.h: Likewise.
41084         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41085         * nss/Makefile: Likewise.
41086         * sunrpc/Makefile: Don't install headers.  Build library with normal
41087         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41088         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41089         for the compat linking library.  Remove use of INTDEF/INTUSE.
41090         * sunrpc/auth_none.c: Likewise.
41091         * sunrpc/auth_unix.c: Likewise.
41092         * sunrpc/authdes_prot.c: Likewise.
41093         * sunrpc/authuxprot.c: Likewise.
41094         * sunrpc/clnt_gen.c: Likewise.
41095         * sunrpc/clnt_perr.c: Likewise.
41096         * sunrpc/clnt_raw.c: Likewise.
41097         * sunrpc/clnt_simp.c: Likewise.
41098         * sunrpc/clnt_tcp.c: Likewise.
41099         * sunrpc/clnt_udp.c: Likewise.
41100         * sunrpc/clnt_unix.c: Likewise.
41101         * sunrpc/des_crypt.c: Likewise.
41102         * sunrpc/des_soft.c: Likewise.
41103         * sunrpc/get_myaddr.c: Likewise.
41104         * sunrpc/key_call.c: Likewise.
41105         * sunrpc/key_prot.c: Likewise.
41106         * sunrpc/netname.c: Likewise.
41107         * sunrpc/pm_getmaps.c: Likewise.
41108         * sunrpc/pm_getport.c: Likewise.
41109         * sunrpc/pmap_clnt.c: Likewise.
41110         * sunrpc/pmap_prot.c: Likewise.
41111         * sunrpc/pmap_prot2.c: Likewise.
41112         * sunrpc/pmap_rmt.c: Likewise.
41113         * sunrpc/publickey.c: Likewise.
41114         * sunrpc/rpc_cmsg.c: Likewise.
41115         * sunrpc/rpc_common.c: Likewise.
41116         * sunrpc/rpc_dtable.c: Likewise.
41117         * sunrpc/rpc_prot.c: Likewise.
41118         * sunrpc/rpc_thread.c: Likewise.
41119         * sunrpc/rtime.c: Likewise.
41120         * sunrpc/svc.c: Likewise.
41121         * sunrpc/svc_auth.c: Likewise.
41122         * sunrpc/svc_authux.c: Likewise.
41123         * sunrpc/svc_raw.c: Likewise.
41124         * sunrpc/svc_run.c: Likewise.
41125         * sunrpc/svc_simple.c: Likewise.
41126         * sunrpc/svc_tcp.c: Likewise.
41127         * sunrpc/svc_udp.c: Likewise.
41128         * sunrpc/svc_unix.c: Likewise.
41129         * sunrpc/svcauth_des.c: Likewise.
41130         * sunrpc/xcrypt.c: Likewise.
41131         * sunrpc/xdr.c: Likewise.
41132         * sunrpc/xdr_array.c: Likewise.
41133         * sunrpc/xdr_float.c: Likewise.
41134         * sunrpc/xdr_intXX_t.c: Likewise.
41135         * sunrpc/xdr_mem.c: Likewise.
41136         * sunrpc/xdr_rec.c: Likewise.
41137         * sunrpc/xdr_ref.c: Likewise.
41138         * sunrpc/xdr_sizeof.c: Likewise.
41139         * sunrpc/xdr_stdio.c: Likewise.
41141 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
41143         [BZ #12650]
41144         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41145         * sysdeps/ia64/dl-tls.h: Likewise.
41146         * sysdeps/powerpc/dl-tls.h: Likewise.
41147         * sysdeps/s390/dl-tls.h: Likewise.
41148         * sysdeps/sh/dl-tls.h: Likewise.
41149         * sysdeps/sparc/dl-tls.h: Likewise.
41150         * sysdeps/x86_64/dl-tls.h: Likewise.
41151         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41153 2011-03-14  Andreas Schwab  <schwab@redhat.com>
41155         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41156         rpath element also skip the following colon.
41157         (expand_dynamic_string_token): Add is_path parameter and pass
41158         down to DL_DST_REQUIRED and _dl_dst_substitute.
41159         (decompose_rpath): Call expand_dynamic_string_token with
41160         non-zero is_path.  Ignore empty rpaths.
41161         (_dl_map_object_from_fd): Call expand_dynamic_string_token
41162         with zero is_path.
41164 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
41166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41167         Make cancelable.
41169 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
41171         [BZ #12655]
41172         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41173         Patch by Filipe David Manana <fdmanana@apache.org>.
41175 2011-04-07  Andreas Schwab  <schwab@redhat.com>
41177         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41178         Maintain aligned stack.
41179         (CHECK_RSP): Remove unused macro.
41181 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
41183         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41184         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41186 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
41188         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41190         * include/features.h: Mention __USE_XOPEN2K8 in comment.
41192 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
41194         [BZ #12518]
41195         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41196         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41197         * sysdeps/x86_64/memmove.c: New file.
41198         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41199         (memcpy): Renamed to ...
41200         (__new_memcpy): This.
41201         (memcpy): Provide GLIBC_2_14 memcpy.
41202         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41203         (memcpy): Provide GLIBC_2_2_5 memcpy.
41205 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41207         [BZ #12631]
41208         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41210 2011-03-30  Andreas Schwab  <schwab@redhat.com>
41212         * misc/syncfs.c: New file.
41213         * misc/Makefile (routines): Add syncfs.
41214         * posix/unistd.h: Declare syncfs.
41215         * sysdeps/unix/syscalls.list: Add syncfs.
41217 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41219         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41220         open_by_handle_at.
41221         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41222         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41223         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41224         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41225         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41226         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41227         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41229 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41231         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41232         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41233         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41234         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41235         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41236         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41237         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41239         * io/Makefile: Compile fallocate.c, fallocate64.c, and
41240         sync_file_range.c with -fexceptions.
41241         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41242         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41243         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41244         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41245         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41246         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41248         sync_file_range as cancellation point
41249         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
41250         now a wrapper around __call_sync_file_range with cancellation handling.
41251         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41252         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
41253         function name to __call_sync_file_range.
41254         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41255         Add call_sync_file_range.
41257 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41260         bits/timex.h.
41262 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41264         * iconv/iconv.h: Fix typo in comment.
41265         * io/fcntl.h: Likewise.
41266         * libio/stdio.h: Likewise.
41267         * posix/spawn.h: Likewise.
41268         * posix/unistd.h: Likewise.
41269         * stdlib/stdlib.h: Likewise.
41270         * time/time.h: Likewise.
41271         * wcsmbs/wchar.h: Likewise.
41273         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41274         open_by_handle): Add.
41275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41276         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
41277         Augment a few comments.
41278         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41279         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41280         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41281         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41282         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41283         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41284         open_by_handle.
41286         * io/fcntl.h (AT_EMPTY_PATH): Define.
41288 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
41290         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41291         * sysdeps/unix/sysv/linux/bits/time.h: New file.
41292         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41293         to...
41294         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
41295         * Versions.def: Add GLIBC_2.14.
41296         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41297         Export.
41299 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
41301         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41302         round counter.
41303         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41305 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41307         [BZ #12597]
41308         * string/test-strncmp.c (do_page_test): New function.
41309         (check2): Likewise.
41310         (test_main): Call check2.
41311         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41313 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
41315         [BZ #12587]
41316         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41317         Handle cache information in CPU leaf 4.
41318         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41320 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
41322         [BZ #12583]
41323         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41324         character representation.
41325         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41327 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
41329         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41330         END(__isnan) to END(__isnanf) to match function entry point/label
41331         EALIGN(__isnanf,...).
41333 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
41335         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41337 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
41339         [BZ #12510]
41340         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41341         copy from the symbol referenced in the relocation to initialize the
41342         used variable.
41343         Patch by Piotr Bury <pbury@goahead.com>.
41344         * elf/Makefile: Add rules to build and tst-unique3.
41345         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41346         * elf/tst-unique3.cc: New file.
41347         * elf/tst-unique3.h: New file.
41348         * elf/tst-unique3lib.cc: New file.
41349         * elf/tst-unique3lib2.cc: New file.
41351         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41353 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
41355         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41356         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
41357         to _start.
41359 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
41361         * elf/dl-load.c (_dl_map_object): If we are looking for the first
41362         to-be-loaded object along a path to loader is ld.so.
41364 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41365             Ulrich Drepper  <drepper@gmail.com>
41367         * sysdeps/x86_64/memset.S: After aligning destination, code
41368         branches to different locations depending on the value of
41369         misalignment, when multiarch is enabled. Fix this.
41371 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41373         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41374         Set _x86_64_preferred_memory_instruction for AMD processsors.
41375         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41376         Set bit_Prefer_SSE_for_memop for AMD processors.
41378 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
41380         * libio/fmemopen.c (fmemopen): Optimize a bit.
41382 2011-03-03  Andreas Schwab  <schwab@redhat.com>
41384         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41386 2011-03-03  Roland McGrath  <roland@redhat.com>
41388         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41390 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
41392         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41393         __bzero_ultra1 instead of __memset_ultra1.
41395 2011-02-23  Andreas Schwab  <schwab@redhat.com>
41396             Ulrich Drepper  <drepper@gmail.com>
41398         [BZ #12509]
41399         * include/link.h (struct link_map): Add l_orig_initfini.
41400         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41401         returning unsuccessfully.
41402         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41403         close of a file loaded at startup, restore the original l_initfini
41404         list.
41405         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41406         list, store the pointer.
41407         * elf/Makefile ($(objpfx)noload-mem): New rule.
41408         (noload-ENV): Define.
41409         (tests): Add $(objpfx)noload-mem.
41410         * elf/noload.c: Include <memcheck.h>.
41411         (main): Call mtrace.  Close all opened handles.
41413 2011-02-17  Andreas Schwab  <schwab@redhat.com>
41415         [BZ #12454]
41416         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41417         dependencies are missing.
41419 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41421         Fix __if_freereq crash: Unlike the generic version which uses free,
41422         Hurd needs munmap.
41423         * sysdeps/mach/hurd/ifreq.h: New file.
41425 2011-01-27  Petr Baudis  <pasky@suse.cz>
41426             Ulrich Drepper  <drepper@gmail.com>
41428         [BZ 12445]#
41429         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41430         to extend_alloca().
41431         * stdio-common/bug23.c: New file.
41432         * stdio-common/Makefile (tests): Add bug23.
41434 2010-09-28  Andreas Schwab  <schwab@redhat.com>
41435             Ulrich Drepper  <drepper@gmail.com>
41437         [BZ #12489]
41438         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41439         before performing relro protection.  At old place add assertion
41440         to make sure nothing changed.
41442 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
41443             Glauber de Oliveira Costa  <glommer@gmail.com>
41445         * elf/elf.h: Add new ARM TLS relocs.
41447 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
41449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41450         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41451         cast from r3.
41452         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
41453         'tests' variable.
41454         * sysdeps/wordsize-64/tst-writev.c: New file.
41456 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
41458         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41459         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41460         insns in _dl_start to prevent a TOC reference before relocs are
41461         resolved.
41463 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
41465         [BZ #12469]
41466         * Makeconfig: Remove RANLIB definition.
41467         * Makerules: Don't use RANLIB.
41468         * aclocal.m4: Remove ranlib test.
41469         * configure.in: No need to check for ranlib.
41470         * elf/rtld-Rules: Don't use RANLIB.
41472 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41474         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41475         protection macro.
41476         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41477         inclusion protection macro.
41479         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41480         SIGRTMIN and SIGRTMAX and print information in that case only when
41481         SIGRTMIN is defined.
41483 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
41485         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41486         arginfo fn returning -1.
41488         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41489         and thousands string is zero terminated.
41491 2011-02-03  Andreas Schwab  <schwab@redhat.com>
41493         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41494         sysdeps/unix/sysv/linux/bits/socket.h.
41496 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41498         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41499         (__CPU_COUNT): Remove old macros.
41500         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41501         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41502         (__CPU_ALLOC, __CPU_FREE): Add macros.
41503         (__sched_cpualloc, __sched_cpufree): Add declarations.
41505 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
41507         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41508         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41509         * nscd/aicache.c (addhstaiX): Return timeout of added value.
41510         (readdhstai): Return value of addhstaiX call.
41511         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41512         (addgrbyX): Return value returned by cache_addgr.
41513         (readdgrbyname): Return value returned by addgrbyX.
41514         (readdgrbygid): Likewise.
41515         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41516         (addpwbyX): Return value returned by cache_addpw.
41517         (readdpwbyname): Return value returned by addhstbyX.
41518         (readdpwbyuid): Likewise.
41519         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41520         (addservbyX): Return value returned by cache_addserv.
41521         (readdservbyname): Return value returned by addservbyX:
41522         (readdservbyport): Likewise.
41523         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41524         (addhstbyX): Return value returned by cache_addhst.
41525         (readdhstbyname): Return value returned by addhstbyX.
41526         (readdhstbyaddr): Likewise.
41527         (readdhstbynamev6): Likewise.
41528         (readdhstbyaddrv6): Likewise.
41529         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41530         (readdinitgroups): Return value returned by addinitgroupsX.
41531         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41532         (prune_cache): Keep track of timeout value of re-added entries.
41533         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41534         * nscd/nscd.h: Adjust prototypes of readd* functions.
41536 2011-02-04  Roland McGrath  <roland@redhat.com>
41538         * nis/nis_server.c (nis_servstate): Use the right name for 0.
41539         (nis_stats): Likewise.
41540         * nis/nis_modify.c (nis_modify): Likewise.
41541         * nis/nis_remove.c (nis_remove): Likewise.
41542         * nis/nis_add.c (nis_add): Likewise.
41544         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41546         * posix/fnmatch_loop.c: Add some consts.
41548         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41550 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41552         [BZ #12460]
41553         * config.make.in (config-cflags-novzeroupper): Define.
41554         * configure.in: Substitute libc_cv_cc_novzeroupper.
41555         * elf/Makefile (AVX-CFLAGS): Define.
41556         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41557         (CFLAGS-tst-auditmod4a.c): Likewise.
41558         (CFLAGS-tst-auditmod4b.c): Likewise.
41559         (CFLAGS-tst-auditmod6b.c): Likewise.
41560         (CFLAGS-tst-auditmod6c.c): Likewise.
41561         (CFLAGS-tst-auditmod7b.c): Likewise.
41562         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41564 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41566         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41567         function to the callback.
41568         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41570 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41572         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41573         of errno.
41575 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41577         [BZ #11724]
41578         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41579         of constructors.
41580         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41581         of destructors.
41582         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41584         [BZ #11724]
41585         * elf/Makefile: Add rules to build and run new test.
41586         * elf/tst-initorder.c: New file.
41587         * elf/tst-initorder.exp: New file.
41588         * elf/tst-initordera1.c: New file.
41589         * elf/tst-initordera2.c: New file.
41590         * elf/tst-initordera3.c: New file.
41591         * elf/tst-initordera4.c: New file.
41592         * elf/tst-initorderb1.c: New file.
41593         * elf/tst-initorderb2.c: New file.
41594         * elf/tst-order-a1.c: New file.
41595         * elf/tst-order-a2.c: New file.
41596         * elf/tst-order-a3.c: New file.
41597         * elf/tst-order-a4.c: New file.
41598         * elf/tst-order-b1.c: New file.
41599         * elf/tst-order-b2.c: New file.
41600         * elf/tst-order-main.c: New file.
41601         New test case by George Gensure <werkt0@gmail.com>.
41603 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41606         decoding ACE if AI_CANONIDN.
41608 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41610         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41612 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41614         * version.h (RELEASE): Bump for 2.13 release.
41615         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41617         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41619         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41620         MADV_NOHUGEPAGE.
41621         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41622         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41623         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41624         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41625         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41626         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41628         * posix/getconf.c: Update copyright year.
41629         * catgets/gencat.c: Likewise.
41630         * csu/version.c: Likewise.
41631         * debug/catchsegv.sh: Likewise.
41632         * debug/xtrace.sh: Likewise.
41633         * elf/ldconfig.c: Likewise.
41634         * elf/ldd.bash.in: Likewise.
41635         * elf/sprof.c (print_version): Likewise.
41636         * iconv/iconv_prog.c: Likewise.
41637         * iconv/iconvconfig.c: Likewise.
41638         * locale/programs/locale.c: Likewise.
41639         * locale/programs/localedef.c: Likewise.
41640         * malloc/memusage.sh: Likewise.
41641         * malloc/mtrace.pl: Likewise.
41642         * nscd/nscd.c (print_version): Likewise.
41643         * nss/getent.c: Likewise.
41645         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41646         PF_CAIF, and PF_ALG.
41647         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41649 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
41651         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41652         (modules-names): Use them.
41653         (ifunc-test-modules, ifunc-pie-tests): Define.
41654         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41655         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41656         (test-extras): Likewise.
41657         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41658         $(compile-command.c).
41659         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41660         (all-built-dso): Define.
41661         (check-textrel.out, check-execstack.out): Depend on it.
41663         * configure.in: Don't override --enable-multi-arch.
41665 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41667         [BZ #6812]
41668         * nscd/hstcache.c (tryagain): Define.
41669         (cache_addhst): Return tryagain not notfound for temporary errors.
41670         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41671         failed.
41673 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41675         [BZ #10563]
41676         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41677         to make the syscall.
41678         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41680         [BZ #12378]
41681         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41682         and fall back to matching as normal character if the string ends before
41683         the matching ']' is found.  This is what POSIX requires.
41684         * posix/testfnm.c: Adjust test result.
41685         * posix/globtest.sh: Adjust test result.  Add new test.
41686         * posix/tst-fnmatch.input: Likewise.
41687         * posix/tst-fnmatch2.c: Add new test.
41689 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41691         * elf/Makefile (check-execstack): Revert last change.  Depend on
41692         check-execstack.h.
41693         (check-execstack.h): New target.
41694         (generated): Add check-execstack.h.
41695         * elf/check-execstack.c: Include "check-execstack.h".
41696         (main): Revert last change.
41697         (handle_file): Return zero if GNU_STACK is absent and
41698         DEFAULT_STACK_PERMS doesn't include PF_X.
41700 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41702         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41703         in child fails because the descriptor is already closed.
41704         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41705         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41706         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41708         [BZ #12397]
41709         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41710         syscall.
41712         [BZ #10484]
41713         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41714         temporary buffer used to handle multi lookups locally.
41715         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41717 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41719         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41720         loader is ld.so.
41722 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41724         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41725         alignment for SSE2.
41727 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41729         [BZ #12394]
41730         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41731         characters.  When rounding increased number of integer digits recompute
41732         number of groups.
41733         * stdio-common/tst-grouping.c: New file.
41734         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41736 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41738         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41739         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41741         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41742         void.
41743         * bits/select.h: Likewise.
41745 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41747         * po/ja.po: Update from translation team.
41749 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41751         [BZ #11155]
41752         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41753         implementation just like for lxstat, fxstatat, et al.
41755 2010-12-27  Jim Meyering  <meyering@redhat.com>
41757         [BZ #12348]
41758         * posix/regexec.c (build_trtable): Return failure indication upon
41759         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41761 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41763         [BZ #12201]
41764         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41765         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41766         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41767         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41769         [BZ #12207]
41770         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41772         [BZ #12204]
41773         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41774         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41776 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41778         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41779         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41780         script has SORT_BY_INIT_PRIORITY.
41781         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41782         NO_CTORS_DTORS_SECTIONS is defined.
41783         * elf/soinit.c: Likewise.
41784         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41785         NO_CTORS_DTORS_SECTIONS is defined.
41786         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41787         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41788         * sysdeps/sh/init-first.c: Likewise.
41789         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41791 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
41793         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41794         always use the slow path.
41796 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
41798         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41799         similar rule which adds the sysdep directories to the header search in
41800         order to pick up the correct platform stackinfo.h.
41801         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41802         perform test if it is, otherwise return successfully without testing.
41803         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41804         DEFAULT_STACK_PERMS define in stackinfo.h.
41805         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41806         defined in stackinfo.h.
41807         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41808         DEFAULT_STACK_PERMS defined in stackinfo.h.
41809         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41810         * sysdeps/ia64/stackinfo.h: Likewise.
41811         * sysdeps/s390/stackinfo.h: Likewise.
41812         * sysdeps/sh/stackinfo.h: Likewise.
41813         * sysdeps/sparc/stackinfo.h: Likewise.
41814         * sysdeps/x86_64/stackinfo.h: Likewise.
41815         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41816         PF_X for powerpc64.  Retain PF_X for powerpc32.
41818 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
41820         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41821         accurately.
41822         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41823         GETDENTS_64BIT_ALIGNED.
41825 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
41827         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41829 2010-12-10  Andreas Schwab  <schwab@redhat.com>
41831         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41832         _GNU_SOURCE.
41834         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41835         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41836         Remove __restrict.
41837         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41838         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41840 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
41842         [BZ #11655]
41843         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41844         are initialized.
41846 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
41848         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41850 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
41852         * po/it.po: Update from translation team.
41854 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
41856         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41857         unused codes.
41859 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
41861         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41863 2010-11-24  Andreas Schwab  <schwab@redhat.com>
41865         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41866         specially.
41867         (gaih_getanswer_slice): Likewise.
41869 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
41871         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41873 2010-05-31  Petr Baudis  <pasky@suse.cz>
41875         [BZ #11149]
41876         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41877         silently even in the chroot mode.
41879 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
41881         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41882         last patch a bit.  Pretty printing
41884 2010-05-31  Petr Baudis <pasky@suse.cz>
41886         [BZ #10085]
41887         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41888         initialization of skip_initgroups_dyn.
41890 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
41892         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41893         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41895 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
41897         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41899 2010-11-11  Andreas Schwab  <schwab@redhat.com>
41901         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41902         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41903         (tst-fnmatch-ENV): Set MALLOC_TRACE.
41904         ($(objpfx)tst-fnmatch-mem): New rule.
41905         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41906         * posix/tst-fnmatch.c (main): Call mtrace.
41908 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
41910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41911         Support Intel processor model 6 and model 0x2c.
41913 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
41915         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41916           signed comparison.
41918 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
41920         [BZ #12205]
41921         * string/test-strncasecmp.c (check_result): New function.
41922         (do_one_test): Use it.
41923         (check1): New function.
41924         (test_main): Use it.
41925         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41926         Support strcasecmp and strncasecmp.
41928 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
41930         [BZ #12194]
41931         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41932         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41934 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41936         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41937         IFUNC support.
41938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41939         memset-x86-64.
41940         * sysdeps/x86_64/multiarch/bzero.S: New file.
41941         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41942         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41943         * sysdeps/x86_64/multiarch/memset.S: New file.
41944         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41946         Set bit_Prefer_SSE_for_memop for Intel processors.
41947         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41948         Define.
41949         (index_Prefer_SSE_for_memop): Define.
41950         (HAS_PREFER_SSE_FOR_MEMOP): Define.
41952 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
41954         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41955         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41957 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
41959         [BZ #12191]
41960         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41961         (__x86_64_raw_data_cache_size_half): Likewise.
41962         (__x86_64_raw_shared_cache_size): Likewise.
41963         (__x86_64_raw_shared_cache_size_half): Likewise.
41965         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41966         (__x86_64_raw_data_cache_size_half): Likewise.
41967         (__x86_64_raw_shared_cache_size): Likewise.
41968         (__x86_64_raw_shared_cache_size_half): Likewise.
41969         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41970         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41971         and __x86_64_raw_shared_cache_size_half.  Round
41972         __x86_64_data_cache_size_half, __x86_64_data_cache_size
41973         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41974         to multiple of 256 bytes.
41976 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
41978         [BZ #12167]
41979         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41980         of inacessible symlinks.  Verify result of symlink before returning it.
41981         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41982         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41984 2010-10-28  Erich Ritz  <erichritz@gmail.com>
41986         * math/math.h (isinf): Fix typo in comment.
41988 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
41990         * po/da.po: Update from translation team.
41992 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
41994         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41995         is added to the list.
41997 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41998             Ulrich Drepper  <drepper@gmail.com>
42000         * elf/dl-object.c (_dl_new_object): Don't append the new object to
42001         the global list here.  Move code to...
42002         (_dl_add_to_namespace_list): ...here.  New function.
42003         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42004         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42005         * elf/dl-load.c (lose): Don't remove the element from the list.
42006         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42007         (_dl_map_object): Likewise.
42009 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
42011         [BZ #12159]
42012         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42013         into all bytes of SSE register.
42014         Patch by Richard Li <richardpku@gmail.com>.
42016 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42018         [BZ #12140]
42019         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42020         perturbing.
42022 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42024         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42025         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42026         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42027         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42029         submachine.
42030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42032 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42034         * include/dlfcn.h (__RTLD_SECURE): Define.
42035         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42036         mode & __RTLD_SECURE instead.
42037         (open_path): Rename preloaded parameter to secure.
42038         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42039         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42040         * elf/dl-deps.c (openaux): Likewise.
42041         * elf/rtld.c (struct map_args): Remove is_preloaded.
42042         (map_doit): Don't use it.
42043         (dl_main): Likewise.
42044         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42045         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42047 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42049         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42050         (sysd-rules-targets): Remove duplicates.
42051         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42052         rtld-%.$o dependency.
42054 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42056         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42057         _dl_map_object do it.
42059 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42061         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42062         fast fma builtins, define the macros in the C99 standard.
42063         (FP_FAST_FMAF): Likewise.
42064         (FP_FAST_FMAL): Likewise.
42065         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42067         * bits/mathdef.h: Update copyright year.
42068         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42070 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42072         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42073         builtins, define the macros in the C99 standard.
42074         (FP_FAST_FMAF): Likewise.
42075         (FP_FAST_FMAL): Likewise.
42076         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42077         multiply/add.
42078         (FP_FAST_FMAF): Likewise.
42080 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42082         [BZ #3268]
42083         * math/libm-test.inc (fma_test): Some new testcases.
42084         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42085         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42086         y and infinite z.  Do multiplication by C already in long double.
42087         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42089         y and infinite z.  Do bitwise or of inexact bit into u.d.
42090         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42091         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42092         * sysdeps/i386/fpu/s_fma.S: Removed.
42093         * sysdeps/i386/fpu/s_fmal.S: Removed.
42095 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42097         [BZ #3268]
42098         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42100         computation is not scheduled after fetestexcept.  Fix value
42101         of minimum denormal long double.
42103 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
42105         [BZ #3268]
42106         * math/libm-test.inc (fma_test): Add some more tests.
42107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42108         correctly.
42110 2010-10-15  Andreas Schwab  <schwab@redhat.com>
42112         * scripts/data/localplt-s390-linux-gnu.data: New file.
42113         * scripts/data/localplt-s390x-linux-gnu.data: New file.
42115 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
42117         [BZ #3268]
42118         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42119         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42120         instead of dbl-64.
42121         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42122         inlines.
42123         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42124         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42125         if one of x and y is very large and the other is subnormal.
42126         * sysdeps/s390/fpu/s_fmaf.c: New file.
42127         * sysdeps/s390/fpu/s_fma.c: New file.
42128         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42129         * sysdeps/powerpc/fpu/s_fma.S: New file.
42130         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42131         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42132         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42134 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
42136         [BZ #3268]
42137         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42138         fma tests.
42139         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42140         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42141         * sysdeps/i386/i686/multiarch/s_fma.c: Include
42142         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42143         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42144         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42145         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42147 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
42149         [BZ #12078]
42150         * posix/regcomp.c (parse_branch): One more memory leak plugged.
42151         * posix/bug-regex31.input: Add test case.
42153 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42155         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42156         * posix/bug-regex31.input: New file.
42158         [BZ #12078]
42159         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42160         (parse_sub_exp): Fix last change, use postorder.
42162         * posix/bug-regex31.c: New file.
42163         * posix/Makefile: Add rules to build and run bug-regex31.
42165         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42167         [BZ #12078]
42168         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42170         [BZ #12108]
42171         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42172         to have entries in sys_siglist.
42174         [BZ #12093]
42175         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42176         be NULL.
42178 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
42180         [BZ #3268]
42181         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42182         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42183         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42184         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42185         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42186         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42187         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42188         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42189         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42190         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42191         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42192         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42193         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42194         * math/ftestexcept.c (fetestexcept): Likewise.
42195         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42196         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42197         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42198         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42199         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42200         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42201         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42203 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42205         [BZ #12107]
42206         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42207         newline.
42209 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
42211         * string/bug-strstr1.c: New file.
42212         * string/Makefile: Add rules to build and run bug-strstr1.
42214 2010-10-05  Eric Blake  <eblake@redhat.com>
42216         [BZ #12092]
42217         * string/str-two-way.h (two_way_long_needle): Always clear memory
42218         when skipping input due to the shift table.
42220 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
42222         [BZ #12005]
42223         * malloc/mcheck.c: Handle large requests.
42225         [BZ #12077]
42226         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42227         for strncmp and strncasecmp.
42228         * string/stratcliff.c: Add tests for strcmp and strncmp.
42229         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42231 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42233         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42234         __set_fpscr.
42236 2010-09-30  Andreas Jaeger  <aj@suse.de>
42238         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42239         (CGROUP_SUPER_MAGIC): Define.
42240         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42241         Handle btrfs and cgroup file systems.
42242         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42243         Likewise.
42245 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
42247         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42248         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42250 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42252         [BZ #12067]
42253         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42254         trying to locate the ELF header.
42256 2010-09-27  Andreas Schwab  <schwab@redhat.com>
42258         [BZ #11611]
42259         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42260         Mask out sign-bit copies when constructing f_fsid.
42262 2010-09-24  Petr Baudis <pasky@suse.cz>
42264         * debug/stack_chk_fail_local.c: Add missing licence exception.
42265         * debug/warning-nop.c: Likewise.
42267 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
42269         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42270         implementing getdents64 using getdents syscall, set d_type if
42271         __ASSUME_GETDENTS32_D_TYPE.
42273 2010-09-16  Andreas Schwab  <schwab@redhat.com>
42275         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42276         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42278 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
42280         [BZ #12037]
42281         * posix/unistd.h: Undo change of feature selection for ftruncate from
42282         2010-01-11.
42284 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
42286         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42287         detection.
42289 2010-09-20  Andreas Schwab  <schwab@redhat.com>
42291         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42292         fanotify_mark.
42293         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42295 2010-09-14  Andreas Schwab  <schwab@redhat.com>
42297         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42298         variables after CHECK_SP call.
42299         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42301 2010-09-13  Andreas Schwab  <schwab@redhat.com>
42302             Ulrich Drepper  <drepper@redhat.com>
42304         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42305         re-relocationg ld.so.
42306         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42307         _dl_init_paths call.
42308         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
42309         here anymore.
42311 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
42313         * resolv/res_init.c (__res_vinit): Count the default server we added.
42315 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
42316             Ulrich Drepper  <drepper@redhat.com>
42318         [BZ #11968]
42319         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42320         (____longjmp_chk): Use %ebx for saving value across system call.
42321         Add unwind info.
42323 2010-09-06  Andreas Schwab  <schwab@redhat.com>
42325         * manual/Makefile: Don't mix pattern rules with normal rules.
42327 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42329         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42330         operation.
42331         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42332         * libio/iofopncook.c (_IO_cookie_init): Likewise.
42333         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42334         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42335         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42336         Likewise.
42338 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
42340         [BZ #11979]
42341         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42342         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42344 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
42346         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42347         * sysdeps/x86_64/addmul_1.S: Likewise.
42348         * sysdeps/x86_64/lshift.S: Likewise.
42349         * sysdeps/x86_64/mul_1.S: Likewise.
42350         * sysdeps/x86_64/rshift.S: Likewise.
42351         * sysdeps/x86_64/sub_n.S: Likewise.
42352         * sysdeps/x86_64/submul_1.S: Likewise.
42354 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42356         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42357         Define __sched_param instead of SCHED_* and sched_param when
42358         <bits/sched.h> is included with __need_schedparam defined.
42359         * bits/sched.h [__need_schedparam]
42360         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42361         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42362         (__defined_schedparam): Define to 1.
42363         (__sched_param): New structure, identical to sched_param.
42364         (__need_schedparam): Undefine.
42366 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
42368         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42369         (epoll_create1): Declare.
42371         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42373 2010-08-31  Andreas Schwab  <schwab@redhat.com>
42375         [BZ #7066]
42376         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42377         shifting retval into place.
42379 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
42381         * nis/rpcsvc/nis.h: Update copyright notice.
42382         * nis/rpcsvc/nis.x: Likewise.
42383         * nis/rpcsvc/nis_callback.h: Likewise.
42384         * nis/rpcsvc/nis_callback.x: Likewise.
42385         * nis/rpcsvc/nis_object.x: Likewise.
42386         * nis/rpcsvc/nis_tags.h: Likewise.
42387         * nis/rpcsvc/yp.h: Likewise.
42388         * nis/rpcsvc/yp.x: Likewise.
42389         * nis/rpcsvc/ypupd.h: Likewise.
42390         * nis/yp_xdr.c: Likewise.
42391         * nis/ypupdate_xdr.c: Likewise.
42393         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
42394         mainly the body of pmap_getport.  Add parameters to specify timeouts.
42395         (pmap_getport): Use __libc_rpc_getport.
42396         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42397         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42398         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42400 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
42402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42403         fanotify_mark.
42405 2010-08-27  Roland McGrath  <roland@redhat.com>
42407         * sysdeps/i386/i686/multiarch/Makefile
42408         (CFLAGS-varshift.c): New variable.
42410 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
42412         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42413         * sysdeps/i386/i686/multiarch/varshift.c: New file.
42415         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42417         * sysdeps/x86_64/strlen.S: Minimal code improvement.
42419 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
42421         * sysdeps/x86_64/strlen.S: Unroll the loop.
42422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42423         strlen-sse2 strlen-sse2-bsf.
42424         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42425         __strlen_no_bsf if bit_Slow_BSF is set.
42426         (__strlen_sse42): Removed.
42427         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42428         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42430 2010-08-25  Roland McGrath  <roland@redhat.com>
42432         * sysdeps/x86_64/multiarch/varshift.S: File removed.
42433         * sysdeps/x86_64/multiarch/varshift.c: New file.
42434         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42435         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42436         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42437         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42439 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
42441         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42442         strlen-sse2 strlen-sse2-bsf.
42443         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42444         __strlen_sse2_bsf if bit_Slow_BSF is unset.
42445         (__strlen_sse2): Removed.
42446         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42447         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42449         bit_Slow_BSF for Atom.
42450         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42451         (index_Slow_BSF): Define.
42452         (HAS_SLOW_BSF): Define.
42454 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
42456         [BZ #10851]
42457         * resolv/res_init.c (__res_vinit): When no server address at all
42458         is given default to loopback.
42460 2010-08-24  Roland McGrath  <roland@redhat.com>
42462         * configure.in: Remove config-name.h generation.
42463         * configure: Regenerated.
42464         * config-name.in: File removed.
42465         * scripts/config-uname.sh: New file.
42466         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42467         ($(objdir)config-name.h): New target.
42469         * sunrpc/rpc_parse.h: Avoid nested comment.
42471 2010-08-24  Richard Henderson  <rth@redhat.com>
42472             Ulrich Drepper  <drepper@redhat.com>
42473             H.J. Lu  <hongjiu.lu@intel.com>
42475         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42477         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42478         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
42479         _mm_alignr_epi8 with _mm_loadu_si128.
42480         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42481         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42482         (__m128i_shift_right): Removed.
42483         * sysdeps/i386/i686/multiarch/varshift.h: New file.
42484         * sysdeps/i386/i686/multiarch/varshift.S: New file.
42485         * sysdeps/x86_64/multiarch/varshift.h: New file.
42486         * sysdeps/x86_64/multiarch/varshift.S: New file.
42488 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
42490         * configure.in: Move assembler checks to before sysdep dir checking.
42492 2010-08-20  Petr Baudis  <pasky@suse.cz>
42494         * LICENSES: Sync the sunrpc license.
42496 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
42498         * sunrpc/auth_des.c: Update copyright notice once again.
42499         * sunrpc/auth_none.c: Likewise.
42500         * sunrpc/auth_unix.c: Likewise.
42501         * sunrpc/authdes_prot.c: Likewise.
42502         * sunrpc/authuxprot.c: Likewise.
42503         * sunrpc/bindrsvprt.c: Likewise.
42504         * sunrpc/clnt_gen.c: Likewise.
42505         * sunrpc/clnt_perr.c: Likewise.
42506         * sunrpc/clnt_raw.c: Likewise.
42507         * sunrpc/clnt_simp.c: Likewise.
42508         * sunrpc/clnt_tcp.c: Likewise.
42509         * sunrpc/clnt_udp.c: Likewise.
42510         * sunrpc/clnt_unix.c: Likewise.
42511         * sunrpc/des_crypt.c: Likewise.
42512         * sunrpc/des_soft.c: Likewise.
42513         * sunrpc/get_myaddr.c: Likewise.
42514         * sunrpc/getrpcport.c: Likewise.
42515         * sunrpc/key_call.c: Likewise.
42516         * sunrpc/key_prot.c: Likewise.
42517         * sunrpc/openchild.c: Likewise.
42518         * sunrpc/pm_getmaps.c: Likewise.
42519         * sunrpc/pm_getport.c: Likewise.
42520         * sunrpc/pmap_clnt.c: Likewise.
42521         * sunrpc/pmap_prot.c: Likewise.
42522         * sunrpc/pmap_prot2.c: Likewise.
42523         * sunrpc/pmap_rmt.c: Likewise.
42524         * sunrpc/rpc/auth.h: Likewise.
42525         * sunrpc/rpc/auth_unix.h: Likewise.
42526         * sunrpc/rpc/clnt.h: Likewise.
42527         * sunrpc/rpc/des_crypt.h: Likewise.
42528         * sunrpc/rpc/key_prot.h: Likewise.
42529         * sunrpc/rpc/netdb.h: Likewise.
42530         * sunrpc/rpc/pmap_clnt.h: Likewise.
42531         * sunrpc/rpc/pmap_prot.h: Likewise.
42532         * sunrpc/rpc/pmap_rmt.h: Likewise.
42533         * sunrpc/rpc/rpc.h: Likewise.
42534         * sunrpc/rpc/rpc_des.h: Likewise.
42535         * sunrpc/rpc/rpc_msg.h: Likewise.
42536         * sunrpc/rpc/svc.h: Likewise.
42537         * sunrpc/rpc/svc_auth.h: Likewise.
42538         * sunrpc/rpc/types.h: Likewise.
42539         * sunrpc/rpc/xdr.h: Likewise.
42540         * sunrpc/rpc_clntout.c: Likewise.
42541         * sunrpc/rpc_cmsg.c: Likewise.
42542         * sunrpc/rpc_common.c: Likewise.
42543         * sunrpc/rpc_cout.c: Likewise.
42544         * sunrpc/rpc_dtable.c: Likewise.
42545         * sunrpc/rpc_hout.c: Likewise.
42546         * sunrpc/rpc_main.c: Likewise.
42547         * sunrpc/rpc_parse.c: Likewise.
42548         * sunrpc/rpc_parse.h: Likewise.
42549         * sunrpc/rpc_prot.c: Likewise.
42550         * sunrpc/rpc_sample.c: Likewise.
42551         * sunrpc/rpc_scan.c: Likewise.
42552         * sunrpc/rpc_scan.h: Likewise.
42553         * sunrpc/rpc_svcout.c: Likewise.
42554         * sunrpc/rpc_tblout.c: Likewise.
42555         * sunrpc/rpc_util.c: Likewise.
42556         * sunrpc/rpc_util.h: Likewise.
42557         * sunrpc/rpcinfo.c: Likewise.
42558         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42559         * sunrpc/rpcsvc/key_prot.x: Likewise.
42560         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42561         * sunrpc/rpcsvc/mount.x: Likewise.
42562         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42563         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42564         * sunrpc/rpcsvc/rex.x: Likewise.
42565         * sunrpc/rpcsvc/rstat.x: Likewise.
42566         * sunrpc/rpcsvc/rusers.x: Likewise.
42567         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42568         * sunrpc/rpcsvc/spray.x: Likewise.
42569         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42570         * sunrpc/rtime.c: Likewise.
42571         * sunrpc/svc.c: Likewise.
42572         * sunrpc/svc_auth.c: Likewise.
42573         * sunrpc/svc_authux.c: Likewise.
42574         * sunrpc/svc_raw.c: Likewise.
42575         * sunrpc/svc_run.c: Likewise.
42576         * sunrpc/svc_simple.c: Likewise.
42577         * sunrpc/svc_tcp.c: Likewise.
42578         * sunrpc/svc_udp.c: Likewise.
42579         * sunrpc/svc_unix.c: Likewise.
42580         * sunrpc/svcauth_des.c: Likewise.
42581         * sunrpc/xcrypt.c: Likewise.
42582         * sunrpc/xdr.c: Likewise.
42583         * sunrpc/xdr_array.c: Likewise.
42584         * sunrpc/xdr_float.c: Likewise.
42585         * sunrpc/xdr_mem.c: Likewise.
42586         * sunrpc/xdr_rec.c: Likewise.
42587         * sunrpc/xdr_ref.c: Likewise.
42588         * sunrpc/xdr_sizeof.c: Likewise.
42589         * sunrpc/xdr_stdio.c: Likewise.
42591         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42592         handling.
42594 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42596         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42598 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42600         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42601         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42602         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42603         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42604         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42605         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42606         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42607         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42608         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42609         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42610         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42611         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42612         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42613         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42615 2010-07-26  Anton Blanchard  <anton@samba.org>
42617         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42618         * malloc/arena.c (heap_trim): Likewise.
42620 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42622         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42623         here.  Not...
42624         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42625         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42627 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42629         * sysdeps/i386/elf/Makefile: New file.
42631 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42633         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42634         from fanotify_init.
42635         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42638 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
42640         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42641         of strncasecmp_l.
42642         * sysdeps/multiarch/strcmp.S: Likewise.
42644 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
42646         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42647         strncase_l-nonascii.
42648         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42649         Add strncase_l-ssse3.
42650         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42651         * sysdeps/x86_64/strcmp.S: Likewise.
42652         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42653         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42654         * sysdeps/x86_64/strncase.S: New file.
42655         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42656         * sysdeps/x86_64/strncase_l.S: New file.
42657         * string/Makefile (strop-tests): Add strncasecmp.
42658         * string/test-strncasecmp.c: New file.
42660         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42661         warning.
42663         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42664         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42666 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42668         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42670 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42672         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42673         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42674         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42676 2010-05-01  Alan Modra  <amodra@gmail.com>
42678         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42679         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42680         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42681         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42682         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42683         tidying.  Don't tail-call __sigjmp_save for static lib.
42684         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42685         save location.
42686         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42687         (CALL_MCOUNT): Add eh info, and nop after bl.
42688         (TAIL_CALL_SYSCALL_ERROR): New macro.
42689         (PSEUDO_RET): Use it.
42690         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42691         Correct save location of integer regs and cr.
42692         (_dl_profile_resolve): Correct cr save location.  Delete nops
42693         after bl when SHARED.  Reduce cfi size a little by better
42694         placement of cfi directives.
42695         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42696         make a stack frame.  Instead use parm save area as a temp.
42697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42698         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42700         Don't make a stack frame for parent, use parm save area.
42701         Increase child stack frame to 112 bytes.  Don't save unused reg,
42702         and adjust reg usage.  Set up cfi on error recovery and
42703         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42705         (__makecontext): Add dummy nop after jump to exit.
42706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42707         Use correct parm save area and cr save, reduce stack frame.
42708         Correct cfi for possible PSEUDO_RET frame setup.
42709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42710         Branch to local label emitted by PSEUDO_RET rather than
42711         __syscall_error.
42713 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42715         [BZ #11904]
42716         * locale/programs/locale.c (print_assignment): New function.
42717         (show_locale_vars): Use it.
42719 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42721         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42722         field.
42723         (struct statfs64): Likewise.
42724         (_STATFS_F_FLAGS): Define.
42725         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42726         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42727         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42728         (ST_VALID): Define locally.
42729         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42730         __statvfs_getflags, use the provided value.
42731         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42732         __ASSUME_STATFS_F_FLAGS.
42734         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42736         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42737         Add sys/fanotify.h.
42738         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42739         fanotify_mask for GLIBC_2.13.
42740         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42741         fanotify_init and fanotify_mark.
42742         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42743         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42745         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42746         Add prlimit.
42747         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42748         prlimit64 for GLIBC_2.13.
42749         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42750         prlimit64.
42751         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42752         syscall.
42753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42754         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42755         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42756         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42757         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42758         add prlimit alias.
42759         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42761         [BZ #11903]
42762         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42763         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42765         * nss/Makefile: Add rules to build and run tst-nss-test1.
42766         * shlib-versions: Add entry for libnss_test1.
42767         * nss/nss_test1.c: New file.
42768         * nss/tst-nss-test1.c: New file.
42770         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42771         (__nss_configure_lookup): Set appropriate entry in
42772         __nss_configure_lookup to true.
42773         * nss/nsswitch.h: Define enum with indeces of databases in
42774         databases and __nss_database_custom arrays.  Declare
42775         __nss_database_custom.
42776         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42777         to avoid using nscd when custom rules are installed.
42778         * nss/getXXbyYY_r.c: Likewise.
42779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42781         * nss/nss_files/files-parse.c: Whitespace fixes.
42783 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
42785         [BZ #11883]
42786         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42787         * posix/fnmatch_loop.c: Likewise.
42789 2010-07-17  Andi Kleen  <ak@linux.intel.com>
42791         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42792         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42793         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42794         * Versions.def [GLIBC_2.13]: Add.
42796 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
42798         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42799         Also fail if tpwd after pwuid call is NULL.
42801 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42803         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42804         when converting to ms.
42806 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42808         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42809         EOPNOTSUPP errors with ENOTTY.
42810         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42811         EOPNOTSUPP errors with ENOTTY.
42813 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
42815         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42816         Add strcasecmp_l-ssse3.
42817         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42818         strcasecmp.
42819         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42820         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42821         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42823 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
42825         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42827         * string/Makefile (strop-tests): Add strcasecmp.
42828         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42829         strcasecmp_l-nonascii.
42830         (gen-as-const-headers): Add locale-defines.sym.
42831         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42832         * sysdeps/x86_64/strcasecmp.S: New file.
42833         * sysdeps/x86_64/strcasecmp_l.S: New file.
42834         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42835         * sysdeps/x86_64/locale-defines.sym: New file.
42836         * string/test-strcasecmp.c: New file.
42838         * string/test-strcasestr.c: Test both ends of the range of characters.
42839         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42841 2010-07-29  Roland McGrath  <roland@redhat.com>
42843         [BZ #11856]
42844         * manual/locale.texi (Yes-or-No Questions): Fix example code.
42846 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
42848         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42849         for ld.so.
42851 2010-07-27  Andreas Schwab  <schwab@redhat.com>
42853         * manual/memory.texi (Malloc Tunable Parameters): Document
42854         M_PERTURB.
42856 2010-07-26  Roland McGrath  <roland@redhat.com>
42858         [BZ #11840]
42859         * configure.in (-fgnu89-inline check): Set and substitute
42860         gnu89_inline, not libc_cv_gnu89_inline.
42861         * configure: Regenerated.
42862         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42864 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
42866         * string/test-strnlen.c: New file.
42867         * string/Makefile (strop-tests): Add strnlen.
42868         * string/tester.c (test_strnlen): Add a few more test cases.
42869         * string/tst-strlen.c: Better error reporting.
42871         * sysdeps/x86_64/strnlen.S: New file.
42873 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
42875         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42876         lower-latency instructions.
42878 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
42880         * string/test-strcasestr.c: New file.
42881         * string/test-strstr.c: New file.
42882         * string/Makefile (strop-tests): Add strstr and strcasestr.
42883         * string/str-two-way.h: Don't undefine MAX.
42884         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42886 2010-07-21  Andreas Schwab  <schwab@redhat.com>
42888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42889         strcasestr-nonascii.
42890         (CFLAGS-strcasestr-nonascii.c): Define.
42891         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42892         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42893         Remove unused attribute.
42895 2010-07-20  Roland McGrath  <roland@redhat.com>
42897         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42898         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
42899         ld.so.cache was broken.  With it, there is no way to disable dsocaps
42900         like LD_HWCAP_MASK can disable hwcaps.
42902 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42904         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42906 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
42908         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42909         call in strcasestr.
42910         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42911         __strcasestr_sse42_nonascii.
42912         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42913         strcasestr-nonascii.c.
42914         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42916 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
42918         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42919         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42920         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42921         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42923 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
42925         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42926         fcntl.
42928 2010-07-06  Andreas Schwab  <schwab@redhat.com>
42930         [BZ #11577]
42931         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42932         dl_signal_cerror.
42934 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
42936         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42937         _PC_PIPE_BUF using F_GETPIPE_SZ.
42939 2010-07-05  Roland McGrath  <roland@redhat.com>
42941         * manual/arith.texi (Rounding Functions): Fix rint description
42942         implicit in round description.
42944 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
42946         * elf/Makefile: Fix linking for a few tests to make recent linker
42947         happy.
42949 2010-06-30  Andreas Schwab  <schwab@redhat.com>
42951         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42952         $(common-objpfx)libc_nonshared.a.
42954 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
42956         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42957         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42958         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42959         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42960         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42961         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42962         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42963         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42978         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42979         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42980         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42981         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42982         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42983         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42984         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42985         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42986         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42987         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42988         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42989         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43005 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
43007         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43008         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
43009         * string/memmove.c (memmove): Renamed to ...
43010         (MEMMOVE): ...this.  Default to memmove.
43011         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43012         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43013         (END_CHK): Define.
43014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43015         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43016         mempcpy-ssse3-back memmove-ssse3-back.
43017         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43018         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43019         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43020         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43021         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43022         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43023         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43024         * sysdeps/x86_64/multiarch/memmove.c: New file.
43025         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43026         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43027         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43028         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43029         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43030         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43031         Define.
43032         (index_Fast_Copy_Backward): Define.
43033         (HAS_ARCH_FEATURE): Define.
43034         (HAS_FAST_REP_STRING): Define.
43035         (HAS_FAST_COPY_BACKWARD): Define.
43037 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43039         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43040         Restore proper fallback handling.
43042 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43044         [BZ #11701]
43045         * posix/group_member.c (__group_member): Correct checking loop.
43047         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43048         OOM in getpwuid_r correctly.  Return error number when the caller
43049         should return, otherwise -1.
43050         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43051         call returning > 0 value.
43052         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43054 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43056         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43057         libc_nonshared.a from targets in modules-names.
43059 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43061         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43062         requires it.
43064 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43066         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43067         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43068         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43069         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43071 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43073         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43075 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43077         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43078         and F_GETPIPE_SZ.
43079         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43080         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43081         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43083         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43084         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43086 2010-06-14  Roland McGrath  <roland@redhat.com>
43088         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43090 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43092         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43093         __REDIRECT followed by __THROW.
43094         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43095         * posix/getopt.h (getopt): Likewise.
43097 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43099         * hurd/lookup-at.c (__file_name_lookup_at): Accept
43100         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
43101         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43102         in AT_FLAGS.
43103         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43104         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43106 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
43108         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43110 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
43112         [BZ #11640]
43113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43114         Properly check family and model.
43116 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
43118         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43120 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
43122         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43124 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
43126         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43127         symbol reference.
43129 2010-05-19  Andreas Schwab  <schwab@redhat.com>
43131         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43132         symbol reference.
43134 2010-05-21  Andreas Schwab  <schwab@redhat.com>
43136         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43137         and internal_recvmmsg.
43138         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43139         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43140         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43141         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43143         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43144         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43145         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43147 2010-05-20  Andreas Schwab  <schwab@redhat.com>
43149         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43151 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
43153         POWER7 optimizations.
43154         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43155         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43157 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
43159         * version.h: Update for 2.13 development version.
43161 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
43163         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43164         exceptions.  Return 0.
43166 2010-05-07  Roland McGrath  <roland@redhat.com>
43168         * elf/ldconfig.c (main): Add a const.
43170 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
43172         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43173         (args_options): Add no-idn option.
43174         (ahosts_keys_int): Add idn_flags to ai_flags.
43175         (parse_option): Handle 'i' option to clear idn_flags.
43177         * malloc/malloc.c (_int_free): Possible race in the most recently
43178         added check.  Only act on the data if no current modification
43179         happened.
43181 See ChangeLog.17 for earlier changes.